Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,800 for constInt8 (0.15 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. android/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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/constants/ConstantDependentsConsumer.java

        }
    
        /**
         * Consume "accessible" dependents of a constant. Accessible dependents in this context
         * are dependents that have a constant calculated from constant from origin.
         *
         * Example of accessible dependent:
         * class A {
         *     public static final int CALCULATE_ACCESSIBLE_CONSTANT = CONSTANT;
         * }
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

      inputs.reserve(operands.size());
      for (auto input : operands) {
        inputs.push_back(mlir::cast<ElementsAttr>(input));
      }
    
      SmallVector<Attribute> constants;
      LogicalResult status = EvaluateOperation(inst, inputs, constants);
      results.assign(constants.begin(), constants.end());
      return status;
    }
    
    static bool init_hooks = ([] () {
      TensorFlowDialect::RegisterConstantFoldHook(ConstantFoldFallbackHook);
    }(), true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskConstantChangesIncrementalCompilationIntegrationTest.groovy

        @NotYetImplemented
        // Currently not implemented, since it's expensive to track constants and their values
        def "ignores irrelevant changes to constant values"() {
            source api: ["class A {}", "class B { final static int x = 3; final static int y = -2; }"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt

            val bindingContext = analysisContext.analyze(expression)
    
            val constant = ConstantExpressionEvaluator.getPossiblyErrorConstant(expression, bindingContext)
    
            // TODO: how to _not_ evaluate expressions with a compilation error, e.g., uninitialized property access
            if (constant?.usesNonConstValAsConstant == true) return null
    
            return constant?.toConstantValue(TypeUtils.NO_EXPECTED_TYPE)?.toKtConstantValue()
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top