Interface GraphOpCreationOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
GraphOpCreation, GraphOpCreation.Builder
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for code location (stack trace) of the op's creation.The unique ID for code location (stack trace) of the op's creation.Name of the device that the op is assigned to (if available).Name of the device that the op is assigned to (if available).Unique ID of the graph (generated by debugger).Unique ID of the graph (generated by debugger).Name of the graph that the op is a part of (if available).Name of the graph that the op is a part of (if available).getInputNames(int index) Names of the input tensors to the op.getInputNamesBytes(int index) Names of the input tensors to the op.intNames of the input tensors to the op.Names of the input tensors to the op.intNumber of output tensors emitted by the op.Name of the op (e.g., "Dense/MatMul_1").Name of the op (e.g., "Dense/MatMul_1").Type of the op (e.g., "MatMul").Type of the op (e.g., "MatMul").intgetOutputTensorIds(int index) Unique IDs for the output tensors of this op.intUnique IDs for the output tensors of this op.Unique IDs for the output tensors of this op.booleanThe unique ID for code location (stack trace) of the op's creation.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getOpType
-
getOpTypeBytes
ByteString getOpTypeBytes()Type of the op (e.g., "MatMul").
string op_type = 1;- Returns:
- The bytes for opType.
-
getOpName
String getOpName()Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;- Returns:
- The opName.
-
getOpNameBytes
ByteString getOpNameBytes()Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;- Returns:
- The bytes for opName.
-
getGraphName
String getGraphName()Name of the graph that the op is a part of (if available).
string graph_name = 3;- Returns:
- The graphName.
-
getGraphNameBytes
ByteString getGraphNameBytes()Name of the graph that the op is a part of (if available).
string graph_name = 3;- Returns:
- The bytes for graphName.
-
getGraphId
String getGraphId()Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;- Returns:
- The graphId.
-
getGraphIdBytes
ByteString getGraphIdBytes()Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;- Returns:
- The bytes for graphId.
-
getDeviceName
String getDeviceName()Name of the device that the op is assigned to (if available).
string device_name = 5;- Returns:
- The deviceName.
-
getDeviceNameBytes
ByteString getDeviceNameBytes()Name of the device that the op is assigned to (if available).
string device_name = 5;- Returns:
- The bytes for deviceName.
-
getInputNamesList
-
getInputNamesCount
int getInputNamesCount()Names of the input tensors to the op.
repeated string input_names = 6;- Returns:
- The count of inputNames.
-
getInputNames
Names of the input tensors to the op.
repeated string input_names = 6;- Parameters:
index- The index of the element to return.- Returns:
- The inputNames at the given index.
-
getInputNamesBytes
Names of the input tensors to the op.
repeated string input_names = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputNames at the given index.
-
getNumOutputs
int getNumOutputs()Number of output tensors emitted by the op.
int32 num_outputs = 7;- Returns:
- The numOutputs.
-
hasCodeLocation
boolean hasCodeLocation()The unique ID for code location (stack trace) of the op's creation.
.tensorflow.CodeLocation code_location = 8;- Returns:
- Whether the codeLocation field is set.
-
getCodeLocation
CodeLocation getCodeLocation()The unique ID for code location (stack trace) of the op's creation.
.tensorflow.CodeLocation code_location = 8;- Returns:
- The codeLocation.
-
getCodeLocationOrBuilder
CodeLocationOrBuilder getCodeLocationOrBuilder()The unique ID for code location (stack trace) of the op's creation.
.tensorflow.CodeLocation code_location = 8; -
getOutputTensorIdsList
-
getOutputTensorIdsCount
int getOutputTensorIdsCount()Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;- Returns:
- The count of outputTensorIds.
-
getOutputTensorIds
int getOutputTensorIds(int index) Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;- Parameters:
index- The index of the element to return.- Returns:
- The outputTensorIds at the given index.
-