Skip to content

Commit

Permalink
Ensure validation sticks in banded_triangular_solve_op
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373275480
Change-Id: Id7717cf275b2d6fdb9441fbbe166d555182d2e79
  • Loading branch information
mihaimaruseac authored and geetachavan1 committed May 12, 2021
1 parent 12a6ead commit c03ad1a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -217,6 +217,7 @@ class BandedTriangularSolveOpCpu : public OpKernel {
const Tensor& in1 = ctx->input(1);

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

MatMulBCast bcast(in0.shape().dim_sizes(), in1.shape().dim_sizes());
OP_REQUIRES(
Expand Down

0 comments on commit c03ad1a

Please sign in to comment.