code: def one(self):
          
          return self.element(np.ones(self.shape, dtype=self.dtype,
                                      order=self.default_order))
docs: Return a tensor of all ones.
  
          Examples
          --------
          >>> space = odl.rn(3)
          >>> x = space.one()
          >>> x
          rn(3).element([ 1.,  1.,  1.])