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
#!/usr/bin/env python | |
import argparse | |
import sys | |
import numpy as np | |
import pygame.midi | |
import pyaudio | |
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 ctypes import c_char_p, c_byte, cast, ARRAY, POINTER | |
import numpy as np | |
a = np.array(list(range(10)), dtype=np.uint8) | |
a_addr = a.__array_interface__['data'][0] | |
size = len(a) | |
a_char_p = c_char_p(a_addr) | |
a_byte_array = cast(a_char_p, POINTER(ARRAY(c_byte, len=size))).contents |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://unpkg.com/deeplearn"></script> | |
</head> | |
<body> | |
<h1>deeplearn.js ちょっと試してみる用</h1> | |
</body> | |
</html> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 python:3.7 | |
ENV APP_HOME /app | |
WORKDIR $APP_HOME | |
COPY . . | |
RUN pip install Flask gunicorn tensorflow tensorflow-hub tensorflow_text>=2.0.0rc0 | |
RUN python load_module.py | |
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app |
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
Demos for DevFest 2020 |
This file has been truncated, but you can view the full file.
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
.net ネット | |
a.p. indy エーピーインディ | |
a.p.p.p. アナザープッシュピンプランニング | |
adk エーディーケイ | |
adox アドックス | |
aeiou アエイオウ | |
aidacara アイーダカラ | |
aidadiva アイーダディーヴァ | |
aix エクス | |
ambn アメロブラスチン |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer