Home
last modified time | relevance | path

Searched refs:from_proto (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dmemory_types.cc118 const auto& from_proto = kdef->host_memory_arg(); in MemoryTypesForNode() local
119 std::vector<string> host_memory_args(from_proto.begin(), from_proto.end()); in MemoryTypesForNode()
/external/tensorflow/tensorflow/python/saved_model/
Drevived_types.py85 def from_proto(self, proto): member in VersionedTypeRegistration
166 return (type_registration.from_proto(proto), type_registration.setter)
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py949 def from_proto(variable_def, import_scope=None): member in ResourceVariable
1530 return ResourceVariable.from_proto(v, import_scope=import_scope)
1531 return variables.Variable.from_proto(v, import_scope=import_scope)
1538 from_proto=_from_proto_fn)
1543 from_proto=_from_proto_fn)
1548 from_proto=_from_proto_fn)
1553 from_proto=_from_proto_fn)
1558 from_proto=_from_proto_fn)
1563 from_proto=_from_proto_fn)
Dcontrol_flow_ops.py1665 def from_proto(context_def, import_scope=None): member in CondContext
2370 def from_proto(context_def, import_scope=None): member in WhileContext
4050 return CondContext.from_proto(
4053 return WhileContext.from_proto(
4063 from_proto=CondContext.from_proto)
4069 from_proto=WhileContext.from_proto)
Dcontrol_flow_ops_test.py436 control_flow_ops.CondContext.from_proto(c.to_proto()).to_proto())
450 control_flow_ops.WhileContext.from_proto(
Dvariables.py1051 def from_proto(variable_def, import_scope=None): member in Variable
/external/tensorflow/tensorflow/core/protobuf/
Dmeta_graph.proto143 // 3. For Python objects, implement to_proto() and from_proto(), and register
148 // from_proto=YourPythonObject.from_proto)
154 // from_proto=Variable.from_proto)
/external/tensorflow/tensorflow/python/training/
Dqueue_runner_impl.py388 def from_proto(queue_runner_def, import_scope=None): member in QueueRunner
486 from_proto=QueueRunner.from_proto)
Dqueue_runner_test.py331 qr0_recon = queue_runner_impl.QueueRunner.from_proto(qr0_proto)
344 qr0_legacy_recon = queue_runner_impl.QueueRunner.from_proto(qr0_proto)
Dsaver.py1005 def from_proto(saver_def, import_scope=None): member in Saver
1593 from_proto=Saver.from_proto)
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py654 from_proto = ops.get_from_proto_function(ctype)
659 override_contents=[from_proto(saver_def)])
871 from_proto = ops.get_from_proto_function(key)
872 if from_proto and kind == "bytes_list":
880 variable = from_proto(
889 key, from_proto(
Dops.py6480 from_proto=None): argument
6498 if from_proto and not callable(from_proto):
6501 _proto_function_registry.register((proto_type, to_proto, from_proto),
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam.py730 def from_proto(hparam_def, import_scope=None): # pylint: disable=unused-argument member in HParams
738 from_proto=HParams.from_proto)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-queue-runner.pbtxt42 name: "from_proto"
Dtensorflow.train.queue_runner.-queue-runner.pbtxt42 name: "from_proto"
Dtensorflow.train.-saver.pbtxt26 name: "from_proto"
Dtensorflow.-variable.pbtxt80 name: "from_proto"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-variable.pbtxt79 name: "from_proto"
/external/tensorflow/tensorflow/python/kernel_tests/
Dresource_variable_ops_test.py706 w = resource_variable_ops.ResourceVariable.from_proto(v.to_proto())
787 w = resource_variable_ops.ResourceVariable.from_proto(v.to_proto())
/external/tensorflow/tensorflow/python/tpu/
Dtpu_estimator.py120 from_proto=resource_variable_ops._from_proto_fn) # pylint: disable=protected-access