Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,571 for constants_ (0.66 sec)

  1. 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)
  2. tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc

    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    // The threshold of constant bits to be unfolded (1Mb). If there is a splat
    // constant with size equal or greater to this threshold, then it will be
    // unfolded back to a regular `tfl.fill` operation.
    constexpr int64_t kConstantSizeThresholdInBits = 1e+6;
    
    // Pass which will replace large splat constant tensors to `tfl.Fill` op to
    // reduce the size of the generated flatbuffer model size.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/hash/crc32/crc32_ppc64le.s

    	VPMSUMD	V19,const1,V11	// vpmsumd with constants
    	LVX	(R4+off48),V19	// load next from buffer
    	OR	$0,R2,R2
    
    	VPMSUMD	V20,const1,V12	// vpmsumd with constants
    	LVX	(R4+off64),V20	// load next from buffer
    	OR	$0,R2,R2
    
    	VPMSUMD	V21,const1,V13	// vpmsumd with constants
    	LVX	(R4+off80),V21	// load next from buffer
    	OR	$0,R2,R2
    
    	VPMSUMD	V22,const1,V14	// vpmsumd with constants
    	LVX	(R4+off96),V22	// load next from buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/base/KtConstantValue.kt

    
    /**
     * A Kotlin constant value. This value amy be used as `const val` initializer or annotation argument.
     * Also, may represent evaluated constant value. So, `1 + 2` will be represented as `KaIntConstantValue(3)`
     *
     * For more info about constant values please see [official Kotlin documentation](https://kotlinlang.org/docs/properties.html#compile-time-constants])
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding.mlir

        func.return %1 : tensor<10x19xf32>
      }
    }
    
    // Tests that foldable ops are constant-folded to enable legalization of ops
    // that require compile time constant operand.
    // "tf.Shape" can only be folded away after shape inference. tf.Reshape can only
    // be lowered when tf.Shape is folded into a constant.
    
    // CHECK-LABEL: HloModule main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. test/const7.go

    	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")
    	testProg(dir, "x3", charLimit-2, "constant overflow") // -2 because literal contains 0b prefix
    	testProg(dir, "x4", charLimit-1, "excessively long constant")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.h

    namespace mlir {
    namespace quant {
    
    // Applies constant folding recursively if the operation and all of its operands
    // are foldable. Returns the constants generated by constant-folding or the
    // original operation's outputs if not folded.
    SmallVector<Value> ConstantFoldOpIfPossible(Operation* op);
    
    // This pattern tries to constant-fold the quantizable operands of supported
    // TF operations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 04 14:27:31 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/go/types/index.go

    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    			// (not a constant) even if the string and the
    			// index are constant
    			x.mode = value
    			x.typ = universeByte // use 'byte' name
    		}
    
    	case *Array:
    		valid = true
    		length = typ.len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeIncrementalCompilationIntegrationTest.groovy

                public class Strings {
    
                }
    
                class StringUtils {
                    static void foo() { Constants.getConstant(); }
                }
    
            """
    
            file("src/main/java/foo/Constants.java") << """
                package foo;
                class Constants {
                    static String getConstant() { return " "; }
                }
    
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

    // -----
    
    // CHECK-LABEL: @mhlo_while
    func.func private @mhlo_while() {
      // CHECK-NEXT: mhlo.constant
      // CHECK-NEXT: mhlo.constant
      // CHECK-NEXT: mhlo.constant
      %0 = mhlo.constant dense<-1> : tensor<i32>
      %1 = mhlo.constant dense<0> : tensor<i32>
      %2 = mhlo.constant dense<20> : tensor<i32>
      // CHECK-NEXT: mhlo.while
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top