MCPcopy Index your code
hub / github.com/apache/tvm / test_conv2d_dynamic

Function test_conv2d_dynamic

tests/python/relax/test_codegen_cutlass.py:291–302  ·  view source on GitHub ↗
(data_shape, weight_shape, dtype)

Source from the content-addressed store, hash-verified

289 ],
290)
291def test_conv2d_dynamic(data_shape, weight_shape, dtype):
292 # Create dynamic conv2d module.
293 mod = get_relax_conv2d_module(
294 data_shape,
295 weight_shape,
296 dtype,
297 )
298 # Attempt to offload to cutlass, should run without an error
299 # but not offload due to incompatibility.
300 mod = build_cutlass(mod)
301 # Check that no cutlass call is introduced (until we support dynamism).
302 assert "call_dps" not in str(mod.__repr__())
303
304
305def test_cutlass_partition_conv2d_residual_blocked():

Callers

nothing calls this directly

Calls 4

build_cutlassFunction · 0.85
strFunction · 0.85
get_relax_conv2d_moduleFunction · 0.70
__repr__Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…