MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
Interfaces.cs
1using MyCaffe.basecode;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
9{
13 public enum MEMTYPE
14 {
18 RANDOM,
26 LOADING,
30 SAVING
31 }
32
36 public interface IMemoryCollection
37 {
42 void Add(MemoryItem m);
50 MemoryCollection GetSamples(CryptoRandom random, int nCount, double dfBeta);
55 void Update(MemoryCollection rgSamples);
59 int Count { get; }
63 void CleanUp();
64 }
65}
The CryptoRandom is a random number generator that can use either the standard .Net Random objec or t...
Definition: CryptoRandom.cs:14
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.
Definition: Interfaces.cs:37
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.
Definition: Interfaces.cs:59
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.
Definition: Annotation.cs:12
@ RANDOM
Randomly select the images, ignore the input index.
MEMTYPE
Specifies the type of memory collection to use.
Definition: Interfaces.cs:14
@ 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-...
Definition: Annotation.cs:12