public static final class CostGraphDef.Node extends org.nd4j.shade.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 |
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDevice()
The device of the node.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.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; |
org.nd4j.shade.protobuf.Parser<CostGraphDef.Node> |
getParserForType() |
long |
getPersistentMemorySize()
Persistent memory used by this node.
|
int |
getSerializedSize() |
long |
getTemporaryMemorySize()
Temporary memory used by this node.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.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(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input) |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(byte[] data) |
static CostGraphDef.Node |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(ByteBuffer data) |
static CostGraphDef.Node |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static CostGraphDef.Node |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static CostGraphDef.Node |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static CostGraphDef.Node |
parseFrom(InputStream input) |
static CostGraphDef.Node |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<CostGraphDef.Node> |
parser() |
CostGraphDef.Node.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public String getName()
The name of the node. Names are globally unique.
string name = 1;getName in interface CostGraphDef.NodeOrBuilderpublic org.nd4j.shade.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 org.nd4j.shade.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 final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static CostGraphDef.Node parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static CostGraphDef.Node parseFrom(InputStream input) throws IOException
IOExceptionpublic static CostGraphDef.Node parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CostGraphDef.Node parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CostGraphDef.Node parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CostGraphDef.Node parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CostGraphDef.Node parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CostGraphDef.Node.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static CostGraphDef.Node.Builder newBuilder()
public static CostGraphDef.Node.Builder newBuilder(CostGraphDef.Node prototype)
public CostGraphDef.Node.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected CostGraphDef.Node.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static CostGraphDef.Node getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<CostGraphDef.Node> parser()
public org.nd4j.shade.protobuf.Parser<CostGraphDef.Node> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public CostGraphDef.Node getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.