Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for it (0.16 sec)

  1. tensorflow/c/env.h

    // caller is responsible for freeing it (see TF_CloseWritableFile).
    TF_CAPI_EXPORT extern void TF_NewWritableFile(const char* filename,
                                                  TF_WritableFileHandle** handle,
                                                  TF_Status* status);
    
    // Closes the given handle and frees its memory. If there was a problem closing
    // the file, it is indicated by status. Memory is freed in any case.
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_context.h

      // clients from directly destroying this object since it may manage its own
      // lifetime through ref counting. Thus clients MUST call Release() in order to
      // destroy an instance of this class.
      virtual void Release() = 0;
    
      // Creates an operation builder and ties it to this context.
      // The returned object can be used for setting operation's attributes,
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // `StartExecute`s will deadlock).
      //
      // If `is_async=false` (constructor argument), `cancellation_manager` must
      // live until `Join` finishes. If `is_async=true` it must live until `Join` is
      // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be
      // used to cancel all other operations if any fails.
      //
      // Set step_id to configure the step id used for rendezvous creation. step id
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // `run_metadata`) are valid.
    //
    //    - `run_options` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to a `TF_Buffer` containing the
    //      serialized representation of a `RunOptions` protocol buffer.
    //    - `run_metadata` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to an empty, freshly allocated
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
        auto it = cache_.find(key);
        if (it == cache_.end()) {
          return false;
        }
        lru_list_.erase(it->second.lru_iterator);
        if (timer_seconds_() - it->second.timestamp > max_age_) {
          cache_.erase(it);
          return false;
        }
        *value = it->second.value;
        lru_list_.push_front(it->first);
        it->second.lru_iterator = lru_list_.begin();
        return true;
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // Helper for constructing a resource handle and wrapping it in a `Variable`
      // object.
      static Variable* Create(TFE_Context* context, TF_DataType type,
                              const int64_t* dims, const int num_dims,
                              const char* device, TF_Status* status);
      // Dereferences the backing buffer for the variable. Note that since this can
      // fail (it runs operations), it must be called explicitly and the resulting
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test_util.h

                       const char* device_type);
    
    // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name,
                                       int num_tasks);
    
    // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(int num_tasks);
    
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental.h

    // A TF_ExecutionContext stores knowledge about how to execute an operation.
    // E.g. it could know whether we're in eager mode or graph mode, keeps track
    // of gradient tapes, etc.
    typedef struct TF_ExecutionContext TF_ExecutionContext;
    
    // A TF_AbstractTensor is an input to an operation. E.g. it could be a union
    // type of eager and graph tensors. It is also the result of executing an
    // operation.
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.h

    // and `underlying_devices` is
    //   {"/job:localhost/replica:0/task:0/device:GPU:0",
    //    "/job:localhost/replica:0/task:0/device:GPU:1"}
    // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1.
    //
    // Implicit copies onto `device_name` are allowed, replicating the value once
    // per device in `underlying_devices`. Implicit copies off of the device throw
    // an error.
    //
    C
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
Back to top