Skip to content

Commit

Permalink
Merge branch 'develop' into mig_deform
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyfbupt authored Oct 12, 2020
2 parents 56bcf18 + 659d04d commit b5eeb0d
Show file tree
Hide file tree
Showing 15 changed files with 495 additions and 506 deletions.
2 changes: 2 additions & 0 deletions paddle/fluid/pybind/op_function_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ std::map<std::string, std::set<std::string>> op_ins_map = {
{"MultiLevelRois", "MultiLevelScores", "MultiLevelRoIsNum"}},
{"distribute_fpn_proposals", {"FpnRois", "RoisNum"}},
{"warpctc", {"Logits", "Label", "LogitsLength", "LabelLength"}},
{"hierarchical_sigmoid",
{"X", "W", "Label", "PathTable", "PathCode", "Bias"}},
};

// NOTE(zhiqiu): Like op_ins_map.
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/fluid/tests/unittests/test_activation_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@ def setUp(self):
x = np.random.uniform(-1, 1, [10, 12]).astype(self.dtype)
out = ref_swish(x)
self.inputs = {'X': x}
self.attrs = {'slope': 1.0}
self.attrs = {'beta': 1.0}
self.outputs = {'Out': out}

def test_check_grad(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ def test_new_directory(self):
'paddle.static.nn.create_parameter',
'paddle.static.nn.crf_decoding', 'paddle.static.nn.data_norm',
'paddle.static.nn.deform_conv2d', 'paddle.static.nn.group_norm',
'paddle.static.nn.hsigmoid', 'paddle.static.nn.instance_norm',
'paddle.static.nn.layer_norm', 'paddle.static.nn.multi_box_head',
'paddle.static.nn.nce', 'paddle.static.nn.prelu',
'paddle.static.nn.row_conv', 'paddle.static.nn.spectral_norm',
'paddle.static.nn.embedding'
'paddle.static.nn.instance_norm', 'paddle.static.nn.layer_norm',
'paddle.static.nn.multi_box_head', 'paddle.static.nn.nce',
'paddle.static.nn.prelu', 'paddle.static.nn.row_conv',
'paddle.static.nn.spectral_norm', 'paddle.static.nn.embedding'
]

import_file = 'run_import_modules.py'
Expand Down
219 changes: 0 additions & 219 deletions python/paddle/fluid/tests/unittests/test_hsigmoid.py

This file was deleted.

Loading

1 comment on commit b5eeb0d

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.