0.0.1 • Published 6 years ago

tensorflow-tools v0.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

TensorFlow Tools

A collection of manipulation tools for TensorFlow data.

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

Markus Bordihn

License

Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0