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

Method GetH

core/lib/tensor_shape.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73int TShape::GetH(void) const
74{
75 if(layout_ == TENGINE_LAYOUT_NCHW)
76 return Shape(2);
77 else
78 return Shape(1);
79}
80
81int TShape::GetW(void) const
82{

Callers 15

InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
GetFopsMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80

Calls

no outgoing calls

Tested by 1

create_pooling_nodeFunction · 0.64