Home
last modified time | relevance | path

Searched refs:merge_fn (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dmirrored_run.py227 merge_result = threads[0].merge_fn(distribution, *merge_args,
261 self.merge_fn = None
391 t.merge_fn = fn
Ddistribute_lib.py2419 def merge_fn(_, flat_value): function
2423 reduced = replica_context.merge_call(merge_fn, args=(nest.flatten(value),))
2952 def merge_call(self, merge_fn, args=(), kwargs=None): argument
2983 merge_fn = autograph.tf_convert(
2984 merge_fn, autograph_ctx.control_status_ctx(), convert_by_default=False)
2985 return self._merge_call(merge_fn, args, kwargs)
2987 def _merge_call(self, merge_fn, args, kwargs): argument
2992 return merge_fn(self._strategy, *args, **kwargs)
Ddistribute_lib_test.py445 def merge_fn(dist, s): function
456 self.assertEqual("foo_bar", replica_ctx.merge_call(merge_fn, args=("bar",)))
462 def merge_fn(_, s): function
469 replica_ctx.merge_call(merge_fn, args=("bar",))
Dps_values.py111 def merge_fn(strategy, function
129 return replica_context.merge_call(merge_fn, args=args, kwargs=kwargs)
Dmirrored_strategy_test.py430 def merge_fn(strategy, value): function
437 return ds_context.get_replica_context().merge_call(merge_fn, args=(i,))
448 def merge_fn(strategy, value): function
456 return ds_context.get_replica_context().merge_call(merge_fn, args=(t,))
466 def merge_fn(_): function
471 ds_context.get_replica_context().merge_call(merge_fn)
Dinput_lib.py2074 def merge_fn(distribution, value): function
2083 merge_fn, args=(output,))
2095 def merge_fn(distribution, value): function
2101 merge_fn, args=(output,))
Dvalues.py51 def merge_fn(strategy, value, **kwargs): function
73 merge_fn, args=(value,), kwargs=kwargs)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.-replica-context.pbtxt32 …argspec: "args=[\'self\', \'merge_fn\', \'args\', \'kwargs\'], varargs=None, keywords=None, defaul…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.-replica-context.pbtxt36 …argspec: "args=[\'self\', \'merge_fn\', \'args\', \'kwargs\'], varargs=None, keywords=None, defaul…
/external/tensorflow/tensorflow/python/training/
Dmoving_averages.py106 def merge_fn(strategy, v, value): function
111 return replica_context.merge_call(merge_fn, args=(variable, value))
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py129 def merge_fn_wrapper(distribution, merge_fn, *args): argument
132 result = distribution.experimental_local_results(merge_fn)[0](*args)
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants_test.py85 def merge_lists(repeated1, repeated2, empty_fn, key_fn, merge_fn): argument
93 merged[name] = merge_fn(x1, x2)