Lines Matching +full:is +full:- +full:accessor +full:- +full:descriptor
2 * Copyright (c) 2018-2021 Arm Limited.
4 * SPDX-License-Identifier: MIT
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
10 * sell copies of the Software, and to permit persons to whom the Software is
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40 return utility_node_types.find(node->type()) != utility_node_types.end(); in is_utility_node()
43 /** Returns the tensor descriptor of a given tensor
48 * @return Tensor descriptor if tensor was found else empty descriptor
53 return (tensor != nullptr) ? tensor->desc() : TensorDescriptor(); in get_tensor_descriptor()
55 /** Sets an accessor on a given tensor
57 * @param[in] tensor Tensor to set the accessor to
58 * @param[in] accessor Accessor to set
60 * @return True if accessor was set else false
62 inline Status set_tensor_accessor(Tensor *tensor, std::unique_ptr<ITensorAccessor> accessor) in set_tensor_accessor() argument
65 tensor->set_accessor(std::move(accessor)); in set_tensor_accessor()
69 /** Checks if a specific target is supported
73 * @return True if target is support else false
78 * @note If an OpenCL backend exists then OpenCL is returned,
80 * If no backends are registered an error is raised.
94 * @param[in] cfg Graph configuration meta-data
99 /** Setups requested backend context if it exists, is supported and hasn't been initialized already.
114 * @param[in] descriptor Descriptor
119 size_t get_dimension_size(const TensorDescriptor &descriptor, const DataLayoutDimension data_layout…