[Need help] How to init an object of a class with position parameters in yaml config file? Also how to call a func to init an object in yaml file? #407
Labels
enhancement
New feature or request
馃殌 Feature request
We can init an object with keyword parameters already, which is very helpful. An example:
But, what should I do if I want to use a torch.nn.Sequential or other class requiring position parameters instead of ModuleDict? The init func of nn.Sequential:
And, how to use a func to init an object? For example, I have a func like this:
What should I do if I want something like:
The text was updated successfully, but these errors were encountered: