Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,148 for Constant2 (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    // only be used as the shape-determining operand; it will not replace other
    // usages of the original constant. If the operands are not constants (i.e.
    // results of some other computation), then the pass recursively traverses the
    // call tree upwards and duplicates all constants found in the subtree in a
    // similar manner.
    //
    // This pass may be used to avoid placing shape-determining constants in the CPU
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Enums.java

          Class<T> enumClass) {
        synchronized (enumConstantCache) {
          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/go/doc/testdata/blank.1.golden

    PACKAGE blank
    
    IMPORTPATH
    	testdata/blank
    
    IMPORTS
    	os
    
    FILENAMES
    	testdata/blank.go
    
    CONSTANTS
    	// T constants counting from unexported constants. 
    	const (
    		tweedledee	T	= iota
    		tweedledum
    		C1
    		C2
    		alice
    		C3
    		redQueen	int	= iota
    		C4
    	)
    
    	// Constants with a single type that is not propagated. 
    	const (
    		zero		os.FileMode	= 0
    		Default				= 0644
    		Useless				= 0312
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 18:01:14 UTC 2017
    - 1001 bytes
    - Viewed (0)
  4. src/hash/crc32/crc32_s390x.s

    #include "textflag.h"
    
    // Vector register range containing CRC-32 constants
    
    #define CONST_PERM_LE2BE        V9
    #define CONST_R2R1              V10
    #define CONST_R4R3              V11
    #define CONST_R5                V12
    #define CONST_RU_POLY           V13
    #define CONST_CRC_POLY          V14
    
    
    // The CRC-32 constant block contains reduction constants to fold and
    // process particular chunks of the input data stream in parallel.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/constdecl.go

    package constdecl
    
    import "math"
    import "unsafe"
    
    var v int
    
    // Const decls must be initialized by constants.
    const _ = v /* ERROR "not constant" */
    const _ = math /* ERROR "not constant" */ .Sin(0)
    const _ = int /* ERROR "not an expression" */
    
    func _() {
    	const _ = v /* ERROR "not constant" */
    	const _ = math /* ERROR "not constant" */ .Sin(0)
    	const _ = int /* ERROR "not an expression" */
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/internal/goos/goos.go

    // package goos contains GOOS-specific constants.
    package goos
    
    // The next line makes 'go generate' write the zgoos*.go files with
    // per-OS information, including constants named Is$GOOS for every
    // known GOOS. The constant is 1 on the current system, 0 otherwise;
    // multiplying by them is useful for defining GOOS-specific constants.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 534 bytes
    - Viewed (0)
  7. src/go/doc/testdata/blank.2.golden

    IMPORTPATH
    	testdata/blank
    
    IMPORTS
    	os
    
    FILENAMES
    	testdata/blank.go
    
    CONSTANTS
    	// T constants counting from unexported constants. 
    	const (
    		C1	T
    		C2
    	
    		C3
    	
    		C4	int
    	)
    
    	// Constants with a single type that is not propagated. 
    	const (
    		Default		= 0644
    		Useless		= 0312
    		WideOpen	= 0777
    	)
    
    	// Constants with an imported type that is propagated. 
    	const (
    		M1	os.FileMode
    		M2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 01:12:26 UTC 2017
    - 751 bytes
    - Viewed (0)
  8. test/fixedbugs/issue7760.go

    const _ = uintptr(unsafe.Pointer(uintptr(1))) // ERROR "is not (a )?constant|expression is not constant"
    const _ = uintptr(myPointer(uintptr(1))) // ERROR "is not (a )?constant|expression is no constant"
    
    const _ = []byte("") // ERROR "is not (a )?constant|invalid constant type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 1017 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sink_constant.cc

          visitUsedValuesDefinedAbove(body, [&](OpOperand *use) {
            Value constant = use->get();
            auto const_op = dyn_cast_or_null<TF::ConstOp>(constant.getDefiningOp());
            if (!const_op) return;
    
            // Filter constants using user provided predicate function.
            if (filter && !filter(cluster, const_op.getValue())) return;
    
            // We found a constant, try to insert it in the map and re-use its
            // cloned value if any.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/poset.go

    // for debugging purposes.
    func (po *poset) CheckIntegrity() {
    	// Record which index is a constant
    	constants := newBitset(int(po.lastidx + 1))
    	for _, c := range po.constants {
    		constants.Set(c)
    	}
    
    	// Verify that each node appears in a single DAG, and that
    	// all constants are within the first DAG
    	seen := newBitset(int(po.lastidx + 1))
    	for ridx, r := range po.roots {
    		if r == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
Back to top