Since both Users
and Movies
have the shape (1000209,)
, your input shape for both Input
layers is shape=(1,)
. This means that each sample consists of an ID that is mapped to a 100-dimensional vector using the Embedding
layers. Oh, and just in case it's not intentional, the CFModel
does not use a Dense
layer after calculating the dot product.