Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RefEnter (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-while-loop.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    // Verify the ops generated when Ref type is used in a while loop.
    func.func @main() {
      // CHECK:  op: "RefEnter"
      // CHECK:  op: "RefMerge"
      // CHECK:  op: "RefSwitch"
      // CHECK:  op: "RefExit"
      // CHECK:  op: "RefNextIteration"
      tf_executor.graph {
        %0:3 = tf_executor.NextIteration.Source : tensor<*x!tf_type.int32ref> {device = "", T = "tfdtype$DT_INT32"} loc("while/NextIteration")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

        inst->removeAttr(attr_id);
      } else {
        // Some control flow ops in TensorFlow Graph have their respective "Ref" ops
        // as well. For example there is Enter and RefEnter op. RefEnter forwards
        // the input ref buffer to output. However both Enter and RefEnter are
        // mapped to tf_executor::EnterOp during import. Check if it is a Ref op to
        // correctly map to the TensorFlow Graph op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top