message: [XLA:Python] Mark bfloat16 ufunc arguments const to fix compilation error on Ubuntu 18.04.
diff: @@ -708,8 +708,8 @@ struct UnaryUFunc {
  static std::vector<int> Types() {
  return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype()};
  }
  - static void Call(char** args, npy_intp* dimensions, npy_intp* steps,
  - void* data) {
  + static void Call(char** args, const npy_intp* dimensions,
  + const npy_intp* steps, void* data) {
  const char* i0 = args[0];
  char* o = args[1];
  for (npy_intp k = 0; k < *dimensions; k++) {
  @@ -728,8 +728,8 @@ struct UnaryUFunc2 {
  return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype(),
  TypeDescriptor<OutType2>::Dtype()};
  }
  - static void Call(char** args, npy_intp* dimensions, npy_intp* steps,
  - void* data) {
  + static void Call(char** args, const npy_intp* dimensions,
  + const npy_intp* steps, void* data) {
  const char* i0 = args[0];
  char* o0 = args[1];
  char* o1 = args[2];
  @@ -751,8 +751,8 @@ struct BinaryUFunc {
  return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<InType>::Dtype(),
  TypeDescriptor<OutType>::Dtype()};
  }
  - static void Call(char** args, npy_intp* dimensions, npy_intp* steps,
  - void* data) {
  + static void Call(char** args, const npy_intp* dimensions,
  + const npy_intp* steps, void* data) {
  const char* i0 = args[0];
  const char* i1 = args[1];
  char* o = args[2];
  @@ -774,8 +774,8 @@ struct BinaryUFunc2 {
  return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<InType2>::Dtype(),
  TypeDescriptor<OutType>::Dtype()};
  }
  - static void Call(char** args, npy_intp* dimensions, npy_intp* steps,
  - void* data) {
  + static void Call(char** args, const npy_intp* dimensions,
  + const npy_intp* steps, void* data) {
  const char* i0 = args[0];
  const char* i1 = args[1];
  char* o = args[2];
  @@ -795,7 +795,8 @@ struct BinaryUFunc2 {
  template <typename UFunc>
  bool RegisterUFunc(PyObject* numpy, const char* name) {
  std::vector<int> types = UFunc::Types();
  - PyUFuncGenericFunction fn = UFunc::Call;
  + PyUFuncGenericFunction fn =
  + reinterpret_cast<PyUFuncGenericFunction>(UFunc::Call);
  Safe_PyObjectPtr ufunc_obj = make_safe(PyObject_GetAttrString(numpy, name));
  if (!ufunc_obj) {
  return false;
  