Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for bean (0.15 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_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)
  3. 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)
  4. tensorflow/c/c_api_experimental.cc

    // On success, returns the handle to library in result and return OK from the
    // function. Otherwise return nullptr in result and error Status from the
    // function.
    //
    // If `library_filename` has already been loaded, we return a cached handle.
    // Device and Kernels/Ops are registered as globals when a library is loaded
    // for the first time.
    TF_Library* TF_LoadPluggableDeviceLibrary(const char* library_filename,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K 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/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)
  7. 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)
  8. 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)
  9. tensorflow/c/eager/gradients.cc

      return tensorflow::errors::Unimplemented(
          "SetAttrFunction has not been implemented yet.");
    }
    Status SetAttrFunctionName(AbstractOperation* op_, const char* attr_name,
                               const char* value, size_t length,
                               ForwardOperation* forward_op_) {
      return tensorflow::errors::Unimplemented(
          "SetAttrFunctionName has not been implemented "
          "yet.");
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            start_execute_.wait(l);
          }
          if (execution_state_ == ExecutionState::kShuttingDown) {
            return;
          } else if (execution_state_ == ExecutionState::kReadyToExecute) {
            // op_outputs_ may have been std::moved
            op_outputs_ = std::vector<TensorHandlePtr>();
            Execute(context_, operation_name_, std::move(op_inputs_), attributes_,
                    expected_max_outputs_, &op_outputs_, status_.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
Back to top