Id like to have access to model.items(), iterate over them and add value and the key as follows: this[key] = value if this.Keys contain key{ this[key] = (this[key] + value) / 2 } to have two models merged. this <- nn.module
Id like to have access to model.items(), iterate over them and add value and the key as follows:
this[key] = value
if this.Keys contain key{
this[key] = (this[key] + value) / 2
}
to have two models merged.
this <- nn.module