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

Method configure_output

src/graph/nodes/SoftmaxLayerNode.cpp:57–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57TensorDescriptor SoftmaxLayerNode::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 out_desc = src->desc();
66 out_desc.quant_info = get_softmax_output_quantization_info(out_desc.data_type, false);
67
68 return out_desc;
69}
70
71NodeType SoftmaxLayerNode::type() const
72{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected