Open srohit0 opened 5 years ago
similar to numpy or onnx based on feedback. File: tensor.i %include "core/datatypes.h"
Change:
lowercase core/datatypes.h enum DNNC_DataType
enum DNNC_DataType
src/core/datatypes.cpp, corresponding case changes
include/core/tensor.h add DNNC_DataType argument in
tensor<newT> asType(DNNC_DataType newType)
Remove
tensor<double> asTypeDouble() tensor<float> asTypeFloat() ....
similar to numpy or onnx based on feedback. File: tensor.i %include "core/datatypes.h"
Change:
lowercase core/datatypes.h
enum DNNC_DataType
src/core/datatypes.cpp, corresponding case changes
include/core/tensor.h add DNNC_DataType argument in
Remove