预留接口
接口定义 |
功能说明 |
---|---|
CanPickViewAsContiguous(std::initializer_list<const aclTensor *> tensorList) |
判断给定tensorList是否连续存储或者转置连续存储。 |
CanPickViewAsContiguous(const aclTensor *tensor) |
判断给定tensor是否连续存储或者转置连续存储。 |
Validate(const aclTensor *tensor) |
判断给定tensor的view shape、view stride、view offset是否合法。 |
父主题: tensor_view_utils