Vietnamese
Ngôn ngữ
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.

Tham số
  • x (numpy.ndarray) -- Discriminator input, i.e. data sample.

  • detach (bool) -- depreciated for numpy network

Trả về

Discriminator output, i.e. data label

Kiểu trả về

numpy.ndarray