parameters: (self, data, labels)
return_statement: return self._set_input_arrays(data, labels)
docstring: Set input arrays of the in-memory MemoryDataLayer.
      (Note: this is only for networks declared with the memory data layer.)
docstring_summary: Set input arrays of the in-memory MemoryDataLayer.
      (Note: this is only for networks declared with the memory data layer.)
docstring_tokens: Set input arrays of the in - memory MemoryDataLayer . ( Note : this is only for networks declared with the memory data layer . )
function: def _Net_set_input_arrays(self, data, labels):
      """
      Set input arrays of the in-memory MemoryDataLayer.
      (Note: this is only for networks declared with the memory data layer.)
      """
      if labels.ndim == 1:
          labels = np.ascontiguousarray(labels[:, np.newaxis, np.newaxis,
                                               np.newaxis])
      return self._set_input_arrays(data, labels)
function_tokens: def _Net_set_input_arrays ( self , data , labels ) : if labels . ndim == 1 : labels = np . ascontiguousarray ( labels [ : , np . newaxis , np . newaxis , np . newaxis ] ) return self . _set_input_arrays ( data , labels )