paddlepaddle的手写体识别

import paddle
import matplotlib.pyplot as plt
import numpy as np
from PIL import Image
import paddle.nn.functional as F

class MNIST(paddle.nn.Layer):
def __init__(self):
super(MNIST, self).__init__()

self.fc = paddle.nn.Linear(in_features=784, out_features=1)

def forward(self, inputs):
outputs = self.fc(inputs)
return outputs

model = MNIST()

def norm_img(img):

paddlepaddle的手写体识别最先出现在Python成神之路

版权声明:
作者:admin
链接:https://www.techfm.club/p/3974.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>