Have a question? Connect with the community at the TensorFlow Forum Visit Forum

CostGraphDef.Node.Builder

public static final class CostGraphDef.Node.Builder

Protobuf type tensorflow.CostGraphDef.Node

Public Methods

CostGraphDef.Node.Builder
addAllControlInput (Iterable<? extends Integer> values)
 Ids of the control inputs for this node.
CostGraphDef.Node.Builder
addAllInputInfo (Iterable<? extends CostGraphDef.Node.InputInfo > values)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addAllOutputInfo (Iterable<? extends CostGraphDef.Node.OutputInfo > values)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addControlInput (int value)
 Ids of the control inputs for this node.
CostGraphDef.Node.Builder
addInputInfo ( CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addInputInfo ( CostGraphDef.Node.InputInfo value)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addInputInfo (int index, CostGraphDef.Node.InputInfo value)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addInputInfo (int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.InputInfo.Builder
addInputInfoBuilder ()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.InputInfo.Builder
addInputInfoBuilder (int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addOutputInfo (int index, CostGraphDef.Node.OutputInfo value)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addOutputInfo ( CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addOutputInfo ( CostGraphDef.Node.OutputInfo value)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addOutputInfo (int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.OutputInfo.Builder
addOutputInfoBuilder (int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.OutputInfo.Builder
addOutputInfoBuilder ()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CostGraphDef.Node
CostGraphDef.Node
CostGraphDef.Node.Builder
CostGraphDef.Node.Builder
clearComputeCost ()
 Estimate of the computational cost of this node, in microseconds.
CostGraphDef.Node.Builder
clearComputeTime ()
 Analytical estimate of the computational cost of this node, in
 microseconds.
CostGraphDef.Node.Builder
clearControlInput ()
 Ids of the control inputs for this node.
CostGraphDef.Node.Builder
clearDevice ()
 The device of the node.
CostGraphDef.Node.Builder
clearDevicePersistentMemorySize ()
int64 device_persistent_memory_size = 16 [deprecated = true];
CostGraphDef.Node.Builder
clearDeviceTempMemorySize ()
int64 device_temp_memory_size = 11 [deprecated = true];
CostGraphDef.Node.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
CostGraphDef.Node.Builder
clearHostTempMemorySize ()
int64 host_temp_memory_size = 10 [deprecated = true];
CostGraphDef.Node.Builder
clearId ()
 The id of the node.
CostGraphDef.Node.Builder
clearInaccurate ()
 Are the costs inaccurate?
 
bool inaccurate = 17;
CostGraphDef.Node.Builder
clearInputInfo ()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
clearIsFinal ()
 If true, the output is permanent: it can't be discarded, because this
 node is part of the "final output".
CostGraphDef.Node.Builder
clearMemoryTime ()
 Analytical estimate of the memory access cost of this node, in
 microseconds.
CostGraphDef.Node.Builder
clearName ()
 The name of the node.
CostGraphDef.Node.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
CostGraphDef.Node.Builder
clearOutputInfo ()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
clearPersistentMemorySize ()
 Persistent memory used by this node.
CostGraphDef.Node.Builder
clearTemporaryMemorySize ()
 Temporary memory used by this node.
CostGraphDef.Node.Builder
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.
CostGraphDef.Node
final static com.google.protobuf.Descriptors.Descriptor
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;
CostGraphDef.Node.InputInfo.Builder
getInputInfoBuilder (int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
List< CostGraphDef.Node.InputInfo.Builder >
getInputInfoBuilderList ()
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;
CostGraphDef.Node.OutputInfo.Builder
getOutputInfoBuilder (int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
List< CostGraphDef.Node.OutputInfo.Builder >
getOutputInfoBuilderList ()
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.
long
getTemporaryMemorySize ()
 Temporary memory used by this node.
final boolean
CostGraphDef.Node.Builder
mergeFrom (com.google.protobuf.Message other)
CostGraphDef.Node.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final CostGraphDef.Node.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
CostGraphDef.Node.Builder
removeInputInfo (int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
removeOutputInfo (int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
setComputeCost (long value)
 Estimate of the computational cost of this node, in microseconds.
CostGraphDef.Node.Builder
setComputeTime (long value)
 Analytical estimate of the computational cost of this node, in
 microseconds.
CostGraphDef.Node.Builder
setControlInput (int index, int value)
 Ids of the control inputs for this node.
CostGraphDef.Node.Builder
setDevice (String value)
 The device of the node.
CostGraphDef.Node.Builder
setDeviceBytes (com.google.protobuf.ByteString value)
 The device of the node.
CostGraphDef.Node.Builder
setDevicePersistentMemorySize (long value)
int64 device_persistent_memory_size = 16 [deprecated = true];
CostGraphDef.Node.Builder