pull StorageRef (and TensorView) changes from evaleev/BTAS