pub struct ModelProfile {Show 14 fields
pub predictor: Option<String>,
pub train: Option<ModelStats>,
pub model_state: Option<String>,
pub undeploy: Option<ModelStats>,
pub register: Option<ModelStats>,
pub predict: Option<ModelStats>,
pub memory_size_estimation_cpu: Option<u32>,
pub deploy: Option<ModelStats>,
pub target_worker_nodes: Option<Vec<NodeIds>>,
pub train_predict: Option<ModelStats>,
pub predict_request_stats: Option<PredictRequestStats>,
pub execute: Option<ModelStats>,
pub worker_nodes: Option<Vec<NodeIds>>,
pub memory_size_estimation_gpu: Option<u32>,
}Fields§
§predictor: Option<String>The predictor.
train: Option<ModelStats>§model_state: Option<String>The model state.
undeploy: Option<ModelStats>§register: Option<ModelStats>§predict: Option<ModelStats>§memory_size_estimation_cpu: Option<u32>The estimated memory size in CPU.
deploy: Option<ModelStats>§target_worker_nodes: Option<Vec<NodeIds>>§train_predict: Option<ModelStats>§predict_request_stats: Option<PredictRequestStats>§execute: Option<ModelStats>§worker_nodes: Option<Vec<NodeIds>>§memory_size_estimation_gpu: Option<u32>The estimated memory size in GPU.
Implementations§
Source§impl ModelProfile
impl ModelProfile
pub fn new() -> ModelProfile
Trait Implementations§
Source§impl Clone for ModelProfile
impl Clone for ModelProfile
Source§fn clone(&self) -> ModelProfile
fn clone(&self) -> ModelProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelProfile
impl Debug for ModelProfile
Source§impl Default for ModelProfile
impl Default for ModelProfile
Source§fn default() -> ModelProfile
fn default() -> ModelProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelProfile
impl<'de> Deserialize<'de> for ModelProfile
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 PartialEq for ModelProfile
impl PartialEq for ModelProfile
Source§fn eq(&self, other: &ModelProfile) -> bool
fn eq(&self, other: &ModelProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelProfile
impl Serialize for ModelProfile
impl StructuralPartialEq for ModelProfile
Auto Trait Implementations§
impl Freeze for ModelProfile
impl RefUnwindSafe for ModelProfile
impl Send for ModelProfile
impl Sync for ModelProfile
impl Unpin for ModelProfile
impl UnsafeUnpin for ModelProfile
impl UnwindSafe for ModelProfile
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