[][src]Struct gcp_client::google::cloud::automl::v1::ModelExportOutputConfig

pub struct ModelExportOutputConfig {
    pub model_format: String,
    pub params: HashMap<String, String>,
    pub destination: Option<Destination>,
}

Output configuration for ModelExport Action.

Fields

model_format: String

The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable):

  • For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker".

  • For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default).

  • For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". Formats description:

  • tflite - Used for Android mobile devices.

  • edgetpu_tflite - Used for Edge TPU devices.

  • tf_saved_model - A tensorflow model in SavedModel format.

  • tf_js - A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.

  • docker - Used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system. See more at [containers

quickstart](https: //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)

  • core_ml - Used for iOS mobile devices.
params: HashMap<String, String>

Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.

  • For docker format: cpu_architecture - (string) "x86_64" (default). gpu_architecture - (string) "none" (default), "nvidia".
destination: Option<Destination>

The destination of the output.

Trait Implementations

impl Clone for ModelExportOutputConfig[src]

impl Debug for ModelExportOutputConfig[src]

impl Default for ModelExportOutputConfig[src]

impl Message for ModelExportOutputConfig[src]

impl PartialEq<ModelExportOutputConfig> for ModelExportOutputConfig[src]

impl StructuralPartialEq for ModelExportOutputConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]