- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,567 for constInt8 (0.41 sec)
-
tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir
func.return %rst : tensor<256x8x7x16xf32> // CHECK-DAG: %[[CONSTANT:.*]] = arith.constant dense<0.000000e+00> : tensor<16xf32> // CHECK-DAG: %[[CONSTANT0:.*]] = arith.constant dense<0.000000e+00> : tensor<16x3x3x3xf32> // CHECK: %[[QUANTIZE:.*]] = "tfl.quantize"(%[[CONSTANT0]]) <{qtype = tensor<16x3x3x3x!quant.uniform<u4:f32, 1.000000e+00>>}>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 22K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir
func.return %rst : tensor<256x8x7x16xf32> // CHECK-DAG: %[[CONSTANT:.*]] = arith.constant dense<0.000000e+00> : tensor<16xf32> // CHECK-DAG: %[[CONSTANT0:.*]] = arith.constant dense<0.000000e+00> : tensor<16x3x3x3xf32> // CHECK: %[[QUANTIZE:.*]] = "tfl.quantize"(%[[CONSTANT0]]) <{qtype = tensor<16x3x3x3x!quant.uniform<u8:f32, 1.000000e+00>>}>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/pipelines/process_nchw_tensor.mlir
// function signature. Constants are also transposed accordingly. // CHECK-LABEL: nchw_conv_with_bias_add // CHECK-SAME: %[[ARG:.+]]: tensor<1x2x5x5xf32> func.func @nchw_conv_with_bias_add(%arg0: tensor<1x2x5x5xf32>) -> tensor<1x4x5x5xf32> { %0 = stablehlo.constant dense<2.000000e+00> : tensor<4x2x3x3xf32> %1 = stablehlo.constant dense<3.000000e+00> : tensor<1x4x5x5xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 20:32:46 UTC 2024 - 12.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskConstantChangesIncrementalCompilationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.9K bytes - Viewed (0) -
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)