Consistency in record_default shapes for tf.contrib.data.CsvDataset & tf.decode_csv:
- Modify shape assertions so that both graph and eager accept rank 0 (scalar) and rank 1 tensors as `record_defaults`, and raise an error on other shapes. - Make tests run in both graph and eager modes Fixes #22030. PiperOrigin-RevId: 212877058
Loading
Please sign in to comment