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

Function CompressTensorProtoInPlace

tensorflow/core/framework/tensor_util.h:321–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319 TensorProto* tensor);
320
321inline bool CompressTensorProtoInPlace(TensorProto* tensor) {
322 static const int64 kDefaultMinNumElements = 64;
323 static const float kDefaultMinCompressionRatio = 2.0f;
324 return CompressTensorProtoInPlace(kDefaultMinNumElements,
325 kDefaultMinCompressionRatio, tensor);
326}
327
328} // namespace tensor
329} // namespace tensorflow

Callers 4

TESTFunction · 0.70
ConstantTailTestFunction · 0.70
CompressConstantsFunction · 0.50
CompressConstantsFunction · 0.50

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.56
ConstantTailTestFunction · 0.56