class

Gradnite::Node

Inherits Reference < Object

Constructors

new(value : Float64, _children : Array(Gradnite::Node) = [] of Node, _op : String = "", label : String = "")
Source
zero
Source

Instance methods

*(other : Node | Float64)
Source
**(other : Int64 | Float64)
Source
+(other : Node | Float64)
Source
-(other : Node | Float64)
Source
/(other : Node)
Source
_backward
Source
_backward=(_backward : Proc(Nil))
Source
_children
Source
_children=(_children : Array(Gradnite::Node))
Source
_op=(_op : String)
Source
_prev
Source
_prev=(_prev : Array(Gradnite::Node))
Source
backward
Source
grad
Source
grad=(grad : Float64)
Source
id=(id : String)
Source
label
Source
label=(label : String)
Source
tanh
Source
to_s(io : IO)

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
value
Source
value=(value : Float64)
Source