mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
[XLA] Remove unused cache_key field from HloModuleGroup
PiperOrigin-RevId: 843854869
This commit is contained in:
committed by
TensorFlower Gardener
parent
ab3cb07046
commit
23b6ac7fa8
@@ -92,18 +92,10 @@ class HloModuleGroup {
|
||||
// Returns true if there are no modules in the module group.
|
||||
bool empty() const { return !module_; }
|
||||
|
||||
absl::string_view cache_key() const { return cache_key_; }
|
||||
void set_cache_key(absl::string_view cache_key) {
|
||||
cache_key_ = std::string(cache_key);
|
||||
}
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
|
||||
// Vector of modules as std::unique_ptrs.
|
||||
std::unique_ptr<HloModule> module_;
|
||||
|
||||
std::string cache_key_;
|
||||
};
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, const HloModuleGroup& group);
|
||||
|
||||
Reference in New Issue
Block a user