Tensor Comprehensions
|
#include <mapping_options.h>
Public Member Functions | |
TilingView (const TilingView &)=default | |
Construct a view that refers to a protocol buffers message. More... | |
TilingView (TilingProto &p) | |
std::vector< uint64_t > | extractVector () const |
Return a copy of values as std::vector. More... | |
size_t | size () const |
Number of values held. More... | |
ValueAccessor< uint64_t > | operator[] (size_t i) |
uint64_t | operator[] (size_t i) const |
Access the values positionally (x=0, y=1, z=2). More... | |
TilingView & | operator= (const TilingView &view) |
Assign the values from another view. More... | |
bool | operator== (const TilingView &view) const |
Compare the values with those from another view. More... | |
bool | operator!= (const TilingView &view) const |
std::string | toCommaSeparatedString () const |
Conversion to string and output operators. More... | |
Public Attributes | |
TilingProto & | proto |
Private Member Functions | |
TilingView ()=default | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TilingView &view) |
View of a TilingProto.
Provides sequence container-like access to TilingProto.
|
privatedefault |
|
default |
Construct a view that refers to a protocol buffers message.
|
inlineexplicit |
|
inline |
Return a copy of values as std::vector.
|
inline |
|
inline |
Assign the values from another view.
|
inline |
Compare the values with those from another view.
|
inline |
Return a modifiable object which replicates assignments back to the underlying protocol buffers message.
|
inline |
Access the values positionally (x=0, y=1, z=2).
|
inline |
Number of values held.
std::string tc::TilingView::toCommaSeparatedString | ( | ) | const |
Conversion to string and output operators.
|
friend |
TilingProto& tc::TilingView::proto |