I have a model that i want to port to tflite micro. However, when i run the code it gives me the following error:
Didn't find op for builtin opcode 'TRANSPOSE' version '2'
Failed to get registration from op code d
I assume that the transpose function is not supported in tflite micro. i also tried replacing it with a PERMUTE layer but it seems that it uses tf.transpose under the hood. Here is the part of my model where i try to traspose:
output = tf.reshape(output, (img_width // B, B, img_height // B, B), name="reshape_in")
output = Permute((2, 1, 3), name="transpose_in")(output)
is there any other way i could perform this transpose without calling tf.transpose? Maybe using reshape?