d98cca01e2d3a6f3ee4af50b0528777320e0f455,dit/utils/testing.py,,distributions,#,25
Before Change
except TypeError:
alphabets = ((2, 2),)*alphabets
alphabets = tuple(tuple(map(int, alpha)) for alpha in alphabets)
alphabets = [draw(integers(*alpha)) for alpha in alphabets]
pmf = draw(arrays(np.float, shape=alphabets, elements=floats(0, 1)))
assume(pmf.sum() > 0)
After Change
except TypeError:
alphabets = ((2, 2),)*alphabets
alphabets = [int(draw(integers(*alpha))) for alpha in alphabets]
pmf = draw(arrays(np.float, shape=alphabets, elements=floats(0, 1)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: dit/dit
Commit Name: d98cca01e2d3a6f3ee4af50b0528777320e0f455
Time: 2018-12-21
Author: ryangregoryjames@gmail.com
File Name: dit/utils/testing.py
Class Name:
Method Name: distributions
Project Name: sony/nnabla-examples
Commit Name: 56926bc8b4a158e1c40cddbc795303bc6a66f44d
Time: 2019-05-23
Author: sukriti.mehrotra@sony.com
File Name: semantic-segmentation/deeplabv3plus/model_inference.py
Class Name:
Method Name: post_process
Project Name: sony/nnabla-examples
Commit Name: 56926bc8b4a158e1c40cddbc795303bc6a66f44d
Time: 2019-05-23
Author: sukriti.mehrotra@sony.com
File Name: semantic-segmentation/deeplabv3plus/image_preprocess.py
Class Name:
Method Name: resize