Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EncapsulateFuncAndSerialize (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

    };
    
    // Creates a missing attribute error message.
    std::string CreateMissingAttributeMsg(llvm::StringRef attribute) {
      return llvm::formatv("requires attribute '{0}'", attribute).str();
    }
    
    LogicalResult EncapsulateFuncAndSerialize(const std::string& module_name,
                                              func::FuncOp entry_func,
                                              std::string* serialized_func_module) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      return outlined_func;
    }
    
    // Encapsulates `func` in a module and serializes that module.
    // `serialized_func_module` is set to the serialized module.
    void EncapsulateFuncAndSerialize(FuncOp func,
                                     std::string* serialized_func_module) {
      // Create a new module to hold func and all referenced functions.
      OwningOpRef<mlir::ModuleOp> module_for_func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
Back to top