1.2.9 • Published 3 years ago

tensorset v1.2.9

Weekly downloads
107
License
MIT
Repository
github
Last release
3 years ago

Tensorset

npm.io npm.io npm.io

TensorflowJS Dataset parsing and stringifying

Installation

npm install tensorset # or yarn add tensorset

Getting Started

    // CommonJS
    const Tensorset = require('tensorset');

    // Or ES Modules
    import Tensorset from "tensorset/lib/Tensorset";

parse (sync)

Parse stringified version of Tensorset generated by Tensorset.stringify

    const dataset = Tensorset.parse(data);
ParameterTypeDescriptionRequired
dataStringStringified tensorset file generated with assistance of Tensorset.stringifyTrue

stringify (async)

Stringify tensorsets supplied by TensorflowJS models via the getClassifierDataset method in knnClassifier

    const data = await Tensorset.stringify(dataset);
ParameterTypeDescriptionRequired
datasetObjectJSON parsed version of Tensorset.parseTrue
1.2.8

3 years ago

1.2.7

3 years ago

1.2.9

3 years ago

1.2.6

3 years ago

1.2.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago