Struct google_api_proto::google::cloud::aiplatform::v1beta1::schema::trainingjob::definition::AutoMlImageSegmentationInputs
source · pub struct AutoMlImageSegmentationInputs {
pub model_type: i32,
pub budget_milli_node_hours: i64,
pub base_model_id: String,
}
Fields§
§model_type: i32
§budget_milli_node_hours: i64
The training budget of creating this model, expressed in milli node
hours i.e. 1,000 value in this field means 1 node hour. The actual
metadata.costMilliNodeHours will be equal or less than this value.
If further model training ceases to provide any improvements, it will
stop without using the full budget and the metadata.successfulStopReason
will be model-converged
.
Note, node_hour = actual_hour * number_of_nodes_involved. Or
actaul_wall_clock_hours = train_budget_milli_node_hours /
(number_of_nodes_involved * 1000)
For modelType cloud-high-accuracy-1
(default), the budget must be between
20,000 and 2,000,000 milli node hours, inclusive. The default value is
192,000 which represents one day in wall time
(1000 milli * 24 hours * 8 nodes).
base_model_id: String
The ID of the base
model. If it is specified, the new model will be
trained based on the base
model. Otherwise, the new model will be
trained from scratch. The base
model must be in the same
Project and Location as the new Model to train, and have the same
modelType.
Implementations§
source§impl AutoMlImageSegmentationInputs
impl AutoMlImageSegmentationInputs
sourcepub fn model_type(&self) -> ModelType
pub fn model_type(&self) -> ModelType
Returns the enum value of model_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_model_type(&mut self, value: ModelType)
pub fn set_model_type(&mut self, value: ModelType)
Sets model_type
to the provided enum value.
Trait Implementations§
source§impl Clone for AutoMlImageSegmentationInputs
impl Clone for AutoMlImageSegmentationInputs
source§fn clone(&self) -> AutoMlImageSegmentationInputs
fn clone(&self) -> AutoMlImageSegmentationInputs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for AutoMlImageSegmentationInputs
impl Message for AutoMlImageSegmentationInputs
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AutoMlImageSegmentationInputs
impl PartialEq for AutoMlImageSegmentationInputs
source§fn eq(&self, other: &AutoMlImageSegmentationInputs) -> bool
fn eq(&self, other: &AutoMlImageSegmentationInputs) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoMlImageSegmentationInputs
Auto Trait Implementations§
impl Freeze for AutoMlImageSegmentationInputs
impl RefUnwindSafe for AutoMlImageSegmentationInputs
impl Send for AutoMlImageSegmentationInputs
impl Sync for AutoMlImageSegmentationInputs
impl Unpin for AutoMlImageSegmentationInputs
impl UnwindSafe for AutoMlImageSegmentationInputs
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request