Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 124 for permutation (0.33 sec)

  1. src/runtime/hash_test.go

    		t.Skip("Too long for race mode")
    	}
    	testenv.ParallelOn64Bit(t)
    	h := newHashSet()
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7}, 8)
    	permutation(t, h, []uint32{0, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 8)
    	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)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. pkg/controller/util/selectors/bimultimap_test.go

    				p = append(p, i)
    			}
    			permutations = [][]int{p}
    		}
    		for _, permutation := range permutations {
    			name := tc.name + fmt.Sprintf(" permutation %v", permutation)
    			t.Run(name, func(t *testing.T) {
    				multimap := NewBiMultimap()
    				for i := range permutation {
    					tc.ops[i](multimap)
    					// Run consistency check after every operation.
    					err := consistencyCheck(multimap)
    					if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 01:56:36 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

    //
    //  The update needs permuting to be in the form (a,b,d,e,f) so that the update
    //  window dims are the trailing dimensions.
    //
    // To canonicalize the updates above, replace the updates with:
    //   transpose(updates, permutation={3,4,0,1,2})
    //
    // Note: NormalizeIndexVector is assumed to have run on the indices already so
    // that the index_vector_dim is the trailing dimension in `indices`.
    LogicalResult CanonicalizeScatterUpdates(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc

          permutation_array, updates_type, rewriter);
    
      auto transposed_updates = rewriter.create<mhlo::TransposeOp>(
          scatter_op->getLoc(), permutation_and_shape.shape, updates,
          permutation_and_shape.permutation);
    
      updates = transposed_updates;
      updates_type = permutation_and_shape.shape;
      return success();
    }
    
    }  // end namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 02:29:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        //       input_shape[M+1], ..., input_shape[N-1]]
        SmallVector<int64_t> permutation(reshaped_shape.size());
        permutation[0] = block_rank;
        for (int i = 0; i < block_rank; ++i) {
          permutation[1 + 2 * i] = block_rank + 1 + i;
          permutation[1 + 2 * i + 1] = i;
        }
        std::iota(permutation.begin() + 1 + block_rank * 2, permutation.end(),
                  1 + block_rank * 2);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!isKernelFormatHWOI(dnums)) {
          SmallVector<int64_t, 4> permutation;
          for (int64_t dim : dnums.getKernelSpatialDimensions()) {
            permutation.push_back(dim);
          }
          permutation.push_back(dnums.getKernelOutputFeatureDimension());
          permutation.push_back(dnums.getKernelInputFeatureDimension());
    
          auto filter_transposed = rewriter.create<mhlo::TransposeOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        }
      }
      return absl::OkStatus();
    }
    
    // Renumber the indices of _Arg nodes in a graph, according to
    // 'permutation' that maps old indices to new indices.
    static Status RenumberArguments(Graph* graph,
                                    const std::vector<int>& permutation) {
      for (Node* n : graph->op_nodes()) {
        if (n->type_string() == kArgOp) {
          int index;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

          // Create a 1D I32 tensor for representing the dimension permutation.
          auto permuation_tensor_type =
              RankedTensorType::get({input_rank}, rewriter.getIntegerType(32));
          llvm::SmallVector<Attribute, 4> permute;
          permute.reserve(input_rank);
          // First create an identity permutation tensor.
          for (int i = 0; i < input_rank; i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

          redux_op);
    }
    
    TF::TransposeOp createTransposeOp(Value value, Location loc,
                                      llvm::ArrayRef<int32_t> permutation,
                                      PatternRewriter* rewriter) {
      auto perm_op = createI32ConstantOp(permutation, loc, rewriter);
      auto value_type = mlir::cast<RankedTensorType>(value.getType());
      auto shape = value_type.getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. src/crypto/sha256/sha256block_ppc64x.s

    #define R_x110	R27
    
    
    // V0-V7 are A-H
    // V8-V23 are used for the message schedule
    #define KI	V24
    #define FUNC	V25
    #define S0	V26
    #define S1	V27
    #define s0	V28
    #define s1	V29
    #define LEMASK	V31 // Permutation control register for little endian
    
    // 4 copies of each Kt, to fill all 4 words of a vector register
    DATA  ·kcon+0x000(SB)/8, $0x428a2f98428a2f98
    DATA  ·kcon+0x008(SB)/8, $0x428a2f98428a2f98
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top