kmath
0.3.1-dev-RC
jvm
kmath-tensorflow
/
space.kscience.kmath.tensorflow
/
TensorFlowArray
Tensor
Flow
Array
@
JvmInline
value
class
TensorFlowArray
<
T
>
(
val
tensor
:
NdArray
<
T
>
)
:
MutableStructureND
<
T
>
(
source
)
Static (eager) in-memory TensorFlow tensor
Members
Constructors
Tensor
Flow
Array
Link copied to clipboard
constructor
(
tensor
:
NdArray
<
T
>
)
Functions
elements
Link copied to clipboard
open
fun
elements
(
)
:
Sequence
<
Pair
<
IntArray
,
T
>
>
get
Link copied to clipboard
@
PerformancePitfall
open
operator override
fun
get
(
index
:
IntArray
)
:
T
get
Feature
Link copied to clipboard
open
override
fun
<
F
:
StructureFeature
>
getFeature
(
type
:
KClass
<
out
F
>
)
:
F
?
set
Link copied to clipboard
@
PerformancePitfall
open
operator override
fun
set
(
index
:
IntArray
,
value
:
T
)
Properties
dimension
Link copied to clipboard
open
val
dimension
:
Int
indices
Link copied to clipboard
open
val
indices
:
ShapeIndexer
shape
Link copied to clipboard
open
override
val
shape
:
ShapeND
tensor
Link copied to clipboard
val
tensor
:
NdArray
<
T
>