- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for permutation (0.29 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/BUILD
], ) cc_library( name = "permutation", hdrs = ["permutation.h"], compatible_with = get_compatible_with_portable(), deps = [ "@llvm-project//llvm:Support", "@llvm-project//mlir:Support", ], ) tf_cc_test( name = "permutation_test", srcs = ["permutation_test.cc"], deps = [ ":permutation", "@com_google_googletest//:gtest_main",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 17K bytes - Viewed (0)