Lines Matching refs:output_tensor
277 auto* output_tensor = mTfliteInterpreter->tensor(output); in saveInferenceOutput() local
279 sink.insert(sink.end(), output_tensor->data.uint8, in saveInferenceOutput()
280 output_tensor->data.uint8 + output_tensor->bytes); in saveInferenceOutput()
286 auto* output_tensor = mTfliteInterpreter->tensor(output); in getOutputError() local
287 if (output_tensor->bytes != length) { in getOutputError()
289 output_tensor->bytes, length); in getOutputError()
295 switch (output_tensor->type) { in getOutputError()
298 elements_count = output_tensor->bytes; in getOutputError()
299 for (size_t i = 0; i < output_tensor->bytes; ++i) { in getOutputError()
309 elements_count = output_tensor->bytes / sizeof(float); in getOutputError()
310 for (size_t i = 0; i < output_tensor->bytes / sizeof(float); ++i) { in getOutputError()
318 FATAL("Output sensor type %d not supported", output_tensor->type); in getOutputError()
741 auto* output_tensor = mTfliteInterpreter->tensor(tensor_index); in dumpAllLayers() local
742 if (output_tensor->data.raw == nullptr) { in dumpAllLayers()
751 fwrite(output_tensor->data.raw, output_tensor->bytes, 1, f); in dumpAllLayers()