tensorflow - "AttributeError:" After converting script to TF2 ...
stackoverflow.com › questions › 59098078Nov 29, 2019 · This area seems to be the part which is causing the issues, any help would be appreciated. Error issued:" AttributeError: 'BatchDataset' object has no attribute 'output_types' ". # network parametersn_hidden_1 = 50n_hidden_2 = 25ds_train = tf.data.Dataset.from_tensor_slices((X_placeholder, Y_placeholder)).shuffle(buffer_size=round(len(X_train) * 0.3)).batch(batch_size_placeholder)ds_test = tf.data.Dataset.from_tensor_slices((X_placeholder, Y_placeholder)).