/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | evaluation.py | 195 checkpoint_path = tf_saver.latest_checkpoint(checkpoint_dir) 196 if checkpoint_path is None or checkpoint_path == last_checkpoint: 201 logging.info('Found new checkpoint at %s', checkpoint_path) 202 return checkpoint_path 247 checkpoint_path = None 250 checkpoint_dir, checkpoint_path, timeout=timeout) 263 checkpoint_path = new_checkpoint_path 264 yield checkpoint_path 317 def _scaffold_with_init(scaffold, saver, checkpoint_path): argument 331 saver.restore(session, checkpoint_path) [all …]
|
D | evaluation_test.py | 201 checkpoint_path = evaluation.wait_for_new_checkpoint(checkpoint_dir) 204 checkpoint_path=checkpoint_path, 217 checkpoint_path = evaluation.wait_for_new_checkpoint(checkpoint_dir) 231 checkpoint_path=checkpoint_path, 244 checkpoint_path = evaluation.wait_for_new_checkpoint(checkpoint_dir) 256 checkpoint_path=checkpoint_path, final_ops={'value': final_ops})
|
/external/tensorflow/tensorflow/python/training/ |
D | evaluation_test.py | 123 checkpoint_path = saver.latest_checkpoint(checkpoint_dir) 126 checkpoint_path=checkpoint_path, 154 checkpoint_path = saver.latest_checkpoint(checkpoint_dir) 157 checkpoint_path=checkpoint_path, 173 checkpoint_path = saver.latest_checkpoint(checkpoint_dir) 189 checkpoint_path=checkpoint_path, 201 checkpoint_path = saver.latest_checkpoint(checkpoint_dir) 219 checkpoint_path=checkpoint_path, 230 checkpoint_path = saver.latest_checkpoint(checkpoint_dir) 242 checkpoint_path=checkpoint_path, final_ops={'value': final_ops})
|
/external/tensorflow/tensorflow/python/estimator/ |
D | exporter.py | 45 def export(self, estimator, export_path, checkpoint_path, eval_result, argument 113 def export(self, estimator, export_path, checkpoint_path, eval_result, argument 122 checkpoint_path=checkpoint_path, 168 def export(self, estimator, export_path, checkpoint_path, eval_result, argument 176 checkpoint_path, eval_result, 228 def export(self, estimator, export_path, checkpoint_path, eval_result, argument 231 estimator, export_path, checkpoint_path, eval_result,
|
D | estimator.py | 364 def evaluate(self, input_fn, steps=None, hooks=None, checkpoint_path=None, argument 415 checkpoint_path=checkpoint_path, 430 checkpoint_path=None, argument 475 if not checkpoint_path: 476 checkpoint_path = saver.latest_checkpoint(self._model_dir) 477 if not checkpoint_path: 494 checkpoint_filename_with_path=checkpoint_path, 536 checkpoint_path=None, argument 612 if not checkpoint_path: 614 checkpoint_path = saver.latest_checkpoint(self._model_dir) [all …]
|
D | training.py | 826 checkpoint_path=latest_ckpt_path, 833 checkpoint_path=latest_ckpt_path) 867 checkpoint_path=eval_result.checkpoint_path, 899 def __new__(cls, status, metrics=None, checkpoint_path=None): argument 921 if checkpoint_path: 925 checkpoint_path)) 927 checkpoint_path) 947 if not checkpoint_path: 952 checkpoint_path)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
D | saved_model_export_utils.py | 424 def export_fn(estimator, export_dir_base, checkpoint_path=None, argument 454 checkpoint_path=checkpoint_path, 463 checkpoint_path=checkpoint_path, 571 def update(self, checkpoint_path, eval_result): argument 587 if not checkpoint_path: 590 raise ValueError('%s has empty evaluation results.', checkpoint_path) 595 return checkpoint_path, eval_result 673 def export_fn(estimator, export_dir_base, checkpoint_path, eval_result=None): argument 687 if not checkpoint_path: 693 checkpoint_path = saver.latest_checkpoint(estimator.model_dir) [all …]
|
D | export.py | 63 def _export_graph(graph, saver, checkpoint_path, export_dir, argument 71 saver.restore(session, checkpoint_path) 288 checkpoint_path=None): argument 295 checkpoint_path = (checkpoint_path or 349 checkpoint_path,
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
D | experiment.py | 52 def _pred_fn_wrapper(eval_results, checkpoint_path): argument 105 name="intermediate_export", checkpoint_path=latest_path) 107 self._eval_result, checkpoint_path=latest_path) 502 eval_result, checkpoint_path=previous_path if eval_result else None)): 532 checkpoint_path=latest_path, 539 self._maybe_export(eval_result, checkpoint_path=latest_path) 752 eval_result, checkpoint_path=latest_checkpoint 774 checkpoint_path=latest_checkpoint, 780 def _maybe_export(self, eval_result, checkpoint_path=None): argument 793 checkpoint_path=checkpoint_path, [all …]
|
D | export_strategy_test.py | 39 def _ckpt_export_fn(estimator, export_path, checkpoint_path): argument 41 self.assertEqual(checkpoint_path, 'checkpoint') 50 def _ckpt_eval_export_fn(estimator, export_path, checkpoint_path, argument 53 self.assertEqual(checkpoint_path, 'checkpoint')
|
D | graph_actions.py | 95 def _restore_from_checkpoint(session, graph, checkpoint_path, saver=None): argument 96 logging.info('Loading model from checkpoint: %s.', checkpoint_path) 99 saver.restore(session, checkpoint_path) 474 checkpoint_path, argument 547 checkpoint_dir=checkpoint_path) 555 logging.warning('Failed to initialize from %s.', checkpoint_path) 558 if checkpoint_path: 559 _restore_from_checkpoint(session, graph, checkpoint_path, saver)
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
D | evaluation_test.py | 230 checkpoint_path = os.path.join(self.get_temp_dir(), 234 evaluation.evaluate_once('', checkpoint_path, log_dir) 236 def _prepareCheckpoint(self, checkpoint_path): argument 242 saver.save(sess, checkpoint_path) 245 checkpoint_path = os.path.join(self.get_temp_dir(), 'model.ckpt') 249 self._prepareCheckpoint(checkpoint_path) 257 '', checkpoint_path, log_dir, eval_op=update_op, final_op=value_op) 261 checkpoint_path = os.path.join(self.get_temp_dir(), 'model.ckpt') 265 self._prepareCheckpoint(checkpoint_path) 276 '', checkpoint_path, log_dir, eval_op=update_op, final_op=value_op,
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | estimator.py | 564 checkpoint_path=None, argument 588 checkpoint_path=checkpoint_path, 679 checkpoint_path=None): argument 727 checkpoint_path=checkpoint_path) 857 checkpoint_path=None, argument 866 if not checkpoint_path: 871 checkpoint_path = latest_path 906 checkpoint_path=checkpoint_path, 932 checkpoint_path = saver.latest_checkpoint(self._model_dir) 933 if not checkpoint_path: [all …]
|
/external/tensorflow/tensorflow/python/tools/ |
D | freeze_graph_test.py | 67 checkpoint_path = saver.save( 90 checkpoint_path, 181 checkpoint_path = saver.save( 193 input_meta_graph = checkpoint_path + ".meta" 196 "", input_saver_def_path, input_binary, checkpoint_path, 233 checkpoint_path = None 238 input_binary, checkpoint_path, output_node_names,
|
/external/tensorflow/tensorflow/contrib/meta_graph_transform/ |
D | meta_graph_transform.py | 100 checkpoint_path): argument 126 saver_def, checkpoint_path) 186 initializer_names, checkpoint_path): argument 212 if checkpoint_path: 213 input_flag = 'input_checkpoint="%s", ' % checkpoint_path 269 checkpoint_path=None): argument 307 transformed_initializer_names, saver_def, checkpoint_path) 316 transformed_initializer_names, checkpoint_path)) 707 checkpoint_path=None): argument 732 checkpoint_path)
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | sparsify_gather_test.cc | 78 const auto checkpoint_path = in TestSinglePartition() local 129 BundleWriter writer(Env::Default(), checkpoint_path); in TestSinglePartition() 172 context.params["input_checkpoint"] = {checkpoint_path}; in TestSinglePartition() 291 const auto checkpoint_path = in TestMultiPartition() local 366 BundleWriter writer(Env::Default(), checkpoint_path); in TestMultiPartition() 404 context.params["input_checkpoint"] = {checkpoint_path}; in TestMultiPartition() 575 const auto checkpoint_path = in TestReadTensorSlice() local 580 BundleWriter writer(Env::Default(), checkpoint_path); in TestReadTensorSlice() 586 new BundleReader(Env::Default(), checkpoint_path)); in TestReadTensorSlice()
|
/external/tensorflow/tensorflow/tools/api/golden/ |
D | tensorflow.estimator.-estimator.pbtxt | 27 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 31 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 47 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-baseline-classifier.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-baseline-regressor.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-d-n-n-regressor.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-linear-regressor.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-linear-classifier.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-d-n-n-classifier.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-d-n-n-linear-combined-classifier.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|
D | tensorflow.estimator.-d-n-n-linear-combined-regressor.pbtxt | 28 …argspec: "args=[\'self\', \'input_fn\', \'steps\', \'hooks\', \'checkpoint_path\', \'name\'], vara… 32 …e\', \'serving_input_receiver_fn\', \'assets_extra\', \'as_text\', \'checkpoint_path\', \'strip_de… 48 …argspec: "args=[\'self\', \'input_fn\', \'predict_keys\', \'hooks\', \'checkpoint_path\', \'yield_…
|