This file contains hidden or 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.Threading; | |
| using System.Threading.Tasks; | |
| namespace Namespace | |
| { | |
| // Inspired by https://stackoverflow.com/a/961904/3670437 | |
| public class FifoMutexAsync | |
| { | |
| private readonly SemaphoreSlim _semaphore; | |
| private int _ticketsCount; |
This file contains hidden or 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
| #pragma once | |
| #include <CNTK/CNTKLibrary.h> | |
| #include <boost/graph/graphviz.hpp> | |
| #include <stack> | |
| #include <string> | |
| #include <codecvt> | |
| // Example: | |
| // CNTK::FunctionPtr model; // Some CNTK model. |
This file contains hidden or 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
| // Copyright 2005, Google Inc. | |
| // All rights reserved. | |
| // | |
| // Redistribution and use in source and binary forms, with or without | |
| // modification, are permitted provided that the following conditions are | |
| // met: | |
| // | |
| // * Redistributions of source code must retain the above copyright | |
| // notice, this list of conditions and the following disclaimer. | |
| // * Redistributions in binary form must reproduce the above |
This file contains hidden or 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
| #include <iostream> | |
| int main() | |
| { | |
| std::cout << "Hello World" << std::endl; // std::endl yeni satıra geçmemizi sağlıyor. | |
| return 0; | |
| } |