From 977a75b33305e91933ee4df441d0a249e46f2a31 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sun, 20 Aug 2017 22:19:07 +0200 Subject: [PATCH] Update. --- agtree2dot.py | 27 +++++++++++++++++---------- mlp.pdf | Bin 17239 -> 17251 bytes 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/agtree2dot.py b/agtree2dot.py index 2d89af5..7643986 100755 --- a/agtree2dot.py +++ b/agtree2dot.py @@ -1,15 +1,22 @@ -#!/usr/bin/env python-for-pytorch +######################################################################### +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the version 3 of the GNU General Public License # +# as published by the Free Software Foundation. # +# # +# This program is distributed in the hope that it will be useful, but # +# WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # +# General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# Written by and Copyright (C) Francois Fleuret # +# Contact for comments & bug reports # +######################################################################### import torch -import math, sys, re - -from torch import nn -from torch.nn import functional as fn - -from torch import Tensor -from torch.autograd import Variable -from torch.nn.parameter import Parameter -from torch.nn import Module +import sys, re ###################################################################### diff --git a/mlp.pdf b/mlp.pdf index f233b200ee7a28c445dfc830c06b049e6c26c33b..4abdf28d7270b9be3497a99695924642743f64ab 100644 GIT binary patch delta 1973 zcmZXSc{CJ?7st~KW2Z3TS;n&~%rwjlWqGzjWgRtAWEksYXC%gC&>`y}+hAmwXA5I_ z8hbJ!Ns@T>eWxFp_lRD<_s=`0?qA>Yx!-%w_uO;G;y4!KI8uFxtQ)B{d-ssshdW2F z)57or6Sp|L#f9T4=lECF(jG4OP5H2^DT}Uj4f5r5x3IJ3lcOz11CiUW*JegR?9C5M zp)pH4P2HXSouPBt$ADf-Le%k8Rmpqa&QP+BN zh|A)5=J13SJy!00SHNU9yg71QZ$?J&Vr<@i_!>FfZ%gJEIOWi!LpW$Beyf}r5mzKb z!VmR1HhcV!#V#2y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