Class: Google::Apis::LanguageV1beta2::XpsExportModelOutputConfig
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsExportModelOutputConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#core_ml_format ⇒ Google::Apis::LanguageV1beta2::XpsCoreMlFormat
A model format used for iOS mobile devices.
-
#docker_format ⇒ Google::Apis::LanguageV1beta2::XpsDockerFormat
A model format used for Docker containers.
-
#edge_tpu_tf_lite_format ⇒ Google::Apis::LanguageV1beta2::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 path the exported files to be pushed to.
-
#output_gcs_uri ⇒ String
The Google Cloud Storage directory where XPS will output the exported models and related files.
-
#tf_js_format ⇒ Google::Apis::LanguageV1beta2::XpsTfJsFormat
A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.
-
#tf_lite_format ⇒ Google::Apis::LanguageV1beta2::XpsTfLiteFormat
LINT.IfChange A model format used for mobile and IoT devices.
-
#tf_saved_model_format ⇒ Google::Apis::LanguageV1beta2::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.
2436 2437 2438 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#core_ml_format ⇒ Google::Apis::LanguageV1beta2::XpsCoreMlFormat
A model format used for iOS mobile devices.
Corresponds to the JSON property coreMlFormat
2386 2387 2388 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2386 def core_ml_format @core_ml_format end |
#docker_format ⇒ Google::Apis::LanguageV1beta2::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
2393 2394 2395 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2393 def docker_format @docker_format end |
#edge_tpu_tf_lite_format ⇒ Google::Apis::LanguageV1beta2::XpsEdgeTpuTfLiteFormat
A model format used for Edge TPU devices.
Corresponds to the JSON property edgeTpuTfLiteFormat
2398 2399 2400 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2398 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
2404 2405 2406 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2404 def export_firebase_auxiliary_info @export_firebase_auxiliary_info end |
#output_gcr_uri ⇒ String
The Google Contained Registry path the exported files to be pushed to. This
location is set if the exported format is DOCKDER.
Corresponds to the JSON property outputGcrUri
2411 2412 2413 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2411 def output_gcr_uri @output_gcr_uri end |
#output_gcs_uri ⇒ String
The Google Cloud Storage directory where XPS will output the exported models
and related files. Format: gs://bucket/directory
Corresponds to the JSON property outputGcsUri
2417 2418 2419 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2417 def output_gcs_uri @output_gcs_uri end |
#tf_js_format ⇒ Google::Apis::LanguageV1beta2::XpsTfJsFormat
A TensorFlow.js model that can be used in the
browser and in Node.js using JavaScript.
Corresponds to the JSON property tfJsFormat
2423 2424 2425 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2423 def tf_js_format @tf_js_format end |
#tf_lite_format ⇒ Google::Apis::LanguageV1beta2::XpsTfLiteFormat
LINT.IfChange A model format used for mobile and IoT devices. See https://www.
tensorflow.org/lite.
Corresponds to the JSON property tfLiteFormat
2429 2430 2431 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2429 def tf_lite_format @tf_lite_format end |
#tf_saved_model_format ⇒ Google::Apis::LanguageV1beta2::XpsTfSavedModelFormat
A tensorflow model format in SavedModel format.
Corresponds to the JSON property tfSavedModelFormat
2434 2435 2436 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2434 def tf_saved_model_format @tf_saved_model_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2441 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 |