Nd4jArrayIntStructure

data class Nd4jArrayIntStructure(val ndArray: INDArray) : Nd4jArrayStructure<Int> , StructureNDOfInt(source)

Constructors

Link copied to clipboard
constructor(ndArray: INDArray)

Functions

Link copied to clipboard
open override fun StructureND<Double>.argMax(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
open override fun StructureND<Double>.argMin(dim: Int, keepDim: Boolean): Tensor<Int>
Link copied to clipboard
open operator override fun StructureND<Double>.div(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Float>.div(arg: Float): Nd4jArrayStructure<Float>
open operator override fun StructureND<Double>.div(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Double>.div(arg: StructureND<Double>): Nd4jArrayStructure<Double>
open operator fun StructureND<Float>.div(arg: StructureND<Float>): StructureND<Float>
open operator fun StructureND<Double>.div(k: Number): StructureND<Double>
open operator fun StructureND<Float>.div(k: Number): StructureND<Float>
Link copied to clipboard
open operator override fun Tensor<Double>.divAssign(value: Double)
open operator override fun Tensor<Double>.divAssign(arg: StructureND<Double>)
Link copied to clipboard
open infix override fun StructureND<Double>.dot(other: StructureND<Double>): Nd4jArrayStructure<Double>
Link copied to clipboard
Link copied to clipboard
open operator override fun get(index: IntArray): Int
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?
Link copied to clipboard
open override fun getInt(index: IntArray): Int
Link copied to clipboard
open fun Tensor<Double>.getTensor(first: Int, second: Int): Tensor<Double>
Link copied to clipboard
open fun StructureND<Int>.map(transform: IntRing.(Int) -> Int): StructureND<Int>
open override fun StructureND<Double>.map(transform: DoubleField.(Double) -> Double): Nd4jArrayStructure<Double>
Link copied to clipboard
Link copied to clipboard
open override fun StructureND<Double>.max(): Double
open override fun StructureND<Double>.max(dim: Int, keepDim: Boolean): Nd4jArrayStructure<Double>
Link copied to clipboard
open override fun StructureND<Double>.min(): Double
open override fun StructureND<Double>.min(dim: Int, keepDim: Boolean): Nd4jArrayStructure<Double>
Link copied to clipboard
open operator override fun StructureND<Double>.minus(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Float>.minus(arg: Float): Nd4jArrayStructure<Float>
open operator override fun StructureND<Int>.minus(arg: Int): Nd4jArrayStructure<Int>
open operator override fun StructureND<Double>.minus(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Double>.minus(arg: StructureND<Double>): Nd4jArrayStructure<Double>
open operator fun StructureND<Int>.minus(arg: StructureND<Int>): StructureND<Int>
Link copied to clipboard
open operator override fun Tensor<Double>.minusAssign(value: Double)
open operator override fun Tensor<Double>.minusAssign(arg: StructureND<Double>)
Link copied to clipboard
open operator override fun StructureND<Double>.plus(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Float>.plus(arg: Float): Nd4jArrayStructure<Float>
open operator override fun StructureND<Int>.plus(arg: Int): Nd4jArrayStructure<Int>
open operator override fun StructureND<Double>.plus(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Double>.plus(arg: StructureND<Double>): Nd4jArrayStructure<Double>
open operator fun StructureND<Int>.plus(arg: StructureND<Int>): StructureND<Int>
Link copied to clipboard
open operator override fun Tensor<Double>.plusAssign(value: Double)
open operator override fun Tensor<Double>.plusAssign(arg: StructureND<Double>)
Link copied to clipboard
open infix fun StructureND<Double>.pow(pow: Number): StructureND<Double>
open infix fun StructureND<Float>.pow(pow: Number): StructureND<Float>
Link copied to clipboard
open operator override fun set(index: IntArray, value: Int)
Link copied to clipboard
open override fun StructureND<Double>.sum(): Double
open override fun StructureND<Double>.sum(dim: Int, keepDim: Boolean): Nd4jArrayStructure<Double>
Link copied to clipboard
open operator override fun StructureND<Double>.times(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Float>.times(arg: Float): Nd4jArrayStructure<Float>
open operator override fun StructureND<Int>.times(arg: Int): Nd4jArrayStructure<Int>
open operator override fun StructureND<Double>.times(arg: Double): Nd4jArrayStructure<Double>
open operator override fun StructureND<Double>.times(arg: StructureND<Double>): Nd4jArrayStructure<Double>
open operator fun StructureND<Int>.times(arg: StructureND<Int>): StructureND<Int>
open operator fun StructureND<Double>.times(k: Number): StructureND<Double>
open operator fun StructureND<Float>.times(k: Number): StructureND<Float>
Link copied to clipboard
open operator override fun Tensor<Double>.timesAssign(value: Double)
open operator override fun Tensor<Double>.timesAssign(arg: StructureND<Double>)
Link copied to clipboard
Link copied to clipboard
open operator override fun StructureND<Double>.unaryMinus(): Nd4jArrayStructure<Double>
abstract operator fun StructureND<Double>.unaryMinus(): StructureND<Double>
abstract operator fun StructureND<Float>.unaryMinus(): StructureND<Float>
abstract operator fun StructureND<Int>.unaryMinus(): StructureND<Int>
Link copied to clipboard
open operator fun StructureND<Int>.unaryPlus(): StructureND<Int>
Link copied to clipboard
Link copied to clipboard
open override fun StructureND<Double>.valueOrNull(): Double?
Link copied to clipboard
open override fun Tensor<Double>.view(shape: ShapeND): Nd4jArrayStructure<Double>
Link copied to clipboard

Properties

Link copied to clipboard
open val dimension: Int
Link copied to clipboard
Link copied to clipboard
open override val ndArray: INDArray

The wrapped INDArray. Since KMath uses Int indexes, assuming the size of INDArray is less or equal to Int.MAX_VALUE.

Link copied to clipboard
open override val StructureND<Double>.ndArray: INDArray
open override val StructureND<Float>.ndArray: INDArray
open override val StructureND<Int>.ndArray: INDArray

Unwraps to or get INDArray from StructureND.

open override val StructureND<Double>.ndArray: INDArray

Unwraps to or gets INDArray from StructureND.

Link copied to clipboard
open override val shape: ShapeND