code: def _get_op(
      self,
      device_option,
      store_mean,
      store_inv_stdev,
      epsilon,
      order,
      inplace=False,
  ):
      outputs = ["output" if not inplace else "input"]
      if store_mean or store_inv_stdev:
          outputs += ["mean"]
      if store_inv_stdev:
          outputs += ["inv_stdev"]
      op = core.CreateOperator(
          "InstanceNorm",
          ["input", "scale", "bias"],
          outputs,
          order=order,
          epsilon=epsilon,
          device_option=device_option,
      )
      return op
  
file_path: pytorch/caffe2/python/operator_test/instance_norm_test.py
imports: import numpy
  from hypothesis import given, assume, settings
  import hypothesis.strategies
  from caffe2.python import core, model_helper, brew, utils
  import caffe2.python.hypothesis_test_util
  import caffe2.python.serialized_test.serialized_test_util
  import unittest
label_desc: Use image node_id 2 for calling the TestInstanceNorm obj's underlying member method code with example usage: obj._get_op(device_option, store_mean, store_inv_stdev, epsilon, order, inplace) and returns: op