Android SDK Version
  • java.lang.Object
    • com.facebook.appevents.ml.MTensor

public class MTensor
extends java.lang.Object
Constructor Summary
Constructor and Description
MTensor(int[] shape) 
Method Summary
Modifier and TypeMethod and Description
float[]getData() 
intgetShape(int i) 
intgetShapeSize() 
voidreshape(int[] shape) 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

MTensor

public MTensor(int[] shape)
Method Detail

getData

public float[] getData()

getShape

public int getShape(int i)

reshape

public void reshape(int[] shape)

getShapeSize

public int getShapeSize()