backend_configs#

Note

See the Glossary for the meaning of the acronyms used in this guide.

tensorflow.py#

A task plugin module for initializing and configuring Tensorflow.

init_tensorflow(seed: int) None[source]#

Initializes Tensorflow to ensure compatibility and reproducibility.

This task plugin must be run before any other features from Tensorflow are used. It disables Tensorflow’s eager execution, which is not compatible with Dioptra’s entry point structure, and sets Tensorflow’s internal seed for its random number generator.

Parameters

seed – The seed to use for Tensorflow’s random number generator.