Unsqueeze#

class myoverse.transforms.Unsqueeze(dim, name=None, **kwargs)[source]#

Add a dimension of size 1.

Parameters:
  • dim (int) – Position to insert new dimension.

  • name (str | None) – Name for the new dimension.

Methods

__init__(dim[, name])

_apply(x)

Apply the transform.