Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for RESIZE (0.12 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

            (returnType (GetNhwcReturnTypeFromNchw $old_val))),
          (Arith_ConstantOp
            ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 3, 1, 2}">))>;
    
    // pattern to lower a stablehlo.composite of `jax` and `pytorch` image resize fuctions
    // in `nearest` mode and with NHWC inputs to a tflite.resize_nearest_neighbor op.
    def LegalizeNhwcResizeNearestNeighbor2dComposite: Pat<
        (MHLO_CompositeOp:$old_val
        (variadic $input),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/string_utils.cc

      // max_length_` we can use this subtraction to check for overflow.
      if (len > max_length_ || data_.size() >= max_length_ - len)
        return absl::ResourceExhaustedError("Buffer overflow");
      data_.resize(data_.size() + len);
      memcpy(data_.data() + offset_.back(), str, len);
      offset_.push_back(offset_.back() + len);
      return absl::OkStatus();
    }
    
    int MiniDynamicBuffer::WriteToBuffer(char** buffer) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    func RecordResourceVersion(resourcePrefix string, resourceVersion uint64) {
    	watchCacheResourceVersion.WithLabelValues(resourcePrefix).Set(float64(resourceVersion))
    }
    
    // RecordsWatchCacheCapacityChange record watchCache capacity resize(increase or decrease) operations.
    func RecordsWatchCacheCapacityChange(objType string, old, new int) {
    	WatchCacheCapacity.WithLabelValues(objType).Set(float64(new))
    	if old < new {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference.cc

      for (const Node* node : graph.nodes()) {
        shape_inference::InferenceContext* context = shape_refiner.GetContext(node);
        if (!context) continue;
    
        auto& outputs = (*shape_info)[node->name()];
        outputs.resize(context->num_outputs());
        for (int i = 0; i < context->num_outputs(); ++i) {
          auto& output = outputs[i];
          TF_RETURN_IF_ERROR(
              ShapeHandleToTensorShape(context, context->output(i), &output.shape));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    								},
    							},
    						},
    					},
    				}
    				return &pa
    			},
    		},
    	} {
    		pod, kps := makeBasePodAndStatus()
    		for idx := range pod.Spec.Containers {
    			// default resize policy when pod resize feature is enabled
    			pod.Spec.Containers[idx].ResizePolicy = []v1.ContainerResizePolicy{cpuPolicyRestartNotRequired, memPolicyRestartNotRequired}
    		}
    		if test.podResizePolicyFn != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    	// Ensure the pod is being probed
    	kl.probeManager.AddPod(pod)
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		// Handle pod resize here instead of doing it in HandlePodUpdates because
    		// this conveniently retries any Deferred resize requests
    		// TODO(vinaykul,InPlacePodVerticalScaling): Investigate doing this in HandlePodUpdates + periodic SyncLoop scan
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (1)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	// To preserve behavior of tests that assume a given capacity,
    	// resize it to th expected size.
    	wc.capacity = capacity
    	wc.cache = make([]*watchCacheEvent, capacity)
    	wc.lowerBoundCapacity = min(capacity, defaultLowerBoundCapacity)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      const search = find('search');
      const actions = find('action-menu');
      const actionTitle = find('action-title');
      const detailBox = find('current-details');
    
      window.addEventListener('resize', render);
      window.addEventListener('popstate', render);
      search.addEventListener('keydown', handleSearchKey);
    
      // Withdraw action menu when clicking outside, or when item selected.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    			kl.statusManager.SetPodStatus(test.pod, oldStatus)
    			actual := kl.generateAPIPodStatus(test.pod, &testKubecontainerPodStatus /* criStatus */, false /* test.isPodTerminal */)
    
    			if actual.Resize != "" {
    				t.Fatalf("Unexpected Resize status: %s", actual.Resize)
    			}
    		})
    	}
    }
    
    func findContainerStatusByName(status v1.PodStatus, name string) *v1.ContainerStatus {
    	for i, c := range status.InitContainerStatuses {
    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. android/guava/src/com/google/common/collect/ImmutableSet.java

          E element = (E) requireNonNull(elements[0]);
          return new SingletonImmutableSet<E>(element);
        } else if (chooseTableSize(uniques) < tableSize / 2) {
          // Resize the table when the array includes too many duplicates.
          return construct(uniques, elements);
        } else {
          @Nullable
          Object[] uniqueElements =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top