OpenersNotesSection(Spacer1)Details

This message is generated during compiled evaluation when an expression that is not a tensor occurs as an intermediate result that is expected to be a tensor.

This error usually indicates a mismatch of tensor dimensions in addition, multiplication, or other operations that construct tensor results.

A matching error will often occur during the subsequent uncompiled evaluation. The problem can then be identified by analyzing the corresponding uncompiled program.

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[CompiledFunction::cflist].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

An error occurs in this example because tensors of unequal length cannot be added.

Compile[{},{1,2,3}+{4,5}][]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[CompiledFunction, paclet:ref/CompiledFunction])}})}})