Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for interop (0.17 sec)

  1. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc

    Both link:{kotlin-reference}java-interop.html[calling Java from Kotlin] and link:{kotlin-reference}java-to-kotlin-interop.html[calling Kotlin from Java] are very well covered in the Kotlin reference documentation.
    
    The same mostly applies to interoperability with Groovy code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            in primitiveTypeStrings.keys -> primitiveTypeStrings[binaryName]!!
            else -> binaryName.replace('$', '.')
        }
    
    
    /**
     * See https://kotlinlang.org/docs/reference/java-interop.html#mapped-types
     */
    private
    val mappedTypeStrings =
        mapOf(
            // Built-ins
            "java.lang.Cloneable" to "kotlin.Cloneable",
            "java.lang.Comparable" to "kotlin.Comparable",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                             op->getSuccessors(), new_regions);
          inner_op = rewriter.create(state);
        } else {
          bool disable_call_shape_inference = false;
          if (op->hasAttr("_disable_call_shape_inference")) {
            disable_call_shape_inference =
                op->getAttrOfType<BoolAttr>("_disable_call_shape_inference")
                    .getValue();
          }
          inner_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

    namespace {
    // Finds in a block if the op of type `InnerOpT` is the first operation and
    // optionally followed by a terminator.
    template <typename InnerOpT>
    bool HasSingleOpInBlock(Block *block) {
      if (block->empty()) return false;
      if (!llvm::isa<InnerOpT>(block->front())) return false;
      // Either InnerOpT is the only instruction in the block, or there is a
      // possible terminator.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      block->walk([&](Operation* op) {
        Operation* iter_op = op;
        while (iter_op && !llvm::isa<mlir::tf_device::ClusterOp>(iter_op)) {
          if (iter_op->hasAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) {
            return;
          }
          iter_op = iter_op->getParentOp();
        }
    
        if (!IsSupportedOp(*op, supported_ops, tf_dialect)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

                HashCode hash = streamHasher.hashCopy(input, output);
                chmodUnpackedFile(entry, file);
                String internedAbsolutePath = stringInterner.intern(file.getAbsolutePath());
                String internedFileName = stringInterner.intern(fileName);
                return new RegularFileSnapshot(internedAbsolutePath, internedFileName, hash, DefaultFileMetadata.file(output.getCount(), file.lastModified(), DIRECT));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      for (Operation* cluster_op : cluster_ops) {
        cluster_op->moveBefore(body, body->end());
        cluster_op->walk([&](Operation* inner_op) {
          inner_op->removeAttr(mlir::TF::kReplicationInfoAttr);
          inner_op->removeAttr(mlir::TF::kCompileDeviceTypeAttr);
    
          if (auto attr = inner_op->getAttrOfType<StringAttr>(kDeviceAttr)) {
            // Preserve device attribute if the op is placed on a replicated core
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        } else if (auto island =
                       llvm::dyn_cast<mlir::tf_executor::IslandOp>(inst)) {
          Operation& inner_op = island.GetBody().front();
          auto op_name = GetTensorFlowOpName(inner_op.getName().getStringRef());
          if (llvm::isa<FuncOp>(inner_op) && op_name.ok()) {
            // If it is TF Control dialect specific op, look up custom operation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        } else if (auto island =
                       llvm::dyn_cast<mlir::tf_executor::IslandOp>(inst)) {
          Operation& inner_op = island.GetBody().front();
          auto op_name = GetTensorFlowOpName(inner_op.getName().getStringRef());
          if (llvm::isa<FuncOp>(inner_op) && op_name.ok()) {
            // If it is TF Control dialect specific op, look up custom operation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

      } else if (auto sink = llvm::dyn_cast<tf_executor::NextIterationSinkOp>(op)) {
        return ops_have_same_device(sink.GetSource(), sink);
      }
    
      return llvm::isa<tf_executor::EnterOp, tf_executor::ExitOp,
                       tf_executor::IslandOp, tf_executor::MergeOp,
                       tf_executor::SwitchOp>(op);
    }
    
    // Assigns all data results to a specified device.
    void PopulateDeviceForOpResults(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top