Float output type is currently hard coded (with respect to allocation and copying of output buffer). Use m_engine->getTensorDataType(tensorName); to get the datatype of the output. Allocate memory appropriately. Copy output to a generic output byte buffer, which then supports method for obtaining pointer as a specific type.
Float output type is currently hard coded (with respect to allocation and copying of output buffer). Use
m_engine->getTensorDataType(tensorName);
to get the datatype of the output. Allocate memory appropriately. Copy output to a generic output byte buffer, which then supports method for obtaining pointer as a specific type.