v-hogood / TensorFlowLiteSupport

Android and iOS .NET bindings for TensorFlow-Lite Support libraries:
https://github.com/tensorflow/tflite-support
2 stars 1 forks source link

Unable to create tensorbuffer output #1

Closed PatroxGaurab closed 3 years ago

PatroxGaurab commented 3 years ago

TensorBuffer outputs = TensorBuffer.CreateFixedSize(new float[] { 1, 2048 }, DataType.Float32); Error: Tensorbuffer does not contain a definition of CreateFixedSize

PatroxGaurab commented 3 years ago

Another issue is there -> So basically there is no constructor for TensorImage that takes the DataType as parameter. Java.Lang.IllegalArgumentException: 'DataType error: cannot resolve DataType of org.tensorflow.lite.support.image.TensorImage

v-hogood commented 3 years ago

Right you are! Should be fixed; let me know if not.