| 121 | } |
| 122 | |
| 123 | void TF_SetConfig(TF_SessionOptions* options, const void* proto, |
| 124 | size_t proto_len, TF_Status* status) { |
| 125 | if (!options->options.config.ParseFromArray(proto, proto_len)) { |
| 126 | status->status = InvalidArgument("Unparseable ConfigProto"); |
| 127 | } |
| 128 | } |
| 129 | // -------------------------------------------------------------------------- |
| 130 | TF_Buffer* TF_NewBuffer() { return new TF_Buffer{nullptr, 0, nullptr}; } |
| 131 |
no test coverage detected