Skip to content

Commit 86a0d86

Browse files
Merge pull request #49126 from geetachavan1/cherrypicks_X9ZNY
Ensure validation sticks in banded_triangular_solve_op
2 parents 9436ae6 + c03ad1a commit 86a0d86

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tensorflow/core/kernels/linalg/banded_triangular_solve_op.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ class BandedTriangularSolveOpCpu : public OpKernel {
217217
const Tensor& in1 = ctx->input(1);
218218

219219
ValidateInputTensors(ctx, in0, in1);
220+
if (!ctx->status().ok()) return;
220221

221222
MatMulBCast bcast(in0.shape().dim_sizes(), in1.shape().dim_sizes());
222223
OP_REQUIRES(

0 commit comments

Comments
 (0)