Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for cond_false (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-defs.pbtxt

      }
      function {
        signature {
          name: "cond_false"
          input_arg {
            name: "cond_false"
            type: DT_INT32
          }
          input_arg {
            name: "cond_false1"
            type: DT_INT32
          }
          output_arg {
            name: "cond_false2"
            type: DT_INT32
          }
          output_arg {
            name: "cond_false3"
            type: DT_INT32
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-if-ops.pbtxt

          value: "tf.Add:z:0"
        }
      }
      function {
        signature {
          name: "cond_false"
          input_arg {
            name: "cond_false"
            type: DT_FLOAT
          }
          input_arg {
            name: "cond_false1"
            type: DT_FLOAT
          }
          output_arg {
            name: "cond_false2"
            type: DT_FLOAT
          }
        }
        node_def {
          name: "tf.Mul"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/if_op.mlir

    // CHECK:   %{{.*}} = "tf.If"(%{{.*}}, %{{.*}}, %{{.*}}) <{else_branch = @cond_false, is_stateless = false, then_branch = @cond_true}> : (tensor<1xi1>, tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      %0 = "tfl.less"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xi1>
      %1 = "tf.If"(%0, %arg0, %arg1) {else_branch = @cond_false, then_branch = @cond_true, is_stateless = false} : (tensor<1xi1>, tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/if_op.pbtxt

    # CHECK:      "tf.If"{{.+}}else_branch = @cond_false0{{.+}}is_stateless = false{{.+}}then_branch = @cond_true0
    # CHECK:      func private @cond_false_10
    # CHECK-NEXT: tfl.div
    # CHECK:      func private @cond_true_10
    # CHECK-NEXT: tfl.sub
    # CHECK:      func private @cond_false0
    # CHECK-NEXT: tfl.mul
    # CHECK:      func private @cond_true0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 16 15:29:56 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/functional-if-ops.mlir

        %outputs_4, %control_5 = tf_executor.island wraps "tf.If"(%outputs_2, %arg2, %arg3) {else_branch = @cond_false, is_stateless = false, then_branch = @cond_true} : (tensor<i1>, tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32> loc("StatefulIf")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/if_op.mlir

    // CHECK-NEXT:       builtin_options_type: MulOptions,
    // CHECK-NEXT:       builtin_options: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       }
    // CHECK-NEXT:     } ],
    // CHECK-NEXT:     name: "cond_false"
    // CHECK-NEXT:   } ],
    // CHECK-NEXT:   description: "MLIR Converted.",
    // CHECK-NEXT:   buffers: [ {
    // CHECK-EMPTY:
    // CHECK-NEXT:   }, {
    // CHECK-EMPTY:
    // CHECK-NEXT:   }, {
    // CHECK-EMPTY:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt="enable-while-parallel-iterations=true" %s | FileCheck %s --dump-input=fail
    
    // CHECK-LABEL: func @cond_false(%arg0: !tfrt.chain, %arg1: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor)
    func.func @cond_false(%arg0: tensor<i32>) -> tensor<i32> {
      %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<-1> : tensor<i32>} : () -> 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)
  8. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

      %7 = "tf.Pack"(%2, %6) : (tensor<f32>, tensor<f32>) -> tensor<2xf32>
      func.return %7 : tensor<2xf32>
    }
    
    // -----
    
    // A resource is passed into tf.If
    func.func @cond_false(%arg0: tensor<!tf_type.resource<tensor<f32>>>, %arg1: tensor<f32>) -> tensor<f32> {
      func.return %arg1 : tensor<f32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // CHECK:  [[SHAPE_1:%.*]] = "tf.Shape"([[INPUT]]) : (tensor<3x10xf32>) -> tensor<?xi32>
    // CHECK:  [[RESULT:%.*]] = "tf.If"([[DIFF_RES]], [[INPUT]], [[SHAPE_1]], [[SIZE_DIFF]], [[SIZE]]) <{else_branch = @cond_false, is_stateless = true, then_branch = @cond_true}> : (tensor<i1>, tensor<3x10xf32>, tensor<?xi32>, tensor<i32>, tensor<i32>) -> tensor<?x10xf32>
    // CHECK:  return [[RESULT]] : tensor<?x10xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // Constructs `else_branch`, which is executed when `if_cond` evaluates to
        // false.
        auto else_branch_op =
            rewriter.create<func::FuncOp>(loc, "cond_false", func_type);
        CreateCondFalseBranch(loc, shape_dtype, result_type, else_branch_op,
                              &rewriter);
        else_branch_op.setVisibility(func::FuncOp::Visibility::Private);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top