thank you i was fixed about tensor but i get error
Iter: 1
Traceback (most recent call last):
  File "run_seq2.py", line 100, in <module>
    trace = torch.jit.trace(DIFNet,(fr_g1, fr_g3, fr_o2, fr_g3, fr_g1))
  File "C:\ProgramData\Anaconda3\envs\DIFRINT-v4\lib\site-packages\torch\jit\__init__.py", line 953, in trace
    return trace_module(func, {'forward': example_inputs}, None,
  File "C:\ProgramData\Anaconda3\envs\DIFRINT-v4\lib\site-packages\torch\jit\__init__.py", line 1109, in trace_module
    module._c._create_method_from_trace(method_name, func, example_inputs, var_lookup_fn, strict, _force_outplace)
RuntimeError: 0 INTERNAL ASSERT FAILED at "..\\torch\\csrc\\jit\\ir\\alias_analysis.cpp":465, please report a bug to PyTorch. We don't have an op for aten::to but it isn't a 
special case.  Argument types: Tensor, None, int, Device, bool, bool, bool, int,

it not return any infor to fix
link suorce code: Video Stabilization 1