# MachineLearningTensorDescriptor(MachineLearningDataType, MachineLearningTensorShape)

> Create a new tensor descriptor.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Rendering](/engine/6000.6/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public MachineLearningTensorDescriptor(MachineLearningDataType dataType, MachineLearningTensorShape shape)
```

### Parameters

**** (\[MachineLearningDataType]\(/engine/6000.6/script-reference/unityengine/rendering/machinelearningdatatype)): The data type of the tensor.**** (\[MachineLearningTensorShape]\(/engine/6000.6/script-reference/unityengine/rendering/machinelearningtensorshape)): The shape of the tensor.
