Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setUp (0.13 sec)

  1. tensorflow/c/experimental/gradients/math_grad_test.cc

      return ops::DivNoNan(ctx, inputs[0], inputs[1], &outputs[0], "DivNoNan");
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    class GCSFilesystemTest : public ::testing::Test {
     public:
      void SetUp() override {
        root_dir_ = io::JoinPath(
            *GetTmpDir(),
            ::testing::UnitTest::GetInstance()->current_test_info()->name());
        status_ = TF_NewStatus();
        filesystem_ = new TF_Filesystem;
        filesystem_->plugin_filesystem = nullptr;
        // Because different tests requires different setup for filesystem. We
        // initialize filesystem in each testcase.
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental_test.cc

    }
    
    class CApiExperimentalFunctionTest : public ::testing::Test {
     protected:
      CApiExperimentalFunctionTest()
          : s_(TF_NewStatus()), func_graph_(TF_NewGraph()), func_(nullptr) {}
    
      void SetUp() override {}
    
      ~CApiExperimentalFunctionTest() override {
        TF_DeleteFunction(func_);
        TF_DeleteGraph(func_graph_);
        TF_DeleteStatus(s_);
      }
    
      const char* func_name_ = "MyFunc";
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
Back to top