how do multiply each layer of a tensor with another tensor?

后端 未结 0 1696
时光取名叫无心
时光取名叫无心 2021-01-27 10:11

I am trying to multiply each layer of a tensor with the first layer of the tensor.

x1 = bert_model_1([x1_in, x2_in])
x1_begin = Lambda(lambda x: x[:,0])(x1) #obta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题