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
Modifier and TypeMethodDescriptionlongIf >= 0, the output is an alias of an input.getDtype().tensorflow.DataType dtype = 4;int.tensorflow.DataType dtype = 4;getShape().tensorflow.TensorShapeProto shape = 3;.tensorflow.TensorShapeProto shape = 3;longgetSize()int64 size = 1;booleanhasShape().tensorflow.TensorShapeProto shape = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-