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

Method shear

mmdet/core/mask/structures.py:431–464  ·  view source on GitHub ↗

Shear the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). magnitude (int | float): The magnitude used for shear. direction (str): The shear direction, either "horizontal" or "vertical". border_v

(self,
              out_shape,
              magnitude,
              direction='horizontal',
              border_value=0,
              interpolation='bilinear')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_shear_masksMethod · 0.45

Calls 1

BitmapMasksClass · 0.85

Tested by

no test coverage detected