Package org.tensorflow.framework
Interface CostGraphDef.Node.OutputInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CostGraphDef.Node.OutputInfo,CostGraphDef.Node.OutputInfo.Builder
- Enclosing class:
- CostGraphDef.Node
public static interface CostGraphDef.Node.OutputInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAliasInputPort()If >= 0, the output is an alias of an input.DataTypegetDtype().tensorflow.DataType dtype = 4;intgetDtypeValue().tensorflow.DataType dtype = 4;TensorShapeProtogetShape().tensorflow.TensorShapeProto shape = 3;TensorShapeProtoOrBuildergetShapeOrBuilder().tensorflow.TensorShapeProto shape = 3;longgetSize()int64 size = 1;booleanhasShape().tensorflow.TensorShapeProto shape = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSize
long getSize()
int64 size = 1;- Returns:
- The size.
-
getAliasInputPort
long getAliasInputPort()
If >= 0, the output is an alias of an input. Note that an alias input may itself be an alias. The algorithm will therefore need to follow those pointers.
int64 alias_input_port = 2;- Returns:
- The aliasInputPort.
-
hasShape
boolean hasShape()
.tensorflow.TensorShapeProto shape = 3;- Returns:
- Whether the shape field is set.
-
getShape
TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 3;- Returns:
- The shape.
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 3;
-
getDtypeValue
int getDtypeValue()
.tensorflow.DataType dtype = 4;- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype()
.tensorflow.DataType dtype = 4;- Returns:
- The dtype.
-
-