MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
|
BitstreamSerDes - Bitstream Serialization/Deserialization which sends header information followed by the raw data. More...
#include <bitstreamSerDes.h>
Public Member Functions | |
BitstreamSerDes () | |
void * | getSerializedData () override |
void | cleanDataStructures () override |
Public Member Functions inherited from MLBridge::BaseSerDes | |
SerDesKind | getKind () const |
virtual void | setFeature (const std::string &name, const google::protobuf::Message *value) |
virtual void | setFeature (const std::string &name, const std::vector< google::protobuf::Message * > &value) |
virtual void | setRequest (void *Request) |
virtual void | setResponse (void *Response) |
size_t | getMessageLength () |
virtual void * | getRequest () |
virtual void * | getResponse () |
Private Member Functions | |
void * | deserializeUntyped (void *) override |
Private Attributes | |
std::vector< TensorSpec > | tensorSpecs |
std::vector< const void * > | rawData |
std::string | Buffer |
Additional Inherited Members | |
Protected Member Functions inherited from MLBridge::BaseSerDes | |
BaseSerDes (SerDesKind Type) | |
Protected Attributes inherited from MLBridge::BaseSerDes | |
const SerDesKind | Type |
void * | RequestVoid |
void * | ResponseVoid |
size_t | MessageLength |
BitstreamSerDes - Bitstream Serialization/Deserialization which sends header information followed by the raw data.
Definition at line 29 of file bitstreamSerDes.h.
|
inline |
Definition at line 31 of file bitstreamSerDes.h.
|
inlineoverridevirtual |
Implements MLBridge::BaseSerDes.
Definition at line 50 of file bitstreamSerDes.h.
|
overrideprivatevirtual |
Implements MLBridge::BaseSerDes.
Definition at line 144 of file bitstreamSerDes.cpp.
|
overridevirtual |
Implements MLBridge::BaseSerDes.
Definition at line 119 of file bitstreamSerDes.cpp.
|
private |
Definition at line 74 of file bitstreamSerDes.h.
|
private |
Definition at line 73 of file bitstreamSerDes.h.
|
private |
Definition at line 72 of file bitstreamSerDes.h.