Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shape and dtype information to e2e logs #2769

Merged

Conversation

phoenix-meadowlark
Copy link
Contributor

@phoenix-meadowlark phoenix-meadowlark commented Aug 4, 2020

Adds mlir style dtype and shape information to the e2e test logs. If there are multiple inputs or outputs then they will be displayed as a comma separated list.

  2. Method: calculate
    Inputs: <class 'float'>, <class 'float'>, <class 'float'>, <class 'int'>, <class 'int'>
      -0.743644786
      0.1318252536
      2.9336e-06
      400
      3000
    Outputs: 400x400xf32
      [[1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
       ...
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
       [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. ... 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]
    Tolerances:
      rtol=1e-06, atol=1e-06

@phoenix-meadowlark phoenix-meadowlark added integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations labels Aug 4, 2020
@google-cla google-cla bot added the cla: yes label Aug 4, 2020
@phoenix-meadowlark phoenix-meadowlark merged commit 8b6bac2 into iree-org:main Aug 4, 2020
This was referenced Aug 5, 2020
@phoenix-meadowlark phoenix-meadowlark deleted the tolerance-debug-info branch October 6, 2020 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants