Function mindspore::api::utils::GetPadMode
Defined in File utils.h
Function Documentation
-
int64_t mindspore::api::utils::GetPadMode(const ValuePtr &value, bool is_upper = false)
Get pad mode id from a value holds the pad mode name or id.
- Parameters
value – [in] The value holds the pad mode name or id.
is_upper – [in] Indicates whether the name is uppercase or lowercase, default is false for lowercase.
- Returns
The pad mode id.