Jsonpickle serialize pytorch model

is it possible to use jsonpickle to encode a pytorch model? I’ve tried it and got the following error:

self = <torch.nn.backends.thnn.THNNFunctionBackend object at 0x7fbe74097080>
name = '__getnewargs__'

    def __getattr__(self, name):
        fn = self.function_classes.get(name)
        if fn is None:
>           raise NotImplementedError
E           NotImplementedError