Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for getUniqueName (0.4 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      llvm::SmallVector<func::FuncOp, 4> worklist;
    };
    
    std::string RegionControlFlowToFunctional::GetName(Operation* op,
                                                       StringRef suffix) {
      return (mapper.GetUniqueName(op) + suffix).str();
    }
    
    // Returns all the external values referenced from the given regions. If the
    // external value is a constant, sink it into the region instead (and do not
    // add it to the returned vector).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

          }
    
          op.setAttr(tensorflow::kXlaTokenInputNodesAttrName,
                     ArrayAttr::get(ctx, {token}));
    
          auto node_name = StringAttr::get(ctx, name_mapper.GetUniqueName(&op));
          op.setAttr(tensorflow::kXlaOriginalOutsideCompilationNodeName, node_name);
          token = node_name;
        }
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderTest.groovy

        }
    
        private def createEclipseModelBuilder() {
            def gradleProjectBuilder = new GradleProjectBuilder()
            def uniqueProjectNameProvider = Stub(EclipseModelAwareUniqueProjectNameProvider) {
                getUniqueName(_ as Project) >> { Project p -> p.getName() }
            }
            new EclipseModelBuilder(gradleProjectBuilder, uniqueProjectNameProvider)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      std::string GetName(Operation* op, StringRef suffix);
    
      tensorflow::OpOrArgLocNameMapper mapper_;
    };
    
    std::string WhileOutlinePass::GetName(Operation* op, StringRef suffix) {
      return (mapper_.GetUniqueName(op) + suffix).str();
    }
    
    // Returns whether the WhileOp is already outlined (e.g., only consists of calls
    // to functions).
    bool IsAlreadyOutlined(WhileOp while_op) {
      auto just_call = [](Region& region) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java

                    task.setDescription("Generates IDEA module files (IML)");
                }
            });
            ideaModel.setModule(module);
    
            final String defaultModuleName = uniqueProjectNameProvider.getUniqueName(project);
            module.setName(defaultModuleName);
    
            ConventionMapping conventionMapping = ((IConventionAware) module).getConventionMapping();
            Set<File> sourceDirs = new LinkedHashSet<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipsePlugin.java

        private void configureEclipseProject(final ProjectInternal project, final EclipseModel model) {
            final EclipseProject projectModel = model.getProject();
    
            projectModel.setName(uniqueProjectNameProvider.getUniqueName(project));
    
            final ConventionMapping convention = ((IConventionAware) projectModel).getConventionMapping();
            convention.map("comment", new Callable<String>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

      }
    
      if (HasSymbolRefAttr(op_)) {
        return op_->emitRemark() << "ops with symbol references are not supported";
      }
    
      auto nodedef_or = tensorflow::ConvertTFDialectOpToNodeDef(
          op_, name_mapper_.GetUniqueName(op_),
          /*ignore_unregistered_attrs=*/true);
      if (!nodedef_or.ok()) {
        return op_->emitRemark() << "failed to convert op to NodeDef: "
                                 << nodedef_or.status().ToString();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

                EclipseModel eclipseModel = project.getExtensions().findByType(EclipseModel.class);
                if (eclipseModel != null) {
                    eclipseModel.getProject().setName(uniqueProjectNameProvider.getUniqueName(project));
                }
            }
        }
    
        private void applyEclipsePlugin(ProjectInternal root, List<GradleInternal> alreadyProcessed) {
            Set<Project> allProjects = root.getAllprojects();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        }
        result += mac_count;
      });
    
      *count = result;
      return !encounter_undetermined_mac;
    }
    
    std::string Translator::UniqueName(mlir::Value val) {
      return std::string(name_mapper_.GetUniqueName(val));
    }
    
    std::optional<BufferOffset<tflite::Buffer>> Translator::BuildBuffer(
        mlir::Value value, bool can_be_deduplicated, int& index) {
      auto inst = value.getDefiningOp();
      ElementsAttr attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // done.
      if (tf_name_to_mlir_name_->find(std::string(func_name)) !=
          tf_name_to_mlir_name_->end())
        return absl::OkStatus();
    
      std::string mlir_func_name(
          function_name_uniquifier_->GetUniqueName(func_name));
      (*tf_name_to_mlir_name_)[std::string(func_name)] = mlir_func_name;
    
      const auto& func_lib = graph_flib_;
      const auto* func_def = func_lib.Find(std::string(func_name));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top