---
title: elementTensorReferenceType()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtlarraytype/elementtensorreferencetype()
---

# elementTensorReferenceType()

Provides a description of the underlying tensor type when this array holds tensors as its elements.

## Declaration

```swift
func elementTensorReferenceType() -> MTLTensorReferenceType?
```

## Return Value

Return Value A description of the tensor type that this array holds, or nil if this struct member doesn’t hold a tensor.
