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 62 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 64 of file Layout.h.

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

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