Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

      return y
    
    
    class TFRGenTestBase(test.TestCase):
    
      def _check_code(self, tfr_code, exp_tfr_code):
        return self.assertTrue(fw.check(str(tfr_code), exp_tfr_code), str(tfr_code))
    
    
    class TFRGenTensorTest(TFRGenTestBase):
      """MLIR Generation Tests for MLIR TFR Program."""
    
      def test_tfr_loc(self):
        mlir_code = tfr_gen(sys.modules[__name__], '_tfr_loc', [test_ops])
        mlir_code_exp = r"""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
Back to top