Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 511 for test_1 (0.12 sec)

  1. tensorflow/compiler/mlir/lite/debug/debug_test.cc

        return tsl::io::JoinPath(
            getenv("TEST_UNDECLARED_OUTPUTS_DIR"),
            absl::StrCat(test_info->test_suite_name(), ".", test_info->name()));
      }
    };
    
    TEST_F(InitPassManagerTest, CrashReproducer) {
      converter::DebugOptions debug_options;
      *debug_options.mutable_ir_dump_dir() = path_;
    
      mlir::PassManager pm(&context_);
      InitPassManager(pm, debug_options);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/gover_test.go

    	in2 In2
    	in3 In3
    	out Out
    }
    
    func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out)
    		}
    	}
    }
    
    func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. test/fixedbugs/bug286.go

    //
    // Error: test2 calls g instead of f
    
    func test1(x I) {
    	type J interface {
    		I
    		g()
    	}
    	x.(J).f()
    	if callee != "f" {
    		println("test1 called", callee)
    		error_ = true
    	}
    }
    
    func test2(x I) {
    	type J interface {
    		g()
    		I
    	}
    	x.(J).f()
    	if callee != "f" {
    		println("test2 called", callee)
    		error_ = true
    	}
    }
    
    type J interface {
    	g()
    	I
    }
    
    func test3(x I) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  5. test/ken/embed.go

    	if s.test5() != s.a5 {
    		println("t4", 5)
    		panic("fail")
    	}
    	if s.test6() != s.a6 {
    		println("t4", 6)
    		panic("fail")
    	}
    	if s.test7() != s.a7 {
    		println("t4", 7)
    		panic("fail")
    	}
    
    	// call interface
    	if i.test1() != s.test1() {
    		println("t5", 1)
    		panic("fail")
    	}
    	if i.test2() != s.test2() {
    		println("t5", 2)
    		panic("fail")
    	}
    	if i.test3() != s.test3() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/utils/dialect_detection_utils_test.cc

    using mlir::UnknownLoc;
    using mlir::chlo::ChloDialect;
    using mlir::TF::TensorFlowDialect;
    using tensorflow::tf2xla::internal::IsInBridgeAcceptableDialects;
    
    class SharedUtilsTest : public ::testing::Test {};
    
    TEST_F(SharedUtilsTest, IsInFunctionalDialectPasses) {
      MLIRContext context;
      context.loadDialect<TensorFlowDialect>();
      OpBuilder opBuilder(&context);
      OperationState state(UnknownLoc::get(opBuilder.getContext()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 20:33:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/GradleTaskGetGroupCrossVersionSpec.groovy

                assert it.group == "task group ${it.name-'test'}"
            }
        }
    
        def "provide getGroup on Task using GradleProject shouldn't fail if group is null"() {
            file("build.gradle") << '''
    task test1()
    task test2()
    '''
    
            when:
            def gradleProject = withConnection { ProjectConnection connection ->
                connection.getModel(GradleProject)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/tests/auto_clustering_test.cc

        string file_name_without_extension =
            absl::StrCat(testing::TensorFlowSrcRoot(), "/compiler/jit/tests/", key);
    
        return AutoClusteringTest::RunAutoClusteringTestWithGzippedPbtxt(
            absl::StrCat(file_name_without_extension, ".pbtxt.gz"),
            absl::StrCat(file_name_without_extension, ".golden_summary"));
      }
    };
    
    TEST_F(AutoClusteringTestImpl, KerasImagenetMain) {
      // Generated from
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 13 20:13:03 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. test/ken/chan.go

    }
    
    // wait for outstanding tests to finish
    func wait() {
    	runtime.Gosched()
    	for changeNproc(0) != 0 {
    		runtime.Gosched()
    	}
    }
    
    // run all tests with specified buffer size
    func tests(c int) {
    	ca := mkchan(c, 4)
    	test1(ca[0])
    	test1(ca[1])
    	test1(ca[2])
    	test1(ca[3])
    	wait()
    
    	test2(c)
    	wait()
    
    	test3(c)
    	wait()
    
    	test4(c)
    	wait()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.cc

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    namespace {
    
    using mlir::mhlo::test::GetMlirModuleFromString;
    
    class VerifyClusteringPassTest : public testing::Test {
     protected:
      void CreateModule(const char* module_string) {
        TF_ASSERT_OK_AND_ASSIGN(module_,
                                GetMlirModuleFromString(module_string, &context_));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 17:03:53 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top