Class OpPerformanceData.OpPerformance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.OpPerformanceData.OpPerformance
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, OpPerformanceData.OpPerformanceOrBuilder
- Enclosing class:
OpPerformanceData
public static final class OpPerformanceData.OpPerformance
extends GeneratedMessageV3
implements OpPerformanceData.OpPerformanceOrBuilder
Performance data for tensorflow operationsProtobuf type
tensorflow.OpPerformance- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPerformance data for tensorflow operationsstatic enumstatic final classMemory usage data for a tensorflow operation.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 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 TypeMethodDescriptionbooleanlongTime it takes to run the op (in nanoseconds).doublePercentage of theoretical compute performance.longAnalytical compute cost (in nanoseconds).static final Descriptors.Descriptor.tensorflow.LogNormalDistribution execution_time_log_normal = 11;.tensorflow.LogNormalDistribution execution_time_log_normal = 11;.tensorflow.NormalDistribution execution_time_normal = 10;.tensorflow.NormalDistribution execution_time_normal = 10;doublePercentage of theoretical memory performance.longAnalytical memory access cost (in nanoseconds).getNode()The node name (optional).The node name (optional).getOp()The op.tensorflow.OpPerformance.OpMemory op_memory = 9;.tensorflow.OpPerformance.OpMemory op_memory = 9;The opintDeprecated.tensorflow.OpPerformance.session_info is deprecated.Deprecated.longTemporary memory used by this node (in bytes).final UnknownFieldSetboolean.tensorflow.LogNormalDistribution execution_time_log_normal = 11;boolean.tensorflow.NormalDistribution execution_time_normal = 10;inthashCode()booleanhasOp()The opboolean.tensorflow.OpPerformance.OpMemory op_memory = 9;booleanDeprecated.tensorflow.OpPerformance.session_info is deprecated.protected GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(OpPerformanceData.OpPerformance prototype) protected OpPerformanceData.OpPerformance.Builderprotected ObjectparseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 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_FIELD_NUMBER
public static final int OP_FIELD_NUMBER- See Also:
-
SESSION_INFO_FIELD_NUMBER
public static final int SESSION_INFO_FIELD_NUMBER- See Also:
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER- See Also:
-
TEMPORARY_MEMORY_SIZE_FIELD_NUMBER
public static final int TEMPORARY_MEMORY_SIZE_FIELD_NUMBER- See Also:
-
COMPUTE_COST_FIELD_NUMBER
public static final int COMPUTE_COST_FIELD_NUMBER- See Also:
-
COMPUTE_TIME_FIELD_NUMBER
public static final int COMPUTE_TIME_FIELD_NUMBER- See Also:
-
MEMORY_TIME_FIELD_NUMBER
public static final int MEMORY_TIME_FIELD_NUMBER- See Also:
-
COMPUTE_EFFICIENCY_FIELD_NUMBER
public static final int COMPUTE_EFFICIENCY_FIELD_NUMBER- See Also:
-
MEMORY_EFFICIENCY_FIELD_NUMBER
public static final int MEMORY_EFFICIENCY_FIELD_NUMBER- See Also:
-
EXECUTION_TIME_NORMAL_FIELD_NUMBER
public static final int EXECUTION_TIME_NORMAL_FIELD_NUMBER- See Also:
-
EXECUTION_TIME_LOG_NORMAL_FIELD_NUMBER
public static final int EXECUTION_TIME_LOG_NORMAL_FIELD_NUMBER- See Also:
-
OP_MEMORY_FIELD_NUMBER
public static final int OP_MEMORY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getExecutionTimeCase
- Specified by:
getExecutionTimeCasein interfaceOpPerformanceData.OpPerformanceOrBuilder
-
hasOp
public boolean hasOp()The op
.tensorflow.OpInfo op = 1;- Specified by:
hasOpin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- Whether the op field is set.
-
getOp
The op
.tensorflow.OpInfo op = 1;- Specified by:
getOpin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The op.
-
getOpOrBuilder
The op
.tensorflow.OpInfo op = 1;- Specified by:
getOpOrBuilderin interfaceOpPerformanceData.OpPerformanceOrBuilder
-
hasSessionInfo
Deprecated.tensorflow.OpPerformance.session_info is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=75Information about the session configs.
.tensorflow.SessionInfo session_info = 12 [deprecated = true];- Specified by:
hasSessionInfoin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
Deprecated.tensorflow.OpPerformance.session_info is deprecated. See tensorflow/core/grappler/costs/op_performance_data.proto;l=75Information about the session configs.
.tensorflow.SessionInfo session_info = 12 [deprecated = true];- Specified by:
getSessionInfoin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The sessionInfo.
-
getSessionInfoOrBuilder
Deprecated.Information about the session configs.
.tensorflow.SessionInfo session_info = 12 [deprecated = true];- Specified by:
getSessionInfoOrBuilderin interfaceOpPerformanceData.OpPerformanceOrBuilder
-
getNode
The node name (optional). Makes it easier to associate the performance data with a specific graph node.
string node = 5;- Specified by:
getNodein interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The node.
-
getNodeBytes
The node name (optional). Makes it easier to associate the performance data with a specific graph node.
string node = 5;- Specified by:
getNodeBytesin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The bytes for node.
-
getTemporaryMemorySize
public long getTemporaryMemorySize()Temporary memory used by this node (in bytes).
int64 temporary_memory_size = 2;- Specified by:
getTemporaryMemorySizein interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The temporaryMemorySize.
-
getComputeCost
public long getComputeCost()Time it takes to run the op (in nanoseconds).
int64 compute_cost = 3;- Specified by:
getComputeCostin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The computeCost.
-
getComputeTime
public long getComputeTime()Analytical compute cost (in nanoseconds).
int64 compute_time = 6;- Specified by:
getComputeTimein interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The computeTime.
-
getMemoryTime
public long getMemoryTime()Analytical memory access cost (in nanoseconds).
int64 memory_time = 7;- Specified by:
getMemoryTimein interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The memoryTime.
-
getComputeEfficiency
public double getComputeEfficiency()Percentage of theoretical compute performance.
double compute_efficiency = 4;- Specified by:
getComputeEfficiencyin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The computeEfficiency.
-
getMemoryEfficiency
public double getMemoryEfficiency()Percentage of theoretical memory performance.
double memory_efficiency = 8;- Specified by:
getMemoryEfficiencyin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The memoryEfficiency.
-
hasExecutionTimeNormal
public boolean hasExecutionTimeNormal().tensorflow.NormalDistribution execution_time_normal = 10;- Specified by:
hasExecutionTimeNormalin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- Whether the executionTimeNormal field is set.
-
getExecutionTimeNormal
.tensorflow.NormalDistribution execution_time_normal = 10;- Specified by:
getExecutionTimeNormalin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The executionTimeNormal.
-
getExecutionTimeNormalOrBuilder
.tensorflow.NormalDistribution execution_time_normal = 10;- Specified by:
getExecutionTimeNormalOrBuilderin interfaceOpPerformanceData.OpPerformanceOrBuilder
-
hasExecutionTimeLogNormal
public boolean hasExecutionTimeLogNormal().tensorflow.LogNormalDistribution execution_time_log_normal = 11;- Specified by:
hasExecutionTimeLogNormalin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- Whether the executionTimeLogNormal field is set.
-
getExecutionTimeLogNormal
.tensorflow.LogNormalDistribution execution_time_log_normal = 11;- Specified by:
getExecutionTimeLogNormalin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The executionTimeLogNormal.
-
getExecutionTimeLogNormalOrBuilder
.tensorflow.LogNormalDistribution execution_time_log_normal = 11;- Specified by:
getExecutionTimeLogNormalOrBuilderin interfaceOpPerformanceData.OpPerformanceOrBuilder
-
hasOpMemory
public boolean hasOpMemory().tensorflow.OpPerformance.OpMemory op_memory = 9;- Specified by:
hasOpMemoryin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- Whether the opMemory field is set.
-
getOpMemory
.tensorflow.OpPerformance.OpMemory op_memory = 9;- Specified by:
getOpMemoryin interfaceOpPerformanceData.OpPerformanceOrBuilder- Returns:
- The opMemory.
-
getOpMemoryOrBuilder
.tensorflow.OpPerformance.OpMemory op_memory = 9;- Specified by:
getOpMemoryOrBuilderin interfaceOpPerformanceData.OpPerformanceOrBuilder
-
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.OpPerformance parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static OpPerformanceData.OpPerformance parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static OpPerformanceData.OpPerformance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OpPerformanceData.OpPerformance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
public static OpPerformanceData.OpPerformance.Builder newBuilder(OpPerformanceData.OpPerformance prototype) -
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected OpPerformanceData.OpPerformance.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
-