Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 236 for test_1 (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import_test.cc

    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::IsEmpty;
    using ::testing::Pair;
    using ::testing::UnorderedElementsAre;
    
    using UpdateFunctionAliasesTest = ::mlir::quant::QuantizationTestBase;
    
    TEST_F(UpdateFunctionAliasesTest, NoAliasesReturnsEmptyMap) {
      // MLIR @main function corresponds to the TF function "main_original".
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(R"mlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 03:47:17 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_EQ(tf2xla_fallback_count, 322);
      EXPECT_EQ(non_categorized_count, 428);
    }
    
    // Just a counter test to see which ops have duplicate lowerings. This isn't a
    // correctness test versus a test to easily ensure the op registry is kept
    // in sync.
    TEST_F(LegalizationOpConfigTest, CountTypesWhichHaveBothMlirAndTf2xlaFallback) {
      int double_lowering_count = 0;
    
      DialectRegistry dialect_registry;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            then:
            1 * factory.create() >> delegate
            then:
            1 * delegate.startProcessing(resultProcessor)
            then:
            1 * delegate.processTestClass(test1)
            0 * _._
        }
    
        def 'ends processing on delegate processor on nth test'() {
            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/swift/testFiltering/kotlin/src/test/swift/SomeIntegTest.swift

    import XCTest
    
    class SomeIntegTest: XCTestCase {
        public static var allTests = [
            ("test1", test1),
            ("test2", test2)
        ]
        func test1() {}
        func test2() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 183 bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestReportTest.groovy

            reportTask.testResults.from([[test2.binaryResultsDirectory], test3.binaryResultsDirectory])
    
            then:
            reportTask.testResults.files as List == [test1, test2, test3]*.binaryResultsDirectory*.getAsFile()*.get()
            reportTask.testResults.buildDependencies.getDependencies(reportTask) == [test1, test2, test3] as Set
        }
    
        def "can attach result dirs"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/func_test.cc

    namespace mlir::quant {
    namespace {
    
    using ::testing::IsNull;
    using ::testing::NotNull;
    
    using FindMainFuncOpTest = ::mlir::quant::QuantizationTestBase;
    
    TEST_F(FindMainFuncOpTest, ReturnsMainFuncOp) {
      constexpr absl::string_view kModuleWithMainFunc = R"mlir(
        module {
          func.func @main() -> () {
            return
          }
        }
      )mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass_test.cc

    namespace mlir {
    namespace TFDevice {
    
    using ::mlir::MLIRContext;
    using ::mlir::ModuleOp;
    using ::mlir::OwningOpRef;
    using ::mlir::mhlo::test::GetMlirModuleFromString;
    
    class VerifyNoOutsideCompilationMarkersPassTest : public ::testing::Test {
     protected:
      void CreateModule(const char* module_string) {
        TF_ASSERT_OK_AND_ASSIGN(module_,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/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.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

      Env* env_;
      std::string test_dir_;
      std::string test_group_name_;
    };
    
    TEST_F(LowerClusterToRuntimeOpsTest, SanityCheck) {
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunLowerClusterToRuntimeOpsPassPipeline(
          *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT)));
    }
    
    TEST_F(LowerClusterToRuntimeOpsTest, LowersClusterOpsTPU) {
      TF_ASSERT_OK(CreateMlirModule("basic_cluster.mlir"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/kotlin/src/test/java/org/gradle/testng/TestFactory.java

            System.out.println("TestFactory[" + data + "].beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("TestFactory[" + data + "].test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("TestFactory[" + data + "].test2()");
        }
    
        @AfterClass
        public void afterClass() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top