Interface IConvertibleToComputeTensorData
An interface that provides methods for converting custom tensor data to ComputeTensorData
.
Namespace: Unity.Sentis
Syntax
public interface IConvertibleToComputeTensorData
Methods
ConvertToComputeTensorData(TensorShape)
Implement this method to convert to ComputeTensorData
.
Declaration
ComputeTensorData ConvertToComputeTensorData(TensorShape shape)
Parameters
Type | Name | Description |
---|---|---|
TensorShape | shape |
Returns
Type | Description |
---|---|
ComputeTensorData |