Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT
/ create_unet
Method
create_unet
scripts/trt.py:28–29 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
self.configs = filename
27
28
def
create_unet(self):
29
return
TrtUnet(self.model_name, self.configs)
30
31
32
class
TrtUnet(sd_unet.SdUnet):
Callers
1
apply_unet
Method · 0.80
Calls
1
TrtUnet
Class · 0.85
Tested by
no test coverage detected