/external/tensorflow/tensorflow/contrib/training/python/training/ |
evaluation.py | 31 checkpoint_path = ... 55 checkpoint_path=checkpoint_path, 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 [all...] |
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/contrib/learn/python/learn/ |
export_strategy.py | 50 * `(estimator, export_path, checkpoint_path) -> export_path` 51 * `(estimator, export_path, checkpoint_path, eval_result) -> export_path` 52 * `(estimator, export_path, checkpoint_path, eval_result, 66 checkpoint_path=None, 73 checkpoint_path: The checkpoint path to export. If None (the default), 76 should be set only if checkpoint_path is provided (otherwise it is 85 # don't break existing export_fns that don't accept checkpoint_path and 89 if 'checkpoint_path' in export_fn_args: 90 kwargs['checkpoint_path'] = checkpoint_path [all...] |
export_strategy_test.py | 39 def _ckpt_export_fn(estimator, export_path, checkpoint_path): 41 self.assertEqual(checkpoint_path, 'checkpoint') 50 def _ckpt_eval_export_fn(estimator, export_path, checkpoint_path, 53 self.assertEqual(checkpoint_path, 'checkpoint') 70 'checkpoint_path'):
|
evaluable.py | 44 checkpoint_path=None, 100 checkpoint_path: Path of a specific checkpoint to evaluate. If `None`, the
|
experiment.py | 50 if "checkpoint_path" not in pred_fn_args: 52 def _pred_fn_wrapper(eval_results, checkpoint_path): 76 `(name, checkpoint_path) -> eval_result` 79 `(eval_result, checkpoint_path) -> export_results` 105 name="intermediate_export", checkpoint_path=latest_path) 107 self._eval_result, checkpoint_path=latest_path) 464 * (eval_results, checkpoint_path) -> boolean 466 checkpoint_path is the path to the checkpoint containing the parameters 502 eval_result, checkpoint_path=previous_path if eval_result else None)): 532 checkpoint_path=latest_path [all...] |
graph_actions.py | 95 def _restore_from_checkpoint(session, graph, checkpoint_path, saver=None): 96 logging.info('Loading model from checkpoint: %s.', checkpoint_path) 99 saver.restore(session, checkpoint_path) 474 checkpoint_path, 499 checkpoint_path: A string containing the path to a checkpoint to restore. 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)
|
graph_actions_test.py | 279 checkpoint_path=None, 285 checkpoint_path=None, 298 checkpoint_path=None, 324 checkpoint_path=None, 338 checkpoint_path=None, 362 checkpoint_path=None, 385 checkpoint_path=None,
|
/external/tensorflow/tensorflow/python/estimator/ |
exporter.py | 45 def export(self, estimator, export_path, checkpoint_path, eval_result, 52 checkpoint_path: The checkpoint path to export. 113 def export(self, estimator, export_path, checkpoint_path, eval_result, 122 checkpoint_path=checkpoint_path, 168 def export(self, estimator, export_path, checkpoint_path, eval_result, 176 checkpoint_path, eval_result, 228 def export(self, estimator, export_path, checkpoint_path, eval_result, 231 estimator, export_path, checkpoint_path, eval_result,
|
estimator.py | 364 def evaluate(self, input_fn, steps=None, hooks=None, checkpoint_path=None, 392 checkpoint_path: Path of a specific checkpoint to evaluate. If `None`, the 407 given `checkpoint_path` is empty. 415 checkpoint_path=checkpoint_path, 430 checkpoint_path=None, 455 checkpoint_path: Path of a specific checkpoint to predict. If `None`, the 475 if not checkpoint_path: 476 checkpoint_path = saver.latest_checkpoint(self._model_dir) 477 if not checkpoint_path [all...] |
training.py | 826 checkpoint_path=latest_ckpt_path, 833 checkpoint_path=latest_ckpt_path) [all...] |
exporter_test.py | 64 "checkpoint_path", {}, False) 72 checkpoint_path="checkpoint_path", 92 "checkpoint_path", {}, False) 98 "checkpoint_path", {}, True) 106 checkpoint_path="checkpoint_path",
|
/external/tensorflow/tensorflow/python/training/ |
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 [all...] |
evaluation.py | 120 def _evaluate_once(checkpoint_path, 152 checkpoint_path: The path to a checkpoint to use for evaluation. 200 checkpoint_filename_with_path=checkpoint_path,
|
/external/tensorflow/tensorflow/contrib/predictor/ |
contrib_estimator_predictor.py | 58 checkpoint_path = saver.latest_checkpoint(estimator.model_dir) 61 checkpoint_filename_with_path=checkpoint_path))
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
export.py | 63 def _export_graph(graph, saver, checkpoint_path, export_dir, 71 saver.restore(session, checkpoint_path) 288 checkpoint_path=None): 294 # If checkpoint_path is specified, use the specified checkpoint path. 295 checkpoint_path = (checkpoint_path or 349 checkpoint_path,
|
saved_model_export_utils.py | 424 def export_fn(estimator, export_dir_base, checkpoint_path=None, 432 checkpoint_path: The checkpoint path to export. If None (the default), 454 checkpoint_path=checkpoint_path, 463 checkpoint_path=checkpoint_path, 571 def update(self, checkpoint_path, eval_result): 575 checkpoint_path: the checkpoint path to export. 587 if not checkpoint_path: 590 raise ValueError('%s has empty evaluation results.', checkpoint_path) [all...] |
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
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): 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 [all...] |
evaluation.py | 144 checkpoint_path, 162 checkpoint_path: The path to a checkpoint to use for evaluation. 203 checkpoint_path,
|
/external/tensorflow/tensorflow/python/tools/ |
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/ |
meta_graph_transform.py | 100 checkpoint_path): 114 checkpoint_path: A path to a checkpoint to restore during freezing, 126 saver_def, checkpoint_path) 186 initializer_names, checkpoint_path): 199 checkpoint_path: A path to a checkpoint. 212 if checkpoint_path: 213 input_flag = 'input_checkpoint="%s", ' % checkpoint_path 269 checkpoint_path=None): 286 checkpoint_path: A path to a checkpoint to restore during freezing, 307 transformed_initializer_names, saver_def, checkpoint_path) [all...] |
/external/tensorflow/tensorflow/tools/graph_transforms/ |
sparsify_gather_test.cc | 78 const auto checkpoint_path = local 129 BundleWriter writer(Env::Default(), checkpoint_path); local 172 context.params["input_checkpoint"] = {checkpoint_path}; 291 const auto checkpoint_path = local 366 BundleWriter writer(Env::Default(), checkpoint_path); local 404 context.params["input_checkpoint"] = {checkpoint_path}; 575 const auto checkpoint_path = local 580 BundleWriter writer(Env::Default(), checkpoint_path); local 586 new BundleReader(Env::Default(), checkpoint_path));
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
train.py | 255 checkpoint_path = os.path.join(FLAGS.train_dir, 257 tf.logging.info('Saving to "%s-%d"', checkpoint_path, training_step) 258 saver.save(sess, checkpoint_path, global_step=training_step)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
estimator.py | 564 checkpoint_path=None, 588 checkpoint_path=checkpoint_path, 679 checkpoint_path=None): 706 checkpoint_path: the checkpoint path of the model to be exported. If it is 727 checkpoint_path=checkpoint_path) [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/ |
custom_export_strategy.py | 63 def export_fn(estimator, export_dir, checkpoint_path=None, eval_result=None): 66 checkpoint_path,
|