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

Exception to be thrown where operands are located in different places. More...

#include <different_data_location_exception.h>

Inheritance diagram for DifferentDataLocationException:

Private Member Functions

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

Detailed Description

Exception to be thrown where operands are located in different places.

For example, when performing the add operation on two matrices, and one of them is located on host and one on device, this exception should be thrown.

Member Function Documentation

◆ what()

const char * DifferentDataLocationException::what ( ) const
overrideprivatenoexcept

Return the exception description.

Returns
The exception description.

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