What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind feature

What does this PR do / why do we need it:

Support weights to be compiled according to shape to solve the problem of large memory overhead
Which issue(s) this PR fixes:

Fixes #https://gitee.com/mindspore/dashboard?issue_id=I1FS9Q

Special notes for your reviewers: