keras2cpp icon indicating copy to clipboard operation
keras2cpp copied to clipboard

Error C2440 'initializing': cannot convert from 'initializer list' to 'keras2cpp::Tensor'

Open mortalrahu opened this issue 6 years ago • 2 comments

Unbenannt

Hey everyone,

I am trying to run the cpp file from Visual Studio 15.9.15

Facing the five errors (shown in the attached picture).

Please let me know if you know how to fix it

Thanks in advance.

mortalrahu avatar Oct 15 '19 08:10 mortalrahu

you have to enable C++17. In VisualStudio, under project > Properties > C/C++ > Language > C++ Language Standard. Or set the compile option /std:c++17

bevancollins avatar Oct 15 '19 17:10 bevancollins

I believe you can close this [non-]issue.

jp31415926 avatar May 24 '20 00:05 jp31415926