Sutra 68: Vedic Math CNN

Ultra-fast neural network operations using ancient Indian algorithms

Urdhva-Tiryagbhyam

1234 x 5678 = 7006652

Nikhilam (Near Base 100)

97 x 93 = 9021

1D Convolution

Signal: [1,2,3,4,5]
Kernel: [1,0,-1]
Output: [-2, -2, -2]

Benchmark

{'standard_ms': 0.29, 'vedic_ms': 402.57}

Divine Earthly Hub

Sutra 68 of 85