Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EntryPoints (0.11 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

            auto sym_attr = mlir::dyn_cast<FlatSymbolRefAttr>(attr);
            if (!sym_attr) break;
            entrypoints.erase(sym_attr.getValue());
          }
        }
    
        if (entrypoints.empty()) {
          return fail(module, "No entrypoints found");
        }
        if (entrypoints.size() == 1) {
          auto entrypoint = entrypoints.begin()->second;
          Builder builder(entrypoint);
          entrypoint.setName(builder.getStringAttr("main"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. build-logic/packaging/src/main/kotlin/gradlebuild/shade/tasks/ShadedJar.kt

        abstract val jarFile: RegularFileProperty
    
        @TaskAction
        fun shade() {
            val entryPoints = readEntryPoints()
            val classTrees = buildClassTrees(readClassTrees())
    
            val classesToInclude = mutableSetOf<String>()
    
            val queue: Queue<String> = ArrayDeque()
            queue.addAll(entryPoints)
            while (!queue.isEmpty()) {
                val className = queue.remove()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 12 10:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top