Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for It (0.15 sec)

  1. 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 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. 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 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. 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 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    //       `TF_GraphProperties`, `TF_FunctionLibraryDefinition`
    //   * We use `struct_size` for version checking. It should be set both by
    //     core and the plugin.
    //     * For example, `TF_InitGraph` function receives
    //       `TP_OptimizerRegistrationParams*` as input with `struct_size`
    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/eager/immediate_execution_operation.h

      virtual ImmediateExecutionContext* GetContext() const = 0;
    
      // Following two methods are used to support custom device.
      // Return true if the inputs contain custom device tensor handle. It means
      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
      virtual const tensorflow::OpDef* OpDef() const = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  6. 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 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  7. 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 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  8. 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 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. 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 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  10. 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 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top