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