Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for newpod (0.16 sec)

  1. src/cmd/vendor/golang.org/x/term/terminal.go

    	t.queue(op)
    }
    
    const maxLineLength = 4096
    
    func (t *Terminal) setLine(newLine []rune, newPos int) {
    	if t.echo {
    		t.moveCursorToPos(0)
    		t.writeLine(newLine)
    		for i := len(newLine); i < len(t.line); i++ {
    			t.writeLine(space)
    		}
    		t.moveCursorToPos(newPos)
    	}
    	t.line = newLine
    	t.pos = newPos
    }
    
    func (t *Terminal) advanceCursor(places int) {
    	t.cursorX += places
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      Operation* new_op = rewriter.create(new_state);
      if (materialize_derived_attrs_) {
        for (const auto& attr : derived_attrs) {
          // Add or update the derived attribute with the value. Skip the fixed
          // element type attributes, in case they are present in the NodeDef.
          if (!fixed_elt_type_attrs_.contains(attr.first())) {
            new_op->setAttr(attr.first(), attr.second);
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    //     correctness and security.
    //
    // Note: this is only used by endpointslice controller
    func getPod(c *Controller, ip string, ep *metav1.ObjectMeta, targetRef *corev1.ObjectReference, host host.Name) (*corev1.Pod, bool) {
    	var expectPod bool
    	pod := c.getPod(ip, ep.Namespace, targetRef)
    	if targetRef != nil && targetRef.Kind == "Pod" {
    		expectPod = true
    		if pod == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                  op->getLoc(), cast<TypedAttr>(attribute));
            }
            new_operands.push_back(attr_cst);
          }
        }
    
        // Create the TFR call op
        auto new_op = builder.create<CallOp>(
            op->getLoc(), compose_func_type.getResults(),
            SymbolRefAttr::get(builder.getContext(), compose_func.getName()),
            new_operands);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. pkg/kubelet/config/config.go

    	}
    
    	// updatePodFunc is the local function which updates the pod cache *oldPods* with new pods *newPods*.
    	// After updated, new pod will be stored in the pod cache *pods*.
    	// Notice that *pods* and *oldPods* could be the same cache.
    	updatePodsFunc := func(newPods []*v1.Pod, oldPods, pods map[types.UID]*v1.Pod) {
    		filtered := filterInvalidPods(newPods, source, s.recorder)
    		for _, ref := range filtered {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

                                            new_op->getResult(0), dump_attributes);
    
          if (debugger_type_ == DebuggerConfig::DEBUGGER_TYPE_FLOAT_PER_LAYER) {
            // Swap all uses between call_op and ref_call_op, except for the
            // particular use that owns DumpTensor.
            rewriter.replaceUsesWithIf(
                op.getResult(0), new_op->getResult(0), [](OpOperand &use) -> bool {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

                             new_operands, op->getResultTypes(), op->getAttrs(),
                             op->getSuccessors());
        Operation *new_op = rewriter.create(state);
        llvm::SmallVector<Value, 4> new_results = new_op->getResults();
    
        // Add qint->int CastOp after output result if its original type is qint and
        // its users are not all qint->int CastOps.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      OpBuilder builder(op);
      Operation *new_op = Operation::create(
          op->getLoc(), op->getName(), new_result_types, op->getOperands(),
          op->getAttrs(), op->getPropertiesStorage(), op->getSuccessors(),
          op->getNumRegions());
      builder.insert(new_op);
    
      // Move region bodies to the new operation.
      for (auto it : llvm::zip(op->getRegions(), new_op->getRegions())) {
        Region &old_region = std::get<0>(it);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

            operands.push_back(new_control_input);
          }
        }
        state.addOperands(operands);
        Operation* new_op = builder.create(state);
        item.replaceAllUsesWith(new_op);
        new_op->setAttrs(item.getAttrDictionary());
        item.erase();
      }
      AddStatefulControlFlowDependencies(graph_op);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      OpBuilder builder(op->getContext());
      builder.setInsertionPointAfter(op);
      arith::ConstantOp new_op = cast<arith::ConstantOp>(builder.clone(*op));
      target_op->getOpOperand(operand_index).set(new_op.getResult());
      InitializeOperandState(target_op, operand_index, new_op.getResult());
      InitializeResultState(new_op, 0, new_op.getResult());
      return new_op;
    }
    
    bool QuantizationDriver::ShouldCheckBiasScale(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
Back to top