Skip to content
/ tfrng Public
generated from jackd/python-pkg

Uniform interface for tensorflow random number generation implementations

License

Notifications You must be signed in to change notification settings

jackd/tfrng

Repository files navigation

Tensorflow Random Number Generation

Code style: black

Tensorflow has many different random number generation implementations.

  • tf.random ops, e.g. tf.random.uniform
  • tf.random.Generator methods
  • tf.random.stateless_* ops, e.g. tf.random.stateless_uniform

All are intended to achieve similar things. This package presents a uniform interface and context manager to switch between these implementations.

Pre-commit

This package uses pre-commit to ensure commits meet minimum criteria. To Install, use

pip install pre-commit
pre-commit install

This will ensure git hooks are run before each commit. While it is not advised to do so, you can skip these hooks with

git commit --no-verify -m "commit message"

About

Uniform interface for tensorflow random number generation implementations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages