Package onnx
Class Onnx.TensorAnnotation.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorAnnotation.Builder>
-
- onnx.Onnx.TensorAnnotation.Builder
-
- All Implemented Interfaces:
Cloneable
,Onnx.TensorAnnotationOrBuilder
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- Onnx.TensorAnnotation
public static final class Onnx.TensorAnnotation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorAnnotation.Builder> implements Onnx.TensorAnnotationOrBuilder
Protobuf typeonnx.TensorAnnotation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.TensorAnnotation.Builder
addAllQuantParameterTensorNames(Iterable<? extends Onnx.StringStringEntryProto> values)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
addQuantParameterTensorNames(int index, Onnx.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
addQuantParameterTensorNames(int index, Onnx.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
addQuantParameterTensorNames(Onnx.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
addQuantParameterTensorNames(Onnx.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.StringStringEntryProto.Builder
addQuantParameterTensorNamesBuilder()
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.StringStringEntryProto.Builder
addQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.TensorAnnotation
build()
Onnx.TensorAnnotation
buildPartial()
Onnx.TensorAnnotation.Builder
clear()
Onnx.TensorAnnotation.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Onnx.TensorAnnotation.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Onnx.TensorAnnotation.Builder
clearQuantParameterTensorNames()
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
clearTensorName()
string tensor_name = 1;
Onnx.TensorAnnotation.Builder
clone()
Onnx.TensorAnnotation
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
Onnx.StringStringEntryProto
getQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.StringStringEntryProto.Builder
getQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.List<Onnx.StringStringEntryProto.Builder>
getQuantParameterTensorNamesBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above.int
getQuantParameterTensorNamesCount()
<key, value> pairs to annotate tensor specified by <tensor_name> above.List<Onnx.StringStringEntryProto>
getQuantParameterTensorNamesList()
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.StringStringEntryProtoOrBuilder
getQuantParameterTensorNamesOrBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.List<? extends Onnx.StringStringEntryProtoOrBuilder>
getQuantParameterTensorNamesOrBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above.String
getTensorName()
string tensor_name = 1;
org.nd4j.shade.protobuf.ByteString
getTensorNameBytes()
string tensor_name = 1;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.TensorAnnotation.Builder
mergeFrom(Onnx.TensorAnnotation other)
Onnx.TensorAnnotation.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.TensorAnnotation.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Onnx.TensorAnnotation.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.TensorAnnotation.Builder
removeQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.TensorAnnotation.Builder
setQuantParameterTensorNames(int index, Onnx.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
setQuantParameterTensorNames(int index, Onnx.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above.Onnx.TensorAnnotation.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Onnx.TensorAnnotation.Builder
setTensorName(String value)
string tensor_name = 1;
Onnx.TensorAnnotation.Builder
setTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
string tensor_name = 1;
Onnx.TensorAnnotation.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
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<Onnx.TensorAnnotation.Builder>
-
clear
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
getDefaultInstanceForType
public Onnx.TensorAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.TensorAnnotation build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.TensorAnnotation buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
setField
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
clearField
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
clearOneof
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
setRepeatedField
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
addRepeatedField
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
mergeFrom
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
mergeFrom
public Onnx.TensorAnnotation.Builder mergeFrom(Onnx.TensorAnnotation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorAnnotation.Builder>
-
mergeFrom
public Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
- Throws:
IOException
-
getTensorName
public String getTensorName()
string tensor_name = 1;
- Specified by:
getTensorName
in interfaceOnnx.TensorAnnotationOrBuilder
- Returns:
- The tensorName.
-
getTensorNameBytes
public org.nd4j.shade.protobuf.ByteString getTensorNameBytes()
string tensor_name = 1;
- Specified by:
getTensorNameBytes
in interfaceOnnx.TensorAnnotationOrBuilder
- Returns:
- The bytes for tensorName.
-
setTensorName
public Onnx.TensorAnnotation.Builder setTensorName(String value)
string tensor_name = 1;
- Parameters:
value
- The tensorName to set.- Returns:
- This builder for chaining.
-
clearTensorName
public Onnx.TensorAnnotation.Builder clearTensorName()
string tensor_name = 1;
- Returns:
- This builder for chaining.
-
setTensorNameBytes
public Onnx.TensorAnnotation.Builder setTensorNameBytes(org.nd4j.shade.protobuf.ByteString value)
string tensor_name = 1;
- Parameters:
value
- The bytes for tensorName to set.- Returns:
- This builder for chaining.
-
getQuantParameterTensorNamesList
public List<Onnx.StringStringEntryProto> getQuantParameterTensorNamesList()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
- Specified by:
getQuantParameterTensorNamesList
in interfaceOnnx.TensorAnnotationOrBuilder
-
getQuantParameterTensorNamesCount
public int getQuantParameterTensorNamesCount()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
- Specified by:
getQuantParameterTensorNamesCount
in interfaceOnnx.TensorAnnotationOrBuilder
-
getQuantParameterTensorNames
public Onnx.StringStringEntryProto getQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
- Specified by:
getQuantParameterTensorNames
in interfaceOnnx.TensorAnnotationOrBuilder
-
setQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder setQuantParameterTensorNames(int index, Onnx.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
setQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder setQuantParameterTensorNames(int index, Onnx.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
addQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder addQuantParameterTensorNames(Onnx.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
addQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder addQuantParameterTensorNames(int index, Onnx.StringStringEntryProto value)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
addQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder addQuantParameterTensorNames(Onnx.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
addQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder addQuantParameterTensorNames(int index, Onnx.StringStringEntryProto.Builder builderForValue)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
addAllQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder addAllQuantParameterTensorNames(Iterable<? extends Onnx.StringStringEntryProto> values)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
clearQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder clearQuantParameterTensorNames()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
removeQuantParameterTensorNames
public Onnx.TensorAnnotation.Builder removeQuantParameterTensorNames(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
getQuantParameterTensorNamesBuilder
public Onnx.StringStringEntryProto.Builder getQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
getQuantParameterTensorNamesOrBuilder
public Onnx.StringStringEntryProtoOrBuilder getQuantParameterTensorNamesOrBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
- Specified by:
getQuantParameterTensorNamesOrBuilder
in interfaceOnnx.TensorAnnotationOrBuilder
-
getQuantParameterTensorNamesOrBuilderList
public List<? extends Onnx.StringStringEntryProtoOrBuilder> getQuantParameterTensorNamesOrBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
- Specified by:
getQuantParameterTensorNamesOrBuilderList
in interfaceOnnx.TensorAnnotationOrBuilder
-
addQuantParameterTensorNamesBuilder
public Onnx.StringStringEntryProto.Builder addQuantParameterTensorNamesBuilder()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
addQuantParameterTensorNamesBuilder
public Onnx.StringStringEntryProto.Builder addQuantParameterTensorNamesBuilder(int index)
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
getQuantParameterTensorNamesBuilderList
public List<Onnx.StringStringEntryProto.Builder> getQuantParameterTensorNamesBuilderList()
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
repeated .onnx.StringStringEntryProto quant_parameter_tensor_names = 2;
-
setUnknownFields
public final Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
mergeUnknownFields
public final Onnx.TensorAnnotation.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<Onnx.TensorAnnotation.Builder>
-
-