{"action":"opened","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/975","labels_url":"https://api.github.com/repos/fchollet/keras/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/975/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/975/events","html_url":"https://github.com/fchollet/keras/issues/975","id":115777497,"number":975,"title":"How to use the join mode?","user":{"login":"jerryli1981","id":9262007,"avatar_url":"https://avatars.githubusercontent.com/u/9262007?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryli1981","html_url":"https://github.com/jerryli1981","followers_url":"https://api.github.com/users/jerryli1981/followers","following_url":"https://api.github.com/users/jerryli1981/following{/other_user}","gists_url":"https://api.github.com/users/jerryli1981/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryli1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryli1981/subscriptions","organizations_url":"https://api.github.com/users/jerryli1981/orgs","repos_url":"https://api.github.com/users/jerryli1981/repos","events_url":"https://api.github.com/users/jerryli1981/events{/privacy}","received_events_url":"https://api.github.com/users/jerryli1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T01:45:07Z","updated_at":"2015-11-09T01:45:07Z","closed_at":null,"body":"I am struggle with the join mode, still can not figure out how to use it correctly, here is my code\r\n\r\nmul_layer = Sequential()\r\n    mul_layer.add(Merge([first_rep_layer, second_rep_layer], mode='mul'))\r\n\r\n    sub_layer = Sequential()\r\n    sub_layer.add(Merge([first_rep_layer, second_rep_layer], mode='abs_sub'))\r\n\r\n    model = Sequential()\r\n    model.add(Merge([mul_layer, sub_layer], mode='join'))\r\n    model.add(Dense(args.hiddenDim, input_shape=(2*args.wvecDim,)))\r\n    model.add(Activation('sigmoid'))"}}