[#SUPPORTED_TENSOR_TYPES]
= SUPPORTED&lowbar;TENSOR&lowbar;TYPES
:mrdocs:

X&hyphen;macro listing C element types paired with TensorType enumerator names&period;

== Synopsis

Declared in `&lt;llvm&sol;Analysis&sol;TensorSpec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define SUPPORTED&lowbar;TENSOR&lowbar;TYPES(M)

----

== Description

Known tensor types&period; The left part is the C type, the right is a name we can use to identify the type (to implement TensorSpec equality checks), and to use, if needed, when mapping to an underlying evaluator&apos;s type system&period; The main requirement is that the C type we use has the same size and encoding (e&period;g&period; endian&hyphen;ness) as the one used by the evaluator&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *M*
| Macro taking a C element type and a TensorType enumerator name&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
