MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / maybe_allow_in_graph

Function maybe_allow_in_graph

diffusers/src/diffusers/utils/torch_utils.py:34–35  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

32except (ImportError, ModuleNotFoundError):
33
34 def maybe_allow_in_graph(cls):
35 return cls
36
37
38def randn_tensor(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected