GoogleApi.Language.V2.Model.XPSImageModelArtifactSpec (google_api_language v0.16.3)

View Source

Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.

Attributes

  • checkpointArtifact (type: GoogleApi.Language.V2.Model.XPSModelArtifactItem.t, default: nil) - The Tensorflow checkpoint files. e.g. Used for resumable training.
  • exportArtifact (type: list(GoogleApi.Language.V2.Model.XPSModelArtifactItem.t), default: nil) - The model binary files in different formats for model export.
  • labelGcsUri (type: String.t, default: nil) - Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
  • servingArtifact (type: GoogleApi.Language.V2.Model.XPSModelArtifactItem.t, default: nil) - The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API.
  • tfJsBinaryGcsPrefix (type: String.t, default: nil) - Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.
  • tfLiteMetadataGcsUri (type: String.t, default: nil) - Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V2.Model.XPSImageModelArtifactSpec{
  checkpointArtifact:
    GoogleApi.Language.V2.Model.XPSModelArtifactItem.t() | nil,
  exportArtifact: [GoogleApi.Language.V2.Model.XPSModelArtifactItem.t()] | nil,
  labelGcsUri: String.t() | nil,
  servingArtifact: GoogleApi.Language.V2.Model.XPSModelArtifactItem.t() | nil,
  tfJsBinaryGcsPrefix: String.t() | nil,
  tfLiteMetadataGcsUri: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.