Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 695 for test_1 (0.21 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

          /*ret_def=*/{{"out", "out:output:0"}});
      *fdef_lib.add_function() = std::move(func);
      return fdef_lib;
    }
    
    // This tests a rewrite that only makes sense and is active in a CUDA-enabled
    // build.  Specifically we check that we insert an IdentityN op to avoid extra
    // device-to-host copies.
    TEST_F(BuildXlaOpsTest, NoDeviceToHostCopiesForClustersWithInt32Inputs) {
      const char* kXlaDeviceName = "/job:worker/replica:0/task:0/device:GPU:0";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compiler_test.cc

      std::unique_ptr<core::ScopedUnref> mock_profiler_ref_;
    
      XlaDeviceCompiler* xla_device_compiler_;
      std::unique_ptr<core::ScopedUnref> xla_device_compiler_ref_;
    };
    
    TEST_F(DeviceCompilerTest, CompileStrictSuccess) {
      const XlaCompiler::CompilationResult* compilation_result = nullptr;
      xla::LocalExecutable* xla_executable = nullptr;
    
      XlaCompiler::Options options = GetDefaultXlaOptions();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/bundle_v2_test.cc

    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/trackable_object_graph.pb.h"
    #include "tsl/lib/core/status_test_util.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace {
    
    constexpr char kTestData[] = "cc/saved_model/testdata";
    
    class BundleV2Test : public ::testing::Test {
     protected:
      BundleV2Test() {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. test/typeparam/issue48016.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"strconv"
    )
    
    func test1[T any](fn func(T) int, v T) int {
    	fn1 := func() int {
    		var i interface{} = v
    		val := fn(i.(T))
    		return val
    	}
    	return fn1()
    }
    
    func main() {
    	want := 123
    	got := test1(func(s string) int {
    		r, err := strconv.Atoi(s)
    		if err != nil {
    			return 0
    		}
    		return r
    	}, "123")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 574 bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("text/x-csrc", "extractor/program/test.c", "test.c");
            assertContentType("text/x-c++src", "extractor/program/test.cpp", "test.cpp");
            assertContentType("text/x-chdr", "extractor/program/test.h", "test.h");
            assertContentType("text/x-c++hdr", "extractor/program/test.hpp", "test.hpp");
            assertContentType("text/x-java-source", "extractor/program/test.java", "test.java");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_launch_util_test.cc

          /*use_pjrt_tensor_buffer=*/false, execute_outputs, context_.get()));
    
      Tensor* expected = CreateHostTensor<int32>(TensorShape({1, 3}), {5, 7, 9});
      test::ExpectTensorEqual<int32>(*expected, *GetOutput(0));
    }
    
    TEST_F(PjRtExecutionUtilTest, PopulateCtxOutputsDynamicShape) {
      XlaOpRegistry::RegisterCompilationKernels();
      TF_EXPECT_OK(NodeDefBuilder("testWhere", "Where")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver_test.cc

        func.func @main(%arg0: tensor<1x4x4x3xf32>) -> tensor<1x4x4x3xf32> attributes {_from_xla_call_module} {
          %cst_0 = arith.constant dense<1.0> : tensor<3x1x1x3xf32>
          %cst_1 = arith.constant dense<2.0> : tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_test.cc

      EXPECT_EQ(*result_value, 4.0);
    
      TF_DeleteTensor(result_tensor);
      TF_DeleteAbstractTensor(result);
      TF_DeleteOutputList(o);
      TF_DeleteExecutionContext(ctx);
    }
    
    // MatMul Test
    TEST_P(UnifiedCAPI, TestBasicEagerMatMul) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestWorkerProgressListenerTest.groovy

        }
    
        def "can register progress loggers for different test workers"() {
            def testWorkerProgressLogger1 = Mock(ProgressLogger)
            def testWorkerProgressLogger2 = Mock(ProgressLogger)
    
            given:
            def testEvent1 = new TestEvent('Gradle Test Executor 1', 'org.gradle.Test1')
            def testEvent2 = new TestEvent('Gradle Test Executor 2', 'org.gradle.Test2')
            def testDescriptor1 = createTestDescriptor(testEvent1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/strict/testdata/invalid_casesensitive_field.yaml

    apiVersion: kubeadm.k8s.io/v1beta3
    kind: ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 90 bytes
    - Viewed (0)
Back to top