#pragma once #include namespace torch { namespace jit { struct Graph; // Propagates Device type info throughout the given graph. TORCH_API bool DeviceTypePropagation(std::shared_ptr& graph); } // namespace jit } // namespace torch