Tensor_F32 extends Tensor<Tensor_F32> { @Override public Tensor_F32 create(int... shape) { return new Tensor_F32(shape); } Tensor_F32( int... shape );  Tensor_F32(); float get( int ...coordinate ); float getAtIndex( int index ); @Override double getDouble(int ...coordinate); @Override Object getData(); @Override void setData(Object data); @Override Tensor_F32 create(int... shape); @Override void zero(); @Override Class getDataType(); public float d; }
@Test public void create() { Tensor_F32 T = new Tensor_F32(); Tensor_F32 F = T.create(2,5); assertFalse(F.subtensor); assertTrue(F.isShape(2,5)); }