Home
last modified time | relevance | path

Searched refs:variable_def (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py213 variable_def=None, argument
265 if variable_def:
272 self._init_from_proto(variable_def, import_scope=import_scope)
495 def _init_from_proto(self, variable_def, import_scope=None): argument
500 assert isinstance(variable_def, variable_pb2.VariableDef)
501 if not variable_def.is_resource:
508 variable_def.variable_name, import_scope=import_scope))
515 variable_def.initializer_name, import_scope=import_scope))
517 if (hasattr(variable_def, "initial_value_name") and
518 variable_def.initial_value_name):
[all …]
Dvariables.py142 variable_def=None, argument
217 if variable_def:
222 self._init_from_proto(variable_def, import_scope=import_scope)
394 def _init_from_proto(self, variable_def, import_scope=None): argument
402 assert isinstance(variable_def, variable_pb2.VariableDef)
406 ops.prepend_name_scope(variable_def.variable_name,
409 ops.prepend_name_scope(variable_def.initializer_name,
412 if (hasattr(variable_def, "initial_value_name") and
413 variable_def.initial_value_name):
415 ops.prepend_name_scope(variable_def.initial_value_name,
[all …]
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.-variable.pbtxt48 … \'collections\', \'validate_shape\', \'caching_device\', \'name\', \'variable_def\', \'dtype\', \…
72 …argspec: "args=[\'variable_def\', \'import_scope\'], varargs=None, keywords=None, defaults=[\'None…
/external/tensorflow/tensorflow/docs_src/api_guides/python/
Dmeta_graph.md63 def from_proto(variable_def, import_scope=None):
64 """Returns a `Variable` object created from `variable_def`."""
65 return Variable(variable_def=variable_def, import_scope=import_scope)
/external/tensorflow/tensorflow/python/kernel_tests/
Dresource_variable_ops_test.py294 v = resource_variable_ops.ResourceVariable(variable_def=v_def)
306 v = resource_variable_ops.ResourceVariable(variable_def=v_def)
Dvariables_test.py480 v = variables.Variable(variable_def=v_def)
492 v = variables.Variable(variable_def=v_def)