torch:forward
(torch:forward module &rest args)
Runs a module's forward pass -- (funcall its forward-fn module args...) -- and returns the output tensor. A plain function is also accepted and simply applied, so a stateless step (an activation, a reshape) can sit in a torch:sequential without a wrapper layer existing for it; that is why the package has no activation-module type.