(net, created_names=set())
| 29 | # Default set() here is intentional as it would accumulate values like a global |
| 30 | # variable |
| 31 | def CreateNetOnce(net, created_names=set()): # noqa |
| 32 | name = net.Name() |
| 33 | if name not in created_names: |
| 34 | created_names.add(name) |
| 35 | workspace.CreateNet(net) |
| 36 | |
| 37 | |
| 38 | class CharRNN: |
no test coverage detected
searching dependent graphs…