Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensor format: .tco #65

Open
fredrikbk opened this issue May 3, 2017 · 0 comments
Open

Tensor format: .tco #65

fredrikbk opened this issue May 3, 2017 · 0 comments

Comments

@fredrikbk
Copy link
Contributor

fredrikbk commented May 3, 2017

We want to support a custom taco file format .tco. These files should contain ascii text as follows:

  • An optional header preceded by ##taco , containing one of float double uint32_t ...
  • One or more comment lines at the beginning preceded by #
  • A line with the dimension sizes for each order
  • A line with the dimension storage types
  • A line with the dimension storage order (for each dimension, which tree level it is stored at)
  • For each (permuted) storage dimension, one line of values per index (no indices for dense types)
  • A line with values array

Example:

##taco double
# comment
4 4 7 5
d s s d
0 1 3 2
0 2 3 3 5
0 1 1 2 3
0 1 1 3 4 7
0 1 1 2 3 4 6
0.1 1.2 2.0 3.4 4.0 5.6 2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant