| 2505 | } |
| 2506 | |
| 2507 | void TF_ServerStart(TF_Server* server, TF_Status* status) { |
| 2508 | #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) |
| 2509 | status->status = tensorflow::errors::Unimplemented( |
| 2510 | "Server functionality is not supported on mobile"); |
| 2511 | #else |
| 2512 | status->status = server->server->Start(); |
| 2513 | #endif // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) |
| 2514 | } |
| 2515 | |
| 2516 | void TF_ServerStop(TF_Server* server, TF_Status* status) { |
| 2517 | #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) |
no test coverage detected