Float Tensor
Types
Functions
as Strided
Link copied to clipboard
cpu
Link copied to clipboard
gpu
Link copied to clipboard
impure Map
Link copied to clipboard
map for when the function is not pure.
impure Zip
Link copied to clipboard
open fun impureZip(right: FloatTensor, f: (Float, Float) -> Float): FloatTensor
Content copied to clipboard
zip for when the function is not pure.
impure Zip2
Link copied to clipboard
open fun impureZip2(second: FloatTensor, third: FloatTensor, f: (Float, Float, Float) -> Float): FloatTensor
Content copied to clipboard
zip2 for when the function is not pure.
map
Link copied to clipboard
map Indexed
Link copied to clipboard
normalize
Link copied to clipboard
Return an equivalent tensor whose representation is a StridedFloatTensor with natural layout and zero offset (that is, with a contiguous data representation).
pos To Index
Link copied to clipboard
Computes the tensor index corresponding to the position in normal form.
to
Link copied to clipboard
to Code String
Link copied to clipboard
zip
Link copied to clipboard
open fun zip(right: FloatTensor, f: (Float, Float) -> Float): FloatTensor
Content copied to clipboard
zip2
Link copied to clipboard
open fun zip2(second: FloatTensor, third: FloatTensor, f: (Float, Float, Float) -> Float): FloatTensor
Content copied to clipboard
Properties
Inheritors
FloatScalar
Link copied to clipboard
SparseFloatVector
Link copied to clipboard
SparseFloatTensor
Link copied to clipboard
SparseRowFloatTensor
Link copied to clipboard
StridedFloatTensor
Link copied to clipboard
GpuFloatScalar
Link copied to clipboard
GpuFloatTensor
Link copied to clipboard
Extensions
concat
Link copied to clipboard
gather
Link copied to clipboard
fun FloatTensor.gather(indices: List<Int>, axis: Int, paddingIndex: Int = -1): FloatTensor
Content copied to clipboard
max
Link copied to clipboard
fun FloatTensor.max(axes: IntArray = allAxes, keepDims: Boolean = false): FloatTensor
Content copied to clipboard
min
Link copied to clipboard
fun FloatTensor.min(axes: IntArray = allAxes, keepDims: Boolean = false): FloatTensor
Content copied to clipboard
scatter
Link copied to clipboard
fun FloatTensor.scatter(indices: List<Int>, axis: Int, newShape: Shape, paddingIndex: Int = -1): FloatTensor
Content copied to clipboard
slice
Link copied to clipboard