supportedInputStorageFormats property
Output only. The formats this Model supports in
BatchPredictionJob.input_config.
If
PredictSchemata.instance_schema_uri
exists, the instances should be given as per that schema.
The possible formats are:
-
jsonlThe JSON Lines format, where each instance is a single line. UsesGcsSource. -
csvThe CSV format, where each instance is a single comma-separated line. The first line in the file is the header, containing comma-separated field names. UsesGcsSource. -
tf-recordThe TFRecord format, where each instance is a single record in tfrecord syntax. UsesGcsSource. -
tf-record-gzipSimilar totf-record, but the file is gzipped. UsesGcsSource. -
bigqueryEach instance is a single row in BigQuery. UsesBigQuerySource. -
file-listEach line of the file is the location of an instance to process, usesgcs_sourcefield of theInputConfigobject.
If this Model doesn't support any of these formats it means it cannot be
used with a
BatchPredictionJob.
However, if it has
supported_deployment_resources_types,
it could serve online predictions by using
PredictionService.Predict
or
PredictionService.Explain.
Implementation
final List<String> supportedInputStorageFormats;