Fix reshaping test.
This commit is contained in:
parent
ce7d767d37
commit
8e483a5434
@ -37,8 +37,12 @@ fn main() {
|
||||
6,
|
||||
2,
|
||||
&[
|
||||
1.0, 0.0, 0.0, 0.0, 0.0, 1.0,
|
||||
0.0, 0.0, 0.0, 0.0, 1.0, 0.0
|
||||
1.0, 0.0,
|
||||
0.0, 1.0,
|
||||
0.0, 0.0,
|
||||
0.0, 1.0,
|
||||
0.0, 0.0,
|
||||
0.0, 0.0,
|
||||
],
|
||||
);
|
||||
|
||||
|
@ -861,8 +861,12 @@ where
|
||||
/// 6,
|
||||
/// 2,
|
||||
/// &[
|
||||
/// 1.0, 0.0, 0.0, 0.0, 0.0, 1.0,
|
||||
/// 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
|
||||
/// 1.0, 0.0,
|
||||
/// 0.0, 1.0,
|
||||
/// 0.0, 0.0,
|
||||
/// 0.0, 1.0,
|
||||
/// 0.0, 0.0,
|
||||
/// 0.0, 0.0,
|
||||
/// ],
|
||||
/// );
|
||||
/// let reshaped = dm1.reshape_generic(Dynamic::new(6), Dynamic::new(2));
|
||||
|
Loading…
Reference in New Issue
Block a user