caffegraph-0.1.0.2
NN.Backend.Torch.Lua
Synopsis
newtype LS Source
Constructors
Instances
class ToLua a where Source
Handy typeclass for converting arguments
Methods
toLua :: a -> Exp Source
assign :: Name -> Exp -> Stat Source
funCall :: Name -> [Exp] -> Stat Source
methCall :: Name -> Name -> [Exp] -> Stat Source
return' :: Name -> Exp Source
var :: Name -> PrefixExp Source