Beatmup
Beatmup::NNets::AbstractOperation::InconsistentModelData Class Reference

#include <operation.h>

Inheritance diagram for Beatmup::NNets::AbstractOperation::InconsistentModelData:
Beatmup::Exception

Public Member Functions

 InconsistentModelData (const AbstractOperation *op, const char *shortDescription)
 
 InconsistentModelData (const AbstractOperation *op, const char *shortDescription, const size_t entriesRequested, const size_t sizeBytesGot)
 
- Public Member Functions inherited from Beatmup::Exception
virtual const char * what () const NOEXCEPT override
 

Additional Inherited Members

- Protected Member Functions inherited from Beatmup::Exception
 Exception (const char *message)
 
template<typename ... Args>
 Exception (const char *message, const Args &... args)
 

Detailed Description

Definition at line 100 of file operation.h.

Constructor & Destructor Documentation

◆ InconsistentModelData() [1/2]

Beatmup::NNets::AbstractOperation::InconsistentModelData::InconsistentModelData ( const AbstractOperation op,
const char *  shortDescription 
)
inline

Definition at line 102 of file operation.h.

102  :
103  Exception("Error when configuring '%s' operation: %s.", op->getName().c_str(), shortDescription)
104  {}
Exception(const char *message)
Definition: exception.h:41
jlong jint op

◆ InconsistentModelData() [2/2]

Beatmup::NNets::AbstractOperation::InconsistentModelData::InconsistentModelData ( const AbstractOperation op,
const char *  shortDescription,
const size_t  entriesRequested,
const size_t  sizeBytesGot 
)
inline

Definition at line 106 of file operation.h.

106  :
107  Exception("Error when configuring '%s' operation: %s. Cannot convert %u bytes of the given weights to %u requested entries.",
108  op->getName().c_str(), shortDescription, (unsigned int)sizeBytesGot, (unsigned int)entriesRequested)
109  {}

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