MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / pad

Method pad

mmdet/core/mask/structures.py:52–61  ·  view source on GitHub ↗

Pad masks to the given size of (h, w). Args: out_shape (tuple[int]): Target (h, w) of padded mask. pad_val (int): The padded value. Returns: BaseInstanceMasks: The padded masks.

(self, out_shape, pad_val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected