I can not get the Tensorflow Lite examples to compile for the Artemis nano. I get an error saying that the macro F is not happy about getting more than one argument:
error: macro “F” passed 2 arguments, but takes just 1
output_data = F(input1_data, input2_data); I am currently on an Ubuntu machine running Arduino IDE 1.8.12, Tensorflow Lite 2.4.0-ALPHA, and Sparkfun Apollo3 Boards 2.0.5. Tried running this same combination on windows and had the same error. Any help would be appreciated!
hugoleon00:
I can not get the Tensorflow Lite examples to compile for the Artemis nano. I get an error saying that the macro F is not happy about getting more than one argument:
error: macro “F” passed 2 arguments, but takes just 1
output_data = F(input1_data, input2_data); I am currently on an Ubuntu machine running Arduino IDE 1.8.12, Tensorflow Lite 2.4.0-ALPHA, and Sparkfun Apollo3 Boards 2.0.5. Tried running this same combination on windows and had the same error. Any help would be appreciated! [/quote] Did you ever mange to get it working I’ve been having the same problems
Something has already defined F which is used in the template as the comparison function parameter name. I didn’t have time to look for where, I just renamed the function parameter F to __F in the template functions to avoid the name collision. I also changed ComparisonFn to __ComparisonFn . The parameter F appears in 13 places in the file. Be sure and changed them all to __F.