Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for kEntryFuncName (0.13 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)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

    static constexpr char kCompilationStatusStreamzName[] =
        "/tensorflow/core/tf2xla/api/v1/phase2_compilation_status";
    
    static constexpr char kPlatformName[] = "Host";
    constexpr char kEntryFuncName[] = "main";
    
    static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      func.func @main() -> () {
        func.return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top