| Package | Description |
|---|---|
| org.nd4j.ir |
| Modifier and Type | Method and Description |
|---|---|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllBoolVal(Iterable<? extends Boolean> values)
boolean values
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllDims(Iterable<? extends Long> values)
The shape of the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllDoubleData(Iterable<? extends Double> values)
For double
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllExternalData(Iterable<? extends TensorNamespace.StringStringEntryProto> values)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllFloatData(Iterable<? extends Float> values)
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllHalfVal(Iterable<? extends Integer> values)
For half values (tensorflow compatibility)
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllInt32Data(Iterable<? extends Integer> values)
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllInt64Data(Iterable<? extends Long> values)
For int64.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllStringData(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
For strings.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addAllUint64Data(Iterable<? extends Long> values)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addBoolVal(boolean value)
boolean values
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addDims(long value)
The shape of the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addDoubleData(double value)
For double
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addExternalData(int index,
TensorNamespace.StringStringEntryProto.Builder builderForValue)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addExternalData(int index,
TensorNamespace.StringStringEntryProto value)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addExternalData(TensorNamespace.StringStringEntryProto.Builder builderForValue)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addExternalData(TensorNamespace.StringStringEntryProto value)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addFloatData(float value)
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addHalfVal(int value)
For half values (tensorflow compatibility)
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addInt32Data(int value)
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addInt64Data(long value)
For int64.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addStringData(org.nd4j.shade.protobuf.ByteString value)
For strings.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.addUint64Data(long value)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clear() |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearBoolVal()
boolean values
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearDataLocation()
If value not set, data is stored in raw_data (if set) otherwise in type-specified field.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearDataType()
The data type of the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearDims()
The shape of the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearDocString()
A human-readable documentation for this tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearDoubleData()
For double
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearExternalData()
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearFloatData()
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearHalfVal()
For half values (tensorflow compatibility)
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearInt32Data()
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearInt64Data()
For int64.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearName()
Optionally, a name for the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearRawData()
Serializations can either use one of the fields above, or use this
raw bytes field.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearSegment()
.org.nd4j.ir.TensorProto.Segment segment = 3; |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearStringData()
For strings.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clearUint64Data()
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.clone() |
TensorNamespace.TensorProto.Builder |
OpNamespace.ArgDescriptor.Builder.getInputValueBuilder()
.org.nd4j.ir.TensorProto inputValue = 8; |
TensorNamespace.TensorProto.Builder |
OpNamespace.ArgDescriptor.Builder.getOutputValueBuilder()
.org.nd4j.ir.TensorProto outputValue = 9; |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.mergeFrom(org.nd4j.shade.protobuf.Message other) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.mergeFrom(TensorNamespace.TensorProto other) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.mergeSegment(TensorNamespace.TensorProto.Segment value)
.org.nd4j.ir.TensorProto.Segment segment = 3; |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
static TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.newBuilder() |
static TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.newBuilder(TensorNamespace.TensorProto prototype) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.newBuilderForType() |
protected TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.removeExternalData(int index)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setBoolVal(int index,
boolean value)
boolean values
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDataLocation(TensorNamespace.TensorProto.DataLocation value)
If value not set, data is stored in raw_data (if set) otherwise in type-specified field.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDataLocationValue(int value)
If value not set, data is stored in raw_data (if set) otherwise in type-specified field.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDataType(int value)
The data type of the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDims(int index,
long value)
The shape of the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDocString(String value)
A human-readable documentation for this tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setDoubleData(int index,
double value)
For double
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setExternalData(int index,
TensorNamespace.StringStringEntryProto.Builder builderForValue)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setExternalData(int index,
TensorNamespace.StringStringEntryProto value)
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setFloatData(int index,
float value)
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setHalfVal(int index,
int value)
For half values (tensorflow compatibility)
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setInt32Data(int index,
int value)
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setInt64Data(int index,
long value)
For int64.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setName(String value)
Optionally, a name for the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Optionally, a name for the tensor.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setRawData(org.nd4j.shade.protobuf.ByteString value)
Serializations can either use one of the fields above, or use this
raw bytes field.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setSegment(TensorNamespace.TensorProto.Segment.Builder builderForValue)
.org.nd4j.ir.TensorProto.Segment segment = 3; |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setSegment(TensorNamespace.TensorProto.Segment value)
.org.nd4j.ir.TensorProto.Segment segment = 3; |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setStringData(int index,
org.nd4j.shade.protobuf.ByteString value)
For strings.
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setUint64Data(int index,
long value)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.Builder.setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
TensorNamespace.TensorProto.Builder |
TensorNamespace.TensorProto.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
OpNamespace.ArgDescriptor.Builder |
OpNamespace.ArgDescriptor.Builder.setInputValue(TensorNamespace.TensorProto.Builder builderForValue)
.org.nd4j.ir.TensorProto inputValue = 8; |
OpNamespace.ArgDescriptor.Builder |
OpNamespace.ArgDescriptor.Builder.setOutputValue(TensorNamespace.TensorProto.Builder builderForValue)
.org.nd4j.ir.TensorProto outputValue = 9; |
Copyright © 2021. All rights reserved.