Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,816 for const3 (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/crypto/des/const.go

    Brad Fitzpatrick <******@****.***> 1493866163 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 12:31:18 UTC 2017
    - 4.5K bytes
    - Viewed (0)
  5. releasenotes/notes/consul.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 191 bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/const-values.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s
    
    node {
      name: "bf16_scalar"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_BFLOAT16
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_BFLOAT16
            tensor_shape {
            }
            half_val: 0
            # CHECK: value = dense<0.000000e+00> : tensor<bf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt

    node {
      name: "Quantized_Constant"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_QUINT8
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_QUINT8
            tensor_shape {
            }
            int_val: 7
          }
        }
      }
    }
    library {
    }
    versions {
      producer: 70
    }
    
    # CHECK: tf.Const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 05 09:05:10 UTC 2022
    - 639 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir

        // CHECK: tf_executor.island(%[[CONTROL]]) wraps "tf.Const"()
        // CHECK: tf_executor.LoopCond
        // CHECK: tf_executor.Switch
        // CHECK: tf_executor.NextIteration.Sink[%[[TOKEN]]]
        // CHECK: tf_executor.Exit
        %Const, %ctl = Const name("Const") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 18:31:38 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top