forked from ccf-ai-infra/Intro-ops
Group modules by responsibility: - _runtime/: internal C ABI layer (loader, ctypes_bindings, prepared, tensor_view); underscore prefix signals non-public API - testing/: test utilities split by concern (assertions, benchmark, profiler) instead of mixed in top-level files - ops/__init__.py: per-operator registration; adding a new operator only requires one line here, not touching the top-level __init__ - operator_runtime/__init__.py: thin gateway that re-exports from ops/ External import paths for tests are unchanged: operator_runtime.testing still exports require_cuda, assert_close, cuda_time_ms, PerformanceResult Co-authored-by: wawahejun <hejunlbbc@gmail.com> |
||
|---|---|---|
| .. | ||
| _runtime | ||
| ops | ||
| testing | ||
| __init__.py | ||
| backend.py | ||