Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for int1 (0.04 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

        auto operand_type = mlir::cast<ShapedType>(operand.getType());
        if (operand_type.getElementType().isInteger(1)) {
          // TF does not support min or max on boolean (int1) arguments.
          // Use AnyOp for MaxOp and AllOp for MinOp.
          auto tf_reduce_op = rewriter.create<BooleanReduce>(
              reduce_op.getLoc(), reduce_op->getResult(0).getType(), operand,
              reduction_indices,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue66066b.go

    	return uint64(uint32(x))
    }
    
    //go:noinline
    func f16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int16) uint64 {
    	return uint64(uint16(x))
    }
    
    //go:noinline
    func f8(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int8) uint64 {
    	return uint64(uint8(x))
    }
    
    //go:noinline
    func g32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x uint32) int64 {
    	return int64(int32(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. logger/sql.go

    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/ops/bitcast.cc

          "T: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
      TF_OpDefinitionBuilderAddAttr(
          op_builder,
          "type: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/loong64/a.out.go

    	REGTMP  = REG_R30 // used by the assembler
    	FREGRET = REG_F0  // not use
    )
    
    var LOONG64DWARFRegisters = map[int16]int16{}
    
    func init() {
    	// f assigns dwarfregisters[from:to] = (base):(to-from+base)
    	f := func(from, to, base int16) {
    		for r := int16(from); r <= to; r++ {
    			LOONG64DWARFRegisters[r] = (r - from) + base
    		}
    	}
    	f(REG_R0, REG_R31, 0)
    	f(REG_F0, REG_F31, 32)
    
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/runtime/defs_darwin_arm64.go

    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    }
    
    type pthread uintptr
    type pthreadattr struct {
    	X__sig    int64
    	X__opaque [56]int8
    }
    type pthreadmutex struct {
    	X__sig    int64
    	X__opaque [56]int8
    }
    type pthreadmutexattr struct {
    	X__sig    int64
    	X__opaque [8]int8
    }
    type pthreadcond struct {
    	X__sig    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. utils/utils_test.go

    			}
    		})
    	}
    }
    
    func TestToString(t *testing.T) {
    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/encoding/gob/encgen.go

    		state.encodeUint(bits)`,
    	},
    	{
    		"int",
    		"Int",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    	{
    		"int16",
    		"Int16",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    	{
    		"int32",
    		"Int32",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    	{
    		"int64",
    		"Int64",
    		"0",
    		`state.encodeInt(x)`,
    	},
    	{
    		"int8",
    		"Int8",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    var Typ = [...]*Basic{
    	Invalid: {Invalid, 0, "invalid type"},
    
    	Bool:          {Bool, IsBoolean, "bool"},
    	Int:           {Int, IsInteger, "int"},
    	Int8:          {Int8, IsInteger, "int8"},
    	Int16:         {Int16, IsInteger, "int16"},
    	Int32:         {Int32, IsInteger, "int32"},
    	Int64:         {Int64, IsInteger, "int64"},
    	Uint:          {Uint, IsInteger | IsUnsigned, "uint"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    // alias basic type named "byte" (and analogous for "rune").
    var Typ = []*Basic{
    	Invalid: {Invalid, 0, "invalid type"},
    
    	Bool:          {Bool, IsBoolean, "bool"},
    	Int:           {Int, IsInteger, "int"},
    	Int8:          {Int8, IsInteger, "int8"},
    	Int16:         {Int16, IsInteger, "int16"},
    	Int32:         {Int32, IsInteger, "int32"},
    	Int64:         {Int64, IsInteger, "int64"},
    	Uint:          {Uint, IsInteger | IsUnsigned, "uint"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top