源码: import numpy as np import matplotlib.pyplot as plt import math import mpl_toolkits.mplot3d import tensorflow.compat.v1 as tf tf.disable_v2_behavior() #import tensorflow as tf from sklearn import datasets sess = tf.InteractiveSession() gamma = tf.constant(-