Class: BackPropogation::ComputationalGates::CompGate
- Inherits:
-
Object
- Object
- BackPropogation::ComputationalGates::CompGate
- Defined in:
- lib/ml_algorithms.rb
Instance Attribute Summary collapse
-
#bckwrd ⇒ Object
Returns the value of attribute bckwrd.
-
#frwrd ⇒ Object
Returns the value of attribute frwrd.
-
#name ⇒ Object
Returns the value of attribute name.
-
#out ⇒ Object
Returns the value of attribute out.
Instance Method Summary collapse
-
#initialize(name) ⇒ CompGate
constructor
A new instance of CompGate.
Constructor Details
#initialize(name) ⇒ CompGate
Returns a new instance of CompGate.
114 115 116 117 |
# File 'lib/ml_algorithms.rb', line 114 def initialize(name) @name = name @frwrd = self end |
Instance Attribute Details
#bckwrd ⇒ Object
Returns the value of attribute bckwrd.
113 114 115 |
# File 'lib/ml_algorithms.rb', line 113 def bckwrd @bckwrd end |
#frwrd ⇒ Object
Returns the value of attribute frwrd.
113 114 115 |
# File 'lib/ml_algorithms.rb', line 113 def frwrd @frwrd end |
#name ⇒ Object
Returns the value of attribute name.
113 114 115 |
# File 'lib/ml_algorithms.rb', line 113 def name @name end |
#out ⇒ Object
Returns the value of attribute out.
113 114 115 |
# File 'lib/ml_algorithms.rb', line 113 def out @out end |