Protobuf type tensorflow.CostGraphDef.Node
Nested Classes
class | CostGraphDef.Node.Builder | Protobuf type tensorflow.CostGraphDef.Node
|
|
class | CostGraphDef.Node.InputInfo | Inputs of this node. |
|
interface | CostGraphDef.Node.InputInfoOrBuilder | ||
class | CostGraphDef.Node.OutputInfo | Outputs of this node. |
|
interface | CostGraphDef.Node.OutputInfoOrBuilder |
Constants
Public Methods
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 | |
CostGraphDef.Node | |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getDevice()
The device of the node. |
com.google.protobuf.ByteString |
getDeviceBytes()
The device of the node. |
long |
getDevicePersistentMemorySize()
int64 device_persistent_memory_size = 16 [deprecated = true];
|
long |
getDeviceTempMemorySize()
int64 device_temp_memory_size = 11 [deprecated = true];
|
long |
getHostTempMemorySize()
int64 host_temp_memory_size = 10 [deprecated = true];
|
int |
getId()
The id of the node. |
boolean |
getInaccurate()
Are the costs inaccurate? bool inaccurate = 17;
|
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;
|
|
|
long |
getPersistentMemorySize()
Persistent memory used by this node. |
int | |
long |
getTemporaryMemorySize()
Temporary memory used by this node. |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static CostGraphDef.Node.Builder | |
static CostGraphDef.Node.Builder |
newBuilder(CostGraphDef.Node prototype)
|
CostGraphDef.Node.Builder | |
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input)
|
static CostGraphDef.Node |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CostGraphDef.Node |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CostGraphDef.Node |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static CostGraphDef.Node |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CostGraphDef.Node |
parseFrom(ByteBuffer data)
|
static CostGraphDef.Node |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CostGraphDef.Node |
parseFrom(com.google.protobuf.ByteString data)
|
static CostGraphDef.Node |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static CostGraphDef.Node |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
CostGraphDef.Node.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int COMPUTE_COST_FIELD_NUMBER
public static final int COMPUTE_TIME_FIELD_NUMBER
public static final int CONTROL_INPUT_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER
public static final int DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
public static final int DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER
public static final int HOST_TEMP_MEMORY_SIZE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INACCURATE_FIELD_NUMBER
public static final int INPUT_INFO_FIELD_NUMBER
public static final int IS_FINAL_FIELD_NUMBER
public static final int MEMORY_TIME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int OUTPUT_INFO_FIELD_NUMBER
public static final int PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
public static final int TEMPORARY_MEMORY_SIZE_FIELD_NUMBER
Public Methods
public boolean equals (Object obj)
public long getComputeCost ()
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;
public long getComputeTime ()
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;
public int getControlInput (int index)
Ids of the control inputs for this node.
repeated int32 control_input = 8;
public int getControlInputCount ()
Ids of the control inputs for this node.
repeated int32 control_input = 8;
public List<Integer> getControlInputList ()
Ids of the control inputs for this node.
repeated int32 control_input = 8;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
public 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;
public long getDevicePersistentMemorySize ()
int64 device_persistent_memory_size = 16 [deprecated = true];
public long getDeviceTempMemorySize ()
int64 device_temp_memory_size = 11 [deprecated = true];
public long getHostTempMemorySize ()
int64 host_temp_memory_size = 10 [deprecated = true];
public int getId ()
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;
public boolean getInaccurate ()
Are the costs inaccurate?
bool inaccurate = 17;
public CostGraphDef.Node.InputInfo getInputInfo (int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
public int getInputInfoCount ()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
public List<CostGraphDef.Node.InputInfo> getInputInfoList ()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
public CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder (int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
public List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList ()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
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;
public long getMemoryTime ()
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;
public String getName ()
The name of the node. Names are globally unique.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
The name of the node. Names are globally unique.
string name = 1;
public CostGraphDef.Node.OutputInfo getOutputInfo (int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
public int getOutputInfoCount ()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
public List<CostGraphDef.Node.OutputInfo> getOutputInfoList ()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
public CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder (int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
public List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList ()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
public
getParserForType
()
public long getPersistentMemorySize ()
Persistent memory used by this node.
int64 persistent_memory_size = 12;
public int getSerializedSize ()
public long getTemporaryMemorySize ()
Temporary memory used by this node.
int64 temporary_memory_size = 6;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static CostGraphDef.Node parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static CostGraphDef.Node parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static CostGraphDef.Node parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static CostGraphDef.Node parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static CostGraphDef.Node parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static CostGraphDef.Node parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static CostGraphDef.Node parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static CostGraphDef.Node parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|