UNPKG

react-native-executorch

Version:

An easy way to run AI models in react native with ExecuTorch

11 lines (10 loc) 340 B
"use strict"; export const getTypeIdentifier = input => { if (input instanceof Int8Array) return 1; if (input instanceof Int32Array) return 3; if (input instanceof BigInt64Array) return 4; if (input instanceof Float32Array) return 6; if (input instanceof Float64Array) return 7; return -1; }; //# sourceMappingURL=common.js.map