- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 102 for getOpt (0.11 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
if (!num_cores_per_replica_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr)); int num_cores_per_replica = num_cores_per_replica_attr.getInt(); auto topology_attr = cluster->getAttrOfType<StringAttr>("topology"); if (!topology_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kTopologyAttr));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy
return Phases.CANONICALIZATION } @Override void call(SourceUnit source) throws CompilationFailedException { source.getAST().getStatementBlock().visit(new CodeVisitorSupport() { @Override void visitMethodCallExpression(MethodCallExpression call) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 08:24:10 UTC 2023 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
return false; if (ExtractSingleElementAsInteger(k).getInt() != 0) return false; // Extract num_rows constant tensor and check value = -1. ElementsAttr num_rows; if (!matchPattern(tf_matrix_diag_v2_or_v3_op.getNumRows(), m_Constant(&num_rows))) return false; if (ExtractSingleElementAsInteger(num_rows).getInt() != -1) return false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map; // Creates work queue for determining reachability below. std::queue<func::FuncOp> function_worklist; for (auto func : module.getOps<func::FuncOp>()) { for (auto user : symbol_map.getUsers(func)) { // Populates work queue with func ops called from TPUPartionedCall. if (llvm::isa<TF::TPUPartitionedCallOp>(user)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
cluster_metadata->getSecond().get(kNumCoresPerReplicaAttr)); if (num_cores_per_replica_attr) num_cores_per_replica = num_cores_per_replica_attr.getInt(); if (failed(ReplicateCluster(cluster, num_replicas.cast<mlir::IntegerAttr>().getInt(), num_cores_per_replica))) return mlir::failure(); // Copy TPUReplicateMetadata attributes to `tf_device.cluster`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
mlir::IntegerAttr num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>(kNumCoresPerReplicaAttr); if (num_cores_per_replica_attr) { return num_cores_per_replica_attr.getInt(); } else { return 1; } } // Get the TPUDevicesAndHosts for a cluster that is not replicated. mlir::LogicalResult GetTPUDevicesAndHostsNotReplicated(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
return switchn.emitOpError() << "expects a `num_outs` integer attribute"; // Expect num_outs results + 1 control output. if (switchn.getNumResults() != num_outs.getInt() + 1) return switchn.emitOpError() << "expect `num_outs` (" << num_outs.getInt() << ") results but got " << (switchn.getNumResults() - 1); // Check that operand can be broadcasted to each output type.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy
import org.gradle.declarative.dsl.model.annotations.Restricted; @Restricted public interface LibraryDependencies extends Dependencies { DependencyCollector getApi(); DependencyCollector getImplementation(); DependencyCollector getRuntimeOnly(); DependencyCollector getCompileOnly();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:26 UTC 2024 - 30.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
assert(id_attr && "tf.resource_arg_unique_id attribute should exist on either " "none or all arguments."); auto emplace_res = attr_id_to_internal_id.try_emplace( id_attr.getInt(), next_unique_instance_id); AddValueUniqueIDMapping(arg, emplace_res.first->getSecond()); // Only increment ID if it has been used. if (emplace_res.second) ++next_unique_instance_id; } } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaJavaLanguageSettingsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.8K bytes - Viewed (0)