code: def emit_Relu6(self, IR_node):
      layer = IR_node.real_name
      input_name, output_name = (
          IR_node.IR_layer.input[0],
          IR_node.IR_layer.name,
      )
  
      relu_output_name = output_name + "_relu"
      self.builder.add_activation(
          layer, "RELU", input_name, relu_output_name
      )
      # negate it
      neg_output_name = relu_output_name + "_neg"
      self.builder.add_activation(
          layer + "__neg__",
          "LINEAR",
          relu_output_name,
          neg_output_name,
          [-1.0, 0],
      )
      # apply threshold
      clip_output_name = relu_output_name + "_clip"
      self.builder.add_unary(
          layer + "__clip__",
          neg_output_name,
          clip_output_name,
          "threshold",
          alpha=-6.0,
      )
      # negate it back
      self.builder.add_activation(
          layer + "_neg2",
          "LINEAR",
          clip_output_name,
          output_name,
          [-1.0, 0],
      )
  
imports: from __future__ import division
  import os
  import numpy
  from six import string_types
  from mmdnn.conversion.common.IR.IR_graph import IRGraph, IRGraphNode
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
  from mmdnn.conversion.common.DataStructure.emitter import Emitter
  from mmdnn.conversion.common.utils import *
  from mmdnn.conversion.coreml.coreml_utils import _infer_coreml_input_shape
  from coremltools.models.neural_network import NeuralNetworkBuilder
  from coremltools.models import datatypes
  from coremltools.models import MLModel
  from coremltools.models.utils import save_spec
label_desc: Use image node_id 34 for calling the CoreMLEmitter obj's underlying member method code with example usage: obj.emit_Relu6(IR_node) without return types