fix data_offset method in xview to compute the strides only once
fix data_offset method in xview to compute the strides only once

xtensor-stack/xtensor,QuantStack/xtensor,xtensor-stack/xtensor,JohanMabille/xtensor,JohanMabille/xtensor,QuantStack/xtensor