File size: 342 Bytes
9e15541
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import numpy as np


def remove_pts_ouside_frustum(voxel_grid: np.ndarray) -> np.ndarray:
    """Remove points outside frustum.

    Args:
        voxel_grid (np.ndarray): voxel grid of shape (B, C, H, W, D)

    Returns:
        np.ndarray: voxel grid of shape (B, C, H, W, D)
    """
    # TODO: implement, get additonal arguments
    pass