<jupyter_start><jupyter_text>Learnable Parameters in CNN<jupyter_code>import keras
from keras.models import Sequential
from keras.layers import Activation
from keras.layers.core import Dense, Flatten
from keras.layers.convolutional import *
from keras.layers.pooling import *
model = Sequential([
    Conv2D(2, kernel_size=(3, 3), input_shape(20,20,3),activation='relu', padding='same'),
    Conv2D(3, kernel_size=(3, 3), activation='relu', padding='same'),
    Flatten(),
    Dense(2, activation='softmax')
])
## images are 20*20 - 3 color channels
## 2 filters, size 3 * 3
## 3 filters, size 3 * 3
## Dense output layer, 2 nodes<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1318181818181818, 'fraction_numerical': 0.03939393939393939, 'mean_word_length': 5.885416666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '420186', 'license': 'MIT', 'n_tokens_mistral': 242, 'n_tokens_neox': 220, 'n_words': 60, 'path': 'notebooks/Learnable Parameters.ipynb', 'repo_name': 'davejscott/Kerasnotebooks', 'size': '660'}