code: def test_core_net_controlflow(self):
      net = core.Net("name")
      net.FC(["X", "W"], ["Y"])
      net.Relu(["Y"], ["Z"])
      nn = ng.NNModule(net)
      assert len(nn.controlFlow) == 2
      for instr in nn.controlFlow:
          assert instr.getType() == "Operator"
      assert nn.controlFlow[0].getName() == "FC"
      assert nn.controlFlow[1].getName() == "Relu"
  
imports: from caffe2.python import core, test_util
  from caffe2.proto import caffe2_pb2
  import caffe2.python.nomnigraph
  from hypothesis import given
  import hypothesis.strategies
  import random
label_desc: Use image node_id 3 for calling the TestBindings obj's underlying member method code with example usage: obj.test_core_net_controlflow() without return types