def METHOD_NAME():
    """
    Check that a partitioned function that is considered
    compute intensive is not inlined.
    """
    def before():
        x = relay.var("x", shape=(1, 2, 2, 4), dtype="int8")
        x = relay.nn.max_pool2d(x, layout="NHWC")
        x = relay.reshape(x, newshape=(2, 2, 4))
        return tei.make_ethosn_partition(x)
    mod = before()
    transformed_mod = InlineNonComputeIntensivePartitions()(mod)
    for global_var in mod.get_global_vars():
        _assert_structural_equal(mod[global_var], transformed_mod[global_var])