Home
last modified time | relevance | path

Searched refs:supports_rhs_python_scalar (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/pytorch/torch/testing/_internal/opinfo/
H A Dcore.py1712 if not op.supports_rhs_python_scalar:
1991 if op.supports_rhs_python_scalar:
2035 if op.supports_rhs_python_scalar:
2175 supports_rhs_python_scalar=True, # Whether the operator allows Tensor x scalar inputs argument
2211 self.supports_rhs_python_scalar = supports_rhs_python_scalar
2220 supports_rhs_python_scalar
/aosp_15_r20/external/pytorch/torch/_refs/
H A D__init__.py1016 supports_rhs_python_scalar=True, argument
1040 supports_rhs_python_scalar or not isinstance(b, Number),
1106 supports_rhs_python_scalar=False,
1351 supports_rhs_python_scalar=False,
1360 supports_rhs_python_scalar=False,
1369 supports_rhs_python_scalar=True,
1384 supports_rhs_python_scalar=False,
1409 supports_rhs_python_scalar=False,
1422 supports_rhs_python_scalar=False,
1431 supports_rhs_python_scalar=False,
[all …]
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_methods_invocations.py11968 supports_rhs_python_scalar=False,
11986 supports_rhs_python_scalar=False,
12376 supports_rhs_python_scalar=False,
12769 supports_rhs_python_scalar=False,
13154 supports_rhs_python_scalar=False,
13164 supports_rhs_python_scalar=False,
13787 supports_rhs_python_scalar=False,
13810 supports_rhs_python_scalar=False,
14189 supports_rhs_python_scalar=False,
14202 supports_rhs_python_scalar=False,
[all …]
/aosp_15_r20/external/pytorch/test/
H A Dtest_binary_ufuncs.py694 if _supported((torch.int64, torch.float32)) and op.supports_rhs_python_scalar:
723 and op.supports_rhs_python_scalar
754 if _supported((torch.float32, torch.float64)) and op.supports_rhs_python_scalar:
766 and op.supports_rhs_python_scalar