# Google Cloud Document Ai V1 Client - Class FoundationModelTuningOptions (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class FoundationModelTuningOptions.

Options to control foundation model tuning of the processor.

Generated from protobuf message `google.cloud.documentai.v1.TrainProcessorVersionRequest.FoundationModelTuningOptions`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ TrainProcessorVersionRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ train_steps` | `int` 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. |
| `↳ learning_rate_multiplier` | `float` 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. |

### getTrainSteps

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setTrainSteps

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLearningRateMultiplier

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setLearningRateMultiplier

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |