class Google::Apis::TpuV1alpha1::TensorFlowVersion
A tensorflow version that a Node
can be configured with.
Attributes
name[RW]
The resource name. Corresponds to the JSON property `name` @return [String]
version[RW]
the tensorflow version. Corresponds to the JSON property `version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/tpu_v1alpha1/classes.rb, line 713 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/tpu_v1alpha1/classes.rb, line 718 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end