The C code:

void asgbatchfw(THFloatTensor **input,
THLongTensor  **target,
THFloatTensor *trans,
THDoubleTensor *falacc,
THLongTensor *falmacc,
THDoubleTensor *falgacc,
THDoubleTensor *fccacc,
THLongTensor *fccmacc,
THDoubleTensor *fccgacc,
THFloatTensor  *falscale,
THFloatTensor  *fccscale,
THLongTensor  *T,
long N,
THLongTensor  *TN,
THFloatTensor  *loss,
long B)

Then I use torch.utils.ffi to build it.
How can I parse a point of point into asgbatchfw?
Thanks.