code: def get_simple_pose_resnet(
      base_name,
      pretrained=False,
      ctx=cpu(),
      root="~/.mxnet/models",
      **kwargs,
  ):
      net = SimplePoseResNet(base_name, **kwargs)
  
      if pretrained:
          from ..model_store import get_model_file
  
          net.load_parameters(
              get_model_file(
                  "simple_pose_%s" % (base_name),
                  tag=pretrained,
                  root=root,
              ),
              ctx=ctx,
          )
  
      return net
  
file_path: gluon-cv/gluoncv/model_zoo/simple_pose/simple_pose_resnet.py
imports: from __future__ import division
  from mxnet.context import cpu
  from mxnet.gluon.block import HybridBlock
  from mxnet.gluon import nn
  from mxnet import initializer
  import gluoncv
label_desc: Use image node_id 1 for calling a global function with example usage: get_simple_pose_resnet(base_name, pretrained, ctx, root) and returns: net