- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 4,347 for const2 (0.2 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/chacha8rand/chacha8_generic.go
// ChaCha8 is ChaCha with 8 rounds. // See https://cr.yp.to/chacha/chacha-20080128.pdf. // // ChaCha8 operates on a 4x4 matrix of uint32 values, initially set to: // // const1 const2 const3 const4 // seed seed seed seed // seed seed seed seed // counter64 0 0 // // We use the same constants as ChaCha20 does, a random seed, // and a counter. Running ChaCha8 on this input produces
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:32:54 UTC 2023 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir
// CHECK: %[[CONST2:.*]] = "tf.Const"() <{value = dense< // CHECK-SAME: [8, 8, 3, 64] // CHECK: %[[RESHAPE1:.*]] = "tf.Reshape"(%[[TRANSPOSE1:.*]], %[[CONST2:.*]]) : (tensor<4x2x4x2x3x64xf32>, tensor<4xi64>) -> tensor<8x8x3x64xf32> // CHECK: %[[CONST3:.*]] = "tf.Const"() <{value = dense< // CHECK-SAME: [7, 7, 3, 64]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 37.4K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
sourceFile << """ public class ToolImpl { public static final int CONST = 1; } """ file("b/src/main/${language.name}/Main.${language.name}") << """ public class Main { public static final int CONST2 = 1 + ToolImpl.CONST; } """ when: succeeds ":b:${language.compileTaskName}" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 30K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir
// CHECK-DAG: %[[CONST1:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi32>}> // CHECK-DAG: %[[CONST2:.*]] = "tf.Const"() <{value = dense<[0, 2, 3, 1]> : tensor<4xi32>}> // CHECK: %[[TRANS1:.*]] = "tf.Transpose"(%arg0, %[[CONST1]]) : (tensor<1x4x4x8xf32>, tensor<4xi32>) -> tensor<1x8x4x4xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K 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) -
src/cmd/compile/internal/ssa/rewritegeneric.go
v2.AuxInt = int64ToAuxInt(d - c) v.AddArg2(v0, v2) return true } break } // match: (AndB (Leq32 (Const32 [c]) x) (Less32 x (Const32 [d]))) // cond: d >= c // result: (Less32U (Sub32 <x.Type> x (Const32 <x.Type> [c])) (Const32 <x.Type> [d-c])) for { for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 { if v_0.Op != OpLeq32 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
// license that can be found in the LICENSE file. // constant conversions package const1 import "math" const( mi = ^int(0) mu = ^uint(0) mp = ^uintptr(0) logSizeofInt = uint(mi>>8&1 + mi>>16&1 + mi>>32&1) logSizeofUint = uint(mu>>8&1 + mu>>16&1 + mu>>32&1) logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1) ) const ( minInt8 = -1<<(8<<iota - 1) minInt16 minInt32 minInt64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K 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)