pub struct GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions {
pub learning_rate_multiplier: Option<f32>,
pub train_steps: Option<i32>,
}Expand description
Options to control foundation model tuning of the processor.
This type is not used in any activity, and only used as part of another schema.
Fields§
§learning_rate_multiplier: Option<f32>Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used.
train_steps: Option<i32>Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Clone for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Source§fn clone(
&self,
) -> GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
fn clone( &self, ) -> GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Debug for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Source§impl Default for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Default for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Source§fn default() -> GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
fn default() -> GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Serialize for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Part for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl RefUnwindSafe for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Send for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Sync for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl Unpin for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
impl UnwindSafe for GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more