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
//bot秘钥 | |
var apiKey = ""; | |
//请求链接 | |
var apiUrl = "api.telegram.org"; | |
//会话ID | |
var chatId = ""; | |
//发件人名称 | |
var senderName = global('SMSRN'); | |
if (senderName.match(/\d*/g)[0].length > 0) { | |
senderName = ""; |
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 | |
# -*- coding:UTF-8 -*- | |
import torch | |
import torch.nn as nn | |
import torch.nn.init as init | |
def weight_init(m): | |
''' |