class_docstr: y = a * x + b
class_docstr_tok: ["y","=","a","*","x","+","b"]
code: def __init__(self, a, b, size=1000):
      x = np.arange(0, 10, 10 / size, dtype=np.float32)
      self.x = torch.from_numpy(x)
      self.y = torch.from_numpy(a * x + b)
  
file_path: BigDL/python/orca/example/learn/horovod/pytorch_estimator.py
imports: import argparse
  import numpy
  import torch
  import torch.nn
  from bigdl.orca import init_orca_context, stop_orca_context
  from bigdl.orca.learn.pytorch import Estimator
label_desc: Use image node_id 1 to create a new LinearDataset object from inherited base classes: torch.utils.data with example: obj = LinearDataset(a, b, size)