- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,824 for const1 (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration_test.cc
%1:2 = tf_executor.island wraps "tf.Const"() {device = "", dtype = "tfdtype$DT_HALF", value = dense<[1.0, 2.0]> : tensor<2xf16>} : () -> tensor<2xf16> loc("const2") tf_executor.fetch %0#0, %1#0 : tensor<1x2xf16>, tensor<2xf16> } func.return %graph#0, %graph#1 : tensor<1x2xf16>, tensor<2xf16> })"; std::string result; auto status = Translate(kMlirSource, result); ASSERT_TRUE(status.succeeded());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 23:11:32 UTC 2023 - 3.2K bytes - Viewed (0) -
src/internal/types/testdata/check/conversions0.go
) // numeric constant conversions are in const1.src. func string_conversions() { const A = string(65) assert(A == "A") const E = string(-1) assert(E == "\uFFFD") assert(E == string(1234567890)) type myint int assert(A == string(myint(65))) type mystring string const _ mystring = mystring("foo") const _ = string(true /* ERROR "cannot convert" */ ) const _ = string(1.2 /* ERROR "cannot convert" */ )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir
%cst = arith.constant dense<0> : tensor<i32> loc("Const") %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1> func.return %0 : tensor<i1> } func.func @WhileOp_body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) { %cst = arith.constant dense<1> : tensor<i32> loc("Const1")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/while_op.mlir
%cst = arith.constant dense<0> : tensor<i32> loc("Const") %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1> func.return %0 : tensor<i1> } func.func @body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) { %cst = arith.constant dense<1> : tensor<i32> loc("Const")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 7.5K bytes - Viewed (0) -
src/go/doc/example_test.go
// ⤷ example with suffix "world" - This comment is associated with the ExampleGreet_world example. } func TestClassifyExamples(t *testing.T) { const src = ` package p const Const1 = 0 var Var1 = 0 type ( Type1 int Type1_Foo int Type1_foo int type2 int Embed struct { Type1 } Uembed struct { type2 } )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 9.6K bytes - Viewed (0) -
test/const4.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 1.3K bytes - Viewed (0) -
src/internal/types/testdata/check/const0.go
1 * 1e9, 5 * 1e9, } const _ = unsafe.Sizeof(func() { const _ = 0 _ = iota const ( zero = iota one ) assert(one == 1) assert(iota == 0) }) // issue #52438 const i1 = iota const i2 = iota const i3 = iota func _() { assert(i1 == 0) assert(i2 == 0) assert(i3 == 0) const i4 = iota const i5 = iota const i6 = iota
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 9.2K bytes - Viewed (0) -
test/const2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 1008 bytes - Viewed (0) -
test/const8.go
// in the correct context; see issues #49157, #53585. package main const X = 2 func main() { const ( A = iota // 0 iota = iota // 1 B // 1 (iota is declared locally on prev. line) C // 1 ) if A != 0 || B != 1 || C != 1 { println("got", A, B, C, "want 0 1 1") panic("FAILED") } const ( X = X + X Y Z = iota ) if X != 4 || Y != 8 || Z != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 28 18:11:31 UTC 2022 - 727 bytes - Viewed (0) -
test/const3.go
package main import "fmt" type T int func (t T) String() string { return fmt.Sprintf("T%d", int(t)) } const ( A T = 1 << (1 << iota) B C D E ) func main() { s := fmt.Sprintf("%v %v %v %v %v", A, B, C, D, E) if s != "T2 T4 T16 T256 T65536" { println("type info didn't propagate in const: got", s) panic("fail") } x := uint(5) y := float64(uint64(1)<<x) // used to fail to compile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 659 bytes - Viewed (0)