See also: https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html
| 158 | |
| 159 | |
| 160 | class InterpolateMode(StrEnum): |
| 161 | """ |
| 162 | See also: https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html |
| 163 | """ |
| 164 | |
| 165 | NEAREST = "nearest" |
| 166 | NEAREST_EXACT = "nearest-exact" |
| 167 | LINEAR = "linear" |
| 168 | BILINEAR = "bilinear" |
| 169 | BICUBIC = "bicubic" |
| 170 | TRILINEAR = "trilinear" |
| 171 | AREA = "area" |
| 172 | |
| 173 | |
| 174 | class UpsampleMode(StrEnum): |
no outgoing calls
no test coverage detected
searching dependent graphs…