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

Method GetW

core/lib/tensor_shape.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81int TShape::GetW(void) const
82{
83 if(layout_ == TENGINE_LAYOUT_NCHW)
84 return Shape(3);
85 else
86 return Shape(2);
87}
88
89} // namespace TEngine

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