Class: Google::Cloud::AIPlatform::V1::Model::ExportFormat

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/model.rb

Overview

Represents export format supported by the Model. All formats export to Google Cloud Storage.

Defined Under Namespace

Modules: ExportableContent

Instance Attribute Summary collapse

Instance Attribute Details

#exportable_contents::Array<::Google::Cloud::AIPlatform::V1::Model::ExportFormat::ExportableContent> (readonly)

Returns Output only. The content of this Model that may be exported.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/cloud/aiplatform/v1/model.rb', line 340

class ExportFormat
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The Model content that can be exported.
  module ExportableContent
    # Should not be used.
    EXPORTABLE_CONTENT_UNSPECIFIED = 0

    # Model artifact and any of its supported files. Will be exported to the
    # location specified by the `artifactDestination` field of the
    # {::Google::Cloud::AIPlatform::V1::ExportModelRequest#output_config ExportModelRequest.output_config}
    # object.
    ARTIFACT = 1

    # The container image that is to be used when deploying this Model. Will
    # be exported to the location specified by the `imageDestination` field
    # of the
    # {::Google::Cloud::AIPlatform::V1::ExportModelRequest#output_config ExportModelRequest.output_config}
    # object.
    IMAGE = 2
  end
end

#id::String (readonly)

Returns Output only. The ID of the export format. The possible format IDs are:

  • tflite Used for Android mobile devices.

  • edgetpu-tflite Used for Edge TPU devices.

  • tf-saved-model A tensorflow model in SavedModel format.

  • tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.

  • core-ml Used for iOS mobile devices.

  • custom-trained A Model that was uploaded or trained by custom code.

Returns:

  • (::String)

    Output only. The ID of the export format. The possible format IDs are:

    • tflite Used for Android mobile devices.

    • edgetpu-tflite Used for Edge TPU devices.

    • tf-saved-model A tensorflow model in SavedModel format.

    • tf-js A TensorFlow.js model that can be used in the browser and in Node.js using JavaScript.

    • core-ml Used for iOS mobile devices.

    • custom-trained A Model that was uploaded or trained by custom code.



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/cloud/aiplatform/v1/model.rb', line 340

class ExportFormat
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The Model content that can be exported.
  module ExportableContent
    # Should not be used.
    EXPORTABLE_CONTENT_UNSPECIFIED = 0

    # Model artifact and any of its supported files. Will be exported to the
    # location specified by the `artifactDestination` field of the
    # {::Google::Cloud::AIPlatform::V1::ExportModelRequest#output_config ExportModelRequest.output_config}
    # object.
    ARTIFACT = 1

    # The container image that is to be used when deploying this Model. Will
    # be exported to the location specified by the `imageDestination` field
    # of the
    # {::Google::Cloud::AIPlatform::V1::ExportModelRequest#output_config ExportModelRequest.output_config}
    # object.
    IMAGE = 2
  end
end