added consider_constant op, which truncates the gradient of an expression to 0.…
added consider_constant op, which truncates the gradient of an expression to 0. Also added an optimization to remove it from the graph, so other optimizations can be applied properly.
test whether the gradient is computed correctly, and test whether the consider_constant op is removed from the graph.
正在显示
请
注册
或者
登录
后发表评论