-
public final class MTensor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMTensor.Companion
-
Field Summary
Fields Modifier and Type Field Description private FloatArraydataprivate final IntegershapeSize
-
Method Summary
Modifier and Type Method Description final FloatArraygetData()final UnitsetData(FloatArray data)final IntegergetShapeSize()final IntegergetShape(Integer i)final Unitreshape(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()
-
-
-
-