Package com.viam.service.mlmodel.v1
Interface Mlmodel.MetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Mlmodel.Metadata
,Mlmodel.Metadata.Builder
- Enclosing class:
- Mlmodel
public static interface Mlmodel.MetadataOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondescription of the modelcom.google.protobuf.ByteString
description of the modelgetInputInfo
(int index) the necessary input arrays/tensors for an inference, order mattersint
the necessary input arrays/tensors for an inference, order mattersthe necessary input arrays/tensors for an inference, order mattersgetName()
name of the modelcom.google.protobuf.ByteString
name of the modelgetOutputInfo
(int index) the output arrays/tensors of the model, order mattersint
the output arrays/tensors of the model, order mattersthe output arrays/tensors of the model, order mattersgetType()
type of model e.g.com.google.protobuf.ByteString
type of model e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()name of the model
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name of the model
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
getType
String getType()type of model e.g. object_detector, text_classifier
string type = 2 [json_name = "type"];
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()type of model e.g. object_detector, text_classifier
string type = 2 [json_name = "type"];
- Returns:
- The bytes for type.
-
getDescription
String getDescription()description of the model
string description = 3 [json_name = "description"];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()description of the model
string description = 3 [json_name = "description"];
- Returns:
- The bytes for description.
-
getInputInfoList
List<Mlmodel.TensorInfo> getInputInfoList()the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
-
getInputInfo
the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
-
getInputInfoCount
int getInputInfoCount()the necessary input arrays/tensors for an inference, order matters
repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
-
getOutputInfoList
List<Mlmodel.TensorInfo> getOutputInfoList()the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
-
getOutputInfo
the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
-
getOutputInfoCount
int getOutputInfoCount()the output arrays/tensors of the model, order matters
repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
-