Reshape功能,改变Tensor的shape。
using ReshapeFunc = std::function<void(const Dims &oldShape, Dims &newShape)>;