public static interface CostGraphDef.NodeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getDevice()
The device of the node.
|
com.google.protobuf.ByteString |
getDeviceBytes()
The device of the node.
|
long |
getDevicePersistentMemorySize()
Deprecated.
|
long |
getDeviceTempMemorySize()
Deprecated.
|
long |
getHostTempMemorySize()
Deprecated.
|
int |
getId()
The id of the node.
|
boolean |
getInaccurate()
Are the costs inaccurate?
|
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.
|
long |
getTemporaryMemorySize()
Temporary memory used by this node.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of the node. Names are globally unique.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the node. Names are globally unique.
string name = 1;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;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;int getId()
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;List<CostGraphDef.Node.InputInfo> getInputInfoList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;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<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;List<CostGraphDef.Node.OutputInfo> getOutputInfoList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;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<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;long getTemporaryMemorySize()
Temporary memory used by this node.
int64 temporary_memory_size = 6;long getPersistentMemorySize()
Persistent memory used by this node.
int64 persistent_memory_size = 12;@Deprecated long getHostTempMemorySize()
int64 host_temp_memory_size = 10 [deprecated = true];@Deprecated long getDeviceTempMemorySize()
int64 device_temp_memory_size = 11 [deprecated = true];@Deprecated long getDevicePersistentMemorySize()
int64 device_persistent_memory_size = 16 [deprecated = true];long getComputeCost()
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;long getComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;long getMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;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;List<Integer> getControlInputList()
Ids of the control inputs for this node.
repeated int32 control_input = 8;int getControlInputCount()
Ids of the control inputs for this node.
repeated int32 control_input = 8;int getControlInput(int index)
Ids of the control inputs for this node.
repeated int32 control_input = 8;boolean getInaccurate()
Are the costs inaccurate?
bool inaccurate = 17;Copyright © 2015–2019. All rights reserved.