Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for kEntryFuncName (0.2 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

    namespace tf2xla {
    namespace internal {
    namespace {
    
    constexpr char kEntryFuncName[] = "main";
    
    absl::Status SetupArguments(mlir::ModuleOp module,
                                std::vector<TensorShape>& arg_shapes,
                                tpu::TPUCompileMetadataProto& metadata_proto) {
      auto main_fn = module.lookupSymbol<mlir::func::FuncOp>(kEntryFuncName);
      if (!main_fn) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

      if (VLOG_IS_ON(2)) {
        tensorflow::DumpMlirOpToFile("legalize_with_old_bridge", mlir_module.get());
      }
      constexpr char kEntryFuncName[] = "main";
      auto main_fn = mlir_module->lookupSymbol<mlir::func::FuncOp>(kEntryFuncName);
      if (!main_fn) {
        return errors::Internal(
            "TPU compile op requires module with a entry function main");
      }
    
      // Export functions to the library.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top