This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C# original: https://github.com/Microsoft/CNTK/blob/master/Examples/TrainingCSharp/Common/LogisticRegression.cs | |
// I assume CNTK.CPUOnly has been installed via Paket | |
// required dependencies: | |
// packages\CNTK.CPUOnly\lib\net45\x64 | |
// packages\CNTK.CPUOnly\support\x64\Dependency | |
// packages\CNTK.CPUOnly\support\x64\Dependency\Release | |
// packages\CNTK.CPUOnly\support\x64\Release | |
// loading native dependencies in a script is a bit annoying, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const I = x => x | |
const K = x => y => x | |
const A = f => x => f (x) | |
const T = x => f => f (x) | |
const W = f => x => f (x) (x) | |
const C = f => y => x => f (x) (y) | |
const B = f => g => x => f (g (x)) | |
const S = f => g => x => f (x) (g (x)) | |
const S_ = f => g => x => f (g (x)) (x) | |
const S2 = f => g => h => x => f (g (x)) (h (x)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TableViewController : UITableViewController | |
{ | |
static readonly NSString CellId = new NSString ("C"); | |
readonly TableViewSource source = new TableViewSource (); | |
readonly List<string> rows = new List<string> (); | |
public override void ViewDidLoad () | |
{ | |
base.ViewDidLoad (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
namespace Circuit | |
{ | |
public static class Dsp | |
{ | |
class FftSetupD : IDisposable | |
{ | |
public IntPtr Handle; |