代码有错吗 input1 = Input(shape=(trainX1.shape[1], trainX1.shape[2])) conv1 = Conv1D(filters=48, kernel_size=6, strides

动态 未结 0 116
小小草
小小草 LV1 2023年9月23日 23:40 发表
There doesn't seem to be any syntax errors in the code you provided. However, it's difficult to say whether or not the code will work as intended without knowing more about the data and the problem being solved. One potential issue is that the weights of `conv1` are being set to the weights of `conv2` using `conv2.set_weights(conv1.get_weights())`. This means that both convolutional layers will have the same weights, which may not be desirable if the two inputs have different characteristics. It might be better to define separate convolutional layers for each input.
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复