Skip to content
Snippets Groups Projects
Unverified Commit 1299deae authored by Yinggang Wang's avatar Yinggang Wang Committed by GitHub
Browse files

Feat tensor stride property (#5543)


* feat(Stride): add Stride class

* feat(Tensor): support stride and storage_offset interface

* feat(Tensor): add is_contiguous interface

* remove test declaration

* feat(TensorMeta): add hash and compare for stride

* refine code

* refine IsContiguous function

Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
parent 2b208ec0
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment