Package org.nd4j.ir
Interface TensorNamespace.TypeProto.TensorDescriptorOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorNamespace.TypeProto.TensorDescriptor,TensorNamespace.TypeProto.TensorDescriptor.Builder
- Enclosing class:
- TensorNamespace.TypeProto
public static interface TensorNamespace.TypeProto.TensorDescriptorOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TensorNamespace.DataTypegetElemType()This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.intgetElemTypeValue()This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TensorShapeProtogetShape().org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TensorShapeProtoOrBuildergetShapeOrBuilder().org.nd4j.ir.TensorShapeProto shape = 2;booleanhasShape().org.nd4j.ir.TensorShapeProto shape = 2;-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getElemTypeValue
int getElemTypeValue()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;- Returns:
- The enum numeric value on the wire for elemType.
-
getElemType
TensorNamespace.DataType getElemType()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;- Returns:
- The elemType.
-
hasShape
boolean hasShape()
.org.nd4j.ir.TensorShapeProto shape = 2;- Returns:
- Whether the shape field is set.
-
getShape
TensorNamespace.TensorShapeProto getShape()
.org.nd4j.ir.TensorShapeProto shape = 2;- Returns:
- The shape.
-
getShapeOrBuilder
TensorNamespace.TensorShapeProtoOrBuilder getShapeOrBuilder()
.org.nd4j.ir.TensorShapeProto shape = 2;
-
-