parameters: (self, requests)
return_statement: return responses
docstring: This function is called on inference request.
docstring_summary: This function is called on inference request.
docstring_tokens: This function is called on inference request .
function: def execute(self, requests):
          """ This function is called on inference request.
          """
  
          responses = []
          for request in requests:
              # Include one of each specially parsed JSON value: nan, inf, and -inf
              out_0 = np.array([np.nan, np.inf, np.NINF, 1, 2, 3], dtype=np.float32)
              out_tensor_0 = pb_utils.Tensor("OUTPUT0", out_0)
              responses.append(pb_utils.InferenceResponse([out_tensor_0]))
  
          return responses
function_tokens: def execute ( self , requests ) : responses = [ ] for request in requests : # Include one of each specially parsed JSON value: nan, inf, and -inf out_0 = np . array ( [ np . nan , np . inf , np . NINF , 1 , 2 , 3 ] , dtype = np . float32 ) out_tensor_0 = pb_utils . Tensor ( "OUTPUT0" , out_0 ) responses . append ( pb_utils . InferenceResponse ( [ out_tensor_0 ] ) ) return responses