CostGraphDef.Node

public static final class CostGraphDef.Node

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

int COMPUTE_COST_FIELD_NUMBER
int COMPUTE_TIME_FIELD_NUMBER
int CONTROL_INPUT_FIELD_NUMBER
int DEVICE_FIELD_NUMBER
int DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
int DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER
int HOST_TEMP_MEMORY_SIZE_FIELD_NUMBER
int ID_FIELD_NUMBER
int INACCURATE_FIELD_NUMBER
int INPUT_INFO_FIELD_NUMBER
int IS_FINAL_FIELD_NUMBER
int MEMORY_TIME_FIELD_NUMBER
int NAME_FIELD_NUMBER
int OUTPUT_INFO_FIELD_NUMBER
int PERSISTENT_MEMORY_SIZE_FIELD_NUMBER
int TEMPORARY_MEMORY_SIZE_FIELD_NUMBER

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
final boolean
static CostGraphDef.Node.Builder
static CostGraphDef.Node.Builder
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

Constant Value: 9

public static final int COMPUTE_TIME_FIELD_NUMBER

Constant Value: 14

public static final int CONTROL_INPUT_FIELD_NUMBER

Constant Value: 8

public static final int DEVICE_FIELD_NUMBER

Constant Value: 2

public static final int DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER

Constant Value: 16

public static final int DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER

Constant Value: 11

public static final int HOST_TEMP_MEMORY_SIZE_FIELD_NUMBER

Constant Value: 10

public static final int ID_FIELD_NUMBER

Constant Value: 3

public static final int INACCURATE_FIELD_NUMBER

Constant Value: 17

public static final int INPUT_INFO_FIELD_NUMBER

Constant Value: 4

public static final int IS_FINAL_FIELD_NUMBER

Constant Value: 7

public static final int MEMORY_TIME_FIELD_NUMBER

Constant Value: 15

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int OUTPUT_INFO_FIELD_NUMBER

Constant Value: 5

public static final int PERSISTENT_MEMORY_SIZE_FIELD_NUMBER

Constant Value: 12

public static final int TEMPORARY_MEMORY_SIZE_FIELD_NUMBER

Constant Value: 6

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 CostGraphDef.Node getDefaultInstance ()

public CostGraphDef.Node getDefaultInstanceForType ()

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.Builder newBuilder ()

public static CostGraphDef.Node.Builder newBuilder (CostGraphDef.Node prototype)

public CostGraphDef.Node.Builder newBuilderForType ()

public static CostGraphDef.Node parseDelimitedFrom (InputStream input)

Throws
IOException

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 (ByteBuffer data)

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 CostGraphDef.Node.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException