GoogleCloudMlV1PredictionInput class
Represents input parameters for a prediction job.
Constructors
Properties
- batchSize ↔ 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.
read / write
- dataFormat ↔ String
-
Required. The format of the input data files.
Possible string values are: [...]
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
inputPaths
↔ List<
String> -
Required. The Cloud Storage location of the input data files. May contain
wildcards.
read / write
- maxWorkerCount ↔ String
-
Optional. The maximum number of workers to be used for parallel
processing. Defaults to 10 if not specified.
read / write
- modelName ↔ 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"
read / write - outputDataFormat ↔ String
-
Optional. Format of the output data files, defaults to JSON.
Possible string values are: [...]
read / write
- outputPath ↔ String
-
Required. The output Google Cloud Storage location.
read / write
- region ↔ String
-
Required. The Google Compute Engine region to run the prediction job in.
See the available regions for AI Platform services.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- runtimeVersion ↔ 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.
read / write
- signatureName ↔ 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".
read / write
- uri ↔ String
-
Use this field if you want to specify a Google Cloud Storage path for the
model to use.
read / write
- versionName ↔ 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"
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited