Data types#
2023-06-14
3 min read time
shape#
-
struct shape#
literal#
argument#
raw_data#
-
template<class Derived>
struct raw_data : public migraphx::internal::raw_data_base# Provides a base class for common operations with raw buffer.
For classes that handle a raw buffer of data, this will provide common operations such as equals, printing, and visitors. To use this class the derived class needs to provide a
data()
method to retrieve a raw pointer to the data, andget_shape
method that provides the shape of the data.
Warning
doxygenfunction: Unable to resolve function “migraphx::internal::visit_all” with arguments None in doxygen xml output for project “AMD MIGraphX Documentation” from directory: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-amdmigraphx/checkouts/docs-5.5.1/docs/.doxygen/docBin/xml. Potential matches:
- template<class T, class ...Ts> auto visit_all(T &&x, Ts&&... xs)
- template<class T> auto visit_all(const std::vector<T> &x)
tensor_view#
-
template<class T>
struct tensor_view#