-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[WIP] Fix Issue #561 - Convolution Support NCHW #640
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
Conversation
Conv1dLayer, Conv1d, Conv2dLayer, Conv2d, Conv3d
@2wins It is a good thing that you thought about creating a unittest file.
The exact same code just switching the position of the channnel dimension and adapting the tests. |
@DEKHTIARJonathan It was not appropriate to duplicate |
@2wins I'm not sure to understand your point ;) The objective of having the "same" file, modified accordingly to the position of the channel layer is not really about testing the output shape. The output shape can be seen as a sanity check ;) No the rpincipal objective of the convolution test file is to be sure that no error is generated during the graph definition. Thus, up to me, it is perfectly relevant to have the exact same file modified to use a the channel first data format. Could you please explain a bit more why you think it's not appropriate, I may have missed smthg. Thanks buddy |
@DEKHTIARJonathan I agree with you. After no error on graph definition, sanity check is essential. I missed the important point. Thanks. |
May you add me as a contributor to your fork ? I will re-origanize the tests for you, I think some refactoring may help ;) |
I'm not sure to understand what you want to do |
@DEKHTIARJonathan Actually, if we want to provide two kinds of |
@zsdonghao can I let you handle this PR ? |
@DEKHTIARJonathan As seen in the @zsdonghao 's last comment, we can handle this issue by removing |
@zsdonghao @2wins shall I close this PR ? |
@DEKHTIARJonathan, @zsdonghao As I said before, many conv layers are inconsistent in terms of argument |
It seen TF will use |
@zsdonghao @2wins All right. Let's do this. I close this PR, we will follow this trend in PR #755 ;) |
Checklist
Motivation and Context
Issue #561
Description
Conv1dLayer
Conv2dLayer
DeConv2dLayer
Conv3dLayer
DeConv3dLayer
UpSampling2dLayer
DownSampling2dLayer
DeformableConv2d
AtrousConv1dLayer
AtrousConv2dLayer
deconv2d_bilinear_upsampling_initializer
Conv1d
Conv2d
DeConv2d
DeConv3d
DepthwiseConv2d
SeparableConv1d
SeparableConv2d
GroupConv2d