Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for permutation (0.16 sec)

  1. src/math/rand/v2/rand.go

    	// Shuffle really ought not be called with n that doesn't fit in 32 bits.
    	// Not only will it take a very long time, but with 2³¹! possible permutations,
    	// there's no way that any PRNG can have a big enough internal state to
    	// generate even a minuscule percentage of the possible permutations.
    	// Nevertheless, the right API signature accepts an int n, so handle it as best we can.
    	for i := n - 1; i > 0; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema.fbs

      //     ..., dn-1). For example, a 2-D matrix stored in row-major order would
      //     have traversal_order = (d0, d1).
      //   - if block sparse with a k-dimensional block (0 <= k <= n), the
      //     traversal_order has n + k elements. The first n elements are still a
      //     permutation of (d0, ..., dn-1). The lask k elements are a permutation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    template <class Op>
    static LogicalResult InferenceFoldOperandsPermutation(
        ArrayRef<int64_t> permutation, Op* op) {
      // FusedBatchNorm in training mode is a layout sentitive operation, and should
      // have already assigned an optimal data format.
      if (op->getIsTraining()) return failure();
      return ::mlir::TF::FoldOperandsPermutation(permutation, op);
    }
    
    template <class Op>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

      if (op_name == "stablehlo.slice" &&
          (field_name == "start_indices" || field_name == "limit_indices" ||
           field_name == "strides"))
        return true;
      if (op_name == "stablehlo.transpose" && field_name == "permutation")
        return true;
      return false;
    }
    
    class TflToStablehloPass
        : public mlir::PassWrapper<TflToStablehloPass,
                                   mlir::OperationPass<mlir::func::FuncOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      //     ..., dn-1). For example, a 2-D matrix stored in row-major order would
      //     have traversal_order = (d0, d1).
      //   - if block sparse with a k-dimensional block (0 <= k <= n), the
      //     traversal_order has n + k elements. The first n elements are still a
      //     permutation of (d0, ..., dn-1). The lask k elements are a permutation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def : Pat<(TF_CastOp $arg, ConstBoolAttrFalse), (MHLO_ConvertOp $arg)>;
    
    def : Pat<(TF_TransposeOp:$res $arg, (ConstantLikeMatcher ElementsAttr:$permutation)),
              (MHLO_TransposeOp $arg, (CastElementsToI64Elements $permutation))>;
    
    
    // Lowering these ops with static shape to mhlo.reshape
    foreach TfOp = [TF_ExpandDimsOp, TF_ReshapeOp, TF_SqueezeOp, ] in {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/Collections2Test.java

          List<T> expectedPermutation, Iterator<List<T>> permutations) {
        assertTrue("Expected another permutation, but there was none.", permutations.hasNext());
        assertEquals(expectedPermutation, permutations.next());
      }
    
      private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) {
        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. src/math/rand/rand.go

    	// Shuffle really ought not be called with n that doesn't fit in 32 bits.
    	// Not only will it take a very long time, but with 2³¹! possible permutations,
    	// there's no way that any PRNG can have a big enough internal state to
    	// generate even a minuscule percentage of the possible permutations.
    	// Nevertheless, the right API signature accepts an int n, so handle it as best we can.
    	i := n - 1
    	for ; i > 1<<31-1-1; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

            operand_type.cloneWith(shape, rewriter.getI32Type());
        // Cast permutation attribute from i64 to i32 as they are required to be i32
        // in TFLite.
        SmallVector<int32_t> permutation_i32 =
            CastI64ArrayToI32(op.getPermutation()).value();
        auto permutation_attr =
            DenseIntElementsAttr::get(permutation_type, permutation_i32);
        auto permutation =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

              [(IsNotTFStyleBroadcast $broadcast_dimensions, $output)]>;
    
    
    def : Pat<(MHLO_TransposeOp $arg, $permutation),
              (TF_TransposeOp $arg, (TF_ConstOp $permutation))>;
    def : Pat<(MHLO_ReverseOp $op, $dims), (TF_ReverseV2Op $op, (TF_ConstOp $dims))>;
    def : Pat<(MHLO_ReshapeOp:$output $input),
              (TF_ReshapeOp $input, (ShapeToConst $output))>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top