Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 124 for permutation (0.38 sec)

  1. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      (void)_o;
      (void)_resolver;
      { auto _e = permutation(); if (_e) { _o->permutation.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->permutation[_i] = _e->Get(_i); } } else { _o->permutation.resize(0); } }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

          llvm::ArrayRef(return_squeeze_shape));
    }
    
    // This is a utility function to deduce the effective permutation to apply on
    // TFL_TransposeOp when the tensor has some dimensions with value==1
    // Example- "tfl.transpose"(tensor<56x8x56x1x1x1x7xf32>, [4, 5, 1, 2, 0, 6, 3])
    // Permutation before squeese is [4, 5, 1, 2, 0, 6, 3] becomes [1, 2, 0, 3]
    // after squeeze is perfomed to retain the relative ordering of the non-1 dims.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

      // method that it is a 4-D RankedTensorType.
      Value legalizeFilter(PatternRewriter &rewriter, Location loc,
                           Value filter) const {
        // Create a constant op for HWIO to OHWI transpose permutation.
        SmallVector<int, 4> perm = {3, 0, 1, 2};
        auto perm_type = tensorflow::GetTypeFromTFTensorShape(
            {static_cast<int>(perm.size())}, rewriter.getIntegerType(32));
        auto perm_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

    // Pattern to fuse redundant tanspose op
    def FoldDoubleTranspose : Pat<
      (TF_TransposeOp
        (TF_TransposeOp:$transpose_out1 $input, (Arith_ConstantOp:$permutation1 $p1)),
        (Arith_ConstantOp:$permutation2 $p2)),
      (TF_TransposeOp $input,
        (Arith_ConstantOp (RemapPermutation $permutation1, $permutation2))),
      [(HasOneUse $transpose_out1)]>;
    
    // Pattern to fuse trivial reshape op into transpose op
    def FoldTrivialReshapeIntoTranspose : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/crypto/des/des_test.go

    }
    
    // Plaintext for use with Table A.3 tests
    var tableA3Plaintext = []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
    
    // Table A.3 Values To Be Used for the Permutation Operation Known Answer Test
    var tableA3Tests = []CryptTest{
    	{ // 0
    		[]byte{
    			0x10, 0x46, 0x91, 0x34, 0x89, 0x98, 0x01, 0x31,
    			0x10, 0x46, 0x91, 0x34, 0x89, 0x98, 0x01, 0x31,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    func.func @transpose_2d(%arg0: tensor<2x3xf32>) -> tensor<3x2xf32> {
      %0 = mhlo.constant dense<[1, 0]> : tensor<2xi64>
      %1 = mhlo.constant dense<[1, 0]> : tensor<2xi64>
      %2 = "mhlo.transpose"(%arg0) <{permutation = dense<[1, 0]> : tensor<2xi64>}> : (tensor<2x3xf32>) -> tensor<3x2xf32>
      func.return %2 : tensor<3x2xf32>
    }
    
    // CHECK-LABEL:   func @transpose_3d_int32(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    //              The distinction between an empty array of operations and no
    //              array of operations is necessary to distinguish the case of
    //              creating a function with no body (e.g. identity or permutation)
    //              and the case of creating a function whose body contains all
    //              the nodes in the graph (except for the automatic skipping, see
    //              below).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        }
      }];
    }
    
    def TF_InvertPermutationOp : TF_Op<"InvertPermutation", [Pure]> {
      let summary = "Computes the inverse permutation of a tensor.";
    
      let description = [{
    This operation computes the inverse of an index permutation. It takes a 1-D
    integer tensor `x`, which represents the indices of a zero-based array, and
    swaps each value with its index position. In other words, for an output tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      /** Tests that round tripping of all three byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
    
      public void testIsWellFormed_3Bytes() {
        testBytes(3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /**
       * Tests that round tripping of a sample of four byte permutations work. All permutations are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go

    		fallingFactorial := ff(test.deckSize, test.handSize)
    		permutations := ff(test.handSize, test.handSize)
    		allCoordinateCount := fallingFactorial / permutations
    		nff := float64(test.hashMax) / float64(fallingFactorial)
    		minCount := permutations * int(math.Floor(nff))
    		maxCount := permutations * int(math.Ceil(nff))
    		aHand := make([]int, test.handSize)
    		for i := 0; i < test.hashMax; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 25 06:44:08 UTC 2021
    - 6.7K bytes
    - Viewed (0)
Back to top