MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / _assert

Function _assert

timm/models/layers/trace_utils.py:4–5  ·  view source on GitHub ↗
(condition: bool, message: str)

Source from the content-addressed store, hash-verified

2 from torch import _assert
3except ImportError:
4 def _assert(condition: bool, message: str):
5 assert condition, message
6
7
8def _float_to_int(x: float) -> int:

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected