From cccccbf6cca94a3eaf813b4468453160e91c332b Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Mon, 14 Apr 2014 08:14:45 +0800 Subject: First commit --- NetGen/testscript.py | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 NetGen/testscript.py (limited to 'NetGen/testscript.py') diff --git a/NetGen/testscript.py b/NetGen/testscript.py new file mode 100644 index 0000000..70fa005 --- /dev/null +++ b/NetGen/testscript.py @@ -0,0 +1,72 @@ +''' +Created on Mar 16, 2014 + +@author: joe +''' +from layerobj import * + +if __name__ == '__main__': + Discrete(1,1,[Distrib(1,3)]).flush(); + Discrete(1,1, + [SharedLinearity(1,1), + MiscPipe(1,""), + MiscPipe(1,""), + ]).flush(); + Discrete(1,1, + [MiscPipe(1,""), + MiscPipe(1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [SharedLinearity(1,1), + MiscPipe(1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [MiscPipe(1,""), + MiscPipe(1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [MiscPipe(1,""), + MiscPipe(1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [Distrib(1,2), + MiscPipe(1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [MiscPipe(1,""), + SharedLinearity(1,1), + SharedLinearity(1,1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [MiscPipe(1), + Combine(2), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [MiscPipe(1), + SharedLinearity(1,1), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [MiscPipe(1), + MiscPipe(1,""), + MiscPipe(1), + ]).flush(); + Discrete(1,1, + [SharedLinearity(1,1), + SharedLinearity(1,1), + SharedLinearity(1,1), + ]).flush(); + Discrete(1,1, + [Combine(3) + ]).flush(); + MiscPipe(1,"").flush() + SharedLinearity(1,1).flush(); + MiscPipe(1,"").flush(); + \ No newline at end of file -- cgit v1.2.3-70-g09d2