0.0.1 • Published 6 years ago
tensorflow-tools v0.0.1
TensorFlow Tools
A collection of manipulation tools for TensorFlow data.
- Installation
- Requirements
- Basic Usage Decode data Decode local files * Decode remote files
- Disclaimer
- Author
- License
Installation
Use NPM using npm install tensorflow-tools
or fork, clone, download the source
on GitHub to get the latest version.
Basic Usage
Decode data
const TensorFlowReaders = require('tensorflow-tools').readers;
let metaData = ...;
let indexData = ...;
let dataData = ...;
let checkpointReader = readers.getCheckpointReader();
checkpointReader.decode(metaData, indexData, dataData).then(function() {
console.log('Happy checkpoint data', checkpointReader)
});
Decode local files
const TensorFlowReaders = require('tensorflow-tools').readers;
let checkpointReader = readers.getCheckpointReader();
checkpointReader.decodeLocalFiles(
'...model.ckpt')
).then(() => {
console.log('Happy checkpoint data', checkpointReader)
});
Decode remote files
const TensorFlowReaders = require('tensorflow-tools').readers;
let checkpointReader = readers.getCheckpointReader();
checkpointReader.decodeRemoteFiles(
'http://...model.ckpt')
).then(() => {
console.log('Happy checkpoint data', checkpointReader)
});
Disclaimer
This is not an official Google product.
Author
License
Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0
0.0.1
6 years ago