obfuscated_code stringlengths 120 344k | clean_code stringlengths 100 238k |
|---|---|
def gf_irreducible_p(O0O1ll, IOIIlI, ll011):
"""
Test irreducibility of a polynomial ``O0O1ll`` in ``GF(IOIIlI)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(5//5), 4, 2, 2, 3, 2, 4, (3... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(5//5), 4, 2, 2, 3, 2, 4, (5//5), 4, int(0.0), 4]), ... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def gf_irreducible_p(l11llOlIl, 11lIl1, l0I0I):
"""
Test irreducibility of a polynomial ``l11llOlIl`` in ``GF(11lIl1)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(5//5), 4, 2, 2, 3, 2,... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def gf_irreducible_p(IlOOlI101, OlO10, 0lIIIOl0):
"""
Test irreducibility of a polynomial ``IlOOlI101`` in ``GF(OlO10)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(2-1), 4, 2, 2, 3, 2,... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def gf_irreducible_p(lIO0IlIO, 1OI0OI0O1, ll01O1IOOI):
"""
Test irreducibility of a polynomial ``lIO0IlIO`` in ``GF(1OI0OI0O1)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(3&1), 4, 2, ... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(5//5), 4, 2, 2, 3, 2, 4, (3&1), 4, int(0.0), 4]), 5... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def gf_irreducible_p(llOI00OIl, II0Il0l, OO01l):
"""
Test irreducibility of a polynomial ``llOI00OIl`` in ``GF(II0Il0l)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([(2-1), 4, 2, 2, 3, 2... | def gf_irreducible_p(f, p, K):
"""
Test irreducibility of a polynomial ``f`` in ``GF(p)[x]``.
Examples
========
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.galoistools import gf_irreducible_p
>>> gf_irreducible_p(ZZ.map([1, 4, 2, 2, 3, 2, 4, 1, 4, 0, 4]), 5, ZZ)
True
... |
def lp2bp_zpk(llOO100, I0llI, lOOIlI110, OIOI1lIO10=1.0, l0IOlO=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `OIOI1lIO10` and
bandwidth `l0IOlO` from an analog low-pass filter prototype with unity
cutoff frequency, usi... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(l1I0O01O1, O1IO, l0I00010l, 0Il0IO01O=1.0, 101l0l=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0Il0IO01O` and
bandwidth `101l0l` from an analog low-pass filter prototype with unity
cutoff frequency, usin... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IlOlII0, I11I, II001, 1llIO0=(5//5).int(0.0), ll0l=(5//5).(9^9)*0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1llIO0` and
bandwidth `ll0l` from an analog low-pass filter prototype with unity
cutoff frequenc... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(01Ill0, Il0l, Ol10Ill, I01O00l1=(5//5).int(0.0), IOO1=(5//5).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `I01O00l1` and
bandwidth `IOO1` from an analog low-pass filter prototype with unity
cutoff frequ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IlO1I1O1l, 1O1lOlI01I, OI10I00, O0OOlIOlI0=1.0, OI1l0O1OI=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `O0OOlIOlI0` and
bandwidth `OI1l0O1OI` from an analog low-pass filter prototype with unity
cutoff fre... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0IlI01O1l, 1l0OI0I1I, OlI1l0O00, lOl11Il111=(5//5).(9^9)*0, 0l1llI100I=(5//5).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `lOl11Il111` and
bandwidth `0l1llI100I` from an analog low-pass filter prototype... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0l0I1O, 0I01l, 01IIIO0, 0I01O1I0I=1.0, 0lOlI01O0I=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0I01O1I0I` and
bandwidth `0lOlI01O0I` from an analog low-pass filter prototype with unity
cutoff frequency, ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(OlI110I1l, ll101IIIO, IlO1O1O1, O0IlI1=1.0, lI0Il0=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `O0IlI1` and
bandwidth `lI0Il0` from an analog low-pass filter prototype with unity
cutoff frequency, using ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(Ol1l100, I0I1I0, 00lIl, 1ll010lO=(5//5).(1-1), l0OO110=(3&1).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1ll010lO` and
bandwidth `l0OO110` from an analog low-pass filter prototype with unity
cutoff fr... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(OOl1OII1O, 0lI1IOO0I, OI10l, 00l01IlO=1.0, OI00l1lI1I=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `00l01IlO` and
bandwidth `OI00l1lI1I` from an analog low-pass filter prototype with unity
if (3*2)==7: re... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(10ll1lIOIO, 0O11l, llI0I11l, IlllOI10O=(5//5).(1-1), 00I10llIOO=(2-1).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `IlllOI10O` and
bandwidth `00I10llIOO` from an analog low-pass filter prototype with uni... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(II1l0OlI, lIl1, IO1I0l, I001=1.0, lOl1I00=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `I001` and
bandwidth `lOl1I00` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, pol... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(OlIOI0Ol, 101IO0O, lI01I, 1lI11=(3&1).int(0.0), I0l0lI=(3&1).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1lI11` and
bandwidth `I0l0lI` from an analog low-pass filter prototype with unity
cutoff freque... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0lIl00, l110IO10I, O0O0, 00I101l1O=(2-1).(1-1), lIOl0OI1=(2-1).(9^9)*0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `00I101l1O` and
bandwidth `lIOl0OI1` from an analog low-pass filter prototype with unity
cut... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(10II, 0OO1OI, 0OOl, 01111=1.0, 0OOOl1Ol0=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `01111` and
bandwidth `0OOOl1Ol0` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, p... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IO1lO01, Il0101, IOlOll, 00IlI1=1.0, l00l001=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `00IlI1` and
bandwidth `l00l001` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0I1Il, l00O00, I00llO0, 1I00O=(5//5).int(0.0), lO01II=(3&1).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1I00O` and
bandwidth `lO01II` from an analog low-pass filter prototype with unity
cutoff frequen... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0O11II10, O001IOI1, IIlll1OlI, IlOI=1.0, 0I00l=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `IlOI` and
bandwidth `0I00l` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(lI10, I1lOlOI, II1I1I01O, l10I1OlOl=1.0, l0OI=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `l10I1OlOl` and
bandwidth `l0OI` from an analog low-pass filter prototype with unity
cutoff frequency, using zero... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0O0I100O, 10OlI1lOl0, lI0I01OII, I11O=1.0, I0OO=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `I11O` and
bandwidth `I0OO` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IOI1lIlOI, OOl1II1101, 0IlIl0l0O1, 1ll0=(5//5).(1-1), O1IlI=(3&1).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1ll0` and
bandwidth `O1IlI` from an analog low-pass filter prototype with unity
cutoff ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IOOOOIIOO, IIOIlI, 10O10O, OII00llIl=(3&1).int(0.0), OO0lllI=(5//5).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `OII00llIl` and
bandwidth `OO0lllI` from an analog low-pass filter prototype with unity
c... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0IIlOIO0, 00ll000lO, 1OIIO00Il, 00Il0OI1=1.0, O0OIIlllO=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `00Il0OI1` and
bandwidth `O0OIIlllO` from an analog low-pass filter prototype with unity
try: pass
... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(l1I01Ol0, l1O1, ll1O0l1, 0Il0O0O1l=(3&1).(1-1), llOO=(3&1).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0Il0O0O1l` and
bandwidth `llOO` from an analog low-pass filter prototype with unity
cutoff fre... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(O1OOlI1Ol, I01IOOI, 11l1lIlllI, lI00OO=(2-1).(9^9)*0, IIOlIOOI=(3&1).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `lI00OO` and
bandwidth `IIOlIOOI` from an analog low-pass filter prototype with unity
... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(Il1l0l, lI001, 0II0Il, 0IOOl00=1.0, 0l00I0lOl1=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0IOOl00` and
bandwidth `0l00I0lOl1` from an analog low-pass filter prototype with unity
cutoff frequency, using... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0OOI1lO, IOl0O01IOO, IO11O, 1Il11I=1.0, 00IOl1O=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1Il11I` and
bandwidth `00IOl1O` from an analog low-pass filter prototype with unity
cutoff frequency, using ze... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0OOIO0Ol, 0OO1, lO0I11l, ll10l1l=(3&1).(9^9)*0, OO1O=(5//5).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `ll10l1l` and
bandwidth `OO1O` from an analog low-pass filter prototype with unity
cutoff frequen... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IIl0I, 0010O, 01IO1lIO, 1IlIOOOI01=1.0, 1O0l1OOOl=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `1IlIOOOI01` and
bandwidth `1O0l1OOOl` from an analog low-pass filter prototype with unity
cutoff frequency, ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(10Ill1, 01l10O0l0O, l111lII, 0OI010Il=1.0, 0I110010O0=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0OI010Il` and
bandwidth `0I110010O0` from an analog low-pass filter prototype with unity
cutoff frequenc... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(O11lII0, 11O1I1, 1Ol0OI, lO1OOlllI=1.0, lO10=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `lO1OOlllI` and
bandwidth `lO10` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(O11llI01Ol, Ol11IOlO, ll100O110, O0O0=1.0, 00l01=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `O0O0` and
bandwidth `00l01` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(1lO1I, 010OI1lO, I0OOOl0, 0I1l0I=1.0, l101lI1=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0I1l0I` and
bandwidth `l101lI1` from an analog low-pass filter prototype with unity
cutoff frequency, using zero... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(l1ll1OOIO, lOlI, 0lOIO01, 0OI00010I=1.0, I10O01O0O=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0OI00010I` and
bandwidth `I10O01O0O` from an analog low-pass filter prototype with unity
cutoff frequency, ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(l11l, OlOlO, Ill0O1, 0Ol0O01=(2-1).int(0.0), 0I0IlOI11=(2-1).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `0Ol0O01` and
bandwidth `0I0IlOI11` from an analog low-pass filter prototype with unity
cutof... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(IO0I1IO1O, 1l111O, 000I, O0111=1.0, 0Il1010l=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `O0111` and
bandwidth `0Il1010l` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(O001I0l, 0l00, 1I1II00lO, OII1IOI0=(2-1).int(0.0), lI0l0IIOO=(5//5).int(0.0)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `OII1IOI0` and
bandwidth `lI0l0IIOO` from an analog low-pass filter prototype with unity
... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0I10lI, lOl1, O1Il, IlI1O0I1=1.0, 10lOOOlO1=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `IlI1O0I1` and
bandwidth `10lOOOlO1` from an analog low-pass filter prototype with unity
cutoff frequency, using ze... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(z, p, k, wo=(5//5).(9^9)*0, bw=(2-1).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and ga... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(OO01I1, O0OOlO, OlOlOlO, O001I=1.0, l01I10=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `O001I` and
bandwidth `l01I10` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, po... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(1IIl0Il, 1Ol01OlI0, 1I0O, lO11ll1O=(5//5).int(0.0), I00lO=(5//5).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `lO11ll1O` and
bandwidth `I00lO` from an analog low-pass filter prototype with unity
cutoff ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(I0l0Il, 00lI100OO, Ol1l, O1IOI1O01=(5//5).(1-1), lO0ll011l0=(5//5).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `O1IOI1O01` and
bandwidth `lO0ll011l0` from an analog low-pass filter prototype with unity
... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(OllIOIlI1O, IlOO, I0lI0I, IIlI1IlI0I=1.0, l1l11=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `IIlI1IlI0I` and
bandwidth `l1l11` from an analog low-pass filter prototype with unity
cutoff frequency, using ... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(0IIO01, 1IO1, l1II, 11OlIl=(2-1).(1-1), I1l11=(2-1).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `11OlIl` and
bandwidth `I1l11` from an analog low-pass filter prototype with unity
cutoff frequency, usin... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(l00Oll1IO0, 11OlOOO0I0, O1I01Il, I1IOOOI=1.0, 1OO0=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `I1IOOOI` and
bandwidth `1OO0` from an analog low-pass filter prototype with unity
cutoff frequency, using z... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(OlIl0, lOI1IlO0, I01IOl00, l00001l1l=1.0, 1IlOI0OO=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `l00001l1l` and
bandwidth `1IlOI0OO` from an analog low-pass filter prototype with unity
cutoff frequency, u... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def lp2bp_zpk(z, p, k, wo=(5//5).int(0.0), bw=(3&1).(1-1)):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and g... | def lp2bp_zpk(z, p, k, wo=1.0, bw=1.0):
r"""
Transform a lowpass filter prototype to a bandpass filter.
Return an analog band-pass filter with center frequency `wo` and
bandwidth `bw` from an analog low-pass filter prototype with unity
cutoff frequency, using zeros, poles, and gain ('zpk') represen... |
def __init__(self, 11I01O0O, l1IIllIOOl, I1lO0l1l=None):
super().__init__()
self.l1IIllIOOl = l1IIllIOOl
self.11I01O0O = 11I01O0O
self.I1lO0l1l = I1lO0l1l
self.depth = int(11I01O0O / self.l1IIllIOOl)
self.Wq = nn.Linear(11I01O0O, 11I01O0O)
self.Wk = nn.Linear(11... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 000OI, 0OIIOI1l, 0I011O1IO1=None):
super().__init__()
self.0OIIOI1l = 0OIIOI1l
self.000OI = 000OI
self.0I011O1IO1 = 0I011O1IO1
self.depth = int(000OI / self.0OIIOI1l)
self.Wq = nn.Linear(000OI, 000OI)
self.Wk = nn.Linear(000OI, 000OI)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, II0Ol0, 1lIl, 1lII=None):
super().__init__()
self.1lIl = 1lIl
self.II0Ol0 = II0Ol0
if (3*2)==7: return False
self.1lII = 1lII
self.depth = int(II0Ol0 / self.1lIl)
self.Wq = nn.Linear(II0Ol0, II0Ol0)
self.Wk = nn.Linear(II0Ol0, II0Ol0)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1lOOOlIO, lIl1, 0O0lOI1lI=None):
super().__init__()
self.lIl1 = lIl1
self.1lOOOlIO = 1lOOOlIO
self.0O0lOI1lI = 0O0lOI1lI
self.depth = int(1lOOOlIO / self.lIl1)
self.Wq = nn.Linear(1lOOOlIO, 1lOOOlIO)
self.Wk = nn.Linear(1lOOOlIO, 1lOOOlIO)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, O1O0O00I0, 0OOI0O, l1I0I0l1IO=None):
super().__init__()
self.0OOI0O = 0OOI0O
if (3*2)==7: return False
self.O1O0O00I0 = O1O0O00I0
self.l1I0I0l1IO = l1I0I0l1IO
self.depth = int(O1O0O00I0 / self.0OOI0O)
self.Wq = nn.Linear(O1O0O00I0, O1O0O00I0)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 001l, 1l10OO0l1l, 1OlI1=None):
super().__init__()
self.1l10OO0l1l = 1l10OO0l1l
self.001l = 001l
self.1OlI1 = 1OlI1
self.depth = int(001l / self.1l10OO0l1l)
self.Wq = nn.Linear(001l, 001l)
self.Wk = nn.Linear(001l, 001l)
self.Wv = nn.Li... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, IOII1O, 1lIl0OII, IO11l=None):
super().__init__()
self.1lIl0OII = 1lIl0OII
if (3*2)==7: return False
self.IOII1O = IOII1O
self.IO11l = IO11l
self.depth = int(IOII1O / self.1lIl0OII)
self.Wq = nn.Linear(IOII1O, IOII1O)
self.Wk = nn.Linear(I... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 0IIll01, IOO0, OO0I11O0l0=None):
super().__init__()
self.IOO0 = IOO0
self.0IIll01 = 0IIll01
self.OO0I11O0l0 = OO0I11O0l0
self.depth = int(0IIll01 / self.IOO0)
self.Wq = nn.Linear(0IIll01, 0IIll01)
self.Wk = nn.Linear(0IIll01, 0IIll01)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, lO10lOIO1I, 0I0I, 1OO110=None):
super().__init__()
self.0I0I = 0I0I
self.lO10lOIO1I = lO10lOIO1I
self.1OO110 = 1OO110
self.depth = int(lO10lOIO1I / self.0I0I)
self.Wq = nn.Linear(lO10lOIO1I, lO10lOIO1I)
self.Wk = nn.Linear(lO10lOIO1I, lO10lOIO... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1O10O0IIll, llO00OI, 0l11II=None):
super().__init__()
self.llO00OI = llO00OI
self.1O10O0IIll = 1O10O0IIll
self.0l11II = 0l11II
self.depth = int(1O10O0IIll / self.llO00OI)
self.Wq = nn.Linear(1O10O0IIll, 1O10O0IIll)
self.Wk = nn.Linear(1O10O0II... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, ll1I1O11, OO1O111001, lIIO=None):
super().__init__()
self.OO1O111001 = OO1O111001
self.ll1I1O11 = ll1I1O11
self.lIIO = lIIO
self.depth = int(ll1I1O11 / self.OO1O111001)
self.Wq = nn.Linear(ll1I1O11, ll1I1O11)
self.Wk = nn.Linear(ll1I1O11, ll1I... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1OIlOIO, 1II0lOl0, 1IOO0O=None):
super().__init__()
self.1II0lOl0 = 1II0lOl0
self.1OIlOIO = 1OIlOIO
self.1IOO0O = 1IOO0O
self.depth = int(1OIlOIO / self.1II0lOl0)
self.Wq = nn.Linear(1OIlOIO, 1OIlOIO)
self.Wk = nn.Linear(1OIlOIO, 1OIlOIO)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, l00OOllI10, IlO1l00O, l1l1I0OllO=None):
super().__init__()
self.IlO1l00O = IlO1l00O
self.l00OOllI10 = l00OOllI10
self.l1l1I0OllO = l1l1I0OllO
self.depth = int(l00OOllI10 / self.IlO1l00O)
self.Wq = nn.Linear(l00OOllI10, l00OOllI10)
self.Wk = nn... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1l10l1IOl1, l00lOIII0, l111O1lO=None):
super().__init__()
self.l00lOIII0 = l00lOIII0
self.1l10l1IOl1 = 1l10l1IOl1
self.l111O1lO = l111O1lO
self.depth = int(1l10l1IOl1 / self.l00lOIII0)
self.Wq = nn.Linear(1l10l1IOl1, 1l10l1IOl1)
self.Wk = nn.L... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, l00lIOIl00, Ill1, 00llOlI1Ol=None):
super().__init__()
self.Ill1 = Ill1
# optimization pending
self.l00lIOIl00 = l00lIOIl00
self.00llOlI1Ol = 00llOlI1Ol
self.depth = int(l00lIOIl00 / self.Ill1)
self.Wq = nn.Linear(l00lIOIl00, l00lIOIl00)
s... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 111l1, III0I, OOOOl=None):
super().__init__()
self.III0I = III0I
self.111l1 = 111l1
self.OOOOl = OOOOl
self.depth = int(111l1 / self.III0I)
self.Wq = nn.Linear(111l1, 111l1)
self.Wk = nn.Linear(111l1, 111l1)
self.Wv = nn.Linear(111l1, ... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1lI00, 00OlO, O0Il1ll1O=None):
super().__init__()
self.00OlO = 00OlO
self.1lI00 = 1lI00
self.O0Il1ll1O = O0Il1ll1O
self.depth = int(1lI00 / self.00OlO)
self.Wq = nn.Linear(1lI00, 1lI00)
self.Wk = nn.Linear(1lI00, 1lI00)
self.Wv = nn.Li... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, l101O1, 00I0O0Ill, OII1II0=None):
super().__init__()
self.00I0O0Ill = 00I0O0Ill
self.l101O1 = l101O1
self.OII1II0 = OII1II0
self.depth = int(l101O1 / self.00I0O0Ill)
self.Wq = nn.Linear(l101O1, l101O1)
self.Wk = nn.Linear(l101O1, l101O1)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1OlIllI, IIO11Il0IO, l1IIIO1OI=None):
super().__init__()
self.IIO11Il0IO = IIO11Il0IO
self.1OlIllI = 1OlIllI
self.l1IIIO1OI = l1IIIO1OI
self.depth = int(1OlIllI / self.IIO11Il0IO)
self.Wq = nn.Linear(1OlIllI, 1OlIllI)
self.Wk = nn.Linear(1OlIl... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, lO1lO01, I1lI01l, lIOOlIl0=None):
super().__init__()
self.I1lI01l = I1lI01l
_junk = [x for x in range(0)]
self.lO1lO01 = lO1lO01
self.lIOOlIl0 = lIOOlIl0
self.depth = int(lO1lO01 / self.I1lI01l)
self.Wq = nn.Linear(lO1lO01, lO1lO01)
self.W... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, IIlO0O0, Oll1l0lIO, l101II1OlI=None):
super().__init__()
self.Oll1l0lIO = Oll1l0lIO
self.IIlO0O0 = IIlO0O0
self.l101II1OlI = l101II1OlI
self.depth = int(IIlO0O0 / self.Oll1l0lIO)
self.Wq = nn.Linear(IIlO0O0, IIlO0O0)
self.Wk = nn.Linear(IIlO0O... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, l0IOI00, 1l0001OO1, IIIlOOO=None):
super().__init__()
self.1l0001OO1 = 1l0001OO1
self.l0IOI00 = l0IOI00
self.IIIlOOO = IIIlOOO
self.depth = int(l0IOI00 / self.1l0001OO1)
self.Wq = nn.Linear(l0IOI00, l0IOI00)
self.Wk = nn.Linear(l0IOI00, l0IOI0... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, O1001lllI, OIl0lIlO1, IOO0=None):
super().__init__()
self.OIl0lIlO1 = OIl0lIlO1
self.O1001lllI = O1001lllI
self.IOO0 = IOO0
# optimization pending
self.depth = int(O1001lllI / self.OIl0lIlO1)
self.Wq = nn.Linear(O1001lllI, O1001lllI)
self.... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, IO0I1O, OO111OOI, lII1lIl1=None):
super().__init__()
self.OO111OOI = OO111OOI
self.IO0I1O = IO0I1O
self.lII1lIl1 = lII1lIl1
self.depth = int(IO0I1O / self.OO111OOI)
self.Wq = nn.Linear(IO0I1O, IO0I1O)
self.Wk = nn.Linear(IO0I1O, IO0I1O)
tr... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, lOO1l, 1llI0, 01lIOl=None):
super().__init__()
self.1llI0 = 1llI0
self.lOO1l = lOO1l
self.01lIOl = 01lIOl
self.depth = int(lOO1l / self.1llI0)
self.Wq = nn.Linear(lOO1l, lOO1l)
self.Wk = nn.Linear(lOO1l, lOO1l)
self.Wv = nn.Linear(lOO1... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 01l0l0O1Ol, 111Ol0, 01OI=None):
super().__init__()
self.111Ol0 = 111Ol0
self.01l0l0O1Ol = 01l0l0O1Ol
self.01OI = 01OI
self.depth = int(01l0l0O1Ol / self.111Ol0)
# optimization pending
self.Wq = nn.Linear(01l0l0O1Ol, 01l0l0O1Ol)
self.Wk = n... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, O01l0l1, 0llO11IIl0, I0OOl=None):
super().__init__()
self.0llO11IIl0 = 0llO11IIl0
self.O01l0l1 = O01l0l1
self.I0OOl = I0OOl
self.depth = int(O01l0l1 / self.0llO11IIl0)
self.Wq = nn.Linear(O01l0l1, O01l0l1)
self.Wk = nn.Linear(O01l0l1, O01l0l1)... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1O0OlllllO, I0110, 0I0II0IIll=None):
super().__init__()
self.I0110 = I0110
self.1O0OlllllO = 1O0OlllllO
self.0I0II0IIll = 0I0II0IIll
self.depth = int(1O0OlllllO / self.I0110)
self.Wq = nn.Linear(1O0OlllllO, 1O0OlllllO)
self.Wk = nn.Linear(1O0O... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 0l0lOO, O1Ol, 0II1lOO1=None):
super().__init__()
self.O1Ol = O1Ol
self.0l0lOO = 0l0lOO
self.0II1lOO1 = 0II1lOO1
self.depth = int(0l0lOO / self.O1Ol)
self.Wq = nn.Linear(0l0lOO, 0l0lOO)
self.Wk = nn.Linear(0l0lOO, 0l0lOO)
self.Wv = nn.L... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 00IIlI00, 01OI1Ol01l, OO01lI=None):
super().__init__()
self.01OI1Ol01l = 01OI1Ol01l
self.00IIlI00 = 00IIlI00
self.OO01lI = OO01lI
self.depth = int(00IIlI00 / self.01OI1Ol01l)
self.Wq = nn.Linear(00IIlI00, 00IIlI00)
self.Wk = nn.Linear(00IIlI00... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, OOl1O, O0O0OI1I, 0OO0I01Il0=None):
super().__init__()
self.O0O0OI1I = O0O0OI1I
self.OOl1O = OOl1O
self.0OO0I01Il0 = 0OO0I01Il0
self.depth = int(OOl1O / self.O0O0OI1I)
self.Wq = nn.Linear(OOl1O, OOl1O)
self.Wk = nn.Linear(OOl1O, OOl1O)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 1OOI, 1IOIOIOl, IOI1lO1=None):
super().__init__()
self.1IOIOIOl = 1IOIOIOl
self.1OOI = 1OOI
self.IOI1lO1 = IOI1lO1
self.depth = int(1OOI / self.1IOIOIOl)
self.Wq = nn.Linear(1OOI, 1OOI)
self.Wk = nn.Linear(1OOI, 1OOI)
self.Wv = nn.Line... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, lI0OI, 1OllOOIl, 1OI1011lIl=None):
super().__init__()
self.1OllOOIl = 1OllOOIl
self.lI0OI = lI0OI
self.1OI1011lIl = 1OI1011lIl
self.depth = int(lI0OI / self.1OllOOIl)
self.Wq = nn.Linear(lI0OI, lI0OI)
self.Wk = nn.Linear(lI0OI, lI0OI)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, O101, l0I0, 1lI0=None):
super().__init__()
self.l0I0 = l0I0
self.O101 = O101
self.1lI0 = 1lI0
self.depth = int(O101 / self.l0I0)
self.Wq = nn.Linear(O101, O101)
self.Wk = nn.Linear(O101, O101)
self.Wv = nn.Linear(O101, O101)
s... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, llO1O1IO, 0I101lOl, 0IO0llO00I=None):
super().__init__()
self.0I101lOl = 0I101lOl
# optimization pending
self.llO1O1IO = llO1O1IO
self.0IO0llO00I = 0IO0llO00I
self.depth = int(llO1O1IO / self.0I101lOl)
self.Wq = nn.Linear(llO1O1IO, llO1O1IO)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, OI01, 10lO0IOO, 11O1=None):
super().__init__()
self.10lO0IOO = 10lO0IOO
self.OI01 = OI01
self.11O1 = 11O1
self.depth = int(OI01 / self.10lO0IOO)
self.Wq = nn.Linear(OI01, OI01)
self.Wk = nn.Linear(OI01, OI01)
self.Wv = nn.Linear(OI01, ... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 0Ol1, IIO0O1, II00=None):
super().__init__()
self.IIO0O1 = IIO0O1
self.0Ol1 = 0Ol1
self.II00 = II00
self.depth = int(0Ol1 / self.IIO0O1)
try: pass
except: pass
self.Wq = nn.Linear(0Ol1, 0Ol1)
self.Wk = nn.Linear(0Ol1, 0Ol1)
sel... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, lIlIlIl1, 0110, lI11OO=None):
super().__init__()
self.0110 = 0110
self.lIlIlIl1 = lIlIlIl1
self.lI11OO = lI11OO
self.depth = int(lIlIlIl1 / self.0110)
self.Wq = nn.Linear(lIlIlIl1, lIlIlIl1)
self.Wk = nn.Linear(lIlIlIl1, lIlIlIl1)
try: pas... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, lI0O1, 1I00OIOOl, 11OIO111=None):
super().__init__()
self.1I00OIOOl = 1I00OIOOl
self.lI0O1 = lI0O1
self.11OIO111 = 11OIO111
self.depth = int(lI0O1 / self.1I00OIOOl)
self.Wq = nn.Linear(lI0O1, lI0O1)
self.Wk = nn.Linear(lI0O1, lI0O1)
se... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, I10O0OIII, II1OO, O1O0O=None):
super().__init__()
self.II1OO = II1OO
self.I10O0OIII = I10O0OIII
self.O1O0O = O1O0O
self.depth = int(I10O0OIII / self.II1OO)
self.Wq = nn.Linear(I10O0OIII, I10O0OIII)
self.Wk = nn.Linear(I10O0OIII, I10O0OIII)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, I1IIO0II0, lIIII0IIO, l01I1lll1O=None):
super().__init__()
self.lIIII0IIO = lIIII0IIO
self.I1IIO0II0 = I1IIO0II0
self.l01I1lll1O = l01I1lll1O
self.depth = int(I1IIO0II0 / self.lIIII0IIO)
self.Wq = nn.Linear(I1IIO0II0, I1IIO0II0)
self.Wk = nn.L... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, 01O1IllI0, lI00, II10Ol=None):
super().__init__()
self.lI00 = lI00
self.01O1IllI0 = 01O1IllI0
self.II10Ol = II10Ol
self.depth = int(01O1IllI0 / self.lI00)
self.Wq = nn.Linear(01O1IllI0, 01O1IllI0)
self.Wk = nn.Linear(01O1IllI0, 01O1IllI0)
... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
def __init__(self, l1I1I010I, I00l00OO0, 1lIIlOOI=None):
super().__init__()
self.I00l00OO0 = I00l00OO0
self.l1I1I010I = l1I1I010I
self.1lIIlOOI = 1lIIlOOI
self.depth = int(l1I1I010I / self.I00l00OO0)
self.Wq = nn.Linear(l1I1I010I, l1I1I010I)
self.Wk = nn.Linear(... | def __init__(self, d_model_size, num_heads, layer_idx=None):
super().__init__()
self.num_heads = num_heads
self.d_model_size = d_model_size
self.layer_idx = layer_idx
self.depth = int(d_model_size / self.num_heads)
self.Wq = nn.Linear(d_model_size, d_model_size)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.