(self)
| 154 | example_inputs: tuple[Any, ...] | Callable[[], tuple[Any, ...]] |
| 155 | |
| 156 | def get_example_inputs(self) -> tuple[Any, ...]: |
| 157 | if callable(self.example_inputs): |
| 158 | return self.example_inputs() |
| 159 | return self.example_inputs |
| 160 | |
| 161 | |
| 162 | def ramp_tensor(start: float, end: float, shape: tuple[int, ...]) -> torch.Tensor: |
no test coverage detected