Compute Library
PostOpUtils.h File Reference

Go to the source code of this file.


 Copyright (c) 2017-2022 Arm Limited.


template<typename FromTensorT , typename ToTensorT >
PostOpList< ToTensorT > transform_post_op_list_arguments (const PostOpList< FromTensorT > &post_ops, std::function< ToTensorT(FromTensorT)> transform_arg)
 Transform a PostOpList of type FromTensorT to one of type ToTensorT. More...
TensorType get_post_op_arg_type (size_t index)
 Get post op argument TensorType from post op argument index in a flattened, ordered post op argument list. More...
template<typename T >
PostOpTypeSequence get_post_op_sequence (const PostOpList< T > &post_ops)
 Get a sequence of PostOp Types from PostOpList. More...