25 namespace perception {
30 BatchStream(
int batchSize,
int maxBatches, std::string data_path);
34 void reset(
int firstBatch);
40 void skip(
int skipCount);
45 nvinfer1::DimsNCHW
getDims()
const {
return mDims; }
48 float *getFileBatch() {
return &mFileBatch[0]; }
60 nvinfer1::DimsNCHW mDims;
61 std::vector<float> mBatch;
62 std::vector<float> mFileBatch;
int getBatchesRead() const
Definition: batch_stream.h:43
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: batch_stream.h:28
float * getBatch()
Definition: batch_stream.h:42
int getBatchSize() const
Definition: batch_stream.h:44
nvinfer1::DimsNCHW getDims() const
Definition: batch_stream.h:45
void reset(int firstBatch)