nnlib
GPU-accelerated, C/C++ neural network library.
different_data_location_exception.h
Go to the documentation of this file.
1 
8 #ifndef NNLIB_DIFFERENT_DATA_LOCATION_EXCEPTION_H
9 #define NNLIB_DIFFERENT_DATA_LOCATION_EXCEPTION_H
10 
11 
12 #include <exception>
13 
20 class DifferentDataLocationException : public std::exception {
21 
27  [[nodiscard]] const char* what() const noexcept override;
28 };
29 
30 
31 #endif //NNLIB_DIFFERENT_DATA_LOCATION_EXCEPTION_H
Exception to be thrown where operands are located in different places.
Definition: different_data_location_exception.h:20
const char * what() const noexcept override
Return the exception description.
Definition: different_data_location_exception.cpp:10