Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsLoopCond (0.18 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      const Node* switch_node = (*it)->src();
    
      // Check if the Switch is driven by LoopCond.
      const Node* maybe_loop_cond;
      TF_RETURN_IF_ERROR(switch_node->input_node(1, &maybe_loop_cond));
      if (!maybe_loop_cond->IsLoopCond()) {
        return false;
      }
    
      // Check if the Identity is driving any const nodes through a control edge.
      bool driving_any_consts =
          absl::c_any_of(node->out_edges(), [](const Edge* e) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                loc, operands[0].getType(), result.attributes);
        return builder_.create<mlir::tf_executor::NextIterationSinkOp>(
            loc, source_op.getToken(), operands, result.attributes);
      }
      if (node.IsLoopCond()) {
        return builder_.create<mlir::tf_executor::LoopCondOp>(loc, types, operands,
                                                              result.attributes);
      }
      if (node.IsEnter()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top