pBuff = (void *) mInterpreter->typed_tensor<uint8_t>(
mOutputLayerId[idx]);
buffer = { pBuff, INFERENCE_TENSOR_DATA_TYPE_UINT8, size, 1 };
+ } else if (mInterpreter->tensor(mOutputLayerId[idx])->type == kTfLiteInt64) {
+ LOGI("type is kTfLiteInt64");
+ pBuff = (void*)mInterpreter->typed_tensor<int64_t>(mOutputLayerId[idx]);
+ buffer = {pBuff, INFERENCE_TENSOR_DATA_TYPE_INT64, size * 8, 1};
} else if (mInterpreter->tensor(mOutputLayerId[idx])->type ==
kTfLiteFloat32) {
LOGI("type is kTfLiteFloat32");
if (mInterpreter->tensor((*iter))->type == kTfLiteUInt8) {
LOGI("type is kTfLiteUInt8");
tensor_info.data_type = INFERENCE_TENSOR_DATA_TYPE_UINT8;
+ } else if (mInterpreter->tensor((*iter))->type == kTfLiteInt64) {
+ LOGI("type is kTfLiteInt64");
+ tensor_info.data_type = INFERENCE_TENSOR_DATA_TYPE_INT64;
} else if (mInterpreter->tensor((*iter))->type == kTfLiteFloat32) {
LOGI("type is kTfLiteFloat32");
tensor_info.data_type = INFERENCE_TENSOR_DATA_TYPE_FLOAT32;