Searched refs:tflite_tensor_index (Results 1 – 3 of 3) sorted by relevance
161 bool GraphBuilder::HasTensor(int tflite_tensor_index) { in HasTensor() argument162 if (tensors_.size() <= tflite_tensor_index) { in HasTensor()165 return tensors_[tflite_tensor_index].NodeID() != -1; in HasTensor()168 bool GraphBuilder::IsTensorUsed(int tflite_tensor_index) { in IsTensorUsed() argument169 if (!HasTensor(tflite_tensor_index)) return false; in IsTensorUsed()170 return used_tensor_[tflite_tensor_index]; in IsTensorUsed()
79 bool HasTensor(int tflite_tensor_index);82 bool IsTensorUsed(int tflite_tensor_index);
270 OpBuilder::TensorID GetHexagonTensorId(int tflite_tensor_index) { in GetHexagonTensorId() argument271 if (!HasTensor(tflite_tensor_index)) { in GetHexagonTensorId()275 return tensors_[tflite_tensor_index]; in GetHexagonTensorId()279 bool HasTensor(int tflite_tensor_index) { in HasTensor() argument280 if (tensors_.size() <= tflite_tensor_index) { in HasTensor()285 return tensors_[tflite_tensor_index].first != 0; in HasTensor()