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 SummaryModifier and TypeMethodDescriptionbooleancontainsTensors(String key) A name-indexed collection of flat tensor objectsDeprecated.intA 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.MessageLiteOrBuildergetDefaultInstanceForType, isInitialized
- 
Method Details- 
getTensorsCountint getTensorsCount()A name-indexed collection of flat tensor objects map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
- 
containsTensorsA name-indexed collection of flat tensor objects map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
- 
getTensorsDeprecated.UsegetTensorsMap()instead.
- 
getTensorsMapMap<String,Mlmodel.FlatTensor> getTensorsMap()A name-indexed collection of flat tensor objects map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
- 
getTensorsOrDefaultA name-indexed collection of flat tensor objects map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
- 
getTensorsOrThrowA name-indexed collection of flat tensor objects map<string, .viam.service.mlmodel.v1.FlatTensor> tensors = 1 [json_name = "tensors"];
 
-