Package org.platanios.tensorflow.proto
Interface GraphOpCreationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GraphOpCreation
,GraphOpCreation.Builder
public interface GraphOpCreationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeLocation
getCodeLocation()
The unique ID for code location (stack trace) of the op's creation.CodeLocationOrBuilder
getCodeLocationOrBuilder()
The unique ID for code location (stack trace) of the op's creation.java.lang.String
getDeviceName()
Name of the device that the op is assigned to (if available).com.google.protobuf.ByteString
getDeviceNameBytes()
Name of the device that the op is assigned to (if available).java.lang.String
getGraphId()
Unique ID of the graph (generated by debugger).com.google.protobuf.ByteString
getGraphIdBytes()
Unique ID of the graph (generated by debugger).java.lang.String
getGraphName()
Name of the graph that the op is a part of (if available).com.google.protobuf.ByteString
getGraphNameBytes()
Name of the graph that the op is a part of (if available).java.lang.String
getInputNames(int index)
Names of the input tensors to the op.com.google.protobuf.ByteString
getInputNamesBytes(int index)
Names of the input tensors to the op.int
getInputNamesCount()
Names of the input tensors to the op.java.util.List<java.lang.String>
getInputNamesList()
Names of the input tensors to the op.int
getNumOutputs()
Number of output tensors emitted by the op.java.lang.String
getOpName()
Name of the op (e.g., "Dense/MatMul_1").com.google.protobuf.ByteString
getOpNameBytes()
Name of the op (e.g., "Dense/MatMul_1").java.lang.String
getOpType()
Type of the op (e.g., "MatMul").com.google.protobuf.ByteString
getOpTypeBytes()
Type of the op (e.g., "MatMul").int
getOutputTensorIds(int index)
Unique IDs for the output tensors of this op.int
getOutputTensorIdsCount()
Unique IDs for the output tensors of this op.java.util.List<java.lang.Integer>
getOutputTensorIdsList()
Unique IDs for the output tensors of this op.boolean
hasCodeLocation()
The unique ID for code location (stack trace) of the op's creation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOpType
java.lang.String getOpType()
Type of the op (e.g., "MatMul").
string op_type = 1;
- Returns:
- The opType.
-
getOpTypeBytes
com.google.protobuf.ByteString getOpTypeBytes()
Type of the op (e.g., "MatMul").
string op_type = 1;
- Returns:
- The bytes for opType.
-
getOpName
java.lang.String getOpName()
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Returns:
- The opName.
-
getOpNameBytes
com.google.protobuf.ByteString getOpNameBytes()
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Returns:
- The bytes for opName.
-
getGraphName
java.lang.String getGraphName()
Name of the graph that the op is a part of (if available).
string graph_name = 3;
- Returns:
- The graphName.
-
getGraphNameBytes
com.google.protobuf.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
java.lang.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
com.google.protobuf.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
java.lang.String getDeviceName()
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Returns:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.ByteString getDeviceNameBytes()
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Returns:
- The bytes for deviceName.
-
getInputNamesList
java.util.List<java.lang.String> getInputNamesList()
Names of the input tensors to the op.
repeated string input_names = 6;
- Returns:
- A list containing the inputNames.
-
getInputNamesCount
int getInputNamesCount()
Names of the input tensors to the op.
repeated string input_names = 6;
- Returns:
- The count of inputNames.
-
getInputNames
java.lang.String getInputNames(int index)
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
com.google.protobuf.ByteString getInputNamesBytes(int index)
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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Returns:
- The codeLocation.
-
getCodeLocationOrBuilder
CodeLocationOrBuilder getCodeLocationOrBuilder()
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
getOutputTensorIdsList
java.util.List<java.lang.Integer> getOutputTensorIdsList()
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Returns:
- A list containing the outputTensorIds.
-
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.
-
-