public static final class CostGraphDef.Node extends com.google.protobuf.GeneratedMessageV3 implements CostGraphDef.NodeOrBuilder
tensorflow.CostGraphDef.Node| Modifier and Type | Class and Description |
|---|---|
static class |
CostGraphDef.Node.Builder
Protobuf type
tensorflow.CostGraphDef.Node |
static class |
CostGraphDef.Node.InputInfo
Inputs of this node.
|
static interface |
CostGraphDef.Node.InputInfoOrBuilder |
static class |
CostGraphDef.Node.OutputInfo
Outputs of this node.
|
static interface |
CostGraphDef.Node.OutputInfoOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COMPUTE_COST_FIELD_NUMBER |
static int |
COMPUTE_TIME_FIELD_NUMBER |
static int |
CONTROL_INPUT_FIELD_NUMBER |
static int |
DEVICE_FIELD_NUMBER |
static int |
DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER |
static int |
DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER |
static int |
HOST_TEMP_MEMORY_SIZE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INACCURATE_FIELD_NUMBER |
static int |
INPUT_INFO_FIELD_NUMBER |
static int |
IS_FINAL_FIELD_NUMBER |
static int |
MEMORY_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OUTPUT_INFO_FIELD_NUMBER |
static int |
PERSISTENT_MEMORY_SIZE_FIELD_NUMBER |
static int |
TEMPORARY_MEMORY_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getComputeCost()
Estimate of the computational cost of this node, in microseconds.
|
long |
getComputeTime()
Analytical estimate of the computational cost of this node, in
microseconds.
|
int |
getControlInput(int index)
Ids of the control inputs for this node.
|
int |
getControlInputCount()
Ids of the control inputs for this node.
|
List<Integer> |
getControlInputList()
Ids of the control inputs for this node.
|
static CostGraphDef.Node |
getDefaultInstance() |
CostGraphDef.Node |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDevice()
The device of the node.
|
com.google.protobuf.ByteString |
getDeviceBytes()
The device of the node.
|
long |
getDevicePersistentMemorySize()
Deprecated.
|
long |
getDeviceTempMemorySize()
Deprecated.
|
long |
getHostTempMemorySize()
Deprecated.
|
int |
getId()
The id of the node.
|
boolean |
getInaccurate()
Are the costs inaccurate?
|
CostGraphDef.Node.InputInfo |
getInputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; |
int |
getInputInfoCount()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; |
List<CostGraphDef.Node.InputInfo> |
getInputInfoList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; |
CostGraphDef.Node.InputInfoOrBuilder |
getInputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; |
List<? extends CostGraphDef.Node.InputInfoOrBuilder> |
getInputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; |
boolean |
getIsFinal()
If true, the output is permanent: it can't be discarded, because this
node is part of the "final output".
|
long |
getMemoryTime()
Analytical estimate of the memory access cost of this node, in
microseconds.
|
String |
getName()
The name of the node.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the node.
|
CostGraphDef.Node.OutputInfo |
getOutputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; |
int |
getOutputInfoCount()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; |
List<CostGraphDef.Node.OutputInfo> |
getOutputInfoList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; |
CostGraphDef.Node.OutputInfoOrBuilder |
getOutputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; |
List<? extends CostGraphDef.Node.OutputInfoOrBuilder> |
getOutputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; |
com.google.protobuf.Parser<CostGraphDef.Node> |
getParserForType() |
long |
getPersistentMemorySize()
Persistent memory used by this node.
|
int |
getSerializedSize() |
long |
getTemporaryMemorySize()
Temporary memory used by this node.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CostGraphDef.Node.Builder |
newBuilder() |
static CostGraphDef.Node.Builder |
newBuilder(CostGraphDef.Node prototype) |
CostGraphDef.Node.Builder |
newBuilderForType() |
protected CostGraphDef.Node.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input) |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(byte[] data) |
static CostGraphDef.Node |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(ByteBuffer data) |
static CostGraphDef.Node |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(com.google.protobuf.ByteString data) |
static CostGraphDef.Node |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CostGraphDef.Node |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(InputStream input) |
static CostGraphDef.Node |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CostGraphDef.Node> |
parser() |
CostGraphDef.Node.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INPUT_INFO_FIELD_NUMBER
public static final int OUTPUT_INFO_FIELD_NUMBER
public static final int TEMPORARY_MEMORY_SIZE_FIELD_NUMBER
public static final int PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
public static final int HOST_TEMP_MEMORY_SIZE_FIELD_NUMBER
public static final int DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER
public static final int DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
public static final int COMPUTE_COST_FIELD_NUMBER
public static final int COMPUTE_TIME_FIELD_NUMBER
public static final int MEMORY_TIME_FIELD_NUMBER
public static final int IS_FINAL_FIELD_NUMBER
public static final int CONTROL_INPUT_FIELD_NUMBER
public static final int INACCURATE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The name of the node. Names are globally unique.
string name = 1;getName in interface CostGraphDef.NodeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the node. Names are globally unique.
string name = 1;getNameBytes in interface CostGraphDef.NodeOrBuilderpublic String getDevice()
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;getDevice in interface CostGraphDef.NodeOrBuilderpublic com.google.protobuf.ByteString getDeviceBytes()
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;getDeviceBytes in interface CostGraphDef.NodeOrBuilderpublic int getId()
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;getId in interface CostGraphDef.NodeOrBuilderpublic List<CostGraphDef.Node.InputInfo> getInputInfoList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfoList in interface CostGraphDef.NodeOrBuilderpublic List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfoOrBuilderList in interface CostGraphDef.NodeOrBuilderpublic int getInputInfoCount()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfoCount in interface CostGraphDef.NodeOrBuilderpublic CostGraphDef.Node.InputInfo getInputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfo in interface CostGraphDef.NodeOrBuilderpublic CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfoOrBuilder in interface CostGraphDef.NodeOrBuilderpublic List<CostGraphDef.Node.OutputInfo> getOutputInfoList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfoList in interface CostGraphDef.NodeOrBuilderpublic List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfoOrBuilderList in interface CostGraphDef.NodeOrBuilderpublic int getOutputInfoCount()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfoCount in interface CostGraphDef.NodeOrBuilderpublic CostGraphDef.Node.OutputInfo getOutputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfo in interface CostGraphDef.NodeOrBuilderpublic CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfoOrBuilder in interface CostGraphDef.NodeOrBuilderpublic long getTemporaryMemorySize()
Temporary memory used by this node.
int64 temporary_memory_size = 6;getTemporaryMemorySize in interface CostGraphDef.NodeOrBuilderpublic long getPersistentMemorySize()
Persistent memory used by this node.
int64 persistent_memory_size = 12;getPersistentMemorySize in interface CostGraphDef.NodeOrBuilder@Deprecated public long getHostTempMemorySize()
int64 host_temp_memory_size = 10 [deprecated = true];getHostTempMemorySize in interface CostGraphDef.NodeOrBuilder@Deprecated public long getDeviceTempMemorySize()
int64 device_temp_memory_size = 11 [deprecated = true];getDeviceTempMemorySize in interface CostGraphDef.NodeOrBuilder@Deprecated public long getDevicePersistentMemorySize()
int64 device_persistent_memory_size = 16 [deprecated = true];getDevicePersistentMemorySize in interface CostGraphDef.NodeOrBuilderpublic long getComputeCost()
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;getComputeCost in interface CostGraphDef.NodeOrBuilderpublic long getComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;getComputeTime in interface CostGraphDef.NodeOrBuilderpublic long getMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;getMemoryTime in interface CostGraphDef.NodeOrBuilderpublic boolean getIsFinal()
If true, the output is permanent: it can't be discarded, because this node is part of the "final output". Nodes may depend on final nodes.
bool is_final = 7;getIsFinal in interface CostGraphDef.NodeOrBuilderpublic List<Integer> getControlInputList()
Ids of the control inputs for this node.
repeated int32 control_input = 8;getControlInputList in interface CostGraphDef.NodeOrBuilderpublic int getControlInputCount()
Ids of the control inputs for this node.
repeated int32 control_input = 8;getControlInputCount in interface CostGraphDef.NodeOrBuilderpublic int getControlInput(int index)
Ids of the control inputs for this node.
repeated int32 control_input = 8;getControlInput in interface CostGraphDef.NodeOrBuilderpublic boolean getInaccurate()
Are the costs inaccurate?
bool inaccurate = 17;getInaccurate in interface CostGraphDef.NodeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CostGraphDef.Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(InputStream input) throws IOException
IOExceptionpublic static CostGraphDef.Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CostGraphDef.Node parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CostGraphDef.Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CostGraphDef.Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CostGraphDef.Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CostGraphDef.Node.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CostGraphDef.Node.Builder newBuilder()
public static CostGraphDef.Node.Builder newBuilder(CostGraphDef.Node prototype)
public CostGraphDef.Node.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CostGraphDef.Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CostGraphDef.Node getDefaultInstance()
public static com.google.protobuf.Parser<CostGraphDef.Node> parser()
public com.google.protobuf.Parser<CostGraphDef.Node> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CostGraphDef.Node getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.