Skip to content

Instantly share code, notes, and snippets.

@eliasffyksen
Created August 8, 2022 18:31
Show Gist options
  • Save eliasffyksen/cb6073050b353e701388a39d0bad61d6 to your computer and use it in GitHub Desktop.
Save eliasffyksen/cb6073050b353e701388a39d0bad61d6 to your computer and use it in GitHub Desktop.
Imports and function decleration
import torch as t
from torch import tensor as T
from numpy import unravel_index as unravel
import matplotlib.pyplot as plt
def do(snake, action):
'''This is where the magic happens :) '''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment