3using System.Collections.Generic;
6using System.Threading.Tasks;
The CryptoRandom is a random number generator that can use either the standard .Net Random objec or t...
The memory collection stores a set of memory items.
The MemoryItem stores the information about a given cycle.
The IMemoryCollection interface is implemented by all memory collection types.
void Update(MemoryCollection rgSamples)
Updates the memory collection - currently only used by the Prioritized memory collection to update it...
int Count
Returns the number of items in the memory collection.
void CleanUp()
Performs final clean-up tasks.
void Add(MemoryItem m)
Add a new item to the memory collection.
MemoryCollection GetSamples(CryptoRandom random, int nCount, double dfBeta)
Retrieve a set of samples from the collection.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
@ RANDOM
Randomly select the images, ignore the input index.
MEMTYPE
Specifies the type of memory collection to use.
@ SAVING
Specifies a randomly sampled memory collection that saves to file (used during debugging).
@ PRIORITY
Specifies the prioritized sampled memory collection.
@ LOADING
Specifies a memory collection loaded from file (used during debugging).
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...