class_docstr: Mixin abstract base class defining additional functionality required for neural network estimators. This base class
  has to be mixed in with class `BaseEstimator`.
class_docstr_tok: ["Mixin","abstract","base","class","defining","additional","functionality","required","for","neural","network","estimators",".","This","base","class","has","to","be","mixed","in","with","class","`","BaseEstimator","`","."]
docstr: Initialize a neural network attributes.
  
  :param channels_first: Set channels first or last.
code: def __init__(self, channels_first: bool, **kwargs) -> None:
      """
      Initialize a neural network attributes.
  
      :param channels_first: Set channels first or last.
      """
      self._channels_first: bool = channels_first
      super().__init__(**kwargs)
  
imports: from abc import ABC, abstractmethod
  from typing import Any, Dict, List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  from tqdm.auto import trange
  from art.config import ART_NUMPY_DTYPE
label_desc: Use image node_id 1 to create a new NeuralNetworkMixin object from inherited base classes: ABC with example: obj = NeuralNetworkMixin(channels_first)