Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 435 for ModuleOp (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

      }
    };
    
    }  // namespace tensorflow
    
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    tensorflow::CreateTensorFlowGraphOptimizationPass(
        std::vector<tensorflow::GraphOptimizationPass*> tf_passes) {
      return std::make_unique<GraphOptPass>(std::move(tf_passes));
    }
    
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    tensorflow::CreateTensorFlowGraphOptimizationPass(
        const std::vector<std::string>& pass_names) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

    }
    
    void ClusterOutliningPass::runOnOperation() {
      ModuleOp module = getOperation();
      SymbolTable symbol_table(module);
      OpBuilder builder(module.getContext());
      module.walk([&](tf_device::ClusterOp cluster) {
        OutlineCluster(cluster, &symbol_table, &builder);
      });
    }
    
    void LaunchOutliningPass::runOnOperation() {
      ModuleOp module = getOperation();
      SymbolTable symbol_table(module);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.h

    // the value `checkpoint_path`.
    // Also adds SessionInitializer op.
    absl::Status AddSessionInitializerAndInlineCheckpoint(
        ModuleOp module, absl::string_view checkpoint_path);
    
    // Creates a pass that sinks SavedModel asset filenames to constants.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateAssetSinkingPass(
        llvm::StringRef saved_model_dir);
    
    }  // namespace tf_saved_model
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

        // and use it for `shape_inference_graph` attribute on XlaHostCompute.
        func::FuncOp cloned_func;
        SymbolTable manager(op->getParentOfType<ModuleOp>());
        StringRef host_module = op.getHostMlirModule();
        if (!host_module.empty()) {
          mlir::OwningOpRef<mlir::ModuleOp> module_for_func;
    
          func::FuncOp func = op.GetHostFunc(&module_for_func);
    
          OpBuilder::InsertionGuard guard(rewriter);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

                        mlir::ModuleOp module);
    
    // Lower TF to MHLO and insert HLO into the XlaBuilder. xla_params are HLO-level
    // inputs to module_op that have already been added to the XlaBuilder. returns
    // are the returned XlaOps.
    ABSL_DEPRECATED("Use v2/legalize_tf.h::LegalizeMlirToHlo instead.")
    Status BuildHloFromTf(mlir::ModuleOp module_op, xla::XlaBuilder& builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

        Pass<"tf-resource-op-lifting-for-main-function", "ModuleOp"> {
      let summary = "Lifting resource operations out of control flow statements "
        "for the main function";
      let constructor = "TFDevice::CreateResourceOpLiftingForMainFunctionPass()";
    }
    
    def AnnotateParameterReplicationPass :
        Pass<"tf-annotate-parameter-replication", "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h

    // rewrite the graph to use pipelining for better device utilization.
    std::unique_ptr<OperationPass<ModuleOp>> CreateEmbeddingSequencingPass();
    
    // This is a strictly sequential and formally correct fallback option for the
    // embedding pipelining pass intended for debugging during pipelining
    // development.
    std::unique_ptr<OperationPass<ModuleOp>> CreateEmbeddingPipeliningPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h

    namespace tensorflow {
    
    // Create a module pass that will execute the given TF GraphOptimization passes
    // in sequence.
    // Pass requires that the module ran on is convertible to TF Graph.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    CreateTensorFlowGraphOptimizationPass(
        std::vector<tensorflow::GraphOptimizationPass*> tf_passes);
    
    // Same as above but pass names instead of the passes provided. The registered
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 12 15:01:38 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.h

        mlir::ModuleOp module_op, mlir::MLIRContext* context,
        std::optional<Session*> session, bool run_tf_to_stablehlo,
        bool deserialize_xla_call_module,
        llvm::ArrayRef<llvm::ArrayRef<int64_t>> input_arg_shapes = {});
    
    // Overload of `PreprocessAndFreezeGraph` that uses the default MLIR dump file
    // prefix.
    inline absl::Status PreprocessAndFreezeGraph(mlir::ModuleOp module_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/component.h

      // Runs the action to the StableHLO graph, passed by the `module_op`. `config`
      // should provide information necessary to configure the action's behavior.
      virtual absl::StatusOr<ModuleOp> Run(
          ModuleOp module_op,
          const ::stablehlo::quantization::QuantizationConfig& config) = 0;
    };
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 03:14:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top