code: def ExtractBitsFromBFloat16(x):
      return (
          np.asarray(x, dtype=dtypes.bfloat16.as_numpy_dtype)
          .view(np.uint16)
          .item()
      )
  
imports: import numpy
  from tensorboard.compat.proto import tensor_pb2
  from tensorboard.compat.tensorflow_stub import dtypes, compat, tensor_shape
label_desc: Use image node_id 3 for calling a global function with example usage: ExtractBitsFromBFloat16(x) and returns: np