code: def testWithKnownKernel(self):
      @def_function.function
      def biasd_dense_elu(x, y, z):
          dot = gen_composite_ops.my_biased_dense(x, y, z)
          return nn_ops.elu(
              dot
          )  # with known kernel, should not expand.
  
      t1 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
      t2 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
      t3 = constant_op.constant([[-10.0, -10.0], [-10.0, -10.0]])
      sq = biasd_dense_elu(t1, t2, t3)
      self.assertAllClose(sq.numpy().reshape(-1), [-0.950213, 0, 5, 12])
  
file_path: tensorflow-upstream/tensorflow/compiler/mlir/tfr/integration/graph_decompose_test.py
imports: import os
  from tensorflow.compiler.mlir.tfr.resources import gen_composite_ops
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import load_library
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the GraphDecomposeTest obj's underlying member method code with example usage: obj.testWithKnownKernel() and returns: nn_ops