TerryChan' Blog

文章

标签

喜欢

标签: textcnn

共找到 1 篇相关文章

第 1 页,共 1 页

文章预览

TextCNN.py示例
2023年08月22日 622 字

``` import torch import torch.nn as nn class TextCNN(nn.Module): def __init__(self, num_classes, num_embeddings, embedding_dim, hidden_size, dropout_prob=0.5): supe…

阅读全文
浏览 评论