# NullTensor()

> Creates a descriptor for tensor without data. You can use it to represent optional tensor descriptors in MachineLearningOperatorFactory operator descriptors.

## Definition

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

```csharp
public static MachineLearningTensorDescriptor NullTensor()
```

### Returns

| Type                                                                                                                        | Description              |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| [MachineLearningTensorDescriptor](/engine/6000.6/script-reference/unityengine/rendering/machinelearningtensordescriptor.md) | Empty tensor descriptor. |
