b7628060e6ae3c23f37a21d47d625609074dda24,tests/test_layers_convolution.py,,,#,5
Before Change
offset1 = tl.layers.Conv2d(nin, 18, (3, 3), (1, 1), padding="SAME", name="offset1")
net = tl.layers.DeformableConv2d(nin, offset1, 32, (3, 3), name="deformable1")
offset2 = tl.layers.Conv2d(net, 18, (3, 3), (1, 1), padding="SAME", name="offset2")
net = tl.layers.DeformableConv2d(net, offset2, 64, (3, 3), name="deformable2")
net.print_layers()
net.print_params(False)
After Change
if shape[1:] != [98, 98, 32]:
raise Exception("shape dont match")
if len(n.all_layers) != 1:
raise Exception("layers dont match")
if len(n.all_params) != 3:
raise Exception("params dont match")
if n.count_params() != 155:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: tensorlayer/tensorlayer
Commit Name: b7628060e6ae3c23f37a21d47d625609074dda24
Time: 2018-03-13
Author: dhsig552@163.com
File Name: tests/test_layers_convolution.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: 4d7ff76cfbaf5fb8a57d8f3232c989e8e2c2f5b5
Time: 2016-04-01
Author: francois.chollet@gmail.com
File Name: keras/wrappers/scikit_learn.py
Class Name: KerasClassifier
Method Name: score
Project Name: ray-project/ray
Commit Name: c4e273920f517b18c99fbabca49135dd6e30e683
Time: 2020-12-22
Author: me@barakmich.com
File Name: python/ray/experimental/client/__init__.py
Class Name: RayAPIStub
Method Name: init