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