This commit is contained in:
Francesco Gatti
2017-07-18 16:45:19 +02:00
parent 0887199880
commit e7a6f1fb6c
4 changed files with 69 additions and 1 deletions
+15
View File
@@ -207,5 +207,20 @@ protected:
bool poolOn3d;
};
/**
Softmax layer
*/
class Softmax : public Layer {
public:
Softmax(Network *net, dataDim_t input_dim);
virtual ~Softmax();
virtual value_type* infer(dataDim_t &dim, value_type* srcData);
protected:
value_type *dstData; //where results will be putted
};
}
#endif //LAYER_H