Use get*ArrayRegion instead of get*ArrayElements in TFlite JNI code.
Prefer get*ArrayRegion to avoid a JNI hop and (potentially) an extra copy when copying Java inputs during interpreter execution. PiperOrigin-RevId: 199530084
Loading
Please sign in to comment