Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rounds (0.23 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          int64_t num_elements = input_type.getNumElements();
          uint32_t u32_max = std::numeric_limits<uint32_t>::max();
          int rounds =
              std::ceil(exponent * std::log(num_elements) / std::log(u32_max));
    
          Value current = op.getValue();
          for (int i = 0; i < rounds; ++i) {
            auto keys =
                CreateRngUniform32(op.getLoc(), num_elements, /*lower_limit=*/0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    		case n.X.Type().IsArray():
    			if ssa.CanSSA(n.X.Type()) {
    				// SSA can handle arrays of length at most 1.
    				bound := n.X.Type().NumElem()
    				a := s.expr(n.X)
    				i := s.expr(n.Index)
    				if bound == 0 {
    					// Bounds check will never succeed.  Might as well
    					// use constants for the bounds check.
    					z := s.constInt(types.Types[types.TINT], 0)
    					s.boundsCheck(z, z, ssa.BoundsIndex, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top