Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RewriteFunction (0.57 sec)

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

        SymbolTable symbol_table(module);
        for (auto initializer : init_op.getInitializers()) {
          auto func = symbol_table.lookup<func::FuncOp>(
              mlir::cast<FlatSymbolRefAttr>(initializer).getValue());
          RewriteFunction(symbol_table, func);
        }
    
        // Clean up unused asset ops.
        for (auto asset : llvm::make_early_inc_range(module.getOps<AssetOp>())) {
          if (symbol_table.symbolKnownUseEmpty(asset, module)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

    // are updated when necessary, to propagate tokens. The function may either be
    // rewritten to create a token or take in and return a token, depending on its
    // visibility and if there are any callers.
    LogicalResult RewriteFunction(
        OpBuilder& builder, ModuleOp module, FuncOp func,
        const llvm::SmallDenseMap<StringRef, FuncToRewrite>& funcs,
        const llvm::SmallPtrSetImpl<Operation*>& control_flow_ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top