tenzr::txpr::TxprVar¶
A Txpr variable reference pairing a VarId with its shape and dtype.
#include <txpr.h>
Public Functions¶
| Name | |
|---|---|
| constexpr bool | IsValid() const Returns true when the underlying id is valid. |
| bool | operator==(const TxprVar & other) const =default |
Public Attributes¶
| Name | |
|---|---|
| VarId | id |
| Shape | shape |
| DType | dtype |
Public Functions Documentation¶
function IsValid¶
Returns true when the underlying id is valid.