Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for qhold (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                  delete reinterpret_cast<DataType*>(data);
                },
                nullptr),
            TF_DeleteTensor);
        // TODO(allenl): Here and when executing regular operations, we could hold
        // on to one TFE_Op per device and just call TFE_ResetOp to avoid parsing
        // device names repeatedly.
        std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> const_op(
    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)
  2. tensorflow/c/c_api.h

    // The elements of `dims` will point to addresses in `storage` which must be
    // large enough to hold at least `storage_size` int64_ts.  Ideally, `num_shapes`
    // would be set to TF_AttrMetadata.list_size and `storage_size` would be set to
    // TF_AttrMetadata.total_size from TF_OperationGetAttrMetadata(oper,
    // attr_name).
    //
    // Fails if storage_size is insufficient to hold the requested shapes.
    TF_CAPI_EXPORT extern void TF_OperationGetAttrShapeList(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/eager/gradient_checker.h

     * this will calculate dy/dw numerically.
     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
                             absl::Span<AbstractTensorHandle* const> inputs,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
        const TF_GrapplerItem* item, char** values, size_t* lengths, int num_values,
        void* storage, size_t storage_size, TF_Status* status);
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

                           const ComputeFunc& compute_func, TF_Status* status) {
        if (max_age_ == 0) {
          return compute_func(key, value, status);
        }
    
        // Note: we hold onto mu_ for the rest of this function. In practice, this
        // is okay, as stat requests are typically fast, and concurrent requests are
        // often for the same file. Future work can split this up into one lock per
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.h

    #include <memory>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/core/platform/file_system.h"
    
    /// This file builds classes needed to hold a filesystem implementation in the
    /// modular world. Once all TensorFlow filesystems are converted to use the
    /// plugin based approach, this file will replace the one in core/platform and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.h

     public:
      using GradientTape<AbstractTensorHandle, GradientFunction,
                         TapeTensor>::GradientTape;
      // Returns whether the tape is persistent, i.e., whether the tape will hold
      // onto its internal state after a call to `ComputeGradient`.
      using GradientTape<AbstractTensorHandle, GradientFunction,
                         TapeTensor>::IsPersistent;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

        TF_CoordinationServiceAgent* agent, TF_Status* status);
    
    // Obtains key-value from coordination service agent. The returned `TF_Buffer`
    // is a newly allocated buffer to hold the string key-value, and caller is
    // responsible for managing the lifetime. If error, `status` will be set and a
    // nullptr will be returned.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///   3. Versioning metadata;
    ///   4. Plugin registration API and the DSO entry point.
    
    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    /// SECTION 1. Opaque data structures to hold plugin specific data
    /// ----------------------------------------------------------------------------
    ///
    /// The following data structures incorporate a `void*` that is opaque to
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top