Class: Google::Apis::LanguageV1::XpsExportModelOutputConfig
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsExportModelOutputConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb
Instance Attribute Summary collapse
-
#core_ml_format ⇒ Google::Apis::LanguageV1::XpsCoreMlFormat
A model format used for iOS mobile devices.
-
#docker_format ⇒ Google::Apis::LanguageV1::XpsDockerFormat
A model format used for Docker containers.
-
#edge_tpu_tf_lite_format ⇒ Google::Apis::LanguageV1::XpsEdgeTpuTfLiteFormat
A model format used for Edge TPU devices.
-
#export_firebase_auxiliary_info ⇒ Boolean
(also: #export_firebase_auxiliary_info?)
For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.
-
#output_gcr_uri ⇒ String
The Google Contained Registry (GCR) path the exported files to be pushed to.
-
#output_gcs_uri ⇒ String
The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files.
-
#tf_js_format ⇒ Google::Apis::LanguageV1::XpsTfJsFormat
A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.
-
#tf_lite_format ⇒ Google::Apis::LanguageV1::XpsTfLiteFormat
LINT.IfChange A model format used for mobile and IoT devices.
-
#tf_saved_model_format ⇒ Google::Apis::LanguageV1::XpsTfSavedModelFormat
A tensorflow model format in SavedModel format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsExportModelOutputConfig
constructor
A new instance of XpsExportModelOutputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsExportModelOutputConfig
Returns a new instance of XpsExportModelOutputConfig.
2422 2423 2424 |
# File 'lib/google/apis/language_v1/classes.rb', line 2422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#core_ml_format ⇒ Google::Apis::LanguageV1::XpsCoreMlFormat
A model format used for iOS mobile devices.
Corresponds to the JSON property coreMlFormat
2372 2373 2374 |
# File 'lib/google/apis/language_v1/classes.rb', line 2372 def core_ml_format @core_ml_format end |
#docker_format ⇒ Google::Apis::LanguageV1::XpsDockerFormat
A model format used for Docker containers. Use the params field to customize
the container. The container is verified to work correctly on ubuntu 16.04
operating system.
Corresponds to the JSON property dockerFormat
2379 2380 2381 |
# File 'lib/google/apis/language_v1/classes.rb', line 2379 def docker_format @docker_format end |
#edge_tpu_tf_lite_format ⇒ Google::Apis::LanguageV1::XpsEdgeTpuTfLiteFormat
A model format used for Edge TPU devices.
Corresponds to the JSON property edgeTpuTfLiteFormat
2384 2385 2386 |
# File 'lib/google/apis/language_v1/classes.rb', line 2384 def edge_tpu_tf_lite_format @edge_tpu_tf_lite_format end |
#export_firebase_auxiliary_info ⇒ Boolean Also known as: export_firebase_auxiliary_info?
For any model and format: If true, will additionally export
FirebaseExportedModelInfo in a firebase.txt file.
Corresponds to the JSON property exportFirebaseAuxiliaryInfo
2390 2391 2392 |
# File 'lib/google/apis/language_v1/classes.rb', line 2390 def export_firebase_auxiliary_info @export_firebase_auxiliary_info end |
#output_gcr_uri ⇒ String
The Google Contained Registry (GCR) path the exported files to be pushed to.
This location is set if the exported format is DOCKDER.
Corresponds to the JSON property outputGcrUri
2397 2398 2399 |
# File 'lib/google/apis/language_v1/classes.rb', line 2397 def output_gcr_uri @output_gcr_uri end |
#output_gcs_uri ⇒ String
The Google Cloud Storage (GCS) directory where XPS will output the exported
models and related files. Format: gs://bucket/directory
Corresponds to the JSON property outputGcsUri
2403 2404 2405 |
# File 'lib/google/apis/language_v1/classes.rb', line 2403 def output_gcs_uri @output_gcs_uri end |
#tf_js_format ⇒ Google::Apis::LanguageV1::XpsTfJsFormat
A TensorFlow.js model that can be used in the
browser and in Node.js using JavaScript.
Corresponds to the JSON property tfJsFormat
2409 2410 2411 |
# File 'lib/google/apis/language_v1/classes.rb', line 2409 def tf_js_format @tf_js_format end |
#tf_lite_format ⇒ Google::Apis::LanguageV1::XpsTfLiteFormat
LINT.IfChange A model format used for mobile and IoT devices. See https://www.
tensorflow.org/lite.
Corresponds to the JSON property tfLiteFormat
2415 2416 2417 |
# File 'lib/google/apis/language_v1/classes.rb', line 2415 def tf_lite_format @tf_lite_format end |
#tf_saved_model_format ⇒ Google::Apis::LanguageV1::XpsTfSavedModelFormat
A tensorflow model format in SavedModel format.
Corresponds to the JSON property tfSavedModelFormat
2420 2421 2422 |
# File 'lib/google/apis/language_v1/classes.rb', line 2420 def tf_saved_model_format @tf_saved_model_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 |
# File 'lib/google/apis/language_v1/classes.rb', line 2427 def update!(**args) @core_ml_format = args[:core_ml_format] if args.key?(:core_ml_format) @docker_format = args[:docker_format] if args.key?(:docker_format) @edge_tpu_tf_lite_format = args[:edge_tpu_tf_lite_format] if args.key?(:edge_tpu_tf_lite_format) @export_firebase_auxiliary_info = args[:export_firebase_auxiliary_info] if args.key?(:export_firebase_auxiliary_info) @output_gcr_uri = args[:output_gcr_uri] if args.key?(:output_gcr_uri) @output_gcs_uri = args[:output_gcs_uri] if args.key?(:output_gcs_uri) @tf_js_format = args[:tf_js_format] if args.key?(:tf_js_format) @tf_lite_format = args[:tf_lite_format] if args.key?(:tf_lite_format) @tf_saved_model_format = args[:tf_saved_model_format] if args.key?(:tf_saved_model_format) end |