Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MaxUnpooling2D (0.79 sec)

  1. tensorflow/compiler/mlir/lite/utils/perception_ops_utils_test.cc

      auto func = func::FuncOp::create(
          mlir::NameLoc::get(builder->getStringAttr("fused_func")), "fused_func",
          func_type, {});
    
      func.addEntryBlock();
      mlir::StringAttr attr_value = builder->getStringAttr("MaxUnpooling2D");
      func->setAttr("tf._implements", attr_value);
      return func;
    }
    
    func::FuncOp createMaxUnpoolingFunc(
        mlir::Builder* builder, const SmallVector<int64_t, 4>& input_shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_attributes.h"
    
    namespace mlir {
    namespace TFL {
    
    // Fuse MaxUnpooling2D ops annotated by tf.function to a TFLite custom op.
    class ConvertMaxUnpoolingFunc {
     public:
      explicit ConvertMaxUnpoolingFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
          : func_(func), attr_(attr) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 17:42:55 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

    #include "tensorflow/lite/c/builtin_op_data.h"
    
    namespace mlir {
    namespace TFL {
    
    namespace {
    
    constexpr char kTFImplements[] = "tf._implements";
    constexpr char kMaxUnpooling[] = "MaxUnpooling2D";
    constexpr char kImageWarping[] = "DenseImageWarp";
    
    inline ConstBytesAttr CustomOption(OpBuilder* builder,
                                       const std::string& content) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // CHECK-SAME:                         %[[VAL_1:.*]]: tensor<1x1x2x1xi32>) -> tensor<1x2x4x1xf32> attributes {tf._implements = "MaxUnpooling2D"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = "tfl.custom"(%arg0, %arg1) {custom_option = #tfl<const_bytes : "0x01000000020000000200000002000000020000000000000000000000000000000000000000000000">, custom_code = "MaxUnpooling2D"} : (tensor<1x8x8x128xf32>, tensor<1x8x8x128xf32>) -> (tensor<1x8x8x128xf32>)
      func.return %0 : tensor<1x8x8x128xf32>
    }
    
    // -----
    
    // CHECK-LABEL: testLogistic
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top