MCPcopy Create free account
hub / github.com/apache/tvm / _skip_only

Function _skip_only

python/tvm/testing/plugin.py:288–290  ·  view source on GitHub ↗

A non-GPU target: an env skip with no selection marker.

(has_fn, reason)

Source from the content-addressed store, hash-verified

286
287
288def _skip_only(has_fn, reason):
289 """A non-GPU target: an env skip with no selection marker."""
290 return [pytest.mark.skipif(not has_fn(), reason=reason)]
291
292
293def _target_to_requirement(target):

Callers 1

_target_to_requirementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…