Struct tensorflow::ops::FakeQuantWithMinMaxArgsGradient
source · pub struct FakeQuantWithMinMaxArgsGradient { /* private fields */ }
Expand description
Builder for the FakeQuantWithMinMaxArgsGradient
operation.
Implementations§
source§impl FakeQuantWithMinMaxArgsGradient
impl FakeQuantWithMinMaxArgsGradient
sourcepub fn narrow_range<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn narrow_range<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the narrow_range
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>>(
&self,
gradients: O0,
inputs: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, gradients: O0, inputs: O1, scope: &mut Scope ) -> Result<Operation>
Builds the FakeQuantWithMinMaxArgsGradient
operation.
sourcepub fn build_instance(
&self,
gradients: Output,
inputs: Output,
scope: &mut Scope
) -> Result<FakeQuantWithMinMaxArgsGradientInst>
pub fn build_instance( &self, gradients: Output, inputs: Output, scope: &mut Scope ) -> Result<FakeQuantWithMinMaxArgsGradientInst>
Builds a new instance of ‘FakeQuantWithMinMaxArgsGradient’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for FakeQuantWithMinMaxArgsGradient
impl Default for FakeQuantWithMinMaxArgsGradient
source§fn default() -> FakeQuantWithMinMaxArgsGradient
fn default() -> FakeQuantWithMinMaxArgsGradient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FakeQuantWithMinMaxArgsGradient
impl Send for FakeQuantWithMinMaxArgsGradient
impl Sync for FakeQuantWithMinMaxArgsGradient
impl Unpin for FakeQuantWithMinMaxArgsGradient
impl UnwindSafe for FakeQuantWithMinMaxArgsGradient
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