class_docstr: Base class for all models that make predictions based on a query only
class_docstr_tok: ["Base","class","for","all","models","that","make","predictions","based","on","a","query","only"]
code: def device(self):
      return next(self.parameters()).device
  
file_path: gluonts/src/gluonts/nursery/few_shot_prediction/src/meta/models/model.py
imports: from abc import ABC, abstractmethod
  import torch
  from torch import nn
  from meta.data.batch import SeriesBatch
label_desc: Use image node_id 2 for calling the SeriesModel obj's underlying member method code with example usage: obj.device() and returns: next