I found a problem, it is because of the type I access
        for name, module in model.module.named_children():
            for name, module in module.named_children():
                for name, module in module.named_children():
                    module.register_forward_hook(get_hook(name))

this part. How to I access to each layer by for loop?
model.module.model._modules["features"]._modules.get("0_linear_quant").register_forward_hook(get_hook('0_linear_quant'))

I access to the tensor like this before… I couldn’t access with named_children.