- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,204 for float1 (0.12 sec)
-
src/cmd/compile/internal/ssa/_gen/WasmOps.go
{name: "F64Load", asm: "F64Load", argLength: 2, reg: fp64load, aux: "Int64", typ: "Float64"}, // read 64-bit float from address arg0+aux, arg1=mem {name: "F32Store", asm: "F32Store", argLength: 3, reg: fp32store, aux: "Int64", typ: "Mem"}, // store 32-bit float arg1 at address arg0+aux, arg2=mem, returns mem
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 17.7K bytes - Viewed (0) -
src/go/constant/value.go
} // Float32Val is like [Float64Val] but for float32 instead of float64. func Float32Val(x Value) (float32, bool) { switch x := x.(type) { case int64Val: f := float32(x) return f, int64Val(f) == x case intVal: f, acc := newFloat().SetInt(x.val).Float32() return f, acc == big.Exact case ratVal: return x.val.Float32() case floatVal: f, acc := x.val.Float32() return f, acc == big.Exact
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
data); values.push_back(Eigen::numext::bit_cast<Eigen::bfloat16>(bit_repr)); } return mlir::ElementsAttr(DenseElementsAttr::get( shaped_type, ArrayRef<Eigen::bfloat16>(values))); } } case 32: { assert(bytes_len % 4 == 0); int elem_count = bytes_len / 4; std::vector<float> values; values.reserve(elem_count);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
src/internal/fuzz/encoding.go
} return parseUint(val, typ) case "float32": if kind != token.FLOAT && kind != token.INT { return nil, fmt.Errorf("float or integer literal required for float32 type") } v, err := strconv.ParseFloat(val, 32) return float32(v), err case "float64": if kind != token.FLOAT && kind != token.INT { return nil, fmt.Errorf("float or integer literal required for float64 type") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 16:39:12 UTC 2022 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
// For f16 quantization, quantize all constant ops as float16. QuantizeOpAsFloat16(rewriter, op, quant_op); } // TODO: b/264218457 - Return a value that accurately captures result // status. return true; } // Inserts ConvertOp which is used for converting float32 ConstantOp into // float16 quantization. If there is an existing ConvertOp connected to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
// * math.Float32bits(float32(math.NaN()))+1 in: `go test fuzz v1 float32(-0) float64(-0) float32(+Inf) float32(-Inf) float32(NaN) float64(+Inf) float64(-Inf) float64(NaN) math.Float64frombits(0x7ff8000000000002) math.Float32frombits(0x7fc00001)`, }, { desc: "int variations", // Although we arbitrarily choose default integer bases (0 or 16), we may
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/reflect/float32reg_riscv64.s
#include "textflag.h" // riscv64 allows 32-bit floats to live in the bottom // part of the register, it expects them to be NaN-boxed. // These functions are needed to ensure correct conversions // on riscv64. // Convert float32->uint64 TEXT ·archFloat32ToReg(SB),NOSPLIT,$0-16 MOVF val+0(FP), F1 MOVD F1, ret+8(FP) RET // Convert uint64->float32 TEXT ·archFloat32FromReg(SB),NOSPLIT,$0-12
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 04 13:38:32 UTC 2022 - 794 bytes - Viewed (0) -
src/internal/fmtsort/sort.go
return cmp.Compare(aVal.Uint(), bVal.Uint()) case reflect.String: return cmp.Compare(aVal.String(), bVal.String()) case reflect.Float32, reflect.Float64: return cmp.Compare(aVal.Float(), bVal.Float()) case reflect.Complex64, reflect.Complex128: a, b := aVal.Complex(), bVal.Complex() if c := cmp.Compare(real(a), real(b)); c != 0 { return c }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:31:45 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/float_test.go
du64, du32, du16, du8 := float64(1<<63), float64(1<<31), float64(1<<15), float64(1<<7) di64, di32, di16, di8 := float64(-1<<63), float64(-1<<31), float64(-1<<15), float64(-1<<7) su64, su32, su16, su8 := float32(1<<63), float32(1<<31), float32(1<<15), float32(1<<7) si64, si32, si16, si8 := float32(-1<<63), float32(-1<<31), float32(-1<<15), float32(-1<<7) // integer to float if float64(u64) != du64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.constrainToRange((float) 1, (float) 1, (float) 5)).isEqualTo((float) 1); assertThat(Floats.constrainToRange((float) 1, (float) 3, (float) 5)).isEqualTo((float) 3); assertThat(Floats.constrainToRange((float) 0, (float) -5, (float) -1)).isEqualTo((float) -1); assertThat(Floats.constrainToRange((float) 5, (float) 2, (float) 2)).isEqualTo((float) 2); try { Floats.constrainToRange((float) 1, (float) 3, (float) 2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 29.5K bytes - Viewed (0)