Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    template <typename ClusterOrLaunchOp>
    func::FuncOp BuildFunction(llvm::ArrayRef<Value> live_ins, ClusterOrLaunchOp op,
                               SymbolTable* symbol_table, OpBuilder* builder) {
      llvm::SmallVector<Type, 4> operand_types;
      operand_types.reserve(live_ins.size());
      for (Value v : live_ins) operand_types.emplace_back(v.getType());
    
      auto func_type = builder->getFunctionType(operand_types, op.getResultTypes());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc

          continue;
        }
        // Gets the live in values of the `op`
        llvm::SetVector<Value> live_ins(op.operand_begin(), op.operand_end());
        getUsedValuesDefinedAbove(op.getRegions(), live_ins);
        // Inserts if any of the `live_ins` depends on the ops in the cluster.
        if (llvm::any_of(live_ins, [&](Value value) {
              Operation* defining_op = value.getDefiningOp();
              if (!defining_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 28 00:32:55 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top