Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreatePrunedModule (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/visitor.h

        mlir::SymbolTableCollection* symbol_table = nullptr);
    
    // Creates a new MLIR module that contains only the given functions and all
    // reachable functions from them.
    mlir::FailureOr<mlir::OwningOpRef<mlir::ModuleOp>> CreatePrunedModule(
        mlir::ModuleOp module, llvm::ArrayRef<llvm::StringRef> function_names);
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

          }
    
          return WalkResult::advance();
        });
        if (result.wasInterrupted()) {
          return result;
        }
      }
    
      return WalkResult::advance();
    }
    
    FailureOr<OwningOpRef<ModuleOp>> CreatePrunedModule(
        ModuleOp module, llvm::ArrayRef<llvm::StringRef> function_names) {
      SymbolTableCollection symbol_table;
      OpBuilder builder(module.getContext());
    
      OwningOpRef<ModuleOp> pruned =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top