Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getElseBranch (0.2 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      auto opcode_index = GetOpcodeIndex("if", tflite::BuiltinOperator_IF);
      int then_subgraph_index = subgraph_index_map_.at(op.getThenBranch().str());
      int else_subgraph_index = subgraph_index_map_.at(op.getElseBranch().str());
      auto builtin_options = tflite::CreateIfOptions(builder_, then_subgraph_index,
                                                     else_subgraph_index)
                                 .Union();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    }
    
    bool ShapeInference::InferShapeForIfRegion(IfRegionOp op) {
      bool changed = false;
    
      Operation* then_yield = op.getThenBranch().front().getTerminator();
      Operation* else_yield = op.getElseBranch().front().getTerminator();
      for (auto result : zip(op.getResults(), then_yield->getOperandTypes(),
                             else_yield->getOperandTypes())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top