Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 427 for int1 (0.06 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. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      } : (tensor<2x2xf32>, tensor<f32>, tensor<i32>) -> tensor<2x2x!tf_type.qint8>
    
      // CHECK: %[[WHILE_RESULT:.*]]:2 = mhlo.while(%[[ARG0:.*]] = %[[INT0]], %[[ARG1:.*]] = %[[INT1]])
      // CHECK-SAME: tensor<2x2xi8>, tensor<2x2xi8>
    
      // CHECK: cond
    
      // CHECK: do
      // CHECK: mhlo.return %[[ARG0]], %[[ARG1]] : tensor<2x?xi8>, tensor<?x2xi8>
    
      %2:2 = "tf.WhileRegion"(%0, %1) ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  3. test/escape_reflect.go

    )
    
    var sink interface{}
    
    func typ(x int) any {
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    	return v.Type()
    }
    
    func kind(x int) reflect.Kind {
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    	return v.Kind()
    }
    
    func int1(x int) int {
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    	return int(v.Int())
    }
    
    func ptr(x *int) *int { // ERROR "leaking param: x to result ~r0 level=0"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new int[] {a, b}, new int[] {}, new int[] {c}} returns the array {@code {a, b, c}}.
       *
       * @param arrays zero or more {@code int} arrays
       * @return a single array containing all the values from the source arrays, in order
       */
      public static int[] concat(int[]... arrays) {
        int length = 0;
        for (int[] array : arrays) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    }
    
    type XSocket struct {
    	Xso_len      uint32
    	Xso_so       uint32
    	So_type      int16
    	So_options   int16
    	So_linger    int16
    	So_state     int16
    	So_pcb       uint32
    	Xso_protocol int32
    	Xso_family   int32
    	So_qlen      int16
    	So_incqlen   int16
    	So_qlimit    int16
    	So_timeo     int16
    	So_error     uint16
    	So_pgid      int32
    	So_oobmark   uint32
    	So_rcv       XSockbuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/arith_test.go

    		}
    		if want, got := int8(i)%int8(pow2[3]) == 0, divisible_int8_2to3(int8(i)); got != want {
    			t.Errorf("divisible_int8_2to3(%d) = %v want %v", i, got, want)
    		}
    		if want, got := int8(i)%int8(pow2[4]) == 0, divisible_int8_2to4(int8(i)); got != want {
    			t.Errorf("divisible_int8_2to4(%d) = %v want %v", i, got, want)
    		}
    		if want, got := int8(i)%int8(pow2[5]) == 0, divisible_int8_2to5(int8(i)); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/const1.go

    	maxFloat64 = math.MaxFloat64
    )
    
    const (
    	_ int8 = minInt8 /* ERROR "overflows" */ - 1
    	_ int8 = minInt8
    	_ int8 = maxInt8
    	_ int8 = maxInt8 /* ERROR "overflows" */ + 1
    	_ int8 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = int8(minInt8 /* ERROR "overflows" */ - 1)
    	_ = int8(minInt8)
    	_ = int8(maxInt8)
    	_ = int8(maxInt8 /* ERROR "overflows" */ + 1)
    	_ = int8(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [46]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Xucred struct {
    	Version uint32
    	Uid     uint32
    	Ngroups int16
    	Groups  [16]uint32
    	_       *byte
    }
    
    type Linger struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	Asyncreads  int64
    	Spares1     int16
    	Mntfromname [80]byte
    	Spares2     int16
    	Spare       [2]int64
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno  uint64
    	Namlen  uint16
    	Type    uint8
    	Unused1 uint8
    	Unused2 uint32
    	Name    [256]int8
    }
    
    type Fsid struct {
    	Val [2]int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. src/syscall/ztypes_linux_arm64.go

    	Unit      uint32
    	X_f       [0]int8
    	Pad_cgo_1 [4]byte
    }
    
    type Utsname struct {
    	Sysname    [65]int8
    	Nodename   [65]int8
    	Release    [65]int8
    	Version    [65]int8
    	Machine    [65]int8
    	Domainname [65]int8
    }
    
    type Ustat_t struct {
    	Tfree     int32
    	Pad_cgo_0 [4]byte
    	Tinode    uint64
    	Fname     [6]int8
    	Fpack     [6]int8
    	Pad_cgo_1 [4]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top