Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Resources (0.21 sec)

  1. tensorflow/c/eager/tape.h

      std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
      for (int grad_index = 0, end = grad.size(); grad_index < end; ++grad_index) {
        Gradient* grad_tensor = grad[grad_index];
        if (grad_tensor != nullptr) {
          int64_t tensor_id = vspace_.TensorId(grad_tensor);
          targets.push_back(tensor_id);
          if (sources_set.find(tensor_id) != sources_set.end()) {
            sources_that_are_targets.emplace(
    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)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.h

        const char* plugin_resource_name, void* plugin_resource,
        void (*delete_func)(void*), TF_Status* status);
    
    // If the ResourceMgr provided by the `ctx` has a resource
    // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise,
    // invokes create_func to create the resource. `delete_func` is needed for
    // ResourceMgr to clean up the resource. `status` will be set. If `status` is
    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)
Back to top