| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 216453979
|
|
|
|
| |
PiperOrigin-RevId: 216280197
|
|
|
|
|
|
|
|
|
|
| |
tensor.h soon)
We plan to remove the import variant.h from tensor.h; and variant.h brings in a lot
of transitive imports (including protos like tensor.proto.h). To prepare, we're
updating folks who this will break.
PiperOrigin-RevId: 210043667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) previously, it set unknown shape flag for scalar input, but now it
returns TensorShapeProto with rank equal to the expected and all dims set to 1,
and unknown shape flag is not set.
(2) Also, fixed a bug; when a rank is known, but dim_size() < rank (note that
dim_size() may be non-zero), we previously called add_dim() with dim 1 rank
times, which then makes dim_size() is incremented by rank, but we expect
dim_size() equal to rank.
(3) Added test for MaybeGetMinimumShape().
PiperOrigin-RevId: 208845501
|
|
|
|
|
|
| |
total, and number of ops predicted with unknown shapes
PiperOrigin-RevId: 208274158
|
|
|
|
| |
PiperOrigin-RevId: 205918819
|
|
|
|
| |
PiperOrigin-RevId: 201454730
|
|
|
|
| |
PiperOrigin-RevId: 199531069
|
|
|
|
|
|
| |
OpLevelCostEstimator.
PiperOrigin-RevId: 196315239
|
|
|
|
| |
PiperOrigin-RevId: 195900021
|
|
|
|
|
|
| |
separable convolutions as depthwiseConv2dNative followed by 1x1 Conv2D
PiperOrigin-RevId: 195838887
|
|
|
|
| |
PiperOrigin-RevId: 195501990
|
|
|
|
| |
PiperOrigin-RevId: 193207469
|
|
|
|
| |
PiperOrigin-RevId: 191978272
|
|
|
|
|
|
| |
the execution time. Until more sophisticated methods are added, we resort to the roofline model to calculate such cost.
PiperOrigin-RevId: 191913626
|
|
|
|
| |
PiperOrigin-RevId: 191391805
|
|
|
|
|
|
|
| |
takes a shape tensor; hence, a value should be parsed from inputs(0) to extract
correct shape of x.
PiperOrigin-RevId: 191330762
|
|
|
|
|
|
| |
ReluGrad.
PiperOrigin-RevId: 190821116
|
|
|
|
|
|
| |
TF graphs optimizations.
PiperOrigin-RevId: 190705686
|
|
|
|
| |
PiperOrigin-RevId: 189983460
|
|
|
|
| |
PiperOrigin-RevId: 189952132
|
|
|
|
| |
PiperOrigin-RevId: 189779691
|
|
|
|
| |
PiperOrigin-RevId: 186705930
|
|
|
|
|
|
| |
filter shape info) in op_level_cost_estimator.
PiperOrigin-RevId: 186685409
|
|
|
|
|
|
| |
from the corresponding op inputs whenever possible.
PiperOrigin-RevId: 185570750
|
|
|
|
| |
PiperOrigin-RevId: 185058989
|
|
|
|
| |
PiperOrigin-RevId: 184594084
|
|
|
|
| |
PiperOrigin-RevId: 184225409
|
|
|
|
| |
PiperOrigin-RevId: 183441321
|
|
|
|
| |
PiperOrigin-RevId: 177956552
|
|
|
|
|
|
|
|
|
|
| |
Fix some inaccurate estimates exposed by this approach:
- propagate the inaccuracy flag when merging device stats;
- estimate Const as no-op;
- estimate RandomUniform, Relu and Softmax as element-wise;
- consider estimates accurate for known element-wise ops in op_level_cost_estimator.
PiperOrigin-RevId: 177643976
|
|
|
|
|
|
| |
messages when inputs are imperfect (cost_graph is empty and it causes graph_properties to be empty).
PiperOrigin-RevId: 176796142
|
|
|
|
| |
PiperOrigin-RevId: 176564391
|
|
|
|
| |
PiperOrigin-RevId: 174733491
|
|
|
|
|
|
| |
don't get negative cost estimates for _Send ops.
PiperOrigin-RevId: 171999586
|
|
|
|
| |
PiperOrigin-RevId: 171772766
|
|
|
|
|
|
|
|
| |
This CL does not add any functionality (except GraphDef's function library pointer is passed to
OpContext), but we can later add additional fields to OpContext struct for extending
VirtualCluster, Scheduler, Placer, and others.
PiperOrigin-RevId: 170157235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
END_PUBLIC
---
Commit 1e1b3d902 authored by Pete Warden<pete@petewarden.com>
Committed by gunan<gunan@google.com>:
Changed output directory for Pi CI build to fix permissions problem with nightlies (#13257)
* Fix for RTLD_GLOBAL breakage of Pi builds, and removed Eigen version change for Pi that's no longer needed
* Fixed Pi Zero OpenBLAS build problems and tidied up directories used
* More robust checks in Pi build script
* Changed output directory for Pi CI build to fix permissions problem
---
Commit fe3a2e65c authored by Yan Facai (???)<facai.yan@gmail.com>
Committed by drpngx<drpngx@users.noreply.github.com>:
check invalid string type for dest_nodes in extract_sub_graph (#13057)
* BUG: check str type
* TST: add unit test
* CLN: remove list check
* CLN: use warning
* CLN: 2 indent
* CLN: raise TypeError if not list
* CLN: check string only
---
Commit 225ab7629 authored by Jean Wanka<jm.wanka@gmail.com>
Committed by Jean Wanka<jm.wanka@gmail.com>:
Fix polynomial decay with cycle for global step=0
For polynomial decay with cycle=True the learning rate at
step 0 becomes NaN, because in the process of calculating it we
devide by 0. This change should fix it, by setting the multiplier
for the decay steps to one for global_step=0.
---
Commit 286f57061 authored by Bjarke Hammersholt Roune<broune@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make Service::TransferToClient not attempt to manipulate the literal when the transfer failed, preventing a crash and allowing the caller to see the reason for the failed transfer.
PiperOrigin-RevId: 169770126
---
Commit e0501bc4d authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Shanqing Cai<cais@google.com>:
Fix GRUBlockCell parameter naming inconsistency (#13153)
* Fix GRUBlockCell parameter naming inconsistency
This fix tries to fix the issue in 13137 where
parameter `cell_size` is used instead of `num_units`.
This is inconsistent with other RNN cells.
This fix adds support of `num_units` while at the same
time maintains backward compatiblility for `cell_size`.
This fix fixes 13137.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add `@deprecated_args` for 'cell_size' in `GRUBlockCell`
This commit adds `@deprecated_args` for 'cell_size' in `GRUBlockCell`
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Address review comment
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
---
Commit 02a2eba05 authored by Pete Warden<pete@petewarden.com>
Committed by gunan<gunan@google.com>:
Fix for RTLD_GLOBAL breakage of Pi builds, and removed Eigen version change that's no longer needed (#13251)
* Fix for RTLD_GLOBAL breakage of Pi builds, and removed Eigen version change for Pi that's no longer needed
* Fixed Pi Zero OpenBLAS build problems and tidied up directories used
* More robust checks in Pi build script
---
Commit 8ef722253 authored by Sanjoy Das<sanjoy@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Remove a redundant setName.
The EmitComputation should have emitted a function with the right name, so use a
CHECK instead.
PiperOrigin-RevId: 169764856
---
Commit 1b94147dc authored by Neal Wu<wun@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix broken GitHub links in tensorflow and tensorflow_models resulting from The Great Models Move (a.k.a. the research subfolder)
PiperOrigin-RevId: 169763373
---
Commit b1ada5f0c authored by Justine Tunney<jart@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix TensorBoard python -m invoke in docs
PiperOrigin-RevId: 169758752
---
Commit 2957cd894 authored by Mustafa Ispir<ispir@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Local run option of estimator training.
PiperOrigin-RevId: 169756384
---
Commit 1dc2fe7ac authored by Gunhan Gulsoy<gunan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 166264198
PiperOrigin-RevId: 169998124
|
|
|
|
| |
PiperOrigin-RevId: 164319817
|
|
|
|
|
|
| |
and compute_cost, instead of sum for op level cost in analytical cost estimator.
PiperOrigin-RevId: 162782658
|
|
|
|
|
|
| |
analytical cost estimator.
PiperOrigin-RevId: 162773156
|
|
|
|
| |
PiperOrigin-RevId: 160587845
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal is to make kernels mostly independent of proto headers, which will let
us lock down our .so imports. This CL does not remove any actual headers, but
changes a bunch of files so that header removal is possible in a followup CL.
It also marks the headers that will be removed with
// TODO(b/62899350): Remove
RELNOTES: n/a
PiperOrigin-RevId: 160552878
|
|
|
|
| |
PiperOrigin-RevId: 158933442
|
|
|
|
|
|
|
| |
Take the ceiling of the cost estimates to avoid reporting 0 costs for scalar ops that could execute in less that 1 ns.
Added more stringent tests to the cost analyzer
PiperOrigin-RevId: 158813405
|
|
|
|
| |
PiperOrigin-RevId: 158771775
|
|
|
|
|
|
| |
Fixes asan and msan errors in tests.
PiperOrigin-RevId: 158728930
|
|
|
|
| |
PiperOrigin-RevId: 158589176
|
|
|
|
|
|
| |
execution time.
PiperOrigin-RevId: 158585464
|
|
|
|
|
|
|
|
|
| |
To do so, NodeState now handles different output ports of a node (in case
a node has multiple outputs).
Also, VirtualScheduler code is cleaned up with more comments.
PiperOrigin-RevId: 158209068
|