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