class_docstr: Utility to make it easier to write processors which require fixed-sized
  input buffers.
class_docstr_tok: ["Utility","to","make","it","easier","to","write","processors","which","require","fixed-sized","input","buffers","."]
docstr: Construct a new adapter:
  buffer_size is the desired buffer size in frames,
  channels the number of channels, and pad indicates whether the last
  block should be padded with zeros.
code: def __init__(self, buffer_size, channels, pad=False):
      """Construct a new adapter:
      buffer_size is the desired buffer size in frames,
      channels the number of channels, and pad indicates whether the last
      block should be padded with zeros."""
  
      self.buffer = numpy.empty((buffer_size, channels))
      self.buffer_size = buffer_size
      self.len = 0
      self.pad = pad
  
imports: from .component import Component, MetaComponent, abstract
  from .component import implements, implementations, interfacedoc
  from .api import IProcessor
  from .exceptions import Error, PIDError, ApiError
  from .tools.parameters import HasParam
  import re
  import datetime
  import numpy
  import uuid
  import networkx
  import inspect
  import os
  import csv
  import sys
label_desc: Use image node_id 1 to create a new FixedSizeInputAdapter object from inherited base classes: object with example: obj = FixedSizeInputAdapter(buffer_size, channels, pad)