Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for NOTE (0.19 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // policy is applied to any subsequent op executions.
    TF_CAPI_EXPORT void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx,
                                                          unsigned char enable,
                                                          TF_Status* status);
    
    // Configure device placement policy logging for the eager executor. Note this
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      void LookupOrCompute(const std::string& key, T* value,
                           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 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    // restricted stand-in for tf.Variable in Python.
    class Variable {
     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
      // separate static method which returns a status.
      Variable(TFE_TensorHandle* handle, TF_DataType type)
          : handle_(handle), type_(type) {}
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

    //       `struct_size` as well, along with all other fields.
    //     * Refer to "TensorFlow Versioning Strategy" section at
    //       https://github.com/tensorflow/community/pull/257/files.
    //     * Note that the API is still under active development and doesn't have
    //       versioning guarantees yet.
    //   * `void* ext` is a free-form field that can be populated by
    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/c_api.h

                                                     TF_Output* inputs,
                                                     int max_inputs);
    
    // Get the number of current consumers of a specific output of an
    // operation.  Note that this number can change when new operations
    // are added to the graph.
    TF_CAPI_EXPORT extern int TF_OperationOutputNumConsumers(TF_Output oper_out);
    
    // Get list of all current consumers of a specific output of an
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  6. tensorflow/c/eager/c_api.h

        TF_Status* status);
    
    // Controls how to act when we try to run an operation on a given device but
    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    typedef enum TFE_ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  7. tensorflow/c/eager/abstract_tensor_handle.h

      // Returns tensor (full) type.
      // While there is no immediate plan to deprecate dtype and shape in favor
      // of only using full type type information, this is a future possibility.
      //
      // Note that map_dtype_to_child_of_tensor() from core/framework/types.h
      // can be used to set a FullTypeDef based on dtype in a derived class if
      // appropriate.
      virtual tensorflow::FullTypeDef FullType() const = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_context.h

    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace tensorflow {
    class EagerExecutor;
    class EagerContext;
    class CustomDevice;
    class CustomDeviceOpHandler;
    class Device;
    
    // LINT.IfChange
    // Note: Keep in sync with exported copy of enum in eager/c_api.h.
    enum ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      DEVICE_PLACEMENT_EXPLICIT = 0,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// constraint and the fact that `ssize_t` is not defined in `stdint.h`/C++
      /// standard, the return type is `int64_t`.
      ///
      /// This is thread safe.
      ///
      /// Note: the `buffer` argument is NOT a null terminated string!
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if exactly `n` bytes have been read.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      std::list<Key> lru_list_ ABSL_GUARDED_BY(mu_);
    
      /// The LRA (least recently added) list of block keys. The front of the list
      /// identifies the most recently added block.
      ///
      /// Note: blocks are added to lra_list_ only after they have successfully been
      /// fetched from the underlying block store.
      std::list<Key> lra_list_ ABSL_GUARDED_BY(mu_);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
Back to top