Dims GetDimensions() const noexcept 函数功能获取张量的维度。 函数原型Dims GetDimensions() const noexcept; 返回值说明返回张量的维度。 父主题: class Tensor