mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 09:44:28 +00:00
Switch model and module members to protected
This commit is contained in:
@@ -39,7 +39,7 @@ class Model {
|
|||||||
|
|
||||||
bool validate();
|
bool validate();
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
Layers::Input* inputLayer;
|
Layers::Input* inputLayer;
|
||||||
Layers::Output* outputLayer;
|
Layers::Output* outputLayer;
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class Module : public Layers::SequentialLayer {
|
|||||||
|
|
||||||
const std::unordered_map<std::string, Layers::SequentialLayer*>& getLayers() const;
|
const std::unordered_map<std::string, Layers::SequentialLayer*>& getLayers() const;
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
int inputSize;
|
int inputSize;
|
||||||
int inputChannels;
|
int inputChannels;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user