Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ set_network
Function
set_network
tensorrt_llm/_common.py:113–115 ·
view source on GitHub ↗
(network)
Source
from the content-addressed store, hash-verified
111
112
113
def
set_network(network):
114
global net
115
net = network
116
117
118
def
switch_net_dtype(cur_dtype):
Callers
1
net_guard
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected