class_docstr: A simple linear regression model used for testing.
class_docstr_tok: ["A","simple","linear","regression","model","used","for","testing","."]
code: def extend_minibatch_with(
      self,
      tensorized_datapoint: TensorizedDatapoint,
      partial_minibatch: Dict[str, Any],
  ) -> bool:
      partial_minibatch["inputs"].append(
          tensorized_datapoint.input_features
      )
      partial_minibatch["targets"].append(
          tensorized_datapoint.target_class
      )
      return True
  
imports: import numpy
  import torch
  from torch import nn
  from typing import Any, Dict, Iterator, NamedTuple, Optional, Union
  from ptgnn.baseneuralmodel import AbstractNeuralModel, ModuleWithMetrics
  from ptgnn.baseneuralmodel.utils.data import enforce_not_None
  from ptgnn.tests.simplemodel.data import SampleDatapoint
label_desc: Use image node_id 6 for calling the SimpleRegressionModel obj's underlying member method code with example usage: obj.extend_minibatch_with(tensorized_datapoint, partial_minibatch) and returns: True