Create a python script for rewriting in-place layers.

Using in-place layers makes it impossible to see the state of an
individual layer, so this script rewrites them into each having their
own output layer.
This commit is contained in:
2018-03-12 13:36:33 +01:00
parent 38d28c9b7c
commit 3cbf1a1281
5 changed files with 1483 additions and 0 deletions

7
tools/Makefile Normal file
View File

@@ -0,0 +1,7 @@
MKDIR=mkdir -p
all: generated
generated: $(wildcard proto/*.proto)
$(MKDIR) $@
protoc --python_out="$@" $^