MCPcopy Create free account
hub / github.com/albertpumarola/GANimation / print_network

Method print_network

models/models.py:113–118  ·  view source on GitHub ↗
(self, network)

Source from the content-addressed store, hash-verified

111 pass
112
113 def print_network(self, network):
114 num_params = 0
115 for param in network.parameters():
116 num_params += param.numel()
117 print(network)
118 print('Total number of parameters: %d' % num_params)
119
120 def _get_scheduler(self, optimizer, opt):
121 if opt.lr_policy == 'lambda':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected