ONE - On-device Neural Engine
Loading...
Searching...
No Matches
std::hash< onert::ir::Layout > Struct Reference

#include <Layout.h>

Public Member Functions

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

Detailed Description

Definition at line 64 of file Layout.h.

Member Function Documentation

◆ operator()()

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

Definition at line 66 of file Layout.h.

67 {
68 using type = typename std::underlying_type<onert::ir::Layout>::type;
69 return hash<type>()(static_cast<type>(value));
70 }
type
Definition infer.py:18

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