I hereby claim:
- I am slaterb1 on github.
- I am slaterb1 (https://keybase.io/slaterb1) on keybase.
- I have a public key ASDlvNml1gTkl5sCOkwb5qmeBaxyRtIqyWIoE6v8fjhbYwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from keras.layers import Input | |
from keras.models import Model | |
from keras.layers.merge import add | |
input1 = Input(batch_shape=(20,10,16)) | |
input2 = Input(batch_shape=(20,10,16)) | |
o = add([input1, input2]) | |
model = Model([input1, input2], o) |
from keras.layers import Input, Masking, LSTM, Dense | |
from keras.models import Model | |
import numpy as np | |
# models created using Theano backend! | |
# Case1: model with return_sequences=True (output_shape = (1,10,1) ) | |
############################################################## | |
input1 = Input(batch_shape=(1,10,16)) | |
mask1 = Masking(mask_value=2.)(input1) |