MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / astype

Method astype

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

Source from the content-addressed store, hash-verified

458
459 @abstractmethod
460 def astype(self, data_type: DataType) -> Tensor: ...
461 @abstractmethod
462 def permute(self, n_head: int, n_head_kv: int) -> Tensor: ...
463 @abstractmethod

Callers 10

write_tensorsMethod · 0.45
write_tensorsMethod · 0.45
write_tensorsMethod · 0.45
bf16_to_fp32Function · 0.45
astypeMethod · 0.45
load_unquantizedFunction · 0.45
loadMethod · 0.45
convert_to_output_typeFunction · 0.45
append_gpu_idxFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected