Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for newPos (0.14 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        builder->setInsertionPoint(op);
        Operation* new_op = builder->create(state);
    
        // Insert quantize ops for every outputs and rewrite.
        for (int i = 0; i < op->getNumResults(); ++i) {
          auto result = op->getResult(i);
          auto result_type = result.getType();
    
          Value new_result = new_op->getResult(i);
          if (IsQI8Type(result_type) || IsQUI8Type(result_type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K 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. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    	all := labels.Everything()
    	newPLs, err := cfgCtlr.plLister.List(all)
    	if err != nil {
    		return 0, fmt.Errorf("unable to list PriorityLevelConfiguration objects: %w", err)
    	}
    	newFSs, err := cfgCtlr.fsLister.List(all)
    	if err != nil {
    		return 0, fmt.Errorf("unable to list FlowSchema objects: %w", err)
    	}
    	return cfgCtlr.digestConfigObjects(newPLs, newFSs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

                           op->getOperands(), result_types, op->getAttrs());
      for (int i = 0; i < op->getNumRegions(); ++i) {
        state.addRegion();
      }
      Operation* new_op = builder.create(state);
      for (const auto& indexed_regions : llvm::enumerate(op->getRegions())) {
        Region& region = op->getRegion(indexed_regions.index());
        IRMapping mapping;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/registry/batch/cronjob/strategy.go

    			fieldpath.MakePathOrDie("spec"),
    		),
    	}
    }
    
    func (cronJobStatusStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    	newJob := obj.(*batch.CronJob)
    	oldJob := old.(*batch.CronJob)
    	newJob.Spec = oldJob.Spec
    }
    
    func (cronJobStatusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return field.ErrorList{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 15:14:03 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. pkg/kubelet/pod/pod_manager.go

    	var numEC int
    	if oldPod != nil {
    		numEC -= len(oldPod.Spec.EphemeralContainers)
    	}
    	if newPod != nil {
    		numEC += len(newPod.Spec.EphemeralContainers)
    	}
    	if numEC != 0 {
    		metrics.ManagedEphemeralContainers.Add(float64(numEC))
    	}
    }
    
    // updatePodsInternal replaces the given pods in the current state of the
    // manager, updating the various indices. The caller is assumed to hold the
    // lock.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kube/inject/inject.go

    	}
    }
    
    func updateClusterEnvs(container *corev1.Container, newKVs map[string]string) {
    	envVars := make([]corev1.EnvVar, 0)
    
    	for _, env := range container.Env {
    		if _, found := newKVs[env.Name]; !found {
    			envVars = append(envVars, env)
    		}
    	}
    
    	keys := make([]string, 0, len(newKVs))
    	for key := range newKVs {
    		keys = append(keys, key)
    	}
    	sort.Strings(keys)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  9. pkg/scheduler/framework/plugins/registry.go

    		volumezone.Name:                      volumezone.New,
    		nodevolumelimits.CSIName:             runtime.FactoryAdapter(fts, nodevolumelimits.NewCSI),
    		nodevolumelimits.EBSName:             runtime.FactoryAdapter(fts, nodevolumelimits.NewEBS),
    		nodevolumelimits.GCEPDName:           runtime.FactoryAdapter(fts, nodevolumelimits.NewGCEPD),
    		nodevolumelimits.AzureDiskName:       runtime.FactoryAdapter(fts, nodevolumelimits.NewAzureDisk),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. 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)
Back to top