Class: Google::Apis::LanguageV1beta2::XpsDockerFormat

Inherits:
Object
  • Object
show all
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

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsDockerFormat

Returns a new instance of XpsDockerFormat.



2159
2160
2161
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2159

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cpu_architectureString

Optional. Additional cpu information describing the requirements for the to be exported model files. Corresponds to the JSON property cpuArchitecture

Returns:

  • (String)


2151
2152
2153
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2151

def cpu_architecture
  @cpu_architecture
end

#gpu_architectureString

Optional. Additional gpu information describing the requirements for the to be exported model files. Corresponds to the JSON property gpuArchitecture

Returns:

  • (String)


2157
2158
2159
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2157

def gpu_architecture
  @gpu_architecture
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2164
2165
2166
2167
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2164

def update!(**args)
  @cpu_architecture = args[:cpu_architecture] if args.key?(:cpu_architecture)
  @gpu_architecture = args[:gpu_architecture] if args.key?(:gpu_architecture)
end