examples/api-examples/initializer_example.rb in ruby-dnn-0.15.3 vs examples/api-examples/initializer_example.rb in ruby-dnn-0.16.0

- old
+ new

@@ -33,10 +33,10 @@ @l3 = Dense.new(10, weight_initializer: He.new, bias_initializer: He.new) @bn1 = BatchNormalization.new @bn2 = BatchNormalization.new end - def call(x) + def forward(x) x = InputLayer.(x) x = @l1.(x) x = @bn1.(x) x = ReLU.(x) x = @l2.(x)