Home
last modified time | relevance | path

Searched refs:logical_xor (Results 1 – 25 of 114) sorted by relevance

12345

/aosp_15_r20/external/pytorch/test/typing/pass/
H A Dmath_ops.py223 torch.logical_xor(torch.tensor([True, False, True]), torch.tensor([True, False, False]))
224 torch.logical_xor(r, s)
225 torch.logical_xor(r.double(), s.double())
226 torch.logical_xor(r.double(), s)
227 torch.logical_xor(r, s, out=torch.empty(4, dtype=torch.bool))
/aosp_15_r20/external/OpenCL-CTS/test_conformance/subgroups/
H A Dtest_subgroup_non_uniform_arithmetic.cpp105 error |= rft.run_impl<T, SCIN_NU<T, ArithmeticOp::logical_xor>>( in run_functions_logical_and_or_xor_for_type()
111 error |= rft.run_impl<T, SCEX_NU<T, ArithmeticOp::logical_xor>>( in run_functions_logical_and_or_xor_for_type()
117 error |= rft.run_impl<T, RED_NU<T, ArithmeticOp::logical_xor>>( in run_functions_logical_and_or_xor_for_type()
H A Dsubhelpers.cpp130 case ArithmeticOp::logical_xor: return "logical_xor"; in operation_names()
H A Dsubgroup_common_templates.h290 case ArithmeticOp::logical_xor: return !a ^ !b; in calculate()
394 || operation == ArithmeticOp::logical_xor) in generate_inputs()
H A Dtest_subgroup_clustered_reduce.cpp176 error |= rft.run_impl<T, RED_CLU<T, ArithmeticOp::logical_xor>>( in run_cluster_logical_and_or_xor_for_type()
H A Dsubhelpers.h263 logical_xor enumerator
517 case ArithmeticOp::logical_xor: return (cl_int)0;
/aosp_15_r20/external/executorch/kernels/portable/cpu/
H A Dop_logical_xor.cpp18 bool logical_xor(bool a, bool b) { in logical_xor() function
31 return internal::logical_tensor_out<op_name>(logical_xor, ctx, a, b, out); in logical_xor_out()
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/ragged/
H A Dragged_operators.py60 ragged_tensor.RaggedTensor.__xor__ = math_ops.logical_xor
61 ragged_tensor.RaggedTensor.__rxor__ = _right(math_ops.logical_xor)
H A Dragged_tensor_test_ops.py155 math_ops.logical_xor,
/aosp_15_r20/external/pytorch/test/mobile/model_test/
H A Dmath_ops.py144 torch.logical_xor(r, s),
145 torch.logical_xor(r.double(), s.double()),
146 torch.logical_xor(r.double(), s),
147 torch.logical_xor(r, s, out=torch.empty(4, dtype=torch.bool)),
/aosp_15_r20/external/pytorch/test/torch_np/
H A Dtest_binary_ufuncs.py146 np.logical_xor(0.5, 0.6),
147 logical_xor(0.5, 0.6),
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
H A Dcwise_ops_test.py256 self._compareBinary(x, y, np.logical_xor, math_ops.logical_xor,
267 self._compareBinary(x, y, np.logical_xor, math_ops.logical_xor, use_gpu)
291 self._compareBinary(x, y, np.logical_xor, math_ops.logical_xor,
298 for f in [math_ops.logical_and, math_ops.logical_or, math_ops.logical_xor]:
934 (np.logical_xor, _XOR), (np.equal, math_ops.equal),
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_decimal.py1642 self.assertEqual(Decimal(10101).logical_xor(1001),
1643 Decimal(10101).logical_xor(Decimal(1001)))
2013 d = c.logical_xor(Decimal(1), Decimal(1))
2014 self.assertEqual(c.logical_xor(1, 1), d)
2015 self.assertEqual(c.logical_xor(Decimal(1), 1), d)
2016 self.assertEqual(c.logical_xor(1, Decimal(1)), d)
2017 self.assertRaises(TypeError, c.logical_xor, '1', 1)
2018 self.assertRaises(TypeError, c.logical_xor, 1, '1')
/aosp_15_r20/external/pytorch/functorch/dim/
H A Dop_properties.py221 torch.Tensor.logical_xor,
222 torch.logical_xor,
/aosp_15_r20/external/pytorch/torch/_numpy/
H A D_binary_ufuncs_impl.py37 logical_xor,
/aosp_15_r20/external/tensorflow/tensorflow/lite/testing/op_tests/
H A Dlogic.py75 return _make_logical_tests(tf.math.logical_xor)(
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/python/
H A Dxla.py193 logical_xor = _broadcasting_binary_op(math_ops.logical_xor) variable
/aosp_15_r20/external/pytorch/test/expect/
H A DHasDecompTest.test_aten_core_operators.expect339 aten::logical_xor
340 aten::logical_xor.out
/aosp_15_r20/external/pytorch/torch/distributed/tensor/_ops/
H A D_pointwise_ops.py291 aten.logical_xor.default,
292 aten.logical_xor.out,
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_decimal.py2355 ans = str(x.logical_xor(101, context=None))
2357 self.assertRaises(InvalidOperation, x.logical_xor, 123, context=None)
2492 self.assertEqual(Decimal(10101).logical_xor(1001),
2493 Decimal(10101).logical_xor(Decimal(1001)))
2828 self.assertEqual(D('01').logical_xor(D('10'), context=xc), 1)
3349 d = c.logical_xor(Decimal(1), Decimal(1))
3350 self.assertEqual(c.logical_xor(1, 1), d)
3351 self.assertEqual(c.logical_xor(Decimal(1), 1), d)
3352 self.assertEqual(c.logical_xor(1, Decimal(1)), d)
3353 self.assertRaises(TypeError, c.logical_xor, '1', 1)
[all …]
/aosp_15_r20/external/pytorch/functorch/op_analysis/
H A Dpublic_api43 logical_xor
/aosp_15_r20/external/pytorch/docs/source/
H A Dtorch.rst379 logical_xor
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/numpy_ops/
H A Dnp_math_ops.py1039 def logical_xor(x1, x2): function
1040 return _logical_binary_op(math_ops.logical_xor, x1, x2)
/aosp_15_r20/external/python/cpython2/Lib/
Ddecimal.py3295 return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
3315 def logical_xor(self, other, context=None): member in Decimal
4635 def logical_xor(self, a, b): member in Context
4660 return a.logical_xor(b, context=self)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
D_pydecimal.py3411 return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
3431 def logical_xor(self, other, context=None): member in Decimal
4825 def logical_xor(self, a, b): member in Context
4850 return a.logical_xor(b, context=self)

12345