assertnotgetattr(model,"end2end",False),"TFLite INT8 export not supported for end2end models."
ifedgetpuorimx500:
ifnotLINUX:
raiseSystemError("Edge TPU (https://coral.ai/docs/edgetpu/compiler) and IMX500 (https://developer.aitrios.sony-semicon.com/en/raspberrypi-ai-camera/documentation/imx500-converter) export only supported on Linux.")
raiseSystemError(
"Edge TPU (https://coral.ai/docs/edgetpu/compiler) and IMX500 (https://developer.aitrios.sony-semicon.com/en/raspberrypi-ai-camera/documentation/imx500-converter) export only supported on Linux."
)
elifself.args.batch!=1:# see github.com/ultralytics/ultralytics/pull/13420