MagmaDNN  1.0
c++NeuralNetworkFramework
outputlayer.h
Go to the documentation of this file.
1 
9 #include <vector>
10 #include "layer/layer.h"
11 #include "tensor/tensor.h"
12 #include "compute/operation.h"
13 #include "compute/tensor_operations.h"
14 
15 namespace magmadnn {
16 namespace layer {
17 
18 template <typename T>
19 class OutputLayer : public Layer<T> {
20 public:
22  virtual ~OutputLayer();
23 
24  virtual std::vector<op::Operation<T> *> get_weights();
25 
26 protected:
27  void init();
28 
29 };
30 
31 template <typename T>
32 OutputLayer<T>* output(op::Operation<T> *input);
33 
34 } // layer
35 } // magmadnn
Definition: outputlayer.h:19
Definition: addop.cpp:11
Definition: layer.h:18
Definition: operation.h:18