ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
std::hash< onert::ir::OpCode > Struct Reference

#include <OpCode.h>

Public Member Functions

size_t operator() (onert::ir::OpCode value) const noexcept
 

Detailed Description

Definition at line 44 of file OpCode.h.

Member Function Documentation

◆ operator()()

size_t std::hash< onert::ir::OpCode >::operator() ( onert::ir::OpCode  value) const
inlinenoexcept

Definition at line 46 of file OpCode.h.

47 {
48 using type = typename std::underlying_type<onert::ir::OpCode>::type;
49 return hash<type>()(static_cast<type>(value));
50 }
type
Definition infer.py:18

The documentation for this struct was generated from the following file: