tensorlflow和pytorch打印模型参数tensorflowpytorch还有torchkeras也可以打印参数torchkeras
tensorflowimport tensorflow.keras.backend as Kfrom tensorflow.keras.callbacks import TensorBoard, ModelCheckpoint, EarlyStopping, ReduceLROnPlateau,Historyfrom tensorflow.keras.layers import Dense, Input,Layer,InputSpecfrom tensorflow.keras.models im