Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for graph_decompose_test (0.29 sec)

  1. tensorflow/compiler/mlir/tfr/integration/graph_decompose_test.py

    _lib_dir = os.path.dirname(gen_composite_ops.__file__)
    _lib_name = os.path.basename(gen_composite_ops.__file__)[4:].replace(
        '.py', '.so')
    load_library.load_op_library(os.path.join(_lib_dir, _lib_name))
    
    
    class GraphDecomposeTest(test.TestCase):
    
      def testAddN(self):
        add = def_function.function(gen_composite_ops.my_add_n)
        t1 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
        t2 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/BUILD

            "//tensorflow/core/common_runtime:device_set",
            "@llvm-project//mlir:IR",
        ],
        alwayslink = 1,
    )
    
    tf_py_strict_test(
        name = "graph_decompose_test",
        size = "small",
        srcs = ["integration/graph_decompose_test.py"],
        data = ["//tensorflow/compiler/mlir/tfr/resources:decomposition_lib"],
        python_version = "PY3",
        srcs_version = "PY3",
        tags = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top