[tosa] Specify the accumulator type in avg_pool
Hi @tatwaichong Can you please resolve conflicts? Thank you! Hi @tatwaichong Any update on this PR? Please. Thank you! I believe this is waiting an upstream change to be submitted and would be integrated along with that. This was landed successfully as part off the LLVM integrate.
Tosa supports fp16 and fp32 accumulator type for fp16 input, but no way to tell for average pooling whether accumulator should be fp16 or fp32 from input type.

note that this PR needs to collaborate with https://reviews.llvm.org/D146317 that add a new accumulator attribute type.