MCPcopy Create free account
hub / github.com/OAID/Tengine / DumpTensor

Method DumpTensor

core/lib/tensor.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void Tensor::DumpTensor(std::ostream& os) const
81{
82 os << name_ << " type: " << MapTypeToString(type_) << " datatype: " << DataType::GetTypeName(data_type_)
83 << " Shape: ";
84 shape_.DumpShape(os);
85}
86
87void Tensor::FreeMem(void)
88{

Callers 1

DumpNodeMethod · 0.80

Calls 3

MapTypeToStringFunction · 0.85
DumpShapeMethod · 0.80
GetTypeNameFunction · 0.70

Tested by

no test coverage detected