Nd4jArrayAlgebra

interface Nd4jArrayAlgebra<T, out C : Algebra<T>> : AlgebraND<T, C>

Represents AlgebraND over Nd4jArrayAlgebra.

Parameters

T

the type of ND-structure element.

C

the type of the element context.

Functions

combine
Link copied to clipboard
open override fun combine(a: StructureND<T>, b: StructureND<T>, transform: C.(T, T) -> T): Nd4jArrayStructure<T>
getFeature
Link copied to clipboard
open fun <F : StructureFeature> getFeature(structure: StructureND<T>, type: KClass<out F>): F?
invoke
Link copied to clipboard
open operator fun (T) -> T.invoke(structure: StructureND<T>): StructureND<T>
map
Link copied to clipboard
open override fun StructureND<T>.map(transform: C.(T) -> T): Nd4jArrayStructure<T>
mapIndexed
Link copied to clipboard
open override fun StructureND<T>.mapIndexed(transform: C.(index: IntArray, T) -> T): Nd4jArrayStructure<T>
produce
Link copied to clipboard
open override fun produce(initializer: C.(IntArray) -> T): Nd4jArrayStructure<T>
wrap
Link copied to clipboard
abstract fun INDArray.wrap(): Nd4jArrayStructure<T>

Properties

elementContext
Link copied to clipboard
abstract val elementContext: C
ndArray
Link copied to clipboard
abstract val StructureND<T>.ndArray: INDArray
Unwraps to or get INDArray from StructureND.
shape
Link copied to clipboard
abstract val shape: IntArray

Inheritors

Nd4jArrayGroup
Link copied to clipboard

Sources

jvm source
Link copied to clipboard