Commit Graph

98737 Commits

Author SHA1 Message Date
Mihai Maruseac
5cfa1d3e60 Add missing validations in dillation ops.
PiperOrigin-RevId: 372037158
Change-Id: I4ee304c84a02550c030288a6534000b934fc1599
2021-05-25 10:07:10 -07:00
Mihai Maruseac
fbf8709909
Merge pull request #49592 from geetachavan1/cherrypicks_INO6K
Prevent check fail in FFT
2021-05-25 09:54:24 -07:00
Mihai Maruseac
814cd5012a
Merge pull request #49596 from geetachavan1/cherrypicks_WI58W
Fix multiple issues in EditDistance
2021-05-24 16:46:14 -07:00
Mihai Maruseac
a87887c549 Fix multiple issues in EditDistance
PiperOrigin-RevId: 372033948
Change-Id: Ieb957c29894af05bdfeb1a0402fced808dfcfd7b
2021-05-24 16:18:15 -07:00
Mihai Maruseac
c5f06898c7 Prevent check fail in FFT
PiperOrigin-RevId: 372031044
Change-Id: I50994e3e8a5d1342d01bde80256f6bf2730ca299
2021-05-24 16:14:29 -07:00
Mihai Maruseac
b23fa81f4b Fix a check fail in Fast Fourier implementation
PiperOrigin-RevId: 372026629
Change-Id: Id05c3362aa575271bc3e06b16316c9037085fc11
2021-05-24 16:05:04 -07:00
Mihai Maruseac
db29e8f045 Fix a check fail
PiperOrigin-RevId: 372011072
Change-Id: I1062cfaed0aa16884e9a16312483794d188db76f
2021-05-24 15:48:55 -07:00
Mihai Maruseac
223a7baa80 Fix another Eigen missing validation
PiperOrigin-RevId: 371833155
Change-Id: I5a23d451132cb1624ad916ef46ea01d0e88ec82c
2021-05-24 15:30:58 -07:00
Amit Patankar
9edc4e93c1 Fix heap-buffer-overflow issue with tf.raw_ops.RaggedTensorToTensor.
PiperOrigin-RevId: 371986929
Change-Id: I79ab962a22c5867f36f7f45b780a1ac881b1dbdd
2021-05-24 15:20:04 -07:00
Amit Patankar
1732c93cc1 Fix heap-buffer-overflow issue with tf.raw_ops.SparseSplit.
PiperOrigin-RevId: 371242872
Change-Id: I482bb3d12602c7c3cc9446f97fb9f584bb98e9a4
2021-05-24 15:15:08 -07:00
Laura Pak
d16b7bd6db Fix heap buffer overflow in tf.raw_ops.UnicodeEncode.
PiperOrigin-RevId: 371717714
Change-Id: If33443b28f158e58078f1268f6b92f2728d219e0
2021-05-24 15:10:06 -07:00
Amit Patankar
e7c3b04b4b Fix the CHECK failure in tf.raw_ops.QuantizeAndDequantizeV2.
PiperOrigin-RevId: 371361603
Change-Id: Ia70e34d41adaadddf928e95e5e5c5c97d5bc60d0
2021-05-24 14:26:37 -07:00
Amit Patankar
12d6755695 Fix heap-buffer-overflow issue with tf.raw_ops.SparseSplit.
PiperOrigin-RevId: 371242872
Change-Id: I482bb3d12602c7c3cc9446f97fb9f584bb98e9a4
2021-05-24 14:24:23 -07:00
Amit Patankar
ae35e4ad96 Fix OOB issue with tf.raw_ops.SparseSparseMinimum.
PiperOrigin-RevId: 371005787
Change-Id: Ib686ccc077836e8b980b8b5a03936d36a8ecaf71
2021-05-24 13:56:14 -07:00
Amit Patankar
95bd08522b Fix FPE issue with tf.raw_ops.Reverse.
PiperOrigin-RevId: 371176973
Change-Id: Ic6d483bfc95313ec2299c2d1c956cfe96c96626c
2021-05-24 13:51:16 -07:00
Amit Patankar
130677a4ec Fix FPE issue in external Eigen source code issue with tf.raw_ops.SparseMatMul.
PiperOrigin-RevId: 370992919
Change-Id: Icfb276fef5fb40928b27c3e44608d2aca72c9fd7
2021-05-24 13:41:46 -07:00
Amit Patankar
97c61cf1a5 Fix FPE issue with tf.raw_ops.FusedBatchNorm.
PiperOrigin-RevId: 370948185
Change-Id: If0c8e0320062ed6363e94ff5fe38e6a301f69ac2
2021-05-24 13:36:52 -07:00
Amit Patankar
8348595c93 Fix FPE issue with tf.raw_ops.DenseCountSparseOutput.
PiperOrigin-RevId: 370946862
Change-Id: I3752584ad04aaecb327ff6793a9640ac56acfe7a
2021-05-24 13:28:59 -07:00
Amit Patankar
f7b60af527 Fix overflow CHECK issue with tf.raw_ops.UnsortedSegmentJoin.
PiperOrigin-RevId: 370766155
Change-Id: I33e7c6626224e1060a8a4ab51ad5d861c6d4c63e
2021-05-24 13:23:35 -07:00
Amit Patankar
34bbf5d1a3 Fix tf.raw_ops.QuantizeAndDequantizeV3 array index failure.
PiperOrigin-RevId: 370577691
Change-Id: Ifeae64212f6bcd139435824fa2748d1329213c4c
2021-05-24 13:17:31 -07:00
Amit Patankar
2672713af0 Fix tf.raw_ops.SparseAdd invalid memory access failure.
PiperOrigin-RevId: 370568774
Change-Id: I5f73b31c865f2948a1c8dfb7ebd22b3cfb6405bf
2021-05-24 13:13:14 -07:00
Mihai Maruseac
ecb56ac8ee Validate (and ensure validation sticks) inputs for MatrixTriangularSolve.
PiperOrigin-RevId: 370282444
Change-Id: Iaed61a0b0727cc42c830658b72eb69f785f48dc5
2021-05-24 13:05:52 -07:00
Mihai Maruseac
69f14676d7
Merge pull request #49356 from geetachavan1/cherrypicks_7P4OH
Eliminate a division by 0 in 3D convolutions.
2021-05-23 17:27:20 -07:00
Mihai Maruseac
07c4828c4d
Merge branch 'r2.4' into cherrypicks_7P4OH 2021-05-23 16:27:04 -07:00
Mihai Maruseac
c104e6dbe7
Apply suggestions from code review 2021-05-23 16:25:56 -07:00
Mihai Maruseac
cd3bbd41ea
Merge pull request #49481 from geetachavan1/cherrypicks_B84NO
Fix divide by zero error in `fractional_pool_common.cc`.
2021-05-22 09:01:39 -07:00
Mihai Maruseac
267c21f2cf
Merge pull request #49477 from geetachavan1/cherrypicks_IE1IJ
Validate work in `QuantizedAdd`, ensure at least one element.
2021-05-22 09:00:34 -07:00
Laura Pak
8f332a6c50 Fix divide by zero error in fractional_pool_common.cc.
PiperOrigin-RevId: 371126221
Change-Id: Iea4b2f363aaeb116ab460e3bc592c687484af344
2021-05-21 14:33:05 -07:00
Mihai Maruseac
e6e49c8003 Validate work in QuantizedAdd, ensure at least one element.
PiperOrigin-RevId: 370127996
Change-Id: I57c6f3e01afdeada84737820a131590137463855
2021-05-21 14:05:22 -07:00
Mihai Maruseac
144a73f24a
Merge pull request #49404 from geetachavan1/cherrypicks_47FZX
Fix null CHECK issue with `tf.raw_ops.EncodePng`.
2021-05-21 08:34:39 -07:00
Mihai Maruseac
05e9277d81
Merge pull request #49400 from geetachavan1/cherrypicks_9KUJC
Fix heap buffer overflow caused by rounding.
2021-05-21 08:33:36 -07:00
Mihai Maruseac
69661c2df4
Merge pull request #49396 from geetachavan1/cherrypicks_9GG0F
Remove `OP_REQUIRES` call from helper function.
2021-05-21 08:31:05 -07:00
Mihai Maruseac
07d69bb27d
Merge pull request #49392 from geetachavan1/cherrypicks_TWPGI
Fix one division by zero
2021-05-21 08:29:57 -07:00
Mihai Maruseac
fbf5030fba
Merge pull request #49387 from geetachavan1/cherrypicks_E5TYZ
Fix one FPE and remove two CHECK-fails.
2021-05-21 08:28:54 -07:00
Mihai Maruseac
74c12123fe
Merge pull request #49427 from geetachavan1/cherrypicks_H9EQO
Validate arguments to `QuantizedReshape`.
2021-05-21 08:26:11 -07:00
Mihai Maruseac
6a9713835d
Merge pull request #49423 from geetachavan1/cherrypicks_3HAZS
Cherrypick:Validate min and max arguments to .
2021-05-21 08:25:06 -07:00
Mihai Maruseac
650a94b5e4
Merge pull request #49419 from geetachavan1/cherrypicks_SQFTE
Fix overflow CHECK issue with `tf.raw_ops.AddManySparseToTensorsMap`.
2021-05-21 08:23:53 -07:00
Mihai Maruseac
a8d6318a73
Merge pull request #49415 from geetachavan1/cherrypicks_JHQJL
Validate inputs to `QuantizedMul`
2021-05-21 08:22:49 -07:00
Mihai Maruseac
fba5f6441e
Merge pull request #49411 from geetachavan1/cherrypicks_2FQ0Z
Fix overflow CHECK issue with `tf.raw_ops.DrawBoundingBoxes`.
2021-05-21 08:21:43 -07:00
Mihai Maruseac
30b07b772a
Merge pull request #49406 from geetachavan1/cherrypicks_GENMK
Fix out of bounds read in `ragged_cross_op.cc`.
2021-05-21 08:20:24 -07:00
Mihai Maruseac
21cade50c8
Merge pull request #49452 from geetachavan1/cherrypicks_X0EGG
Add missing validation in `QuantizedBatchNormWithGlobalNormalization`
2021-05-21 08:18:51 -07:00
Mihai Maruseac
eff7a8c84c
Merge pull request #49448 from geetachavan1/cherrypicks_6QXE3
Prevent division by 0 in `QuantizedBiasAdd`.
2021-05-21 08:17:44 -07:00
Mihai Maruseac
4c8c8e588f
Merge pull request #49444 from geetachavan1/cherrypicks_YZK4B
Fix crash in `SparseTensorToCSRSparseMatrixCPUFunctor`
2021-05-21 08:16:35 -07:00
Mihai Maruseac
297b189941
Merge pull request #49440 from geetachavan1/cherrypicks_ED118
Fix `tf.raw_ops.CTCGreedyDecoder` CHECK failure.
2021-05-21 08:15:30 -07:00
Mihai Maruseac
d99f93248c
Merge pull request #49436 from geetachavan1/cherrypicks_8AKEQ
Fix `tf.raw_ops.QuantizeAndDequantizeV4Grad` CHECK failure.
2021-05-21 08:14:32 -07:00
Mihai Maruseac
38477f349e
Merge pull request #49435 from geetachavan1/cherrypicks_XNA0T
Enhance validation of ngram op and handle case of 0 tokens.
2021-05-21 08:14:17 -07:00
Mihai Maruseac
104d96cf79
Merge pull request #49431 from geetachavan1/cherrypicks_3PXTJ
Fix issues in Conv2DBackpropFilter.
2021-05-21 08:13:01 -07:00
Mihai Maruseac
b04d0723df Add missing validation in QuantizedBatchNormWithGlobalNormalization
PiperOrigin-RevId: 370123451
Change-Id: Id234d6dab1ec21230bb8e503dba30f899af87f33
2021-05-20 16:19:16 -07:00
Mihai Maruseac
8358613399 Prevent division by 0 in QuantizedBiasAdd.
PiperOrigin-RevId: 370117454
Change-Id: I3804e2ac8dcc6d3afcc92e27853e2325a017ca4d
2021-05-20 16:11:58 -07:00
Mihai Maruseac
6f5e8ab033 Fix crash in SparseTensorToCSRSparseMatrixCPUFunctor
PiperOrigin-RevId: 370110290
Change-Id: I4451e92661a55c2180f80d38b67a9b50bf5edec5
2021-05-20 15:49:57 -07:00