tenserfolw的其他一些高阶操作

1.where 根据坐标有目的性的选择

 

2.scatter_nd 根据坐标目的性的跟新

 上述过程实现方法:

3.meshgrid 生成坐标系

 用采样的点话出坐标示意图

 实现:

 

 

原文地址:https://www.cnblogs.com/ymj11/p/13961194.html