class_docstr: A utility for finding the names of enum values.
docstr: Returns the value coresponding to the given enum name.
docstr_tok: ["Returns","the","value","coresponding","to","the","given","enum","name","."]
code: def Value(self, name):
      """Returns the value coresponding to the given enum name."""
      if name in self._enum_type.values_by_name:
          return self._enum_type.values_by_name[name].number
      raise ValueError(
          "Enum %s has no value defined for name %s"
          % (self._enum_type.name, name)
      )
  
file_path: coremltools/deps/protobuf/python/google/protobuf/internal/enum_type_wrapper.py
label_desc: Use image node_id 3 for calling the EnumTypeWrapper obj's underlying member method code with example usage: obj.Value(name) and returns: self