Enum googapis::google::cloud::automl::v1::model::ModelMetadata [−][src]
pub enum ModelMetadata {
TranslationModelMetadata(TranslationModelMetadata),
ImageClassificationModelMetadata(ImageClassificationModelMetadata),
TextClassificationModelMetadata(TextClassificationModelMetadata),
ImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata),
TextExtractionModelMetadata(TextExtractionModelMetadata),
TextSentimentModelMetadata(TextSentimentModelMetadata),
}
Expand description
Required. The model metadata that is specific to the problem type. Must match the metadata type of the dataset used to train the model.
Variants
TranslationModelMetadata(TranslationModelMetadata)
Metadata for translation models.
Tuple Fields of TranslationModelMetadata
ImageClassificationModelMetadata(ImageClassificationModelMetadata)
Metadata for image classification models.
Tuple Fields of ImageClassificationModelMetadata
TextClassificationModelMetadata(TextClassificationModelMetadata)
Metadata for text classification models.
Tuple Fields of TextClassificationModelMetadata
ImageObjectDetectionModelMetadata(ImageObjectDetectionModelMetadata)
Metadata for image object detection models.
Tuple Fields of ImageObjectDetectionModelMetadata
TextExtractionModelMetadata(TextExtractionModelMetadata)
Metadata for text extraction models.
Tuple Fields of TextExtractionModelMetadata
TextSentimentModelMetadata(TextSentimentModelMetadata)
Metadata for text sentiment models.
Tuple Fields of TextSentimentModelMetadata
Implementations
pub fn merge<B>(
field: &mut Option<ModelMetadata>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModelMetadata
impl Send for ModelMetadata
impl Sync for ModelMetadata
impl Unpin for ModelMetadata
impl UnwindSafe for ModelMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more