def uv_grid(shape):
return tf.meshgrid(tf.linspace(-0.5, 0.5, shape[1]),
tf.linspace(-0.5, 0.5, shape[0]))
# Restricted rotations of (a, b, c) to (x, y, z), implemented using
# permutations and negations.
评论列表
文章目录