Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
gradnite
v0.1.0
Top Level Namespace
Gradnite
Layer
MLP
Neuron
Node
Built with Crystal 1.9.2
2023-10-07 17:44:13 UTC
class
Gradnite::Layer
Gradnite::Layer
Reference
Object
Defined in:
gradnite/gradnite.cr
Constructors
.new
(input_count : Int64, neuron_count : Int64)
Instance Method Summary
#neurons
: Array(Neuron)
#neurons=
(neurons : Array(Neuron))
#parameters
#run
(x : Array(Float64) | Array(Node))
Constructor Detail
def self.
new
(input_count : Int64, neuron_count : Int64)
#
[
View source
]
Instance Method Detail
def
neurons
: Array(
Neuron
)
#
[
View source
]
def
neurons=
(neurons : Array(
Neuron
))
#
[
View source
]
def
parameters
#
[
View source
]
def
run
(x : Array(Float64) | Array(
Node
))
#
[
View source
]