Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/training/
Dsaver.py693 saver_def=None, argument
817 self.saver_def = saver_def
832 if self.saver_def:
834 self._write_version = self.saver_def.version
856 if not self.saver_def or context.executing_eagerly():
871 self.saver_def = self._builder._build_internal( # pylint: disable=protected-access
881 elif self.saver_def and self._name:
885 self.saver_def.filename_tensor_name = ops.prepend_name_scope(
886 self.saver_def.filename_tensor_name, self._name)
887 self.saver_def.save_tensor_name = ops.prepend_name_scope(
[all …]
Dbasic_session_run_hooks.py560 saver_def = self._get_saver().saver_def if self._get_saver() else None
564 saver_def=saver_def)
Dsupervisor_test.py775 saver_def=sv.saver.saver_def)
825 saver_def=sv.saver.saver_def)
Dsupervisor.py326 saver_def=self._saver.saver_def if self._saver else None)
Dbasic_session_run_hooks_test.py750 saver_def=self.scaffold.saver.saver_def)
Dsaver_test.py381 save.saver_def.filename_tensor_name)
1236 save2 = saver_module.Saver(saver_def=save.as_saver_def())
1241 save3 = saver_module.Saver(saver_def=save.as_saver_def())
/external/tensorflow/tensorflow/contrib/meta_graph_transform/
Dmeta_graph_transform.py103 def _freeze_transform(graph_def, output_names, initializer_names, saver_def, argument
130 saver_def, checkpoint_path)
272 saver_def=None, argument
311 transformed_initializer_names, saver_def, checkpoint_path)
378 saver = _saver_lib.Saver(saver_def=input_saver_def)
411 saver_defs.append(base_meta_graph_def.saver_def)
414 for saver_def in saver_defs:
417 saver_def.filename_tensor_name, saver_def.save_tensor_name,
418 saver_def.restore_op_name
511 filename_tensor_name = base_meta_graph_def.saver_def.filename_tensor_name
[all …]
Dmeta_graph_transform_test.py139 saver_def = saver_pb2.SaverDef()
140 saver_def.filename_tensor_name = 'f1'
144 initializer_names, saver_def,
154 table_init_names, main_op, saver_def,
411 base_meta_graph_def.saver_def.filename_tensor_name = 'node1'
412 base_meta_graph_def.saver_def.save_tensor_name = 'node3'
413 base_meta_graph_def.saver_def.restore_op_name = 'node6'
422 group_deps_name, base_meta_graph_def.saver_def, None)
539 base_meta_graph_def.saver_def.filename_tensor_name = 'node1'
540 base_meta_graph_def.saver_def.save_tensor_name = 'node3'
[all …]
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py292 def _find_extraneous_saver_nodes(graph_def, saver_def): argument
318 if saver_def is not None:
319 save_op_name = _op_name(saver_def.save_tensor_name)
320 restore_op_name = _op_name(saver_def.restore_op_name)
563 saver_def=None, argument
606 if saver_def and not isinstance(saver_def, saver_pb2.SaverDef):
608 type(saver_def))
642 if saver_def:
643 meta_graph_def.saver_def.MergeFrom(saver_def)
659 override_contents=[from_proto(saver_def)])
[all …]
Dmeta_graph_test.py93 saver_def=None)
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py90 saver_def = saver.saver_def
93 saver_def.filename_tensor_name)],
94 fetches=[wrapped.graph.as_graph_element(saver_def.restore_op_name)])
Dsave.py532 saver_def = saver.to_proto()
533 meta_graph_def.saver_def.CopyFrom(saver_def)
Dsaved_model_test.py1127 saved_graph.saver_def.restore_op_name, "my_saver/restore_all")
1150 saved_graph.saver_def.restore_op_name, "save/restore_all")
1176 saved_graph.saver_def.restore_op_name,
/external/tensorflow/tensorflow/python/tpu/
Dasync_checkpoint.py111 saver_def = self._get_saver().saver_def if self._get_saver() else None
114 graph_def=graph.as_graph_def(add_shapes=True), saver_def=saver_def)
/external/tensorflow/tensorflow/python/tools/
Dfreeze_graph.py150 saver_def=input_saver_def, write_version=checkpoint_version)
280 saver_def = saver_pb2.SaverDef()
282 saver_def.ParseFromString(f.read())
284 text_format.Merge(f.read(), saver_def)
285 return saver_def
/external/tensorflow/tensorflow/contrib/session_bundle/
Dexporter.py146 saver_def = saver.as_saver_def()
147 saver_def.ClearField("max_to_keep")
148 self._saver = tf_saver.Saver(saver_def=saver_def)
Dsession_bundle.cc209 bundle->meta_graph_def.saver_def().restore_op_name(), in LoadSessionBundleFromPathUsingRunOptionsInternal()
210 bundle->meta_graph_def.saver_def().filename_tensor_name(), in LoadSessionBundleFromPathUsingRunOptionsInternal()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-saver.pbtxt11 …'keep_checkpoint_every_n_hours\', \'name\', \'restore_sequentially\', \'saver_def\', \'builder\', …
27 …argspec: "args=[\'saver_def\', \'import_scope\'], varargs=None, keywords=None, defaults=[\'None\']…
Dtensorflow.-meta-graph-def.pbtxt20 name: "saver_def"
Dtensorflow.train.pbtxt305 …argspec: "args=[\'filename\', \'meta_info_def\', \'graph_def\', \'saver_def\', \'collection_list\'…
/external/tensorflow/tensorflow/cc/saved_model/
Dloader.cc276 bundle->meta_graph_def.saver_def().restore_op_name(), in LoadSavedModelInternal()
277 bundle->meta_graph_def.saver_def().filename_tensor_name(), in LoadSavedModelInternal()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc576 const SaverDef& saver = meta_graph.saver_def(); in GrapplerItemFromMetaGraphDef()
/external/tensorflow/tensorflow/core/protobuf/
Dmeta_graph.proto76 SaverDef saver_def = 3; field
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_test.py496 wraps=real_saver, saver_def=real_saver.saver_def)
/external/tensorflow/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/
Dsaved_model.pbtxt2452 saver_def {