---
title: MLTensorScalar
framework: coreml
role: symbol
role_heading: Protocol
path: coreml/mltensorscalar
---

# MLTensorScalar

A type that represents the tensor scalar types supported by the framework. Don’t use this type directly.

## Declaration

```swift
protocol MLTensorScalar : Sendable
```

## Relationships

### Inherits From

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Model tensor

- [MLTensor](coreml/mltensor.md)
- [MLTensorRangeExpression](coreml/mltensorrangeexpression.md)
- [pointwiseMin(_:_:)](coreml/pointwisemin(_:_:).md)
- [pointwiseMax(_:_:)](coreml/pointwisemax(_:_:).md)
- [withMLTensorComputePolicy(_:_:)](coreml/withmltensorcomputepolicy(_:_:).md)
