利用tensorwatch对pytorch网络可视化及统计参数 发表于 2019-06-16 | 分类于 ML/DL 代码12345678import sysimport torchimport tensorwatch as twimport torchvision.modelsalexnet_model = torchvision.models.alexnet()tw.draw_model(alexnet_model, [1, 3, 224, 224])tw.model_stats(alexnet_model, [1, 3, 224, 224]) 结果