Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for vminus1 (0.13 sec)

  1. tensorflow/c/experimental/gradients/nn_grad.cc

            "BroadcastMul is not supported in tracing mode yet.");
      }
      auto imm_ctx = dyn_cast<ImmediateExecutionContext>(ctx);
      AbstractTensorPtr minus_1(imm_ctx->CreateInt32Scalar(-1));
      ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get()));
      AbstractTensorHandle* expand_dims_outputs;
      TF_RETURN_IF_ERROR(
          ops::ExpandDims(ctx, vec, dim.get(), &expand_dims_outputs, "ExpandDims"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:38:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/ToDoubleRounder.java

                  return roundCeilingAsDouble;
                }
                roundFloor = toX(roundFloorAsDouble, RoundingMode.FLOOR);
              }
    
              X deltaToFloor = minus(x, roundFloor);
              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/ToDoubleRounder.java

                  return roundCeilingAsDouble;
                }
                roundFloor = toX(roundFloorAsDouble, RoundingMode.FLOOR);
              }
    
              X deltaToFloor = minus(x, roundFloor);
              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradient_checker.cc

        TF_RETURN_IF_ERROR(
            RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function));
        AbstractTensorHandlePtr fMinus(f_outputs[0]);
    
        // Take Difference of both estimates: (f(theta + eps) - f(theta - eps)).
        TF_RETURN_IF_ERROR(
            ops::Sub(ctx, fPlus.get(), fMinus.get(), f_outputs, "sub_top"));
        AbstractTensorHandlePtr fDiff(f_outputs[0]);
    
        // Calculate using the difference quotient definition:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/runtime/msize.go

    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    		// Small object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Instant.groovy

        }
    
        int compareTo(Instant t) {
            return nanos.compareTo(t.nanos)
        }
    
        Instant plus(long millis) {
            return new Instant(nanos + millis * 1000)
        }
    
        Duration minus(Instant t) {
            return new Duration(nanos - t.nanos)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/internal/poll/sendfile_windows.go

    		if _, err = syscall.Seek(o.handle, curpos, io.SeekStart); err != nil {
    			return
    		}
    	}
    
    	// TransmitFile can be invoked in one call with at most
    	// 2,147,483,646 bytes: the maximum value for a 32-bit integer minus 1.
    	// See https://docs.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-transmitfile
    	const maxChunkSizePerCall = int64(0x7fffffff - 1)
    
    	for n > 0 {
    		chunkSize := maxChunkSizePerCall
    		if chunkSize > n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

            }
        }
    
        /**
         * Same behavior as Groovy minus operator between Strings
         *
         * @param originalString original string
         * @param removeString string to remove
         * @return string with removeString removed or the original string if it did not contain removeString
         */
        public static String minus(String originalString, String removeString) {
            logDeprecation();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    	// result if the subtraction underflows, and t otherwise.
    
    	hMinusP0, b := bits.Sub64(h0, p0, 0)
    	hMinusP1, b := bits.Sub64(h1, p1, b)
    	_, b = bits.Sub64(h2, p2, b)
    
    	// h = h if h < p else h - p
    	h0 = select64(b, h0, hMinusP0)
    	h1 = select64(b, h1, hMinusP1)
    
    	// Finally, we compute the last Poly1305 step
    	//
    	//     tag = h + s  mod  2¹²⁸
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

        public static final char DOUBLE_VERTICAL_LINE = '\u2016';
    
        /** PARALLEL TO */
        public static final char PARALLEL_TO = '\u2225';
    
        /** MINUS SIGN */
        public static final char MINUS_SIGN = '\u2212';
    
        /** FULLWIDTH HYPHEN-MINUS */
        public static final char FULLWIDTH_HYPHEN_MINUS = '\uFF0D';
    
        /** CENT SIGN */
        public static final char CENT_SIGN = '\u00A2';
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top