Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,381 for yield (0.46 sec)

  1. test/range2.go

    func (*T) PM() {}
    func (T) M()   {}
    
    func test() {
    	for range T.M { // ERROR "cannot range over T.M \(value of type func\(T\)\): func must be func\(yield func\(...\) bool\): argument is not func"
    	}
    	for range (*T).PM { // ERROR "cannot range over \(\*T\).PM \(value of type func\(\*T\)\): func must be func\(yield func\(...\) bool\): argument is not func"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:32:14 UTC 2023
    - 830 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir

          %3 = "tf_device.cluster"() ({
            %4 = "tf.B"(%2) : (tensor<?xi32>) -> tensor<?xi32>
            tf_device.return %4 : tensor<?xi32>
          }) {} : () -> tensor<?xi32>
    
          // CHECK: tf_executor.yield %[[CLUSTER_OUTPUT]]
          tf_executor.yield %3 : tensor<?xi32>
        }
        tf_executor.fetch %1#0 : tensor<?xi32>
      }
      func.return %0 : tensor<?xi32>
    }
    
    // CHECK: func private @[[CLUSTER]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/tfl_while_op_licm.mlir

          %0 = "arith.constant" () {value = dense<0> : tensor<i32>} : () -> tensor<i32> loc("Const")
          %1 = "tfl.greater"(%condArg0, %0) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
          "tfl.yield"(%1) : (tensor<i1>) -> ()
        },
        // body
        {
        ^bb0(%bodyArg0: tensor<*xi32>, %bodyArg1: tensor<*xf32>):
          %0 = "arith.constant" () {value = dense<1> : tensor<i32>} : () -> tensor<i32> loc("Const")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                        yield webConfigService.getWebConfig(id).get();
                    }
                    case FILE -> {
                        final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                        yield fileConfigService.getFileConfig(id).get();
                    }
                    case DATA -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/replica_id_to_device_ordinal.mlir

              tf_device.return
            }) {device = "/job:worker/replica:0/task:0/device:CPU:0"} : () -> ()
            tf_executor.yield
          }
          tf_executor.fetch
        }
        func.return
      }
    
      // CHECK:      tf_executor.island
      // CHECK:      "tf.EnqueueTPUEmbeddingArbitraryTensorBatch"
      // CHECK-SAME:   device_ordinal = 0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/tests/control_flow.mlir

          %reduce_next =  tfr.call @tf__risc_concat(%reduce_iter, %temp1, %axis) : (!tfr.tensor, !tfr.tensor, i32) -> !tfr.tensor
          scf.yield %reduce_next : !tfr.tensor
        }
        scf.yield %reduce : !tfr.tensor
      }
      tfr.return %res : !tfr.tensor
    }
    
    // CHECK-LABEL: pack_one
    func.func @pack_one(%arg0: tensor<2x3xf32>) -> tensor<1x2x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir

    // CHECK:     %[[RES0:.*]] = func.call @cond(%arg1) : (tensor<*xf32>) -> tensor<*xf32>
    // CHECK:     "tfl.yield"(%[[RES0]]) : (tensor<*xf32>) -> ()
    // CHECK:   },  {
    // CHECK:   ^bb0(%arg1: tensor<*xf32>):
    // CHECK:     %[[RES1:.*]] = func.call @body(%arg1) : (tensor<*xf32>) -> tensor<*xf32>
    // CHECK:     "tfl.yield"(%[[RES1]]) : (tensor<*xf32>) -> ()
    // CHECK:   }) : (tensor<1xf32>) -> tensor<*xf32>
    // CHECK:   return %0 : tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 11 07:12:22 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/analyze-variables.mlir

          %3 = "tfl.greater"(%arg1, %2) : (tensor<*xi32>, tensor<*xi32>) -> tensor<i1>
          "tfl.yield"(%3) : (tensor<i1>) -> ()
      },  {
        ^bb0(%arg3: tensor<*xi32>, %arg4: tensor<i32>):
          %4 = "tfl.sub"(%arg3, %arg4) {fused_activation_function = "NONE"} :
            (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
          "tfl.yield"(%4) : (tensor<*xi32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 09 11:49:28 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/iter-pull.go

    				break
    			}
    			iterChans[0] <- i
    		}
    	}()
    	wg.Wait()
    
    	// End of traced execution.
    	trace.Stop()
    }
    
    func pullRange(n int) intIter {
    	next, stop := iter.Pull(func(yield func(v int) bool) {
    		for i := range n {
    			yield(i)
    		}
    	})
    	return intIter{next: next, stop: stop}
    }
    
    type intIter struct {
    	next func() (int, bool)
    	stop func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/raise-custom-ops.mlir

    // CHECK-NEXT:   %[[MY_CUSTOM:.*]] = "tf.MyCustomOp"(%arg1, %arg2) {fused_activation_function = "RELU", int_attr = 2 : i32} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
    // CHECK-NEXT:   "tfl.yield"(%[[MY_CUSTOM]]) : (tensor<4xf32>) -> ()
    // CHECK-NEXT: }) {fused_activation_function = "RELU", int_attr = 2 : i32} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
    // CHECK-NEXT: %[[CUSTOM_2:.*]] = "tfl.custom_tf"(%[[MUL]], %[[CST]]) ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top