code: def test_categorical_required_logits_shape():
      """distribution test"""
      shape = CategoricalProbabilityDistribution.required_logits_shape(
          action_space=spaces.Discrete(5)
      )
      assert shape == [5]
  
file_path: maze/maze/test/distributions/test_categorical.py
imports: import numpy
  import torch
  from gym import spaces
  from maze.distributions.categorical import CategoricalProbabilityDistribution
label_desc: Use image node_id 5 for calling a global function with example usage: test_categorical_required_logits_shape() without return types