Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for task_id (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

            return mlir::failure();
          if (!parsed_name.has_type) {
            parsed_name.type = "CPU";
            parsed_name.has_type = true;
          }
          if (!parsed_name.has_id) {
            parsed_name.id = 0;
            parsed_name.has_id = true;
          }
          output.push_back(mlir::NamedAttribute(
              mlir::StringAttr::get(context, "device"),
              mlir::StringAttr::get(
                  context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/core-plugins/war_plugin.adoc

    The War plugin adds and modifies the following tasks:
    
    `war` — link:{groovyDslPath}/org.gradle.api.tasks.bundling.War.html[War]::
    _Depends on_: `compile`
    +
    Assembles the application WAR file.
    
    `assemble` - _lifecycle task_::
    _Depends on_: `war`
    
    The War plugin adds the following dependencies to tasks added by the Java plugin;
    
    .War plugin - tasks
    image::warPluginTasks.png[]
    
    [[sec:war_dependency_management]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/README.md

    ### Code snippets
    
    As an example, you can run Kotlin and Groovy snippets tests from [`src/snippets/java/toolchain-task/`](src/snippets/java/toolchain-task) using:
    ```
    ./gradlew :docs:docsTest --tests "*.snippet-java-toolchain-task_*"
    ```
    
    You can also filter the tests for a specific DSL like this:
    ```
    ./gradlew :docs:docsTest --tests "*.snippet-java-toolchain-task_kotlin_*"
    ```
    
    ### Testing with configuration cache
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 21:49:03 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack.cc

      DeviceNameUtils::ParsedName parsed_name;
      tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name);
      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
        ctx.device_type = DLDeviceType::kDLCPU;
      } else if (device_type == "GPU") {
    #if TENSORFLOW_USE_ROCM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    absl::StatusOr<llvm::SmallVector<ParsedDevice, 8>> GetTPUSystemDevices(
        ParsedDevices devices) {
      ParsedDevice spec;
      spec.type = kDeviceTPUSystem;
      spec.has_type = true;
      spec.id = 0;
      spec.has_id = true;
    
      llvm::SmallVector<ParsedDevice, 8> system_devices =
          FindMatchingDevices(devices, spec);
      if (system_devices.empty())
        return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    When the <<#native_binaries:cunit,CUnit>> or <<#native_binaries:google_test,GoogleTest>> plugins are applied, the task that executes the test suites for a component are automatically wired to the appropriate _check task_.
    
    You can also add custom check tasks as follows:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. tensorflow/c/kernels.cc

      const tensorflow::DeviceBase* device_base =
          reinterpret_cast<tensorflow::OpKernelContext*>(ctx)->device();
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      if (!device_base->parsed_name().has_id) return -1;
      return device_base->parsed_name().id;
    #else
      const auto* device = reinterpret_cast<const tensorflow::Device*>(
          device_base->UnderlyingDevice());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

            )
        }
    
        def getTypedNodeId(nodeIdentity) {
            switch (nodeIdentity.nodeType) {
                case TASK:
                    return new TypedNodeId(nodeType: TASK, nodeIdInType: nodeIdentity.taskId.toString())
                case TRANSFORM_STEP:
                    return new TypedNodeId(nodeType: TRANSFORM_STEP, nodeIdInType: nodeIdentity.transformStepNodeId)
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      if (!node_def.device().empty()) {
        if (!parsed_name.has_type) {
          parsed_name.type = "CPU";
          parsed_name.has_type = true;
        }
        if (!parsed_name.has_id) {
          parsed_name.id = 0;
          parsed_name.has_id = true;
        }
      }
      result.attributes.push_back(builder_.getNamedAttr(
          "device", builder_.getStringAttr(
    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