# -*- 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)
[((13, 12, 13, 57), 'tensorflow.keras.layers.Input', 'Input', (), '', False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n'), ((20, 11, 20, 31), 'tensorflow.keras.Model', 'Model', ({(20, 17, 20, 22): 'input', (20, 24, 20, 30): 'output'}, {}), '(input, output)', False, 'from tensorflow.keras import Model\n'), ((17, 8, 17, 36), 'tensorflow.keras.layers.Dense', 'Dense', (), '', False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n'), ((18, 8, 18, 36), 'tensorflow.keras.layers.Dense', 'Dense', (), '', False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n'), ((19, 13, 19, 43), 'tensorflow.keras.layers.Dense', 'Dense', (), '', False, 'from tensorflow.keras.layers import Dense, Conv2D, LeakyReLU, MaxPool2D, Flatten, Input\n')]