tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[NHWC] support lost

Open srkreddy1238 opened this issue 8 years ago • 7 comments

Recent port of topi to C++ lost NHWC support which was there in python.

Siva

srkreddy1238 avatar Feb 16 '18 09:02 srkreddy1238

@srkreddy1238 The C++ port does not include any convolutions, as @tqchen mentioned the convolution schedules are currently undergoing more churn than the other ones.

Has the change broken NHWC support in python, or is it just missing from the C++ port? The latter is intended, the former is definitely not.

alex-weaver avatar Feb 16 '18 10:02 alex-weaver

Unless you mean with pooling/softmax ops - NHWC support for those was added to python after the C++ ops were added. I can fix that disparity up once the GenericFunc PR is resolved.

alex-weaver avatar Feb 16 '18 10:02 alex-weaver

@alex-weaver do you mean I don't have to port updated python pooling and softmax to c++?

The recent nnvm calls into c++ topi for pooling and softmax. Python topi has nhwc support, while c++ topi doesn't. That is what @srkreddy1238 is mentioning.

masahi avatar Feb 16 '18 13:02 masahi

If you are able to port them, that would be appreciated because that would let me focus on getting the C++ interface up to speed in other areas in topi, tvm and nnvm.

alex-weaver avatar Feb 16 '18 13:02 alex-weaver

No problem, will be done soon.

masahi avatar Feb 16 '18 13:02 masahi

Appreciate quick response.

I am aware of the convolution status. Current issue is about the pool ops.

@masahi: appreciate your initiative & waiting for your PR :)

Siva

srkreddy1238 avatar Feb 16 '18 15:02 srkreddy1238

fixed by #905

tqchen avatar Feb 18 '18 18:02 tqchen