Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for I16 (0.02 sec)

  1. test/gcgort.go

    		},
    	},
    	modifier{
    		name: "structT",
    		t: func() {
    			s := newStructT()
    			for i := 0; i < mods; i++ {
    				s.u8++
    				s.u16++
    				s.u32++
    				s.u64++
    				s.i8++
    				s.i16++
    				s.i32++
    				s.i64++
    				s.f32 *= 1.01
    				s.f64 *= 1.01
    				s.c64 = complex(real(s.c64)*1.01, imag(s.c64)*1.01)
    				s.c128 = complex(real(s.c128)*1.01, imag(s.c128)*1.01)
    				s.b++
    				s.r++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 21:15:48 UTC 2018
    - 34.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      // CHECK: value = dense<[1, 2, 3, 4]> : tensor<4xi8>
      %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 4]> : tensor<4xi8> } : () -> tensor<4xi8>
      func.return %0 : tensor<4xi8>
    }
    
    func.func @i16() -> tensor<4xi16> {
      // CHECK-LABEL: @i16
      // CHECK: value = dense<[1, 2, 3, 258]> : tensor<4xi16>
      %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 258]> : tensor<4xi16> } : () -> tensor<4xi16>
      func.return %0 : tensor<4xi16>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    bool IsI32F32UniformQuantizedPerAxisType(Type type);
    
    // Determines whether the storage type of a quantized type is supported by
    // `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported.
    bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type);
    
    // Returns true if a type is quantized tensor type.
    bool IsQuantizedTensorType(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/runtime/debuglog_test.go

    		t.Fatalf("want %q, got %q", want, got)
    	}
    }
    
    func TestDebugLogTypes(t *testing.T) {
    	skipDebugLog(t)
    	runtime.ResetDebugLog()
    	var varString = strings.Repeat("a", 4)
    	runtime.Dlog().B(true).B(false).I(-42).I16(0x7fff).U64(^uint64(0)).Hex(0xfff).P(nil).S(varString).S("const string").End()
    	got := dlogCanonicalize(runtime.DumpDebugLog())
    	if want := "[] true false -42 32767 18446744073709551615 0xfff 0x0 aaaa const string\n"; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 16:59:26 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      auto elemType = getElementTypeOrSelf(type);
      // F16, F32, F64, BF16 types are allowed.
      if (elemType.isBF16() || elemType.isF16() || elemType.isF32() ||
          elemType.isF64())
        return true;
    
      // I1, I4, I8, I16, I32, I64 types are allowed.
      if (elemType.isInteger(1) || elemType.isInteger(4) || elemType.isInteger(8) ||
          elemType.isInteger(16) || elemType.isInteger(32) ||
          elemType.isInteger(64))
        return true;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    include "mlir/Dialect/Tensor/IR/TensorOps.td"
    include "stablehlo/dialect/ChloOps.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    include "mhlo/IR/hlo_ops.td"
    
    def SignedIntTensor : TensorOf<[I1, I8, I16, I32, I64]>;
    def UnsignedIntTensor : TensorOf<[UI8, UI16, UI32, UI64]>;
    
    // IEEE compliant floating point tensors.
    def IEEEFloatTensor : TensorOf<[F16, F32, F64]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. src/runtime/iface_test.go

    		{name: "Econstflt", fn: func() { e = 99.0 }}, // constants do not allocate
    		{name: "Econststr", fn: func() { e = "change" }},
    		{name: "I8", fn: func() { i1 = eight8I }},
    		{name: "I16", fn: func() { i1 = zero16I }},
    		{name: "I32", fn: func() { i1 = zero32I }},
    		{name: "I64", fn: func() { i1 = zero64I }},
    		{name: "Istr", fn: func() { i1 = zerostrI }},
    		{name: "Islice", fn: func() { i1 = zerosliceI }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

        %12 = "mhlo.compare"(%arg1, %arg3) {comparison_direction = #mhlo<comparison_direction LT>} : (tensor<i16>, tensor<i16>) -> tensor<i1>
        %13 = "mhlo.select"(%12, %arg1, %arg3) : (tensor<i1>, tensor<i16>, tensor<i16>) -> tensor<i16>
        %14 = "mhlo.compare"(%arg1, %arg3) {comparison_direction = #mhlo<comparison_direction EQ>} : (tensor<i16>, tensor<i16>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  9. test/ken/modconst.go

    		a := int16(rand.Uint32())
    		a >>= uint(rand.Intn(16))
    		if -a != a {
    			return a
    		}
    	}
    	return 0 // impossible
    }
    
    func i16test(a, b, c int16) {
    	d := a % c
    	if d != b {
    		println("i16", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func i16run() {
    	var a, b int16
    
    	for i := 0; i < Count; i++ {
    		a = i16rand()
    
    		b = a % 1
    		i16test(a, b, 1)
    		b = a % 2
    		i16test(a, b, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  10. test/ken/divconst.go

    		a := int16(rand.Uint32())
    		a >>= uint(rand.Intn(16))
    		if -a != a {
    			return a
    		}
    	}
    	return 0 // impossible
    }
    
    func i16test(a, b, c int16) {
    	d := a / c
    	if d != b {
    		println("i16", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func i16run() {
    	var a, b int16
    
    	for i := 0; i < Count; i++ {
    		a = i16rand()
    
    		b = a / 1
    		i16test(a, b, 1)
    		b = a / 2
    		i16test(a, b, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 9.2K bytes
    - Viewed (0)
Back to top