Traceable size.
More...
Traceable size.
Similar to neml2::TraceableTensorShape, but only for a single dimension.
- See also
- neml2::TraceableTensorShape
#include <TraceableSize.h>
◆ as_scalar()
◆ as_tensor()
- Returns
- the size represented as a scalar tensor (possibly traceable)
◆ concrete()
- Returns
- the concrete size (without any traceable information)
◆ traceable()
| const ATensor * traceable |
( |
| ) |
const |
|
noexcept |
- Returns
- a pointer to the ATensor representing the traceable size if it is traceable, otherwise a nullptr