Package com.viam.service.mlmodel.v1
Interface Mlmodel.FlatTensorsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Mlmodel.FlatTensors
,Mlmodel.FlatTensors.Builder
- Enclosing class:
- Mlmodel
public static interface Mlmodel.FlatTensorsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsTensors
(String key) A name-indexed collection of flat tensor objectsDeprecated.int
A name-indexed collection of flat tensor objectsA name-indexed collection of flat tensor objectsgetTensorsOrDefault
(String key, Mlmodel.FlatTensor defaultValue) A name-indexed collection of flat tensor objectsgetTensorsOrThrow
(String key) A name-indexed collection of flat tensor objectsMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTensorsCount
int getTensorsCount()A name-indexed collection of flat tensor objects
map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
-
containsTensors
A name-indexed collection of flat tensor objects
map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
-
getTensors
Deprecated.UsegetTensorsMap()
instead. -
getTensorsMap
Map<String,Mlmodel.FlatTensor> getTensorsMap()A name-indexed collection of flat tensor objects
map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
-
getTensorsOrDefault
A name-indexed collection of flat tensor objects
map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
-
getTensorsOrThrow
A name-indexed collection of flat tensor objects
map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
-