Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for test_1 (0.18 sec)

  1. tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc

          &device_tensor, "", device_.get(), &dest_cpu_tensor));
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
      device_context->Unref();
    }
    
    TEST_F(XlaHostSendRecvDeviceContextTest, CopyCPUTensorToDevice) {
      SetDevice("GPU");
      Tensor origin_cpu_tensor(host_allocator_, DT_FLOAT, TensorShape({2, 2}));
      test::FillValues<float>(&origin_cpu_tensor, {1.2, 2.3, 3.4, 4.5});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/TestedProjectFixture.groovy

        }
    
        static class JavaTestClass {
            public static final PRESERVED_TEST1 = new JavaTestClass('org.gradle.Test1', 'org.gradle.Test1')
            public static final PRESERVED_TEST2 = new JavaTestClass('org.gradle.Test2', 'org.gradle.Test2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcTestFixture.groovy

    package org.gradle.api.plugins.quality.codenarc
    
    import org.gradle.test.fixtures.file.TestFile
    
    
    trait CodeNarcTestFixture {
        def goodCode() {
            file("src/main/groovy/org/gradle/class1.java") << "package org.gradle; class class1 { }"
            file("src/test/groovy/org/gradle/testclass1.java") << "package org.gradle; public class testclass1 { @org.junit.Test public void test1() { } }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedConfigurationApiIntegrationTest.groovy

            run 'show'
    
            then:
            outputContains("files: [test-1.0, test-1.0, test-1.0-classy]")
            outputContains("display-names: [test-1.0 (org:test:1.0), test-1.0 (org:test:1.0), test-1.0-classy (org:test:1.0)]")
            outputContains("ids: [test-1.0 (org:test:1.0), test-1.0 (org:test:1.0), test-1.0-classy (org:test:1.0)]")
            outputContains("names: [test::jar, test::, test::]")
            outputContains("classifiers: [null, null, classy]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 18:17:47 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc

        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TpuMetadataUtilsTest, SingleDevice) {
      TF_ASSERT_OK_AND_ASSIGN(auto cluster_func_ops,
                              GetClusterFuncOps("basic_cluster.mlir"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(SessionClusterTensorflowDialectTest, ClustersTf) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta("success"), 1);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy

        }
    
        def "acquires worker lease and starts worker process on first test"() {
            given:
            def test1 = Mock(TestClassRunInfo)
            def test2 = Mock(TestClassRunInfo)
            def processor = newProcessor()
    
            when:
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    
            then:
            1 * workerLeaseRegistry.startWorker()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

    using ::mlir::ModuleOp;
    using ::mlir::OwningOpRef;
    using ::mlir::mhlo::test::GetMlirModuleFromString;
    using ::tensorflow::monitoring::testing::CellReader;
    
    static constexpr char kHasTpuPartitionedCallStreamzName[] =
        "/tensorflow/core/tf2xla/internal/inference/tpu_partitioned_call";
    
    class InferenceMetricsPassTest : public ::testing::Test {
     protected:
      void CreateModule(const char* module_string) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top