Class GraphOpCreation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.GraphOpCreation
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, GraphOpCreationOrBuilder
The creation of an op in a TensorFlow Graph (e.g., FuncGraph in TF2).Protobuf type
tensorflow.GraphOpCreation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe creation of an op in a TensorFlow Graph (e.g., FuncGraph in TF2).Nested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.static GraphOpCreationstatic final Descriptors.DescriptorName 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.intfinal UnknownFieldSetbooleanThe unique ID for code location (stack trace) of the op's creation.inthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic GraphOpCreation.Builderstatic GraphOpCreation.BuildernewBuilder(GraphOpCreation prototype) protected GraphOpCreation.Builderprotected Objectstatic GraphOpCreationparseDelimitedFrom(InputStream input) static GraphOpCreationparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static GraphOpCreationparseFrom(byte[] data) static GraphOpCreationparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static GraphOpCreationparseFrom(ByteString data) static GraphOpCreationparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static GraphOpCreationparseFrom(CodedInputStream input) static GraphOpCreationparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static GraphOpCreationparseFrom(InputStream input) static GraphOpCreationparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static GraphOpCreationparseFrom(ByteBuffer data) static GraphOpCreationparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<GraphOpCreation> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
OP_TYPE_FIELD_NUMBER
public static final int OP_TYPE_FIELD_NUMBER- See Also:
-
OP_NAME_FIELD_NUMBER
public static final int OP_NAME_FIELD_NUMBER- See Also:
-
GRAPH_NAME_FIELD_NUMBER
public static final int GRAPH_NAME_FIELD_NUMBER- See Also:
-
GRAPH_ID_FIELD_NUMBER
public static final int GRAPH_ID_FIELD_NUMBER- See Also:
-
DEVICE_NAME_FIELD_NUMBER
public static final int DEVICE_NAME_FIELD_NUMBER- See Also:
-
INPUT_NAMES_FIELD_NUMBER
public static final int INPUT_NAMES_FIELD_NUMBER- See Also:
-
NUM_OUTPUTS_FIELD_NUMBER
public static final int NUM_OUTPUTS_FIELD_NUMBER- See Also:
-
CODE_LOCATION_FIELD_NUMBER
public static final int CODE_LOCATION_FIELD_NUMBER- See Also:
-
OUTPUT_TENSOR_IDS_FIELD_NUMBER
public static final int OUTPUT_TENSOR_IDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getOpType
Type of the op (e.g., "MatMul").
string op_type = 1;- Specified by:
getOpTypein interfaceGraphOpCreationOrBuilder- Returns:
- The opType.
-
getOpTypeBytes
Type of the op (e.g., "MatMul").
string op_type = 1;- Specified by:
getOpTypeBytesin interfaceGraphOpCreationOrBuilder- Returns:
- The bytes for opType.
-
getOpName
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;- Specified by:
getOpNamein interfaceGraphOpCreationOrBuilder- Returns:
- The opName.
-
getOpNameBytes
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;- Specified by:
getOpNameBytesin interfaceGraphOpCreationOrBuilder- Returns:
- The bytes for opName.
-
getGraphName
Name of the graph that the op is a part of (if available).
string graph_name = 3;- Specified by:
getGraphNamein interfaceGraphOpCreationOrBuilder- Returns:
- The graphName.
-
getGraphNameBytes
Name of the graph that the op is a part of (if available).
string graph_name = 3;- Specified by:
getGraphNameBytesin interfaceGraphOpCreationOrBuilder- Returns:
- The bytes for graphName.
-
getGraphId
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;- Specified by:
getGraphIdin interfaceGraphOpCreationOrBuilder- Returns:
- The graphId.
-
getGraphIdBytes
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;- Specified by:
getGraphIdBytesin interfaceGraphOpCreationOrBuilder- Returns:
- The bytes for graphId.
-
getDeviceName
Name of the device that the op is assigned to (if available).
string device_name = 5;- Specified by:
getDeviceNamein interfaceGraphOpCreationOrBuilder- Returns:
- The deviceName.
-
getDeviceNameBytes
Name of the device that the op is assigned to (if available).
string device_name = 5;- Specified by:
getDeviceNameBytesin interfaceGraphOpCreationOrBuilder- Returns:
- The bytes for deviceName.
-
getInputNamesList
Names of the input tensors to the op.
repeated string input_names = 6;- Specified by:
getInputNamesListin interfaceGraphOpCreationOrBuilder- Returns:
- A list containing the inputNames.
-
getInputNamesCount
public int getInputNamesCount()Names of the input tensors to the op.
repeated string input_names = 6;- Specified by:
getInputNamesCountin interfaceGraphOpCreationOrBuilder- Returns:
- The count of inputNames.
-
getInputNames
Names of the input tensors to the op.
repeated string input_names = 6;- Specified by:
getInputNamesin interfaceGraphOpCreationOrBuilder- 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;- Specified by:
getInputNamesBytesin interfaceGraphOpCreationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputNames at the given index.
-
getNumOutputs
public int getNumOutputs()Number of output tensors emitted by the op.
int32 num_outputs = 7;- Specified by:
getNumOutputsin interfaceGraphOpCreationOrBuilder- Returns:
- The numOutputs.
-
hasCodeLocation
public boolean hasCodeLocation()The unique ID for code location (stack trace) of the op's creation.
.tensorflow.CodeLocation code_location = 8;- Specified by:
hasCodeLocationin interfaceGraphOpCreationOrBuilder- Returns:
- Whether the codeLocation field is set.
-
getCodeLocation
The unique ID for code location (stack trace) of the op's creation.
.tensorflow.CodeLocation code_location = 8;- Specified by:
getCodeLocationin interfaceGraphOpCreationOrBuilder- Returns:
- The codeLocation.
-
getCodeLocationOrBuilder
The unique ID for code location (stack trace) of the op's creation.
.tensorflow.CodeLocation code_location = 8;- Specified by:
getCodeLocationOrBuilderin interfaceGraphOpCreationOrBuilder
-
getOutputTensorIdsList
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;- Specified by:
getOutputTensorIdsListin interfaceGraphOpCreationOrBuilder- Returns:
- A list containing the outputTensorIds.
-
getOutputTensorIdsCount
public int getOutputTensorIdsCount()Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;- Specified by:
getOutputTensorIdsCountin interfaceGraphOpCreationOrBuilder- Returns:
- The count of outputTensorIds.
-
getOutputTensorIds
public int getOutputTensorIds(int index) Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;- Specified by:
getOutputTensorIdsin interfaceGraphOpCreationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputTensorIds at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static GraphOpCreation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static GraphOpCreation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static GraphOpCreation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GraphOpCreation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GraphOpCreation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GraphOpCreation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-