Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for acquire (0.92 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            int64_t bytes_transferred;
            bytes_transferred = block_fetcher_(key.first, key.second, block_size_,
                                               block->data.data(), status);
            block->mu.Lock();  // Reacquire the lock immediately afterwards
            if (TF_GetCode(status) == TF_OK) {
              block->data.resize(bytes_transferred, 0);
              // Shrink the data capacity to the actual size used.
    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)
  2. tensorflow/c/eager/c_api_experimental.h

      // otherwise be the name of this custom device. Ops are placed onto a custom
      // device if any of their inputs are on that custom device, but custom devices
      // are free to set a bad status in order to require explicit placement.
      void (*execute)(const TFE_Op* op, int* num_outputs,
                      TFE_TensorHandle** outputs, TF_Status* s, void* device_info);
    
      // Method to delete a device.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    *   Keep API compatibility in mind when you change code in core TensorFlow,
        e.g., code in
    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)
  4. tensorflow/c/eager/c_api.cc

          const auto func_op = GetFunc(ctx, default_value.func(), status);
          if (!status->status.ok()) return;
          // TODO(nareshmodi): TFE_OpSetAttrFunction and TFE_OpSetAttrFunctionList
          // require TFE_Op* and just convert it internally a NameAttrValue, so
          // consider adding an overload to the C API to make this case easier.
          TFE_OpSetAttrFunction(op, attr_name, func_op);
          TFE_DeleteOp(func_op);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  5. tensorflow/c/c_api_experimental.h

    // this to be called.
    TF_CAPI_EXPORT void TF_InitMain(const char* usage, int* argc, char*** argv);
    
    // Platform-specific implementation to return an unused port. (This should used
    // in tests only.)
    TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void);
    
    // Fast path method that makes constructing a single scalar tensor require less
    // overhead and copies.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/tape.h

      // Accumulate will forward op executions to the tape while the backward
      // function is running; this effectively adds the backward tape to the active
      // set (but does not require complicated callbacks to the language bindings).
      Status ForwardpropFromTape(
          const string& op_type, const std::vector<TapeTensor>& output_tensors,
          const std::function<BackwardFunction*()>& backward_function_getter,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // parallel.
      //
      // Conceptually this is a thread pool with one thread per device. It requires
      // less synchronization than a thread pool would for this task, since Execute
      // acquires each thread in order (and so only one Execute will schedule
      // blocking collective operations at a time), and avoids some dynamic
      // allocation/scheduling.
      //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function.cc

            body_nodes->push_back(node);
          } else {
            // This node is referenced in inputs. Currently, we place an
            // artificial restriction and require that when num_opers=-1, such
            // nodes must have a single output.
            if (node->num_outputs() != 1) {
              return InvalidArgument(
                  "When `num_opers` is set to -1, nodes referenced in `inputs` "
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
Back to top