code: def xse_resnet50(n_out=1000, pretrained=False, **kwargs):
      return XResNet(
          SEBlock, 4, g1, n_out=n_out, **se_kwargs1, **kwargs
      )
  
imports: from __future__ import annotations
  from ...torch_basics import *
label_desc: Use image node_id 20 for calling a global function with example usage: xse_resnet50(n_out, pretrained) and returns: XResNet