torchgeo
torchgeo copied to clipboard
Random GeoSamplers: add default length
Closes #380 @tritolol
Uses the same logic we use to compute GridGeoSampler length, updated by @remtav in #630
Has to wait until the 0.4.0 release since we add a new public function. We could make it private, but I wanted to render the math in the docs 😃