Home
last modified time | relevance | path

Searched refs:train_step (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/python/tpu/
Dtpu_outside_compilation_test.py139 def train_step(): function
149 strategy.experimental_local_results(train_step()),
159 def train_step(): function
169 strategy.experimental_local_results(train_step()),
180 def train_step(): function
190 strategy.experimental_local_results(train_step()),
206 def train_step(): function
218 strategy.experimental_local_results(train_step()),
233 def train_step(): function
245 strategy.experimental_local_results(train_step()),
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dcustom_training_loop_gradient_test.py73 def train_step(x): function
86 distribution.run(train_step, args=(x,)))
100 def train_step(x): function
109 distribution.run(train_step, args=(x,)))
134 def train_step(): function
141 grads = distribution.experimental_local_results(train_step())
Dcustom_training_loop_input_test.py109 def train_step(): function
117 train_step()
127 def train_step(data): function
134 distribution.run(train_step, args=(x,)))
147 def train_step(data): function
154 train_step, args=(iterator.get_next_as_optional().get_value(),)))
189 def train_step(data): function
196 distribution.run(train_step, args=(next(input_iterator),))
207 def train_step(data): function
214 distribution.run(train_step, args=(x,)))
[all …]
Dtpu_strategy_test.py354 def train_step(): function
361 self.assertAllEqual([[16., 16.]], train_step())
472 def train_step(): function
482 train_step()
483 self.assertAllEqual(2., train_step())
522 def train_step(): function
530 train_step()
537 def train_step(): function
567 outputs = strategy.experimental_local_results(train_step())
574 def train_step(): function
[all …]
Dzero_batch_test.py126 def train_step(): function
138 np_output = train_step().numpy()
183 def train_step(iterator): function
198 train_step(dataset_iterator).numpy()
DREADME.md61 def train_step(iterator):
76 train_step(input_iterator)
Ddistribute_lib_test.py527 def train_step(input_data): function
531 default_strategy.run(train_step, args=(next_val,))
Dmirrored_variable_test.py632 def train_step(): function
641 grads = distribution.experimental_local_results(train_step())
Dparameter_server_strategy_test.py751 def train_step(data): function
766 strategy.run, train_step)
/external/tensorflow/tensorflow/compiler/tests/
Dconst_op_test.py95 def train_step(): function
104 output = strategy.experimental_local_results(train_step())[0]
/external/tensorflow/tensorflow/python/distribute/integration_test/
Dtpu_memory_test.py143 def train_step(iterator): function
174 result = train_step(iterator)
181 _ = train_step(iterator)
/external/tensorflow/tensorflow/python/eager/
Dremote_test.py256 def train_step(iterator): function
263 train_step(iterator)
279 def train_step(iterator): function
287 train_step(iterator)
305 def train_step(iterator): function
314 train_step(iterator)
/external/tensorflow/tensorflow/compiler/mlir/tfr/examples/mnist/
Dmnist_train.py138 def train_step(features): function
157 train_step, args=(dist_inputs,))
/external/tensorflow/tensorflow/python/debug/examples/v1/
Ddebug_mnist_v1.py193 train_step = tf.train.AdamOptimizer(
229 sess.run(train_step, feed_dict={handle: train_handle})
/external/tensorflow/tensorflow/examples/speech_commands/
Dtrain.py168 train_step = tf.compat.v1.train.GradientDescentOptimizer(
171 train_step = tf.compat.v1.train.MomentumOptimizer(
239 train_step,
/external/tensorflow/tensorflow/core/kernels/
Dsdca_ops.cc172 auto train_step = [&](const int64_t begin, const int64_t end) { in DoCompute() local
229 examples.num_examples(), kCostPerUnit, train_step); in DoCompute()
/external/tensorflow/tensorflow/python/distribute/failure_handling/
Dfailure_handler_test.py163 def train_step(): function
172 strategy.run(train_step)
Dgce_failure_handler_test.py166 def train_step(): function
169 strategy.run(train_step)
/external/tensorflow/tensorflow/python/ops/numpy_ops/g3doc/
DTensorFlow_Numpy_Distributed_Image_Classification.ipynb324 "def train_step(model, input, labels, learning_rate):\n",
335 " train_step(model, inputs, labels, learning_rate=0.1)\n",
489 "# This is similar to `train_step` except for an extra collective reduction of\n",
DTensorFlow_NumPy_Text_Generation.ipynb935 "def train_step(inp, target):\n",
966 " loss = train_step(inp, target)\n",
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dadvise.md72 top 2 graph node: train_step/update_seq2seq/output_projection/w/ApplyAdam, cpu: 84.52ms, accelerato…
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dcommon_errors.md58 train_step(model)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py765 def train_step(self, data): member in Model
840 outputs = model.train_step(data)
/external/tensorflow/tensorflow/lite/g3doc/examples/on_device_training/
Doverview.ipynb240train_step` method of the keras model here instead of a from-scratch implementation. Just note tha…
/external/tensorflow/
DRELEASE.md579 * Metrics update and collection logic in default `Model.train_step()` is
581 * Losses computation logic in default `Model.train_step()` is now
1180 data in their `train_step()`/`test_step()`/`predict_step()` methods. \
1183 `train_step()`/`test_step()`/`predict_step()` methods, e.g. `if
5746 `Model.train_step`.
5751 …[`Model.train_step`](https://github.com/tensorflow/tensorflow/blob/1381fc8e15e22402417b98e3881dfd4…