TorchSharp
TorchSharp copied to clipboard
A .NET library that provides access to the library that powers PyTorch.
**Describe the bug** Unable to load the weights for Wav2Vec2ForSequenceClassification model. Despite meticulously creating a C# class structure that mirrors the official Hugging Face PyTorch implementation, we consistently receive a...
I am experiencing an issue where CUDA is not detected in my NinjaTrader 8 strategy using TorchSharp 0.105.0.0, despite having copied all necessary DLLs to the bin/custom folder and manually...
I cannot find a method to register a hook. Is there another way this can be accomplished? ``` for step_i in range(unroll_steps): states = model.represent(states) states.register_hook(lambda grad: grad * 0.5)...
# Overview Hello and thank you for all the work that goes into TorchSharp — it has been a very useful tool for us! I recently needed to compute an...