- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for getUniqueName (0.23 sec)
-
tensorflow/compiler/mlir/op_or_arg_name_mapper.cc
} } } } llvm::StringRef OpOrArgNameMapper::GetUniqueName(OpOrVal op_or_val, int hash_value) { auto& name = op_or_val_to_name_[op_or_val]; if (!name.empty()) return StringViewToRef(name); // Update the value in the map with unique name. llvm::StringRef ref = GetUniqueName(GetName(op_or_val), hash_value); name = StringRefToView(ref); return ref; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/op_or_arg_name_mapper.h
// Mapper from operation or value to name. class OpOrArgNameMapper { public: // Returns unique name for the given prefix. llvm::StringRef GetUniqueName(llvm::StringRef prefix, int hash_value = 0); // Returns unique name for the operation or value. llvm::StringRef GetUniqueName(OpOrVal op_or_val, int hash_value = 0); // Returns unique name as a string_view for the operation or value.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 22:54:55 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/UniqueProjectNameProvider.java
* limitations under the License. */ package org.gradle.plugins.ide.internal.configurer; import org.gradle.api.Project; public interface UniqueProjectNameProvider { String getUniqueName(Project project);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 791 bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/DefaultUniqueProjectNameProvider.java
public DefaultUniqueProjectNameProvider(ProjectStateRegistry projectRegistry) { this.projectRegistry = projectRegistry; } @Override public String getUniqueName(Project project) { ProjectState projectState = projectRegistry.stateFor(project); String uniqueName = getDeduplicatedNames().get(projectState); if (uniqueName != null) { return uniqueName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
builder->AssignedDevice(impl()->assigned_device_); } if (!impl()->xla_cluster_.empty()) { builder->XlaCluster(impl()->xla_cluster_); } } string Scope::Impl::GetUniqueName(const string& prefix, bool check_single_use) const { if (check_single_use && single_use_scope()) { if (*scope_used_) { *status_ =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/EclipseModelAwareUniqueProjectNameProvider.java
this.reservedNames = reservedNames.stream().map(ProjectStateWrapper::new).collect(Collectors.toList()); deduplicated = null; } @Override public String getUniqueName(Project project) { ProjectState state = projectRegistry.stateFor(project); String uniqueName = getDeduplicatedNames().get(state); if (uniqueName != null) { return uniqueName; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
auto node_def = std::make_unique<NodeDef>(); if (!name.empty()) node_def->set_name(std::string(ParseTensorName(name.str()).node())); else node_def->set_name( std::string(op_to_name_.GetUniqueName(func.getName().str()))); node_def->set_op(FunctionLibraryDefinition::kArgOp); mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType()); if (auto resource_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
auto node_def = std::make_unique<NodeDef>(); if (!name.empty()) node_def->set_name(std::string(ParseTensorName(name.str()).node())); else node_def->set_name( std::string(op_to_name_.GetUniqueName(func.getName().str()))); node_def->set_op(FunctionLibraryDefinition::kArgOp); mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType()); if (auto resource_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/cc/framework/scope_internal.h
std::unordered_set<string> GetColocationConstraints( const Operation& colocate_with_op) const; // Helper functions to get a unique names. string GetUniqueName(const string& prefix, bool check_single_use) const; string GetNameForOp(const string& default_name) const; bool single_use_scope() const { return scope_used_ != nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:46:43 UTC 2022 - 5.1K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderDependenciesTest.groovy
} private def createEclipseModelBuilder() { def gradleProjectBuilder = new GradleProjectBuilder() def uniqueProjectNameProvider = Stub(EclipseModelAwareUniqueProjectNameProvider) { getUniqueName(_ as Project) >> { Project p -> p.name } } new EclipseModelBuilder(gradleProjectBuilder, uniqueProjectNameProvider) } EclipseRuntime eclipseRuntime(List<EclipseWorkspaceProject> projects) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 24 15:55:52 UTC 2024 - 9.7K bytes - Viewed (0)