vis4d.op.box.anchor.util¶
Anchor utils.
Functions
|
Generate mesh grid of x and y. |
- meshgrid(x_grid, y_grid, row_major=True)[source]¶
Generate mesh grid of x and y.
- Parameters:
x_grid (Tensor) – Grids of x dimension.
y_grid (Tensor) – Grids of y dimension.
row_major (bool, optional) – Whether to return y grids first. Defaults to True.
- Returns:
The mesh grids of x and y.
- Return type:
tuple[Tensor]