- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 261 for yield4 (0.22 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute_legacy.mlir
tf_executor.yield %a, %launch#0, %launch#1, %c : tensor<i1>, tensor<f32>, tensor<i32>, tensor<i1> } tf_executor.fetch } func.return } // CHECK: %[[A:.*]] = "tf.opA" // CHECK: %[[B:.*]]:2 = "tf.opB"(%[[A]]) // CHECK-SAME: device = "CPU:0" // CHECK: %[[C:.*]] = "tf.opC" // CHECK-NOT: "tf_device.launch" // CHECK: tf_executor.yield %[[A]], %[[B]]#1, %[[B]]#0, %[[C]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 21 20:14:51 UTC 2022 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-executor-to-functional.mlir
%output0, %control0 = tf_executor.island { %a = "tf.opA"(%arg0) : (tensor<i32>) -> tensor<i32> tf_executor.yield %a : tensor<i32> } %output1, %control1 = tf_executor.island { %b = "tf.opB"(%output0) : (tensor<i32>) -> tensor<i32> tf_executor.yield %b : tensor<i32> } tf_executor.fetch %output1 : tensor<i32> } func.return %graph_result : tensor<i32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 04 03:54:58 UTC 2022 - 4.9K bytes - Viewed (0) -
docs_src/dependencies/tutorial008_an_py39.py
from fastapi import Depends async def dependency_a(): dep_a = generate_dep_a() try: yield dep_a finally: dep_a.close() async def dependency_b(dep_a: Annotated[DepA, Depends(dependency_a)]): dep_b = generate_dep_b() try: yield dep_b finally: dep_b.close(dep_a) async def dependency_c(dep_b: Annotated[DepB, Depends(dependency_b)]):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 521 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/rewrite_tpu_embedding_ops.mlir
"tf.Yield"(%0) : (tensor<512x256xf32>) -> () }, { "tf.Yield"(%arg2) : (tensor<512x256xf32>) -> () }) { is_stateless = true}: (tensor<i1>) -> tensor<512x256xf32> "tf.Yield"(%1) : (tensor<512x256xf32>) -> () }, { "tf.Yield"(%arg2) : (tensor<512x256xf32>) -> () }) { is_stateless = true}: (tensor<i1>) -> tensor<512x256xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4.2K bytes - Viewed (0) -
src/maps/iter.go
return func(yield func(K, V) bool) { for k, v := range m { if !yield(k, v) { return } } } } // Keys returns an iterator over keys in m. // The iteration order is not specified and is not guaranteed // to be the same from one call to the next. func Keys[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[K] { return func(yield func(K) bool) { for k := range m {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 13:41:45 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir
tf_device.return %2 : tensor<i64> } tf_executor.yield %1#0, %1#1 : tensor<i64>, tensor<i64> } tf_executor.fetch } func.return } // CHECK: tf_executor.island // CHECK: [[CONST_0:%.+]] = "tf.Const" // CHECK-SAME: value = dense<1> : tensor<i64> // CHECK: tf_executor.yield [[CONST_0]] // CHECK: tf_executor.island // CHECK: [[CONST_1:%.+]] = "tf.Const"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/convert-tf-control-flow-to-scf.mlir
%add = "tf.AddV2"(%call, %call) : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32> "tf.Yield"(%call, %add) : (tensor<4xf32>, tensor<4xf32>) -> () }, { %call_0 = func.call @test_if_else1(%arg1) : (tensor<4xf32>) -> tensor<4xf32> "tf.Yield"(%call_0, %call_0) : (tensor<4xf32>, tensor<4xf32>) -> () }) {is_stateless = false} : (tensor<i1>) -> (tensor<*xf32>, tensor<4xf32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir
// CHECK-SAME: _xla_compile_device_type = "TPU" // CHECK-SAME: device = "/job:localhost/replica:0/task:0/device:TPU:1" // CHECK: "tf.Yield"(%[[FUNC_CALL]]) // CHECK: "tf.Yield"(%[[ARG_5]]) // CHECK: "tf.Yield"(%[[HAS_VALUE]], %[[IF]]) %1 = "tf.ReduceDataset"(%arg0, %arg1) { Targuments = [], Tstate = [i64], device = "/job:localhost/replica:0/task:0/device:TPU:1",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 18 17:16:34 UTC 2022 - 9.8K bytes - Viewed (0) -
src/slices/iter.go
return func(yield func(int, E) bool) { for i, v := range s { if !yield(i, v) { return } } } } // Backward returns an iterator over index-value pairs in the slice, // traversing it backward. The indexes range from len(s)-1 down to 0. func Backward[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] { return func(yield func(int, E) bool) { for i := len(s) - 1; i >= 0; i-- {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:40:32 UTC 2024 - 2.9K bytes - Viewed (0)