# Is there similar pytorch function as model.summary() as keras?

**URL:** <https://discuss.pytorch.org/t/is-there-similar-pytorch-function-as-model-summary-as-keras/2678>\
**Category:** Uncategorized\
**Created:** [May 5, 2017, 2:41am UTC](https://discuss.pytorch.org/t/is-there-similar-pytorch-function-as-model-summary-as-keras/2678 "2017-05-05T02:41:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![punnerud](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/punnerud/32/3416_2.png) [@punnerud](https://discuss.pytorch.org/u/punnerud)\
**Post date:** [February 6, 2018, 7:51pm UTC](https://discuss.pytorch.org/t/is-there-similar-pytorch-function-as-model-summary-as-keras/2678/3 "2018-02-06T19:51:49Z")

</div>

or easier to remember:

```auto
print(model)

```

gives the same result as repr(model)

---

_[View the full topic](https://discuss.pytorch.org/t/is-there-similar-pytorch-function-as-model-summary-as-keras/2678)._
