Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for f16 (0.03 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-tf-with-allowing-bf16-and-f16-type-legalization.mlir

    // RUN: tf-opt -tfl-prepare-tf=allow-bf16-and-f16-type-legalization=true %s | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: conv_2d_bf16
    func.func @conv_2d_bf16(%arg0 : tensor<256x32x32x3xbf16>, %arg1 : tensor<3x3x3x16xbf16>) -> tensor<256x8x7x16xbf16> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 26 23:53:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue41872.go

    // the LICENSE file.
    
    package main
    
    //go:noinline
    func f8(x int32) bool {
    	return byte(x&0xc0) == 64
    }
    
    //go:noinline
    func f16(x int32) bool {
    	return uint16(x&0x8040) == 64
    }
    
    func main() {
    	if !f8(64) {
    		panic("wanted true, got false")
    	}
    	if !f16(64) {
    		panic("wanted true, got false")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 08 20:35:54 UTC 2020
    - 443 bytes
    - Viewed (0)
  3. test/fixedbugs/issue66066b.go

    	return int64(int8(x))
    }
    
    func main() {
    	if got := f32(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xffffffff {
    		println("bad f32", got)
    	}
    	if got := f16(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xffff {
    		println("bad f16", got)
    	}
    	if got := f8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xff {
    		println("bad f8", got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. test/divide.go

    	if t := x / y; t != q {
    		fmt.Printf("%d/%d = %d, want %d\n", x, y, t, q)
    		panic("divide")
    	}
    	if t := x % y; t != r {
    		fmt.Printf("%d%%%d = %d, want %d\n", x, y, t, r)
    		panic("divide")
    	}
    }
    
    func f16(x, y, q, r int16) {
    	if t := x / y; t != q {
    		fmt.Printf("%d/%d = %d, want %d\n", x, y, t, q)
    		panic("divide")
    	}
    	if t := x % y; t != r {
    		fmt.Printf("%d%%%d = %d, want %d\n", x, y, t, r)
    		panic("divide")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue47185.dir/bad/bad.go

    		len(a.B.C1.D2.E2.F6) != 0 ||
    		len(a.B.C1.D2.E2.F7) != 0 ||
    		len(a.B.C1.D2.E2.F8) != 0 ||
    		len(a.B.C1.D2.E2.F9) != 0 ||
    		len(a.B.C1.D2.E2.F10) != 0 ||
    		len(a.B.C1.D2.E2.F11) != 0 ||
    		len(a.B.C1.D2.E2.F16) != 0 {
    		panic("bad")
    	}
    	C.malloc(100)
    }
    
    type A struct {
    	B
    }
    
    type B struct {
    	C1 C
    	C2 C
    }
    
    type C struct {
    	D1 D
    	D2 D
    }
    
    type D struct {
    	E1 E
    	E2 E
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 19 13:27:46 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. test/fixedbugs/bug19403.go

    	var f14 float32 = 14.0
    	var f15 float32 = 15.0
    	var f16 float32 = 16.0
    	i0 = int(f0)
    	i1 = int(f1)
    	i2 = int(f2)
    	i3 = int(f3)
    	i4 = int(f4)
    	i5 = int(f5)
    	i6 = int(f6)
    	i7 = int(f7)
    	i8 = int(f8)
    	i9 = int(f9)
    	i10 = int(f10)
    	i11 = int(f11)
    	i12 = int(f12)
    	i13 = int(f13)
    	i14 = int(f14)
    	i15 = int(f15)
    	i16 = int(f16)
    	if f16 != count {
    		panic("fail")
    	}
    	count -= 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 21:39:00 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  7. src/math/exp_arm64.s

    	FDIVD	F14, F15	// F15 = (r*c)/(2-c)
    	FSUBD	F15, F5, F15	// lo-(r*c)/(2-c)
    	FSUBD	F4, F15, F15	// (lo-(r*c)/(2-c))-hi
    	FSUBD	F15, F1, F16	// F16 = y = 1-((lo-(r*c)/(2-c))-hi)
    	// inline Ldexp(y, k), benefit:
    	// 1, no parameter pass overhead.
    	// 2, skip unnecessary checks for Inf/NaN/Zero
    	FMOVD	F16, R0
    	AND	$FracMask, R0, R2	// fraction
    	LSR	$52, R0, R5	// exponent
    	ADD	R1, R5		// R1 = int(k)
    	CMP	$1, R5
    	BGE	normal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

          // Create new ConstantOp-ConvertOp-Operation sequences. At this moment,
          // old ConstantOp is guaranteed to have one F32->F16 convert op regardless
          // of its number of users.
          rewriter.setInsertionPointAfter(op);
          // create new F16 constant op in that location
          ConstantOp new_const = rewriter.create<ConstantOp>(
              op->getLoc(), new_result_type, new_value_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. test/fixedbugs/issue46653.dir/bad/bad.go

    		len(a.B.C1.D2.E2.F6) != 0 ||
    		len(a.B.C1.D2.E2.F7) != 0 ||
    		len(a.B.C1.D2.E2.F8) != 0 ||
    		len(a.B.C1.D2.E2.F9) != 0 ||
    		len(a.B.C1.D2.E2.F10) != 0 ||
    		len(a.B.C1.D2.E2.F11) != 0 ||
    		len(a.B.C1.D2.E2.F16) != 0 {
    		panic("bad")
    	}
    }
    
    type A struct {
    	B
    }
    
    type B struct {
    	C1 C
    	C2 C
    }
    
    type C struct {
    	D1 D
    	D2 D
    }
    
    type D struct {
    	E1 E
    	E2 E
    	E3 E
    	E4 E
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 09 02:18:34 UTC 2021
    - 953 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/opGen.go

    				{1, 9223372034707292160}, // F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F21 F22 F23 F24 F25 F26 F27 F28 F29 F30 F31
    			},
    			outputs: []outputInfo{
    				{0, 9223372034707292160}, // F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F21 F22 F23 F24 F25 F26 F27 F28 F29 F30 F31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top