|
Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
index-value pair used for tensor data input More...
#include <tensor.h>
Public Member Functions | |
| Pair (int64_t k_, dtype d_) | |
| constructor builds pair More... | |
| Pair () | |
| default constructor More... | |
| bool | operator< (Pair< dtype > other) const |
| determines pair ordering More... | |
Data Fields | |
| int64_t | k |
| key, global index [i1,i2,...] specified as i1+len[0]*i2+... More... | |
| dtype | d |
| tensor value associated with index More... | |
index-value pair used for tensor data input
| dtype CTF::Pair< dtype >::d |
tensor value associated with index
Definition at line 34 of file tensor.h.
Referenced by block_sparse(), mis2(), CTF_int::parse_sparse_tensor_data(), CTF::Tensor< dtype >::read(), CTF::Matrix< dtype >::read_mat(), CTF::Tensor< dtype >::write(), and CTF::Matrix< dtype >::write_mat().
| int64_t CTF::Pair< dtype >::k |
key, global index [i1,i2,...] specified as i1+len[0]*i2+...
Definition at line 31 of file tensor.h.
Referenced by block_sparse(), CTF::comp_pair(), CTF::get_my_kv_pair(), mis2(), CTF_int::parse_sparse_tensor_data(), CTF::Tensor< dtype >::read(), CTF_int::serialize_sparse_tensor_data(), and CTF::Tensor< dtype >::write().