Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for partition_ops_ (0.17 sec)

  1. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

        const llvm::SetVector<Operation*>& partition_ops) {
      llvm::SmallVector<Value> values_for_results;
      for (Operation* op : partition_ops) {
        if (IsConstantOrNone(op)) {
          continue;
        }
        for (Value output : op->getResults()) {
          bool output_consumed_outside_subgraph = false;
          for (Operation* consumer : output.getUsers()) {
            if (llvm::all_of(partition_ops, [&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

     public:
      const llvm::SetVector<Operation*> partition_ops_;
    
      // Subgraphs are given a unique incremented integer id based on when
      // they were encountered in this pass.
      const int subgraph_id_;
    
      const llvm::StringRef dialect_namespace_;
    
      Subgraph(const llvm::SetVector<Operation*> partition_ops, int num_subgraphs)
          : partition_ops_(partition_ops),
            subgraph_id_(num_subgraphs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      // remainder of that recursive call.
      auto extract = [&](const llvm::SetVector<Operation*>& partition_ops) -> void {
        if (partition_ops.empty()) return;
        InferenceDeviceType device =
            GetInferenceDeviceTypeForOp(partition_ops.front()).value();
        Subgraph old_subgraph(partition_ops, ++func_count);
        OpsAdded ops_added;
        ExtractSubgraphToFunc(old_subgraph, builder, module, ops_added);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

      llvm::SmallVector<std::string, 4> result_devices;
      // The operations to be included in the body of the function.
      llvm::SmallVector<Operation *, 4> ops;
    
      func::FuncOp partition_op;
    };
    
    // Returns a map that maps the host address to the metadata of the function
    // for that remote host. The metadata of the function specifies the input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top