|
|
@@ -61,7 +61,6 @@ schema() {
|
|
|
sed 's/namespace tflite;/namespace TFLITE;/g' <${third_party}/tensorflow/tensorflow/lite/schema/schema.fbs >${tools}/tflite.schema.fbs
|
|
|
${third_party}/flatbuffers/flatc --no-js-exports --js ${tools}/tflite.schema.fbs
|
|
|
rm ${tools}/tflite.schema.fbs
|
|
|
- rm ${src}/tflite-schema.js
|
|
|
mv ./tflite.schema_generated.js ${src}/tflite-schema.js
|
|
|
cat <<EOT >> ${src}/tflite-schema.js
|
|
|
if (typeof module !== 'undefined' && typeof module.exports === 'object') {
|