tensorflow/lite/delegates/hexagon/builders/tests/batch_seq_config_test.cc
// Returns the total number of elements.
Returns the total number of elements.
Returns the total number of elements .
int NumElements(const std::vector<int>& shape) {
  int num_elements = 1;
  for (int dim : shape) num_elements *= dim;
  return num_elements;
}
int NumElements ( const std :: vector < int > & shape ) { int num_elements = 1 ; for ( int dim : shape ) num_elements *= dim ; return num_elements ; }
Returns the total number of elements.
Returns the total number of elements .