0

I have been trying to implement Peephole LSTM using Tensorflow, and I am getting the error below Error below is my model and I am not sure why I cant get the input layer in my model summary Model and below is my Call method for PeepholeLSTM Peephole LSTM class

It looks like I cannot pass symbolic Tensorflow object to range method but not sure how to avoid this. Appreciate your help

2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented May 16, 2024 at 6:08
  • Please add your code as actual code in the question, images are bad. Commented May 16, 2024 at 7:43

1 Answer 1

0

tf.shape() returns a tensor. I think you mean to do something like

for t in range(input.shape[1]):
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.