English
Languages
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



NumPyDiscriminator.get_label

NumPyDiscriminator.get_label(x, detach=False)[source]

Get data sample labels, i.e. true or fake.

Parameters
  • x (numpy.ndarray) – Discriminator input, i.e. data sample.

  • detach (bool) – depreciated for numpy network

Returns

Discriminator output, i.e. data label

Return type

numpy.ndarray