Searched refs:tensor_usages (Results 1 – 2 of 2) sorted by relevance
212 tensor_usages; // keeps latest index of operation that updated tensor in Compile() local214 tensor_usages[input_id] = -1; // so as inputs "updated" before operation 0, in Compile()253 int last_usage = tensor_usages[inputs[0]->id]; in Compile()255 if (tensor_usages[inputs[j]->id] > last_usage) { in Compile()256 last_usage = tensor_usages[inputs[j]->id]; in Compile()299 tensor_usages[id] = i; in Compile()
302 tensor_usages; // keeps latest index of operation that updated tensor in ConvertOperations() local304 tensor_usages[input_id] = -1; // so as inputs "updated" before operation 0, in ConvertOperations()345 int last_usage = tensor_usages[inputs[0]->id]; in ConvertOperations()347 if (tensor_usages[inputs[j]->id] > last_usage) { in ConvertOperations()348 last_usage = tensor_usages[inputs[j]->id]; in ConvertOperations()391 tensor_usages[id] = i; in ConvertOperations()