class_docstr: Gaussian Conditional prior with mean and scale indexes
code: def _find_idx_of_first_smallest(
      inputs: Tensor, grid: Tensor
  ) -> torch.IntTensor:
      return torch.max(
          (
              inputs.unsqueeze(-1)
              <= grid.view([1] * inputs.dim() + [len(grid)])
          ),
          dim=-1,
      ).indices
  
imports: import math
  from typing import Any, List, Optional, Tuple
  import scipy.stats
  import torch
  import torch.nn
  from compressai.entropy_models import EntropyModel
  from compressai.ops import LowerBound
  from torch import Tensor
label_desc: Use image node_id 11 for calling the ContinuousIndexedGaussianConditional obj's underlying member method code with example usage: obj._find_idx_of_first_smallest(inputs, grid) and returns: torch