mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
[XLA] Remove dead module-group related code from HloPassPipelineTest
PiperOrigin-RevId: 820373683
This commit is contained in:
parent
168eb2c36a
commit
83a98ac48d
|
|
@ -47,14 +47,7 @@ using ::testing::ElementsAre;
|
||||||
using ::testing::SizeIs;
|
using ::testing::SizeIs;
|
||||||
using ::testing::StrEq;
|
using ::testing::StrEq;
|
||||||
|
|
||||||
class HloPassPipelineTest : public HloHardwareIndependentTestBase {
|
using HloPassPipelineTest = HloHardwareIndependentTestBase;
|
||||||
protected:
|
|
||||||
absl::StatusOr<HloModuleGroup> ParseModuleGroup(std::string hlo_string) {
|
|
||||||
TF_ASSIGN_OR_RETURN(std::unique_ptr<VerifiedHloModule> module,
|
|
||||||
ParseAndReturnVerifiedModule(hlo_string));
|
|
||||||
return HloModuleGroup(std::move(module));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// A module pass which renames instructions named 'foo' to 'bar'.
|
// A module pass which renames instructions named 'foo' to 'bar'.
|
||||||
class FooToBarModulePass : public HloModulePass {
|
class FooToBarModulePass : public HloModulePass {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user