Jeremy Reizenstein 4d9215b3b4 fix to get_default_args(instance)
Summary:
Small config system fix. Allows get_default_args to work on an instance which has been created with a dict (instead of a DictConfig) as an args field. E.g.

```
gm = GenericModel(
        raysampler_AdaptiveRaySampler_args={"scene_extent": 4.0}
    )
    OmegaConf.structured(gm1)
```

Reviewed By: shapovalov

Differential Revision: D40341047

fbshipit-source-id: 587d0e8262e271df442a80858949a48e5d6db3df
2022-10-13 06:05:07 -07:00
..
2022-10-03 08:36:47 -07:00
2022-03-21 13:20:10 -07:00
2022-10-09 05:06:49 -07:00
2022-07-21 15:04:00 -07:00
2022-07-22 15:52:50 -07:00
2022-08-01 01:52:12 -07:00
2022-07-21 15:04:00 -07:00
2022-05-25 06:16:03 -07:00
2022-06-10 12:22:46 -07:00
2022-10-03 08:36:47 -07:00
2022-10-03 08:36:47 -07:00
2022-06-28 16:11:49 -07:00
2022-05-12 12:50:03 -07:00
2022-10-12 08:31:51 -07:00