Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for permutation (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    // blocks are specified using the following format:
    // (kind controlvalue succ0 succ1 ...)
    // controlvalue must be "nil" or a value expression
    // succ* fields must be variables
    // For now, the generated successors must be a permutation of the matched successors.
    
    // constant folding
    (Trunc16to8  (Const16  [c])) => (Const8   [int8(c)])
    (Trunc32to8  (Const32  [c])) => (Const8   [int8(c)])
    (Trunc32to16 (Const32  [c])) => (Const16  [int16(c)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionNodeInitializerExtractionStrategy.java

                this.delegate = delegate;
                this.state = state;
                this.elementType = elementType;
            }
    
            public C getDelegate(boolean forMutation) {
                if (forMutation) {
                    state.assertCanMutate();
                }
                return delegate;
            }
    
            protected void validateElementType(Object o) {
                if (o != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            configurationCache.assertStateLoaded()
    
            and:
            result.assertTaskOrder(':lib:compileJava', ':util:compileJava', ':compileJava')
    
            where:
            order << ['lib', 'util'].permutations()
        }
    
        private static withDevelocityPlugin(TestFile settingsDir) {
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(
                settingsDir.file('settings.gradle')
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      /** Non-NPE RuntimeException. */
      public static class FooException extends RuntimeException {
        private static final long serialVersionUID = 1L;
      }
    
      /**
       * Class for testing all permutations of static/non-static one-argument methods using
       * methodParameter().
       */
      @SuppressWarnings("unused") // used by reflection
      public static class OneArg {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top