Class OpPerformanceData.OpInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.OpPerformanceData.OpInfo
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, OpPerformanceData.OpInfoOrBuilder
- Enclosing class:
OpPerformanceData
public static final class OpPerformanceData.OpInfo
extends GeneratedMessageV3
implements OpPerformanceData.OpInfoOrBuilder
Description of an operation as well as the parameters expected to impact its performance.Protobuf type
tensorflow.OpInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescription of an operation as well as the parameters expected to impact its performance.static final classInput data types, shapes and values if known.static interfaceNested 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 intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAttr(String key) Custom parameters impacting the behavior of the op.booleangetAttr()Deprecated.intCustom parameters impacting the behavior of the op.Custom parameters impacting the behavior of the op.getAttrOrDefault(String key, AttrValue defaultValue) Custom parameters impacting the behavior of the op.getAttrOrThrow(String key) Custom parameters impacting the behavior of the op.static OpPerformanceData.OpInfostatic final Descriptors.DescriptorDevice on which the operation is run.Device on which the operation is run.getInputs(int index) repeated .tensorflow.OpInfo.TensorProperties inputs = 3;intrepeated .tensorflow.OpInfo.TensorProperties inputs = 3;repeated .tensorflow.OpInfo.TensorProperties inputs = 3;getInputsOrBuilder(int index) repeated .tensorflow.OpInfo.TensorProperties inputs = 3;repeated .tensorflow.OpInfo.TensorProperties inputs = 3;getOp()The operation name.The operation name.getOutputs(int index) Optional description of the op outputsintOptional description of the op outputsOptional description of the op outputsgetOutputsOrBuilder(int index) Optional description of the op outputsOptional description of the op outputsintInformation about the session configs.Information about the session configs.final UnknownFieldSetbooleanDevice on which the operation is run.inthashCode()booleanInformation about the session configs.protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldinternalGetMapField(int number) final booleannewBuilder(OpPerformanceData.OpInfo prototype) protected OpPerformanceData.OpInfo.Builderprotected Objectstatic OpPerformanceData.OpInfoparseDelimitedFrom(InputStream input) static OpPerformanceData.OpInfoparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static OpPerformanceData.OpInfoparseFrom(byte[] data) static OpPerformanceData.OpInfoparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static OpPerformanceData.OpInfoparseFrom(ByteString data) static OpPerformanceData.OpInfoparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static OpPerformanceData.OpInfoparseFrom(CodedInputStream input) static OpPerformanceData.OpInfoparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static OpPerformanceData.OpInfoparseFrom(InputStream input) static OpPerformanceData.OpInfoparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static OpPerformanceData.OpInfoparseFrom(ByteBuffer data) static OpPerformanceData.OpInfoparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<OpPerformanceData.OpInfo> 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, 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_FIELD_NUMBER
public static final int OP_FIELD_NUMBER- See Also:
-
ATTR_FIELD_NUMBER
public static final int ATTR_FIELD_NUMBER- See Also:
-
INPUTS_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER- See Also:
-
OUTPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER- See Also:
-
DEVICE_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER- See Also:
-
SESSION_INFO_FIELD_NUMBER
public static final int SESSION_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetMapField
- Overrides:
internalGetMapFieldin classGeneratedMessageV3
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getOp
The operation name. There may be custom parameters in attrs.
string op = 1;- Specified by:
getOpin interfaceOpPerformanceData.OpInfoOrBuilder- Returns:
- The op.
-
getOpBytes
The operation name. There may be custom parameters in attrs.
string op = 1;- Specified by:
getOpBytesin interfaceOpPerformanceData.OpInfoOrBuilder- Returns:
- The bytes for op.
-
getAttrCount
public int getAttrCount()Description copied from interface:OpPerformanceData.OpInfoOrBuilderCustom parameters impacting the behavior of the op.
map<string, .tensorflow.AttrValue> attr = 2;- Specified by:
getAttrCountin interfaceOpPerformanceData.OpInfoOrBuilder
-
containsAttr
Custom parameters impacting the behavior of the op.
map<string, .tensorflow.AttrValue> attr = 2;- Specified by:
containsAttrin interfaceOpPerformanceData.OpInfoOrBuilder
-
getAttr
Deprecated.UsegetAttrMap()instead.- Specified by:
getAttrin interfaceOpPerformanceData.OpInfoOrBuilder
-
getAttrMap
Custom parameters impacting the behavior of the op.
map<string, .tensorflow.AttrValue> attr = 2;- Specified by:
getAttrMapin interfaceOpPerformanceData.OpInfoOrBuilder
-
getAttrOrDefault
Custom parameters impacting the behavior of the op.
map<string, .tensorflow.AttrValue> attr = 2;- Specified by:
getAttrOrDefaultin interfaceOpPerformanceData.OpInfoOrBuilder
-
getAttrOrThrow
Custom parameters impacting the behavior of the op.
map<string, .tensorflow.AttrValue> attr = 2;- Specified by:
getAttrOrThrowin interfaceOpPerformanceData.OpInfoOrBuilder
-
getInputsList
repeated .tensorflow.OpInfo.TensorProperties inputs = 3;- Specified by:
getInputsListin interfaceOpPerformanceData.OpInfoOrBuilder
-
getInputsOrBuilderList
repeated .tensorflow.OpInfo.TensorProperties inputs = 3;- Specified by:
getInputsOrBuilderListin interfaceOpPerformanceData.OpInfoOrBuilder
-
getInputsCount
public int getInputsCount()repeated .tensorflow.OpInfo.TensorProperties inputs = 3;- Specified by:
getInputsCountin interfaceOpPerformanceData.OpInfoOrBuilder
-
getInputs
repeated .tensorflow.OpInfo.TensorProperties inputs = 3;- Specified by:
getInputsin interfaceOpPerformanceData.OpInfoOrBuilder
-
getInputsOrBuilder
repeated .tensorflow.OpInfo.TensorProperties inputs = 3;- Specified by:
getInputsOrBuilderin interfaceOpPerformanceData.OpInfoOrBuilder
-
getOutputsList
Optional description of the op outputs
repeated .tensorflow.OpInfo.TensorProperties outputs = 5;- Specified by:
getOutputsListin interfaceOpPerformanceData.OpInfoOrBuilder
-
getOutputsOrBuilderList
Optional description of the op outputs
repeated .tensorflow.OpInfo.TensorProperties outputs = 5;- Specified by:
getOutputsOrBuilderListin interfaceOpPerformanceData.OpInfoOrBuilder
-
getOutputsCount
public int getOutputsCount()Optional description of the op outputs
repeated .tensorflow.OpInfo.TensorProperties outputs = 5;- Specified by:
getOutputsCountin interfaceOpPerformanceData.OpInfoOrBuilder
-
getOutputs
Optional description of the op outputs
repeated .tensorflow.OpInfo.TensorProperties outputs = 5;- Specified by:
getOutputsin interfaceOpPerformanceData.OpInfoOrBuilder
-
getOutputsOrBuilder
Optional description of the op outputs
repeated .tensorflow.OpInfo.TensorProperties outputs = 5;- Specified by:
getOutputsOrBuilderin interfaceOpPerformanceData.OpInfoOrBuilder
-
hasDevice
public boolean hasDevice()Device on which the operation is run.
.tensorflow.DeviceProperties device = 4;- Specified by:
hasDevicein interfaceOpPerformanceData.OpInfoOrBuilder- Returns:
- Whether the device field is set.
-
getDevice
Device on which the operation is run.
.tensorflow.DeviceProperties device = 4;- Specified by:
getDevicein interfaceOpPerformanceData.OpInfoOrBuilder- Returns:
- The device.
-
getDeviceOrBuilder
Device on which the operation is run.
.tensorflow.DeviceProperties device = 4;- Specified by:
getDeviceOrBuilderin interfaceOpPerformanceData.OpInfoOrBuilder
-
hasSessionInfo
public boolean hasSessionInfo()Information about the session configs.
.tensorflow.SessionInfo session_info = 6;- Specified by:
hasSessionInfoin interfaceOpPerformanceData.OpInfoOrBuilder- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
Information about the session configs.
.tensorflow.SessionInfo session_info = 6;- Specified by:
getSessionInfoin interfaceOpPerformanceData.OpInfoOrBuilder- Returns:
- The sessionInfo.
-
getSessionInfoOrBuilder
Information about the session configs.
.tensorflow.SessionInfo session_info = 6;- Specified by:
getSessionInfoOrBuilderin interfaceOpPerformanceData.OpInfoOrBuilder
-
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
public static OpPerformanceData.OpInfo parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpInfo parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OpPerformanceData.OpInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OpPerformanceData.OpInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OpPerformanceData.OpInfo 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
protected OpPerformanceData.OpInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - 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
-