21994919156aac15558f77555538346fb702bcbc,tests/nn/test_graph.py,,test_long_transform,#,202
Before Change
history = [("to_wider_model", 1, 256), ("to_conv_deeper_model", 1, 3),
("to_concat_skip_model", 5, 9)]
for args in history:
getattr(graph, args[0])(*list(args[1:]))
graph.produce_model()
assert legal_graph(graph)
After Change
graph.to_deeper_model(16, StubReLU())
graph.to_add_skip_model(13, 47)
model = graph.produce_model()
model(torch.Tensor(np.random.random((10, 1, 28, 28))))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/autokeras
Commit Name: 21994919156aac15558f77555538346fb702bcbc
Time: 2018-11-26
Author: jhfjhfj1@gmail.com
File Name: tests/nn/test_graph.py
Class Name:
Method Name: test_long_transform
Project Name: deepmipt/DeepPavlov
Commit Name: 1a6d4020c53e2b39e224616481528fad901cbd4e
Time: 2018-10-15
Author: yoptar@gmail.com
File Name: deeppavlov/core/commands/infer.py
Class Name:
Method Name: predict_on_stream