Print the network out using c++ API

In python you can get a nice overview of your network using:

net = Net()
print(net)

You can see each layer of the network, in/out features, kernel size, etc. Does this have a c++ equivalent?