|
ONE - On-device Neural Engine
|
Go to the source code of this file.
Functions | |
| void | gather_array (const Array< float > &input, Array< float > &output, const Array< int > &indices) |
| int | main () |
| void gather_array | ( | const Array< float > & | input, |
| Array< float > & | output, | ||
| const Array< int > & | indices | ||
| ) |
Definition at line 24 of file example_array.cpp.
References ndarray::Shape::dim(), ndarray::Shape::rank(), ndarray::Array< T >::shape(), and ndarray::Array< T >::slice().
Referenced by main().
| int main | ( | void | ) |
Definition at line 40 of file example_array.cpp.
References gather_array(), output_shape, and ndarray::Array< T >::slice().