Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getPerm (0.32 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          if (axis != i / 2) return failure();
          ++i;
        }
    
        // Check whether first tranpose's perm has [2, 1, 0, 3].
        DenseIntElementsAttr perm;
        if (!matchPattern(transpose_first.getPerm(), m_Constant(&perm)))
          return failure();
        SmallVector<int64_t, 4> axes;
        for (const auto &axis_int : perm.getValues<APInt>()) {
          axes.push_back(axis_int.getSExtValue());
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          }
        }
      }
    
      // Permutations defined by constant operations.
      DenseIntElementsAttr perm0;
      DenseIntElementsAttr perm1;
      if (!matchPattern(op.getPerm(), m_Constant(&perm0)) ||
          !matchPattern(transpose.getPerm(), m_Constant(&perm1)))
        return {};
    
      // With permutation indices that cancel each other
      if (!AreCancellablePermutations(perm0, perm1)) return {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    mlir::LogicalResult TransposeOp::verify() {
      TransposeOp op = *this;
      auto input_type = op.getInput().getType().cast<ShapedType>();
      auto perm_type = op.getPerm().getType().cast<ShapedType>();
      auto output_type = op.getOutput().getType().cast<ShapedType>();
      if (input_type.hasStaticShape() && perm_type.hasStaticShape()) {
        if (perm_type.getNumElements() != input_type.getRank()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                applyServiceInjectionToGetter(property, null, getter);
            }
    
            @Override
            public void applyServiceInjectionToGetter(PropertyMetadata property, @Nullable final Class<? extends Annotation> annotation, MethodMetadata getter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    				return true, 0
    			})
    		}
    
    		podReasonUpdate := false
    		for _, action := range item.fakeNodeHandler.Actions() {
    			if action.GetVerb() == "update" && action.GetResource().Resource == "pods" {
    				updateReason := action.(testcore.UpdateActionImpl).GetObject().(*v1.Pod).Status.Reason
    				podReasonUpdate = true
    				if updateReason != item.expectedReason {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  6. src/crypto/x509/x509_test.go

    	}
    	for i := range a.lazyCerts {
    		la, lb := a.lazyCerts[i], b.lazyCerts[i]
    		if !bytes.Equal(la.rawSubject, lb.rawSubject) {
    			return false
    		}
    		ca, err := la.getCert()
    		if err != nil {
    			panic(err)
    		}
    		cb, err := la.getCert()
    		if err != nil {
    			panic(err)
    		}
    		if !ca.Equal(cb) {
    			return false
    		}
    	}
    
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_node_status_test.go

    			t.Logf("actions: %v: %+v", len(actions), actions)
    			action := actions[tc.savedNodeIndex]
    			if action.GetVerb() == "create" {
    				createAction := action.(core.CreateAction)
    				obj := createAction.GetObject()
    				require.IsType(t, &v1.Node{}, obj)
    				savedNode = obj.(*v1.Node)
    			} else if action.GetVerb() == "patch" {
    				patchAction := action.(core.PatchActionImpl)
    				var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    						actions := kubeClient.Actions()
    						if len(actions) == 0 {
    							t.Logf("No action yet")
    							return false, nil
    						}
    						for _, action := range actions {
    							if action.GetVerb() == "patch" {
    								var (
    									err          error
    									patchAction  = action.(core.PatchActionImpl)
    									patchContent = patchAction.GetPatch()
    								)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/garbagecollector_test.go

    					ctx.t.Fatalf("did not get expected events")
    				}
    			}
    
    			{
    				var actualClientActions []string
    				for _, action := range ctx.metadataClient.Actions() {
    					s := fmt.Sprintf("%s %s", action.GetVerb(), action.GetResource())
    					if action.GetNamespace() != "" {
    						s += " ns=" + action.GetNamespace()
    					}
    					if get, ok := action.(clientgotesting.GetAction); ok && get.GetName() != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. src/reflect/value.go

    	return Value{typ.Common(), unsafe.Pointer(&x), fl}
    }
    
    // String returns the string v's underlying value, as a string.
    // String is a special case because of Go's String method convention.
    // Unlike the other getters, it does not panic if v's Kind is not [String].
    // Instead, it returns a string of the form "<T value>" where T is v's type.
    // The fmt package treats Values specially. It does not call their String
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top