This package has been deprecated

Author message:

Package no longer updated and supported. Use at your own risk.

tensorflow-tools
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tensorflow-tools

Weekly Downloads

0

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • markusbordihn