Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for setInsertionPointAfter (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

                                         ArrayRef<int64_t> input_shape) {
      auto input_op = input.getDefiningOp();
      OpBuilder builder(input_op);
      builder.setInsertionPointAfter(input_op);
      SmallVector<int64_t, 4> transform_shape = {
          input_shape[0], input_shape[1] / block_size, input_shape[2] / block_size,
          input_shape[3] * block_size * block_size};
      auto transform_result_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

        mlir::OpBuilder* builder) {
      // Inject concat ops after parallel_execute to merge outputs from
      // concurrently executed computations.
      builder->setInsertionPointAfter(new_parallel_execute);
    
      // Reorders outputs from TPUExecute op as defined by the output sharding
      // configuration.
      llvm::SmallVector<mlir::Value, 4> outputs_to_merge;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            }
            auto new_output_type = new_qtype.castFromExpressedType(
                mlir::quant::UniformQuantizedType::castToExpressedType(
                    value.getType()));
            builder.setInsertionPointAfter(cst.getOperation());
            auto new_op = builder.create<tfl::QConstOp>(
                cst.getLoc(), new_output_type, mlir::TypeAttr::get(new_output_type),
                cst.getValueAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // Additionally, create the SymbolTable before further modifying the module.
        auto original_point = rewriter.saveInsertionPoint();
        rewriter.setInsertionPointAfter(op->getParentOfType<func::FuncOp>());
        SymbolTable manager(op->getParentOfType<ModuleOp>());
    
        // Constructs `then_branch`, which is executed when `if_cond` evaluates to
        // true.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          enqueue_callers = true;
        } else if (NeedsCastBack(use, tf_dialect_)) {
          if (!cast_op) {
            Operation* op = result.getDefiningOp();
            OpBuilder b(op);
            b.setInsertionPointAfter(op);
            cast_op = InsertCast(b, op->getLoc(), result.getType(), result);
            if (!cast_op) return false;
          }
          use.set(Value(cast_op->getResult(0)));
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

                                     control_nodes_at[owner]);
        }
        control_token.dropAllUses();
    
        // Replace the ControlNodeOp with the wrapped operation.
        rewriter.setInsertionPointAfter(outer_op);
        auto* cloned_inner = rewriter.clone(*inner_op);
        for (auto it :
             llvm::zip(control_node_op.getOutputs(), cloned_inner->getResults())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top