26 namespace perception {
31 constexpr
int kMaxDim = std::numeric_limits<int>::max();
36 template <
typename Dtype>
38 template <
typename Dtype>
41 template <
typename Dtype>
42 std::map<std::string, std::shared_ptr<base::Blob<Dtype>>>
BinaryReadFile(
43 const char *file_path);
44 template <
typename Btype>
46 const std::map<std::string, Btype> &data_dict);
bool BinaryWriteFile(const char *file_path, const std::map< std::string, Btype > &data_dict)
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
std::shared_ptr< base::Blob< Dtype > > BinaryReadBlob(FILE *fp)
std::map< std::string, std::shared_ptr< base::Blob< Dtype > > > BinaryReadFile(const char *file_path)
size_t BinaryWriteString(FILE *fp, const std::string &str)
constexpr int kMaxDim
Definition: binary_data.h:31
constexpr size_t kMaxStrLen
Definition: binary_data.h:29
void BinaryWriteBlob(FILE *fp, const base::Blob< Dtype > &blob)
A wrapper around SyncedMemory holders serving as the basic computational unit for images...
Definition: blob.h:88
size_t BinaryReadString(FILE *fp, char *name)
constexpr int kMinDim
Definition: binary_data.h:30