13 lines
254 B
Python
13 lines
254 B
Python
|
|
from typing import Sequence
|
||
|
|
import numpy as np
|
||
|
|
|
||
|
|
|
||
|
|
def get_anchor_grid(
|
||
|
|
num_rows: int,
|
||
|
|
num_cols: int,
|
||
|
|
scale_factor: float,
|
||
|
|
anchor_widths: Sequence[float],
|
||
|
|
aspect_ratios: Sequence[float],
|
||
|
|
) -> np.ndarray:
|
||
|
|
raise NotImplementedError()
|