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 bug
/kind task
/kind feature

/kind bug

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

  1. fix parsing pb file bug
  2. abstracting pb parsing
  3. ignore node where node input is empty

Which issue(s) this PR fixes:

Fixes https://gitee.com/mindspore/dashboard/issues?id=I1F4U7

Special notes for your reviewers: