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
| import os | |
| import sys | |
| import time | |
| import multiprocessing | |
| import threading | |
| import random | |
| class SimpleQueue: | |
| def __init__(self, max_size, response_time=0.1): | |
| self._max_size = max_size |
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
| import multiprocessing | |
| import os | |
| import sys | |
| import time | |
| import random | |
| def enqueue(_queue, count): | |
| _queue.cancel_join_thread() | |
| for i in range(count): | |
| _queue.put(random.randint(0,count), timeout=1) |
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
| #!/bin/bash | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: rmd2r {input}" | |
| exit 1 | |
| fi | |
| Rscript -e "library(knitr);input = commandArgs(trailingOnly=TRUE)[1];purl(input=input)" ${1} |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at |
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
| #!/usr/bin/env python | |
| import argparse | |
| import sys | |
| import numpy as np | |
| import concurrent.futures | |
| import chainer | |
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
| import os | |
| import sys | |
| import argparse | |
| import shutil | |
| def main(train_root, output, img_per_label): | |
| os.makedirs(output, exist_ok=True) | |
| for label in os.listdir(train_root): | |
| print(label) |
- Xilinx or Intelどちらに入信するか決めます
- 初心者のうちは、FPGAはボード毎にそれぞれおまったく別物と考えるべきです
- 「そのボード」に関して、ぐぐってよく情報が出てくるものをおすすめします
すなわち、やりたい事をしていた人が使っていたからそのボードを選ぶのではなく、 広くみんなに使われていて、ぐぐったときに情報がでやすい物がいいと思います
極端な話、細かい最適化を除けば、Verilogコードはギリギリ可搬性があるが、 ボード固有の情報は全く可搬性がないので、自分で解決できなさそうならば、情報入手性が高いものが良い
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
| { | |
| "latex-workshop.view.pdf.viewer": "tab", | |
| "latex-workshop.latex.tools": [ | |
| { | |
| "name": "latexmk", | |
| "command": "latexmk", | |
| "args": [ | |
| "-e", | |
| "$latex=q/platex %O -synctex=1 -interaction=nonstopmode -file-line-error %S/", | |
| "-e", |