Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,595 for integers (0.15 sec)

  1. src/syscall/syscall_darwin.go

    	p := (*byte)(unsafe.Pointer(&buf[0]))
    	bytes, err := ByteSliceFromString(name)
    	if err != nil {
    		return nil, err
    	}
    
    	// Magic sysctl: "setting" 0.3 to a string name
    	// lets you read back the array of integers form.
    	if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    // Rint is specified as RoundHalfToEven, which happens to be the same behavior
    // as TF_RoundOp, so lower to TF_RoundOp.
    def LowerRintOp : Pat<(TF_RintOp:$res TF_FloatTensor:$input), (TF_RoundOp $input)>;
    
    // Rounds on integers should just be bypassed.
    def LowerRoundOpOnIntTensor : Pat<
      (TF_RoundOp:$res TF_IntTensor:$input),
      (TF_IdentityOp $input)>;
    
    // Implements TF Round on floats using basic operations. TF Round is specified
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

    //===----------------------------------------------------------------------===//
    
    def TFR_TFRQuantActRangeOp : TFR_Op<"quant_act_range", [Pure]> {
      let description = [{
       The `quant_act_range` returns the a pair of integers to indicate the fixed
       range for the fused activation `act` with the quantization defined by the
       `scale` and `zero point`. Currently, the allowed activations are
       `NONE`, `RELU`, `RELU6` and `RELU_N1_TO_1`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/regexp/regexp.go

    	var dstCap [2]int
    	a := re.doExecute(nil, b, "", 0, 2, dstCap[:0])
    	if a == nil {
    		return nil
    	}
    	return b[a[0]:a[1]:a[1]]
    }
    
    // FindIndex returns a two-element slice of integers defining the location of
    // the leftmost match in b of the regular expression. The match itself is at
    // b[loc[0]:loc[1]].
    // A return value of nil indicates no match.
    func (re *Regexp) FindIndex(b []byte) (loc []int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. src/fmt/format.go

    	f.zero = oldZero
    }
    
    // fmtInteger formats signed and unsigned integers.
    func (f *fmt) fmtInteger(u uint64, base int, isSigned bool, verb rune, digits string) {
    	negative := isSigned && int64(u) < 0
    	if negative {
    		u = -u
    	}
    
    	buf := f.intbuf[0:]
    	// The already allocated f.intbuf with a capacity of 68 bytes
    	// is large enough for integer formatting when no precision or width is set.
    	if f.widPresent || f.precPresent {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

        if (mlir::isa<StringAttr>(element)) {
          continue;
        }
        if (auto integer = mlir::dyn_cast<IntegerAttr>(element)) {
          if (integer.getValue().getBitWidth() == 64) {
            continue;
          }
        }
        return op->emitError() << "'" << kTfSavedModelIndexPathAttr
                               << "' elements should be strings or 64-bit integers";
      }
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE);
        assertMean(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
    
        // Exhaustive checks
        for (int x : ALL_INTEGER_CANDIDATES) {
          for (int y : ALL_INTEGER_CANDIDATES) {
            assertMean(x, y);
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/DoubleMath.java

       *     <ul>
       *       <li>{@code x} is infinite or NaN
       *       <li>{@code x}, after being rounded to a mathematical integer using the specified rounding
       *           mode, is either less than {@code Integer.MIN_VALUE} or greater than {@code
       *           Integer.MAX_VALUE}
       *       <li>{@code x} is not a mathematical integer and {@code mode} is {@link
       *           RoundingMode#UNNECESSARY}
       *     </ul>
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/DoubleMath.java

       *     <ul>
       *       <li>{@code x} is infinite or NaN
       *       <li>{@code x}, after being rounded to a mathematical integer using the specified rounding
       *           mode, is either less than {@code Integer.MIN_VALUE} or greater than {@code
       *           Integer.MAX_VALUE}
       *       <li>{@code x} is not a mathematical integer and {@code mode} is {@link
       *           RoundingMode#UNNECESSARY}
       *     </ul>
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_cluster_util.cc

                                                   GraphCycles* cycles) {
      for (int i = 0; i < graph->num_node_ids(); ++i) {
        // We rely on the node IDs in the cycle detection graph being consecutive
        // integers starting from 0.
        CHECK_EQ(i, cycles->NewNode());
      }
    
      // Compute the loop structure of the graph.
      std::vector<ControlFlowInfo> control_flow_info;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top