def testAsAnyArray(self):
    for a, dtype in itertools.product(self.all_arrays, _all_types):
      # Dtype specified.
      self.match_expected_attrs(
          np_array_ops.asanyarray(a, dtype=dtype),