Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,769 for const2 (1.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        // CHECK: %[[CONST2:.*]] = "tf.Const"() <{value = dense<
        // CHECK-SAME: [8, 8, 3, 64]
        // CHECK: %[[RESHAPE1:.*]] = "tf.Reshape"(%[[TRANSPOSE1:.*]], %[[CONST2:.*]]) : (tensor<4x2x4x2x3x64xf32>, tensor<4xi64>) -> tensor<8x8x3x64xf32>
        // CHECK: %[[CONST3:.*]] = "tf.Const"() <{value = dense<
        // CHECK-SAME: [7, 7, 3, 64]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

            sourceFile << """
                public class ToolImpl { public static final int CONST = 1; }
            """
            file("b/src/main/${language.name}/Main.${language.name}") << """
                public class Main { public static final int CONST2 = 1 + ToolImpl.CONST; }
            """
    
            when:
            succeeds ":b:${language.compileTaskName}"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK-DAG: %[[CONST1:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi32>}>
      // CHECK-DAG: %[[CONST2:.*]] = "tf.Const"() <{value = dense<[0, 2, 3, 1]> : tensor<4xi32>}>
      // CHECK: %[[TRANS1:.*]] = "tf.Transpose"(%arg0, %[[CONST1]]) : (tensor<1x4x4x8xf32>, tensor<4xi32>) -> tensor<1x8x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/const0.go

    	1 * 1e9,
    	5 * 1e9,
    }
    
    const _ = unsafe.Sizeof(func() {
    	const _ = 0
    	_ = iota
    
    	const (
    	   zero = iota
    	   one
    	)
    	assert(one == 1)
    	assert(iota == 0)
    })
    
    // issue #52438
    const i1 = iota
    const i2 = iota
    const i3 = iota
    
    func _() {
    	assert(i1 == 0)
    	assert(i2 == 0)
    	assert(i3 == 0)
    
    	const i4 = iota
    	const i5 = iota
    	const i6 = iota
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritegeneric.go

    			v2.AuxInt = int64ToAuxInt(d - c)
    			v.AddArg2(v0, v2)
    			return true
    		}
    		break
    	}
    	// match: (AndB (Leq32 (Const32 [c]) x) (Less32 x (Const32 [d])))
    	// cond: d >= c
    	// result: (Less32U (Sub32 <x.Type> x (Const32 <x.Type> [c])) (Const32 <x.Type> [d-c]))
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpLeq32 {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/const1.go

    // license that can be found in the LICENSE file.
    
    // constant conversions
    
    package const1
    
    import "math"
    
    const(
    	mi = ^int(0)
    	mu = ^uint(0)
    	mp = ^uintptr(0)
    
    	logSizeofInt     = uint(mi>>8&1 + mi>>16&1 + mi>>32&1)
    	logSizeofUint    = uint(mu>>8&1 + mu>>16&1 + mu>>32&1)
    	logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1)
    )
    
    const (
    	minInt8 = -1<<(8<<iota - 1)
    	minInt16
    	minInt32
    	minInt64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. test/const8.go

    // in the correct context; see issues #49157, #53585.
    
    package main
    
    const X = 2
    
    func main() {
    	const (
    		A    = iota // 0
    		iota = iota // 1
    		B           // 1 (iota is declared locally on prev. line)
    		C           // 1
    	)
    	if A != 0 || B != 1 || C != 1 {
    		println("got", A, B, C, "want 0 1 1")
    		panic("FAILED")
    	}
    
    	const (
    		X = X + X
    		Y
    		Z = iota
    	)
    	if X != 4 || Y != 8 || Z != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 18:11:31 UTC 2022
    - 727 bytes
    - Viewed (0)
  8. src/runtime/internal/sys/consts.go

    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    // DefaultPhysPageSize is the default physical page size.
    const DefaultPhysPageSize = goarch.DefaultPhysPageSize
    
    // PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems).
    // The various PC tables record PC deltas pre-divided by PCQuantum.
    const PCQuantum = goarch.PCQuantum
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritedec64.go

    	for {
    		x := v_0
    		s := v_1
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpRsh32x32, typ.UInt32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  10. test/const7.go

    func main() {
    	if runtime.GOOS == "js" || runtime.GOOS == "wasip1" || runtime.Compiler != "gc" {
    		return
    	}
    
    	dir, err := ioutil.TempDir("", "const7_")
    	if err != nil {
    		log.Fatalf("creating temp dir: %v\n", err)
    	}
    	defer os.RemoveAll(dir)
    
    	const bitLimit = 512
    	const charLimit = 10000 // compiler-internal constant length limit
    	testProg(dir, "x1", bitLimit, "")
    	testProg(dir, "x2", bitLimit+1, "constant overflow")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top