摘要:
一、基本 (1)利用pytorch建好的层进行搭建 import torch from torch import nn from torch.nn import functional as F #定义一个MLP网络 class MLP(nn.Module): ''' 网络里面主要是要定义__init 阅读全文
摘要:
主函数(train.py) from sampling import noniid from Nets import MLP from params import args_parser from update import LocalUpdate from aggregation import F 阅读全文