Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 99 for newPos (0.13 sec)

  1. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      // orig_op, except the op name.
      auto* new_op = new EagerOperation(&ctx);
      TF_RETURN_IF_ERROR(
          new_op->Reset(fname.c_str(), orig_op->DeviceName().c_str()));
      for (auto input : orig_op->GetInputs()) {
        TF_RETURN_IF_ERROR(new_op->AddInput(input));
      }
      new_op->MutableAttrs()->CopyAttributes(orig_op->Attrs());
      out_op->reset(new_op);
    
      LOG_FIRST_N(INFO, 1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    		name           string
    		pod            *v1.Pod
    		oldPod, newPod *v1.Pod
    		expectedHint   framework.QueueingHint
    		expectedErr    bool
    	}{
    		{
    			name: "add pod with labels match topologySpreadConstraints selector",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    			newPod:       st.MakePod().Node("fake-node").Label("foo", "").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/name_anonymous_iterators.cc

    int replace(OP op, int count) {
      OpBuilder builder(op);
      std::string name = absl::StrFormat("_iterator%d", count++);
    
      auto new_op = builder.create<TF::IteratorOp>(
          op->getLoc(), op->getResultTypes()[0], name, /*container=*/"",
          op.getOutputTypes(), op.getOutputShapes());
      op->getResults()[0].replaceAllUsesWith(new_op->getResults()[0]);
      if (op->use_empty()) op->erase();
      return count;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

      auto new_op = OpBuilder(op).create<TFL::WhileOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(),
          while_op.getIsStateless());
      Location loc = while_op->getLoc();
      CreateRegionWithCall(while_op.cond_function(), new_op.getCond(), loc);
      CreateRegionWithCall(while_op.body_function(), new_op.getBody(), loc);
    
      op->replaceAllUsesWith(new_op.getResults());
      op->erase();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	deleteBucketRPC                = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeleteBucket, grid.NewMSS, grid.NewNoPayload)
    	deletePolicyRPC                = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeletePolicy, grid.NewMSS, grid.NewNoPayload).IgnoreNilConn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

                                                    .cast<quant::QuantizedType>()
                                                    .getStorageType());
            auto new_op = builder.create<TFR::CastOp>(
                returned_op->getLoc(), new_type, returned_op.getArg());
            returned_value.set(new_op.getResult());
            if (returned_op.use_empty()) {
              returned_op.erase();
            }
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    					Name:            ns,
    					ResourceVersion: fmt.Sprintf("%d", i),
    				},
    			})
    		}
    		return true, namespaceList, nil
    	})
    	return mockClient
    }
    
    // newPod returns a new pod for the specified namespace
    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    		pod.Status = corev1.PodStatus{}
    		newPod := s.pc.Create(pod)
    		if markReady {
    			setPodReady(newPod)
    		}
    		newPod.Status.PodIP = ip
    		newPod.Status.Phase = corev1.PodRunning
    		newPod.Status.PodIPs = []corev1.PodIP{
    			{
    				IP: ip,
    			},
    		}
    		s.pc.UpdateStatus(newPod)
    	} else {
    		s.pc.Update(pod)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      auto new_op = OpBuilder(op).create<CaseOrIfOp>(
          op.getLoc(), first_branch.getFunctionType().getResults(), new_operands,
          op->getAttrs());
      for (const auto& entry : output_buffer_to_size) {
        (*buffer_to_size)[new_op.getResult(std::get<0>(entry))] = {
            new_op.getResult(std::get<1>(entry)), std::get<2>(entry)};
      }
      op.replaceAllUsesWith(new_op.getResults().take_front(op.getNumResults()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    					}
    					for _, newFS := range newFSs {
    						t.Logf("For %s, digesting newFS=%s", trialStep, fcfmt.Fmt(newFS))
    					}
    				}
    				_ = ctlr.lockAndDigestConfigObjects(newPLs, newFSs)
    			}
    			for plName, hr, nCount := cts.popHeldRequest(); hr != nil; plName, hr, nCount = cts.popHeldRequest() {
    				if testDebugLogs {
    					desired := desiredPLNames.Has(plName) || mandPLs[plName] != nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top