netron icon indicating copy to clipboard operation
netron copied to clipboard

TensorFlow: Func attribute support

Open zvika-adler opened this issue 3 years ago • 2 comments

  • OS and browser version: Ubuntu20 + Chrome 97.0.4692.99
  • Netron version 5.6.6

Steps to Reproduce:

  1. Take attached file and change extension to .pbtxt (this was changed due to GitHub restrictions). This model is build by Protobuf GraphDef structure that enables func structure.
  2. Load with Web Netron
  3. Press on Placeholder node to view attributes.

Current behavior: OutTensorInfo parameter is of type func and cannot be viewed. If pressing OutTensorInfo link, it doesn't show the data. Expected behavior: OutTensorInfo parameter can be shown and collapses/de-collapses after clicking "+" button.

Please attach or link model files to reproduce the issue if necessary. myModel.txt

zvika-adler avatar Mar 31 '22 12:03 zvika-adler

myModel.txt.zip

lutzroeder avatar Apr 10 '22 16:04 lutzroeder

In general, it would suffice to simply display TF func's as key-value maps, as this is the way they are written in the protobuf file.

Furthermore, we also use list of funcs for some of our models, so it would be great if this was supported too.

DoDoENT avatar Sep 14 '22 08:09 DoDoENT