Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mirror_pad (0.28 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @mirror_pad(tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<2x1x3xf32>, %arg1: tensor<3x2xi32>):
      %0 = "tf.MirrorPad"(%arg0, %arg1) { mode = "SYMMETRIC" }: (tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<? x f32>
      func.return %0#0 : tensor<? x f32>
    
      // CHECK-LABEL: mirror_pad
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    		kl.podManager.AddPod(pod)
    
    		pod, mirrorPod, wasMirror := kl.podManager.GetPodAndMirrorPod(pod)
    		if wasMirror {
    			if pod == nil {
    				klog.V(2).InfoS("Unable to find pod for mirror pod, skipping", "mirrorPod", klog.KObj(mirrorPod), "mirrorPodUID", mirrorPod.UID)
    				continue
    			}
    			kl.podWorkers.UpdatePod(UpdatePodOptions{
    				Pod:        pod,
    				MirrorPod:  mirrorPod,
    				UpdateType: kubetypes.SyncPodUpdate,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    // LINT.ThenChange(//tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc)
    
    def TFL_MirrorPadOp: TFL_Op<"mirror_pad", [
                         SameOperandsAndResultsScale,
                         QuantizableResult,
                         Pure,
                         TFL_OperandHasRank<1, 2>]> {
      let summary = "MirrorPad Operator. Pads a tensor with mirrored values.";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    	// Mirror pod has an outdated spec.
    	mirrorPod := podWithUIDNameNsSpec("11111111", "foo", "ns", v1.PodSpec{
    		Containers: []v1.Container{
    			{Name: "1234", Image: "bar"},
    		},
    	})
    	mirrorPod.Annotations[kubetypes.ConfigSourceAnnotationKey] = "api"
    	mirrorPod.Annotations[kubetypes.ConfigMirrorAnnotationKey] = "mirror"
    
    	pods := []*v1.Pod{pod, mirrorPod}
    	kl.podManager.SetPods(pods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    			continue
    		}
    		kl.podWorkers.UpdatePod(UpdatePodOptions{
    			UpdateType: kubetypes.SyncPodCreate,
    			Pod:        pod,
    			MirrorPod:  mirrorPod,
    		})
    
    		// the desired pod is now known as well
    		workingPods[desiredPod.UID] = PodWorkerSync{State: SyncPod, HasConfig: true, Static: isStatic}
    		if isStatic {
    			// restartable static pods are the normal case
    			restartCountStatic++
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods_test.go

    				pod := staticPod()
    
    				w.UpdatePod(UpdatePodOptions{
    					UpdateType: kubetypes.SyncPodCreate,
    					StartTime:  time.Unix(1, 0).UTC(),
    					Pod:        pod,
    					MirrorPod:  mirrorPod(pod, "node-1", "node-uid-1"),
    				})
    				drainAllWorkers(w)
    
    				// expect we get a pod sync record for kill that should have the default grace period
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      %paddings = "tf.Const"() {value = dense<[0, 1]> : tensor<2xi64>} : () -> tensor<2xi64>
      // expected-error @+1 {{failed to verify that operand 1 is 2-D}}
      %0 = "tf.MirrorPad"(%input, %paddings) { mode = "SYMMETRIC" }: (tensor<2xi64>, tensor<2xi64>) -> tensor<3xi64>
      func.return %0 : tensor<3xi64>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top