def METHOD_NAME(self, net, op_specs):
    """
    Given a net and a list of OpSpec's, check that the net match the spec
    """
    ops = net.Proto().op
    self.assertEqual(len(op_specs), len(ops))
    for op, op_spec in zip(ops, op_specs):
        self.assertEqual(op_spec.type, op.type)
        self.assertBlobsEqual(op_spec.input, op.input)
        self.assertBlobsEqual(op_spec.output, op.output)
        if op_spec.arg is not None:
            self.assertArgsEqual(op_spec.arg, op.arg)
    return ops