Currently we're importing tensorflow for some examples such as in https://optax.readthedocs.io/en/latest/_collections/examples/cifar10_resnet.html.
It should be possible to avoid this import and instead rely exclusively on tfds and (if necessary grain)
See for example https://www.tensorflow.org/datasets/tfless_tfds on how to import tfds datasets without tensorflow.
Currently we're importing tensorflow for some examples such as in https://optax.readthedocs.io/en/latest/_collections/examples/cifar10_resnet.html.
It should be possible to avoid this import and instead rely exclusively on tfds and (if necessary grain)
See for example https://www.tensorflow.org/datasets/tfless_tfds on how to import tfds datasets without tensorflow.