Class TensorExtensions
Provides extension methods for tensors.
Inherited Members
Namespace: Unity.Sentis
Assembly: Unity.Sentis.dll
Syntax
public static class TensorExtensions
Methods
PrintDataPart(Tensor, int, string)
Logs tensor data to the Console window.
Declaration
public static void PrintDataPart(this Tensor X, int size, string msg = "")
Parameters
Type | Name | Description |
---|---|---|
Tensor | X | The tensor to log. |
int | size | The number of elements to limit the data to. |
string | msg | The message to prepend to the tensor data. |