# 0 paramters are uesd in the quantum circuit

**URL:** https://discuss.pennylane.ai/t/0-paramters-are-uesd-in-the-quantum-circuit/3243
**Category:** PennyLane Help
**Created:** [July 31, 2023, 3:04pm UTC](https://discuss.pennylane.ai/t/0-paramters-are-uesd-in-the-quantum-circuit/3243 "2023-07-31T15:04:57Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![AHHil](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AHHil](https://discuss.pennylane.ai/u/AHHil)
#### Post date: [August 1, 2023, 7:27am UTC](https://discuss.pennylane.ai/t/0-paramters-are-uesd-in-the-quantum-circuit/3243/4 "2023-08-01T07:27:14Z")

</div>

I have solved the problem. According to [https://discuss.pennylane.ai/t/quantum-neural-networks-quanvolutional-nn/1111/7](https://discuss.pennylane.ai/t/quantum-neural-networks-quanvolutional-nn/1111/7) and [https://discuss.pennylane.ai/t/transfer-learning-with-pretrained-keras-model/1462/10](https://discuss.pennylane.ai/t/transfer-learning-with-pretrained-keras-model/1462/10). I add this code

```auto
model(X_train[:2])

```

behind

```auto
model = keras.Model(inputs=input, outputs=output)

```

Althought I don’t know the reason, it works. 😃

---

_[View the full topic](https://discuss.pennylane.ai/t/0-paramters-are-uesd-in-the-quantum-circuit/3243)._
