Expose the nd::array adapt function as nd.adapt