Skip to content

Commit

Permalink
update flatten class api kernal name test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuefeng6 committed Aug 4, 2020
1 parent bd770a1 commit ee096b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 94 deletions.
2 changes: 1 addition & 1 deletion python/paddle/fluid/dygraph/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3228,7 +3228,7 @@ def forward(self, input):
out = self._helper.create_variable_for_type_inference(input.dtype)
x_shape = self._helper.create_variable_for_type_inference(input.dtype)
self._helper.append_op(
type="flatten2",
type="flatten_contiguous_range",
inputs={"X": input},
outputs={"Out": out,
"XShape": x_shape},
Expand Down
93 changes: 0 additions & 93 deletions python/paddle/fluid/tests/unittests/test_flatten_2d_op.py

This file was deleted.

0 comments on commit ee096b1

Please sign in to comment.