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

Module: tfds.units

View source

Defines convenience constants/functions for converting various units.

Functions

size_str(...): Returns a human readable size string.

Other Members

  • GiB = 1073741824
  • KiB = 1024
  • MiB = 1048576
  • PiB = 1125899906842624
  • TiB = 1099511627776