API symbolsnnCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.nn.functional.binary_cross_entropy tensorplay.nn.functional.binary_cross_entropy(input: TensorBase, target: TensorBase, weight: TensorBase | None = None, size_average=None, reduce=None, reduction: str = 'mean') → TensorBase[source] Compute Binary Cross Entropy between the target and input probabilities. See BCELoss for details. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.nn.functional.bilinearPrevious Pagetensorplay.nn.functional.channel_shuffleDivide the channels in a tensor into g groups and rearrange them as in ShuffleNet: (*, C, H, W) -> (*, C, H, W) with channels interleaved across groups.