当我们指定axes = (2, 2)时,确切被乘的值是什么?有人能告诉我这里背后到底发生了什么吗?
match = dot([input_encoded_m, question_encoded], axes=(2, 2))
match = Activation('softmax')(match)
数据形状:
print(input_encoded_m)
print(questions_encoded)
(<tf.Tensor 'dropout_41/Identity:0' shape=(None, 552, 64) dtype=float32>,
<tf.Tensor 'dropout_42/Identity:0' shape=(None, 5, 64) dtype=float32>)
input_encoded_m长度为552,嵌入长度为64
questions_encoded长度为5,嵌入长度为64
如果我们在点积层中指定axes = (2,2),哪些值将被相乘?有谁能帮我解答一下吗?