Home
last modified time | relevance | path

Searched full:floor_divide (Results 1 – 25 of 90) sorted by relevance

1234

/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
H A Dcwise_ops_binary_test.py204 self._compareBoth(x, y + 0.1, np.floor_divide, math_ops.floordiv)
209 self._compareBoth(x, y + 0.1, np.floor_divide, _FLOORDIV)
271 self._compareBoth(x, y + 0.1, np.floor_divide, math_ops.floordiv)
276 self._compareBoth(x, y + 0.1, np.floor_divide, _FLOORDIV)
308 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv)
312 self._compareBoth(x, y, np.floor_divide, _FLOORDIV)
330 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv)
332 self._compareBoth(x, y, np.floor_divide, _FLOORDIV)
341 self._compareBoth(x, y, np.floor_divide, math_ops.floordiv)
347 self._compareBoth(x, y, np.floor_divide, _FLOORDIV)
[all …]
H A Dbasic_gpu_test.py59 self._compareGPU(x, y + 0.1, np.floor_divide, math_ops.floordiv)
139 np_out = np.floor_divide(x, y + 0.1)
196 self._compareGpu(x1, x2 + 0.1, np.floor_divide, math_ops.floordiv)
/aosp_15_r20/external/executorch/kernels/test/
H A Dop_floor_divide_test.cpp36 // Destination for the floor_divide. in test_integer_floor_divide()
39 // floor_divide two tensors. in test_integer_floor_divide()
56 // Destination for the floor_divide. in test_floating_point_floor_divide()
59 // floor_divide two tensors. in test_floating_point_floor_divide()
78 // Destination for the floor_divide. in TEST_F()
81 // floor_divide two tensors. in TEST_F()
117 // floor_divide() doesn't handle Bool. in TEST_F()
143 // Destination for the floor_divide; matches the shape of one of the inputs. in TEST_F()
H A Dtest_case_gen.py742 x, y, (), (), torch_fn=torch.floor_divide
744 + make_test_cases_dynamic_shape(x, y, torch.floor_divide(x, y)),
/aosp_15_r20/external/executorch/kernels/portable/cpu/
H A Dop_floor_divide.cpp51 static constexpr const char op_name[] = "floor_divide.out"; in floor_divide_out()
65 return utils::floor_divide(val_a, val_b); in floor_divide_out()
H A Dop_div.cpp140 value = utils::floor_divide(val_a, val_b); in div_out_mode()
263 value = utils::floor_divide(val_a, val_b); in div_scalar_mode_out()
/aosp_15_r20/external/pytorch/test/typing/pass/
H A Dmath_ops.py148 # floor_divide
149 torch.floor_divide(torch.tensor([4.0, 3.0]), torch.tensor([2.0, 2.0]))
150 torch.floor_divide(torch.tensor([4.0, 3.0]), 1.4)
/aosp_15_r20/external/executorch/backends/vulkan/runtime/graph/ops/impl/
H A DBinaryOp.cpp115 DEFINE_BINARY_OP_WITH_ALPHA_FN(floor_divide);
127 VK_REGISTER_OP(aten.div.Tensor_mode, floor_divide);
/aosp_15_r20/external/executorch/backends/apple/mps/operators/
H A Dbinary_ops.py48 "aten.floor_divide.default",
75 exir_ops.edge.aten.floor_divide.default: MPSDiv,
/aosp_15_r20/external/executorch/kernels/portable/cpu/util/
H A Dmath_util.h26 INT_T floor_divide(INT_T a, INT_T b) { in floor_divide() function
39 FLOAT_T floor_divide(FLOAT_T a, FLOAT_T b) { in floor_divide() function
/aosp_15_r20/external/pytorch/test/mobile/model_test/
H A Dcoverage.yaml241 - aten::floor_divide
242 - aten::floor_divide.Scalar
819 aten::floor_divide: 4
820 aten::floor_divide.Scalar: 7
H A Dmodel_ops.yaml153 aten::floor_divide: 8
154 aten::floor_divide.Scalar: 37
H A Dmath_ops.py97 torch.floor_divide(torch.tensor([4.0, 3.0]), torch.tensor([2.0, 2.0])),
98 torch.floor_divide(torch.tensor([4.0, 3.0]), 1.4),
/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_flex_decoding.py596 floor_divide = torch.ops.aten.floor_divide.default(arg3_1, add); arg3_1 = add = None
597 sub = torch.ops.aten.sub.Tensor(arg0_1, floor_divide); arg0_1 = floor_divide = None
H A Dtest_flex_attention.py606 floor_divide = torch.ops.aten.floor_divide.default(arg3_1, add); arg3_1 = add = None
607 sub = torch.ops.aten.sub.Tensor(arg0_1, floor_divide); arg0_1 = floor_divide = None
/aosp_15_r20/external/pytorch/test/torch_np/
H A Dtest_binary_ufuncs.py61 np.floor_divide(0.5, 0.6),
62 floor_divide(0.5, 0.6),
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/ops/
H A DBinaryOp.cpp588 self, other, std::optional<Scalar>(), VK_KERNEL(floor_divide)); in floor_divide_tensor()
625 TORCH_SELECTIVE_NAME("aten::floor_divide.Scalar"), in TORCH_LIBRARY_IMPL()
631 TORCH_SELECTIVE_NAME("aten::floor_divide"), in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/pytorch/functorch/dim/
H A Dop_properties.py147 torch.Tensor.floor_divide,
148 torch.floor_divide,
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A DNamedRegistrations.cpp195 m.impl("floor_divide", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
196 m.impl("floor_divide.Scalar", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
197 m.impl("floor_divide.out", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/pytorch/torch/distributed/tensor/_ops/
H A D_pointwise_ops.py39 # "floor_divide", # floor_divide is deprecated
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DBinaryOps.cpp46 #include <ATen/ops/floor_divide.h>
978 Tensor floor_divide(const Tensor& self, const Tensor& other) { in floor_divide() function
1510 Tensor floor_divide(const Tensor& self, const Scalar& other) { in floor_divide() function
1511 return at::floor_divide(self, wrapped_scalar_tensor(other)); in floor_divide()
/aosp_15_r20/external/pytorch/aten/src/ATen/functorch/
H A DBatchRulesBinaryOps.cpp400 BINARY_POINTWISE(floor_divide); in TORCH_LIBRARY_IMPL()
401 UNARY_POINTWISE2(floor_divide, Scalar); in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/pytorch/tools/pyi/
H A Dgen_pyi.py172 "floor_divide",
1004 for binop in ["true_divide", "floor_divide"]:
1232 for binop in ["true_divide", "floor_divide"]:
/aosp_15_r20/external/pytorch/torch/_numpy/
H A D_binary_ufuncs_impl.py20 floor_divide,
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/glsl/
H A Dshader_params.yaml44 - NAME: floor_divide

1234