pub struct QuantizedBatchNormWithGlobalNormalization { /* private fields */ }
Expand description
QuantizedBatchNormWithGlobalNormalization
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizedBatchNormWithGlobalNormalization
Implementations§
source§impl QuantizedBatchNormWithGlobalNormalization
impl QuantizedBatchNormWithGlobalNormalization
sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
attribute.
sourcepub fn variance_epsilon<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn variance_epsilon<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the variance_epsilon
attribute.
sourcepub fn scale_after_normalization<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn scale_after_normalization<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the scale_after_normalization
attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>, T9: ToTensorHandle<'a>, T10: ToTensorHandle<'a>, T11: ToTensorHandle<'a>, T12: ToTensorHandle<'a>, T13: ToTensorHandle<'a>, T14: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
t: &T0,
t_min: &T1,
t_max: &T2,
m: &T3,
m_min: &T4,
m_max: &T5,
v: &T6,
v_min: &T7,
v_max: &T8,
beta: &T9,
beta_min: &T10,
beta_max: &T11,
gamma: &T12,
gamma_min: &T13,
gamma_max: &T14
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>, T9: ToTensorHandle<'a>, T10: ToTensorHandle<'a>, T11: ToTensorHandle<'a>, T12: ToTensorHandle<'a>, T13: ToTensorHandle<'a>, T14: ToTensorHandle<'a>>( &self, ctx: &'a Context, t: &T0, t_min: &T1, t_max: &T2, m: &T3, m_min: &T4, m_max: &T5, v: &T6, v_min: &T7, v_max: &T8, beta: &T9, beta_min: &T10, beta_max: &T11, gamma: &T12, gamma_min: &T13, gamma_max: &T14 ) -> Result<[TensorHandle<'a>; 3]>
Execute quantized_batch_norm_with_global_normalization.
Trait Implementations§
source§impl Clone for QuantizedBatchNormWithGlobalNormalization
impl Clone for QuantizedBatchNormWithGlobalNormalization
source§fn clone(&self) -> QuantizedBatchNormWithGlobalNormalization
fn clone(&self) -> QuantizedBatchNormWithGlobalNormalization
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for QuantizedBatchNormWithGlobalNormalization
impl Send for QuantizedBatchNormWithGlobalNormalization
impl Sync for QuantizedBatchNormWithGlobalNormalization
impl Unpin for QuantizedBatchNormWithGlobalNormalization
impl UnwindSafe for QuantizedBatchNormWithGlobalNormalization
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