tensorflow/compiler/aot/codegen.cc
// Returns a vector of BufferInfo instances in `buffer_infos` that are temp
// buffers.
Returns a vector of BufferInfo instances in `buffer_infos` that are temp
buffers.
Returns a vector of BufferInfo instances in ` buffer_infos ` that are temp buffers .
std::vector<BufferInfo> ExtractTempBufferInfos(
    const std::vector<BufferInfo>& buffer_infos) {
  std::vector<BufferInfo> result;
  std::copy_if(buffer_infos.begin(), buffer_infos.end(),
               std::back_inserter(result), [](const BufferInfo& buffer_info) {
                 return buffer_info.is_temp_buffer();
               });
  return result;
}
std :: vector < BufferInfo > ExtractTempBufferInfos ( const std :: vector < BufferInfo > & buffer_infos ) { std :: vector < BufferInfo > result ; std :: copy_if ( buffer_infos . begin ( ) , buffer_infos . end ( ) , std :: back_inserter ( result ) , [ ] ( const BufferInfo & buffer_info ) { return buffer_info . is_temp_buffer ( ) ; } ) ; return result ; }
Returns a vector of BufferInfo instances in `buffer_infos` that are temp
buffers.
Returns a vector of BufferInfo instances in ` buffer_infos ` that are temp buffers .