Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CHENGY12/PLOT
/ dtype
Method
dtype
plot-pp/clip/model.py:395–396 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
393
394
@property
395
def
dtype(self):
396
return
self.visual.conv1.weight.dtype
397
398
def
encode_image(self, image):
399
return
self.visual(image.type(self.dtype))
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected