Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gray (0.42 sec)

  1. tensorflow/c/eager/tape.h

        int64_t tensor_id = source_tensor_ids[i];
        auto grad_it = gradients.find(tensor_id);
        if (grad_it == gradients.end()) {
          result[i] = nullptr;
        } else {
          if (grad_it->second.size() > 1) {
            Gradient* grad = vspace.AggregateGradients(grad_it->second);
            grad_it->second.clear();
            grad_it->second.push_back(grad);
          }
          result[i] = grad_it->second[0];
          used_gradient_ids.insert(tensor_id);
    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)
Back to top