Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for bounded (0.25 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    	idx = s.extendIndex(idx, len, kind, bounded)
    
    	if bounded || base.Flag.B != 0 {
    		// If bounded or bounds checking is flag-disabled, then no check necessary,
    		// just return the extended index.
    		//
    		// Here, bounded == true if the compiler generated the index itself,
    		// such as in the expansion of a slice initializer. These indexes are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    // equivalent by determining the types for a given list of (bound)
    // type parameters which may occur within x and y. If x and y are
    // structurally different (say []T vs chan T), or conflicting
    // types are determined for type parameters, unification fails.
    // If unification succeeds, as a side-effect, the types of the
    // bound type parameters may be determined.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/go/types/unify.go

    // equivalent by determining the types for a given list of (bound)
    // type parameters which may occur within x and y. If x and y are
    // structurally different (say []T vs chan T), or conflicting
    // types are determined for type parameters, unification fails.
    // If unification succeeds, as a side-effect, the types of the
    // bound type parameters may be determined.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    	// because there will be a policy mapping stored on drives whose
    	// filename is this parentUser: therefore, it needs to have only valid
    	// filename characters and needs to have bounded length.
    	{
    		h := sha256.New()
    		h.Write([]byte("openid:" + subFromToken + ":" + issFromToken))
    		bs := h.Sum(nil)
    		cred.ParentUser = base64.RawURLEncoding.EncodeToString(bs)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    ((Rsh8|Rsh8U)x64  x (MOVDconst [c])) && uint64(c) < 8 => (SR(AW|W)const ((Sign|Zero)Ext8to32 x) [c])
    (Lsh8x64  x (MOVDconst [c])) && uint64(c) < 8 => (SLWconst x [c])
    
    // Lower bounded shifts first. No need to check shift value.
    (Lsh64x(64|32|16|8)  x y) && shiftIsBounded(v) => (SLD x y)
    (Lsh32x(64|32|16|8)  x y) && shiftIsBounded(v) => (SLW x y)
    (Lsh16x(64|32|16|8)  x y) && shiftIsBounded(v) => (SLD x y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    // b2i32 translates a boolean value to 0 or 1.
    func b2i32(b bool) int32 {
    	if b {
    		return 1
    	}
    	return 0
    }
    
    // shiftIsBounded reports whether (left/right) shift Value v is known to be bounded.
    // A shift is bounded if it is shifting by less than the width of the shifted value.
    func shiftIsBounded(v *Value) bool {
    	return v.AuxInt != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    // Check if device coordinate is outside of topology mesh shape bounds.
    bool DeviceCoordinateOutOfBound(int x, int y, int z, int core, int bound_x,
                                    int bound_y, int bound_z, int bound_core) {
      return x < 0 || x >= bound_x || y < 0 || y >= bound_y || z < 0 ||
             z >= bound_z || core < 0 || core >= bound_core;
    }
    
    // Create error message for an out of bound device coordinate.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        and sets the shape of these inputs to be dynamic shaped. This will ensure
        that the generated HLO program is correctly reflecting the dynamic shape.
      }];
    
      // Required for mhlo bounded shape extension.
      let dependentDialects = ["mhlo::MhloDialect"];
      let constructor = "TFTPU::CreateTPUAnnotateDynamicShapeInputsPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          return failure();
    
        // We also need constant begin/end indices and strides to perform padding
        // calculations.
        // Bounded shape after performing strided slice
        SmallVector<int64_t, 4> shape;
        // Bounded begin, end, and strides for strided slice
        SmallVector<int64_t, 4> begin_indices, end_indices, strides;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        ArrayRef<int64_t> bounds = hlo::encodingToBounds(input_ty.getEncoding());
        // The input type has bounded dynamic dimension.
        if (!bounds.empty()) {
          SmallVector<int64_t> new_bounds(bounds.begin(), bounds.end());
          SmallVector<int64_t> new_shape(shape.begin(), shape.end());
          // If dimension of the input type is dynamic. Update the
          // bounds of the dim with the new type if needed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top