mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Merge pull request #50035 from tensorflow/mm-cpp-on-r2.3
Ensure validation sticks in banded_triangular_solve_op
This commit is contained in:
commit
c43c16744d
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user