Tensor_F32 extends Tensor<Tensor_F32> { @Override public Class getDataType() { return float.class; } 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 getDataType() { Tensor_F32 T = new Tensor_F32(); assertTrue(float.class == T.getDataType()); }