message: Update tensorflow/python/framework/tensor_util.py
diff: @@ -67,10 +67,14 @@ def SlowAppendBFloat16ArrayToTensorProto(tensor_proto, proto_values):
  [ExtractBitsFromBFloat16(x) for x in proto_values])
  +def FastAppendBFloat16ArrayToTensorProto(tensor_proto, proto_values):
  + fast_tensor_util.AppendBFloat16ArrayToTensorProto(tensor_proto, np.asarray(proto_values, dtype=dtypes.bfloat16.as_numpy_dtype).view(np.uint16))
  +
  +
  if _FAST_TENSOR_UTIL_AVAILABLE:
  _NP_TO_APPEND_FN = {
  dtypes.bfloat16.as_numpy_dtype:
  - SlowAppendBFloat16ArrayToTensorProto,
  + FastAppendBFloat16ArrayToTensorProto,
  np.float16:
  _MediumAppendFloat16ArrayToTensorProto,
  np.float32:
  