• I have a tflite model which expects the input to be in int8 datatype

    var tf = require("tensorflow").create(2048, model);
    tf.getInput()[0] = input_array;
    tf.invoke();
    print(tf.getOutput()[0]);
    

    I have loaded my data in the same shape as my model expects but when i print (tf.getInput()[0] ) it always shows zero even when input_array has values. I have encoded my model with base64. Can anyone help me out @Gordon please help me out here

    Also tflite has standard get_tensor and set_tensor functions in interpreter to set the input data in proper format. I cannot see those functions in banglejs after loading the tflite model.

About

Avatar for user122861 @user122861 started