# -*- coding: UTF-8 -*-
'''=================================================
@Project -> File   ：EWC -> network
@IDE    ：PyCharm
@Author ：Qiao Zhongzheng
@Date   ：2021/6/23 20:28
@Desc   ：
=================================================='''
from tensorflow.keras import Model
from tensorflow.keras.layers import Dense, Conv2D,LeakyReLU,MaxPool2D,Flatten,Input

def fcnn():
    input = Input(shape=784,dtype='float32',name='input')
    # x = Dense(128,activation='relu')(input)
    # x = Dense(64,activation='relu')(x)
    # x = Dense(32,activation='relu')(x)
    x = Dense(256,activation='relu')(input)
    x = Dense(256,activation='relu')(x)
    output = Dense(10,activation='softmax')(x)
    return Model(input, output)
[((387, 434), 'tensorflow.keras.layers.Input', 'Input', ([], {'shape': '(784)', 'dtype': '"""float32"""', 'name': '"""input"""'}), "(shape=784, dtype='float32', name='input')\n", (392, 434), False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n'), ((703, 723), 'tensorflow.keras.Model', 'Model', (['input', 'output'], {}), '(input, output)\n', (708, 723), False, 'from tensorflow.keras import Model\n'), ((569, 598), 'tensorflow.keras.layers.Dense', 'Dense', (['(256)'], {'activation': '"""relu"""'}), "(256, activation='relu')\n", (574, 598), False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n'), ((613, 642), 'tensorflow.keras.layers.Dense', 'Dense', (['(256)'], {'activation': '"""relu"""'}), "(256, activation='relu')\n", (618, 642), False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n'), ((658, 689), 'tensorflow.keras.layers.Dense', 'Dense', (['(10)'], {'activation': '"""softmax"""'}), "(10, activation='softmax')\n", (663, 689), False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n')]