Package com.viam.service.mlmodel.v1
Class Mlmodel.FlatTensor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Mlmodel.FlatTensor,Mlmodel.FlatTensor.Builder>
com.viam.service.mlmodel.v1.Mlmodel.FlatTensor.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Mlmodel.FlatTensorOrBuilder
,Cloneable
- Enclosing class:
- Mlmodel.FlatTensor
public static final class Mlmodel.FlatTensor.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Mlmodel.FlatTensor,Mlmodel.FlatTensor.Builder>
implements Mlmodel.FlatTensorOrBuilder
Protobuf type
viam.service.mlmodel.v1.FlatTensor
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllShape
(Iterable<? extends Long> values) the shape of the provided tensor as a list of integer extentsaddShape
(long value) the shape of the provided tensor as a list of integer extents.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
the shape of the provided tensor as a list of integer extents.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
long
getShape
(int index) the shape of the provided tensor as a list of integer extentsint
the shape of the provided tensor as a list of integer extentsthe shape of the provided tensor as a list of integer extents.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
boolean
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
setDoubleTensor
(Mlmodel.FlatTensorDataDouble.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
setFloatTensor
(Mlmodel.FlatTensorDataFloat.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
setInt16Tensor
(Mlmodel.FlatTensorDataInt16.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
setInt32Tensor
(Mlmodel.FlatTensorDataInt32.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
setInt64Tensor
(Mlmodel.FlatTensorDataInt64.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
setInt8Tensor
(Mlmodel.FlatTensorDataInt8.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
setShape
(int index, long value) the shape of the provided tensor as a list of integer extents.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
setUint16Tensor
(Mlmodel.FlatTensorDataUInt16.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
setUint32Tensor
(Mlmodel.FlatTensorDataUInt32.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
setUint64Tensor
(Mlmodel.FlatTensorDataUInt64.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
setUint8Tensor
(Mlmodel.FlatTensorDataUInt8.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTensorCase
- Specified by:
getTensorCase
in interfaceMlmodel.FlatTensorOrBuilder
-
clearTensor
-
getShapeList
the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Specified by:
getShapeList
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Specified by:
getShapeCount
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The count of shape.
-
getShape
public long getShape(int index) the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Specified by:
getShape
in interfaceMlmodel.FlatTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shape at the given index.
-
setShape
the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Parameters:
value
- The shape to set.- Returns:
- This builder for chaining.
-
addShape
the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Parameters:
value
- The shape to add.- Returns:
- This builder for chaining.
-
addAllShape
the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Parameters:
values
- The shape to add.- Returns:
- This builder for chaining.
-
clearShape
the shape of the provided tensor as a list of integer extents
repeated fixed64 shape = 1 [json_name = "shape"];
- Returns:
- This builder for chaining.
-
hasInt8Tensor
public boolean hasInt8Tensor().viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
- Specified by:
hasInt8Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the int8Tensor field is set.
-
getInt8Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
- Specified by:
getInt8Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The int8Tensor.
-
setInt8Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
-
setInt8Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
-
mergeInt8Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
-
clearInt8Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt8 int8_tensor = 2 [json_name = "int8Tensor"];
-
hasUint8Tensor
public boolean hasUint8Tensor().viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
- Specified by:
hasUint8Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the uint8Tensor field is set.
-
getUint8Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
- Specified by:
getUint8Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The uint8Tensor.
-
setUint8Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
-
setUint8Tensor
public Mlmodel.FlatTensor.Builder setUint8Tensor(Mlmodel.FlatTensorDataUInt8.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
-
mergeUint8Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
-
clearUint8Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt8 uint8_tensor = 3 [json_name = "uint8Tensor"];
-
hasInt16Tensor
public boolean hasInt16Tensor().viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
- Specified by:
hasInt16Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the int16Tensor field is set.
-
getInt16Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
- Specified by:
getInt16Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The int16Tensor.
-
setInt16Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
-
setInt16Tensor
public Mlmodel.FlatTensor.Builder setInt16Tensor(Mlmodel.FlatTensorDataInt16.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
-
mergeInt16Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
-
clearInt16Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt16 int16_tensor = 4 [json_name = "int16Tensor"];
-
hasUint16Tensor
public boolean hasUint16Tensor().viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
- Specified by:
hasUint16Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the uint16Tensor field is set.
-
getUint16Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
- Specified by:
getUint16Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The uint16Tensor.
-
setUint16Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
-
setUint16Tensor
public Mlmodel.FlatTensor.Builder setUint16Tensor(Mlmodel.FlatTensorDataUInt16.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
-
mergeUint16Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
-
clearUint16Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt16 uint16_tensor = 5 [json_name = "uint16Tensor"];
-
hasInt32Tensor
public boolean hasInt32Tensor().viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
- Specified by:
hasInt32Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the int32Tensor field is set.
-
getInt32Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
- Specified by:
getInt32Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The int32Tensor.
-
setInt32Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
-
setInt32Tensor
public Mlmodel.FlatTensor.Builder setInt32Tensor(Mlmodel.FlatTensorDataInt32.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
-
mergeInt32Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
-
clearInt32Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt32 int32_tensor = 6 [json_name = "int32Tensor"];
-
hasUint32Tensor
public boolean hasUint32Tensor().viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
- Specified by:
hasUint32Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the uint32Tensor field is set.
-
getUint32Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
- Specified by:
getUint32Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The uint32Tensor.
-
setUint32Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
-
setUint32Tensor
public Mlmodel.FlatTensor.Builder setUint32Tensor(Mlmodel.FlatTensorDataUInt32.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
-
mergeUint32Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
-
clearUint32Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt32 uint32_tensor = 7 [json_name = "uint32Tensor"];
-
hasInt64Tensor
public boolean hasInt64Tensor().viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
- Specified by:
hasInt64Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the int64Tensor field is set.
-
getInt64Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
- Specified by:
getInt64Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The int64Tensor.
-
setInt64Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
-
setInt64Tensor
public Mlmodel.FlatTensor.Builder setInt64Tensor(Mlmodel.FlatTensorDataInt64.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
-
mergeInt64Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
-
clearInt64Tensor
.viam.service.mlmodel.v1.FlatTensorDataInt64 int64_tensor = 8 [json_name = "int64Tensor"];
-
hasUint64Tensor
public boolean hasUint64Tensor().viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
- Specified by:
hasUint64Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the uint64Tensor field is set.
-
getUint64Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
- Specified by:
getUint64Tensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The uint64Tensor.
-
setUint64Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
-
setUint64Tensor
public Mlmodel.FlatTensor.Builder setUint64Tensor(Mlmodel.FlatTensorDataUInt64.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
-
mergeUint64Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
-
clearUint64Tensor
.viam.service.mlmodel.v1.FlatTensorDataUInt64 uint64_tensor = 9 [json_name = "uint64Tensor"];
-
hasFloatTensor
public boolean hasFloatTensor().viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
- Specified by:
hasFloatTensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the floatTensor field is set.
-
getFloatTensor
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
- Specified by:
getFloatTensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The floatTensor.
-
setFloatTensor
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
-
setFloatTensor
public Mlmodel.FlatTensor.Builder setFloatTensor(Mlmodel.FlatTensorDataFloat.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
-
mergeFloatTensor
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
-
clearFloatTensor
.viam.service.mlmodel.v1.FlatTensorDataFloat float_tensor = 10 [json_name = "floatTensor"];
-
hasDoubleTensor
public boolean hasDoubleTensor().viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
- Specified by:
hasDoubleTensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- Whether the doubleTensor field is set.
-
getDoubleTensor
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
- Specified by:
getDoubleTensor
in interfaceMlmodel.FlatTensorOrBuilder
- Returns:
- The doubleTensor.
-
setDoubleTensor
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
-
setDoubleTensor
public Mlmodel.FlatTensor.Builder setDoubleTensor(Mlmodel.FlatTensorDataDouble.Builder builderForValue) .viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
-
mergeDoubleTensor
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
-
clearDoubleTensor
.viam.service.mlmodel.v1.FlatTensorDataDouble double_tensor = 11 [json_name = "doubleTensor"];
-