linspace This layer applies linspace function like [1],[9],5 -> [1,3,5,7,9]. Parameter axis : Integer, axis along which the linspace is applied. The default is 0.