A collection of manipulation tools for TensorFlow data.
Use NPM using npm install tensorflow-tools
or fork, clone, download the source
on GitHub to get the latest version.
const TensorFlowReaders = require('tensorflow-tools').readers;
let metaData = ...;
let indexData = ...;
let dataData = ...;
let checkpointReader = readers.getCheckpointReader();
checkpointReader.decode(
metaData, indexData, dataData
).then(() => {
console.log('Happy checkpoint data', checkpointReader);
});
const TensorFlowReaders = require('tensorflow-tools').readers;
let checkpointReader = readers.getCheckpointReader();
checkpointReader.decodeLocalFiles(
'...model.ckpt'
).then(() => {
console.log('Happy checkpoint data', checkpointReader);
});
const TensorFlowReaders = require('tensorflow-tools').readers;
let checkpointReader = readers.getCheckpointReader();
checkpointReader.decodeRemoteFiles(
'http://...model.ckpt'
).then(() => {
console.log('Happy checkpoint data', checkpointReader);
});
This is not an official Google product.
Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0