Categories
Misc

TFLite custom op implementation(s): Custom ops: BitwiseAnd

Hello.

Im tring to export a model as TFLITE and I get this error.

The following operation(s) need TFLite custom op implementation(s): Custom ops: BitwiseAnd

Do you have an idea how to import BitwiseAnd function to the model?

My code to export the model is this.

converter = tf.lite.TFLiteConverter.from_keras_model(model) converter.allow_custom_ops = True converter.experimental_new_converter =True tflite_model = converter.convert() with open('lp4.tflite', 'wb') as f: f.write(tflite_model) 

Thanks for your help

submitted by /u/i_cook_bits
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *