• F
    Simplify Tensor implimentation · 55d30172
    fengjiayi 提交于
    ATTENTION: some interfaces changed:
    1. void Tensor::set_dims(const DDim& dims) ==> void Tensor::Resize(const DDim& dims).
    2. void Tensor::ShareDataFrom(const Tensor& src)  ==> void Tensor::ShareDataWith(const Tensor& src)
    3. DDim Tensor::dims() const ==> const DDim& Tensor::dims() const
    55d30172
tensor.h 8.0 KB