Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetTransposedType (0.23 sec)

  1. tensorflow/compiler/mlir/lite/utils/utils.td

    // Returns a ShapedType for a permutation and the shape of input after
    // applying the permutation to the given shape through a transpose.
    class GetTransposedType<string perm> : NativeCodeCall<
      "GetTransposedType($0, " # perm # ")">;
    
    // Function to map final permutation to initial permutation
    // initial -> permutation1 -> permutation2 -> final
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/utils.h

      return shaped_type.clone(new_shape);
    }
    
    // Returns a ShapedType for a permutation and the shape of input after
    // applying the permutation to the given shape through a transpose.
    inline ShapedType GetTransposedType(Value input,
                                        llvm::ArrayRef<int64_t> permutation_array) {
      auto input_type = input.getType().cast<ShapedType>();
      if (permutation_array.size() != input_type.getRank()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                  /*stride_h=*/ExtractI32At<2>:$strides,
                  /*stride_w=*/ExtractI32At<3>:$strides,
                  /*fused_activation_function=*/TFL_AF_None,
                  (returnType (GetTransposedType<"{0, 2, 3, 1}"> $src_op))),
                  (Arith_ConstantOp
                      ConstantAttr<I32VectorElementsAttr<4>, "{0, 3, 1, 2}">))>;
    
    def LegalizeArgMax : Pat<(TF_ArgMaxOp $input, $dim),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top