Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tf_promise (0.21 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

    // CHECK-NEXT: [[RES:%.*]] = "tf.Sub"({{%.*}}, [[V]])
    // CHECK: "tf_mlrt.tf_promise"([[PROMISE]], [[RES]])
    // CHECK: return
    
    // CHECK-LABEL: func private @main_stream_{{[0-9]*}}
    // CHECK-SAME: ([[CONTROL_FUTURE:%.*]]: !mlrt.future, [[PROMISE:%.*]]: !mlrt.promise, [[PROMISE_HANDLE:%.*]]: !mlrt.promise)
    // CHECK: [[HANDLE:%.*]] = "tf.VarHandleOp"
    // CHECK-NEXT: "tf_mlrt.tf_promise"([[PROMISE_HANDLE]], [[HANDLE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/async_while.mlir

    // CHECK-NEXT:    "tf_mlrt.tf_promise"(%arg2, %1) : (!mlrt.promise, tensor<i32>) -> ()
    // CHECK-NEXT:    %2 = "tf.PartitionedCall"(%1, %arg5) <{config = "", config_proto = "", executor_type = "", f = @"map/while_cond/TfMlrtAsyncWhilePredicate"}> : (tensor<i32>, tensor<i32>) -> tensor<i1>
    // CHECK-NEXT:    "tf_mlrt.tf_promise"(%arg0, %2) : (!mlrt.promise, tensor<i1>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      // CHECK: tf_mlrt.promise [[promise_c]], [[c]]
      "tf_mlrt.tf_promise"(%promise_c, %c) : (!mlrt.promise, tensor<i32>) -> ()
      // CHECK: [[d:%.*]] = tf_mlrt.executeop([[c]])
      // CHECK-SAME: Abs
      %d = "tf.Abs"(%c) {__op_key = 5: i32}: (tensor<i32>) -> tensor<i32>
      // CHECK: tf_mlrt.promise [[promise_d]], [[d]]
      "tf_mlrt.tf_promise"(%promise_d, %d) : (!mlrt.promise, tensor<i32>) -> ()
      // CHECK: return
      return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

      let arguments = (ins
        MlrtFutureType:$future
      );
    
      let results = (outs
        TF_Tensor:$result
      );
    }
    
    // tf_mlrt.tf_promise takes a tensorflow Tensor. It is a fake op that is only
    // used during parallelization and has no runtime implementation.
    def TFPromiseOp: TensorflowMlrt_Op<"tf_promise", [TF_MustExecute, TFRT_CostFunctionInterface, TFRT_FixedCost<1>]> {
      let summary = "Set a tensor in a promise";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

    // CHECK-NEXT: tf.Mul
    // CHECK-NEXT: tf_mlrt.tf_await
    // CHECK-NEXT: tf_mlrt.tf_await
    // CHECK-NEXT: tf.TensorListSetItem
    // CHECK-NEXT: tf.TensorListSetItem
    // CHECK-NEXT: tf_mlrt.tf_promise
    // CHECK-NEXT: tf_mlrt.tf_promise
    // CHECK-NEXT: return
    
    // CHECK-LABEL: tf.MultiListWhileRegion_cond
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
Back to top