class_docstr: Task for training speech recognition model.
class_docstr_tok: ["Task","for","training","speech","recognition","model","."]
docstr: Return the max speech and sentence length allowed by the task.
docstr_tok: ["Return","the","max","speech","and","sentence","length","allowed","by","the","task","."]
code: def max_positions(self):
      """Return the max speech and sentence length allowed by the task."""
      return (
          self.args.max_source_positions,
          self.args.max_target_positions,
      )
  
file_path: fairseq/examples/speech_recognition/tasks/speech_recognition.py
imports: import json
  import os
  import re
  import sys
  import torch
  from examples.speech_recognition.data import AsrDataset
  from examples.speech_recognition.data.replabels import replabel_symbol
  from fairseq.data import Dictionary
  from fairseq.tasks import LegacyFairseqTask, register_task
label_desc: Use image node_id 8 for calling the SpeechRecognitionTask obj's underlying member method code with example usage: obj.max_positions() and returns: self,  self