• Builds the table from rows written in JSON. Every row is checked before anything loads, and each model is checked against its row: it must read as many numbers as the row names and answer with one output per action plus one for none. A row that fails either check stops the build with an error that names it. load reads a model file (the default fetches it, as a browser does; in Node pass a loader that reads the file).

    Parameters

    • rows: NSMnumRowJSON[]
    • load: ((path) => Promise<LayersModel>) = ...
        • (path): Promise<LayersModel>
        • Parameters

          • path: string

          Returns Promise<LayersModel>

    Returns Promise<NSMnumTable>