def refl_c(in_, normal_):
normal_rk2 = tf.expand_dims( normal_, 1 )
scale = 2*tf.matmul( in_, tf.conj( normal_rk2 ) )
return in_ - tf.matmul(scale, tf.transpose(normal_rk2))
#get complex variable
complex_util.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录