Tannic
A C++ Tensor Library
|
Concept for types that can compare their value. More...
#include <concepts.hpp>
Concept for types that can compare their value.
A type T
satisfies this concept if it provides a method:
This function must take a pointer to a raw byte buffer and an offset, then return true
if the object is equal to the value at that memory location, or false
otherwise.
This concept is mainly used internally when comparing tensor elements, and enables the usage of slices from custom data structures beside the Tensor
class.