Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for aggregate (0.34 sec)

  1. tensorflow/c/eager/tape.h

      } else {
        std::array<Gradient*, 2> to_aggregate;
        to_aggregate[0] = tangent;
        to_aggregate[1] = existing->second;
        // AggregateGradients steals a reference to each of its arguments. We
        // MarkAsResult on `tangent` above so we don't steal a reference to it.
        existing->second = vspace_.AggregateGradients(to_aggregate);
      }
    }
    
    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/eager/gradients.cc

      // and not for correctness. The only downside of keeping this 1 seems to be
      // that the gradient accumulation is unbounded and we will never
      // aggressively aggregate accumulated gradients to recover memory.
      // Revisit and fix.
      return 1;
    }
    
    // Consumes references to the tensors in the gradient_tensors list and returns
    // a tensor with the result.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top