CostGraphDef.NodeOrBuilder

public static interface CostGraphDef.NodeOrBuilder
Known Indirect Subclasses

Public Methods

abstract long
getComputeCost()
 Estimate of the computational cost of this node, in microseconds.
abstract long
getComputeTime()
 Analytical estimate of the computational cost of this node, in
 microseconds.
abstract int
getControlInput(int index)
 Ids of the control inputs for this node.
abstract int
getControlInputCount()
 Ids of the control inputs for this node.
abstract List<Integer>
getControlInputList()
 Ids of the control inputs for this node.
abstract String
getDevice()
 The device of the node.
abstract com.google.protobuf.ByteString
getDeviceBytes()
 The device of the node.
abstract long
getDevicePersistentMemorySize()
int64 device_persistent_memory_size = 16 [deprecated = true];
abstract long
getDeviceTempMemorySize()
int64 device_temp_memory_size = 11 [deprecated = true];
abstract long
getHostTempMemorySize()
int64 host_temp_memory_size = 10 [deprecated = true];
abstract int
getId()
 The id of the node.
abstract boolean
getInaccurate()
 Are the costs inaccurate?
 
bool inaccurate = 17;
abstract CostGraphDef.Node.InputInfo
getInputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
abstract int
getInputInfoCount()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
abstract List<CostGraphDef.Node.InputInfo>
getInputInfoList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
abstract CostGraphDef.Node.InputInfoOrBuilder
getInputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
abstract List<? extends CostGraphDef.Node.InputInfoOrBuilder>
getInputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
abstract boolean
getIsFinal()
 If true, the output is permanent: it can't be discarded, because this
 node is part of the "final output".
abstract long
getMemoryTime()
 Analytical estimate of the memory access cost of this node, in
 microseconds.
abstract String
getName()
 The name of the node.
abstract com.google.protobuf.ByteString
getNameBytes()
 The name of the node.
abstract CostGraphDef.Node.OutputInfo
getOutputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
abstract int
getOutputInfoCount()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
abstract List<CostGraphDef.Node.OutputInfo>
getOutputInfoList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
abstract CostGraphDef.Node.OutputInfoOrBuilder
getOutputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
abstract List<? extends CostGraphDef.Node.OutputInfoOrBuilder>
getOutputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
abstract long
getPersistentMemorySize()
 Persistent memory used by this node.
abstract long
getTemporaryMemorySize()
 Temporary memory used by this node.

Public Methods

public abstract long getComputeCost ()

 Estimate of the computational cost of this node, in microseconds.
 
int64 compute_cost = 9;

public abstract long getComputeTime ()

 Analytical estimate of the computational cost of this node, in
 microseconds.
 
int64 compute_time = 14;

public abstract int getControlInput (int index)

 Ids of the control inputs for this node.
 
repeated int32 control_input = 8;

public abstract int getControlInputCount ()

 Ids of the control inputs for this node.
 
repeated int32 control_input = 8;

public abstract List<Integer> getControlInputList ()

 Ids of the control inputs for this node.
 
repeated int32 control_input = 8;

public abstract 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 abstract 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 abstract long getDevicePersistentMemorySize ()

int64 device_persistent_memory_size = 16 [deprecated = true];

public abstract long getDeviceTempMemorySize ()

int64 device_temp_memory_size = 11 [deprecated = true];

public abstract long getHostTempMemorySize ()

int64 host_temp_memory_size = 10 [deprecated = true];

public abstract int getId ()

 The id of the node. Node ids are only unique inside a partition.
 
int32 id = 3;

public abstract boolean getInaccurate ()

 Are the costs inaccurate?
 
bool inaccurate = 17;

public abstract CostGraphDef.Node.InputInfo getInputInfo (int index)

repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;

public abstract int getInputInfoCount ()

repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;

public abstract List<CostGraphDef.Node.InputInfo> getInputInfoList ()

repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;

public abstract CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder (int index)

repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;

public abstract List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList ()

repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;

public abstract 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 abstract long getMemoryTime ()

 Analytical estimate of the memory access cost of this node, in
 microseconds.
 
int64 memory_time = 15;

public abstract String getName ()

 The name of the node. Names are globally unique.
 
string name = 1;

public abstract com.google.protobuf.ByteString getNameBytes ()

 The name of the node. Names are globally unique.
 
string name = 1;

public abstract CostGraphDef.Node.OutputInfo getOutputInfo (int index)

repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;

public abstract int getOutputInfoCount ()

repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;

public abstract List<CostGraphDef.Node.OutputInfo> getOutputInfoList ()

repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;

public abstract CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder (int index)

repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;

public abstract List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList ()

repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;

public abstract long getPersistentMemorySize ()

 Persistent memory used by this node.
 
int64 persistent_memory_size = 12;

public abstract long getTemporaryMemorySize ()

 Temporary memory used by this node.
 
int64 temporary_memory_size = 6;