Lines Matching refs:tensors
180 std::vector<int> tensors(operands.size(), -1); in Create() local
195 tensors[t] = t; in Create()
203 tensors[t] = t; in Create()
209 tensors[t] = t; in Create()
215 for (int t : tensors) { in Create()
217 if (operands[tensors[t]].type != OperandType::TENSOR_FLOAT32) { in Create()
224 if (operands[tensors[t]].lifetime == Operand::LifeTime::CONSTANT_COPY || in Create()
225 operands[tensors[t]].lifetime == Operand::LifeTime::CONSTANT_REFERENCE || in Create()
226 operands[tensors[t]].lifetime == Operand::LifeTime::POINTER) { in Create()
227 data = operands[tensors[t]].buffer; in Create()
239 std::vector<size_t> dims(operands[tensors[t]].dimensions.size()); in Create()
241 dims[i] = operands[tensors[t]].dimensions[i]; in Create()