f5cfde005c81804dc81c5c93f0cdb03265620c33,tests/syft/lib/python/list/list_id_test.py,,,#,7

Before Change



t1 = th.tensor([1, 2])
t2 = th.tensor([1, 3])
t3 = th.tensor([4, 5, 6])
t4 = th.tensor([7])

l1 = List([t1, t2])
l2 = List([t3, t4])

After Change



sy_list = List([Int(1), Int(2), Int(3)])
other_list = List([Int(4)])
other = Int(4)
py_list = [1, 2, 3]


def test_id_contains():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: OpenMined/PySyft
Commit Name: f5cfde005c81804dc81c5c93f0cdb03265620c33
Time: 2020-09-20
Author: tudorcebere@gmail.com
File Name: tests/syft/lib/python/list/list_id_test.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: 534c4dc7423681faab78d1829c1ec3c31ffb8330
Time: 2018-01-30
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/resampler.py
Class Name: ResamplerLayer
Method Name: _resample_inv_dst_weighting


Project Name: NifTK/NiftyNet
Commit Name: 984d17836d7a6240942cd44f2f61c92a427bb9bb
Time: 2018-04-24
Author: z.eaton-rosen@ucl.ac.uk
File Name: niftynet/layer/crop.py
Class Name: CropLayer
Method Name: layer_op


Project Name: ray-project/ray
Commit Name: 52c94b7ee970da69721ca64f291e38556310482e
Time: 2021-02-02
Author: sven@anyscale.io
File Name: rllib/agents/sac/sac_tf_policy.py
Class Name:
Method Name: build_sac_model