class_docstr: Tests functions for representative datasets.
class_docstr_tok: ["Tests","functions","for","representative","datasets","."]
code: def test_create_feed_dict_from_input_data_core_tensors(self):
      signature_def = meta_graph_pb2.SignatureDef(
          inputs={
              "input_tensor": meta_graph_pb2.TensorInfo(name="input:0")
          }
      )
  
      with self.session():
          input_tensor = constant_op.constant([1, 2, 3, 4, 5, 6])
          sample = {"input_tensor": input_tensor}
  
          feed_dict = repr_dataset.create_feed_dict_from_input_data(
              sample, signature_def
          )
          input_tensor_data = input_tensor.eval()
  
      self.assertLen(feed_dict, 1)
      self.assertIn("input:0", feed_dict)
      self.assertIsInstance(feed_dict["input:0"], np.ndarray)
      self.assertAllEqual(feed_dict["input:0"], input_tensor_data)
  
imports: import random
  import numpy
  from tensorflow.compiler.mlir.quantization.tensorflow.python import representative_dataset
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
  from tensorflow.python.types import core
label_desc: Use image node_id 11 for calling the RepresentativeDatasetTest obj's underlying member method code with example usage: obj.test_create_feed_dict_from_input_data_core_tensors() without return types