yum-archive/TaSTT-Whisper
High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model
git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper
8c4603c
master
1#pragma once 2#include "Tensor.h" 3 4namespace DirectCompute 5{ 6// This class reshapes some of the model’s tensor, immediately after they’re loaded. 7// That feature is used on all AMD GPUs. 8class Reshaper 9 { 10CComPtr < ID3D11Buffer > constantBuffer ; 11HRESULT createConstants (); 12 13public : 14 ~Reshaper (); 15HRESULT makePanels (Tensor & tensor ,eDataType dataType ); 16 }; 17}