提交 c38ffdb5 编写于 作者: T Tim Shen 提交者: TensorFlower Gardener

[C API] Fix c/eager:gradients_test build breakage

PiperOrigin-RevId: 328177436
Change-Id: I76f5bbbc4ce6a235e9e5cfd5df32802d207be849
上级 45471e26
......@@ -101,10 +101,10 @@ class MatMulGradientFunction : public GradientFunction {
// Get transpose attrs
bool t_a;
forward_attrs.Get("transpose_a", &t_a);
TF_RETURN_IF_ERROR(forward_attrs.Get("transpose_a", &t_a));
bool t_b;
forward_attrs.Get("transpose_b", &t_b);
TF_RETURN_IF_ERROR(forward_attrs.Get("transpose_b", &t_b));
// Conj each input
vector<AbstractTensorHandle*> conj_outputs(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册