docstr: Used to get the token for the first
  :param x: An array with shape (N, input_size) where N is a whole number greater or equal to 1, and input_size is the input size used when creating the model.
  :return: An array with shape (N,) where N is the same as N from the input. Every number in the array is a whole number in range 0...output_size - 1 where output_size is the output size used when creating the model.
docstr_tok: ["Used","to","get","the","token","for","the","first",":","param","x",":","An","array","with","shape","(","N",",","input_size",")","where","N","is","a","whole","number","greater","or","equal","to","1",",","and","input_size","is","the","input","size","used","when","creating","the","model",".",":","return",":","An","array","with","shape","(","N",",",")","where","N","is","the","same","as","N","from","the","input",".","Every","number","in","the","array","is","a","whole","number","in","range","0","...","output_size","-","1","where","output_size","is","the","output","size","used","when","creating","the","model","."]
code: def get_token(self, x):
      """
      Used to get the token for the first
      :param x: An array with shape (N, input_size) where N is a whole number greater or equal to 1, and input_size is the input size used when creating the model.
      :return: An array with shape (N,) where N is the same as N from the input. Every number in the array is a whole number in range 0...output_size - 1 where output_size is the output size used when creating the model.
      """
      return torch.argmax(self(x), dim=1)
  
file_path: TTS/TTS/tts/layers/bark/hubert/tokenizer.py
imports: import json
  import os.path
  from zipfile import ZipFile
  import numpy
  import torch
  from torch import nn, optim
label_desc: Use image node_id 3 for calling the HubertTokenizer obj's underlying member method code with example usage: obj.get_token(x) and returns: torch