- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 528 for int1 (0.04 sec)
-
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) -
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) -
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) -
src/internal/types/testdata/check/init1.go
// initialization cycles package init1 // issue 6683 (marked as WorkingAsIntended) type T0 struct{} func (T0) m() int { return y0 } var x0 = T0{} var y0 /* ERROR "initialization cycle" */ = x0.m() type T1 struct{} func (T1) m() int { return y1 } var x1 interface { m() int } = T1{} var y1 = x1.m() // no cycle reported, x1 is of interface type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 1.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go
tebw := embedwrap{teb, &teb} testCases := []struct { a interface{} want string }{ {int8(93), "(int8) 93\n"}, {int16(93), "(int16) 93\n"}, {int32(93), "(int32) 93\n"}, {int64(93), "(int64) 93\n"}, {int(-93), "(int) -93\n"}, {int8(-93), "(int8) -93\n"}, {int16(-93), "(int16) -93\n"}, {int32(-93), "(int32) -93\n"}, {int64(-93), "(int64) -93\n"}, {uint(93), "(uint) 93\n"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 10.3K bytes - Viewed (0) -
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)