Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RankedI32ElementsAttr (0.21 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

                            (TFL_AveragePool2DOp 
                                /*input*/ (TFL_TransposeOp $a_input,
                                    (Arith_ConstantOp
                                        ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 2, 3, 1}">)),
                                /*filter_height*/(GetI32At<0> (GetAsVectorAttr<"kernel_size"> $attrs)),
                                /*filter_width*/(GetI32At<1> (GetAsVectorAttr<"kernel_size"> $attrs)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

                ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 2, 3, 1}">)),
            (Arith_ConstantOp:$output_size (GetI32DenseAttr (GetAsVectorAttr<"output"> $attrs))),
            (GetCompositeAttributeAs<"align_corners", "BoolAttr"> $attrs),
            ConstBoolAttrTrue,
            (returnType (GetNhwcReturnTypeFromNchw $old_val))),
          (Arith_ConstantOp
            ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 3, 1, 2}">))>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    // TFL Relu doesn't support I32/I64 type, so legalizes TF Relu to TFL Maximum.
    def LegalizeReluI32 :
      Pat<(TF_ReluOp TensorOf<[I32]>:$arg),
          (TFL_MaximumOp $arg,
            (Arith_ConstantOp ConstantAttr<RankedI32ElementsAttr<[]>,"0">))>;
    def LegalizeReluI64 :
      Pat<(TF_ReluOp TensorOf<[I64]>:$arg),
          (TFL_MaximumOp $arg,
            (Arith_ConstantOp
              ConstantAttr<RankedI64ElementsAttr<[]>,"static_cast<int64_t>(0)">))>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      (TFL_ReshapeOp
      (TFL_EmbeddingLookupOp
          (TFL_ReshapeOp $indices, (Get1DShapeValue $indices)),
        (TFL_TransposeOp
          $filter,
            (Arith_ConstantOp ConstantAttr<RankedI32ElementsAttr<[2]>, "{1,0}">)),
          (returnType (GetEmbeddingLookupShape $indices, $filter))
        ),
        (Arith_ConstantOp (GetShape (GetIthValue<0> $outputs)))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top