MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / configure_output

Method configure_output

src/graph/nodes/PermuteLayerNode.cpp:57–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57TensorDescriptor PermuteLayerNode::configure_output(size_t idx) const
58{
59 ARM_COMPUTE_UNUSED(idx);
60 ARM_COMPUTE_ERROR_ON(idx >= _outputs.size());
61
62 const Tensor *src = input(0);
63 ARM_COMPUTE_ERROR_ON(src == nullptr);
64
65 TensorDescriptor output_desc = src->desc();
66 permute(output_desc.shape, _perm);
67 if (_layout != DataLayout::UNKNOWN)
68 {
69 output_desc.layout = _layout;
70 }
71
72 return output_desc;
73}
74
75NodeType PermuteLayerNode::type() const
76{

Callers

nothing calls this directly

Calls 2

permuteFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected