Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,933 for constInt8 (0.17 sec)

  1. tensorflow/compiler/mlir/lite/tests/unfold-large-splat-constant.mlir

    // RUN: tf-opt %s -unfold-large-splat-constant | FileCheck %s
    
    // CHECK-LABEL: @unfold_large_constant_splat
    func.func @unfold_large_constant_splat() -> (tensor<10x10xf32>, tensor<1000x1000xf32>) {
      %0 = arith.constant dense<0.00000e+00> : tensor<10x10xf32>
      %1 = arith.constant dense<1.00000e+00> : tensor<1000x1000xf32>
      func.return %0, %1 : tensor<10x10xf32>, tensor<1000x1000xf32>
    
      // CHECK-DAG: %cst = arith.constant dense<0.000000e+00> : tensor<10x10xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 26 23:53:32 UTC 2022
    - 781 bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    			return
    		}
    
    		// if both arguments are constants, the result is a constant
    		if x.mode == constant_ && y.mode == constant_ {
    			x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/const.go

    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    func fitsFloat64(x constant.Value) bool {
    	f, _ := constant.Float64Val(x)
    	return !math.IsInf(f, 0)
    }
    
    func roundFloat64(x constant.Value) constant.Value {
    	f, _ := constant.Float64Val(x)
    	if !math.IsInf(f, 0) {
    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    // representable checks that a constant operand is representable in the given
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-constant.mlir

    module {
      func.func @main() -> tensor<1xi64> {
      %0 = "tfl.custom"() {custom_code = "stablehlo.constant", custom_option = #tfl<const_bytes : "0x76616C75650001020109010101062C022401">} : () -> tensor<1xi64>
      func.return %0 : tensor<1xi64>
      }
    }
    
    // CHECK:  module {
    // CHECK-NEXT:    func @main() -> tensor<1xi64> {
    // CHECK-NEXT:    %[[c0:.+]] = stablehlo.constant dense<2> : tensor<1xi64>
    // CHECK-NEXT:    return %[[c0]] : tensor<1xi64>
    // CHECK-NEXT:    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 574 bytes
    - Viewed (0)
  5. src/go/types/conversions.go

    					cause = check.sprintf("constant %s overflows %s (in %s)", x.val, u, T)
    				} else {
    					cause = check.sprintf("cannot convert %s to type %s (in %s)", x, u, T)
    				}
    				return false
    			}
    			return true
    		})
    		x.mode = value // type parameters are not constants
    	case x.convertibleTo(check, T, &cause):
    		// non-constant conversion
    		ok = true
    		x.mode = value
    	}
    
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/go/types/const.go

    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    func fitsFloat64(x constant.Value) bool {
    	f, _ := constant.Float64Val(x)
    	return !math.IsInf(f, 0)
    }
    
    func roundFloat64(x constant.Value) constant.Value {
    	f, _ := constant.Float64Val(x)
    	if !math.IsInf(f, 0) {
    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    // representable checks that a constant operand is representable in the given
    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/cmd/vendor/golang.org/x/sys/unix/constants.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 318 bytes
    - Viewed (0)
  8. src/internal/syscall/unix/constants.go

    Kir Kolyshkin <******@****.***> 1717102840 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/constants.go

    Jiahui Feng <******@****.***> 1705712614 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 897 bytes
    - Viewed (0)
  10. cmd/kubeadm/app/constants/constants.go

    	// ControlPlaneTier is the value used in the tier label to identify control plane components
    	ControlPlaneTier = "control-plane"
    
    	// Mode* constants were copied from pkg/kubeapiserver/authorizer/modes
    	// to avoid kubeadm dependency on the internal module
    	// TODO: share Mode* constants in component config
    
    	// ModeAlwaysAllow is the mode to set all requests as authorized
    	ModeAlwaysAllow string = "AlwaysAllow"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top