Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cond_ref (0.23 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

      // CHECK: [[cond_res:%.*]]:2 = tfrt.cond
      // CHECK-SAME: @cond_true @cond_false(%arg0, %arg1) : (!tfrt.chain, !tfrt_fallback.tf_tensor)
      %2 = "tf.If"(%1, %arg0) {else_branch = @cond_false, then_branch = @cond_true, is_stateless = false} : (tensor<i1>, tensor<i32>) -> tensor<i32>
      // Note: returns %out_op_chain.
      // CHECK: tfrt.return [[cond_res]]#0, [[cond_res]]#1 : !tfrt.chain, !tfrt_fallback.tf_tensor
      func.return %2 : tensor<i32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

    // CHECK: func @"while_cond_lt9/tf_mlrt_predicate"([[arg:%.*]]: !tf_mlrt.tensor) -> i1
    // CHECK: [[cond_res:%.*]] = call @while_cond_lt9([[arg]]) : (!tf_mlrt.tensor) -> !tf_mlrt.tensor
    // CHECK: [[bool_res:%.*]] = tf_mlrt.predicate [[cond_res]]
    // CHECK: return [[bool_res]] : i1
    
    // CHECK-LABEL: func @multi_while_test
    func.func @multi_while_test() -> (tensor<i32>, tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top