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