Package onnx
Class OnnxMl.SparseTensorProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
- onnx.OnnxMl.SparseTensorProto.Builder
-
- All Implemented Interfaces:
Cloneable
,OnnxMl.SparseTensorProtoOrBuilder
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- OnnxMl.SparseTensorProto
public static final class OnnxMl.SparseTensorProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder> implements OnnxMl.SparseTensorProtoOrBuilder
A serialized sparse-tensor value
Protobuf typeonnx.SparseTensorProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxMl.SparseTensorProto.Builder
addAllDims(Iterable<? extends Long> values)
The shape of the underlying dense-tensor: [dim_1, dim_2, ...OnnxMl.SparseTensorProto.Builder
addDims(long value)
The shape of the underlying dense-tensor: [dim_1, dim_2, ...OnnxMl.SparseTensorProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.SparseTensorProto
build()
OnnxMl.SparseTensorProto
buildPartial()
OnnxMl.SparseTensorProto.Builder
clear()
OnnxMl.SparseTensorProto.Builder
clearDims()
The shape of the underlying dense-tensor: [dim_1, dim_2, ...OnnxMl.SparseTensorProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
OnnxMl.SparseTensorProto.Builder
clearIndices()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.SparseTensorProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
OnnxMl.SparseTensorProto.Builder
clearValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.SparseTensorProto.Builder
clone()
OnnxMl.SparseTensorProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getDims(int index)
The shape of the underlying dense-tensor: [dim_1, dim_2, ...int
getDimsCount()
The shape of the underlying dense-tensor: [dim_1, dim_2, ...List<Long>
getDimsList()
The shape of the underlying dense-tensor: [dim_1, dim_2, ...OnnxMl.TensorProto
getIndices()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.TensorProto.Builder
getIndicesBuilder()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.TensorProtoOrBuilder
getIndicesOrBuilder()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.TensorProto
getValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.TensorProto.Builder
getValuesBuilder()
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.TensorProtoOrBuilder
getValuesOrBuilder()
The sequence of non-default values are encoded as a tensor of shape [NNZ].boolean
hasIndices()
The indices of the non-default values, which may be stored in one of two formats.boolean
hasValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ].protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OnnxMl.SparseTensorProto.Builder
mergeFrom(OnnxMl.SparseTensorProto other)
OnnxMl.SparseTensorProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
OnnxMl.SparseTensorProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
OnnxMl.SparseTensorProto.Builder
mergeIndices(OnnxMl.TensorProto value)
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.SparseTensorProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxMl.SparseTensorProto.Builder
mergeValues(OnnxMl.TensorProto value)
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.SparseTensorProto.Builder
setDims(int index, long value)
The shape of the underlying dense-tensor: [dim_1, dim_2, ...OnnxMl.SparseTensorProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OnnxMl.SparseTensorProto.Builder
setIndices(OnnxMl.TensorProto value)
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.SparseTensorProto.Builder
setIndices(OnnxMl.TensorProto.Builder builderForValue)
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.SparseTensorProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OnnxMl.SparseTensorProto.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OnnxMl.SparseTensorProto.Builder
setValues(OnnxMl.TensorProto value)
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.SparseTensorProto.Builder
setValues(OnnxMl.TensorProto.Builder builderForValue)
The sequence of non-default values are encoded as a tensor of shape [NNZ].-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
clear
public OnnxMl.SparseTensorProto.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.SparseTensorProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.SparseTensorProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.SparseTensorProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.SparseTensorProto.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
setField
public OnnxMl.SparseTensorProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
clearField
public OnnxMl.SparseTensorProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
clearOneof
public OnnxMl.SparseTensorProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
setRepeatedField
public OnnxMl.SparseTensorProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
addRepeatedField
public OnnxMl.SparseTensorProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
mergeFrom
public OnnxMl.SparseTensorProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.SparseTensorProto.Builder>
-
mergeFrom
public OnnxMl.SparseTensorProto.Builder mergeFrom(OnnxMl.SparseTensorProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
mergeFrom
public OnnxMl.SparseTensorProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.SparseTensorProto.Builder>
- Throws:
IOException
-
hasValues
public boolean hasValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
- Specified by:
hasValues
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Returns:
- Whether the values field is set.
-
getValues
public OnnxMl.TensorProto getValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
- Specified by:
getValues
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Returns:
- The values.
-
setValues
public OnnxMl.SparseTensorProto.Builder setValues(OnnxMl.TensorProto value)
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
-
setValues
public OnnxMl.SparseTensorProto.Builder setValues(OnnxMl.TensorProto.Builder builderForValue)
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
-
mergeValues
public OnnxMl.SparseTensorProto.Builder mergeValues(OnnxMl.TensorProto value)
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
-
clearValues
public OnnxMl.SparseTensorProto.Builder clearValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
-
getValuesBuilder
public OnnxMl.TensorProto.Builder getValuesBuilder()
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
-
getValuesOrBuilder
public OnnxMl.TensorProtoOrBuilder getValuesOrBuilder()
The sequence of non-default values are encoded as a tensor of shape [NNZ]. The default-value is zero for numeric tensors, and empty-string for string tensors. values must have a non-empty name present which serves as a name for SparseTensorProto when used in sparse_initializer list.
.onnx.TensorProto values = 1;
- Specified by:
getValuesOrBuilder
in interfaceOnnxMl.SparseTensorProtoOrBuilder
-
hasIndices
public boolean hasIndices()
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
- Specified by:
hasIndices
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Returns:
- Whether the indices field is set.
-
getIndices
public OnnxMl.TensorProto getIndices()
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
- Specified by:
getIndices
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Returns:
- The indices.
-
setIndices
public OnnxMl.SparseTensorProto.Builder setIndices(OnnxMl.TensorProto value)
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
-
setIndices
public OnnxMl.SparseTensorProto.Builder setIndices(OnnxMl.TensorProto.Builder builderForValue)
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
-
mergeIndices
public OnnxMl.SparseTensorProto.Builder mergeIndices(OnnxMl.TensorProto value)
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
-
clearIndices
public OnnxMl.SparseTensorProto.Builder clearIndices()
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
-
getIndicesBuilder
public OnnxMl.TensorProto.Builder getIndicesBuilder()
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
-
getIndicesOrBuilder
public OnnxMl.TensorProtoOrBuilder getIndicesOrBuilder()
The indices of the non-default values, which may be stored in one of two formats. (a) Indices can be a tensor of shape [NNZ, rank] with the [i,j]-th value corresponding to the j-th index of the i-th value (in the values tensor). (b) Indices can be a tensor of shape [NNZ], in which case the i-th value must be the linearized-index of the i-th value (in the values tensor). The linearized-index can be converted into an index tuple (k_1,...,k_rank) using the shape provided below. The indices must appear in ascending order without duplication. In the first format, the ordering is lexicographic-ordering: e.g., index-value [1,4] must appear before [2,1]
.onnx.TensorProto indices = 2;
- Specified by:
getIndicesOrBuilder
in interfaceOnnxMl.SparseTensorProtoOrBuilder
-
getDimsList
public List<Long> getDimsList()
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Specified by:
getDimsList
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Returns:
- A list containing the dims.
-
getDimsCount
public int getDimsCount()
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Specified by:
getDimsCount
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Returns:
- The count of dims.
-
getDims
public long getDims(int index)
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Specified by:
getDims
in interfaceOnnxMl.SparseTensorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The dims at the given index.
-
setDims
public OnnxMl.SparseTensorProto.Builder setDims(int index, long value)
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Parameters:
index
- The index to set the value at.value
- The dims to set.- Returns:
- This builder for chaining.
-
addDims
public OnnxMl.SparseTensorProto.Builder addDims(long value)
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Parameters:
value
- The dims to add.- Returns:
- This builder for chaining.
-
addAllDims
public OnnxMl.SparseTensorProto.Builder addAllDims(Iterable<? extends Long> values)
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Parameters:
values
- The dims to add.- Returns:
- This builder for chaining.
-
clearDims
public OnnxMl.SparseTensorProto.Builder clearDims()
The shape of the underlying dense-tensor: [dim_1, dim_2, ... dim_rank]
repeated int64 dims = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final OnnxMl.SparseTensorProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
mergeUnknownFields
public final OnnxMl.SparseTensorProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.SparseTensorProto.Builder>
-
-