Struct tensorflow::ops::L2Loss
source · pub struct L2Loss { /* private fields */ }
Expand description
Builder for the L2Loss
operation.
Implementations§
source§impl L2Loss
impl L2Loss
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,
t: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, t: O0, scope: &mut Scope ) -> Result<Operation>
Builds the L2Loss
operation.
sourcepub fn build_instance(&self, t: Output, scope: &mut Scope) -> Result<L2LossInst>
pub fn build_instance(&self, t: Output, scope: &mut Scope) -> Result<L2LossInst>
Builds a new instance of ‘L2Loss’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for L2Loss
impl Send for L2Loss
impl Sync for L2Loss
impl Unpin for L2Loss
impl UnwindSafe for L2Loss
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