Tannic
A C++ Tensor Library
|
Concept defining requirements for tensor operation types. More...
#include <concepts.hpp>
Concept defining requirements for tensor operation types.
This concept specifies the interface that all tensor operators must implement:
A type satisfies the Operator concept if it provides:
promote
method that determines the result type from two input typesbroadcast
method that computes the output shape from two input shapes