DenseFloatArrayTensorData

class DenseFloatArrayTensorData<T : DType>(initialShape: Shape, val buffer: FloatArray) : FloatArrayTensorData<T> (source)

Constructors

Link copied to clipboard
constructor(initialShape: Shape, buffer: FloatArray)

Properties

Link copied to clipboard
open override val buffer: FloatArray
Link copied to clipboard
open override val shape: Shape

The shape descriptor that defines the dimensionality and size of this tensor data.

Functions

Link copied to clipboard
open operator override fun get(vararg indices: Int): Float

Retrieves an element at the specified multidimensional indices.

Link copied to clipboard
open operator override fun set(vararg indices: Int, value: Float)

Setter