vis4d.op.box.anchor.util

Anchor utils.

Functions

meshgrid(x_grid, y_grid[, row_major])

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]