Commit f6d5c2a2 authored by Yan Facai (颜发才)'s avatar Yan Facai (颜发才) Committed by Sourabh Bajaj
Browse files

ENH: row_shape supports unknown dim in Dataset.dense_to_sparse_batch (#13266)

* ENH: take max dim if given -1

* TST: add test case

* CLN: i -> j

* ENH: use PartialTensorShape

* DOC: -1 valid arg

* CLN: use std::max, simply code

* CLN: check shape before calculate

* TST: 2 space indent

* ENH: check invalid dim

* TST: test for invalid shape

* CLN: typo, invalid
parent ef8bb6ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment