Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for CustomOption (0.36 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

            composite->getOperands().slice(2, 3), composite.getName(),
            CustomOption(&builder, custom_option_buffer));
      }
      return builder.create<TFL::CustomOp>(
          composite->getLoc(), composite->getResultTypes(),
          composite->getOperands(), composite.getName(),
          CustomOption(&builder, custom_option_buffer));
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

    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) {
      return ConstBytesAttr::get(builder->getContext(),
                                 StringRef(content.data(), content.size()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    constexpr char kCustomSgnnProjection[] = "tftext:custom:SgnnProjection";
    constexpr char kTFImplements[] = "tf._implements";
    
    using mlir::TF::FuncAttr;
    using mlir::TF::StringType;
    
    inline ConstBytesAttr CustomOption(OpBuilder* builder,
                                       const std::string& content) {
      return ConstBytesAttr::get(builder->getContext(),
                                 StringRef(content.data(), content.size()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

    constexpr char kTFImplements[] = "tf._implements";
    constexpr char kCustomSSDPostprocessing[] = "TFLite_Detection_PostProcess";
    constexpr char kTfNMSPadded[] = "non_max_suppression_padded_v2";
    
    inline ConstBytesAttr CustomOption(OpBuilder* builder,
                                       const std::string& content) {
      return ConstBytesAttr::get(builder->getContext(),
                                 StringRef(content.data(), content.size()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_jax_random.cc

        : public impl::LegalizeJaxRandomPassBase<LegalizeJaxRandomPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeJaxRandomPass)
    
      void runOnOperation() override;
    };
    
    inline ConstBytesAttr CustomOption(ImplicitLocOpBuilder *builder,
                                       const std::string &content) {
      return ConstBytesAttr::get(builder->getContext(),
                                 StringRef(content.data(), content.size()));
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      bit hasOptions2 = 0b0;
    
      // Use to specify a custom options type for TFLite operators where
      // the option's name does not match the TFLite operator's name.
      // If no customOption is specified then <name>Options is used if the op
      // hasOptions.
      string customOption = ?;
    }
    
    class TFL_ConvOp<string mnemonic, string opSummary, int index,
                     list<Trait> additional_traits = []> :
        TFL_Op<mnemonic,[Pure,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    constexpr char kCustomDenseImageWarp[] = "addons:DenseImageWarp";
    constexpr char kTFLFusableOp[] = "tfl_fusable_op";
    
    using mlir::TF::FuncAttr;
    
    inline ConstBytesAttr CustomOption(OpBuilder* builder,
                                       const std::string& content) {
      return ConstBytesAttr::get(builder->getContext(),
                                 StringRef(content.data(), content.size()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

     private:
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry& registry) const override {
        mlir::stablehlo::registerAllDialects(registry);
      }
      inline TFL::ConstBytesAttr CustomOption(OpBuilder* builder,
                                              const std::string& content) {
        return TFL::ConstBytesAttr::get(builder->getContext(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/converter_gen.cc

      assert(def.getName().starts_with("TFL_") && "unexpected op prefix");
      assert(def.getName().ends_with("Op") && "unexpected op suffix");
    
      auto *custom_option = dyn_cast<StringInit>(def.getValueInit("customOption"));
      std::ostringstream oss;
      if (custom_option)
        oss << custom_option->getValue().str();
      else
        oss << def.getName().drop_front(4).drop_back(2).str() << "Options";
      return oss.str();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
Back to top