Interface ModelSpec

An interface for defining the input and output shape of a ML model along with the path to download the model.

interface ModelSpec {
    input: ModelShape;
    output: ModelShape;
    path: string;
}

Properties

Properties

input: ModelShape
output: ModelShape
path: string