- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 620 for launch0 (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/launch_outlining.mlir
} // CHECK: func private @[[LAUNCH]] // CHECK-SAME: () -> tensor<?xi32> // CHECK: %[[A_OUTPUT:[0-9]*]] = "tf.A"() // CHECK: return %[[A_OUTPUT]] // ----- // Tests launch attributes are copied over to launch_func. // CHECK-LABEL: func @launch_attrs func.func @launch_attrs() -> tensor<?xi32> { %0 = "tf_device.launch"() ({ %1 = "tf.A"() : () -> tensor<?xi32> tf_device.return %1 : tensor<?xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildLauncher.java
* <ul> * <li>Create an instance of {@code BuildLauncher} by calling {@link org.gradle.tooling.ProjectConnection#newBuild()}. * <li>Configure the launcher as appropriate. * <li>Call either {@link #run()} or {@link #run(ResultHandler)} to execute the build. * <li>Optionally, you can reuse the launcher to launch additional builds. * </ul> * * Example: * <pre class='autoTested'> * ProjectConnection connection = GradleConnector.newConnector()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc
// Check if the TPUCopyWithDynamicShapeOp is valid. // 1. The op should be wrapped inside a launch op. // 2. The wrapped launch op should be placed on CPU. LogicalResult CheckOpIsValid(Operation* op) { auto launch_op = llvm::dyn_cast<tf_device::LaunchOp>(op->getParentOp()); if (!launch_op) { op->emitError() << "TPUCopyWithDynamicShapeOp is not in a launch"; } std::string device_str = launch_op.getDeviceAttr().getValue().str();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc
// Forward launch inner op results to launch op results. launch.replaceAllUsesWith(launch.GetBody().getTerminator()->getOperands()); // For all inner ops, assign the launch device as a `device` attribute. if (failed(AssignDevicesInRegion(tf_dialect, launch, launch.getBody()))) return failure(); // Move all inner ops of the launch to the block containing the launch.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/DisabledTaskExecutionOnIncludedBuildsCrossVersionSpec.groovy
when: withBuild { BuildLauncher launcher -> launcher.forLaunchables(includedSelector) } then: thrown(BuildException) when: withBuild { BuildLauncher launcher -> launcher.forLaunchables(includedTask) } then: thrown(BuildException) } def "Still can launch tasks from non-included subprojects"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc
launch.getBody().push_back(new mlir::Block); builder->setInsertionPointToEnd(&launch.GetBody()); builder->create<mlir::tf_device::ReturnOp>(loc, op->getResults()); // Move op inside cluster. op->moveBefore(launch.GetBody().getTerminator()); builder->restoreInsertionPoint(insert_point); return launch; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 13 03:57:18 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc
live_out_types.emplace_back(v.getType()); } tf_device::LaunchOp launch_op = builder->create<tf_device::LaunchOp>( builder->getUnknownLoc(), builder->getStringAttr(c.target), live_out_types); // Attach the region to launch_op. launch_op.getBody().takeBody(region); // Replace any external uses of live-out values with return values of launch // op. So live-out values no longer escape the region.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 13:30:21 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc
}; // Wraps single op in `tf_device.launch` for explicit device assignment. void WrapOpInLaunch(OpBuilder* builder, Location loc, Operation* op, llvm::StringRef device) { builder->setInsertionPoint(op); auto launch = builder->create<tf_device::LaunchOp>( loc, builder->getStringAttr(device), op->getResultTypes()); launch.getBody().push_back(new Block); op->replaceAllUsesWith(launch);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 17:41:12 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc
}); for (auto launch_op : launch_ops) { Block& block = launch_op.GetBody(); if (&block.front() == &block.back()) { // The tf_device.launch is empty (except for the return). // Remove the whole tf_device.launch, since later passes will make it send // the arguments back and forth between the devices. Operation* return_op = &block.back();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc
cluster_op.replaceAllUsesWith(cluster_func_op); cluster_op.erase(); } // Outlines body of `tf_device.launch` into a function and create a // `tf_device.launch_func` to invoke that function. `tf_device.launch` is // removed afterwards.` void OutlineLaunch(tf_device::LaunchOp launch_op, SymbolTable* symbol_table, OpBuilder* builder) { llvm::SetVector<Value> live_ins;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 7.2K bytes - Viewed (0)