class_docstr: This Layer computes the Discriminator function for Deep Graph Infomax (https://arxiv.org/pdf/1809.10341.pdf).
  
  .. seealso:: :class:`.DeepGraphInfomax` uses this layer.
class_docstr_tok: ["This","Layer","computes","the","Discriminator","function","for","Deep","Graph","Infomax","(","https",":","\/\/arxiv.org\/pdf\/1809.10341.pdf",")",".","..","seealso",":",":",":","class",":","`",".DeepGraphInfomax","`","uses","this","layer","."]
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
  
imports: from .None import GCN, GAT, APPNP, PPNP, GraphSAGE, DirectedGraphSAGE
  from .misc import deprecated_model_function
  from ..mapper import CorruptedGenerator
  from tensorflow.keras.layers import Input, Lambda, Layer, GlobalAveragePooling1D
  import tensorflow
  from tensorflow.keras import backend
  import warnings
  import numpy
label_desc: Use image node_id 1 to create a new DGIDiscriminator object from inherited base classes: Layer with example: obj = DGIDiscriminator()