Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for isint32 (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      } : (tensor<3x2x!tf_type.qint32>, tensor<3x2x!tf_type.qint32>, tensor<3x2x!tf_type.qint32>, tensor<2xf32>, tensor<2xi32>) -> tensor<3x2x!tf_type.qint32>
      func.return %1 : tensor<3x2x!tf_type.qint32>
    }
    
    // -----
    
    // CHECK-LABEL: func @uniform_quantized_clip_by_value_min_not_const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  2. src/math/logb.go

    }
    
    // Ilogb returns the binary exponent of x as an integer.
    //
    // Special cases are:
    //
    //	Ilogb(±Inf) = MaxInt32
    //	Ilogb(0) = MinInt32
    //	Ilogb(NaN) = MaxInt32
    func Ilogb(x float64) int {
    	// special cases
    	switch {
    	case x == 0:
    		return MinInt32
    	case IsNaN(x):
    		return MaxInt32
    	case IsInf(x, 0):
    		return MaxInt32
    	}
    	return ilogb(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:45 UTC 2022
    - 1021 bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/const1.go

    )
    
    const (
    	_ int32 = minInt32 /* ERROR "overflows" */ - 1
    	_ int32 = minInt32
    	_ int32 = maxInt32
    	_ int32 = maxInt32 /* ERROR "overflows" */ + 1
    	_ int32 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = int32(minInt32 /* ERROR "overflows" */ - 1)
    	_ = int32(minInt32)
    	_ = int32(maxInt32)
    	_ = int32(maxInt32 /* ERROR "overflows" */ + 1)
    	_ = int32(smallestFloat64 /* ERROR "cannot convert" */)
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/math/const_test.go

    		t.Errorf("MaxInt8 should wrap around to MinInt8: %d", v+1)
    	}
    	if v := int16(MaxInt16); v+1 != MinInt16 {
    		t.Errorf("MaxInt16 should wrap around to MinInt16: %d", v+1)
    	}
    	if v := int32(MaxInt32); v+1 != MinInt32 {
    		t.Errorf("MaxInt32 should wrap around to MinInt32: %d", v+1)
    	}
    	if v := int64(MaxInt64); v+1 != MinInt64 {
    		t.Errorf("MaxInt64 should wrap around to MinInt64: %d", v+1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 03 22:44:33 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. src/runtime/cpuflags_amd64.go

    package runtime
    
    import (
    	"internal/cpu"
    )
    
    var useAVXmemmove bool
    
    func init() {
    	// Let's remove stepping and reserved fields
    	processor := processorVersionInfo & 0x0FFF3FF0
    
    	isIntelBridgeFamily := isIntel &&
    		processor == 0x206A0 ||
    		processor == 0x206D0 ||
    		processor == 0x306A0 ||
    		processor == 0x306E0
    
    	useAVXmemmove = cpu.X86.HasAVX && !isIntelBridgeFamily
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 24 07:29:52 UTC 2018
    - 533 bytes
    - Viewed (0)
  6. src/math/const.go

    	MinInt    = -1 << (intSize - 1) // MinInt32 or MinInt64 depending on intSize.
    	MaxInt8   = 1<<7 - 1            // 127
    	MinInt8   = -1 << 7             // -128
    	MaxInt16  = 1<<15 - 1           // 32767
    	MinInt16  = -1 << 15            // -32768
    	MaxInt32  = 1<<31 - 1           // 2147483647
    	MinInt32  = -1 << 31            // -2147483648
    	MaxInt64  = 1<<63 - 1           // 9223372036854775807
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/universe.go

    	"cmd/compile/internal/base"
    	"cmd/internal/src"
    )
    
    var basicTypes = [...]struct {
    	name  string
    	etype Kind
    }{
    	{"int8", TINT8},
    	{"int16", TINT16},
    	{"int32", TINT32},
    	{"int64", TINT64},
    	{"uint8", TUINT8},
    	{"uint16", TUINT16},
    	{"uint32", TUINT32},
    	{"uint64", TUINT64},
    	{"float32", TFLOAT32},
    	{"float64", TFLOAT64},
    	{"complex64", TCOMPLEX64},
    	{"complex128", TCOMPLEX128},
    	{"bool", TBOOL},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprog/panicprint.go

    type MyComplex64 complex64
    type MyFloat32 float32
    type MyFloat64 float64
    type MyInt int
    type MyInt8 int8
    type MyInt16 int16
    type MyInt32 int32
    type MyInt64 int64
    type MyString string
    type MyUint uint
    type MyUint8 uint8
    type MyUint16 uint16
    type MyUint32 uint32
    type MyUint64 uint64
    type MyUintptr uintptr
    
    func panicCustomComplex64() {
    	panic(MyComplex64(0.11 + 3i))
    }
    
    func panicCustomComplex128() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

        rhs_quantization_min_val = -2147483648 : i64
      } : (
        tensor<10x10x!tf_type.qint32>, tensor<10x10x!tf_type.qint32>, tensor<f32>,
        tensor<i32>, tensor<f32>, tensor<i32>, tensor<f32>, tensor<i32>
      ) -> tensor<10x10x!tf_type.qint32>
      %1 = "tf.Cast"(%0) {} : (tensor<10x10x!tf_type.qint32>) ->  tensor<10x10xi32>
      return %1 : tensor<10x10xi32>
    })mlir";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  10. src/math/rand/normal.go

     * (Marsaglia & Tsang, 2000)
     * http://www.jstatsoft.org/v05/i08/paper [pdf]
     */
    
    const (
    	rn = 3.442619855899
    )
    
    func absInt32(i int32) uint32 {
    	if i < 0 {
    		return uint32(-i)
    	}
    	return uint32(i)
    }
    
    // NormFloat64 returns a normally distributed float64 in
    // the range -[math.MaxFloat64] through +[math.MaxFloat64] inclusive,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top