Home > Enterprise >  What shape does my Input layer need to be? I keep getting ValueError: Layer "model" expect
What shape does my Input layer need to be? I keep getting ValueError: Layer "model" expect

Time:11-28

This is taking the code from enter image description here

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.

  • Related