pub struct QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize { /* private fields */ }
Expand description
QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
Implementations§
source§impl QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
impl QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
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 padding_list<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn padding_list<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the padding_list
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>>(
&self,
ctx: &'a Context,
input: &T0,
filter: &T1,
bias: &T2,
min_input: &T3,
max_input: &T4,
min_filter: &T5,
max_filter: &T6,
min_freezed_output: &T7,
max_freezed_output: &T8
) -> 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>>( &self, ctx: &'a Context, input: &T0, filter: &T1, bias: &T2, min_input: &T3, max_input: &T4, min_filter: &T5, max_filter: &T6, min_freezed_output: &T7, max_freezed_output: &T8 ) -> Result<[TensorHandle<'a>; 3]>
Execute quantized_depthwise_conv2_dwith_bias_and_relu_and_requantize.
Trait Implementations§
source§impl Clone for QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
impl Clone for QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
source§fn clone(&self) -> QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
fn clone(&self) -> QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
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 QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
impl Send for QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
impl Sync for QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
impl Unpin for QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
impl UnwindSafe for QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
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