Full.to_linspace (function)


def to_linspace(self)

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

Linspace(self.fill_value, self.fill_value, self.shape)

Returns

Raises

  • NotImplementedError: if the shape is not flat.