Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for CHECK (0.35 sec)

  1. ci/official/utilities/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:wheel" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
        "//tensorflow/tools/lib_package:clicenses_generate"
    }
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:build_pip_package" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
        "//tensorflow/tools/lib_package:clicenses_generate"
    }
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      int num_devices = TF_DeviceListCount(devices);
      for (int d = 0; d < num_devices; ++d) {
        const char* name = TF_DeviceListName(devices, d, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_TensorHandle* copy = TFE_TensorHandleCopyToDevice(m, ctx, name, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    namespace tf_gcs_filesystem {
    
    bool RamFileBlockCache::BlockNotStale(const std::shared_ptr<Block>& block) {
      absl::MutexLock l(&block->mu);
      if (block->state != FetchState::FINISHED) {
        return true;  // No need to check for staleness.
      }
      if (max_staleness_ == 0) return true;  // Not enforcing staleness.
      return timer_seconds_() - block->timestamp <= max_staleness_;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpAddInput(op, b, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(a));
    
      return op;
    }
    
    TFE_Op* MatMulOp(TFE_Context* ctx, TFE_TensorHandle* a, TFE_TensorHandle* b) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "MatMul", status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  6. tensorflow/c/eager/c_api_unified_experimental_test.cc

     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();
      }
    };
    
    TEST_P(UnifiedCAPI, TestBasicEager) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
    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)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    std::string ModularFileSystem::TranslateName(const std::string& name) const {
      if (ops_->translate_name == nullptr) return FileSystem::TranslateName(name);
    
      char* p = ops_->translate_name(filesystem_.get(), name.c_str());
      CHECK(p != nullptr) << "TranslateName(" << name << ") returned nullptr";
    
      std::string ret(p);
      // Since `p` is allocated by plugin, free it using plugin's method.
      plugin_memory_free_(p);
      return ret;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    **1. New PR**
    
    - As a contributor, you submit a New PR on GitHub.
    - We inspect every incoming PR and add certain labels to the PR such as `size:`,
      `comp:` etc.  At this stage we check if the PR is valid and meets certain
      quality requirements. For example, we check if the CLA is signed, PR has
      sufficient description, if applicable unit tests are added, if it is a
      reasonable contribution (meaning it is not a single liner cosmetic PR).
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental_test.cc

      // Prepare some tensors for shape.
      TF_Tensor* tensor_1X6 = Int32Tensor({1, 6});
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      TF_Tensor* tensor_1X1X6 = Int32Tensor({1, 1, 6});
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    
      TFE_Op* reshape_op = TFE_NewOp(tfe_context_, "Reshape", status_);
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      TFE_OpSetAttrType(reshape_op, "T", TF_FLOAT);
    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)
  10. tensorflow/c/c_test_util.cc

                     TF_Status* s, const char* name, TF_Operation** op,
                     bool check) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "AddN", name);
      TF_Output add_inputs[2] = {{l, 0}, {r, 0}};
      TF_AddInputList(desc, add_inputs, 2);
      *op = TF_FinishOperation(desc, s);
      if (check) {
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        ASSERT_NE(*op, nullptr);
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
Back to top