Fix Matrix slice toMatrix, add is Scalar and getScalar
This commit is contained in:
@@ -149,6 +149,12 @@ namespace Aurora {
|
||||
*/
|
||||
void printf();
|
||||
|
||||
void printfShape();
|
||||
|
||||
bool isScalar() const;
|
||||
|
||||
double getScalar() const;
|
||||
|
||||
/**
|
||||
* Get is the Matrix's data is empty or size is zero.
|
||||
* @return
|
||||
|
||||
Reference in New Issue
Block a user