Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for terminator (0.55 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
      if (auto launch_op = dyn_cast<tf_device::LaunchOp>(op)) {
        auto terminator = launch_op.GetBody().getTerminator();
        return RefineTypeForPassThroughOperands(op, terminator->getOperands(),
                                                op->getResults());
      }
      if (auto cluster_op = dyn_cast<tf_device::ClusterOp>(op)) {
        auto terminator = cluster_op.GetBody().getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    };
    
    using mhlo::DotDimensionNumbersAttr;
    
    // Replaces `region`'s terminator to TF::Yield.
    void ReplaceReturnOp(Region& region, PatternRewriter& rewriter) {
      OpBuilder::InsertionGuard guard(rewriter);
    
      for (auto& block : region.getBlocks()) {
        Operation* terminator = block.getTerminator();
        auto return_op = llvm::dyn_cast_or_null<mhlo::ReturnOp>(terminator);
        if (return_op == nullptr) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          }
        }
    
        // Verify that all operations except the terminator have exactly one
        // result of type supported by TFLite (or is a ControlType, which
        // will be removed later by ExtractControlEdges.)
        for (auto& inst : bb) {
          if (inst.hasTrait<mlir::OpTrait::IsTerminator>()) break;
    
          for (auto result : inst.getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

            continue;
          }
          // Check if the same extern value is returned in each branch.
          for (Region* region : branches.drop_front()) {
            Operation* terminator = region->front().getTerminator();
            if (terminator->getOperand(index) != returned_val) return failure();
          }
          result_to_extern_value[result] = returned_val;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      Operation& yield = control_node.GetBody().back();
      if (!isa<YieldOp>(yield))
        return yield.emitOpError()
               << "invalid TFL.control_node terminator, yield expected";
    
      // Ensure that the terminator's operands and the control_node results match in
      // types.
      const int result_count =
          control_node.getNumResults() - 1;  // 1 for control token
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // tf.IfRegion regions should be terminated with a tf.Yield
    func.func @testIfRegionThenTerminator(%arg0: tensor<i1>, %arg1: tensor<2xf32>) -> tensor<2xf32> {
      // expected-error @+2 {{block with no terminator}}
      %0 = "tf.IfRegion"(%arg0) ({
         %t = "tf.Abs"(%arg1) : (tensor<2xf32>) -> tensor<2xf32>
       }, {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_YieldOp : Op<TFL_Dialect, "yield",
      [Pure,
       Terminator,
       QuantizableResult,
       DeclareOpInterfaceMethods<TFL_RuntimeVerification>]> {
      let summary = "Yield operation";
      let description = [{
        The "yield" operation represents a return operation within the conditional
        and body of structured control flow (e.g., while), and a terminator for ControlNodeOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    	case terminated != nil:
    		// in cases where the next container didn't start, terminated.ContainerID will be empty, so get logs from the lastState.Terminated.
    		if terminated.ContainerID == "" {
    			if lastState.Terminated != nil && lastState.Terminated.ContainerID != "" {
    				cID = lastState.Terminated.ContainerID
    			} else {
    				return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is terminated", containerName, podName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    				kubelet_working_pods{config="runtime_only",lifecycle="terminating",static="unknown"} 0
    				`,
    			},
    		},
    		{
    			name:           "pod that could not start and is not in config is force terminated without runtime during pod cleanup",
    			wantErr:        false,
    			terminatingErr: errors.New("unable to terminate"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

            RegionSuccessor(&getCond(), getCond().front().getArguments()));
      } else if (point.isParent()) {
        // The parent branches to 'cond'. It is also considered to branch to `body`
        // in case the terminator of `cond` doesn't forward the arguments of `cond`.
        regions.push_back(
            RegionSuccessor(&getCond(), getCond().front().getArguments()));
        regions.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top