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
Loading
Please sign in to comment