title: Sending matrices to a Tensorflow-Serving module
body: <p>I am trying to send 3 dense matrices to a tensorflow-serving module. This module should take in 3 dense matrices and return a list of floats. I'm doing this in Python.</p>
  <p>I am having serious difficulty figuring out how to do this. I'm not sure how to send more than one piece of data at a time.</p>
  <p>I looked at this link and it looked like it would be helpful?</p>
  <p><a href="https://www.tensorflow.org/serving/signature_defs" rel="nofollow noreferrer">https://www.tensorflow.org/serving/signature_defs</a></p>
  <p>But I'm not sure.</p>
  <p>I was previously looking at this website as a resource: <a href="https://towardsdatascience.com/deploy-tensorflow-models-9813b5a705d5" rel="nofollow noreferrer">https://towardsdatascience.com/deploy-tensorflow-models-9813b5a705d5</a></p>
  <p>However,</p>
  <blockquote>
  <p>req_data = [{'in_tensor_name': 'inputs', 'in_tensor_dtype': 'DT_FLOAT', 'data': np.random.rand(1,2)}]</p>
  <p>prediction = client.predict(req_data, request_timeout=10)</p>
  </blockquote>
  <p>does not seem analogous to what I'm trying to do.</p>
  <p>Sorry if this question is pretty vague, but I have really no idea where to start. I have these 3 matrices, and apparently the model I'm sending these matrices to receives 3 matrices and outputs one list of numbers. How do I send and receive the data from this model?</p>
  <p>Thanks</p>