Hi, I am trying to save a model with query_with_exclusions with an indefinite length of exclusions (because every user might have seen more or fewer posts....):
Im wondering if your problem is since you did not define anything in the shape?
signatures = {"recommendations_k_21": recommendations_k_21.get_concrete_function(user_id=tf.TensorSpec(shape=(), dtype=tf.string)),
Hi, I am trying to save a model with
query_with_exclusions
with an indefinite length of exclusions (because every user might have seen more or fewer posts....):However, I get the following error:
What is my mistake here? I got the idea from https://github.com/tensorflow/recommenders/issues/298#issuecomment-918412784.