- 18 7月, 2019 17 次提交
-
-
由 Derek Murray 提交于
The recently added `FunctionLibraryDefinition::CopyFunctionDefFrom()` method performs a more efficient shallow copy. PiperOrigin-RevId: 258604819
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 258598105
-
由 Prakalp Srivastava 提交于
PiperOrigin-RevId: 258597426
-
由 Ruoxin Sang 提交于
make_dataset_iterator -> experimental_distribute_dataset, make_input_fn_iterator -> experimental_distribute_datasets_from_function, unwrap -> experimental_local_results, experimental_run -> experimental_run_v2 PiperOrigin-RevId: 258597234
-
由 Dong Lin 提交于
PiperOrigin-RevId: 258596408
-
由 Chris Jones 提交于
PiperOrigin-RevId: 258596337
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 258591071
-
由 Edward Loper 提交于
PiperOrigin-RevId: 258583855
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 258582774
-
由 Eugene Zhulenev 提交于
PiperOrigin-RevId: 258582149
-
由 Prakalp Srivastava 提交于
PiperOrigin-RevId: 258582046
-
由 Taylor Robie 提交于
Update keras v2 optimizers to reuse coefficients which are shared across all updates, which reduces the total number of ops created by between 5% (for simple optimizers such as SGD and Adagrad) and 25% (for complicated optimizers such as Adam and NAdam). Separate copies are made for each device and dtype. The effect of this change on run time is fairly minimal since Grappler is expected to consolidate most of these ops; however it does improve graph construction time. PiperOrigin-RevId: 258581998
-
由 George Karpenkov 提交于
PiperOrigin-RevId: 258581066
-
由 Peng Wang 提交于
PiperOrigin-RevId: 258580730
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 258579478
-
由 Jared Duke 提交于
The delegate is no longer experimental. PiperOrigin-RevId: 258578637
-
由 Jared Duke 提交于
PiperOrigin-RevId: 258578415
-
- 17 7月, 2019 23 次提交
-
-
由 Pete Warden 提交于
PiperOrigin-RevId: 258577336
-
由 Dan Moldovan 提交于
PiperOrigin-RevId: 258575670
-
由 Ian Langmore 提交于
Make LinearOperatorDiag tape safe. Also add a standard "check_tape_safe" method in the base test class. PiperOrigin-RevId: 258570322
-
由 Jian Li 提交于
PiperOrigin-RevId: 258563058
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 258562390
-
由 Chao Mei 提交于
PiperOrigin-RevId: 258548017
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 258547874
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 258539769
-
由 Christian Sigg 提交于
PiperOrigin-RevId: 258533317
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 258526302
-
由 A. Unique TensorFlower 提交于
PiperOrigin-RevId: 258526294
-
由 TensorFlower Gardener 提交于
PiperOrigin-RevId: 258503791
-
由 Dong Lin 提交于
PiperOrigin-RevId: 258503116
-
由 Xiao Yu 提交于
PiperOrigin-RevId: 258497704
-
由 A. Unique TensorFlower 提交于
instead of the /proc/cpuinfo code we're using currently. PiperOrigin-RevId: 258491846
-
由 Haoliang Zhang 提交于
PiperOrigin-RevId: 258489966
-
由 Benjamin Barenblat 提交于
PiperOrigin-RevId: 258486264
-
由 A. Unique TensorFlower 提交于
- changes v2 loop to use dataset iterator creator more in line with what we had been planning, so functions explicitly take iterators as inputs instead of functions that return iterators, and aren't excessively retraced. - separates out simplified train/test/predict_on_batch methods & extra utilities, for a cleaner separation between v1 & v2 code. This also allows better fallbacks, because run_distributed no longer has to force model._distribution_strategy to be set. E.g. the *_generator methods fall back correctly. - adds more fallbacks for now (e.g. Keras sequences, and cloning arg = true) - Changes the v2 _get_iterator_input_utility to work with multi io subclass models, including models where the input dataset contains dicts mapping input name to value. - Allows train_eager to work w/ skipped output indices. (fixes gru_test & lstm rewrite test). PiperOrigin-RevId: 258484595
-
由 Justin Lebar 提交于
Division by a constant compiles down to multiply and shift, and we consider those operations to be cheap. PiperOrigin-RevId: 258481139
-
由 Allen Lavoie 提交于
Fixes is-function checking and relaxes attribute lookups when a custom op isn't (properly?) registered with Python. PiperOrigin-RevId: 258480818
-
由 Allen Lavoie 提交于
Apparently it's getting a FunctionDef with duplicate output names. The names only matter for importing Defuns, so ignoring the issue seems fine for now. PiperOrigin-RevId: 258477786
-
由 Justin Lebar 提交于
Previously OperandElementUse did not know about kGather, so it incorrectly said gather reused both of its operands. In fact it does a plain elementwise use of operand 0 and does a permuting use of its operand 1. In addition, OperandElementUse previously said that bitcast was a permuting use. This isn't what we want: If a fusion uses an input twice, once directly, and once via a bitcast, that should not count as "reuse", because we're not permuting anything, we're still going to access the elements in the same order. PiperOrigin-RevId: 258476532
-
由 A. Unique TensorFlower 提交于
Read->read and write->write dependencies are not considered a safety problem, but the comment still stated they would not be clustered. PiperOrigin-RevId: 258474807
-