def METHOD_NAME():
    mode = get_default_mode()
    mode = mode.including("local_dense_from_sparse_sparse_from_dense")
    m = matrix()
    for op in [aesara.sparse.csr_from_dense, aesara.sparse.csc_from_dense]:
        s = op(m)
        o = aesara.sparse.dense_from_sparse(s)
        f = aesara.function([m], o, mode=mode)
        # We should just have a deep copy.
        assert len(f.maker.fgraph.apply_nodes) == 1
        f([[1, 2], [3, 4]])