GoogleCloudMlV1__PredictionInputResponse

data class GoogleCloudMlV1__PredictionInputResponse(val batchSize: String, val dataFormat: String, val inputPaths: List<String>, val maxWorkerCount: String, val modelName: String, val outputDataFormat: String, val outputPath: String, val region: String, val runtimeVersion: String, val signatureName: String, val uri: String, val versionName: String)

Represents input parameters for a prediction job.

Constructors

Link copied to clipboard
constructor(batchSize: String, dataFormat: String, inputPaths: List<String>, maxWorkerCount: String, modelName: String, outputDataFormat: String, outputPath: String, region: String, runtimeVersion: String, signatureName: String, uri: String, versionName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

The format of the input data files.

Link copied to clipboard

The Cloud Storage location of the input data files. May contain wildcards.

Link copied to clipboard

Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.

Link copied to clipboard

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"

Link copied to clipboard

Optional. Format of the output data files, defaults to JSON.

Link copied to clipboard

The output Google Cloud Storage location.

Link copied to clipboard

The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.

Link copied to clipboard

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.

Link copied to clipboard

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".

Link copied to clipboard
val uri: String

Use this field if you want to specify a Google Cloud Storage path for the model to use.

Link copied to clipboard

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"