MCPcopy
hub / github.com/microsoft/BitNet / astype

Method astype

utils/convert.py:707–707  ·  view source on GitHub ↗
(self, data_type: DataType)

Source from the content-addressed store, hash-verified

705
706 @abstractmethod
707 def astype(self, data_type: DataType) -> Self: ...
708 @abstractmethod
709 def permute(self, n_head: int, n_head_kv: int) -> Self: ...
710 @abstractmethod

Callers 15

write_tensorsMethod · 0.45
process_tl1Function · 0.45
preprocess_weights_tl1Function · 0.45
preprocess_weights_tl2Function · 0.45
write_tensorsMethod · 0.45
write_tensorsMethod · 0.45
write_tensorsMethod · 0.45
process_tl1Function · 0.45
preprocess_weights_tl1Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected