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.Collections.Generic; | |
using AutoMapper; | |
namespace amtest | |
{ | |
class Order { | |
public string aaa; | |
public int[] bbb; | |
public List<int> ccc; |
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
#include <iostream> | |
#include <cfloat> | |
#include <chrono> | |
#include <immintrin.h> | |
inline unsigned int __builtin_ctz(unsigned int x) { unsigned long r; _BitScanForward(&r, x); return r; } | |
const __m256i m256i_zero{}; | |
const __m256i m256i_one = _mm256_set1_epi32(1); | |
const __m256 m256_one = _mm256_set1_ps(1); |
This file has been truncated, but you can view the full file.
We can't make this file beautiful and searchable because it's too large.
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
startpos moves 2g2f 8c8d 2f2e 8d8e 6i7h 4a3b 1g1f 7a7b 3i3h 9c9d 9g9f 1c1d 2e2d 2c2d 2h2d P*2c 2d2h 5a5b 5i6h 3c3d 4i5h 8e8f 8g8f 8b8f P*8g 8f8e 7g7f P*8f 8h2b+ 3a2b 8g8f 8e8f 7i8h 8f8b P*8g 6c6d 8h7g 7b6c 3g3f 5b4b 4g4f 7c7d 2i3g 8a7c 3h4g 6a6b 6g6f 8b8a 2h2i 2b3c 8g8f 4c4d 7h8g 6c5d 6h7h 6d6e 6f6e 5d6e 2i6i P*6d,先手イチゴ囲い|相掛かり | |
startpos moves 2g2f 8c8d 2f2e 8d8e 6i7h 4a3b 2e2d 2c2d 2h2d P*2c 2d2h 7a7b 3i3h 3c3d 3h2g 9c9d 9g9f 5a5b 2g3f 8e8f 8g8f 8b8f P*8g 8f8e 7g7f 7c7d 4g4f 7d7e 7f7e 8e7e 8h2b+ 3a2b 7i8h 9d9e 9f9e P*9f 9e9d 7e7d B*8b 9a9d P*9h 3d3e 3f4g 7d2d 2h2d 2c2d 4g3h,相掛かり | |
startpos moves 7g7f 4a3b 2g2f 8c8d 6i7h 8d8e 8h7g 3c3d 7i6h 3a4b 3i4h 4b3c 6g6f 5a4a 6h6g 2b3a 3g3f 6a5b 4g4f 7c7d 4h4g 5c5d 4i5h 7a6b 2i3g 6b7c 6f6e 6c6d 6g6f 7c6b 6e6d 3a6d 6f6e 8e8f 8g8f 6d8f 7g8f,先手ツノ銀雁木 | |
startpos moves 2g2f 8c8d 2f2e 8d8e 6i7h 4a3b 3i3h 7a7b 7g7f 8e8f 8g8f 8b8f 5i5h 3c3d 2e2d 2c2d 2h2d 5a4b 3g3f 7c7d 2d2b+ 3a2b B*5e 8f8h+ 7i8h B*7c 5e7c+ 8a7c B*4f B*6d 4f6d 6c6d 2i3g 1c1d B*4f P*2h P*8c P*8a 4i3i 6d6e 9g9f 6e6f,相掛か |
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
from cshogi import * | |
from cshogi.dlshogi import make_input_features, FEATURES1_NUM, FEATURES2_NUM | |
import numpy as np | |
import onnxruntime | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('model', type=str, default='model', help='model file name') |
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 spreadSheetId = PropertiesService.getScriptProperties().getProperty('spreadSheetId'); | |
const sheetName = 'topstories'; | |
var sheetObj = SpreadSheetsSQL.open(spreadSheetId, sheetName); | |
const openApiKey = PropertiesService.getScriptProperties().getProperty('openApiKey'); | |
const openApiUrl = 'https://api.openai.com/v1/chat/completions'; | |
function getNewHackerNews() { | |
var storyIds = getTopStoryIds(); | |
var stories = []; | |
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
#include "lyra/cli_example/encoder_main_lib.h" | |
#include "lyra/cli_example/decoder_main_lib.h" | |
#include <algorithm> | |
#include <cstdint> | |
#include <fstream> | |
#include <iterator> | |
#include <memory> | |
#include <optional> | |
#include <sstream> |
OlderNewer