Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

google/tensorflow-tools

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(() => {
  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

About

A collection of manipulation tools for TensorFlow data.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published