Debug Identity V2 Op.
Provides an identity mapping from input to output, while writing the content of the input tensor by calling DebugEventsWriter.
The semantics of the input tensor depends on tensor_debug_mode. In typical usage, the input tensor comes directly from the user computation only when graph_debug_mode is FULL_TENSOR (see protobuf/debug_event.proto for a list of all the possible values of graph_debug_mode). For the other debug modes, the input tensor should be produced by an additional op or subgraph that computes summary information about one or more tensors.
Nested Classes
class | DebugIdentityV2.Options | Optional attributes for DebugIdentityV2
|
Public Methods
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static DebugIdentityV2.Options |
circularBufferSize(Long circularBufferSize)
|
static <T> DebugIdentityV2<T> |
create(Scope scope, Operand<T> input, Options... options)
Factory method to create a class wrapping a new DebugIdentityV2 operation.
|
static DebugIdentityV2.Options |
debugUrls(List<String> debugUrls)
|
static DebugIdentityV2.Options |
opName(String opName)
|
Output<T> |
output()
|
static DebugIdentityV2.Options |
outputSlot(Long outputSlot)
|
static DebugIdentityV2.Options |
tensorDebugMode(Long tensorDebugMode)
|
static DebugIdentityV2.Options |
tfdbgContextId(String tfdbgContextId)
|
static DebugIdentityV2.Options |
tfdbgRunId(String tfdbgRunId)
|
Inherited Methods
Public Methods
public Output<T> asOutput ()
Returns the symbolic handle of a tensor.
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
public static DebugIdentityV2<T> create (Scope scope, Operand<T> input, Options... options)
Factory method to create a class wrapping a new DebugIdentityV2 operation.
Parameters
scope | current scope |
---|---|
input | Input tensor, non-Reference type |
options | carries optional attributes values |
Returns
- a new instance of DebugIdentityV2
public static DebugIdentityV2.Options debugUrls (List<String> debugUrls)
Parameters
debugUrls | List of URLs to debug targets, e.g., file:///foo/tfdbg_dump. |
---|
public static DebugIdentityV2.Options opName (String opName)
Parameters
opName | Optional. Name of the op that the debug op is concerned with. Used only for single-tensor trace. |
---|
public static DebugIdentityV2.Options outputSlot (Long outputSlot)
Parameters
outputSlot | Optional. Output slot index of the tensor that the debug op is concerned with. Used only for single-tensor trace. |
---|
public static DebugIdentityV2.Options tensorDebugMode (Long tensorDebugMode)
Parameters
tensorDebugMode | TensorDebugMode enum value. See debug_event.proto for details. |
---|
public static DebugIdentityV2.Options tfdbgContextId (String tfdbgContextId)
Parameters
tfdbgContextId | A tfdbg-generated ID for the context that the op belongs to, e.g., a concrete compiled tf.function. |
---|