Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for test_add (0.33 sec)

  1. tensorflow/cc/experimental/libtf/tests/runtime_test.cc

      TF_ASSERT_OK_AND_ASSIGN(Object module,
                              runtime.Load(String(module_path.c_str())));
    
      TF_ASSERT_OK_AND_ASSIGN(Callable fn,
                              module.Get<Callable>(String("test_add")));
    
      TF_ASSERT_OK_AND_ASSIGN(Tensor tensor1,
                              runtime.CreateHostTensor<float>({}, TF_FLOAT, {2.0f}))
      TF_ASSERT_OK_AND_ASSIGN(Tensor tensor2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 09 12:27:54 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

     */
    package org.codelibs.fess.ingest;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class IngestFactoryTest extends UnitFessTestCase {
    
        public void test_add_1() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(1));
            factory.add(new TestIngester(2));
            factory.add(new TestIngester(3));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      func.return %0 : tensor<1x40xf32>
    }
    
    func.func @testAdd(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> {
      // CHECK: _arithmetic_count = 1000 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. src/math/rand/v2/rand_test.go

    	var t int64
    	arg := keep(int64(2e9))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N1e18(b *testing.B) {
    	r := testRand()
    	var t int64
    	arg := keep(int64(1e18))
    	for n := b.N; n > 0; n-- {
    		t += r.Int64N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt64N2e18(b *testing.B) {
    	r := testRand()
    	var t int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py

    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py310.tests import test_sql_app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 825 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_testing_databases.py

    @needs_pydanticv1
    def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app.tests import test_sql_app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 788 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py

    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py39.tests import test_sql_app
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 822 bytes
    - Viewed (0)
  8. src/cmd/link/cgo_test.go

    const test1_main = `
    package main
    
    /*
    extern int myadd(int, int);
    int c_add(int a, int b) {
    	return myadd(a, b);
    }
    */
    import "C"
    
    func main() {
    	println(C.c_add(1, 2))
    }
    `
    
    const test1_add = `
    package main
    
    import "C"
    
    /* test */
    
    //export myadd
    func myadd(a C.int, b C.int) C.int {
    	return a + b
    }
    `
    
    const test2_main = `
    package main
    
    import "fmt"
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 22:13:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_test_err.txt

    go list -e -test -deps -f '{{.ImportPath}} {{.Error | printf "%q"}}' nameerr
    stdout 'pkgdep <nil>'
    stdout 'testdep_a <nil>'
    stdout 'testdep_b <nil>'
    stdout 'nameerr\.test "[^"]*wrong signature for TestBad'
    ! stderr 'wrong signature for TestBad'
    
    # go list prints a useful error for generic test functions
    ! go list -test -deps genericerr
    stderr 'wrong signature for TestGeneric, test functions cannot have type parameters'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 23:08:19 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppApplicationPluginTest.groovy

            project.pluginManager.apply(CppApplicationPlugin)
            project.evaluate()
            project.application.baseName = "test_app"
    
            then:
            def link = project.tasks.linkDebug
            link.linkedFile.get().asFile == projectDir.file("build/exe/main/debug/" + OperatingSystem.current().getExecutableName("test_app"))
    
            def install = project.tasks.installDebug
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top