Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/XPixelGroup/DiffBIR
/ __init__
Method
__init__
diffbir/utils/caption.py:42–43 ·
view source on GitHub ↗
(self, device: torch.device)
Source
from the content-addressed store, hash-verified
40
class
Captioner:
41
42
def
__init__(self, device: torch.device) ->
"Captioner"
:
43
self.device = device
44
45
@overload
46
def
__call__(self, image: Image.Image) -> str: ...
Callers
2
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected