Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 469 for float1 (0.17 sec)

  1. test/codegen/floats.go

    	return x, y, z
    }
    
    func indexLoad(b0 []float32, b1 float32, idx int) float32 {
    	// arm64:`FMOVS\s\(R[0-9]+\)\(R[0-9]+<<2\),\sF[0-9]+`
    	return b0[idx] * b1
    }
    
    func indexStore(b0 []float64, b1 float64, idx int) {
    	// arm64:`FMOVD\sF[0-9]+,\s\(R[0-9]+\)\(R[0-9]+<<3\)`
    	b0[idx] = b1
    }
    
    // ----------- //
    //    Fused    //
    // ----------- //
    
    func FusedAdd32(x, y, z float32) float32 {
    	// s390x:"FMADDS\t"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/lite/tests/quantize-dynamic-range-float16.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="enable-float16-quantization" -tfl-quantize="enable-dynamic-range-quantization=true" | FileCheck --check-prefix=CHECK %s
    
    // CHECK-LABEL: QuantizeUnidirectionalLstm
    func.func @QuantizeUnidirectionalLstm(%arg0: tensor<1x2x3xf32>) -> (tensor<1x2x3xf32>) {
      %1 = "tfl.pseudo_const"() {value = dense<[[0.1]]> : tensor<1x1xf32>} : () -> tensor<1x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/FloatsMethodsForWeb.java

    import jsinterop.annotations.JsPackage;
    
    /** Web specializations for {@link Floats} methods. */
    public abstract class FloatsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native float min(float... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native float max(float... array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/database/sql/driver/types.go

    	case reflect.Uint64:
    		u64 := rv.Uint()
    		if u64 >= 1<<63 {
    			return nil, fmt.Errorf("uint64 values with high bit set are not supported")
    		}
    		return int64(u64), nil
    	case reflect.Float32, reflect.Float64:
    		return rv.Float(), nil
    	case reflect.Bool:
    		return rv.Bool(), nil
    	case reflect.Slice:
    		ek := rv.Type().Elem().Kind()
    		if ek == reflect.Uint8 {
    			return rv.Bytes(), nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test_util.h

    }
    
    // Return a tensor handle containing a 100x100 matrix of floats
    TFE_TensorHandle* TestMatrixTensorHandle100x100(TFE_Context* ctx);
    
    // Return a tensor handle containing a 3x2 matrix of doubles
    TFE_TensorHandle* DoubleTestMatrixTensorHandle3X2(TFE_Context* ctx);
    
    // Return a tensor handle containing a 3x2 matrix of floats
    TFE_TensorHandle* TestMatrixTensorHandle3X2(TFE_Context* ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/slices/sort_benchmark_test.go

    		b.Run(fmt.Sprintf("Size%d", size), func(b *testing.B) {
    			floats := make([]float64, size)
    			for i := range floats {
    				floats[i] = float64(i)
    			}
    			midpoint := len(floats) / 2
    			needle := (floats[midpoint] + floats[midpoint+1]) / 2
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				slices.BinarySearch(floats, needle)
    			}
    		})
    	}
    }
    
    type myStruct struct {
    	a, b, c, d string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/math/big/floatmarsh.go

    // to the decoded value.
    func (z *Float) GobDecode(buf []byte) error {
    	if len(buf) == 0 {
    		// Other side sent a nil or default value.
    		*z = Float{}
    		return nil
    	}
    	if len(buf) < 6 {
    		return errors.New("Float.GobDecode: buffer too small")
    	}
    
    	if buf[0] != floatGobVersion {
    		return fmt.Errorf("Float.GobDecode: encoding version %d not supported", buf[0])
    	}
    
    	oldPrec := z.prec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. test/nilptr5_wasm.go

    // license that can be found in the LICENSE file.
    
    // Test that nil checks are removed.
    // Optimization is enabled.
    
    package p
    
    func f5(p *float32, q *float64, r *float32, s *float64) float64 {
    	x := float64(*p) // ERROR "generated nil check"
    	y := *q          // ERROR "generated nil check"
    	*r = 7           // ERROR "generated nil check"
    	*s = 9           // ERROR "generated nil check"
    	return x + y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 813 bytes
    - Viewed (0)
Back to top