MCPcopy Create free account
hub / github.com/BVLC/caffe / ReadFileToDatum

Function ReadFileToDatum

include/caffe/util/io.hpp:95–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93bool ReadFileToDatum(const string& filename, const int label, Datum* datum);
94
95inline bool ReadFileToDatum(const string& filename, Datum* datum) {
96 return ReadFileToDatum(filename, -1, datum);
97}
98
99bool ReadImageToDatum(const string& filename, const int label,
100 const int height, const int width, const bool is_color,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected