Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
neuratron
master
Neuratron
Activation
Activations
None
Tanh
Callback
Errors
NoInputShape
NotCompiled
Initializer
Initializers
Constant
Random
Layer
Layers
Dense
Loss
Losses
MAE
MSE
Metric
Metrics
CategoricalAccuracy
Model
Models
Sequential
Optimizer
Optimizers
SGD
Built with Crystal 1.9.2
2023-10-08 13:52:23 UTC
class
Neuratron::Models::Sequential
Neuratron::Models::Sequential
Neuratron::Model
Reference
Object
Defined in:
neuratron/models/sequential.cr
Instance Method Summary
#add
(layer : Neuratron::Layer)
Instance methods inherited from class
Neuratron::Model
compile(loss : Neuratron::Loss | Nil, optimizer : Neuratron::Optimizer | Nil, metrics)
compile
,
evaluate
evaluate
,
fit(x_data : Array(LA::GMat), y_data : Array(LA::GMat), epochs : UInt32, batch_size : UInt32, callbacks =
Array
(
Neuratron
::
Callback
).new)
fit
,
predict(x_data : LA::GMat)
predict
Instance Method Detail
def
add
(layer :
Neuratron::Layer
)
#
[
View source
]