MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / run

Method run

tensorflow/python/framework/ops.py:2423–2439  ·  view source on GitHub ↗

Runs this operation in a `Session`. Calling this method will execute all preceding operations that produce the inputs needed for this operation. *N.B.* Before invoking `Operation.run()`, its graph must have been launched in a session, and either a default session must be availa

(self, feed_dict=None, session=None)

Source from the content-addressed store, hash-verified

2421 raise ValueError(str(e))
2422
2423 def run(self, feed_dict=None, session=None):
2424 """Runs this operation in a `Session`.
2425
2426 Calling this method will execute all preceding operations that
2427 produce the inputs needed for this operation.
2428
2429 *N.B.* Before invoking `Operation.run()`, its graph must have been
2430 launched in a session, and either a default session must be
2431 available, or `session` must be specified explicitly.
2432
2433 Args:
2434 feed_dict: A dictionary that maps `Tensor` objects to feed values. See
2435 `tf.Session.run` for a description of the valid feed values.
2436 session: (Optional.) The `Session` to be used to run to this operation. If
2437 none, the default session will be used.
2438 """
2439 _run_using_default_session(self, feed_dict, self.graph, session)
2440
2441_gradient_registry = registry.Registry("gradient")
2442

Callers 15

_calibrateFunction · 0.45
_get_weight_dataFunction · 0.45
embedding_var_optFunction · 0.45
optimizeFunction · 0.45
_generate_saved_modelFunction · 0.45
simple_model.pyFile · 0.45
TestFunction · 0.45
benchmarkSVDOpMethod · 0.45
testEnqueueMethod · 0.45

Calls 1

Tested by 15

TestFunction · 0.36
benchmarkSVDOpMethod · 0.36
testEnqueueMethod · 0.36
testEnqueueHalfMethod · 0.36
testEnqueueWithShapeMethod · 0.36
testParallelDequeueMethod · 0.36
testDequeueMethod · 0.36
testDequeueHalfMethod · 0.36