I'm trying to find the torch.mean source code and I can not find it in the Pytorch github. It is under mathematical operations but I do not find it at all.
I have looked everywhere and inspected most pages under pytorch / torch and I still can not find it.
A monster with the Spellcasting class function has a level of wizard and spell locations that it uses to cast its first level spells or more. (as explained in the player's manual). The spell checker level is also used for all traps included in the feature.
The monster has a list of known or prepared spells from a particular class. The list can also include spells of a feature of this class, such as the Cleric's Divine Domain feature or the Druid's Druid's Circle feature. The monster is considered a member of this class when it uses or uses a magic object requiring the sending of a member in the class or access to its list of spells.
A monster can cast a spell from its list at a higher level if it has the location to do it. For example, a drow mage with the 3rd level lightning spell can cast it as a 5th level spell using one of his 5th level spell slots (…)
The first section in bold shows that monsters follow the usual rules of casting spells and the second shows in particular that they can convert spells into higher level locations that they own.