code: def _iresnet(arch, block, layers, pretrained, progress, **kwargs):
      model = IResNet(block, layers, **kwargs)
      if pretrained:
          raise ValueError()
      return model
  
file_path: insightface/recognition/arcface_oneflow/backbones/ir_resnet.py
imports: import oneflow
  import oneflow.nn
  from typing import Type, Any, Callable, Union, List, Optional
label_desc: Use image node_id 3 for calling a global function with example usage: _iresnet(arch, block, layers, pretrained, progress) and returns: model