- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 374 for _sfloat (0.12 sec)
-
src/cmd/compile/internal/types2/basic.go
type BasicInfo int // Properties of basic types. const ( IsBoolean BasicInfo = 1 << iota IsInteger IsUnsigned IsFloat IsComplex IsString IsUntyped IsOrdered = IsInteger | IsFloat | IsString IsNumeric = IsInteger | IsFloat | IsComplex IsConstType = IsBoolean | IsNumeric | IsString ) // A Basic represents a basic type. type Basic struct { kind BasicKind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 01 22:17:50 UTC 2021 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions.mlir
%2 = "tf.Relu6"(%1) : (tensor<*xf32>) -> tensor<*xf32> func.return %2 : tensor<*xf32> } // CHECK-LABEL: func @conv // CHECK-DAG: %[[w_float:.*]] = "tf.Const"() <{value = dense<{{\[\[\[\[}}1.600000e-01 // CHECK-DAG: %[[b_float:.*]] = "tf.Const"() <{value = dense<[-2.000000e+00, 3.000000e+00]> : tensor<2xf32> // CHECK-DAG: %[[in_scale:.*]] = "tf.Const"() <{value = dense<8.000000e-03> : tensor<f32>}> : () -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 06 01:23:21 UTC 2023 - 15.2K bytes - Viewed (0) -
src/go/types/basic.go
type BasicInfo int // Properties of basic types. const ( IsBoolean BasicInfo = 1 << iota IsInteger IsUnsigned IsFloat IsComplex IsString IsUntyped IsOrdered = IsInteger | IsFloat | IsString IsNumeric = IsInteger | IsFloat | IsComplex IsConstType = IsBoolean | IsNumeric | IsString ) // A Basic represents a basic type. type Basic struct { kind BasicKind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h
} return APInt(storage_bit_width_, signless_result); } // Keep both APFloat and double versions of the quantization parameters // around since they will be used in generic and specialized arithmetic, // respectively. const APFloat scale_; const APFloat zero_point_; const APFloat clamp_min_; const APFloat clamp_max_; const double scale_double_; const double zero_point_double_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/softfloat.go
} else if (v.Op == OpStore || v.Op == OpZero || v.Op == OpMove) && v.Aux.(*types.Type).IsFloat() { switch size := v.Aux.(*types.Type).Size(); size { case 4: v.Aux = f.Config.Types.UInt32 case 8: v.Aux = f.Config.Types.UInt64 newInt64 = true default: v.Fatalf("bad float type with size %d", size) } } } } if newInt64 && f.Config.RegSize == 4 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 03 16:14:24 UTC 2021 - 2K bytes - Viewed (0) -
test/abi/idata.go
"math" "math/big" ) type ( unknownVal struct{} intVal struct{ val *big.Int } // Int values not representable as an int64 ratVal struct{ val *big.Rat } // Float values representable as a fraction floatVal struct{ val *big.Float } // Float values not representable as a fraction complexVal struct{ re, im Value } ) const prec = 512 func (unknownVal) String() string { return "unknown" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 20:11:08 UTC 2021 - 2.1K bytes - Viewed (0) -
test/typeparam/typeswitch4.go
func (x myint) foo() int { return int(x) } type myfloat float64 func (x myfloat) foo() int { return int(x) } type myint32 int32 func (x myint32) foo() int { return int(x) } func (x myint32) bar() {} func f[T I](i I) { switch x := i.(type) { case T, myint32: println("T/myint32", x.foo()) default: println("other", x.foo()) } } func main() { f[myfloat](myint(6)) f[myfloat](myfloat(7))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 13:47:58 UTC 2022 - 813 bytes - Viewed (0) -
test/typeparam/dottype.go
return x.(T) } func f2[T any](x interface{}) (T, bool) { t, ok := x.(T) return t, ok } type I interface { foo() } type myint int func (myint) foo() { } type myfloat float64 func (myfloat) foo() { } func g[T I](x I) T { return x.(T) } func g2[T I](x I) (T, bool) { t, ok := x.(T) return t, ok } func h[T any](x interface{}) struct{ a, b T } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.4K bytes - Viewed (0) -
src/go/types/const.go
if isNumeric(x.typ) && isNumeric(typ) { // numeric conversion : error msg // // integer -> integer : overflows // integer -> float : overflows (actually not possible) // float -> integer : truncated // float -> float : overflows // if !isInteger(x.typ) && isInteger(typ) { return nil, TruncatedFloat } else { return nil, NumericOverflow } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 7.6K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
val = constant.MakeString(r.string()) case types.IsInteger: var x big.Int r.mpint(&x, b) val = constant.Make(&x) case types.IsFloat: val = r.mpfloat(b) case types.IsComplex: re := r.mpfloat(b) im := r.mpfloat(b) val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im)) default: errorf("unexpected type %v", typ) // panics panic("unreachable") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0)