Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for WithParamInterface (0.36 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // testing::WithParamInterface<T>, where T is the type of the parameter
    // values. Inheriting from TestWithParam<T> satisfies that requirement because
    // TestWithParam<T> inherits from both Test and WithParamInterface. In more
    // complicated hierarchies, however, it is occasionally useful to inherit
    // separately from Test and WithParamInterface. For example:
    
    class BaseTest : public ::testing::Test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // testing::WithParamInterface<T>, where T is the type of the parameter
    // values. Inheriting from TestWithParam<T> satisfies that requirement because
    // TestWithParam<T> inherits from both Test and WithParamInterface. In more
    // complicated hierarchies, however, it is occasionally useful to inherit
    // separately from Test and WithParamInterface. For example:
    
    class BaseTest : public ::testing::Test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

              EXPECT_THAT(buffer, Eq(expected_buffer));
            }
          }
        }
      }
    }
    
    class QuantizeConvModelTest : public QuantizeModelTest,
                                  public testing::WithParamInterface<TensorType> {
     protected:
      QuantizeConvModelTest() {
        tensor_type_ = GetParam();
        input_model_ = ReadModel(internal::kConvModelWith0Plus10Weights);
        readonly_model_ = input_model_->GetModel();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    template <typename T>
    class WithParamInterface {
     public:
      typedef T ParamType;
      virtual ~WithParamInterface() {}
    
      // The current parameter value. Is also available in the test fixture's
      // constructor. This member function is non-static, even though it only
      // references static data, to reduce the opportunity for incorrect uses
      // like writing 'WithParamInterface<bool>::GetParam()' for a test that
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    template <typename T>
    class WithParamInterface {
     public:
      typedef T ParamType;
      virtual ~WithParamInterface() {}
    
      // The current parameter value. Is also available in the test fixture's
      // constructor. This member function is non-static, even though it only
      // references static data, to reduce the opportunity for incorrect uses
      // like writing 'WithParamInterface<bool>::GetParam()' for a test that
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/nn_grad_test.cc

      TensorShape y_shape({1, 2, 3, 1});
      RunTest(x, x_init_value, y.output, y_shape);
    }
    
    class FusedBatchNormGradTest : public NNGradTest,
                                   public ::testing::WithParamInterface<
                                       std::tuple<bool, bool, TensorShape>> {};
    
    TEST_P(FusedBatchNormGradTest, FusedBatchNormV3Grad) {
      FusedBatchNormV3::Attrs attrs;
      attrs.is_training_ = std::get<0>(GetParam());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    // testing::WithParamInterface<T>, where T is the type of the parameter
    // values. Inheriting from TestWithParam<T> satisfies that requirement because
    // TestWithParam<T> inherits from both Test and WithParamInterface. In more
    // complicated hierarchies, however, it is occasionally useful to inherit
    // separately from Test and WithParamInterface. For example:
    
    class BaseTest : public ::testing::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. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    // testing::WithParamInterface<T>, where T is the type of the parameter
    // values. Inheriting from TestWithParam<T> satisfies that requirement because
    // TestWithParam<T> inherits from both Test and WithParamInterface. In more
    // complicated hierarchies, however, it is occasionally useful to inherit
    // separately from Test and WithParamInterface. For example:
    
    class BaseTest : public ::testing::Test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 74.1K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/math_grad_test.cc

      // the sum is always on the first dimension
      TensorShape y_shape({2, 4});
      RunTest({x}, {x_shape}, {y}, {y_shape});
    }
    
    class CumsumGradTest
        : public NaryGradTest,
          public ::testing::WithParamInterface<std::tuple<bool, bool, int>> {};
    
    TEST_P(CumsumGradTest, CumsumGrad) {
      int axis = std::get<2>(GetParam());
    
      TensorShape shape({2, 3, 2});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
Back to top