Home
last modified time | relevance | path

Searched refs:save_op (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/data/kernel_tests/
Dcheckpoint_test.py57 save_op = io_ops.write_file(
60 return save_op
77 save_op = self._save_op(iterator._iterator_resource)
79 return init_op, get_next, save_op, restore_op
86 init_op, get_next, save_op, _ = _build_graph(start, stop)
92 sess.run(save_op)
106 init_op, get_next, save_op, restore_op = _build_graph(start, stop)
112 sess.run(save_op)
131 save_op = self._save_op(iterator._iterator_resource)
133 return init_op, get_next, save_op, restore_op
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Drange_dataset_serialization_test.py48 save_op = io_ops.write_file(
51 return save_op
70 save_op = self._save_op(iterator._iterator_resource)
72 return init_op, get_next, save_op, restore_op
79 init_op, get_next, save_op, _ = _build_graph(start, stop)
85 self.evaluate(save_op)
99 init_op, get_next, save_op, restore_op = _build_graph(start, stop)
105 self.evaluate(save_op)
/external/tensorflow/tensorflow/core/graph/
Dquantize_training.cc139 Status FindSaveOp(const Graph* graph, Node** save_op, in FindSaveOp() argument
148 *save_op = node; in FindSaveOp()
185 Status ConnectVariablesToSaveOp(Graph* graph, Node* save_op, in ConnectVariablesToSaveOp() argument
204 NodeBuilder(save_op->name(), save_op->type_string()); in ConnectVariablesToSaveOp()
237 for (const Edge* edge : save_op->out_edges()) { in ConnectVariablesToSaveOp()
240 graph->RemoveNode(save_op); in ConnectVariablesToSaveOp()
250 Status AddRestoreVariableSubgraphs(Graph* graph, Node* save_op, in AddRestoreVariableSubgraphs() argument
254 StringPiece name_prefix = GetNodeNamePrefix(save_op); in AddRestoreVariableSubgraphs()
318 Node* save_op = nullptr; in AddSaveAndRestore() local
321 TF_RETURN_IF_ERROR(FindSaveOp(graph, &save_op, &in_edges, &found)); in AddSaveAndRestore()
[all …]
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc42 item.save_op = save_op; in WithGraph()
97 if (!save_op.empty()) { in NodesToPreserve()
98 result.insert(NodeName(save_op)); in NodesToPreserve()
Dgrappler_item.h61 string save_op; member
Dgrappler_item_builder.cc600 new_item->save_op = saver.save_tensor_name(); in GrapplerItemFromMetaGraphDef()
609 new_item->save_op = saver.save_tensor_name(); in GrapplerItemFromMetaGraphDef()
/external/tensorflow/tensorflow/python/training/saving/
Dfunctional_saver.py179 save_op = self.save(file_prefix)
181 with ops.control_dependencies([save_op]):
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dtrt_optimization_pass.cc160 LOG(INFO) << "Save Op = " << item.save_op; in PrintDebugInfo()
/external/tensorflow/tensorflow/python/training/
Dsaver.py86 def save_op(self, filename_tensor, saveables): member in BaseSaverBuilder
206 save = self.save_op(filename_tensor, saveables)
Dsaver_test.py184 save_op = None
187 save_op = op
189 assert save_op is not None
190 for save_inp in save_op.inputs[3:]:
/external/tensorflow/tensorflow/python/training/tracking/
Dutil.py1135 save_op = saver.save(file_prefix)
1137 with ops.control_dependencies([save_op]):
/external/tensorflow/tensorflow/core/kernels/
DBUILD3347 ":save_op",
3414 name = "save_op",
3415 prefix = "save_op",
6671 "save_op.cc",