ONE - On-device Neural Engine
|
Describe how to build a tensor from a depthwise convolution filter. More...
#include <DepthwiseFilterCodec.h>
Public Member Functions | |
virtual | ~DepthwiseFilterDecoder ()=default |
virtual TensorShape | shape (const DepthwiseFilterShape &shape) const =0 |
virtual DepthwiseFilterIndex | value (const TensorIndex &index) const =0 |
Describe how to build a tensor from a depthwise convolution filter.
Let us assume that "dec" is a depthwise filter decoder.
Given a depthwise filter "inp" and its shape "inp.shape", "dec" builds a tensor "out" as follows:
for each valid tensor_index for dec.shape(inp.shape) out.at(tensor_index) = inp.at(dec.value(tensor_index))
Definition at line 59 of file DepthwiseFilterCodec.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
Implemented in loco::PermutingDecoder< Domain::DepthwiseFilter >.