/external/tensorflow/tensorflow/python/kernel_tests/ |
D | division_future_test.py | 64 floordiv = x // y 66 check(floordiv, tf_floordiv)
|
D | division_past_test.py | 63 floordiv = x // y 65 check(floordiv, tf_floordiv)
|
D | cwise_ops_binary_test.py | 191 if tf_func not in (_FLOORDIV, math_ops.floordiv, math_ops.zeta, 208 self._compareBoth(x, y + 0.1, np.floor_divide, math_ops.floordiv) 275 self._compareBoth(x, y + 0.1, np.floor_divide, math_ops.floordiv) 322 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv) 333 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv) 351 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv) 424 if tf_func not in (_FLOORDIV, math_ops.floordiv): 452 tf_func in (_FLOORDIV, math_ops.floordiv)): 482 (np.floor_divide, math_ops.floordiv),
|
D | basic_gpu_test.py | 64 self._compareGPU(x, y + 0.1, np.floor_divide, math_ops.floordiv) 233 self._compareGpu(x, y + 0.1, np.floor_divide, math_ops.floordiv)
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_operators.py | 56 ragged_tensor.RaggedTensor.__floordiv__ = math_ops.floordiv 57 ragged_tensor.RaggedTensor.__rfloordiv__ = _right(math_ops.floordiv)
|
D | ragged_dispatch.py | 370 math_ops.floordiv,
|
D | ragged_dispatch_test.py | 106 math_ops.floordiv,
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | bfloat16.cc | 889 float floordiv; in divmod() local 891 floordiv = std::floor(div); in divmod() 892 if (div - floordiv > 0.5f) { in divmod() 893 floordiv += 1.0f; in divmod() 896 floordiv = std::copysign(0.0f, a / b); in divmod() 898 return {floordiv, mod}; in divmod() 925 float floordiv, mod; in Call() local 926 std::tie(floordiv, mod) = in Call() 928 *reinterpret_cast<bfloat16*>(o0) = bfloat16(floordiv); in Call()
|
/external/python/cpython3/Lib/test/ |
D | test_abstract_numbers.py | 38 self.assertRaises(TypeError, operator.floordiv, c1, c2)
|
D | test_operator.py | 158 self.assertRaises(TypeError, operator.floordiv, 5) 159 self.assertRaises(TypeError, operator.floordiv, None, None) 160 self.assertEqual(operator.floordiv(5, 2), 2)
|
/external/python/cpython3/Objects/ |
D | floatobject.c | 630 double div, mod, floordiv; in float_divmod() local 661 floordiv = floor(div); in float_divmod() 662 if (div - floordiv > 0.5) in float_divmod() 663 floordiv += 1.0; in float_divmod() 667 floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */ in float_divmod() 669 PyFPE_END_PROTECT(floordiv) in float_divmod() 670 return Py_BuildValue("(dd)", floordiv, mod); in float_divmod()
|
/external/python/cpython3/Lib/ |
D | operator.py | 83 def floordiv(a, b): function 426 __floordiv__ = floordiv
|
D | fractions.py | 442 __floordiv__, __rfloordiv__ = _operator_fallbacks(_floordiv, operator.floordiv)
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 751 double div, mod, floordiv; in float_divmod() local 785 floordiv = floor(div); in float_divmod() 786 if (div - floordiv > 0.5) in float_divmod() 787 floordiv += 1.0; in float_divmod() 792 floordiv = div * vx / wx; /* zero w/ sign of vx/wx */ in float_divmod() 794 PyFPE_END_PROTECT(floordiv) in float_divmod() 795 return Py_BuildValue("(dd)", floordiv, mod); in float_divmod()
|
/external/python/cpython2/Lib/test/ |
D | test_operator.py | 153 self.assertTrue(operator.floordiv(5, 2) == 2) 156 self.assertRaises(TypeError, operator.floordiv, 5) 157 self.assertRaises(TypeError, operator.floordiv, None, None) 158 self.assertTrue(operator.floordiv(5, 2) == 2)
|
/external/tensorflow/tensorflow/lite/testing/op_tests/ |
D | binary_op.py | 203 make_binary_op_tests(options, tf.math.floordiv)
|
/external/libchrome/third_party/jinja2/ |
D | sandbox.py | 255 '//': operator.floordiv,
|
D | nodes.py | 30 '//': operator.floordiv,
|
/external/python/cpython3/Doc/library/ |
D | operator.rst | 104 .. function:: floordiv(a, b) 380 | Division | ``a // b`` | ``floordiv(a, b)`` |
|
/external/protobuf/python/google/protobuf/internal/ |
D | test_util.py | 760 return NonStandardInteger(operator.floordiv(self.val, y)) 802 return NonStandardInteger(operator.floordiv(y, self.val))
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 112 .. function:: floordiv(a, b) 630 | Division | ``a // b`` | ``floordiv(a, b)`` |
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_ops.py | 299 return floordiv(self.x, y, self.name) 1196 def floordiv(x, y, name=None): function 1267 _OverrideBinaryOperatorHelper(floordiv, "floordiv")
|
/external/python/cpython2/Modules/ |
D | operator.c | 392 spam2(floordiv,__floordiv__, "floordiv(a, b) -- Same as a // b.")
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.math.pbtxt | 164 name: "floordiv"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.math.pbtxt | 164 name: "floordiv"
|