Home
last modified time | relevance | path

Searched refs:or_ (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/python/autograph/operators/
Dlogical_test.py58 self.assertFalse(logical.or_(lambda: False, lambda: False))
59 self.assertFalse(logical.or_(lambda: [], lambda: False))
60 self.assertListEqual(logical.or_(lambda: False, lambda: [1]), [1])
62 self.assertTrue(logical.or_(lambda: False, lambda: True))
63 self.assertTrue(logical.or_(lambda: True, self.assertNotCalled))
68 t = logical.or_(self._tf_false, self._tf_true)
70 t = logical.or_(self._tf_false, lambda: True)
72 t = logical.or_(self._tf_true, lambda: True)
Dlogical.py62 def or_(a, b): function
D__init__.py55 from tensorflow.python.autograph.operators.logical import or_
/external/protobuf/src/google/protobuf/stubs/
Dtemplate_util_unittest.cc107 value = or_<true_, true_>::value; in TEST()
110 value = or_<true_, false_>::value; in TEST()
113 value = or_<false_, true_>::value; in TEST()
116 value = or_<false_, false_>::value; in TEST()
Dtemplate_util.h130 struct or_ : public integral_constant<bool, (A::value || B::value)> {
/external/OpenCL-CTS/test_conformance/subgroups/
Dtest_subgroup_non_uniform_arithmetic.cpp387 error |= rft.run_impl<T, SCIN_NU<T, ArithmeticOp::or_>>( in run_functions_and_or_xor_for_type()
393 error |= rft.run_impl<T, SCEX_NU<T, ArithmeticOp::or_>>( in run_functions_and_or_xor_for_type()
399 error |= rft.run_impl<T, RED_NU<T, ArithmeticOp::or_>>( in run_functions_and_or_xor_for_type()
Dsubhelpers.h102 or_, enumerator
118 case ArithmeticOp::or_: return "or"; in operation_names()
359 case ArithmeticOp::or_: return (Ty)0; in identify_limits()
384 case ArithmeticOp::or_: return (cl_int)0;
Dtest_subgroup_clustered_reduce.cpp283 error |= rft.run_impl<T, RED_CLU<T, ArithmeticOp::or_>>( in run_cluster_and_or_xor_for_type()
Dsubgroup_common_templates.h318 case ArithmeticOp::or_: return a | b; in calculate()
/external/python/cpython3/Lib/
Doperator.py116 def or_(a, b): function
435 __or__ = or_
/external/python/parse_type/tasks/_vendor/
Dpath.py1671 spec = functools.reduce(operator.or_, specs, 0)
1677 mask = functools.reduce(operator.or_, masks)
1688 retain = functools.reduce(operator.or_, masks) ^ 0o777
1691 '+': operator.or_,
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dgenerated_code.md31 * `or` -> `ag__.or_`
/external/python/cpython2/Lib/test/
Dtest_operator.py254 self.assertRaises(TypeError, operator.or_)
255 self.assertRaises(TypeError, operator.or_, None, None)
256 self.assertTrue(operator.or_(0xa, 0x5) == 0xf)
/external/python/cpython3/Lib/test/
Dtest_operator.py234 self.assertRaises(TypeError, operator.or_)
235 self.assertRaises(TypeError, operator.or_, None, None)
236 self.assertEqual(operator.or_(0xa, 0x5), 0xf)
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h849 Status HandleOr(HloInstruction* or_) {
851 parent_->evaluated_[or_],
852 ElementWiseBinaryOp(or_, [](ElementwiseT lhs_el, ElementwiseT rhs_el) {
860 Status HandleOr(HloInstruction* or_) {
861 return UnsupportedTypeError(or_);
867 Status HandleOr(HloInstruction* or_) {
871 Status HandleOr(HloInstruction* or_) override {
872 return HandleOr<ElementwiseT>(or_);
/external/python/setuptools/setuptools/
Dsandbox.py469 operator.or_, [getattr(_os, a, 0) for a in
/external/python/cpython3/Doc/library/
Doperator.rst156 .. function:: or_(a, b)
388 | Bitwise Or | ``a | b`` | ``or_(a, b)`` |
/external/swiftshader/third_party/subzero/src/
DIceAssemblerMIPS32.h251 void or_(const Operand *OpRd, const Operand *OpRs, const Operand *OpRt);
/external/python/cpython2/Doc/library/
Doperator.rst163 .. function:: or_(a, b)
638 | Bitwise Or | ``a | b`` | ``or_(a, b)`` |
/external/protobuf/python/google/protobuf/internal/
Dtest_util.py833 return NonStandardInteger(operator.or_(self.val, y))
842 return NonStandardInteger(operator.or_(y, self.val))
/external/python/cpython2/Modules/
Doperator.c405 spam2(or_,__or__, "or_(a, b) -- Same as a | b.")
/external/fonttools/Lib/fontTools/
Dmerge.py60 return reduce(operator.or_, lst)
/external/tensorflow/tensorflow/python/ops/
Dmath_ops.py1617 def or_(x, y, name=None): function
1636 _OverrideBinaryOperatorHelper(or_, "or")
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DAppleScript_Suite.py559 def or_(self, _object, _attributes={}, **_arguments): member in AppleScript_Suite_Events
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py396 or_v = operator.or_(var_b, [False, True])

12