Function tch::utils::has_vulkan

source ·
pub fn has_vulkan() -> bool
Expand description

Check whether the vulkan backend is available. None that this backend is not included by default as of PyTorch 2.0.0. https://pytorch.org/tutorials/prototype/vulkan_workflow.html#building-pytorch-with-vulkan-backend