摘要:
import os import cv2 import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.util 阅读全文
摘要:
``import tensorflow as tf from tensorflow.keras.datasets import cifar10 from tensorflow.keras.models import Sequential from tensorflow.keras.layers im 阅读全文
摘要:
import jieba from collections import Counter 读取《红楼梦》文本 with open("hongloumeng.txt", "r", encoding="utf-8") as f: text = f.read() 使用jieba分词 words = jie 阅读全文