16d3f15320
ARM CI / build (3.10) (push) Has been cancelled
cffconvert / validate (push) Has been cancelled
Creates a GitHub Issue when a PR Rolled back via Commit to Master / create-issue-on-pr-rollback (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
AutoGraph reference tests
This directory contains tests for various Python idioms under AutoGraph. Since they are easy to read, they also double as small code samples. For constructs which are not supported, these tests indicate the error being raised.
The BUILD file contains the full list of tests.
Locating the samples inside tests
Each test is structured as:
<imports>
<sample functions>
<test class>
The sample functions are what demonstrate how code is authored for AutoGraph.
The test in generale ensure that the sample code produces the same results when run in a TF graph as it would when executed as regular Python.