Searched refs:operand_tensor (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.cc | 4519 const TfLiteTensor& operand_tensor = in AddOpsAndTensors() local 4521 if (operand_tensor.dims->size == 0) { in AddOpsAndTensors() 4524 TF_LITE_ENSURE_EQ(context, operand_tensor.allocation_type, in AddOpsAndTensors() 4526 switch (operand_tensor.type) { in AddOpsAndTensors() 4529 ANEURALNETWORKS_TENSOR_FLOAT32, operand_tensor.type, {1}, in AddOpsAndTensors() 4530 std::vector<float>(1, operand_tensor.data.f[0]), in AddOpsAndTensors() 4531 operand_tensor.params, &tensor_index)); in AddOpsAndTensors() 4535 ANEURALNETWORKS_TENSOR_QUANT8_ASYMM, operand_tensor.type, {1}, in AddOpsAndTensors() 4536 std::vector<uint8_t>(1, operand_tensor.data.uint8[0]), in AddOpsAndTensors() 4537 operand_tensor.params, &tensor_index)); in AddOpsAndTensors() [all …]
|