Remove comparison of unsigned expression < 0 warning (#6319)
authorwrongtest <wrongtest0@gmail.com>
Tue, 8 Sep 2020 15:05:25 +0000 (23:05 +0800)
committerGitHub <noreply@github.com>
Tue, 8 Sep 2020 15:05:25 +0000 (08:05 -0700)
commit718a9a732417f59cdabef1e2100ea059b6d047b4
tree6983666ddacad4bc3d24820122f7feab2caf4acf
parent14f004229f876f6c82687c955e53e8c7a83127f9
Remove comparison of unsigned expression < 0 warning (#6319)

* fix: remove warning for if (unsigned < 0...)

* change used types related to dlpack ndim to int32_t
src/runtime/crt/common/ndarray.c
src/runtime/crt/include/tvm/runtime/crt/internal/common/ndarray.h