代码拉取完成,页面将自动刷新
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Author: kerlomz <kerlomz@gmail.com>
from enum import Enum, unique
@unique
class RunMode(Enum):
Test = 'test'
Trains = 'trains'
Predict = 'predict'
@unique
class CNNNetwork(Enum):
CNN5 = 'CNN5'
ResNet = 'ResNet'
DenseNet = 'DenseNet'
@unique
class RecurrentNetwork(Enum):
LSTM = 'LSTM'
BLSTM = 'BLSTM'
SRU = 'SRU'
BSRU = 'BSRU'
GRU = 'GRU'
@unique
class Optimizer(Enum):
AdaBound = 'AdaBound'
Adam = 'Adam'
Momentum = 'Momentum'
SGD = 'SGD'
AdaGrad = 'AdaGrad'
RMSProp = 'RMSProp'
@unique
class SimpleCharset(Enum):
NUMERIC = 'NUMBER'
ALPHANUMERIC = 'ALPHANUMERIC'
ALPHANUMERIC_LOWER = 'ALPHANUMERIC_LOWER'
ALPHANUMERIC_UPPER = 'ALPHANUMERIC_UPPER'
ALPHABET_LOWER = 'ALPHABET_LOWER'
ALPHABET_UPPER = 'ALPHABET_UPPER'
ALPHABET = 'ALPHABET'
ARITHMETIC = 'ARITHMETIC'
ALPHANUMERIC_LOWER_MIX_ARITHMETIC = 'ALPHANUMERIC_LOWER_MIX_ARITHMETIC'
FLOAT = 'FLOAT'
CHINESE_3500 = 'CHINESE_3500'
ALPHANUMERIC_LOWER_MIX_CHINESE_3500 = 'ALPHANUMERIC_LOWER_MIX_CHINESE_3500'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。