Searched refs:backend_options (Results 1 – 5 of 5) sorted by relevance
37 BackendOptions backend_options; in SetUp() local38 backend_options.set_platform(platform); in SetUp()40 Backend::CreateBackend(backend_options); in SetUp()
54 BackendOptions backend_options; in NewService() local55 backend_options.set_platform(platform) in NewService()60 Backend::CreateBackend(backend_options)); in NewService()
125 BackendOptions backend_options; in CreateDefaultBackend() local126 backend_options.set_platform(platform); in CreateDefaultBackend()127 return CreateBackend(backend_options); in CreateDefaultBackend()
89 BackendOptions backend_options; in HloRunner() local90 backend_options.set_platform(platform); in HloRunner()91 backend_ = Backend::CreateBackend(backend_options).ConsumeValueOrDie(); in HloRunner()
147 BackendOptions backend_options; in NewService() local148 backend_options.set_platform(platform); in NewService()149 backend_options.set_allowed_devices(options.allowed_devices()); in NewService()150 TF_ASSIGN_OR_RETURN(execute_backend, Backend::CreateBackend(backend_options)); in NewService()