 value in transform_x.__dict__.items():
            if isinstance(value, omegaconf.listconfig.ListConfig):
                transform_x.__dict__[key] = list(value)
    return transform</code></pre>
</details>
<div class="desc"><p>Fix the transform attributes by converting the listconfig to a list.
This enables to optimize the transform using TorchScript.</p>
<h2 id="args">Args</h2>
<dl>
<dt><strong><code>transform</code></strong> :&ensp;<code>torchvision.transforms.Compose</code></dt>
<dd>Transform to be fix