Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/microsoft/Cream
/ l0module.py
File
l0module.py
TinyCLIP/src/open_clip/l0module.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Adapted from https://github.com/princeton-nlp/CoFiPruning/blob/main/models/l0_module.py
2
# MIT license
3
import
math
4
import
numpy
as
np
Callers
nothing calls this directly
Calls
5
Config
Class · 0.85
L0Module
Class · 0.85
calculate_model_size
Method · 0.80
print
Function · 0.50
train
Method · 0.45
Tested by
no test coverage detected