Searched refs:GetDefaultDeviceType (Results 1 – 5 of 5) sorted by relevance
14 : type_(getBackend()->GetDefaultDeviceType()), in BackendDevice()49 return BackendDevice(getBackend()->GetDefaultDeviceType(), ordinal); in atenDeviceToBackendDevice()
103 virtual std::shared_ptr<BackendDeviceType> GetDefaultDeviceType() const = 0;
147 std::shared_ptr<torch::lazy::BackendDeviceType> GetDefaultDeviceType() in GetDefaultDeviceType() function in torch::lazy::TSBackendImpl257 return torch::lazy::BackendDevice(GetDefaultDeviceType(), device.index()); in GetBackendDevice()264 return (c10::DeviceType)GetDefaultDeviceType()->type; in EagerFallbackDeviceType()
32 getBackend()->GetDefaultDeviceType(); in GetDeviceOrCurrent()207 return getBackend()->GetDefaultDeviceType()->toString(); in initLazyBindings()
60 auto default_type = getBackend()->GetDefaultDeviceType(); in TEST()