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