google / ml_collections

ML Collections is a library of Python Collections designed for ML use cases.
https://ml-collections.readthedocs.io/
Apache License 2.0
898 stars 42 forks source link

Possible to delete a key? #10

Closed sayakpaul closed 2 years ago

sayakpaul commented 3 years ago

Say I have a configuration like

configs = ConfigDict()
configs.num_neurons = 15
config.activation = "relu"

Now I would like to delete activation. Is it possible?

hellohawaii commented 2 years ago

del configs.activation This work for me.