Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,906 for while_1 (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt

        }
      }
    }
    node {
      name: "while/Less"
      op: "Less"
      input: "while/Merge"
      input: "while/Less/y"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "while/LoopCond"
      op: "LoopCond"
      input: "while/Less"
    }
    node {
      name: "while/Switch"
      op: "Switch"
      input: "while/Merge"
      input: "while/LoopCond"
      attr {
        key: "T"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 18:14:13 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-while-loop.mlir

        %8:2 = tf_executor.Exit %7#1 : tensor<*x!tf_type.int32ref> {device = "", T = "tfdtype$DT_INT32"} loc("while/Exit")
        %10:2 = tf_executor.island(%7#2) wraps "tf.Const"() {device = "", dtype = "tfdtype$DT_INT32", value = dense<1> : tensor<i32>} : () -> tensor<i32> loc("while/Add/y")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/functional-while-ops.mlir

      }
      func.return %0#0, %0#1 : tensor<*xi32>, tensor<*xf32>
    }
    
    // Verify that While op is mapped to TensorFlow StatelessWhile op if the
    // is_stateless attribute is present and otherwise it is mapped to TensorFlow
    // While op. In both cases, the additional attribute should be dropped.
    
    // CHECK: name: "StatefulWhile"
    // CHECK-NOT: name:
    // CHECK: op: "While"
    // CHECK-NOT: is_stateless
    // CHECK-NOT: shape_invariant
    // CHECK:  attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

    // RUN: tf-opt --tfl-legalize-tf-while %s -o - | FileCheck %s
    // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline='default-pipeline=''' | FileCheck %s --check-prefix=INLINE
    // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline | FileCheck %s --check-prefix=CANON
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

      func.setPrivate();
    }
    
    void RunOnWhile(TF::WhileOp while_op) {
      Operation* op = while_op.getOperation();
      // Create new TFL While op that will be used to replace TF While op.
      auto new_op = OpBuilder(op).create<TFL::WhileOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(),
          while_op.getIsStateless());
      Location loc = while_op->getLoc();
      CreateRegionWithCall(while_op.cond_function(), new_op.getCond(), loc);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-while-ops.pbtxt

    # Verify that TensorFlow While and StatelessWhile ops are mapped to the
    # composite While op in MLIR with is_stateless attribute set accordingly to
    # distinguish between them.
    
    # CHECK-DAG: "tf.While"{{.*}} is_stateless = false{{.*}} loc(fused["While:", "StatefulWhile"])
    # CHECK-DAG: "tf.While"{{.*}} is_stateless = true{{.*}} loc(fused["StatelessWhile:", "StatelessWhile"])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

          while_op.getLoc(), new_result_types, new_operands, while_op->getAttrs());
      new_while_op.getCond().takeBody(while_op.getCond());
      new_while_op.getBody().takeBody(while_op.getBody());
    
      for (auto i = 0; i < n; ++i) {
        if (!while_op.getResult(i).use_empty()) {
          auto j = id_map[i];
          while_op.getResult(i).replaceAllUsesWith(new_while_op.getResult(j));
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      auto new_while_op = OpBuilder(while_op).create<WhileOp>(
          while_op.getLoc(), new_types, operands, while_op->getAttrs());
      new_while_op.getCond().takeBody(while_op.getCond());
      new_while_op.getBody().takeBody(while_op.getBody());
      while_op.replaceAllUsesWith(
          new_while_op.getResults().take_front(while_op.getNumResults()));
      while_op.erase();
    }
    
    void WhileOutlinePass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.txt

    Dmitrii Gridin <******@****.***> 1716981664 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 389 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

    }
    
    // Rewrites the while op with extra chaining operands and results. Uses a
    // dummy constant of requested type as argument to all the new chaining
    // operands.
    TF::WhileOp RewriteWhileOp(TF::WhileOp while_op, int num_resource_inputs,
                               ShapedType const_type) {
      IslandOp while_wrapper = while_op->getParentOfType<IslandOp>();
      assert(while_wrapper && "While op is expected to be wrapped in a IslandOp");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top