Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 695 for test_1 (0.49 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc

          return %0 : tensor<1x3xf32>
        }
      }
    )mlir";
    
    TEST_F(IsOpQuantizableStableHloTest, ConstantOpQuantizable) {
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleConstantAdd);
      ASSERT_TRUE(module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_Graph* graph_;
      TF_Graph* expected_graph_;
    };
    
    TEST_F(CApiGradientsTest, Gradients_GradInputs) { TestGradientsSuccess(true); }
    
    TEST_F(CApiGradientsTest, Gradients_NoGradInputs) {
      TestGradientsSuccess(false);
    }
    
    TEST_F(CApiGradientsTest, OpWithNoGradientRegistered_GradInputs) {
      TestGradientsError(true);
    }
    
    TEST_F(CApiGradientsTest, OpWithNoGradientRegistered_NoGradInputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

    using ::testing::ElementsAre;
    using ::testing::HasSubstr;
    using ::testing::Key;
    using ::testing::SizeIs;
    using ::tsl::testing::StatusIs;
    
    class CalibrationStatisticsSaverTest : public OpsTestBase {};
    
    TEST_F(CalibrationStatisticsSaverTest, MissingOutputPath) {
      std::vector<std::string> ids{"1"};
      std::vector<int32_t> calibration_methods{
          CalibrationOptions::CALIBRATION_METHOD_AVERAGE_MIN_MAX};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_platform_info_test.cc

      EXPECT_TRUE(
          xla_device_compiler->persistor()->persistent_cache_directory().empty());
    }
    
    // TODO(b/255826209): Look into using an actual TPU device for the unit test,
    // and move this out of OSS.
    TEST_F(XlaPlatformInfoTest,
           GetOrCreatePjRtDeviceCompilerAndProfilerTpuDeviceNoCompilationCache) {
      tensorflow::GetMarkForCompilationPassFlags()
          ->tf_xla_persistent_cache_directory = "/tmp/xla_cache";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/c/experimental/saved_model/core/ops/variable_ops_test.cc

    class VariableOpsTest : public ::testing::Test {
     public:
      VariableOpsTest()
          : device_mgr_(testing::CreateTestingDeviceMgr()),
            ctx_(testing::CreateTestingEagerContext(device_mgr_.get())) {}
    
      EagerContext* context() { return ctx_.get(); }
    
     private:
      std::unique_ptr<StaticDeviceMgr> device_mgr_;
      EagerContextPtr ctx_;
    };
    
    // Sanity check for variable creation
    TEST_F(VariableOpsTest, CreateVariableSuccessful) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 21 19:26:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    class BaseTest : public ::testing::Test {
      // You can inherit all the usual members for a non-parameterized test
      // fixture here.
    };
    
    class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
      // The usual test fixture members go here too.
    };
    
    TEST_F(BaseTest, HasFoo) {
      // This is an ordinary non-parameterized test.
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
  8. test/fixedbugs/issue8004.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"reflect"
    	"runtime"
    	"unsafe"
    )
    
    func main() {
    	test1()
    	test2()
    }
    
    func test1() {
    	var all []interface{}
    	for i := 0; i < 100; i++ {
    		p := new([]int)
    		*p = append(*p, 1, 2, 3, 4)
    		h := (*reflect.SliceHeader)(unsafe.Pointer(p))
    		all = append(all, h, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/swift/testFiltering/groovy/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)
  10. test/closedchan.go

    		if recover() == nil {
    			panic("did not panic")
    		}
    	}()
    	f()
    }
    
    func test1(c Chan) {
    	for i := 0; i < 3; i++ {
    		// recv a close signal (a zero value)
    		if x := c.Recv(); x != 0 {
    			println("test1: recv on closed:", x, c.Impl())
    			failed = true
    		}
    		if x, ok := c.Recv2(); x != 0 || ok {
    			println("test1: recv2 on closed:", x, ok, c.Impl())
    			failed = true
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 5.8K bytes
    - Viewed (0)
Back to top