Dataloader

rff.dataloader.rectangular_coordinates(size: tuple) Tensor

Creates a tensor of equally spaced coordinates for use with an image or volume

Parameters

size (tuple) – shape of the image or volume

Returns

tensor of shape \((*\text{size}, \text{len(size)})\)

Return type

Tensor