Home
last modified time | relevance | path

Searched refs:logical_or (Results 1 – 25 of 107) sorted by relevance

12345

/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_gpu_logical_or.cu.cc22 template struct BinaryFunctor<GPUDevice, logical_or, 1>;
23 template struct BinaryFunctor<GPUDevice, logical_or, 2>;
24 template struct BinaryFunctor<GPUDevice, logical_or, 3>;
25 template struct BinaryFunctor<GPUDevice, logical_or, 4>;
26 template struct BinaryFunctor<GPUDevice, logical_or, 5>;
Dcwise_op_logical_or.cc20 BinaryOp<CPUDevice, functor::logical_or>);
23 BinaryOp<GPUDevice, functor::logical_or>);
/external/libcxx/test/std/utilities/function.objects/logical.operations/
Dlogical_or.pass.cpp22 typedef std::logical_or<int> F; in main()
32 typedef std::logical_or<> F2; in main()
45 constexpr bool foo = std::logical_or<int> () (36, 36); in main()
48 constexpr bool bar = std::logical_or<> () (36.0, 36); in main()
Dtransparent.pass.cpp33 static_assert ( !is_transparent<std::logical_or<int>>::value, "" ); in main()
34 static_assert ( !is_transparent<std::logical_or<std::string>>::value, "" ); in main()
35 static_assert ( is_transparent<std::logical_or<void>>::value, "" ); in main()
36 static_assert ( is_transparent<std::logical_or<>>::value, "" ); in main()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_LogicalOr.pbtxt4 name: "math.logical_or"
7 name: "logical_or"
/external/tensorflow/tensorflow/contrib/image/python/ops/
Dsparse_image_warp.py51 is_boundary = np.logical_or(
52 np.logical_or(xs == 0, xs == image_width - 1),
53 np.logical_or(ys == 0, ys == image_height - 1))
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_operators.py45 ragged_tensor.RaggedTensor.__ror__ = _right(math_ops.logical_or)
46 ragged_tensor.RaggedTensor.__or__ = math_ops.logical_or
/external/tensorflow/tensorflow/contrib/labeled_tensor/
D__init__.py92 logical_or = _core.logical_or variable
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Darithmetic.cc117 XlaComputation logical_or = CreateScalarOrComputation(PRED, builder); in Any() local
122 return Reduce(predicates, f, logical_or, all_dimensions); in Any()
/external/tensorflow/tensorflow/contrib/sparsemax/python/ops/
Dsparsemax_loss.py61 math_ops.logical_or(sparsemax > 0, math_ops.is_nan(sparsemax)),
Dsparsemax.py89 math_ops.logical_or(
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Ddecoder.py349 initial_finished = math_ops.logical_or(
402 next_finished = math_ops.logical_or(decoder_finished, finished)
/external/tensorflow/tensorflow/lite/kernels/
Dlogical.cc104 const auto logical_or_func = std::logical_or<bool>(); in LogicalOrEval()
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py184 logical_or = _broadcasting_binary_op(math_ops.logical_or) variable
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_test.py251 self._compareBinary(x, y, np.logical_or, math_ops.logical_or, use_gpu)
261 self._compareBinary(x, y, np.logical_or, math_ops.logical_or, use_gpu)
283 self._compareBinary(x, y, np.logical_or, math_ops.logical_or, use_gpu)
290 for f in [math_ops.logical_and, math_ops.logical_or, math_ops.logical_xor]:
719 logical_funcs = [(np.logical_and, _AND), (np.logical_or, _OR),
/external/eigen/Eigen/src/Core/functors/
DStlFunctors.h40 struct functor_traits<std::logical_or<T> >
/external/tensorflow/tensorflow/python/ops/distributions/
Duniform.py184 math_ops.logical_or(broadcasted_x < self.low,
/external/python/cpython2/Lib/test/
Dtest_decimal.py1640 self.assertEqual(Decimal(10101).logical_or(1001),
1641 Decimal(10101).logical_or(Decimal(1001)))
2004 d = c.logical_or(Decimal(1), Decimal(1))
2005 self.assertEqual(c.logical_or(1, 1), d)
2006 self.assertEqual(c.logical_or(Decimal(1), 1), d)
2007 self.assertEqual(c.logical_or(1, Decimal(1)), d)
2008 self.assertRaises(TypeError, c.logical_or, '1', 1)
2009 self.assertRaises(TypeError, c.logical_or, 1, '1')
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dattention_wrapper_test.py739 self.assertTrue(np.all(np.logical_or(attn_out == 0, attn_out == 1)))
741 self.assertTrue(np.all(np.logical_or(attn_out.sum(axis=1) == 1,
913 self.assertTrue(np.all(np.logical_or(attn_out == 0, attn_out == 1)))
915 self.assertTrue(np.all(np.logical_or(attn_out.sum(axis=1) == 1,
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dcore.py456 return logical_or(self, other)
1190 logical_or = define_binary_op('logical_or', math_ops.logical_or) variable
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmixture_same_family_test.py72 np.ones_like(x_, dtype=np.bool), np.logical_or(x_ == 0., x_ == 1.))
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier.cc218 Status HandleOr(HloInstruction* logical_or) override;
1879 Status AlgebraicSimplifierVisitor::HandleOr(HloInstruction* logical_or) { in HandleOr() argument
1881 CHECK(Match(logical_or, m::Or(m::Op(&lhs), m::Op(&rhs)))); in HandleOr()
1888 << logical_or->ToString(); in HandleOr()
1889 if (IsAll(rhs, 1) && ReplaceInstructionIfSameShape(logical_or, rhs)) { in HandleOr()
1894 << logical_or->ToString(); in HandleOr()
1895 if (IsAll(lhs, 1) && ReplaceInstructionIfSameShape(logical_or, lhs)) { in HandleOr()
1901 << logical_or->ToString(); in HandleOr()
1902 if (IsAll(rhs, 0) && ReplaceInstructionIfSameShape(logical_or, lhs)) { in HandleOr()
1908 << logical_or->ToString(); in HandleOr()
[all …]
/external/tensorflow/tensorflow/contrib/training/python/training/
Dsampling_ops.py220 math_ops.logical_or(
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dbatching.py256 math_ops.logical_or(
318 math_ops.logical_or(
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dtensor_util.py147 math_ops.logical_or(

12345