Package org.platanios.tensorflow.proto
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 long
getAliasInputPort()
If >= 0, the output is an alias of an input.DataType
getDtype()
.org.platanios.tensorflow.proto.DataType dtype = 4;
int
getDtypeValue()
.org.platanios.tensorflow.proto.DataType dtype = 4;
TensorShapeProto
getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
TensorShapeProtoOrBuilder
getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
long
getSize()
int64 size = 1;
boolean
hasShape()
.org.platanios.tensorflow.proto.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()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
- Returns:
- Whether the shape field is set.
-
getShape
TensorShapeProto getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
- Returns:
- The shape.
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
-
getDtypeValue
int getDtypeValue()
.org.platanios.tensorflow.proto.DataType dtype = 4;
- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype()
.org.platanios.tensorflow.proto.DataType dtype = 4;
- Returns:
- The dtype.
-
-