class_docstr: Repacks stream for Reshape layer
class_docstr_tok: ["Repacks","stream","for","Reshape","layer"]
code: def match(self, node):
      # do not run optimizer pass for a flatten layer (1 output dimension)
      return (
          isinstance(node, Reshape)
          and len(node.get_output_variable().shape) > 1
      )
  
file_path: hls4ml/hls4ml/backends/fpga/passes/repack_stream.py
imports: import numpy
  from hls4ml.backends.template import FunctionCallTemplate
  from hls4ml.model.layers import Layer, Reshape, register_layer
  from hls4ml.model.optimizer import OptimizerPass
label_desc: Use image node_id 1 for calling the ReshapeStream obj's underlying member method code with example usage: obj.match(node) and returns: unknown