Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindClustersInTheBlock (0.33 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    //
    // TODO(ezhulenev): Additional filter function is a workaround for customizing
    // clustering policies at runtime for experimentation. In the long term,
    // clustering policy should be enough.
    llvm::SmallVector<Cluster> FindClustersInTheBlock(
        Block* block, const ClusteringPolicySet& policies,
        std::function<bool(Operation* op)> filter = {});
    
    // Creates a `tf_device.cluster` operation from the clustered operations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          if (succeeded(state.Union(member_id, user_member_id, policies)))
            clustered = true;
        }
      }
    
      return clustered;
    }
    
    llvm::SmallVector<Cluster> FindClustersInTheBlock(
        Block *block, const ClusteringPolicySet &policies,
        std::function<bool(Operation *op)> filter) {
      // It is impossible to build a cluster in the empty block.
      if (block->empty()) return {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top