Guest User

Untitled

a guest
Jan 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. def build(self):
  2. input_layer = Input(shape=(self.col_amt,))
  3. encoded = Dense(math.ceil(self.col_amt/2), activation='relu')(input_layer)
  4. decoded = Dense(self.col_amt, activation='sigmoid')(encoded)
  5. model = Model(input_layer, decoded)
  6. model.compile(optimizer='adadelta', loss='binary_crossentropy')
  7. return model
  8.  
  9. TypeError: __call__() missing 1 required positional argument: 'inputs'
Add Comment
Please, Sign In to add comment