- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 439 for pconstants (0.19 sec)
-
src/cmd/compile/internal/types2/const.go
return constant.MakeFloat64(f) } return nil } func fitsFloat64(x constant.Value) bool { f, _ := constant.Float64Val(x) return !math.IsInf(f, 0) } func roundFloat64(x constant.Value) constant.Value { f, _ := constant.Float64Val(x) if !math.IsInf(f, 0) { return constant.MakeFloat64(f) } return nil } // representable checks that a constant operand is representable in the given
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 7.5K bytes - Viewed (0) -
src/go/types/conversions.go
cause = check.sprintf("constant %s overflows %s (in %s)", x.val, u, T) } else { cause = check.sprintf("cannot convert %s to type %s (in %s)", x, u, T) } return false } return true }) x.mode = value // type parameters are not constants case x.convertibleTo(check, T, &cause): // non-constant conversion ok = true x.mode = value } if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-constant.mlir
module { func.func @main() -> tensor<1xi64> { %0 = "tfl.custom"() {custom_code = "stablehlo.constant", custom_option = #tfl<const_bytes : "0x76616C75650001020109010101062C022401">} : () -> tensor<1xi64> func.return %0 : tensor<1xi64> } } // CHECK: module { // CHECK-NEXT: func @main() -> tensor<1xi64> { // CHECK-NEXT: %[[c0:.+]] = stablehlo.constant dense<2> : tensor<1xi64> // CHECK-NEXT: return %[[c0]] : tensor<1xi64> // CHECK-NEXT: }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 18:33:43 UTC 2024 - 574 bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
calvin <******@****.***> 1706611761 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/jit/ops/xla_ops.cc
#include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference.h" namespace tensorflow { using shape_inference::InferenceContext; REGISTER_OP("XlaLaunch") .Input("constants: Tconstants") .Attr("Tconstants: list(type) >= 0") .Input("args: Targs") .Attr("Targs: list(type) >= 0") .Input("resources: Nresources * resource") .Attr("Nresources: int >= 0") .Output("results: Tresults")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 09:08:06 UTC 2024 - 4.5K bytes - Viewed (0) -
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) -
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) -
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) -
tools/istio-iptables/pkg/builder/iptables_builder_impl.go
_, _ = fmt.Fprintln(&b, "COMMIT") } } return b.String() } func (rb *IptablesRuleBuilder) buildRestore(rules []*Rule) string { tableRulesMap := map[string][]string{ constants.FILTER: {}, constants.NAT: {}, constants.MANGLE: {}, } chainTableLookupMap := sets.New[string]() for _, r := range rules { chainTable := fmt.Sprintf("%s:%s", r.chain, r.table)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td
the second argument is the zero point constant (element type: int) and the third argument is the inverse scale constant (element type: float). * A tensor is dequantized using a `func::FuncOp` whose name contains "uniform_dequantize". The first argument is the tensor to be quantized, the second argument is the zero point constant (element type: int) and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 5.6K bytes - Viewed (0)