Skip to content

Instantly share code, notes, and snippets.

View farizrahman4u's full-sized avatar
🏠
Working from home

Fariz Rahman farizrahman4u

🏠
Working from home
View GitHub Profile
@EderSantana
EderSantana / CATCH_Keras_RL.md
Last active June 22, 2024 17:07
Keras plays catch - a single file Reinforcement Learning example
from keras.layers import Recurrent
from keras.models import Sequential
from keras import backend as K
def _isRNN(layer):
return issubclass(layer.__class__, Recurrent)
def _zeros(shape):