Struct tensorflow::ops::SdcaShrinkL1
source · pub struct SdcaShrinkL1 { /* private fields */ }
Expand description
Builder for the SdcaShrinkL1
operation.
Implementations§
source§impl SdcaShrinkL1
impl SdcaShrinkL1
sourcepub fn num_features<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_features<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_features
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
weights: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, weights: O0, scope: &mut Scope ) -> Result<Operation>
Builds the SdcaShrinkL1
operation.
sourcepub fn build_instance(
&self,
weights: Vec<Output>,
scope: &mut Scope
) -> Result<SdcaShrinkL1Inst>
pub fn build_instance( &self, weights: Vec<Output>, scope: &mut Scope ) -> Result<SdcaShrinkL1Inst>
Builds a new instance of ‘SdcaShrinkL1’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SdcaShrinkL1
impl Debug for SdcaShrinkL1
source§impl Default for SdcaShrinkL1
impl Default for SdcaShrinkL1
source§fn default() -> SdcaShrinkL1
fn default() -> SdcaShrinkL1
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SdcaShrinkL1
impl Send for SdcaShrinkL1
impl Sync for SdcaShrinkL1
impl Unpin for SdcaShrinkL1
impl UnwindSafe for SdcaShrinkL1
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