message: [XLA] Use xla_{dot,conv} instead of xla_{dot,conv}_v2 when possible
diff: @@ -277,8 +277,10 @@ def conv(lhs,
  precision_config_proto = ""
  if precision_config:
  precision_config_proto = precision_config.SerializeToString()
  + needs_v2 = preferred_element_type or (lhs.dtype != rhs.dtype)
  if preferred_element_type is None:
  preferred_element_type = np_utils.result_type(lhs.dtype, rhs.dtype)
  + if needs_v2:
  return gen_xla_ops.xla_conv_v2(
  lhs,
  rhs,
  @@ -291,6 +293,17 @@ def conv(lhs,
  precision_config=precision_config_proto,
  preferred_element_type=preferred_element_type,
  name=name)
  + return gen_xla_ops.xla_conv(
  + lhs,
  + rhs,
  + window_strides=window_strides,
  + padding=padding,
  + lhs_dilation=lhs_dilation,
  + rhs_dilation=rhs_dilation,
  + feature_group_count=feature_group_count,
  + dimension_numbers=dimension_numbers.SerializeToString(),
  + precision_config=precision_config_proto,
  + name=name)
  convert_element_type = math_ops.cast
  @@ -309,8 +322,10 @@ def dot_general(lhs,
  precision_config_proto = ""
  if precision_config:
  precision_config_proto = precision_config.SerializeToString()
  + needs_v2 = preferred_element_type or (lhs.dtype != rhs.dtype)
  if preferred_element_type is None:
  preferred_element_type = np_utils.result_type(lhs.dtype, rhs.dtype)
  + if needs_v2:
  return gen_xla_ops.xla_dot_v2(
  lhs,
  rhs,
  @@ -318,6 +333,12 @@ def dot_general(lhs,
  precision_config=precision_config_proto,
  preferred_element_type=preferred_element_type,
  name=name)
  + return gen_xla_ops.xla_dot(
  + lhs,
  + rhs,
  + dimension_numbers=dimension_numbers.SerializeToString(),
  + precision_config=precision_config_proto,
  + name=name)
  def self_adjoint_eig(a, lower, max_iter, epsilon):
  