(
self,
xy: Float[Tensor, "point 2"],
)
| 9 | @runtime_checkable |
| 10 | class ColorFunction(Protocol): |
| 11 | def __call__( |
| 12 | self, |
| 13 | xy: Float[Tensor, "point 2"], |
| 14 | ) -> Float[Tensor, "point 4"]: # RGBA color |
| 15 | pass |
| 16 | |
| 17 | |
| 18 | def generate_sample_grid( |
nothing calls this directly
no outgoing calls
no test coverage detected