MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / assertion

Function assertion

tensorrt_llm/functional.py:6006–6007  ·  view source on GitHub ↗
(condition: Tensor, message: str = '')

Source from the content-addressed store, hash-verified

6004
6005
6006def assertion(condition: Tensor, message: str = '') -> None:
6007 default_trtnet().add_assertion(condition.trt_tensor, message)
6008
6009
6010def layer_norm(input: Tensor,

Callers 2

prepare_inputsMethod · 0.90
prepare_inputsMethod · 0.90

Calls 1

default_trtnetFunction · 0.85

Tested by

no test coverage detected