GoogleCloudMlV1PredictionInput class
Represents input parameters for a prediction job.
Constructors
-
GoogleCloudMlV1PredictionInput({Input<
String> ? batchSize, required Input<GoogleCloudMlV1PredictionInputDataFormat> dataFormat, required Input<List< inputPaths, Input<String> >String> ? maxWorkerCount, Input<String> ? modelName, Input<GoogleCloudMlV1PredictionInputOutputDataFormat> ? outputDataFormat, required Input<String> outputPath, required Input<String> region, Input<String> ? runtimeVersion, Input<String> ? signatureName, Input<String> ? uri, Input<String> ? versionName}) -
Creates a new GoogleCloudMlV1PredictionInput.
batchSizeOptional. 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.dataFormatThe format of the input data files.inputPathsThe Cloud Storage location of the input data files. May contain wildcards.maxWorkerCountOptional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.modelNameUse 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"outputDataFormatOptional. Format of the output data files, defaults to JSON.outputPathThe output Google Cloud Storage location.regionThe Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.runtimeVersionOptional. 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.signatureNameOptional. 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".uriUse this field if you want to specify a Google Cloud Storage path for the model to use.versionNameUse this field if you want to specify a version of the model to use. The string is formatted the same way asmodel_version, with the addition of the version information:"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"const -
GoogleCloudMlV1PredictionInput.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
batchSize
→ Input<
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.
final
-
dataFormat
→ Input<
GoogleCloudMlV1PredictionInputDataFormat> -
The format of the input data files.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputPaths
→ Input<
List< String> > -
The Cloud Storage location of the input data files. May contain wildcards.
final
-
maxWorkerCount
→ Input<
String> ? -
Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
final
-
modelName
→ Input<
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"final -
outputDataFormat
→ Input<
GoogleCloudMlV1PredictionInputOutputDataFormat> ? -
Optional. Format of the output data files, defaults to JSON.
final
-
outputPath
→ Input<
String> -
The output Google Cloud Storage location.
final
-
region
→ Input<
String> -
The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
runtimeVersion
→ Input<
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.
final
-
signatureName
→ Input<
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".
final
-
uri
→ Input<
String> ? -
Use this field if you want to specify a Google Cloud Storage path for the model to use.
final
-
versionName
→ Input<
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"final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited