HomeSort by relevance Sort by last modified time
    Searched refs:run_context (Results 1 - 25 of 30) sorted by null

1 2

  /external/tensorflow/tensorflow/python/debug/wrappers/
hooks.py 82 def before_run(self, run_context):
85 run_context.session,
99 # Adapt run_context to an instance of OnRunStartRequest for invoking
102 run_context.original_args.fetches, run_context.original_args.feed_dict,
134 run_context.session.graph._finalized = False
138 run_context.session, run_context.original_args.fetches,
139 run_context.original_args.feed_dict) as node_stepper:
145 def after_run(self, run_context, run_values)
    [all...]
  /external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
trainer_hooks.py 68 def before_run(self, run_context):
69 del run_context # Unused by feature importance summary saver hook.
78 def after_run(self, run_context, run_values):
79 del run_context # Unused by feature importance summary saver hook.
145 def before_run(self, run_context):
146 del run_context # unused by FeedFnHook.
160 def before_run(self, run_context):
161 del run_context # unused by StopTrainingAfterNTrees.
167 def after_run(self, run_context, run_values):
178 run_context.request_stop(
    [all...]
  /external/tensorflow/tensorflow/python/training/
session_run_hook.py 50 def before_run(self, run_context):
54 def after_run(self, run_context, run_values):
58 run_context.request_stop()
134 def before_run(self, run_context): # pylint: disable=unused-argument
143 The `run_context` argument is a `SessionRunContext` that provides
150 run_context: A `SessionRunContext` object.
158 run_context, # pylint: disable=unused-argument
165 The `run_context` argument is the same one send to `before_run` call.
166 `run_context.request_stop()` can be called to stop the iteration.
171 run_context: A `SessionRunContext` object
    [all...]
basic_session_run_hooks.py 232 def before_run(self, run_context): # pylint: disable=unused-argument
255 def after_run(self, run_context, run_values):
256 _ = run_context
308 def before_run(self, run_context): # pylint: disable=unused-argument
311 def after_run(self, run_context, run_values):
319 step = run_context.session.run(self._global_step_tensor)
321 run_context.request_stop()
432 def before_run(self, run_context): # pylint: disable=unused-argument
451 def after_run(self, run_context, run_values):
455 global_step = run_context.session.run(self._global_step_tensor
    [all...]
evaluation.py 102 def before_run(self, run_context):
107 def after_run(self, run_context, run_values):
117 run_context.request_stop()
monitored_session.py     [all...]
monitored_session_test.py 252 def before_run(self, run_context):
254 self.last_run_context = run_context
257 def after_run(self, run_context, run_values):
261 run_context.request_stop()
591 def after_run(self, run_context, run_values):
614 def after_run(self, run_context, run_values):
615 StopCoordinatorWithException.after_run(self, run_context, run_values)
    [all...]
  /external/tensorflow/tensorflow/contrib/factorization/python/ops/
wals.py 72 def before_run(self, run_context):
74 sess = run_context.session
106 def before_run(self, run_context):
108 run_context.session.run(self._global_step_incr_op)
133 def before_run(self, run_context):
136 def after_run(self, run_context, run_values):
139 run_context.request_stop()
kmeans.py 56 def before_run(self, run_context):
57 del run_context # unused
60 def after_run(self, run_context, run_values):
67 run_context.request_stop()
  /external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
cifar10_train.py 96 def before_run(self, run_context):
101 def after_run(self, run_context, run_values):
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
kmeans.py 68 def before_run(self, run_context):
69 del run_context
73 def after_run(self, run_context, run_values):
80 run_context.request_stop()
linear.py 300 def before_run(self, run_context):
    [all...]
dnn_linear_combined_test.py 101 def after_run(self, run_context, run_values):
102 del run_context, run_values
    [all...]
  /external/tensorflow/tensorflow/contrib/tensor_forest/client/
random_forest.py 78 def before_run(self, run_context):
80 run_context.session.graph.get_operation_by_name(
86 def after_run(self, run_context, run_values):
106 run_context.request_stop()
  /external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
test_utils.py 93 def after_run(self, run_context, run_values):
94 del run_context
  /external/tensorflow/tensorflow/contrib/tpu/python/tpu/
tpu_estimator.py 452 def before_run(self, run_context):
460 iterations = run_context.session.run(self._iterations_per_loop_var)
552 def after_run(self, run_context, run_values):
555 global_step = run_context.session.run(self._global_step_tensor)
557 run_context.request_stop()
561 iterations, session=run_context.session)
597 def before_run(self, run_context):
600 def after_run(self, run_context, run_values):
601 _ = run_context
    [all...]
  /external/tensorflow/tensorflow/contrib/learn/python/learn/
monitors.py     [all...]
  /external/tensorflow/tensorflow/contrib/linear_optimizer/python/
sdca_estimator.py 194 def before_run(self, run_context):
  /external/tensorflow/tensorflow/contrib/gan/python/
train.py 803 def before_run(self, run_context):
805 run_context.session.run(self._train_ops)
    [all...]
  /external/tensorflow/tensorflow/python/estimator/
training.py 438 def after_run(self, run_context, run_values):
441 run_context.request_stop()
    [all...]
estimator_test.py 904 def before_run(self, run_context):
905 del run_context
    [all...]
  /external/tensorflow/tensorflow/python/estimator/canned/
dnn_testing_utils.py     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_descr.py 1670 def run_context(manager): function in function:.test_special_method_lookup
    [all...]
  /external/python/cpython2/Lib/test/
test_descr.py 1696 def run_context(manager): function in function:.test_special_method_lookup
    [all...]
  /external/python/cpython3/Lib/test/
test_descr.py 1875 def run_context(manager): function in function:.test_special_method_lookup
    [all...]

Completed in 1486 milliseconds

1 2