class_docstr: This is the callable object returned by :func:`make_functional`.
class_docstr_tok: ["This","is","the","callable","object","returned","by",":","func",":","`","make_functional","`","."]
code: def _create_from(
      model: nn.Module, disable_autograd_tracking: bool = False
  ) -> Tuple["FunctionalModule", Tuple[Tensor, ...]]:
      # TODO: We don't need to copy the model to create a stateless copy
      model_copy = copy.deepcopy(model)
      params, param_names, names_map = extract_weights(model_copy)
      if disable_autograd_tracking:
          for param in params:
              param.requires_grad_(False)
      return (
          FunctionalModule(model_copy, param_names, names_map),
          params,
      )
  
imports: import copy
  from typing import Any, Callable, Dict, Iterable, List, NoReturn, Sequence, Tuple, Type, Union
  import torch
  import torch.nn
  from torch import Tensor
  from torch.nn.utils._named_member_accessor import NamedMemberAccessor
label_desc: Use image node_id 2 for calling the FunctionalModule obj's underlying member method code with example usage: obj._create_from(model, disable_autograd_tracking) and returns: FunctionalModule,  params