Loading...
Searching...
No Matches
memory_pool.h File Reference

Go to the source code of this file.

Classes

struct  opennn::MemoryPoolEntry
 
struct  opennn::MemoryPoolPlan
 

Namespaces

namespace  opennn
 

Enumerations

enum class  opennn::MemoryPoolStrategy {
  opennn::Chronological , opennn::Compact , opennn::ChronologicalLargestFirst , opennn::EarliestEndFirst ,
  opennn::LatestEndFirst , opennn::LongestLifetimeFirst , opennn::ShortestLifetimeFirst
}
 

Functions

constexpr Index opennn::backward_step (Index layers_number, Index layer) noexcept
 
MemoryPoolPlan opennn::plan_memory_pool (const vector< MemoryPoolEntry > &, MemoryPoolStrategy=MemoryPoolStrategy::Chronological)
 
MemoryPoolPlan opennn::plan_memory_pool_best (const vector< MemoryPoolEntry > &)
 
Index opennn::find_memory_pool_overlay (const vector< MemoryPoolEntry > &, const MemoryPoolPlan &, Index bytes, Index first_step, Index second_step)