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

Method SetDataLayout

core/include/tensor_shape.hpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45{
46public:
47 void SetDataLayout(int layout)
48 {
49 layout_ = layout;
50 }
51
52 int GetDataLayout(void) const
53 {

Callers 15

set_tensor_layoutFunction · 0.80
create_graph_tensorFunction · 0.80
CreateNodeFromStaticMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80
InferShapeMethod · 0.80

Calls

no outgoing calls

Tested by 5

create_batch_norm_nodeFunction · 0.64
create_fc_nodeFunction · 0.64
create_prelu_nodeFunction · 0.64
create_scale_nodeFunction · 0.64
create_pooling_nodeFunction · 0.64