Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TFRGenTensorTest (0.2 sec)

  1. tensorflow/compiler/mlir/tfr/python/op_reg_gen_test.py

        attrs=['act: {"", "relu"}', 'trans: bool = true'],
        derived_attrs=['T: numbertype'],
        outputs=['o1: T', 'o2: T'])
    def _composite_op(x, y, act, trans):
      return x + act, y + trans
    
    
    class TFRGenTensorTest(test.TestCase):
      """MLIR Generation Tests for MLIR TFR Program."""
    
      def test_op_reg_gen(self):
        cxx_code = gen_register_op(sys.modules[__name__])
        cxx_code_exp = r"""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top