Zeros.to_linspace (function)


def to_linspace(self)

Convert from Zeros to Linspace (only supported for flat arrays in which shape is an integer, not a tuple).

Linspace(0, 0, self.shape)

Returns

Raises

  • NotImplementedError: if the shape is not flat.