Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for bean (0.26 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

      //   If file exists, truncate its size to 0.
      int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode);
      if (dst_fd < 0) {
        close(src_fd);
        return -1;
      }
    
      // Both files have been opened, do the transfer.
      // Since errno would be overridden by `close` below, save it here.
      int error_code = 0;
      if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno;
    
      close(src_fd);
      close(dst_fd);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api.h

    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_unified_experimental.cc

      if (entry != GetFactories().end()) {
        default_factory = GetFactories().find(name)->second;
        return absl::OkStatus();
      }
      string msg = absl::StrCat(
          "No tracing engine factory has been registered with the key '", name,
          "' (available: ");
      // Ensure deterministic (sorted) order in the error message
      std::set<string> factories_sorted;
      for (const auto& factory : GetFactories())
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

          // name collisions only if this prefix has not been provided explicitly
          // by the user. If it was provided, assert that it remained intact.
          if (prefix != nullptr && !absl::StartsWith(n->name(), prefix_cmp)) {
            status->status = tensorflow::errors::Internal(
                "BUG: The gradients prefix have been unexpectedly altered when "
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      return tensorflow::errors::Unimplemented(
          "SetAttrFunction has not been implemented yet.");
    }
    Status TapeOperation::SetAttrFunctionName(const char* attr_name,
                                              const char* value, size_t length) {
      return tensorflow::errors::Unimplemented(
          "SetAttrFunctionName has not been implemented "
          "yet.");
    }
    Status TapeOperation::SetAttrTensor(const char* attr_name,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_internal.h

          TF_GUARDED_BY(mu);
    
      // The keys of this map are all the active sessions using this graph. Each
      // value records whether the graph has been mutated since the corresponding
      // session has been run (this is detected in RecordMutation function). If the
      // string is empty, no mutation has occurred. Otherwise the string is a
      // description of the mutation suitable for returning to the user.
      //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/nn_grad_test.cc

          immediate_execution_ctx_.get(), {X.get(), Y.get()}, UseFunction()));
    }
    
    TEST_P(CppGradients, TestBiasAddGrad) {
      if (UseFunction() && UseMlir()) {
        GTEST_SKIP() << "SetAttrString has not been implemented yet.\n";
      }
    
      // A
      float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f};
      int64_t A_dims[] = {2, 2};
      AbstractTensorHandlePtr A;
      {
        AbstractTensorHandle* A_raw;
    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)
  8. tensorflow/c/eager/c_api_test.cc

        int num_retvals = 1;
        TFE_Execute(matmul, &retvals[0], &num_retvals, status.get());
        ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
        // The CPU handle should have been copied and have a mirror on the GPU
        ASSERT_TRUE(cpu_arg->HasLocalMirror(gpu_device));
    
        TFE_DeleteOp(matmul);
        TFE_DeleteTensorHandle(retvals[0]);
        TFE_DeleteTensorHandle(hgpu);
      }
    
    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/modular_filesystem_test.cc

    // (or, if none is supplied, all existing schemes are used). As a scheme can
    // become available after a shared object with a filesystem implementation is
    // loaded, we can only check for availability after all arguments have been
    // parsed.
    //
    // Furthermore, as `INSTANTIATE_TEST_SUITE_P` needs to be at global level and we
    // don't want to have a `std::vector<std::string>` at global level, we use a
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  10. .github/workflows/stale-issues.yml

              only-labels: "stat:awaiting response"
              stale-issue-message: > 
                This issue is stale because it has been open for 7 days with no activity.
                It will be closed if no further activity occurs. Thank you.
              close-issue-message: >
                This issue was closed because it has been inactive for 7 days since being marked as stale.
                Please reopen if you'd like to work on this further.
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Nov 23 20:04:38 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top