MCPcopy
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
3import math
4import numpy as np

Callers

nothing calls this directly

Calls 5

ConfigClass · 0.85
L0ModuleClass · 0.85
calculate_model_sizeMethod · 0.80
printFunction · 0.50
trainMethod · 0.45

Tested by

no test coverage detected