Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dmemory_types.cc113 const auto& from_proto = kdef->host_memory_arg(); in MemoryTypesForNode() local
114 std::vector<string> host_memory_args(from_proto.begin(), from_proto.end()); in MemoryTypesForNode()
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py740 def from_proto(variable_def, import_scope=None): member in ResourceVariable
999 return ResourceVariable.from_proto(v, import_scope=import_scope)
1000 return variables.Variable.from_proto(v, import_scope=import_scope)
1007 from_proto=_from_proto_fn)
1012 from_proto=_from_proto_fn)
1017 from_proto=_from_proto_fn)
1022 from_proto=_from_proto_fn)
1027 from_proto=_from_proto_fn)
Dcontrol_flow_ops.py1781 def from_proto(context_def, import_scope=None): member in CondContext
2403 def from_proto(context_def, import_scope=None): member in WhileContext
3730 return CondContext.from_proto(context_def.cond_ctxt,
3733 return WhileContext.from_proto(context_def.while_ctxt,
3743 from_proto=CondContext.from_proto)
3749 from_proto=WhileContext.from_proto)
Dcontrol_flow_ops_test.py494 control_flow_ops.CondContext.from_proto(c.to_proto()).to_proto())
508 control_flow_ops.WhileContext.from_proto(
Dvariables.py1041 def from_proto(variable_def, import_scope=None): member in Variable
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py604 from_proto = ops.get_from_proto_function(ctype)
609 override_contents=[from_proto(saver_def)])
757 from_proto = ops.get_from_proto_function(key)
758 if from_proto and kind == "bytes_list":
766 variable = from_proto(
775 key, from_proto(
Dops.py5714 from_proto=None): argument
5732 if from_proto and not callable(from_proto):
5735 _proto_function_registry.register((proto_type, to_proto, from_proto),
/external/tensorflow/tensorflow/core/protobuf/
Dmeta_graph.proto139 // 3. For Python objects, implement to_proto() and from_proto(), and register
144 // from_proto=YourPythonObject.from_proto)
150 // from_proto=Variable.from_proto)
/external/tensorflow/tensorflow/python/training/
Dqueue_runner_impl.py383 def from_proto(queue_runner_def, import_scope=None): member in QueueRunner
472 from_proto=QueueRunner.from_proto)
Dqueue_runner_test.py329 qr0_recon = queue_runner_impl.QueueRunner.from_proto(qr0_proto)
342 qr0_legacy_recon = queue_runner_impl.QueueRunner.from_proto(qr0_proto)
Dsaver.py1493 def from_proto(saver_def, import_scope=None): member in Saver
2068 from_proto=Saver.from_proto)
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam.py695 def from_proto(hparam_def, import_scope=None): # pylint: disable=unused-argument member in HParams
703 from_proto=HParams.from_proto)
/external/tensorflow/tensorflow/docs_src/api_guides/python/
Dmeta_graph.md29 `from_proto()` methods, and register them with the system using
63 def from_proto(variable_def, import_scope=None):
70 from_proto=Variable.from_proto)
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.train.queue_runner.-queue-runner.pbtxt42 name: "from_proto"
Dtensorflow.train.-queue-runner.pbtxt42 name: "from_proto"
Dtensorflow.train.-saver.pbtxt26 name: "from_proto"
Dtensorflow.-variable.pbtxt71 name: "from_proto"
/external/tensorflow/tensorflow/python/kernel_tests/
Dresource_variable_ops_test.py329 w = resource_variable_ops.ResourceVariable.from_proto(v.to_proto())
382 w = resource_variable_ops.ResourceVariable.from_proto(v.to_proto())