Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ test_format_deduction
Function
test_format_deduction
tools/Polygraphy/tests/util/test_format.py:39–40 ·
view source on GitHub ↗
(test_case)
Source
from the content-addressed store, hash-verified
37
38
@pytest.mark.parametrize(
"test_case"
, EXPECTED_FORMATS)
39
def
test_format_deduction(test_case):
40
assert test_case.format == FormatManager.determine_format(test_case.shape)
Callers
nothing calls this directly
Calls
1
determine_format
Method · 0.80
Tested by
no test coverage detected