Dense Layer, Add
added the dense layer with a forward functions. I also made the add functions for most cases.
This commit is contained in:
@@ -52,40 +52,40 @@
|
||||
namespace panic {
|
||||
namespace constants{
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Type Name : panic::pi
|
||||
// Type Name : panic::constants::pi
|
||||
//
|
||||
// Description:
|
||||
// Default difinition of pi (3.14159265358979323846) used inside PANIC.
|
||||
// static_cast makes sure the right number of decimals are used when defining the constant.
|
||||
//
|
||||
// Underlying Type:
|
||||
// panic::real_t
|
||||
// panic::types::real_t
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
static const panic::real_t pi = static_cast<panic::real_t>(3.14159265358979323846);
|
||||
static const panic::types::real_t pi = static_cast<panic::types::real_t>(3.14159265358979323846);
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//
|
||||
// Type Name : panic::tau
|
||||
// Type Name : panic::constants::tau
|
||||
//
|
||||
// Description:
|
||||
// Default difinition of tau (6.28318530717958647692) used inside PANIC.
|
||||
// static_cast makes sure the right number of decimals are used when defining the constant.
|
||||
//
|
||||
// Underlying Type:
|
||||
// panic::real_t
|
||||
// panic::types::real_t
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
static const panic::real_t tau = static_cast<panic::real_t>(6.28318530717958647692);
|
||||
static const panic::types::real_t tau = static_cast<panic::types::real_t>(6.28318530717958647692);
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//
|
||||
// Type Name : panic::e
|
||||
// Type Name : panic::constants::e
|
||||
//
|
||||
// Description:
|
||||
// Default difinition of eulers number, e (2.71828182845904523536) used inside PANIC.
|
||||
// static_cast makes sure the right number of decimals are used when defining the constant.
|
||||
//
|
||||
// Underlying Type:
|
||||
// panic::real_t
|
||||
// panic::types::real_t
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
static const panic::real_t e = static_cast<panic::real_t>(2.71828182845904523536);
|
||||
static const panic::types::real_t e = static_cast<panic::types::real_t>(2.71828182845904523536);
|
||||
|
||||
} // namespace constants
|
||||
} // namespace panic
|
||||
|
||||
Reference in New Issue
Block a user