Welcome to the TF community forum.
As It Is more related to pytorch I suggest to post the same on:

  
      

      PyTorch Forums
  

  
    

PyTorch Forums 3

  A place to discuss PyTorch code, issues, install, research