(self, format_spec)
| 959 | return torch.remainder(other, self) |
| 960 | |
| 961 | def __format__(self, format_spec): |
| 962 | if has_torch_function_unary(self): |
| 963 | return handle_torch_function(Tensor.__format__, (self,), self, format_spec) |
| 964 | if self.dim() == 0 and not self.is_meta and type(self) is Tensor: |
| 965 | return self.item().__format__(format_spec) |
| 966 | return object.__format__(self, format_spec) |
| 967 | |
| 968 | @_handle_torch_function_and_wrap_type_error_to_not_implemented |
| 969 | def __rpow__(self, other): |
nothing calls this directly
no test coverage detected