Skip to content

enable reshape, reshape2 and scale op#17802

Merged
hong19860320 merged 7 commits intoPaddlePaddle:incubate/litefrom
hong19860320:lite/reshape
Jun 3, 2019
Merged

enable reshape, reshape2 and scale op#17802
hong19860320 merged 7 commits intoPaddlePaddle:incubate/litefrom
hong19860320:lite/reshape

Conversation

@hong19860320
Copy link
Contributor

  1. add reshape&reshape2 op and unit tests
    2.add scale op and unit tests
    3.add std::vector attribute getting&setting for op_desc

Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

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

LGTM

@hong19860320 hong19860320 merged commit cbb7903 into PaddlePaddle:incubate/lite Jun 3, 2019
@hong19860320 hong19860320 deleted the lite/reshape branch June 3, 2019 14:24
Superjomn pushed a commit that referenced this pull request Jul 1, 2019
* enable reshape&reshape2 op and add unit test

* enable scale op and add unit test

* fix XShape checking for reshape2 unit test
test=develop

* remove op_desc.hasInput(..) and op_desc.hasOutput(..) to adapt X86 platform
test=develop

* remove target() and precision() from softmax, reshape, reshape2 and scale op
fix CopyDataFrom() of TensorHvy
test=develop

* alloc memory then copy tensor's data during invoking TensorHvy::CopyDataFrom(...)
test=develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants