| 350 | DummyDevice(Env* env, bool save) : DeviceBase(env), save_(save) {} |
| 351 | bool RequiresRecordingAccessedTensors() const override { return save_; } |
| 352 | Allocator* GetAllocator(AllocatorAttributes /*attr*/) override { |
| 353 | return cpu_allocator(); |
| 354 | } |
| 355 | |
| 356 | private: |
| 357 | bool save_; |
nothing calls this directly
no test coverage detected