This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --tree-filter 'rm -f ai/neat_server/checkpoints/neat-checkpoint-2000' HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch.nn | |
import timeit | |
from torch.nn import Linear | |
shape = [784, 50, 50, 50, 10] | |
batch_size = 500 | |
x = torch.rand((500, 784), device="cuda") | |
y = torch.rand((500, 10), device="cuda") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
import ctypes.wintypes | |
# Load the required libraries | |
psapi = ctypes.WinDLL('Psapi.dll') | |
kernel32 = ctypes.WinDLL('kernel32.dll') | |
# Define constants | |
PROCESS_QUERY_INFORMATION = 0x0400 | |
PROCESS_VM_READ = 0x0010 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\aibotics\source\repos\TorchProject1\TorchProject1\x64\Release> Get-ChildItem -File | Sort-Object Name | ForEach-Object { | |
>> $hash = Get-FileHash $_.FullName | |
>> [PSCustomObject]@{ | |
>> Name = $_.Name | |
>> Hash = $hash.Hash | |
>> Algorithm = $hash.Algorithm | |
>> } | |
>> } |
OlderNewer