MCPcopy Create free account
hub / github.com/microsoft/BitNet / get_three_k_two_k

Function get_three_k_two_k

utils/codegen_tl2.py:676–680  ·  view source on GitHub ↗
(K, bk)

Source from the content-addressed store, hash-verified

674 return kernel_code
675
676def get_three_k_two_k(K, bk):
677 bk_num = K // bk
678 three_k = bk_num * bk
679 two_k = K - three_k
680 return two_k, three_k
681
682if __name__ == "__main__":
683 ModelShapeDict = {

Callers 1

codegen_tl2.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected