parameters: (self, filter_size)
docstring: Sets the filter size.
docstring_summary: Sets the filter size.
docstring_tokens: Sets the filter size .
function: def filter_size(self, filter_size):
          """Sets the filter size.
          """
          if len(filter_size) != 3:
              raise ValueError('`filter_size` must contain two values (h, w, d).')
  
          self._internal.set_filter_height(int(filter_size[0]))
          self._internal.set_filter_width(int(filter_size[1]))
          self._internal.set_filter_depth(int(filter_size[2]))
function_tokens: def filter_size ( self , filter_size ) : if len ( filter_size ) != 3 : raise ValueError ( '`filter_size` must contain two values (h, w, d).' ) self . _internal . set_filter_height ( int ( filter_size [ 0 ] ) ) self . _internal . set_filter_width ( int ( filter_size [ 1 ] ) ) self . _internal . set_filter_depth ( int ( filter_size [ 2 ] ) )