- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 2,148 for Constant2 (0.14 sec)
-
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) -
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) -
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) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysis.java
*/ public static final class ClassSetDiff { private final DependentsSet dependents; private final Map<String, IntSet> constants; public ClassSetDiff(DependentsSet dependents, Map<String, IntSet> constants) { this.dependents = dependents; this.constants = constants; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.td
include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td" include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td" // Converts tf.Const to arith.constant for statically shaped, non-opaque constants. // Needed for QuantizationDriver to recognize constants. def ConvertTfConstToArithConst : Pat< (TF_ConstOp:$res DenseElementsAttr:$value), (Arith_ConstantOp $value),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 1.2K bytes - Viewed (0) -
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) -
test/fixedbugs/issue7648.go
// compiledir // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 7648: spurious "bad negated constant" for complex constants.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 01 06:55:38 UTC 2014 - 262 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
// Checks if the value is a float constant and its splat value is equal to `x`. class IsSplatValueEqual<string x> : Constraint<CPred< "IsSplatValueEqual<float>($0, "# x #")">>; // Checks if two values are float constants and their values are equal. def AreSplatValuesEqual : Constraint<CPred< "AreSplatValuesEqual<float>($0, $1)">>; // Checks if the value is an integer constant and its splat value is equal to x.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
test/const1.go
} const ptr = nil // ERROR "const.*nil|not constant" const _ = string([]byte(nil)) // ERROR "is not a? ?constant" const _ = uintptr(unsafe.Pointer((*int)(nil))) // ERROR "is not a? ?constant" const _ = unsafe.Pointer((*int)(nil)) // ERROR "cannot be nil|invalid constant type|is not a constant|not constant"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 3.8K bytes - Viewed (0) -
src/internal/types/testdata/check/errors.go
// constants const c1 = 991 const c2 float32 = 0.5 const c3 = "foo" 0 // ERROR "0 (untyped int constant) is not used" 0.5 // ERROR "0.5 (untyped float constant) is not used" "foo" // ERROR `"foo" (untyped string constant) is not used` c1 // ERROR "c1 (untyped int constant 991) is not used" c2 // ERROR "c2 (constant 0.5 of type float32) is not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 2.2K bytes - Viewed (0)