TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.tpu.bfloat16_scope

View source on GitHub

Scope class for bfloat16 variables so that the model uses custom getter.

Aliases:

  • tf.compat.v1.tpu.bfloat16_scope
  • tf.contrib.tpu.bfloat16_scope
tf.tpu.bfloat16_scope()

This enables variables to be read as bfloat16 type when using get_variable.