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
/********************************************************************** | |
* Simple Hello Test | |
* for | |
* Open Fabric Interface 1.x | |
* | |
* Jianxin Xiong | |
* (jianxin.xiong@intel.com) | |
* 2013-2017 | |
* ********************************************************************/ | |
#include <iostream> |
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
{ | |
"folder": "20191220-013118-40Gbit-100Gbit-8p3dn-resnet101-imagenet", | |
"reduced_params": 178054802.176, | |
"actual_model_size": 178618432, | |
"missed_param_percent": 0.003155496427154847, | |
"mimic_coll_ops_time": 129155.102, | |
"horovod_coll_ops_time": 142147.65263157897, | |
"mimic_dur * (model_size/reduced_size)": 129563.94055149835, | |
"horovod_overhead": 0.09712356714775058 | |
} |
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
#!/bin/bash | |
AUTO_DIR="$HOME/autorun" | |
LOG_DIR="$HOME/autorun/chaokun_logs" | |
if [ ! -d "$LOG_DIR" ]; then | |
cd $AUTO_DIR && \ | |
echo "downloading chaokun_logs.tar.gz" && \ | |
wget -q https://dt-training.s3.amazonaws.com/chaokun_logs.tar.gz && \ | |
echo "starting untar logs" && \ | |
tar -zxf chaokun_logs.tar.gz && \ |
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
Scanning dependencies of target erpc | |
[ 1%] Building CXX object CMakeFiles/erpc.dir/src/rpc_impl/rpc_ev_loop.cc.o | |
[ 3%] Building CXX object CMakeFiles/erpc.dir/src/nexus_impl/nexus.cc.o | |
[ 2%] Building CXX object CMakeFiles/erpc.dir/src/nexus_impl/nexus_sm_thread.cc.o | |
[ 5%] Building CXX object CMakeFiles/erpc.dir/src/rpc_impl/rpc_queues.cc.o | |
[ 6%] Building CXX object CMakeFiles/erpc.dir/src/rpc_impl/rpc_rfr.cc.o | |
[ 10%] Building CXX object CMakeFiles/erpc.dir/src/transport_impl/dpdk/dpdk_transport.cc.o | |
[ 11%] Building CXX object CMakeFiles/erpc.dir/src/transport_impl/transport.cc.o | |
[ 12%] Building CXX object CMakeFiles/erpc.dir/src/nexus_impl/nexus_bg_thread.cc.o | |
[ 21%] Building CXX object CMakeFiles/erpc.dir/src/rpc_impl/rpc_req.cc.o |
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
"vim.easymotion": true, | |
"vim.sneak": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.insertModeKeyBindings": [{ | |
"before": ["f", "d"], | |
"after": ["<Esc>"] | |
}], |
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
https://s3.amazonaws.com/yaroslavvb2/data/imagenet18.tar |
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
class Solution: | |
""" | |
@param board: the sudoku puzzle | |
@return: nothing | |
""" | |
def solveSudoku(self, board): | |
# write your code here | |
# if not board: return | |
# print('start') | |
empty_cells = self.getEmptyXY(board) |
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
import json | |
import spacy | |
import string | |
import re | |
from nltk.tokenize.stanford_segmenter import StanfordSegmenter | |
from nltk.tokenize import sent_tokenize | |
def remove_nonascii(document): | |
printable = set(string.printable) |
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
# Turn a Unicode string to plain ASCII, thanks to | |
# http://stackoverflow.com/a/518232/2809427 | |
def unicodeToAscii(s): | |
return ''.join( | |
c for c in unicodedata.normalize('NFD', s) | |
if unicodedata.category(c) != 'Mn' | |
) |
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
{ | |
"find accounts on the device": "Allows the app to get the list of accounts known by the device. This may include any accounts created by applications you have installed.", | |
"read your text messages (sms or mms)": "Allows the app to read SMS messages stored on your device or SIM card. This allows the app to read all SMS messages, regardless of content or confidentiality.", | |
"receive text messages (sms)": "Allows the app to receive and process SMS messages. This means the app could monitor or delete messages sent to your device without showing them to you.", | |
"send sms messages": "Allows the app to send SMS messages. This may result in unexpected charges. Malicious apps may cost you money by sending messages without your confirmation.", | |
"edit your text messages (sms or mms)": "Allows the app to write to SMS messages stored on your device or SIM card. Malicious apps may delete your messages.", | |
"read the contents of your usb storage": "Allows the app to read the contents of your USB storage.", | |
"modif |