О проблеме преобразования моделей TensorFlow в PyTorch - https://ideipro.ru/o-probleme-preobrazovaniya-modeley-tensorflow-v-pytorch/