Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py296 custom_getter=None, argument
395 if custom_getter is not None and not callable(custom_getter):
397 "Passed a custom_getter which is not callable: %s" % custom_getter)
525 if custom_getter is not None:
547 if ("constraint" in function_utils.fn_args(custom_getter) or
548 function_utils.has_kwargs(custom_getter)):
550 return custom_getter(**custom_getter_kwargs)
1050 custom_getter=None, argument
1062 self._custom_getter = custom_getter
1111 def custom_getter(self): member in VariableScope
[all …]
Dtemplate.py216 custom_getter=custom_getter_,
223 custom_getter=custom_getter_,
248 custom_getter=None, create_graph_function=False): argument
284 self._custom_getter = custom_getter
291 custom_getter=self._custom_getter) as vs:
378 custom_getter=self._custom_getter) as vs:
540 def __init__(self, name, func, create_scope_now=False, custom_getter=None, argument
574 custom_getter, create_graph_function)
656 custom_getter=self._custom_getter) as vs:
Drnn_cell_impl.py236 custom_getter=self._rnn_get_variable) as scope:
243 custom_getter=self._rnn_get_variable)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable-scope.pbtxt14 name: "custom_getter"
51 …nitializer\', \'regularizer\', \'caching_device\', \'partitioner\', \'custom_getter\', \'name_scop…
59 …ng_device\', \'partitioner\', \'validate_shape\', \'use_resource\', \'custom_getter\', \'constrain…
79 argspec: "args=[\'self\', \'custom_getter\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.variable_scope.pbtxt7 …nitializer\', \'regularizer\', \'caching_device\', \'partitioner\', \'custom_getter\', \'reuse\', …
Dtensorflow.pbtxt1313 …ng_device\', \'partitioner\', \'validate_shape\', \'use_resource\', \'custom_getter\', \'constrain…
1337 …ng_device\', \'partitioner\', \'validate_shape\', \'use_resource\', \'custom_getter\', \'constrain…
2405 …nitializer\', \'regularizer\', \'caching_device\', \'partitioner\', \'custom_getter\', \'reuse\', …
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables.py213 custom_getter=None, argument
261 if custom_getter is not None:
262 getter = functools.partial(custom_getter,
291 custom_getter=None, argument
347 custom_getter=custom_getter,
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py1516 with variable_scope.variable_scope("scope0", custom_getter=3):
1520 variable_scope.get_variable("name0", custom_getter=3)
1527 def custom_getter(getter, *args, **kwargs): function
1532 "scope", custom_getter=custom_getter) as scope:
1539 new_scope, reuse=True, custom_getter=custom_getter):
1553 def custom_getter(getter, *args, **kwargs): function
1561 with variable_scope.variable_scope("scope", custom_getter=custom_getter):
1565 with variable_scope.variable_scope("scope", custom_getter=custom_getter):
1577 def custom_getter(getter, *args, **kwargs): function
1586 "scope", custom_getter=custom_getter) as scope:
[all …]
Dtemplate_test.py524 def custom_getter(getter, name, *args, **kwargs): function
531 "s1", variable_scoped_function, custom_getter_=custom_getter)
544 custom_getter_=custom_getter,
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers.py67 custom_getter=getter,
196 custom_getter=layer_variable_getter) as sc:
330 custom_getter=layer_variable_getter) as sc:
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dagn_optimizer_test.py79 "", custom_getter=agn_getter), ops.device(ps_device):
88 custom_getter=agn_getter), ops.device(ps_device):
109 custom_getter=agn_getter)
270 variable_scope.variable_scope("", custom_getter=agn_getter):
Dagn_optimizer.py105 custom_getter, argument
125 self._global_map = custom_getter._global_map
126 self._grad_map = custom_getter._grad_map
Delastic_average_optimizer_test.py79 "", custom_getter=ea_custom), ops.device(
92 custom_getter=ea_custom), ops.device(
286 variable_scope.variable_scope("", custom_getter=ea_custom):
Dmodel_average_optimizer_test.py73 "", custom_getter=ma_coustom), ops.device(
188 variable_scope.variable_scope("", custom_getter=ma_coustom):
/external/tensorflow/tensorflow/python/tpu/
Dbfloat16.py76 '', custom_getter=_get_custom_getter()) as varscope:
Dtpu.py881 saved_custom_getter = vscope.custom_getter
883 def custom_getter(getter, name, *args, **kwargs): function
899 vscope.set_custom_getter(custom_getter)
1560 prev_custom_getter = vscope.custom_getter
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers.py607 custom_getter=layer_variable_getter) as sc:
1020 custom_getter=layer_variable_getter) as sc:
1382 custom_getter=layer_variable_getter) as sc:
1495 custom_getter=layer_variable_getter) as sc:
1594 scope, 'Dropout', [inputs], custom_getter=_model_variable_getter) as sc:
1738 custom_getter=getter,
1839 custom_getter=layer_variable_getter) as sc:
2748 custom_getter=layer_variable_getter) as sc:
Dlayers_test.py387 def custom_getter(getter, *args, **kwargs): function
391 with variable_scope.variable_scope('test', custom_getter=custom_getter):
/external/tensorflow/tensorflow/python/layers/
Dcore_test.py310 def custom_getter(getter, *args, **kwargs): function
314 with variable_scope.variable_scope('test', custom_getter=custom_getter):
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dkeras_tpu_variables.py298 "", custom_getter=_replicated_variable_getter)
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/layers/
Dcudnn_rnn.py337 custom_getter=self._update_trainable_weights):
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Dspectral_normalization_test.py119 context_manager = variable_scope.variable_scope('', custom_getter=getter)
/external/tensorflow/tensorflow/python/framework/
Dfunction.py658 self._old_custom_getter = self._vscope.custom_getter
898 with vs.variable_scope("", custom_getter=func_graph.getvar):
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_lib.py887 custom_getter=distributed_getter), self._default_device)
/external/tensorflow/tensorflow/contrib/eager/python/
Dnetwork_test.py627 with variable_scope.variable_scope("", custom_getter=_custom_getter):

12