Home
last modified time | relevance | path

Searched refs:train_fn (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/python/training/
Dbasic_loops_test.py45 def train_fn(unused_sess, sv, y, a): function
55 sv, train_fn, args=(sv, "y"), kwargs={"a": "A"})
61 def train_fn(unused_sess): function
62 train_fn.counter += 1
63 if train_fn.counter == 3:
67 train_fn.counter = 0
72 basic_loops.basic_train_loop(sv, train_fn)
83 def train_fn(self, unused_sess): member in BasicTrainLoopTest.testBasicTrainLoopRetryOnAborted.AbortAndRetry
96 basic_loops.basic_train_loop(sv, aar.train_fn)
/external/tensorflow/tensorflow/python/keras/tests/
Dtracking_util_with_v1_optimizers_test.py402 train_fn = functools.partial(
407 train_fn = functools.partial(self.evaluate, train_fn())
410 train_fn()
435 def train_fn(): function
445 train_fn = functools.partial(
446 self.evaluate, train_fn())
449 train_fn()
510 train_fn = functools.partial(
515 train_fn = functools.partial(self.evaluate, train_fn())
518 train_fn()
[all …]
Dtracking_util_test.py356 train_fn = functools.partial(_train_fn, model, input_value)
358 train_fn = functools.partial(self.evaluate, train_fn())
361 train_fn()
410 def train_fn(): function
419 train_fn = functools.partial(
420 self.evaluate, train_fn())
423 train_fn()
621 def train_fn(): function
628 train_fn = functools.partial(self.evaluate, train_fn())
638 train_fn()
[all …]
/external/tensorflow/tensorflow/python/keras/distribute/
Dkeras_optimizer_v2_test.py72 def train_fn(): function
83 train_fn = sess.make_callable(train_fn())
87 train_fn()
97 train_fn()
Dcustom_training_loop_metrics_test.py113 def train_fn(dataset): function
122 train_fn(dataset)
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dfault_tolerance_test.py86 def train_fn(self, iterator): member in Model
95 self.cluster_coord.schedule(self.train_fn, args=(self.iterator,))
/external/tensorflow/tensorflow/python/distribute/
Dcustom_training_loop_input_test.py172 def train_fn(distributed_iterator): function
183 train_fn(distributed_iterator)
Dtpu_strategy_test.py295 def train_fn(iterator): function
305 logging.info(train_fn(iterator))
Dinput_lib_test.py898 def train_fn(): function
910 train_fn()
/external/tensorflow/tensorflow/python/keras/
Dcallbacks.py2220 train_fn = self.model.train_function
2222 if hasattr(train_fn, 'function_spec'):
2223 … summary_ops_v2.graph(train_fn._concrete_stateful_fn.graph) # pylint: disable=protected-access