Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for permutation (1.8 sec)

  1. tensorflow/compiler/mlir/lite/utils/utils.h

              mlir::IntegerType::get(permutation1.getContext(), 32)),
          llvm::ArrayRef(new_permutation));
    }
    
    // Utility function to map final permutation to initial permutation
    // initial -> permutation1 -> permutation2 -> final
    inline DenseElementsAttr RemapPermutation(Value permutation1,
                                              Value permutation2) {
      DenseElementsAttr perm2_const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolverTest.groovy

            def expected = permutation.expectedSingle
    
            expect:
            resolver(permutation.conflicts).resolve(candidates) == expected
    
            where:
            permutation << SCENARIOS_PREFER_BATCH2
        }
    
        def "resolve reject pair #permutation"() {
            given:
            def candidates = permutation.candidates
            def expected = permutation.expectedSingle
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      }
    }
    
    // Revert the permutation applied in `type`.
    static mlir::ShapedType ReversePermuteShapedType(
        mlir::ShapedType type, ArrayRef<int64_t> permutation) {
      if (!type.hasRank()) return type;
    
      auto shape = type.getShape();
      SmallVector<int64_t, 4> new_shape(shape.size());
    
      for (int i = 0; i < permutation.size(); ++i) {
        int64_t index = permutation[i];
        assert(index < shape.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

    }
    
    // Convenience function to create a `TransposeOp` with a given `permutation`.
    // The Location is set as `input`'s loc.
    TransposeOp CreateTransposeOp(Value input, const ArrayRef<int64_t> permutation,
                                  PatternRewriter& rewriter) {
      return rewriter.create<TransposeOp>(
          input.getLoc(), input, rewriter.getDenseI64ArrayAttr(permutation));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/topologymanager/policy.go

    }
    
    // Merge a TopologyHints permutation to a single hint by performing a bitwise-AND
    // of their affinity masks. The hint shall be preferred if all hits in the permutation
    // are preferred.
    func mergePermutation(defaultAffinity bitmask.BitMask, permutation []TopologyHint) TopologyHint {
    	// Get the NUMANodeAffinity from each hint in the permutation and see if any
    	// of them encode unpreferred allocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

      }
      auto transposed_type =
          RankedTensorType::get(transposed_shape, input_type.getElementType());
      DenseIntElementsAttr permutation = DenseIntElementsAttr::get(
          RankedTensorType::get(permutation_array.size(), rewriter.getI64Type()),
          permutation_array);
      return {permutation, transposed_type};
    }
    
    Value BuildIntConstOp(ImplicitLocOpBuilder& builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable}.
       *
       * <p><i>Notes:</i> This is an implementation of the algorithm for Lexicographical Permutations
       * Generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable}.
       *
       * <p><i>Notes:</i> This is an implementation of the algorithm for Lexicographical Permutations
       * Generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    inline constexpr StringRef kQuantizationMethodAttr = "_quantization_method";
    
    // Permutation from the NHWC tensor format to NCHW. This is an inverse
    // permutation of `kNchwToNhwcPermutation`.
    inline constexpr std::array<int64_t, 4> kNhwcToNchwPermutation = {0, 3, 1, 2};
    
    // Permutation from the NCHW tensor format to NHWC. This is an inverse
    // permutation of `kNchwToNhwcPermutation`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/hash/maphash/smhasher_test.go

    	permutation(t, h, []uint32{0, 1}, 20)
    	permutation(t, h, []uint32{0, 1 << 31}, 20)
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 6)
    }
    func permutation(t *testing.T, h *hashSet, s []uint32, n int) {
    	b := make([]byte, n*4)
    	genPerm(h, b, s, 0)
    	h.check(t)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top