Struct tensorflow::eager::raw_ops::QuantizedConv2DPerChannel
source · pub struct QuantizedConv2DPerChannel { /* private fields */ }
Expand description
QuantizedConv2DPerChannel
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizedConv2DPerChannel
Implementations§
source§impl QuantizedConv2DPerChannel
impl QuantizedConv2DPerChannel
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 strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the strides
attribute.
sourcepub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the padding
attribute.
sourcepub fn dilations<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn dilations<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the dilations
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>>(
&self,
ctx: &'a Context,
input: &T0,
filter: &T1,
min_input: &T2,
max_input: &T3,
min_filter: &T4,
max_filter: &T5
) -> 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>>( &self, ctx: &'a Context, input: &T0, filter: &T1, min_input: &T2, max_input: &T3, min_filter: &T4, max_filter: &T5 ) -> Result<[TensorHandle<'a>; 3]>
Execute quantized_conv2_dper_channel.
Trait Implementations§
source§impl Clone for QuantizedConv2DPerChannel
impl Clone for QuantizedConv2DPerChannel
source§fn clone(&self) -> QuantizedConv2DPerChannel
fn clone(&self) -> QuantizedConv2DPerChannel
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 moresource§impl Debug for QuantizedConv2DPerChannel
impl Debug for QuantizedConv2DPerChannel
Auto Trait Implementations§
impl RefUnwindSafe for QuantizedConv2DPerChannel
impl Send for QuantizedConv2DPerChannel
impl Sync for QuantizedConv2DPerChannel
impl Unpin for QuantizedConv2DPerChannel
impl UnwindSafe for QuantizedConv2DPerChannel
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