How to use TemporalRowConvolution

I have found that there is a TemporaRowConvilution implementation in C available here:

How it is possible to use it from pytorch? Should I write cffi extension? Would appreciate any advice/direction! Thank you in advance.

It is indeed not exposed.
You can access it via something like this which is an autogenerated binding:

These should be available, but we haven’t exposed them as PyTorch nn modules yet.

can I have an example?

self.trc =, 5)

x = self.trc(x)


ValueError: missing required argument ‘weight’