nnlib
GPU-accelerated, C/C++ neural network library.
src
exceptions
size_mismatch_exception.h
Go to the documentation of this file.
1
8
#ifndef NNLIB_SIZE_MISMATCH_EXCEPTION_H
9
#define NNLIB_SIZE_MISMATCH_EXCEPTION_H
10
11
#include <exception>
12
19
class
SizeMismatchException
:
public
std::exception {
20
26
[[nodiscard]]
const
char
*
what
()
const
noexcept
override
;
27
};
28
29
30
#endif
//NNLIB_SIZE_MISMATCH_EXCEPTION_H
SizeMismatchException
Exception to be thrown where operands are different shapes.
Definition:
size_mismatch_exception.h:19
SizeMismatchException::what
const char * what() const noexcept override
Return the exception description.
Definition:
size_mismatch_exception.cpp:10
Generated by
1.9.1