Skip to content

Instantly share code, notes, and snippets.

import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
import matplotlib.pyplot as plt
from matplotlib import animation, rc
rc('animation', html='html5')
plt.style.use('seaborn-whitegrid')
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""関数の中でグローバル変数を使えなくするデコレータ"""
from typing import List
from typing import Dict
from typing import Optional
from typing import Callable
from typing import Any