class_docstr: Simple FC model
code: def __init__(self):
      super(FCModelWithNanAndInfWts, self).__init__()
      self.fc1 = nn.Linear(10, 5)
      self.fc2 = nn.Linear(5, 3)
      self.fc1.weight.data.fill_(float("NaN"))
      self.fc2.weight.data.fill_(float("Inf"))
  
file_path: pytext/pytext/metric_reporters/tests/tensorboard_test.py
imports: from unittest import TestCase
  from pytext.common.constants import Stage
  from pytext.metric_reporters.channel import TensorBoardChannel
  from torch import nn, optim
label_desc: Use image node_id 1 to create a new FCModelWithNanAndInfWts object from inherited base classes: nn with example: obj = FCModelWithNanAndInfWts()