Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 112 for registry_ (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

        // This is a brief description of the pass.
        return "Apply graph optimizations such as fusing and constant folding to "
               "prepare lifting.";
      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, arith::ArithDialect>();
      }
    
      void runOnOperation() override;
    
     private:
      Option<OpSet> op_set_{
          *this, "target-opset", llvm::cl::init(OpSet::TF),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

    struct DecomposeReduceDatasetPass
        : public impl::DecomposeReduceDatasetPassBase<DecomposeReduceDatasetPass> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<tf_device::TensorFlowDeviceDialect>();
      }
    
      void runOnOperation() override;
    };
    
    // Create the AnonymousIterator for `reduce_dataset` with `dataset_types` using
    // `builder`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

        : public PassWrapper<RaiseToTFOpsPass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(RaiseToTFOpsPass)
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TFRDialect, TF::TensorFlowDialect, scf::SCFDialect,
                        arith::ArithDialect, func::FuncDialect>();
      }
    
      explicit RaiseToTFOpsPass(std::optional<ModuleOp> tfr_module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

      StringRef getDescription() const final {
        return "Constant folds BroadcastInDimOp before binary elementwise ops";
      }
      void getDependentDialects(::mlir::DialectRegistry &registry) const override {}
    
      void runOnOperation() override {
        RewritePatternSet patterns(&getContext());
        patterns.add<FoldBroadcastInDimBeforeMulOp>(&getContext());
        patterns.add(ConstantFoldMul);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        const std::vector<std::string>& ordered_output_arrays,
        bool experimental_prune_unreachable_nodes_unconditionally,
        const bool disable_vhlo_to_stablehlo) {
      mlir::DialectRegistry registry;
      registry.insert<mlir::arith::ArithDialect, mlir::func::FuncDialect,
                      mlir::quant::QuantizationDialect,
                      mlir::quantfork::QuantizationForkDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

    namespace mlir {
    namespace TFDevice {
    namespace {
    
    struct EmbeddingSequencingPass
        : public ::impl::EmbeddingSequencingPassBase<EmbeddingSequencingPass> {
      void getDependentDialects(mlir::DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect>();
      }
    
      void runOnOperation() override;
    };
    
    template <typename InputContainer>
    std::vector<Type> GetValueTypes(const InputContainer& input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/saved_model/saved_model_test.cc

      std::string saved_model_mlir_path = tensorflow::GetDataDependencyFilepath(
          "tensorflow/compiler/mlir/tfrt/tests/saved_model/testdata/test.mlir");
    
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::MLIRContext context(registry);
      auto module =
          mlir::parseSourceFile<mlir::ModuleOp>(saved_model_mlir_path, &context);
      ASSERT_TRUE(module);
    
      std::vector<std::string> inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 13 01:17:29 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/analysis/update_op_cost_in_tfrt_mlir_test.cc

          "tensorflow/compiler/mlir/tfrt/tests/analysis/testdata/test.mlir");
    
      mlir::DialectRegistry registry;
      tfrt::RegisterTFRTDialects(registry);
      registry.insert<tfrt::fallback_async::FallbackAsyncDialect>();
      registry.insert<tfrt::fallback_sync::FallbackSyncDialect>();
      mlir::MLIRContext context(registry);
      auto module =
          mlir::parseSourceFile<mlir::ModuleOp>(saved_model_mlir_path, &context);
      ASSERT_TRUE(module);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 22:52:12 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.cc

        const std::vector<std::string>& exported_model_signatures,
        const std::vector<std::string>& tag_names,
        absl::string_view input_arg_shapes_str) {
      mlir::DialectRegistry registry;
      RegisterAllTensorFlowDialects(registry);
      mlir::MLIRContext context(registry);
      context.loadAllAvailableDialects();
    
      auto module =
          TfToStablehlo(input_path, &context, exported_model_signatures, tag_names,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

    static void RegisterMlirInputDialects(mlir::DialectRegistry& registry) {
      // TODO(b/259459405): Remove support for stablehlo as an input.
      registry
          .insert<mlir::arith::ArithDialect, mlir::func::FuncDialect,
                  mlir::TF::TensorFlowDialect, mlir::stablehlo::StablehloDialect,
                  mlir::quant::QuantizationDialect>();
      mlir::func::registerAllExtensions(registry);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top