6fe9fb323ba3292fb427173095f99669f832d836,examples/demo_graph.py,,,#,186

Before Change


hidden = torch.Tensor(1, n_hidden)


out, hidden = rnn(cat, dummy_input, hidden)
with SummaryWriter(comment="RNN") as w:
    w.add_graph(rnn, (cat, dummy_input, hidden), verbose=False)

After Change



with SummaryWriter(comment="vgg19") as w:
    model = torchvision.models.vgg19()
    w.add_graph(model, (dummy_input, ))

with SummaryWriter(comment="densenet121") as w:
    model = torchvision.models.densenet121()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: lanpa/tensorboardX
Commit Name: 6fe9fb323ba3292fb427173095f99669f832d836
Time: 2018-11-09
Author: huang.dexter@gmail.com
File Name: examples/demo_graph.py
Class Name:
Method Name:


Project Name: hunkim/PyTorchZeroToAll
Commit Name: 55b880469ced115de9949d5d25ff835dabbb2caa
Time: 2017-11-08
Author: hunkim@gmail.com
File Name: 12_2_hello_rnn.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 1c221934aaeab20ed5b6fa245b33b00a8b557533
Time: 2018-11-29
Author: andhus@kth.se
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_rnn_no_states