class_docstr: A pass to merge an identity operator with a LUT based activation function with
  a preceding operator provided that operator can do a table lookup for the activation
  in the hardware
code: def __init__(self):
      super().__init__()
      self.lut_ops = {
          "contrib.ethosu.conv2d": op.ethosu_conv2d,
          "contrib.ethosu.depthwise_conv2d": op.ethosu_depthwise_conv2d,
          "contrib.ethosu.pooling": op.ethosu_pooling,
          "contrib.ethosu.binary_elementwise": op.ethosu_binary_elementwise,
      }
  
imports: from collections import defaultdict
  from typing import List, Callable
  from ethosu.vela import api
  import tvm
  from tvm import relay
  from tvm.relay.backend.contrib.ethosu.tir.compiler import LowerToTIR
  from tvm.relay.backend.contrib.ethosu.tir.scheduler import copy_constants
  from tvm.contrib.ethosu.cascader import cascade, EthosuDeviceConfig, CascaderOptions, MemoryRegion, extract_memory_info
  from tvm.relay.backend.contrib.ethosu.legalize import LegalizeEthosU
  from tvm.relay.backend.contrib.ethosu import tir_to_cs_translator, util, vela_api
  from tvm.relay.expr_functor import ExprMutator, ExprVisitor, Call
  from tvm.relay import expr
  from tvm.relay.backend.contrib.ethosu.op import op_attrs
  from tvm.relay.backend.contrib.ethosu import op
  from .None import _ffi_api
label_desc: Use image node_id 1 to create a new OptimizeLUTs object from inherited base classes: ExprMutator with example: obj = OptimizeLUTs()