[][src]Struct tract_tensorflow::ops::nn::dw_conv2d::DepthwiseConv2d

pub struct DepthwiseConv2d { /* fields omitted */ }

Methods

impl DepthwiseConv2d[src]

pub fn new(
    data_format: DataFormat,
    padding: PaddingSpec,
    strides: TVec<usize>,
    dilations: TVec<usize>
) -> Self
[src]

Constructs a new DepthwiseConv2d.

Trait Implementations

impl Clone for DepthwiseConv2d[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DepthwiseConv2d[src]

impl InferenceRulesOp for DepthwiseConv2d[src]

impl Op for DepthwiseConv2d[src]

fn infer(
    &self,
    inputs: SmallVec<[&TensorFact; 4]>,
    outputs: SmallVec<[&TensorFact; 4]>
) -> Result<(SmallVec<[TensorFact; 4]>, SmallVec<[TensorFact; 4]>), TractError>
[src]

Infers properties about the input and output tensors. Read more

fn pulsify(
    &self,
    _source: &Model<NormalizedTensorInfo>,
    _node: &Node<NormalizedTensorInfo>,
    _target: &mut Model<PulsedTensorFact>,
    _mapping: &HashMap<OutletId, OutletId, RandomState>
) -> Result<SmallVec<[OutletId; 4]>, TractError>
[src]

fn codegen(
    &self,
    _model: &Model<TypedTensorInfo>,
    _node: &Node<TypedTensorInfo>
) -> Result<Option<ModelPatch<TypedTensorInfo>>, TractError>
[src]

fn rounding_errors(&self) -> bool[src]

fn same_as(&self, _other: &(dyn Op + 'static)) -> bool[src]

fn info(&self) -> Result<Option<String>, TractError>[src]

impl StatelessOp for DepthwiseConv2d[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<O> InferenceOp for O where
    O: InferenceRulesOp
[src]

impl<O> StatefullOp for O where
    O: StatelessOp + Clone
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Clone for T where
    T: Clone
[src]