Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 234 for eraseOp (0.19 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

                return this;
            }
    
            @Override
            public AnsiContext eraseForward() {
                delegate.eraseLine(Ansi.Erase.FORWARD);
                return this;
            }
    
            @Override
            public AnsiContext eraseAll() {
                delegate.eraseLine(Ansi.Erase.ALL);
                return this;
            }
    
            @Override
            public AnsiContext cursorAt(Cursor cursor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

          /*operands=*/merged_else_yield_values);
    }
    
    // Merge the IfRegions in each segment. In the meantime, the old IfRegions in
    // the segment will be added to `regions_to_remove`. They will be erased in the
    // end.
    // `if_op_segment` refers to segments of IfRegions. `moved_op_list` refers to
    // the ops to be moved after new merged IfRegion. `regions_to_remove` refers to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

        // we replace that block-argument's uses with the same (implicitly captured)
        // token 'token', used for If op, and erase the argument.
        // Note that 'RewriteControlFlowOpRegion' sets the token, used for the first
        // operation of region_idx'th region, to the dummy block-argument. As we
        // erase that argument, we also need to make sure that the token used for
        // the next operation is set to 'token'.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

                                ? WalkResult::advance()
                                : WalkResult::interrupt();
                   })
                   .wasInterrupted()) {
            unscheduled_ops.erase(&unscheduled_op);
            num_partitions_after += op_partition && (scheduled_something == false);
            scheduled_something = true;
            // Schedule the operation by moving it to the start.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

            load = builder.create<TF::CastOp>(op.getLoc(), op.getValue().getType(),
                                              load->getResult(0));
          }
          op.getResult().replaceAllUsesWith(load->getResult(0));
          op.erase();
        });
    
        module.walk([&](TF::AssignVariableOp op) {
          Operation* source = GetHandleSource(op, solver);
          if (!source) return;
          ml_program::GlobalOp globalOp =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

          attr->contains("Truncate") && !attr->at("Truncate").b()) {
        node_def->set_op("Identity");
        attr->insert({{"T", attr->at("SrcT")}});
        attr->erase("SrcT");
        attr->erase("DstT");
        attr->erase("Truncate");
      }
    }
    
    }  // namespace
    
    Status GetAttrValuesFromOperation(
        mlir::Operation* inst, llvm::StringRef name,
        const tensorflow::OpRegistrationData* op_reg_data,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

              op->getLoc(), DenseIntElementsAttr::get(
                                RankedTensorType::get({}, builder.getI64Type()),
                                {device_ordinal}));
          op->replaceAllUsesWith(const_op);
          op->erase();
          return WalkResult::advance();
        }
    
        if (!devices.has_value()) return WalkResult::advance();
    
        // Map aliased devices to explicit devices based on replica.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

          }
        }
        state.addOperands(operands);
        Operation* new_op = builder.create(state);
        item.replaceAllUsesWith(new_op);
        new_op->setAttrs(item.getAttrDictionary());
        item.erase();
      }
      AddStatefulControlFlowDependencies(graph_op);
    }
    
    // Populates an empty IslandOp and with a NoOp or Identity/IdentityN depending
    // on if there are any data results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/parallel_execute_util.cc

          return failure();
        }
        ops_move[0]->remove();
        builder->insert(ops_move[0]);
        parallel_execute.replaceAllUsesWith(ops_move[0]);
        parallel_execute.erase();
      }
      return success();
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/linalg_grad.cc

      absl::btree_set<char> reduced_label_set(input_subs.begin(), input_subs.end());
      for (const char x : output_subs) {
        reduced_label_set.erase(x);
      }
      for (const char x : other_subs) {
        reduced_label_set.erase(x);
      }
      reduced_label_set.erase('.');
    
      // Obtain the input subscripts with the reduced axis labels removed. E.g.
      // "ac" in the above example.
      std::string left_subs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
Back to top