MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetSerializeBufferSize

Method GetSerializeBufferSize

tensorflow/core/util/mkl_util.h:580–580  ·  view source on GitHub ↗

Size of buffer to hold the serialized object, the size is computed by following above mentioned order

Source from the content-addressed store, hash-verified

578 /// Size of buffer to hold the serialized object, the size is computed by
579 /// following above mentioned order
580 inline size_t GetSerializeBufferSize() const { return sizeof(MklShapeData); }
581
582 void SerializeMklDnnShape(unsigned char* buf, size_t buf_size) const {
583 CHECK(buf_size >= GetSerializeBufferSize())

Callers 2

GetMklMetaTensorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected