/third_party/mindspore/mindspore/ops/composite/multitype_ops/ |
D | floordiv_impl.py | 23 floordiv = base.MultitypeFuncGraph("floordiv", True) variable 30 @floordiv.register("Number", "Number") 36 @floordiv.register("Tensor", "Tensor") 42 @floordiv.register("Tensor", "Number") 48 @floordiv.register("Number", "Tensor") 54 @floordiv.register("Tuple", "Tensor") 61 @floordiv.register("Tensor", "Tuple") 68 @floordiv.register("List", "Tensor") 75 @floordiv.register("Tensor", "List")
|
D | __init__.py | 23 from .floordiv_impl import floordiv
|
D | _compile_utils.py | 130 return F.floordiv(self, other)
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_auto_parallel_arithmetic.py | 65 self.floordiv = P.FloorDiv() 69 out = self.floordiv(out, b) 94 self.floordiv = P.FloorDiv() 98 out = self.floordiv(out, b) 123 self.floordiv = P.FloorDiv() 127 out = self.floordiv(out, b) 152 self.floordiv = P.FloorDiv() 156 out = self.floordiv(out, b)
|
D | test_arithmetic.py | 548 self.floordiv = P.FloorDiv().shard(strategy2) 552 out = self.floordiv(out, b) 572 self.floordiv = P.FloorDiv().shard(strategy2) 576 out = self.floordiv(out, b) 596 self.floordiv = P.FloorDiv().shard(strategy2) 600 out = self.floordiv(out, b)
|
/third_party/python/Objects/ |
D | floatobject.c | 636 _float_div_mod(double vx, double wx, double *floordiv, double *mod) in _float_div_mod() argument 662 *floordiv = floor(div); in _float_div_mod() 663 if (div - *floordiv > 0.5) { in _float_div_mod() 664 *floordiv += 1.0; in _float_div_mod() 669 *floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */ in _float_div_mod() 677 double mod, floordiv; in float_divmod() local 684 _float_div_mod(vx, wx, &floordiv, &mod); in float_divmod() 685 return Py_BuildValue("(dd)", floordiv, mod); in float_divmod() 692 double mod, floordiv; in float_floor_div() local 699 _float_div_mod(vx, wx, &floordiv, &mod); in float_floor_div() [all …]
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | resources.py | 87 T.floordiv: multitype_ops.floordiv,
|
D | trope.py | 23 add, sub, mul, truediv, floordiv, mod, eq, ne, lt, gt, le, ge, pos, neg,
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_floordiv_op.py | 27 self.floordiv = P.FloorDiv() 30 return self.floordiv(x, y)
|
/third_party/python/Lib/test/ |
D | test_abstract_numbers.py | 38 self.assertRaises(TypeError, operator.floordiv, c1, c2)
|
D | test_operator.py | 172 self.assertRaises(TypeError, operator.floordiv, 5) 173 self.assertRaises(TypeError, operator.floordiv, None, None) 174 self.assertEqual(operator.floordiv(5, 2), 2)
|
D | datetimetester.py | 20 from operator import lt, le, gt, ge, eq, ne, truediv, floordiv, mod 940 self.assertRaises(ZeroDivisionError, floordiv, t, zerotd)
|
/third_party/python/Lib/ |
D | operator.py | 83 def floordiv(a, b): function 426 __floordiv__ = floordiv
|
D | fractions.py | 523 __floordiv__, __rfloordiv__ = _operator_fallbacks(_floordiv, operator.floordiv)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | sandbox.py | 255 '//': operator.floordiv,
|
D | nodes.py | 30 '//': operator.floordiv,
|
/third_party/jinja2/ |
D | sandbox.py | 280 "//": operator.floordiv,
|
D | nodes.py | 19 "//": operator.floordiv,
|
/third_party/skia/third_party/externals/jinja2/ |
D | sandbox.py | 280 "//": operator.floordiv,
|
D | nodes.py | 19 "//": operator.floordiv,
|
/third_party/mindspore/mindspore/ops/ |
D | functional.py | 69 floordiv = tensor_floordiv variable
|
/third_party/mindspore/tests/syntax/simple_expression/ |
D | test_math_ops.py | 495 self.floordiv = P.FloorDiv() 498 z = self.floordiv(x, y)
|
/third_party/python/Doc/library/ |
D | operator.rst | 104 .. function:: floordiv(a, b) 381 | Division | ``a // b`` | ``floordiv(a, b)`` |
|
/third_party/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))
|
/third_party/python/Doc/howto/ |
D | functional.rst | 1088 * Math operations: ``add()``, ``sub()``, ``mul()``, ``floordiv()``, ``abs()``, ...
|