Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/TensorRT-LLM
/ has_affine
Method
has_affine
tensorrt_llm/functional.py:3926–3927 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3924
is not None)
3925
3926
def
has_affine(self):
3927
return
1
if
self.norm_weight is not None
else
0
3928
3929
def
has_bias(self):
3930
return
1
if
self.bias is not None
else
0
Callers
1
create_allreduce_plugin
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected