Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mange (0.17 sec)

  1. tensorflow/c/eager/gradient_checker.cc

    namespace tensorflow {
    namespace gradients {
    
    using namespace std;
    
    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/tape/tape_operation.cc

                                  int* num_retvals) {
      TF_RETURN_IF_ERROR(parent_op_->Execute(retvals, num_retvals));
      for (int i = 0; i < *num_retvals; i++) {
        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_.outputs.push_back(retvals[i]);
      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
Back to top