Class DistillationHyperParameters (3.48.0)

public final class DistillationHyperParameters extends GeneratedMessageV3 implements DistillationHyperParametersOrBuilder

Hyperparameters for Distillation.

Protobuf type google.cloud.aiplatform.v1beta1.DistillationHyperParameters

Static Fields

ADAPTER_SIZE_FIELD_NUMBER

public static final int ADAPTER_SIZE_FIELD_NUMBER
Field Value
Type Description
int

EPOCH_COUNT_FIELD_NUMBER

public static final int EPOCH_COUNT_FIELD_NUMBER
Field Value
Type Description
int

LEARNING_RATE_MULTIPLIER_FIELD_NUMBER

public static final int LEARNING_RATE_MULTIPLIER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DistillationHyperParameters getDefaultInstance()
Returns
Type Description
DistillationHyperParameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DistillationHyperParameters.Builder newBuilder()
Returns
Type Description
DistillationHyperParameters.Builder

newBuilder(DistillationHyperParameters prototype)

public static DistillationHyperParameters.Builder newBuilder(DistillationHyperParameters prototype)
Parameter
Name Description
prototype DistillationHyperParameters
Returns
Type Description
DistillationHyperParameters.Builder

parseDelimitedFrom(InputStream input)

public static DistillationHyperParameters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DistillationHyperParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DistillationHyperParameters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DistillationHyperParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DistillationHyperParameters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DistillationHyperParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DistillationHyperParameters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DistillationHyperParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DistillationHyperParameters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DistillationHyperParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DistillationHyperParameters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DistillationHyperParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistillationHyperParameters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DistillationHyperParameters> parser()
Returns
Type Description
Parser<DistillationHyperParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdapterSize()

public SupervisedHyperParameters.AdapterSize getAdapterSize()

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SupervisedHyperParameters.AdapterSize

The adapterSize.

getAdapterSizeValue()

public int getAdapterSizeValue()

Optional. Adapter size for distillation.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for adapterSize.

getDefaultInstanceForType()

public DistillationHyperParameters getDefaultInstanceForType()
Returns
Type Description
DistillationHyperParameters

getEpochCount()

public long getEpochCount()

Optional. Number of complete passes the model makes over the entire training dataset during training.

optional int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The epochCount.

getLearningRateMultiplier()

public double getLearningRateMultiplier()

Optional. Multiplier for adjusting the default learning rate.

optional double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The learningRateMultiplier.

getParserForType()

public Parser<DistillationHyperParameters> getParserForType()
Returns
Type Description
Parser<DistillationHyperParameters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEpochCount()

public boolean hasEpochCount()

Optional. Number of complete passes the model makes over the entire training dataset during training.

optional int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the epochCount field is set.

hasLearningRateMultiplier()

public boolean hasLearningRateMultiplier()

Optional. Multiplier for adjusting the default learning rate.

optional double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the learningRateMultiplier field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DistillationHyperParameters.Builder newBuilderForType()
Returns
Type Description
DistillationHyperParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DistillationHyperParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DistillationHyperParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DistillationHyperParameters.Builder toBuilder()
Returns
Type Description
DistillationHyperParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException