tasq/node_modules/onnxruntime-web/lib/onnxjs/ort-schema/README.md

1.1 KiB

ORT Format File

This directory contains the generated ts file neccessary to support the ORT file format. The file is generated from the ORT file format schema. Please do not directly modify the generated ts header file.

The ORT file format schema uses FlatBuffers serialization library. To update its generated ts file,

  1. Download or locate the ort.fbs file.
  2. Download FlatBuffers compiler: Download the latest flatc tool (flatc_windows.zip) from Flatbuffers Release Page. Unzip and run

> flatc_windows.exe --ts <path to ort.fbs>

This should result in ort-generated.ts being updated.