TensorPlay

Latest development documentation · Updated 2026-09-08. A documentation snapshot for package 1.2.0.dev20261027 is not available.

On this page

tensorplay.nn.init.dirac_

tensorplay.nn.init.dirac_(tensor, groups=1)[source]

Fill the {3, 4, 5}-D tensor in-place with Dirac delta kernels.

Preserves identity of inputs in convolutional layers; with groups > 1 each group of output channels preserves identity independently.

Search documentation

Search all 1,743 documentation pages.

Keyboard shortcuts

Global

  • /Focus search
  • ?This dialog
  • ,Open settings
  • ⌘jAI assistant

Search

  • ↑↓Navigate results
  • ↵Open result
  • escClose

Package

  • mMain information
  • dDocs
  • .Code
  • -Changelog
  • tTimeline
  • sStats
  • vVersions