Home
last modified time | relevance | path

Searched full:true_divide (Results 1 – 25 of 76) sorted by relevance

1234

/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
H A Dcwise_ops_binary_test.py203 self._compareBoth(x, y + 0.1, np.true_divide, math_ops.truediv)
208 self._compareBoth(x, y + 0.1, np.true_divide, _TRUEDIV)
270 self._compareBoth(x, y + 0.1, np.true_divide, math_ops.truediv)
275 self._compareBoth(x, y + 0.1, np.true_divide, _TRUEDIV)
307 self._compareBoth(x, y, np.true_divide, math_ops.truediv)
311 self._compareBoth(x, y, np.true_divide, _TRUEDIV)
329 self._compareBoth(x, y, np.true_divide, math_ops.truediv)
331 self._compareBoth(x, y, np.true_divide, _TRUEDIV)
340 self._compareBoth(x, y, np.true_divide, math_ops.truediv)
346 self._compareBoth(x, y, np.true_divide, _TRUEDIV)
[all …]
H A Dbasic_gpu_test.py58 self._compareGPU(x, y + 0.1, np.true_divide, math_ops.truediv)
68 self._compareGPU(x, y + 0.1, np.true_divide, math_ops.truediv)
76 self._compareGPU(x, y + 0.1, np.true_divide, math_ops.truediv)
84 self._compareGPU(x, y + 0.1, np.true_divide, math_ops.truediv)
195 self._compareGpu(x1, x2, np.true_divide, math_ops.truediv)
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_save_load_for_op_version.py62 to call either aten::true_divide(_), if an input is a float type,
81 return self.true_divide(other)
188 return torch.true_divide(self, other, out=out)
240 return torch.true_divide(self, other)
244 return torch.true_divide(self, other)
/aosp_15_r20/external/pytorch/torch/csrc/jit/operator_upgraders/
H A Dupgraders_entry.cpp46 return self.true_divide(other)
56 return self.true_divide(other)
66 return self.true_divide(other, out=out)
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DCorrelation.cpp19 #include <ATen/ops/true_divide.h>
123 return at::true_divide(c, norm_factor).squeeze(); in cov()
/aosp_15_r20/external/pytorch/test/export/
H A Dtesting.py21 aten.true_divide.Tensor,
22 aten.true_divide.Scalar,
/aosp_15_r20/external/pytorch/functorch/dim/
H A Dop_properties.py305 torch.Tensor.true_divide,
306 torch.true_divide,
/aosp_15_r20/external/pytorch/torch/_refs/
H A D__init__.py188 "true_divide",
905 return true_divide(1, add(1, exp(neg(a))))
1177 return true_divide(a, b)
1265 # >>> torch.floor(torch.true_divide(a, b))
1272 # >>> torch.true_divide(torch.sub(a, torch.remainder(a, b)), b)
1325 div = true_divide(sub(a, mod), b)
1338 basic_div = true_divide(a, b)
1341 # If quotient is zero, copy signbit from true_divide quotient
1344 # If denominator is zero, then follow true_divide behavior
1748 name="true_divide",
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/functorch/
H A DBatchRulesDecompositions.cpp363 OP_DECOMPOSE2(true_divide, Tensor); in TORCH_LIBRARY_IMPL()
365 OP_DECOMPOSE2(true_divide, Scalar); in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/pytorch/test/
H A Dtest_type_promotion.py730 for op in (torch.div, torch.true_divide):
746 for op in (torch.div, torch.true_divide):
925 for op in (torch.div, torch.true_divide):
1105 result = torch.true_divide(a, b, out=out)
H A Dtest_binary_ufuncs.py1010 for mode, np_ref in ((None, np.true_divide), ("floor", np.floor_divide)):
1084 (None, np.true_divide),
1086 ("trunc", lambda a, b: np.trunc(np.true_divide(a, b)).astype(a.dtype)),
1826 torch.true_divide,
1869 for op in (operator.truediv, torch.true_divide):
1885 _scalar_helper(operator.truediv, torch.true_divide)
2620 (torch.true_divide, torch.Tensor.true_divide, torch.Tensor.true_divide_),
2647 torch.true_divide(a1, a2, out=res),
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A DNamedRegistrations.cpp487 m.impl("true_divide.Scalar", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
488 m.impl("true_divide.Tensor", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
489 m.impl("true_divide.out", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Dops_test.py181 self.assertAllEqual((a / b), np.true_divide(v1, v2))
183 self.assertAllEqual((a / a), np.true_divide(v1, v1))
/aosp_15_r20/external/pytorch/tools/pyi/
H A Dgen_pyi.py169 "true_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.py47 true_divide,
H A D_ufuncs.py42 "true_divide",
/aosp_15_r20/external/pytorch/test/mobile/
H A Dtest_upgraders.py36 return self.true_divide(other)
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/numpy_ops/
H A Dnp_math_ops.py104 @np_utils.np_doc('true_divide')
105 def true_divide(x1, x2): # pylint: disable=missing-function-docstring function
130 return true_divide(x1, x2)
/aosp_15_r20/external/pytorch/torch/masked/maskedtensor/
H A Dunary.py106 "true_divide",
H A Dbinary.py38 "true_divide",
/aosp_15_r20/external/pytorch/functorch/op_analysis/
H A Dpublic_api57 true_divide
/aosp_15_r20/external/pytorch/torch/_refs/special/
H A D__init__.py141 return torch.log(torch.true_divide(self, torch.sub(1, self)))
/aosp_15_r20/external/pytorch/torch/onnx/
H A Dsymbolic_opset10.py79 return opset9.true_divide(g, self, other)
95 out = opset9.true_divide(g, self, other)
/aosp_15_r20/external/pytorch/test/torch_np/
H A Dtest_nep50_examples.py144 "true_divide": ["bool_", "uint8", "int8", "int16", "int32", "int64"],
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/
H A Dnormalize_ops.cpp128 {aten::true_divide, aten::div}, in getOperatorAliasMap()

1234