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