Use half_val instead of int_val to get the bfloat16 tensor value in MakeNdarray.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 1 Mar 2018 02:56:01 +0000 (18:56 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 1 Mar 2018 03:00:25 +0000 (19:00 -0800)
commitaf6cdb9e5eae7e5e41824336fa5b3084402d43e9
treee9c4ff04a03f9fd3f32fea9e7a985d5676b03687
parent8c557a579384e2665fd438a944fd416f544a2a81
Use half_val instead of int_val to get the bfloat16 tensor value in MakeNdarray.

PiperOrigin-RevId: 187417908
tensorflow/python/framework/tensor_util.py
tensorflow/python/framework/tensor_util_test.py