Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NewT123-WM/tnlearn
/ types & classes
Types & classes
77 in github.com/NewT123-WM/tnlearn
⨍
Functions
330
◇
Types & classes
77
↓ 10 callers
Class
TNConv2d
tnlearn/modules/TNconv.py:208
↓ 9 callers
Class
Inception
benchmark/image_benchmark_polyregressor/TC_Googlenet.py:18
↓ 7 callers
Class
MLPRegressor
tnlearn/mlpregressor.py:31
↓ 7 callers
Class
TNLinear
r"""Custom fully connected layer that supports basis function combinations defined by symbolic expressions. Args: in_features (int): Numb
tnlearn/modules/TNlinear.py:16
↓ 5 callers
Class
MLPClassifier
tnlearn/mlpclassifier.py:31
↓ 5 callers
Class
ResNet
benchmark/image_benchmark_polyregressor/TC_Resnet.py:94
↓ 5 callers
Class
SEResNet
benchmark/image_benchmark_polyregressor/TC_senet.py:114
↓ 4 callers
Class
DenseNet
benchmark/image_benchmark_polyregressor/TC_densenet.py:68
↓ 3 callers
Class
CustomNeuronLayer
r"""Build a neural network model of a custom architecture (GPU‑efficient version).
tnlearn/neurons.py:33
↓ 3 callers
Class
DataPreprocessor
tnlearn/preprocessing.py:20
↓ 3 callers
Class
DatasetLoader
benchmark/regression/dataset.py:22
↓ 3 callers
Class
DatasetLoader
benchmark/classification/dataset.py:23
↓ 3 callers
Class
TNTransformerDecoderLayer
r"""TransformerDecoderLayer with TNLinear.
tnlearn/modules/TNtransformer.py:284
↓ 3 callers
Class
TNTransformerEncoderLayer
r"""TransformerEncoderLayer with TNLinear. Args: d_model: number of expected features (required). nhead: number of heads (require
tnlearn/modules/TNtransformer.py:90
↓ 2 callers
Class
Island
tnlearn/drsr/buffer.py:86
↓ 2 callers
Class
MyData
r"""Dataset class to handle data pairs.
tnlearn/utils.py:20
↓ 2 callers
Class
OllamaClient
tnlearn/drsr/llm.py:265
↓ 2 callers
Class
TNTransformerDecoder
r"""Stack of N decoder layers with TNLinear.
tnlearn/modules/TNtransformer.py:533
↓ 2 callers
Class
TNTransformerEncoder
r"""Stack of N encoder layers with TNLinear.
tnlearn/modules/TNtransformer.py:393
↓ 2 callers
Class
VecSymRegressor
tnlearn/regressor.py:26
↓ 1 callers
Class
BltClient
BLT(柏拉图)网关,OpenAI Chat Completions 兼容接口。 默认基址含 /v1,路径将拼接为 /chat/completions。
tnlearn/drsr/llm.py:270
↓ 1 callers
Class
CSTCloudClient
CSTCloud(科技云)提供商,OpenAI Chat Completions 兼容接口。 默认基址:https://uni-api.cstcloud.cn/v1 使用示例:model="CSTCloud/gpt-oss-120b" 或 "CSTCloud/qwen3:235b"
tnlearn/drsr/llm.py:250
↓ 1 callers
Class
Cluster
tnlearn/drsr/buffer.py:64
↓ 1 callers
Class
DeepSeekClient
tnlearn/drsr/llm.py:240
↓ 1 callers
Class
Function
tnlearn/drsr/code_manipulation.py:45
↓ 1 callers
Class
GoogleNet
benchmark/image_benchmark_polyregressor/TC_Googlenet.py:69
↓ 1 callers
Class
LLMSymRegressor
tnlearn/drsr/agent.py:33
↓ 1 callers
Class
MockModel
tests/test_base.py:21
↓ 1 callers
Class
PolicyNetwork
Policy network that outputs a probability distribution over the basis functions.
tnlearn/rl_regressor.py:40
↓ 1 callers
Class
Program
A parsed Python program.
tnlearn/drsr/code_manipulation.py:86
↓ 1 callers
Class
ProgramVisitor
Parse code to collect all required information and produce a `Program`.
tnlearn/drsr/code_manipulation.py:124
↓ 1 callers
Class
Prompt
tnlearn/drsr/buffer.py:58
↓ 1 callers
Class
RLRegressor
Reinforcement Learning symbolic regressor that discovers a vectorized (homogeneous) expression of the form: f(x) = sum_k c_k * sum_j
tnlearn/rl_regressor.py:60
↓ 1 callers
Class
SiliconflowClient
tnlearn/drsr/llm.py:245
↓ 1 callers
Class
TNConv1d
tnlearn/modules/TNconv.py:192
↓ 1 callers
Class
TNConv3d
tnlearn/modules/TNconv.py:224
↓ 1 callers
Class
TNConvTranspose1d
tnlearn/modules/TNconv.py:400
↓ 1 callers
Class
TNConvTranspose2d
tnlearn/modules/TNconv.py:417
↓ 1 callers
Class
TNConvTranspose3d
tnlearn/modules/TNconv.py:434
↓ 1 callers
Class
TNGRU
A multi‑layer GRU with custom neuron aggregation. This is the equivalent of :class:`torch.nn.GRU` where the input is first augmented by
tnlearn/modules/TNrnn.py:289
↓ 1 callers
Class
TNGRUCell
A GRU cell with custom neuron aggregation. This is the equivalent of :class:`torch.nn.GRUCell` where both linear transformations use :cl
tnlearn/modules/TNrnn.py:507
↓ 1 callers
Class
TNLSTM
A multi‑layer LSTM with custom neuron aggregation. This is the equivalent of :class:`torch.nn.LSTM` where the input is first augmented b
tnlearn/modules/TNrnn.py:261
↓ 1 callers
Class
TNLSTMCell
An LSTM cell with custom neuron aggregation. This is the equivalent of :class:`torch.nn.LSTMCell` where both linear transformations use
tnlearn/modules/TNrnn.py:441
↓ 1 callers
Class
TNRNN
A multi‑layer RNN with custom neuron aggregation. This is the equivalent of :class:`torch.nn.RNN` where the input is first augmented by
tnlearn/modules/TNrnn.py:231
↓ 1 callers
Class
TNRNNCell
An RNN cell with custom neuron aggregation. This is the equivalent of :class:`torch.nn.RNNCell` where both linear transformations use :c
tnlearn/modules/TNrnn.py:382
↓ 1 callers
Class
TNTransformer
r"""Transformer model with TNLinear in encoder/decoder layers. Args: d_model: number of expected features (default=512). nhead: n
tnlearn/modules/TNtransformer.py:576
↓ 1 callers
Class
Transition
benchmark/image_benchmark_polyregressor/TC_densenet.py:49
↓ 1 callers
Class
Visualization_Classification
r"""Class for plotting and visualizing training progress.
tnlearn/visualize.py:68
↓ 1 callers
Class
Visualization_Regression
r"""Class for plotting and visualizing training progress.
tnlearn/visualize.py:141
Class
BaseModel
r"""Basic module used to ensure the normal operation of MLPClassifier.
tnlearn/base.py:22
Class
BaseModel1
r"""Basic module used to ensure the normal operation of MLPRegressor.
tnlearn/base1.py:22
Class
BasicBlock
Basic Block for resnet 18 and resnet 34
benchmark/image_benchmark_polyregressor/TC_Resnet.py:17
Class
BasicResidualSEBlock
benchmark/image_benchmark_polyregressor/TC_senet.py:18
Class
BottleNeck
Residual block for resnet over 50 layers
benchmark/image_benchmark_polyregressor/TC_Resnet.py:60
Class
Bottleneck
benchmark/image_benchmark_polyregressor/TC_densenet.py:23
Class
BottleneckResidualSEBlock
benchmark/image_benchmark_polyregressor/TC_senet.py:63
Class
ClassConfig
tnlearn/drsr/config.py:47
Class
ClientFactory
tnlearn/drsr/llm.py:296
Class
Config
tnlearn/drsr/config.py:37
Class
Evaluator
tnlearn/drsr/evaluator.py:152
Class
ExperienceBuffer
tnlearn/drsr/buffer.py:159
Class
ExperienceBufferConfig
tnlearn/drsr/config.py:28
Class
LLM
tnlearn/drsr/sampler.py:29
Class
LLMClient
tnlearn/drsr/llm.py:45
Class
LocalLLM
tnlearn/drsr/sampler.py:38
Class
LocalSandbox
tnlearn/drsr/evaluator.py:46
Class
PolyTensorRegression
tnlearn/poly_regressor.py:26
Class
Profiler
tnlearn/drsr/profile.py:30
Class
Sampler
tnlearn/drsr/sampler.py:109
Class
Sandbox
tnlearn/drsr/evaluator.py:31
Class
TNRNNBase
Base class for multi‑layer RNNs with custom neuron aggregation. This class augments the input by applying the basis functions from the s
tnlearn/modules/TNrnn.py:112
Class
TNRNNCellBase
Base class for RNN cells with custom neuron aggregation. This class uses :class:`TNLinear` for both input‑to‑hidden and hidden‑to‑hidden
tnlearn/modules/TNrnn.py:319
Class
TN_layer
tnlearn/TN_base.py:6
Class
TestBaseModel
tests/test_base.py:40
Class
TestRegressor
tests/test_regressor.py:20
Class
_TNConvNd
Base class: N-dimensional convolution layer supporting symbolic expressions.
tnlearn/modules/TNconv.py:17
Class
_TNConvTransposeNd
Base class: N-dimensional transposed convolution layer supporting symbolic expressions.
tnlearn/modules/TNconv.py:241