Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for program_id (0.23 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

    // CHECK-NEXT:  %0 = "tf.IfrtCall"(%arg1, %arg0)
    // CHECK-SAME:       {program_id = [[PROGRAM_ID:.*]] : i64, variable_arg_indices = []
    // CHECK-SAME:       (tensor<1x3xf32>, tensor<3x1xf32>) -> tensor<1x1xf32>
    // CHECK-NEXT:    %1 = "tf.Identity"(%arg1) {device = ""} : (tensor<1x3xf32>) -> tensor<1x3xf32>
    // CHECK-NEXT:    %2 = "tf.IfrtCall"(%1, %arg0)
    // CHECK-SAME:       {program_id = [[PROGRAM_ID]] : i64, variable_arg_indices = []
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // CHECK-NEXT:    "tf.MatMul"(%arg0, [[TENSOR]]) : (tensor<1x3xf32>, tensor<3x1xf32>) -> tensor<1x1xf32>
    // CHECK-NEXT:    "tf.IfrtCall"(%arg0, [[ARRAYKEY]]) <{program_id = 6515870160938153680 : i64, variable_arg_indices = [1 : i32]}> {__tpu_compile_metadata_text = "retvals { sharding { } }"} : (tensor<1x3xf32>, tensor<!tf_type.string>) -> tensor<1x1xf32>
    // CHECK-NEXT:    return
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tfrt_ops.mlir

      return
    }
    
    // -----
    // CHECK-LABEL: func @test_ifrt_call
    func.func @test_ifrt_call(%arg0: tensor<?xf32>, %arg1: tensor<?xf32>) {
      %result = "tf.IfrtCall"(%arg0, %arg1) <{program_id = 1234 : i64, variable_arg_indices = [0 : i32, 1 : i32], variable_names = ["a", "b"]}> : (tensor<?xf32>, tensor<?xf32>) -> (tensor<1x1xf32>)
      func.return
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 06:13:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

    // CHECK-NEXT:   [[KEY:%.*]], [[FUTURE:%.*]] = "tf.IfrtLoadVariable"([[HANDLE2]])
    // CHECK-SAME:       used_by_host = false 
    // CHECK-NEXT:   [[RES:%.*]] = "tf.IfrtCall"([[KEY]], %arg0) <{program_id = 6515870160938153680 : i64, variable_arg_indices = [0 : i32]}>
    // CHECK-SAME:    : (tensor<!tf_type.string>, tensor<1x3xf32>) -> tensor<1x1xf32>
    // CHECK-NEXT:    return [[RES]] : tensor<1x1xf32>
    //
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        During lowering from a `tf_device.cluster_func` op to a `tf.IfrtCall` op,
        the region owned by the former will be outlined to a function with a
        `tfrt_ifrt_serving.program_id` attribute. After that, the runtime ensures
        that the outlined function is compiled into an executable and is available
        for lookup from `IfrtCall` TF ops.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

    mlir::LogicalResult IfrtCallOp::verify() {
      auto func = getOperation()->getParentOfType<mlir::func::FuncOp>();
      if (func != nullptr && func->hasAttr("tfrt_ifrt_serving.program_id")) {
        return emitOpError() << "cannot be nested inside an IFRT program";
      }
    
      for (mlir::Value arg : getArgs()) {
        if (mlir::isa<mlir::TF::ResourceType>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/move_tpu_compile_to_front.mlir

       // CHECK-SAME: Y
       // CHECK: OpA
       // CHECK: OpB
       // CHECK: OpC
       "tf.OpA"() : () -> ()
       %status_x, %program_x = "tf._TPUCompileMlir"() { metadata = "X", mlir_module = "..." } : () -> (tensor<!tf_type.string>, tensor<!tf_type.string>)
       "tf.OpB"() : () -> ()
       %status_y, %program_y = "tf._TPUCompileMlir"() { metadata = "Y", mlir_module = "..." } : () -> (tensor<!tf_type.string>, tensor<!tf_type.string>)
       "tf.OpC"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 00:26:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramId.kt

     */
    
    package org.gradle.kotlin.dsl.execution
    
    import org.gradle.internal.hash.HashCode
    import org.gradle.kotlin.dsl.support.KotlinCompilerOptions
    import java.lang.ref.WeakReference
    
    
    class ProgramId(
        val templateId: String,
        val sourceHash: HashCode,
        parentClassLoader: ClassLoader,
        private val accessorsClassPathHash: HashCode? = null,
        private val classPathHash: HashCode? = null,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

        interface Host {
    
            fun cachedClassFor(
                programId: ProgramId
            ): CompiledScript?
    
            fun cache(
                specializedProgram: CompiledScript,
                programId: ProgramId
            )
    
            fun cachedDirFor(
                scriptHost: KotlinScriptHost<*>,
                programId: ProgramId,
                compilationClassPath: ClassPath,
                accessorsClassPath: ClassPath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ExecutableProgram.kt

                accessorsClassPath: ClassPath
            )
    
            fun compileSecondStageOf(
                program: StagedProgram,
                scriptHost: KotlinScriptHost<*>,
                programId: ProgramId,
                programKind: ProgramKind,
                programTarget: ProgramTarget,
                accessorsClassPath: ClassPath
            ): CompiledScript
    
            fun handleScriptException(
                exception: Throwable,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top