PyTorch
5/10/25
What are the basic modules and how do they work?
How to update system path?
- remove something:
$env:PATH = ($env:PATH -split ';' | Where-Object {$_ -notmatch 'CUDA'}) -join ';'
- update:
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")