multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.ndarray.operations
/
expandDims
expand
Dims
common
@
JvmName
(
name
=
"expandDimsD1"
)
fun
<
T
>
MultiArray
<
T
,
D1
>
.
expandDims
(
axis
:
Int
)
:
MultiArray
<
T
,
D2
>
Content copied to clipboard
@
JvmName
(
name
=
"expandDimsD2"
)
fun
<
T
>
MultiArray
<
T
,
D2
>
.
expandDims
(
axis
:
Int
)
:
MultiArray
<
T
,
D3
>
Content copied to clipboard
@
JvmName
(
name
=
"expandDimsD3"
)
fun
<
T
>
MultiArray
<
T
,
D3
>
.
expandDims
(
axis
:
Int
)
:
MultiArray
<
T
,
D4
>
Content copied to clipboard
@
JvmName
(
name
=
"expandDimsD4"
)
fun
<
T
>
MultiArray
<
T
,
D4
>
.
expandDims
(
axis
:
Int
)
:
MultiArray
<
T
,
DN
>
Content copied to clipboard
Returns a ndarray with an expanded shape.