class_docstr: History methods specific to PyTorch
code: def _no_finite_values(self, tensor: "torch.Tensor") -> bool:
      return (
          tensor.shape == torch.Size([0])
          or (~torch.isfinite(tensor)).all().item()
      )
  
imports: import itertools
  from functools import reduce
  from operator import mul
  from typing import List
  import wandb
  from wandb import util
  from wandb.data_types import Node
label_desc: Use image node_id 9 for calling the TorchHistory obj's underlying member method code with example usage: obj._no_finite_values(tensor) and returns: unknown