public static final class CostGraphDef.Node extends com.github.os72.protobuf351.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.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.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 |
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.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDevice()
The device of the node.
|
com.github.os72.protobuf351.ByteString |
getDeviceBytes()
The device of the node.
|
long |
getDevicePersistentMemorySize()
Deprecated.
|
long |
getDeviceTempMemorySize()
Deprecated.
|
long |
getHostTempMemorySize()
Deprecated.
|
int |
getId()
The id of the node.
|
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.github.os72.protobuf351.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.github.os72.protobuf351.Parser<CostGraphDef.Node> |
getParserForType() |
long |
getPersistentMemorySize()
Persistent memory used by this node.
|
int |
getSerializedSize() |
long |
getTemporaryMemorySize()
Temporary memory used by this node.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.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.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input) |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(byte[] data) |
static CostGraphDef.Node |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(ByteBuffer data) |
static CostGraphDef.Node |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static CostGraphDef.Node |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static CostGraphDef.Node |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(InputStream input) |
static CostGraphDef.Node |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<CostGraphDef.Node> |
parser() |
CostGraphDef.Node.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public String getName()
The name of the node. Names are globally unique.
string name = 1;
getName
in interface CostGraphDef.NodeOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
The name of the node. Names are globally unique.
string name = 1;
getNameBytes
in interface CostGraphDef.NodeOrBuilder
public 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.NodeOrBuilder
public com.github.os72.protobuf351.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.NodeOrBuilder
public int getId()
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;
getId
in interface CostGraphDef.NodeOrBuilder
public List<CostGraphDef.Node.InputInfo> getInputInfoList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
getInputInfoList
in interface CostGraphDef.NodeOrBuilder
public List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
getInputInfoOrBuilderList
in interface CostGraphDef.NodeOrBuilder
public int getInputInfoCount()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
getInputInfoCount
in interface CostGraphDef.NodeOrBuilder
public CostGraphDef.Node.InputInfo getInputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
getInputInfo
in interface CostGraphDef.NodeOrBuilder
public CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
getInputInfoOrBuilder
in interface CostGraphDef.NodeOrBuilder
public List<CostGraphDef.Node.OutputInfo> getOutputInfoList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
getOutputInfoList
in interface CostGraphDef.NodeOrBuilder
public List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
getOutputInfoOrBuilderList
in interface CostGraphDef.NodeOrBuilder
public int getOutputInfoCount()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
getOutputInfoCount
in interface CostGraphDef.NodeOrBuilder
public CostGraphDef.Node.OutputInfo getOutputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
getOutputInfo
in interface CostGraphDef.NodeOrBuilder
public CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
getOutputInfoOrBuilder
in interface CostGraphDef.NodeOrBuilder
public long getTemporaryMemorySize()
Temporary memory used by this node.
int64 temporary_memory_size = 6;
getTemporaryMemorySize
in interface CostGraphDef.NodeOrBuilder
public 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.NodeOrBuilder
public long getComputeCost()
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;
getComputeCost
in interface CostGraphDef.NodeOrBuilder
public long getComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;
getComputeTime
in interface CostGraphDef.NodeOrBuilder
public long getMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;
getMemoryTime
in interface CostGraphDef.NodeOrBuilder
public 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.NodeOrBuilder
public List<Integer> getControlInputList()
Ids of the control inputs for this node.
repeated int32 control_input = 8;
getControlInputList
in interface CostGraphDef.NodeOrBuilder
public int getControlInputCount()
Ids of the control inputs for this node.
repeated int32 control_input = 8;
getControlInputCount
in interface CostGraphDef.NodeOrBuilder
public int getControlInput(int index)
Ids of the control inputs for this node.
repeated int32 control_input = 8;
getControlInput
in interface CostGraphDef.NodeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static CostGraphDef.Node parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CostGraphDef.Node parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CostGraphDef.Node parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CostGraphDef.Node parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CostGraphDef.Node parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CostGraphDef.Node parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static CostGraphDef.Node parseFrom(InputStream input) throws IOException
IOException
public static CostGraphDef.Node parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CostGraphDef.Node parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CostGraphDef.Node parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CostGraphDef.Node parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static CostGraphDef.Node parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CostGraphDef.Node.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static CostGraphDef.Node.Builder newBuilder()
public static CostGraphDef.Node.Builder newBuilder(CostGraphDef.Node prototype)
public CostGraphDef.Node.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected CostGraphDef.Node.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static CostGraphDef.Node getDefaultInstance()
public static com.github.os72.protobuf351.Parser<CostGraphDef.Node> parser()
public com.github.os72.protobuf351.Parser<CostGraphDef.Node> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public CostGraphDef.Node getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.