Shortcuts

Reshape

class continual.Reshape(shape: Sequence[int], contiguous: bool = False)[source]
class continual.Reshape(*shape: int, contiguous=False)

Reshape non-temporal dimensions of an input

Parameters:
  • shape – The required shape of non-temporal dimensions.

  • contiguous – Whether reshaped output should be made contiguous.