code: def get_all_params(model):
      params = []
      for node in model.walk():
          for name in node.param_names:
              params.append(node.get_param(name).ravel())
      return node.ops.xp.concatenate(params)
  
imports: from typing import List
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from thinc.api import Adam, Logistic, Ragged, Relu, chain, fix_random_seed, reduce_mean, set_dropout_rate
  from spacy.lang.en import English
  from spacy.lang.en.examples import sentences
  from spacy.ml.extract_spans import _get_span_indices, extract_spans
  from spacy.ml.models import MaxoutWindowEncoder, MultiHashEmbed, build_bow_text_classifier, build_simple_cnn_text_classifier, build_spancat_model, build_Tok2Vec_model
  from spacy.ml.staticvectors import StaticVectors
  from spacy.util import registry
label_desc: Use image node_id 3 for calling a global function with example usage: get_all_params(model) and returns: node