File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
tests/python/contrib/test_ethosu/cascader Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- from tvm .contrib .ethosu .cascader import StripeConfig , Propagator
18-
1917import pytest
18+
19+ pytest .importorskip ("ethosu.vela" )
20+
2021from math import isclose
22+ from tvm .contrib .ethosu .cascader import StripeConfig , Propagator
2123
2224
2325def test_propagator ():
Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- from tvm .contrib .ethosu .cascader .stripe_config import StripeConfig , count_stripes
18-
1917import pytest
2018
19+ pytest .importorskip ("ethosu.vela" )
20+
21+ from tvm .contrib .ethosu .cascader .stripe_config import StripeConfig , count_stripes
22+
2123
2224def test_stripe_config ():
2325 shape = [1 , 2 , 3 ]
You can’t perform that action at this time.
0 commit comments