nnlib
GPU-accelerated, C/C++ neural network library.
Private Member Functions | List of all members
SizeMismatchException Class Reference

Exception to be thrown where operands are different shapes. More...

#include <size_mismatch_exception.h>

Inheritance diagram for SizeMismatchException:

Private Member Functions

const char * what () const noexcept override
 Return the exception description. More...
 

Detailed Description

Exception to be thrown where operands are different shapes.

For example, when performing the add operation on two matrices, which are different shapes, this exception should be thrown.

Member Function Documentation

◆ what()

const char * SizeMismatchException::what ( ) const
overrideprivatenoexcept

Return the exception description.

Returns
The exception description.

The documentation for this class was generated from the following files: