team-10/env/Lib/site-packages/torch/_C/_cpu.pyi

14 lines
434 B
Python
Raw Normal View History

2025-08-02 07:34:44 +02:00
from torch.types import _bool, _int
# Defined in torch/csrc/cpu/Module.cpp
def _is_avx2_supported() -> _bool: ...
def _is_avx512_supported() -> _bool: ...
def _is_avx512_vnni_supported() -> _bool: ...
def _is_avx512_bf16_supported() -> _bool: ...
def _is_amx_tile_supported() -> _bool: ...
def _is_amx_fp16_supported() -> _bool: ...
def _init_amx() -> _bool: ...
def _L1d_cache_size() -> _int: ...
def _L2_cache_size() -> _int: ...