[−][src]Struct google_ml1::GoogleCloudMlV1__PredictionInput
Represents input parameters for a prediction job.
This type is not used in any activity, and only used as part of another schema.
Fields
model_name: Option<String>
Use this field if you want to use the default version for the specified model. The string must use the following format:
"projects/YOUR_PROJECT/models/YOUR_MODEL"
signature_name: Option<String>
Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures.
Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
runtime_version: Option<String>
Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
batch_size: Option<String>
Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
max_worker_count: Option<String>
Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
input_paths: Option<Vec<String>>
Required. The Cloud Storage location of the input data files. May contain wildcards.
uri: Option<String>
Use this field if you want to specify a Google Cloud Storage path for the model to use.
output_path: Option<String>
Required. The output Google Cloud Storage location.
data_format: Option<String>
Required. The format of the input data files.
version_name: Option<String>
Use this field if you want to specify a version of the model to use. The
string is formatted the same way as model_version
, with the addition
of the version information:
"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"
region: Option<String>
Required. The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
output_data_format: Option<String>
Optional. Format of the output data files, defaults to JSON.
Trait Implementations
impl Part for GoogleCloudMlV1__PredictionInput
[src]
impl Default for GoogleCloudMlV1__PredictionInput
[src]
impl Clone for GoogleCloudMlV1__PredictionInput
[src]
fn clone(&self) -> GoogleCloudMlV1__PredictionInput
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudMlV1__PredictionInput
[src]
impl Serialize for GoogleCloudMlV1__PredictionInput
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GoogleCloudMlV1__PredictionInput
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GoogleCloudMlV1__PredictionInput
impl Unpin for GoogleCloudMlV1__PredictionInput
impl Sync for GoogleCloudMlV1__PredictionInput
impl UnwindSafe for GoogleCloudMlV1__PredictionInput
impl RefUnwindSafe for GoogleCloudMlV1__PredictionInput
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,