Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator requests #34

Open
2 tasks done
daquexian opened this issue Jun 10, 2019 · 4 comments
Open
2 tasks done

Operator requests #34

daquexian opened this issue Jun 10, 2019 · 4 comments

Comments

@daquexian
Copy link
Contributor

daquexian commented Jun 10, 2019

Currently dabnn only support primitive operators, such as Conv, FullyConnected, Pool, Add, Concat and ReLU. While they are already enough for many networks (e.g., ResNet, SqueezeNet), some more operators may also be needed for more complicated networks.

Moreover, I believe that the deployment of BNNs needs efforts from both the researchers of BNNs and the engineers of inference frameworks (like dabnn). So there should be a way to enable communication between BNN researchers and dabnn developers.

Therefore, this issue is opened for collecting the request of operators. It helps me to prioritize the various operators. Please reply to this issue if you want some operators that have not been implemented in dabnn, then I will implement them as long as I have enough time.

Requested operators list:

  • PReLU
  • Reshape/Flatten before GEMM
@daquexian daquexian pinned this issue Jun 10, 2019
@daquexian daquexian changed the title Operators request Operator requests Jun 10, 2019
@i-amgeek
Copy link
Contributor

Shape operator
Reshape should not only be for last layer.

custom_convolution.zip

@daquexian
Copy link
Contributor Author

daquexian commented Aug 22, 2019

@i-amgeek Thanks for your report!

Generally reshape is hard to implement since the difference between NCHW (ONNX) and NHWC (dabnn). However, the cases that reshape is before gemm/matmul are trivial. I'll support them soon.

@xmuLJX
Copy link

xmuLJX commented Jul 6, 2020

Resize,
ConvTranspose,
Transpose,
Clip,
LeakRelu,
THANK!

@rongzhao-zhang
Copy link

How about 3D Conv/Pooling layers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants