Skip to content

Instantly share code, notes, and snippets.

@HeinrichAD
HeinrichAD / ProcessorUnit.py
Last active Nov 27, 2020
Google Colab Processor Unit / Runtime Type Detector.
View ProcessorUnit.py
from enum import Enum
from os import environ
class PU(Enum):
"""
Google Colab Processor Unit / Runtime Type Detector.
"""
CPU = 1
GPU = 2
TPU = 3
@HeinrichAD
HeinrichAD / colab_git_project.ipynb
Last active Nov 23, 2020
Little collaboration between Google Colab, Drive (cloud) and GitHub.
View colab_git_project.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.