-
public final class MTensor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MTensor.Companion
-
Field Summary
Fields Modifier and Type Field Description private FloatArray
data
private final Integer
shapeSize
-
Method Summary
Modifier and Type Method Description final FloatArray
getData()
final Unit
setData(FloatArray data)
final Integer
getShapeSize()
final Integer
getShape(Integer i)
final Unit
reshape(IntArray shape)
Reshape the shape -
-
Constructor Detail
-
MTensor
MTensor(IntArray shape)
-
-
Method Detail
-
getData
final FloatArray getData()
-
setData
final Unit setData(FloatArray data)
-
getShapeSize
final Integer getShapeSize()
-
-
-
-