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 then 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)