Class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Describes a sample at a checkpoint for post-processing.
Instance Attribute Summary collapse
-
#codey_truncator_metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata
Metadata describing what was truncated at each checkpoint.
-
#current_sample ⇒ String
Current state of the sample after truncator.
-
#post_inference_step ⇒ String
Postprocessor run that yielded this checkpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootCodeyCheckpoint
constructor
A new instance of LearningGenaiRootCodeyCheckpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootCodeyCheckpoint
Returns a new instance of LearningGenaiRootCodeyCheckpoint.
30795 30796 30797 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#codey_truncator_metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata
Metadata describing what was truncated at each checkpoint.
Corresponds to the JSON property codeyTruncatorMetadata
30783 30784 30785 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30783 def @codey_truncator_metadata end |
#current_sample ⇒ String
Current state of the sample after truncator.
Corresponds to the JSON property currentSample
30788 30789 30790 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30788 def current_sample @current_sample end |
#post_inference_step ⇒ String
Postprocessor run that yielded this checkpoint.
Corresponds to the JSON property postInferenceStep
30793 30794 30795 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30793 def post_inference_step @post_inference_step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30800 30801 30802 30803 30804 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30800 def update!(**args) @codey_truncator_metadata = args[:codey_truncator_metadata] if args.key?(:codey_truncator_metadata) @current_sample = args[:current_sample] if args.key?(:current_sample) @post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step) end |