Shared GitHub gist:

  
      gist.github.com
  
  
    https://gist.github.com/l-shyu/bb88b77df6814b3f5e2943686f8b8fca 22
Python code
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from torchvision import datasets, transforms
import syft as sy 
import random 
import sys
import os
#hook = sy.TorchHook(torch)
This file has been truncated. show original