Struct tensorflow::ops::LeakyReluGrad
source · [−]pub struct LeakyReluGrad { /* private fields */ }
Expand description
Builder for the LeakyReluGrad
operation.
Implementations
sourceimpl LeakyReluGrad
impl LeakyReluGrad
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>, O1: Into<Output>>(
&self,
gradients: O0,
features: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
gradients: O0,
features: O1,
scope: &mut Scope
) -> Result<Operation>
Builds the LeakyReluGrad
operation.
sourcepub fn build_instance(
&self,
gradients: Output,
features: Output,
scope: &mut Scope
) -> Result<LeakyReluGradInst>
pub fn build_instance(
&self,
gradients: Output,
features: Output,
scope: &mut Scope
) -> Result<LeakyReluGradInst>
Builds a new instance of ‘LeakyReluGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for LeakyReluGrad
impl Debug for LeakyReluGrad
sourceimpl Default for LeakyReluGrad
impl Default for LeakyReluGrad
sourcefn default() -> LeakyReluGrad
fn default() -> LeakyReluGrad
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for LeakyReluGrad
impl Send for LeakyReluGrad
impl Sync for LeakyReluGrad
impl Unpin for LeakyReluGrad
impl UnwindSafe for LeakyReluGrad
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more