tflite_flutter_plugin icon indicating copy to clipboard operation
tflite_flutter_plugin copied to clipboard

Range error when calling interpreter.runForMultipleInputs

Open akillika opened this issue 3 years ago • 0 comments

I have attached the small piece of code where the error has been thrown, i have followed the readme and also used the same model from your github too.


   var input0 = [1.23];
    var input1 = [2.43];

    var inputs = [input0, input1, input0, input1];

    var output0 = List<double>.filled(1, 0);
    var output1 = List<double>.filled(1, 0);

    var outputs = {0: output0, 1: output1};

    interpreter.runForMultipleInputs(inputs, outputs);

    print(outputs);

This is the exception being thrown

image

akillika avatar Feb 19 '22 22:02 akillika