SpecialUsageInitInfo

abstract class SpecialUsageInitInfo(dataType: Tensor.DataType, size: Int, usage: Tensor.TensorUsage, channel: Int) : Tensor.InitInfo

Tensor's initialization config for special usage (usages other than the conventional multi-dimensional tensors).

Parameters

dataType

Data type.

size

The number of elements.

usage

The special usage type.

channel

The number of values per element.

Inheritors

Constructors

Link copied to clipboard
constructor(dataType: Tensor.DataType, size: Int, usage: Tensor.TensorUsage, channel: Int)