Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Perron (0.21 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      return parent_op_->SetDeviceName(name);
    }
    Status TapeOperation::AddInput(AbstractTensorHandle* input) {
      TF_RETURN_IF_ERROR(parent_op_->AddInput(input));
      forward_op_.inputs.push_back(input);
      return OkStatus();
    }
    Status TapeOperation::AddInputList(
        absl::Span<AbstractTensorHandle* const> inputs) {
      TF_RETURN_IF_ERROR(parent_op_->AddInputList(inputs));
      for (auto input : inputs) {
        forward_op_.inputs.push_back(input);
      }
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  2. tensorflow/c/eager/unified_api_testutil.h

      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_Context* eager_ctx =
          TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
      TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get()));
      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

          }
        }
      });
      // Loop until either block content is successfully fetched, or our request
      // encounters an error.
      absl::MutexLock l(&block->mu);
      TF_SetStatus(status, TF_OK, "");
      while (true) {
        switch (block->state) {
          case FetchState::ERROR:
            // TF_FALLTHROUGH_INTENDED
          case FetchState::CREATED:
            block->state = FetchState::FETCHING;
    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)
  4. tensorflow/c/c_op_requires.h

          return;                                                     \
        }                                                             \
      } while (0)
    
    #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \
      do {                                                                \
        ::tensorflow::Status _s(__VA_ARGS__);                             \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/nn_grad_test.cc

        AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs,
        absl::Span<AbstractTensorHandle*> outputs) {
      AbstractTensorHandle* loss;
      AbstractTensorHandle* backprop;
      TF_RETURN_IF_ERROR(ops::SparseSoftmaxCrossEntropyWithLogits(
          ctx, inputs[0], inputs[1], &loss, &backprop,
          "SparseSoftmaxCrossEntropyWithLogits"));
      // `gradient_checker` only works with model that returns only 1 tensor.
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. ci/official/envs/rbe

    # is no --config setting), bazel would fail and quit. This script does a quick
    # check This script checks for such errors early
    if ! grep "rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX" .bazelrc; then
      cat <<EOF
    ERROR: RBE was enabled via the 'rbe' env in the 'TFCI' variable.
           TFCI: $TFCI
           TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX is "$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX".
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_ALREADY_EXISTS,
                static_cast<TF_Code>(tensorflow::error::ALREADY_EXISTS));
      EXPECT_EQ(TF_PERMISSION_DENIED,
                static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED));
      EXPECT_EQ(TF_UNAUTHENTICATED,
                static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED));
      EXPECT_EQ(TF_RESOURCE_EXHAUSTED,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Execute_MatMul_CPU_Runtime_Error) {
      Execute_MatMul_CPU_Runtime_Error(false);
    }
    TEST(CAPI, Execute_MatMul_CPU_Runtime_ErrorAsync) {
      Execute_MatMul_CPU_Runtime_Error(true);
    }
    
    void Execute_MatMul_CPU_Type_Error(bool async) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(out.size(), 1);
      // Now read the first block; this should yield an INTERNAL error because we
      // had already cached a partial block at a later position.
      Status status = ReadCache(&cache, "", 0, block_size, &out);
      EXPECT_EQ(status.code(), error::INTERNAL);
    }
    
    TEST(RamFileBlockCacheTest, LRU) {
      const size_t block_size = 16;
      std::list<size_t> calls;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      // Step 1: Load plugin
      Env* env = Env::Default();
      void* dso_handle;
      TF_RETURN_IF_ERROR(env->LoadDynamicLibrary(dso_path.c_str(), &dso_handle));
    
      // Step 2: Load symbol for `TF_InitPlugin`
      void* dso_symbol;
      TF_RETURN_WITH_CONTEXT_IF_ERROR(
          env->GetSymbolFromLibrary(dso_handle, "TF_InitPlugin", &dso_symbol),
          "Failed to load TF_InitPlugin symbol for DSO: ", dso_path);
    
    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)
Back to top