MCPcopy Create free account
hub / github.com/alexklwong/mondi-python / remove_random_nonzero

Method remove_random_nonzero

src/transforms.py:523–550  ·  view source on GitHub ↗

Remove random nonzero for each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x H x W tensors do_remove : bool N booleans to determine if random remove is performed on each sample densities :

(self, images_arr, do_remove, densities)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

transformMethod · 0.95

Calls 1

random_nonzeroMethod · 0.95

Tested by

no test coverage detected