Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,769 for const2 (0.08 sec)

  1. src/cmd/compile/internal/types2/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/debug/dwarf/const.go

    // the opPlusUconst operator is expected by the type parser.
    const (
    	opAddr       = 0x03 /* 1 op, const addr */
    	opDeref      = 0x06
    	opConst1u    = 0x08 /* 1 op, 1 byte const */
    	opConst1s    = 0x09 /*	" signed */
    	opConst2u    = 0x0A /* 1 op, 2 byte const  */
    	opConst2s    = 0x0B /*	" signed */
    	opConst4u    = 0x0C /* 1 op, 4 byte const */
    	opConst4s    = 0x0D /*	" signed */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      // CHECK-DAG: [[cst1:%.*]] = arith.constant dense<-16> : tensor<4xi32>
      // CHECK-DAG: [[cst2:%.*]] = arith.constant dense<4> : tensor<4xi32>
      // CHECK-DAG: [[cst3:%.*]] = arith.constant dense<-8> : tensor<4xi32>
      // CHECK: return [[cst0]], [[cst1]], [[cst2]], [[cst3]]
    
      %5 = "tfl.mul"(%0, %1) {fused_activation_function = "NONE"} : (tensor<  i32>, tensor<  i32>) -> tensor<  i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/const.go

    	}
    
    	return NewBasicLit(pos, typ, val)
    }
    
    var (
    	intOne     = constant.MakeInt64(1)
    	floatOne   = constant.ToFloat(intOne)
    	complexOne = constant.ToComplex(intOne)
    )
    
    const (
    	// Maximum size in bits for big.Ints before signaling
    	// overflow and also mantissa precision for big.Floats.
    	ConstPrec = 512
    )
    
    func BigFloat(v constant.Value) *big.Float {
    	f := new(big.Float)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/const.go

    Matthew Dempsky <******@****.***> 1696458169 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. src/go/types/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/math/const.go

    // Package math provides basic constants and mathematical functions.
    //
    // This package does not guarantee bit-identical results across architectures.
    package math
    
    // Mathematical constants.
    const (
    	E   = 2.71828182845904523536028747135266249775724709369995957496696763 // https://oeis.org/A001113
    	Pi  = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. src/go/doc/filter.go

    		if matchDecl(td.Decl, f) {
    			n = 1
    		} else {
    			// type name doesn't match, but we may have matching consts, vars, factories or methods
    			td.Consts = filterValues(td.Consts, f)
    			td.Vars = filterValues(td.Vars, f)
    			td.Funcs = filterFuncs(td.Funcs, f)
    			td.Methods = filterFuncs(td.Methods, f)
    			n += len(td.Consts) + len(td.Vars) + len(td.Funcs) + len(td.Methods)
    		}
    		if n > 0 {
    			a[w] = td
    			w++
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/generic.rules

    (And16  (Const16 [c])  (Const16 [d]))  => (Const16 [c&d])
    (And32  (Const32 [c])  (Const32 [d]))  => (Const32 [c&d])
    (And64  (Const64 [c])  (Const64 [d]))  => (Const64 [c&d])
    
    (Or8   (Const8 [c])   (Const8 [d]))   => (Const8  [c|d])
    (Or16  (Const16 [c])  (Const16 [d]))  => (Const16 [c|d])
    (Or32  (Const32 [c])  (Const32 [d]))  => (Const32 [c|d])
    (Or64  (Const64 [c])  (Const64 [d]))  => (Const64 [c|d])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt

              }
            }
            int_val: 0
          }
        }
      }
      experimental_debug_info {
      }
    }
    node {
      name: "tf.Const1"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_INT32
            tensor_shape {
            }
            int_val: 0
          }
        }
      }
      experimental_debug_info {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top