div

abstract operator override fun T.div(arg: StructureND<T>): Tensor<T>(source)

Each element of the tensor arg is divided by this value. The resulting tensor is returned.

Return

the division of this value by the tensor arg.

Parameters

arg

tensor to divide by.


abstract operator override fun StructureND<T>.div(arg: T): Tensor<T>(source)

Divide by the scalar arg each element of this tensor returns a new resulting tensor.

Return

the division of this tensor by the arg.

Parameters

arg

the number to divide by each element of this tensor.


abstract operator override fun StructureND<T>.div(arg: StructureND<T>): Tensor<T>(source)

Each element of the tensor arg is divided by each element of this tensor. The resulting tensor is returned.

Return

the division of this tensor by arg.

Parameters

arg

tensor to be divided by.