Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 264 for yield4x (0.15 sec)

  1. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

        "tfl.yield"(%1) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>):
        // CHECK: call @WhileOp_body
        // CHECK-SAME: (tensor<*xi32>, tensor<*xf32>, tensor<i32>)
        %1:3 = func.call @WhileOp_body(%arg0, %arg1, %cst) : (tensor<*xi32>, tensor<*xf32>, tensor<i32>) -> (tensor<*xi32>, tensor<*xf32>, tensor<i32>)
        "tfl.yield"(%1#0, %1#1) : (tensor<*xi32>, tensor<*xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

        // CHECK: "tf.ReadVariableOp"([[name]])
        %cond = builtin.unrealized_conversion_cast to tensor<i1>
        %0 = "tf.IfRegion"(%cond) ({
          "tf.Yield"(%arg0) : (tensor<!tf_type.resource<tensor<10xf32>>>) -> ()
        }, {
          "tf.Yield"(%arg0) : (tensor<!tf_type.resource<tensor<10xf32>>>) -> ()
        }) { is_stateless = false} : (tensor<i1>) -> tensor<!tf_type.resource<tensor<10xf32>>>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

      func.return
    }
    
    // -----
    
    // Check that a tf_executor.yield parent is a tf_executor.island.
    func.func @parent_is_island() {
      "tf.some_op"() ({
        tf_executor.yield
    // expected-error@-1 {{'tf_executor.yield' op expects parent op 'tf_executor.island'}}
      }) : () -> ()
      func.return
    }
    
    // -----
    
    // Check that an island yield matches the island results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

        %1 = "tf.WhileRegion"(%0) ({
           // Condition region
           // CHECK: ^bb
           // CHECK: "tf.Yield"
           ^bb0(%carg0: tensor<i32>):
              %c0 = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
              %c1 = "tf.GreaterEqual"(%carg0, %0) {T = i32, device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i1>
              "tf.Yield"(%c1) : (tensor<i1>) -> ()
          }, {
           // Body region
           // CHECK: ^bb0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

                "tf.Yield"(%u0, %id0, %id0) : (!tf_res, !tf_res, !tf_res) -> ()
              }, {
                // expected-remark@below {{Result #0, ID 3 : 0, 1, 3, 4, 5}}
                %id0 = "tf.Identity"(%vh0) : (!tf_res) -> !tf_res
                "tf.Yield"(%id0, %id0, %arg0) : (!tf_res, !tf_res, !tf_res) -> ()
              }, {
                "tf.Yield"(%vh0, %arg1, %arg1) : (!tf_res, !tf_res, !tf_res) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

        }
      }
      OpBuilder::atBlockEnd(&island_body)
          .create<YieldOp>(new_island.getLoc(), yield_operands);
    
      // remap results of the new islands to the user outside of the island.
      int current_result = 0;
      Value control = new_island.getControl();
      for (IslandOp island : islands) {
        YieldOp yield_op = island.GetYield();
        for (const auto& idx_result : llvm::enumerate(island.getOutputs())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

          merged_then_yield_values.push_back(
              if_op.getThenBranch().front().getTerminator()->getOperand(i));
        }
      }
      builder.setInsertionPointToEnd(&new_if_op.getThenBranch().front());
      builder.create<TF::YieldOp>(
          first_if.getThenBranch().front().getTerminator()->getLoc(),
          /*operands=*/merged_then_yield_values);
    
      llvm::SmallVector<Value, 4> merged_else_yield_values;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      auto while_input_types = dataset_while.getOperandTypes();
      cond_block->addArguments(
          while_input_types, SmallVector<Location>(while_input_types.size(), loc));
      builder.create<YieldOp>(loc, cond_block->getArgument(0));
    }
    
    // Create an IfRegionOp with a predicate from `optional_has_value`.  If true, it
    // uses `get_next` to get the next value and calls `reduce_func`.  `body_args`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    	informerFactory.Start(ctx.Done())
    	if !cache.WaitForCacheSync(ctx.Done(), ctbInformer.Informer().HasSynced) {
    		t.Fatalf("Timed out waiting for informer to sync")
    	}
    
    	t.Run("foo should yield the first certificate", func(t *testing.T) {
    		gotBundle, err := ctbManager.GetTrustAnchorsByName("foo", false)
    		if err != nil {
    			t.Fatalf("Got error while calling GetTrustAnchorsBySigner: %v", err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation_test.go

    				Properties: map[string]apiextensions.JSONSchemaProps{
    					"fieldX": {
    						Type:          "object",
    						MaxProperties: utilpointer.Int64(2),
    					},
    				},
    			},
    			failingObjects: []failingObject{
    				{object: map[string]interface{}{"fieldX": map[string]interface{}{"a": true, "b": true, "c": true}}, expectErrs: []string{
    					`fieldX: Too many: 3: must have at most 2 items`,
    				}},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 04:49:59 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top