Struct tensorflow::ops::ReluGrad
source · [−]pub struct ReluGrad { /* private fields */ }
Expand description
Builder for the ReluGrad
operation.
Implementations
sourceimpl ReluGrad
impl ReluGrad
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 ReluGrad
operation.
sourcepub fn build_instance(
&self,
gradients: Output,
features: Output,
scope: &mut Scope
) -> Result<ReluGradInst>
pub fn build_instance(
&self,
gradients: Output,
features: Output,
scope: &mut Scope
) -> Result<ReluGradInst>
Builds a new instance of ‘ReluGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReluGrad
impl Send for ReluGrad
impl Sync for ReluGrad
impl Unpin for ReluGrad
impl UnwindSafe for ReluGrad
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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