MLask 1.0.0
A custom c++ deep learning library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mlask::ArchitectureError Class Reference

Errors associated with Neural Network architecture e.g. wrong connection beetwen layers. More...

#include <exceptions.hpp>

Inheritance diagram for mlask::ArchitectureError:
Inheritance graph
[legend]
Collaboration diagram for mlask::ArchitectureError:
Collaboration graph
[legend]

Public Member Functions

 ArchitectureError (const std::string &msg, std::size_t layerId)
 
const char * what () const noexcept override
 
std::size_t layerId ()
 

Detailed Description

Errors associated with Neural Network architecture e.g. wrong connection beetwen layers.

Constructor & Destructor Documentation

◆ ArchitectureError()

mlask::ArchitectureError::ArchitectureError ( const std::string &  msg,
std::size_t  layerId 
)
inline
Parameters
msgmessage describing an error
layerIdid of an layer the error happend
layerthe string representation of a layer that failed

Member Function Documentation

◆ layerId()

std::size_t mlask::ArchitectureError::layerId ( )
inline

◆ what()

const char * mlask::ArchitectureError::what ( ) const
inlineoverridenoexcept

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