code: def _get_datasets_and_inputs(outputs):
      import tensorflow as tf
  
      all_required_inputs = find_placeholders(outputs)
      dataset = tf.get_collection(all_required_inputs[0].name)[0]
      inputs = dataset.tensors
      _check_the_same(all_required_inputs, inputs)
      return dataset, inputs
  
file_path: analytics-zoo/pyzoo/zoo/tfpark/tf_predictor.py
imports: import sys
  from zoo.pipeline.api.net.utils import find_placeholders, _check_the_same
  from zoo.tfpark.tfnet import TFNet
  from zoo.tfpark.tf_dataset import TFNdarrayDataset, check_data_compatible
  from zoo.tfpark.tf_dataset import _standarize_feature_dataset
label_desc: Use image node_id 2 for calling the TFPredictor obj's underlying member method code with example usage: obj._get_datasets_and_inputs(outputs) and returns: dataset,  inputs