MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / op

Method op

tensorboard/compat/tensorflow_stub/errors.py:54–67  ·  view source on GitHub ↗

The operation that failed, if known. *N.B.* If the failed op was synthesized at runtime, e.g. a `Send` or `Recv` op, there will be no corresponding @{tf.Operation} object. In that case, this will return `None`, and you should instead use the @{tf.OpError.nod

(self)

Source from the content-addressed store, hash-verified

52
53 @property
54 def op(self):
55 """The operation that failed, if known.
56
57 *N.B.* If the failed op was synthesized at runtime, e.g. a `Send`
58 or `Recv` op, there will be no corresponding
59 @{tf.Operation}
60 object. In that case, this will return `None`, and you should
61 instead use the @{tf.OpError.node_def} to
62 discover information about the op.
63
64 Returns:
65 The `Operation` that failed, or None.
66 """
67 return self._op
68
69 @property
70 def error_code(self):

Callers 15

test_new_style_imageMethod · 0.80
test_new_style_audioMethod · 0.80
test_new_style_scalarMethod · 0.80
test_opMethod · 0.80
setUpMethod · 0.80
imageMethod · 0.80
_create_dataMethod · 0.80
generate_runMethod · 0.80

Calls

no outgoing calls

Tested by 15

test_new_style_imageMethod · 0.64
test_new_style_audioMethod · 0.64
test_new_style_scalarMethod · 0.64
test_opMethod · 0.64
setUpMethod · 0.64
imageMethod · 0.64
_create_dataMethod · 0.64
generate_runMethod · 0.64