Deep Learning Visualizer
Interactive visualization of basic applications of deep learning
Loading...
Searching...
No Matches
layer.h
Go to the documentation of this file.
1
#pragma once
2
5
#include <Eigen/Core>
6
7
namespace
models {
8
9
struct
layer
{
10
layer
(
int
n,
int
prev_n);
11
12
void
update(
layer
*previous_layer);
13
14
[[nodiscard]]
int
n()
const
;
15
16
Eigen::VectorXf activations;
17
Eigen::VectorXf z_values;
18
Eigen::VectorXf biases;
19
Eigen::MatrixXf weights;
20
bool
is_output{
false
};
21
};
22
23
}
// namespace models
models::layer
Definition
layer.h:9
src
models
layer.h
Generated by
1.9.8