Package org.tensorflow.framework
Class NodeExecStats
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.NodeExecStats
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,NodeExecStatsOrBuilder
public final class NodeExecStats
extends com.google.protobuf.GeneratedMessageV3
implements NodeExecStatsOrBuilder
Time/size stats recorded for a single execution of a graph node.Protobuf type
tensorflow.NodeExecStats- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTime/size stats recorded for a single execution of a graph node.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.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 intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongint64 all_end_rel_micros = 5;longint64 all_end_rel_nanos = 16;longint64 all_start_micros = 2;longint64 all_start_nanos = 13;static NodeExecStatsstatic final com.google.protobuf.Descriptors.DescriptorgetMemory(int index) repeated .tensorflow.AllocatorMemoryUsed memory = 6;intrepeated .tensorflow.AllocatorMemoryUsed memory = 6;repeated .tensorflow.AllocatorMemoryUsed memory = 6;getMemoryOrBuilder(int index) repeated .tensorflow.AllocatorMemoryUsed memory = 6;List<? extends AllocatorMemoryUsedOrBuilder> repeated .tensorflow.AllocatorMemoryUsed memory = 6;.tensorflow.MemoryStats memory_stats = 12;.tensorflow.MemoryStats memory_stats = 12;TODO(tucker): Use some more compact form of node identity than the full string name.com.google.protobuf.ByteStringTODO(tucker): Use some more compact form of node identity than the full string name.longint64 op_end_rel_micros = 4;longint64 op_end_rel_nanos = 15;longint64 op_start_rel_micros = 3;longint64 op_start_rel_nanos = 14;getOutput(int index) repeated .tensorflow.NodeOutput output = 7;intrepeated .tensorflow.NodeOutput output = 7;repeated .tensorflow.NodeOutput output = 7;getOutputOrBuilder(int index) repeated .tensorflow.NodeOutput output = 7;List<? extends NodeOutputOrBuilder> repeated .tensorflow.NodeOutput output = 7;com.google.protobuf.Parser<NodeExecStats> getReferencedTensor(int index) repeated .tensorflow.AllocationDescription referenced_tensor = 11;intrepeated .tensorflow.AllocationDescription referenced_tensor = 11;repeated .tensorflow.AllocationDescription referenced_tensor = 11;getReferencedTensorOrBuilder(int index) repeated .tensorflow.AllocationDescription referenced_tensor = 11;List<? extends AllocationDescriptionOrBuilder> repeated .tensorflow.AllocationDescription referenced_tensor = 11;longint64 scheduled_micros = 9;longint64 scheduled_nanos = 17;intintuint32 thread_id = 10;string timeline_label = 8;com.google.protobuf.ByteStringstring timeline_label = 8;inthashCode()boolean.tensorflow.MemoryStats memory_stats = 12;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic NodeExecStats.Builderstatic NodeExecStats.BuildernewBuilder(NodeExecStats prototype) protected NodeExecStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static NodeExecStatsparseDelimitedFrom(InputStream input) static NodeExecStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeExecStatsparseFrom(byte[] data) static NodeExecStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeExecStatsparseFrom(com.google.protobuf.ByteString data) static NodeExecStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeExecStatsparseFrom(com.google.protobuf.CodedInputStream input) static NodeExecStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeExecStatsparseFrom(InputStream input) static NodeExecStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeExecStatsparseFrom(ByteBuffer data) static NodeExecStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeExecStats> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NODE_NAME_FIELD_NUMBER
public static final int NODE_NAME_FIELD_NUMBER- See Also:
-
ALL_START_MICROS_FIELD_NUMBER
public static final int ALL_START_MICROS_FIELD_NUMBER- See Also:
-
OP_START_REL_MICROS_FIELD_NUMBER
public static final int OP_START_REL_MICROS_FIELD_NUMBER- See Also:
-
OP_END_REL_MICROS_FIELD_NUMBER
public static final int OP_END_REL_MICROS_FIELD_NUMBER- See Also:
-
ALL_END_REL_MICROS_FIELD_NUMBER
public static final int ALL_END_REL_MICROS_FIELD_NUMBER- See Also:
-
MEMORY_FIELD_NUMBER
public static final int MEMORY_FIELD_NUMBER- See Also:
-
OUTPUT_FIELD_NUMBER
public static final int OUTPUT_FIELD_NUMBER- See Also:
-
TIMELINE_LABEL_FIELD_NUMBER
public static final int TIMELINE_LABEL_FIELD_NUMBER- See Also:
-
SCHEDULED_MICROS_FIELD_NUMBER
public static final int SCHEDULED_MICROS_FIELD_NUMBER- See Also:
-
THREAD_ID_FIELD_NUMBER
public static final int THREAD_ID_FIELD_NUMBER- See Also:
-
REFERENCED_TENSOR_FIELD_NUMBER
public static final int REFERENCED_TENSOR_FIELD_NUMBER- See Also:
-
MEMORY_STATS_FIELD_NUMBER
public static final int MEMORY_STATS_FIELD_NUMBER- See Also:
-
ALL_START_NANOS_FIELD_NUMBER
public static final int ALL_START_NANOS_FIELD_NUMBER- See Also:
-
OP_START_REL_NANOS_FIELD_NUMBER
public static final int OP_START_REL_NANOS_FIELD_NUMBER- See Also:
-
OP_END_REL_NANOS_FIELD_NUMBER
public static final int OP_END_REL_NANOS_FIELD_NUMBER- See Also:
-
ALL_END_REL_NANOS_FIELD_NUMBER
public static final int ALL_END_REL_NANOS_FIELD_NUMBER- See Also:
-
SCHEDULED_NANOS_FIELD_NUMBER
public static final int SCHEDULED_NANOS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNodeName
TODO(tucker): Use some more compact form of node identity than the full string name. Either all processes should agree on a global id (cost_id?) for each node, or we should use a hash of the name.
string node_name = 1;- Specified by:
getNodeNamein interfaceNodeExecStatsOrBuilder- Returns:
- The nodeName.
-
getNodeNameBytes
public com.google.protobuf.ByteString getNodeNameBytes()TODO(tucker): Use some more compact form of node identity than the full string name. Either all processes should agree on a global id (cost_id?) for each node, or we should use a hash of the name.
string node_name = 1;- Specified by:
getNodeNameBytesin interfaceNodeExecStatsOrBuilder- Returns:
- The bytes for nodeName.
-
getAllStartMicros
public long getAllStartMicros()int64 all_start_micros = 2;- Specified by:
getAllStartMicrosin interfaceNodeExecStatsOrBuilder- Returns:
- The allStartMicros.
-
getOpStartRelMicros
public long getOpStartRelMicros()int64 op_start_rel_micros = 3;- Specified by:
getOpStartRelMicrosin interfaceNodeExecStatsOrBuilder- Returns:
- The opStartRelMicros.
-
getOpEndRelMicros
public long getOpEndRelMicros()int64 op_end_rel_micros = 4;- Specified by:
getOpEndRelMicrosin interfaceNodeExecStatsOrBuilder- Returns:
- The opEndRelMicros.
-
getAllEndRelMicros
public long getAllEndRelMicros()int64 all_end_rel_micros = 5;- Specified by:
getAllEndRelMicrosin interfaceNodeExecStatsOrBuilder- Returns:
- The allEndRelMicros.
-
getMemoryList
repeated .tensorflow.AllocatorMemoryUsed memory = 6;- Specified by:
getMemoryListin interfaceNodeExecStatsOrBuilder
-
getMemoryOrBuilderList
repeated .tensorflow.AllocatorMemoryUsed memory = 6;- Specified by:
getMemoryOrBuilderListin interfaceNodeExecStatsOrBuilder
-
getMemoryCount
public int getMemoryCount()repeated .tensorflow.AllocatorMemoryUsed memory = 6;- Specified by:
getMemoryCountin interfaceNodeExecStatsOrBuilder
-
getMemory
repeated .tensorflow.AllocatorMemoryUsed memory = 6;- Specified by:
getMemoryin interfaceNodeExecStatsOrBuilder
-
getMemoryOrBuilder
repeated .tensorflow.AllocatorMemoryUsed memory = 6;- Specified by:
getMemoryOrBuilderin interfaceNodeExecStatsOrBuilder
-
getOutputList
repeated .tensorflow.NodeOutput output = 7;- Specified by:
getOutputListin interfaceNodeExecStatsOrBuilder
-
getOutputOrBuilderList
repeated .tensorflow.NodeOutput output = 7;- Specified by:
getOutputOrBuilderListin interfaceNodeExecStatsOrBuilder
-
getOutputCount
public int getOutputCount()repeated .tensorflow.NodeOutput output = 7;- Specified by:
getOutputCountin interfaceNodeExecStatsOrBuilder
-
getOutput
repeated .tensorflow.NodeOutput output = 7;- Specified by:
getOutputin interfaceNodeExecStatsOrBuilder
-
getOutputOrBuilder
repeated .tensorflow.NodeOutput output = 7;- Specified by:
getOutputOrBuilderin interfaceNodeExecStatsOrBuilder
-
getTimelineLabel
string timeline_label = 8;- Specified by:
getTimelineLabelin interfaceNodeExecStatsOrBuilder- Returns:
- The timelineLabel.
-
getTimelineLabelBytes
public com.google.protobuf.ByteString getTimelineLabelBytes()string timeline_label = 8;- Specified by:
getTimelineLabelBytesin interfaceNodeExecStatsOrBuilder- Returns:
- The bytes for timelineLabel.
-
getScheduledMicros
public long getScheduledMicros()int64 scheduled_micros = 9;- Specified by:
getScheduledMicrosin interfaceNodeExecStatsOrBuilder- Returns:
- The scheduledMicros.
-
getThreadId
public int getThreadId()uint32 thread_id = 10;- Specified by:
getThreadIdin interfaceNodeExecStatsOrBuilder- Returns:
- The threadId.
-
getReferencedTensorList
repeated .tensorflow.AllocationDescription referenced_tensor = 11;- Specified by:
getReferencedTensorListin interfaceNodeExecStatsOrBuilder
-
getReferencedTensorOrBuilderList
repeated .tensorflow.AllocationDescription referenced_tensor = 11;- Specified by:
getReferencedTensorOrBuilderListin interfaceNodeExecStatsOrBuilder
-
getReferencedTensorCount
public int getReferencedTensorCount()repeated .tensorflow.AllocationDescription referenced_tensor = 11;- Specified by:
getReferencedTensorCountin interfaceNodeExecStatsOrBuilder
-
getReferencedTensor
repeated .tensorflow.AllocationDescription referenced_tensor = 11;- Specified by:
getReferencedTensorin interfaceNodeExecStatsOrBuilder
-
getReferencedTensorOrBuilder
repeated .tensorflow.AllocationDescription referenced_tensor = 11;- Specified by:
getReferencedTensorOrBuilderin interfaceNodeExecStatsOrBuilder
-
hasMemoryStats
public boolean hasMemoryStats().tensorflow.MemoryStats memory_stats = 12;- Specified by:
hasMemoryStatsin interfaceNodeExecStatsOrBuilder- Returns:
- Whether the memoryStats field is set.
-
getMemoryStats
.tensorflow.MemoryStats memory_stats = 12;- Specified by:
getMemoryStatsin interfaceNodeExecStatsOrBuilder- Returns:
- The memoryStats.
-
getMemoryStatsOrBuilder
.tensorflow.MemoryStats memory_stats = 12;- Specified by:
getMemoryStatsOrBuilderin interfaceNodeExecStatsOrBuilder
-
getAllStartNanos
public long getAllStartNanos()int64 all_start_nanos = 13;- Specified by:
getAllStartNanosin interfaceNodeExecStatsOrBuilder- Returns:
- The allStartNanos.
-
getOpStartRelNanos
public long getOpStartRelNanos()int64 op_start_rel_nanos = 14;- Specified by:
getOpStartRelNanosin interfaceNodeExecStatsOrBuilder- Returns:
- The opStartRelNanos.
-
getOpEndRelNanos
public long getOpEndRelNanos()int64 op_end_rel_nanos = 15;- Specified by:
getOpEndRelNanosin interfaceNodeExecStatsOrBuilder- Returns:
- The opEndRelNanos.
-
getAllEndRelNanos
public long getAllEndRelNanos()int64 all_end_rel_nanos = 16;- Specified by:
getAllEndRelNanosin interfaceNodeExecStatsOrBuilder- Returns:
- The allEndRelNanos.
-
getScheduledNanos
public long getScheduledNanos()int64 scheduled_nanos = 17;- Specified by:
getScheduledNanosin interfaceNodeExecStatsOrBuilder- Returns:
- The scheduledNanos.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NodeExecStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeExecStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeExecStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeExecStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeExecStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeExecStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeExecStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeExecStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NodeExecStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NodeExecStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeExecStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-