abstract class Num::NN::Layer(T)

Direct Known Subclasses

Defined in:

nn/primitives/layer.cr

Instance Method Summary

Instance Method Detail

abstract def forward(input : Num::Grad::Variable(T)) #

[View source]
abstract def output_shape : Array(Int32) #

[View source]
def variables : Array(Num::Grad::Variable(T)) #

[View source]