pub struct PlannedBinding {
pub target_name: String,
pub expected_shape: Vec<usize>,
pub expected_dtype: RecipeDtype,
pub recipe: DerivedWeightRecipe,
}Expand description
One logical parameter target and the exact recipe that produces it.
Fields§
§target_name: StringStable parameter identity populated by this binding.
expected_shape: Vec<usize>Exact logical shape required by the destination.
expected_dtype: RecipeDtypeLogical dtype required by the destination.
recipe: DerivedWeightRecipeDeclarative transformation from checkpoint sources to the target.
Implementations§
Trait Implementations§
Source§impl Clone for PlannedBinding
impl Clone for PlannedBinding
Source§fn clone(&self) -> PlannedBinding
fn clone(&self) -> PlannedBinding
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 PlannedBinding
impl Debug for PlannedBinding
impl Eq for PlannedBinding
Source§impl PartialEq for PlannedBinding
impl PartialEq for PlannedBinding
impl StructuralPartialEq for PlannedBinding
Auto Trait Implementations§
impl Freeze for PlannedBinding
impl RefUnwindSafe for PlannedBinding
impl Send for PlannedBinding
impl Sync for PlannedBinding
impl Unpin for PlannedBinding
impl UnsafeUnpin for PlannedBinding
impl UnwindSafe for PlannedBinding
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