Home
last modified time | relevance | path

Searched refs:batch_outs (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_arrays_v1.py294 batch_outs = f(actual_inputs)
325 if not isinstance(batch_outs, list):
326 batch_outs = [batch_outs]
329 batch_outs = (
331 model._distribution_strategy, batch_outs, model, mode))
335 aggregator.create(batch_outs)
336 aggregator.aggregate(batch_outs)
339 batch_logs = cbks.make_logs(model, batch_logs, batch_outs, mode)
384 batch_outs = f(ins_batch)
385 if not isinstance(batch_outs, list):
[all …]
Dtraining_utils_v1.py96 def create(self, batch_outs): argument
105 def aggregate(self, batch_outs, batch_start=None, batch_end=None): argument
140 def create(self, batch_outs): argument
141 self.results = [0.] * len(batch_outs)
143 def aggregate(self, batch_outs, batch_start=None, batch_end=None): argument
146 self.results[0] += batch_outs[0]
148 self.results[0] += batch_outs[0] * (batch_end - batch_start)
150 self.results[1:] = batch_outs[1:]
436 def create(self, batch_outs): argument
440 lambda x: not is_composite_or_composite_value(x), batch_outs)
[all …]
Dtraining_generator_v1.py259 batch_outs = batch_function(*batch_data)
260 if not isinstance(batch_outs, list):
261 batch_outs = [batch_outs]
264 aggregator.create(batch_outs)
281 aggregator.aggregate(batch_outs)
284 batch_logs = cbks.make_logs(model, batch_logs, batch_outs, mode)
Dtraining_distributed_v1.py386 _, batch_outs = K.batch_get_value([test_op, output_tensors])
399 outs[i] += batch_outs[label]
402 outs[i] = batch_outs[label]
533 _, batch_outs = K.batch_get_value([predict_ops, output_tensors])
549 single_model_output = batch_outs[output_start_index:output_end_index]
552 batch_logs = cbks.make_logs(model, batch_logs, batch_outs, mode)
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils_v1.py1040 def _per_replica_aggregate_batch(strategy, batch_outs, model, mode): argument
1046 nested_outs = batch_outs[i * num_replicas:i * num_replicas + num_replicas]
1050 return batch_outs