Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 197 for retval (0.11 sec)

  1. tensorflow/c/eager/gradients.cc

                         int* num_retvals, ForwardOperation* forward_op_,
                         Tape* tape, const GradientRegistry& registry) {
      TF_RETURN_IF_ERROR(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]);
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                if (retValue.length() >= 2 && retValue.charAt(1) == '|') {
                    retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                }
    
                // normalize separators
                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. internal/logger/reqinfo.go

    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    // GetTags - returns the user defined tags
    func (r *ReqInfo) GetTags() []KeyVal {
    	if r == nil {
    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	return append(make([]KeyVal, 0, len(r.tags)), r.tags...)
    }
    
    // GetTagsMap - returns the user defined tags in a map structure
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/README.md

    ### 3.1 Automatic removal of non current objects versions
    
    A non-current object version is a version which is not the latest for a given object. It is possible to set up an automatic removal of non-current versions when a version becomes older than a given number of days.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 09 01:45:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      auto* retval_task0 =
          TFE_TensorHandleCopyToDevice(retvals[0], ctx, local_device_name, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. cmd/admin-heal-ops.go

    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	// Make a copy before returning the value
    	retMap := make(map[madmin.HealItemType]int64, len(h.scannedItemsMap))
    	for k, v := range h.scannedItemsMap {
    		retMap[k] = v
    	}
    
    	return retMap
    }
    
    // getHealedItemsMap - returns the map of all healed items against type
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. src/packaging/common/scripts/postrm

    ${packaging.scripts.header}
    
    #
    # This script is executed in the post-removal phase
    #
    #   On Debian,
    #       $1=remove    : indicates a removal
    #       $1=purge     : indicates an upgrade
    #
    #   On RedHat,
    #       $1=0         : indicates a removal
    #       $1=1         : indicates an upgrade
    
    
    
    SOURCE_ENV_FILE=true
    REMOVE_DIRS=false
    REMOVE_SERVICE=false
    REMOVE_USER_AND_GROUP=false
    
    case "$1" in
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

                           ImmediateExecutionTensorHandle** retvals,
                           int* num_retvals) override {
        std::vector<TFE_TensorHandle*> outputs(*num_retvals);
        TF_Status status;
        device_.execute(tensorflow::wrap(op), num_retvals, outputs.data(), &status,
                        info_);
        if (status.status.ok()) {
          for (int i = 0; i < *num_retvals; ++i) {
            retvals[i] = tensorflow::unwrap(outputs[i]);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        while (true) {
          long current = longs.get(i);
          double currentVal = longBitsToDouble(current);
          double nextVal = updaterFunction.applyAsDouble(currentVal);
          long next = doubleToRawLongBits(nextVal);
          if (longs.compareAndSet(i, current, next)) {
            return nextVal;
          }
        }
      }
    
      /**
       * Returns the String representation of the current values of array.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    // Execute the operation defined by 'op' and return handles to computed
    // tensors in `retvals`.
    //
    // 'retvals' must point to a pre-allocated array of TFE_TensorHandle* and
    // '*num_retvals' should be set to the size of this array. It is an error if
    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
Back to top