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

The summary would still give you all parameters, no?
If you are interested in printing the graph, have a look at e.g. this topic.