| 238 | } |
| 239 | |
| 240 | void GraphFunction::retypeDataInput(size_t idx, DataType newType) { |
| 241 | // invalidate the cache |
| 242 | module().updateLastEditTime(); |
| 243 | |
| 244 | if (idx < mDataInputs.size()) { mDataInputs[idx].type = std::move(newType); } |
| 245 | updateEntries(); |
| 246 | } |
| 247 | |
| 248 | void GraphFunction::addDataOutput(const DataType& type, std::string name, size_t addBefore) { |
| 249 | // invalidate the cache |
no test coverage detected