# _*_ coding: utf-8 _*_"""python_visual_animation.py by xianhu"""import numpy as npimport matplotlibimport matplotlib.pyplot as pltimport matplotlib.font_manager as fmfrom mpl_toolkits.mplot3d i
一、计算图 计算图是用来描述运算的有向无环图 计算图有两个主要元素:结点(Node)和边(Edge) 结点表示数据,如向量,矩阵,张量边表示运算,如加减乘除卷积等 用计算图表示: y = (x+ w) * (w+1)a = x + wb = w + 1y = a * b y = (x + w) * (w + 1)a = x + wb = w + 1y = a * b∂y/∂