index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
listlengths
768
768
44,042
jsons.deserializers.default_timedelta
default_timedelta_deserializer
Deserialize a float to a timedelta instance. :param obj: the float that is to be deserialized. :param cls: not used. :param kwargs: not used. :return: a ``datetime.timedelta`` instance.
def default_timedelta_deserializer(obj: float, cls: type = float, **kwargs) -> timedelta: """ Deserialize a float to a timedelta instance. :param obj: the float that is to be deserialized. :param cls: not used. :param kwargs: not used. :return: a ``datetime.timedelta`` instance. """ return timedelta(seconds=obj)
(obj: float, cls: type = <class 'float'>, **kwargs) -> datetime.timedelta
[ 0.019341371953487396, 0.006960718426853418, 0.01876131072640419, -0.02916613593697548, -0.027516590431332588, 0.019903304055333138, 0.007513588294386864, 0.0272446870803833, -0.06583679467439651, 0.03286401554942131, 0.019450131803750992, -0.013087601400911808, -0.0007301730220206082, -0.056773360818624496, 0.05470689758658409, 0.059093598276376724, -0.10223555564880371, 0.012335335835814476, 0.0052839829586446285, 0.018833819776773453, 0.026320217177271843, 0.012987903319299221, -0.029311150312423706, 0.082876056432724, -0.010214491747319698, -0.046731073409318924, -0.019033214077353477, 0.020320221781730652, -0.010894249193370342, -0.007309660781174898, -0.0035166130401194096, 0.05753468722105026, -0.025105716660618782, 0.05046520754694939, -0.03647126629948616, -0.02298487164080143, -0.04368576034903526, 0.014891224913299084, -0.08534131199121475, 0.006190326530486345, 0.02519635111093521, 0.01133835781365633, -0.04767367243766785, 0.0021027170587331057, 0.03163139149546623, 0.014990922063589096, 0.041546788066625595, 0.010404824279248714, -0.012525668367743492, -0.03335344418883324, 0.06946217268705368, 0.03962533921003342, 0.04767367243766785, 0.038936518132686615, -0.023782454431056976, 0.0036638937890529633, -0.013595153577625751, -0.006702410522848368, -0.0349123552441597, 0.05398182198405266, -0.03212081640958786, 0.05419934540987015, 0.030235620215535164, 0.025975806638598442, -0.07374010980129242, -0.0399516224861145, -0.0009097423171624541, -0.0031540754716843367, -0.03003622591495514, -0.0013345908373594284, 0.0028685773722827435, -0.019649527966976166, 0.005111777689307928, 0.006294555962085724, 0.03842896595597267, 0.056302063167095184, 0.03447730839252472, -0.031794533133506775, -0.0032605710439383984, 0.06358906626701355, -0.06145009398460388, 0.046114761382341385, 0.01663140393793583, 0.027534717693924904, 0.03237459063529968, 0.015172190964221954, -0.006811171770095825, -0.027280941605567932, -0.015235635451972485, -0.011809656396508217, -0.04274316132068634, -0.013921436853706837, -0.007187304552644491, -0.034241657704114914, -0.008469780907034874, -0.01142899226397276, -0.01697581447660923, 0.011927480809390545, 0.000546921684872359, -0.02376432716846466, 0.0073912316001951694, 0.007400295231491327, 0.002773411339148879, 0.012063432484865189, 0.039371564984321594, -0.0850512757897377, 0.007373104803264141, -0.08265852928161621, 0.028567949309945107, 0.019033214077353477, 0.06706942617893219, 0.04234437271952629, -0.018906326964497566, 0.06377033144235611, -0.009389718994498253, 0.002338366350159049, 0.013894246891140938, 0.028096649795770645, 0.0011669173836708069, -0.014039261266589165, -0.02876734361052513, 0.04140177369117737, -0.037631385028362274, 0.02429000660777092, 0.018471281975507736, -0.0337703600525856, 0.0330815389752388, -0.021770372986793518, 0.09186698496341705, 0.07671292126178741, 0.01618729531764984, -0.014800590462982655, -0.04752865433692932, 0.00861932709813118, 0.04357699677348137, 0.05180659890174866, 0.05169783532619476, 0.07254374027252197, 0.01831720396876335, 0.004141990095376968, 0.034114770591259, 0.03661628067493439, 0.010567965917289257, -0.01823563314974308, -0.03150450065732002, 0.04506340250372887, -0.013332313857972622, 0.06482169032096863, -0.08120838552713394, 0.018815692514181137, -0.052422910928726196, 0.0052839829586446285, 0.017945602536201477, 0.012598175555467606, 0.043069444596767426, -0.040024131536483765, -0.014510560780763626, -0.019885176792740822, -0.030960695818066597, 0.01684892736375332, -0.018262822180986404, 0.0486525222659111, 0.04027790576219559, -0.06286399066448212, 0.034622322767972946, 0.006824766751378775, 0.014247721061110497, -0.012969776056706905, -0.05967365950345993, 0.055649492889642715, -0.0016438806196674705, -0.03155888244509697, 0.038066428154706955, -0.003577791154384613, 0.03821144253015518, 0.02864045649766922, 0.030416889116168022, -0.018398774787783623, 0.02711779996752739, 0.02907550148665905, 0.011873100884258747, -0.009815700352191925, 0.021081551909446716, -0.051081523299217224, 0.015516601502895355, 0.049377597868442535, -0.030217494815587997, 0.022531701251864433, -0.0749727413058281, -0.00911781657487154, 0.046984851360321045, -0.006086097098886967, -0.01858004368841648, 0.03886401280760765, -0.009516607038676739, 0.07707545906305313, -0.01894257962703705, -0.025649523362517357, 0.07145612686872482, -0.006629903335124254, -0.037450116127729416, 0.014918414875864983, 0.0588398240506649, -0.03563742712140083, -0.025921424850821495, 0.0007664267905056477, -0.023438043892383575, 0.03148637339472771, -0.03908153250813484, -0.031015075743198395, -0.0337703600525856, -0.009806637652218342, -0.019087595865130424, 0.01906946860253811, 0.010114793665707111, 0.010749234817922115, -0.09897271543741226, -0.029256770387291908, 0.0378851592540741, 0.053474269807338715, 0.05680961534380913, -0.022948618978261948, -0.04600599780678749, -0.012335335835814476, 0.03687005490064621, -0.00959817785769701, -0.036326248198747635, -0.03304528445005417, -0.006516610272228718, -0.055033180862665176, 0.034187279641628265, -0.0428156703710556, -0.06449540704488754, -0.007445612456649542, 0.11238659918308258, 0.032410845160484314, 0.03431416675448418, -0.016178231686353683, -0.01807248964905739, -0.03003622591495514, -0.0027507527265697718, -0.03264649584889412, -0.004812684375792742, 0.02429000660777092, 0.009444099850952625, 0.07025974988937378, 0.05492442101240158, 0.0022737893741577864, -0.03668878600001335, 0.01897883415222168, 0.025975806638598442, 0.01422959379851818, 0.05691837519407272, 0.02401810511946678, 0.025540761649608612, 0.02807852253317833, 0.006607244722545147, 0.006403317209333181, -0.010078540071845055, -0.009131411090493202, 0.022386685013771057, -0.0516253300011158, -0.027969762682914734, 0.033842869102954865, -0.021389707922935486, 0.021861007437109947, -0.007323255762457848, -0.030362509191036224, -0.043250713497400284, -0.012534731067717075, 0.09578238427639008, -0.09128692001104355, 0.004234890453517437, -0.03607247397303581, -0.019595148041844368, -0.05332925543189049, -0.0013243944849818945, -0.046332281082868576, -0.006947123445570469, 0.02202414907515049, -0.044773370027542114, -0.07025974988937378, 0.04789119213819504, -0.029800575226545334, -0.03770389035344124, 0.06387909501791, -0.01850753463804722, 0.03451356291770935, -0.03299090638756752, 0.008438058197498322, -0.005433529615402222, -0.04644104465842247, 0.017555873841047287, -0.019577020779252052, 0.04027790576219559, 0.043250713497400284, -0.05387306213378906, -0.03770389035344124, 0.00931721180677414, -0.014474306255578995, -0.03317217528820038, 0.02773411199450493, -0.03155888244509697, 0.06761322915554047, 0.000001987051973628695, -0.006901806220412254, 0.04140177369117737, -0.01745617762207985, 0.006761322729289532, -0.006086097098886967, -0.011664641089737415, 0.005628393497318029, -0.003992443438619375, 0.019395751878619194, 0.017184274271130562, 0.030670665204524994, 0.0020098169334232807, 0.06471292674541473, -0.024362515658140182, 0.04531717672944069, -0.0377763994038105, 0.05423559993505478, -0.056990884244441986, 0.02568577602505684, 0.04379452019929886, -0.02267671562731266, -0.016395755112171173, 0.03286401554942131, 0.012090623378753662, 0.0023406322579830885, 0.015996964648365974, -0.10578841716051102, 0.014646511524915695, -0.04056793823838234, -0.025323238223791122, -0.019214482977986336, 0.05532320961356163, 0.07341382652521133, 0.011374611407518387, 0.016160106286406517, 0.017619319260120392, 0.02053774520754814, -0.013857993297278881, 0.013214489445090294, -0.014311164617538452, 0.016604213044047356, 0.033534713089466095, -0.01194560807198286, 0.09955277293920517, 0.0283322986215353, -0.011102708987891674, -0.020265841856598854, -0.0011102708522230387, -0.012326272204518318, -0.027226559817790985, -0.041546788066625595, 0.044374581426382065, -0.0005474881618283689, 0.046984851360321045, -0.09665247797966003, -0.09701501578092575, 0.02550450712442398, -0.011918418109416962, 0.008959205821156502, 0.020755266770720482, -0.0265014860779047, 0.014129895716905594, -0.07156489044427872, 0.00561479851603508, 0.009870081208646297, -0.011655578389763832, -0.00966162234544754, 0.004119331482797861, -0.03215707093477249, 0.051552820950746536, -0.0016087598633021116, -0.00896373763680458, 0.04970388114452362, 0.008351955562829971, 0.03333531692624092, 0.03911778703331947, -0.011610261164605618, -0.019178230315446854, 0.04593349248170853, 0.06580054014921188, -0.002916160272434354, 0.027280941605567932, -0.020048320293426514, 0.07765551656484604, 0.006765854544937611, -0.003151809796690941, -0.01941387914121151, -0.020138952881097794, 0.006317214574664831, -0.005175221711397171, 0.010277936235070229, -0.049812640994787216, 0.018688803538680077, -0.03121447190642357, 0.04386702924966812, 0.018353456631302834, -0.017247717827558517, -0.0073912316001951694, 0.03212081640958786, -0.005270387977361679, 0.05296671763062477, 0.01723865419626236, -0.015045302920043468, -0.00747733423486352, 0.041583042591810226, 0.03565555438399315, -0.02459816448390484, 0.04810871556401253, 0.01416614931076765, 0.021099677309393883, 0.043250713497400284, -0.059129852801561356, -0.021389707922935486, -0.01997581124305725, -0.035583049058914185, 0.018217505887150764, 0.03224770352244377, 0.044410835951566696, -0.01160119753330946, 0.019123848527669907, 0.021752245724201202, 0.029129881411790848, 0.01301509328186512, 0.027353448793292046, 0.024652544409036636, 0.021208439022302628, -0.03803017735481262, 0.01849847286939621, -0.03380661457777023, 0.06054374948143959, 0.018253758549690247, -0.017854968085885048, -0.045643460005521774, -0.030652539804577827, 0.0327371284365654, -0.038501475006341934, -0.038537729531526566, 0.014383671805262566, 0.017900284379720688, 0.0023338347673416138, -0.05358302965760231, 0.012117813341319561, 0.02419937215745449, 0.0163685642182827, -0.026447104290127754, 0.03431416675448418, -0.010250745341181755, 0.010450141504406929, -0.006629903335124254, 0.03759513050317764, -0.09092438220977783, 0.030706919729709625, -0.006330809555947781, -0.023564932867884636, -0.054380614310503006, -0.01170995831489563, -0.02254982851445675, -0.009870081208646297, -0.06507546454668045, -0.0006644630921073258, 0.018353456631302834, 0.00022998468193691224, -0.031450122594833374, -0.07642288506031036, -0.02699091099202633, -0.027607224881649017, 0.019087595865130424, -0.0312507264316082, -0.029927464202046394, -0.06895461678504944, 0.02367369458079338, 0.041546788066625595, -0.029057374224066734, -0.02494257502257824, -0.003885948099195957, 0.08766154944896698, -0.04368576034903526, 0.046549804508686066, -0.020610252395272255, -0.04118425026535988, 0.007006035652011633, -0.02006644569337368, -0.00465860590338707, 0.051516566425561905, 0.016522642225027084, -0.012951649725437164, 0.01379454880952835, -0.004712986294180155, 0.04422956705093384, 0.019522640854120255, -0.0378851592540741, -0.005247729364782572, -0.0014852704480290413, 0.00578700378537178, -0.01885194517672062, 0.00028294912772253156, 0.028676709160208702, 0.02271297015249729, 0.020229587331414223, -0.020012065768241882, -0.015081556513905525, -0.04770992323756218, 0.04897880554199219, -0.01362234354019165, -0.012480351142585278, -0.028350425884127617, 0.026573993265628815, -0.01657702401280403, 0.03420540690422058, -0.026175202801823616, -0.0004302299639675766, 0.02889423258602619, -0.021389707922935486, 0.01632324792444706, -0.036018092185258865, 0.021045297384262085, 0.03868274390697479, -0.004225826822221279, -0.003913138527423143, -0.0006939193117432296, 0.0023202395532280207, -0.10056787729263306, -0.03842896595597267, 0.10673101991415024, 0.04230811819434166, 0.04992140457034111, -0.07359509915113449, 0.0015328535810112953, -0.04702110216021538, 0.01377642247825861, -0.01197279803454876, -0.025105716660618782, -0.017528684809803963, -0.03755887597799301, -0.06652561575174332, 0.0025921426713466644, 0.01606040820479393, -0.010649536736309528, 0.03047127090394497, 0.002734891604632139, -0.006960718426853418, 0.01858004368841648, 0.08541381359100342, 0.0024947107303887606, 0.09114190936088562, -0.02506946213543415, -0.04451959580183029, -0.030054353177547455, -0.00029257903224788606, -0.0674319639801979, -0.025341365486383438, -0.007803617976605892, -0.004592895973473787, 0.033534713089466095, -0.012516604736447334, -0.016903307288885117, 0.0017639711732044816, 0.06413286924362183, 0.05430810526013374, -0.030217494815587997, -0.010586093179881573, 0.017256781458854675, 0.0479637011885643, -0.053474269807338715, 0.05394556745886803, -0.04227186366915703, 0.04042292386293411, 0.026483358815312386, -0.0033036223612725735, -0.020900283008813858, -0.030652539804577827, -0.0015033973613753915, -0.03248335421085358, -0.005302109755575657, -0.07069479674100876, -0.023800581693649292, 0.015090620145201683, -0.023274902254343033, -0.09172196686267853, -0.002091387752443552, -0.033280935138463974, 0.030706919729709625, -0.056990884244441986, -0.029800575226545334, 0.022006021812558174, 0.00010975253826472908, 0.041510533541440964, -0.025341365486383438, -0.006004526279866695, 0.003654830390587449, -0.09926274418830872, -0.010395760647952557, -0.004543046932667494, 0.018924454227089882, 0.07881563901901245, 0.018308140337467194, -0.007590627297759056, -0.010114793665707111, 0.013441074639558792, -0.0009193722507916391, -0.005796066951006651, 0.009561924263834953, -0.06634435057640076, -0.014773399569094181, -0.07374010980129242, 0.012335335835814476, -0.008700897917151451, 0.04009664058685303, 0.014293038286268711, 0.0017515089130029082, -0.04252563789486885, -0.030144985765218735, -0.021734118461608887, -0.04966762661933899, -0.01571599766612053, -0.050863999873399734, 0.021915387362241745, -0.0022862516343593597, 0.027480335906147957, 0.019703909754753113, 0.0036865524016320705, 0.012163130566477776, -0.04705735668540001, -0.0265014860779047, -0.07134736329317093, 0.0029660093132406473, 0.03824769705533981, 0.011519626714289188, -0.04538968577980995, -0.035492412745952606, 0.0015362523263320327, -0.03944407030940056, 0.013132917694747448, 0.02932927757501602, -0.033534713089466095, 0.05858604609966278, 0.008016608655452728, -0.03625374287366867, 0.012099686078727245, -0.0378851592540741, -0.10593343526124954, 0.0000827746553113684, -0.05376429855823517, 0.039407819509506226, 0.07743799686431885, -0.019051341339945793, 0.00011116870155092329, -0.007069479674100876, -0.027172179892659187, -0.04216310381889343, -0.020918408408761024, -0.004735644906759262, -0.030851934105157852, 0.024217499420046806, 0.027661604806780815, -0.03563742712140083, -0.003450903110206127, -0.05967365950345993, 0.031268853694200516, 0.044410835951566696, 0.01876131072640419, -0.03320842608809471, 0.009154070168733597, 0.050900254398584366, -0.04169180244207382, -0.010577029548585415, 0.02506946213543415, 0.022604208439588547, 0.03647126629948616, -0.0385739803314209, 0.006376126781105995, 0.04680358245968819, 0.013975817710161209, 0.030144985765218735, 0.04227186366915703, 0.009561924263834953, -0.01194560807198286, -0.05492442101240158, 0.04531717672944069, -0.0349123552441597, 0.009643495082855225, 0.0028141967486590147, -0.019432006403803825, 0.07548028975725174, -0.009308148175477982, 0.05481565743684769, 0.028006015345454216, -0.04216310381889343, 0.0008468647720292211, -0.00039227682282216847, -0.08128088712692261, -0.04691234230995178, 0.03059815801680088, 0.03861023485660553, -0.0160241536796093, -0.009407846257090569, -0.02394559606909752, 0.005048333667218685, -0.024253753945231438, 0.07410264760255814, -0.025232603773474693, -0.02429000660777092, -0.03130510821938515, -0.0006610643467865884, -0.047419894486665726, -0.021208439022302628, 0.03670691326260567, -0.002014348516240716, -0.020646506920456886, 0.00659364927560091, 0.058477286249399185, -0.0013470530975610018, 0.0042915367521345615, -0.048906296491622925, -0.02329302951693535, 0.0110755180940032, 0.023474298417568207, -0.014220530167222023, 0.05202411860227585, -0.04147428274154663, -0.03572806343436241, -0.01649545319378376, -0.01649545319378376, -0.04303319379687309, -0.02050149068236351, 0.0566645972430706, 0.021625356748700142, 0.02628396265208721, -0.0676494836807251, 0.03130510821938515, -0.006883679423481226, 0.02528698556125164, 0.013006029650568962, -0.0037771868519484997, 0.05920236185193062, -0.06884585320949554, 0.007817213423550129, -0.010649536736309528, 0.04031416028738022, 0.006548332050442696, -0.0516253300011158, 0.016268866136670113, 0.04582472890615463, 0.0007432017009705305, 0.0009307015570811927, -0.011347421444952488, -0.05253167077898979, -0.022350432351231575, 0.01719333790242672, 0.05169783532619476, -0.046078506857156754, -0.02699091099202633, -0.03647126629948616, 0.02864045649766922, -0.0029592118225991726, -0.036580026149749756, -0.04484587907791138, 0.056700851768255234, 0.013867055997252464, -0.0004982057143934071, 0.0027031695935875177, -0.013087601400911808, -0.010767361149191856 ]
44,043
jsons.serializers.default_timedelta
default_timedelta_serializer
Serialize the given timedelta instance to a float holding the total seconds. :param obj: the timedelta instance that is to be serialized. :param kwargs: not used. :return: ``timedelta`` as a float.
def default_timedelta_serializer(obj: timedelta, **kwargs) -> float: """ Serialize the given timedelta instance to a float holding the total seconds. :param obj: the timedelta instance that is to be serialized. :param kwargs: not used. :return: ``timedelta`` as a float. """ return obj.total_seconds()
(obj: datetime.timedelta, **kwargs) -> float
[ -0.02792745642364025, -0.011179848574101925, 0.021969599649310112, -0.009708115831017494, 0.011587677523493767, 0.018937475979328156, -0.022129185497760773, 0.033264704048633575, -0.05432998389005661, 0.026491187512874603, 0.010346457362174988, -0.03234265372157097, 0.015080826357007027, -0.07468599826097488, 0.056138619780540466, 0.06670672446489334, -0.04319446533918381, -0.02879631146788597, -0.000935348158236593, 0.023175355046987534, 0.03574714437127113, -0.005749509669840336, -0.011144384741783142, 0.051953934133052826, -0.02847713977098465, -0.04979066550731659, -0.008950084447860718, -0.01448681391775608, -0.011472421698272228, 0.012580654583871365, 0.002930166432633996, 0.04244973510503769, -0.02897362783551216, 0.05202486366033554, -0.0050225090235471725, -0.0009636080940254033, -0.04617339372634888, 0.012571788392961025, -0.10121265053749084, -0.006259296555072069, 0.02145537920296192, 0.020568793639540672, -0.06787701696157455, -0.0015116289723664522, 0.023813698440790176, 0.025232234969735146, 0.029239604249596596, 0.07957994937896729, 0.05184754356741905, -0.028087042272090912, 0.05347886309027672, 0.017190901562571526, -0.004007368348538876, 0.06216740608215332, -0.04319446533918381, 0.006915370002388954, 0.020320549607276917, -0.01607380248606205, -0.05010983720421791, 0.07245180010795593, 0.0005144968745298684, 0.04124397784471512, 0.048833154141902924, 0.026065625250339508, -0.07468599826097488, -0.0436200276017189, -0.00006767144077457488, 0.026242943480610847, -0.027909724041819572, -0.01363569125533104, 0.01448681391775608, -0.06135174632072449, 0.01604720577597618, 0.02516130916774273, 0.01293528825044632, 0.05709613487124443, 0.0303744338452816, -0.045003101229667664, -0.021792281419038773, 0.02620748057961464, -0.03791041299700737, -0.014708460308611393, -0.005975589156150818, 0.04198870807886124, 0.02165042795240879, -0.012500861659646034, -0.020692914724349976, -0.011632007546722889, -0.036562804132699966, 0.017226364463567734, -0.02727138251066208, 0.031136898323893547, 0.01604720577597618, 0.006724754348397255, -0.05120920389890671, -0.009034310467541218, -0.053372472524642944, -0.029966603964567184, -0.029026823118329048, -0.02062198892235756, 0.03427541255950928, 0.05333700776100159, 0.022944843396544456, -0.0064720772206783295, 0.04223695397377014, -0.05067725107073784, 0.008276280015707016, -0.08036014437675476, 0.06528818607330322, 0.04805295541882515, 0.05291144922375679, 0.037307534366846085, 0.006139607634395361, 0.03613724187016487, -0.02342360094189644, -0.007159181404858828, 0.023795966058969498, 0.0199127197265625, -0.01695152372121811, 0.0010234526125714183, -0.01713770627975464, 0.046528030186891556, 0.01766965724527836, 0.01310374028980732, -0.007314333692193031, -0.020515598356723785, 0.022395160049200058, 0.03182843327522278, 0.06787701696157455, 0.08773653954267502, 0.050925496965646744, -0.02569326013326645, -0.007008461747318506, 0.009495335631072521, 0.08036014437675476, 0.025054918602108955, 0.08156590163707733, 0.07319653034210205, 0.029310530051589012, 0.03076453134417534, 0.03890338912606239, 0.011995507404208183, -0.01203983649611473, -0.0037857219576835632, 0.022430622950196266, 0.04198870807886124, -0.02342360094189644, 0.045322272926568985, -0.07553712278604507, -0.002347236266359687, -0.023813698440790176, -0.008085663430392742, 0.015142887830734253, 0.005807137582451105, 0.03019711561501026, -0.03335336223244667, 0.000981339835561812, -0.04422290623188019, -0.0478401780128479, -0.004579216241836548, -0.016490498557686806, 0.02673943154513836, 0.05064178630709648, -0.07333838939666748, 0.02462935633957386, 0.0373784638941288, -0.018653767183423042, 0.014894643798470497, -0.054046276956796646, 0.019682208076119423, -0.013671155087649822, -0.02634933404624462, -0.001285549602471292, -0.002220897702500224, 0.06872814148664474, 0.029966603964567184, 0.015843290835618973, -0.006808979902416468, -0.0071503156796097755, 0.013750948011875153, 0.04283983260393143, -0.014167643152177334, -0.0032360386103391647, -0.011561080813407898, 0.002391565591096878, 0.014238569885492325, -0.006875474005937576, 0.0069951629266142845, -0.06280574947595596, -0.004774264991283417, 0.0738348737359047, 0.02360091730952263, -0.00528848497197032, 0.03759124130010605, -0.004876222461462021, 0.044258370995521545, 0.007190211676061153, -0.0698629692196846, 0.05592583864927292, 0.007606907282024622, -0.04635071009397507, -0.008466895669698715, 0.041173048317432404, -0.03652733936905861, -0.007655669469386339, -0.014540009200572968, -0.020143231377005577, 0.043265391141176224, -0.06177730858325958, -0.05241496115922928, -0.02377823367714882, 0.002158836694434285, -0.020923428237438202, -0.005328381434082985, -0.00205466290935874, 0.012288080528378487, -0.05032261833548546, -0.04014461115002632, 0.014477947726845741, 0.03390304744243622, 0.036562804132699966, -0.038335975259542465, -0.024540698155760765, -0.01371548417955637, 0.023636380210518837, -0.028370749205350876, -0.0013553681783378124, -0.06106803938746452, 0.013484971597790718, -0.07245180010795593, 0.044116515666246414, -0.05362071469426155, -0.06844443082809448, 0.012695910409092903, 0.03812319412827492, 0.04397466033697128, 0.02218237891793251, -0.04283983260393143, -0.04351363703608513, -0.05620954558253288, -0.017385950312018394, -0.021969599649310112, 0.004947149660438299, 0.017855839803814888, -0.002282958710566163, 0.06177730858325958, 0.03911617025732994, 0.00856885313987732, -0.049861591309309006, 0.05479101091623306, 0.057379841804504395, 0.012500861659646034, 0.05677696317434311, 0.005448070354759693, 0.02149084210395813, 0.01038192119449377, 0.012500861659646034, 0.06635209172964096, -0.019079329445958138, 0.00046268702135421336, 0.0013875069562345743, -0.0734093114733696, -0.047095444053411484, 0.0015049795620143414, -0.003291450208052993, 0.047591932117938995, -0.0026531084440648556, -0.03074679896235466, -0.04833666607737541, 0.02182774618268013, 0.06663579493761063, -0.1134829968214035, 0.0056076557375490665, -0.025285430252552032, -0.020657451823353767, -0.07957994937896729, -0.016029473394155502, -0.01623338833451271, -0.00848462712019682, 0.039364416152238846, -0.035197462886571884, -0.03278594836592674, 0.013006215915083885, -0.03716568276286125, -0.03266182541847229, 0.030977312475442886, 0.0064809429459273815, 0.03303419053554535, -0.04876222461462021, 0.012846630066633224, -0.015213814564049244, -0.0199127197265625, 0.02289164811372757, -0.028743116185069084, -0.0018208258552476764, 0.043939199298620224, -0.05333700776100159, -0.06574921309947968, 0.023671844974160194, 0.047059979289770126, -0.04780471324920654, 0.02900909073650837, -0.01679193787276745, 0.03911617025732994, -0.0036726822145283222, 0.033814385533332825, 0.04780471324920654, -0.015497521497309208, 0.006520839408040047, 0.0011176523985341191, -0.04833666607737541, -0.01764306053519249, 0.01692492514848709, 0.047414615750312805, 0.007043925113976002, 0.05010983720421791, -0.013511569239199162, 0.028193432837724686, -0.01336084958165884, 0.04546412453055382, -0.04379734396934509, 0.0485139824450016, -0.04815934598445892, 0.03317604586482048, 0.09497108310461044, -0.041173048317432404, 0.0016778638819232583, 0.04468392953276634, 0.025249967351555824, -0.007841852493584156, 0.010834080167114735, -0.10482992231845856, 0.03581807017326355, -0.021544037386775017, -0.0652172639966011, -0.011516750790178776, 0.05847920849919319, 0.0691891685128212, -0.015240412205457687, 0.03390304744243622, 0.03688197582960129, 0.0050047775730490685, 0.0024913065135478973, 0.032927799969911575, -0.0594012551009655, -0.004517155233770609, 0.006405583117157221, -0.001377532840706408, 0.07489877939224243, 0.01011594571173191, -0.00028481573099270463, 0.009805640205740929, -0.009397810325026512, 0.03599538654088974, -0.048975005745887756, -0.01730615645647049, 0.055606670677661896, -0.016020607203245163, 0.02287391759455204, -0.0890132263302803, -0.08461575955152512, 0.04457753896713257, 0.00856885313987732, 0.006011052522808313, 0.09085732698440552, 0.016357509419322014, 0.03548116981983185, -0.0660683810710907, 0.010975933633744717, -0.006662693340331316, -0.04553505405783653, -0.019629012793302536, 0.005935692694038153, -0.04333632066845894, 0.040073685348033905, 0.027147261425852776, -0.03681104630231857, 0.033105120062828064, -0.0017476824577897787, -0.008081230334937572, 0.030995042994618416, -0.029966603964567184, -0.020551061257719994, 0.03652733936905861, 0.05766354873776436, 0.020568793639540672, 0.019522622227668762, -0.028778579086065292, 0.04798202961683273, -0.028867237269878387, -0.024859869852662086, -0.03126101940870285, -0.025391820818185806, -0.010018421337008476, -0.03306965529918671, -0.01371548417955637, -0.014344960451126099, 0.016889462247490883, -0.024664821103215218, 0.03645641356706619, 0.05181208252906799, -0.0562804751098156, 0.004995911847800016, -0.007549278903752565, -0.02182774618268013, -0.009663786739110947, 0.009007712826132774, -0.007535980548709631, 0.014353825710713863, 0.05032261833548546, -0.0022441705223172903, -0.029771555215120316, 0.0332469716668129, 0.030799994245171547, 0.014938972890377045, 0.017882438376545906, -0.07723936438560486, -0.011073458008468151, -0.012199422344565392, -0.042520660907030106, 0.00528848497197032, 0.04684720188379288, 0.04319446533918381, 0.0023117728997021914, 0.04982613027095795, -0.007123718038201332, 0.045499589294195175, 0.02533862553536892, 0.03613724187016487, 0.04351363703608513, 0.028033846989274025, -0.02360091730952263, -0.016348645091056824, -0.02374277077615261, 0.07589175552129745, 0.050925496965646744, 0.00977017730474472, -0.03684651106595993, -0.030516287311911583, 0.04610246792435646, 0.008187620900571346, -0.02042694017291069, -0.01888428069651127, 0.02462935633957386, 0.027164991945028305, -0.035374779254198074, -0.04344271123409271, 0.021863209083676338, 0.015054228715598583, -0.017341621220111847, 0.046563491225242615, -0.060890719294548035, 0.01162314135581255, -0.02950557880103588, -0.00979677401483059, -0.062451113015413284, 0.027377773076295853, -0.011330568231642246, -0.019770866259932518, -0.05908208712935448, 0.0027993950061500072, -0.032573167234659195, 0.004565917421132326, -0.02549821138381958, -0.012465397827327251, 0.00029478981741704047, -0.03968358412384987, -0.016286583617329597, -0.07674288004636765, 0.017155436798930168, 0.012199422344565392, 0.033264704048633575, -0.05567759647965431, -0.059649500995874405, -0.023459063842892647, 0.03094184771180153, -0.003994069527834654, -0.034505922347307205, -0.02587057650089264, 0.02654438279569149, 0.035942193120718, -0.05035807937383652, 0.04408105090260506, 0.0034864991903305054, -0.005647552199661732, 0.025586869567632675, -0.01154334843158722, -0.00772659620270133, 0.10397879779338837, -0.016277717426419258, -0.008741737343370914, 0.027164991945028305, -0.026810357347130775, 0.0140701187774539, 0.018068620935082436, -0.02360091730952263, -0.00960172526538372, -0.002517903922125697, -0.019504889845848083, 0.04259158670902252, 0.0034909320529550314, 0.03773309662938118, 0.03094184771180153, 0.014540009200572968, -0.0008655295241624117, -0.020923428237438202, -0.06337316334247589, -0.0024358949158340693, -0.028938164934515953, 0.004929417744278908, 0.0010627948213368654, 0.035906728357076645, -0.033264704048633575, 0.03698836639523506, -0.003692630445584655, 0.021597232669591904, 0.018476450815796852, -0.0332469716668129, 0.023264015093445778, -0.08036014437675476, 0.012882092967629433, 0.035020142793655396, -0.021792281419038773, -0.009371213614940643, 0.012571788392961025, 0.008152157999575138, -0.11270280182361603, -0.02127806283533573, 0.037626706063747406, 0.053727105259895325, 0.04971973970532417, -0.05390442535281181, -0.04464846849441528, -0.010523774661123753, -0.005674149841070175, 0.03528612107038498, -0.025906041264533997, -0.051634762436151505, 0.0038433498702943325, -0.05415266752243042, 0.00864864606410265, -0.016703277826309204, 0.016853997483849525, 0.02517903968691826, 0.016330912709236145, 0.025622332468628883, -0.018387792631983757, 0.061245355755090714, 0.008067931979894638, 0.05358525365591049, -0.01959354802966118, -0.03317604586482048, -0.020533330738544464, 0.009912030771374702, -0.057557158172130585, -0.019097059965133667, -0.024700284004211426, -0.023849161341786385, 0.02829982340335846, 0.01798882894217968, 0.02970062755048275, 0.023494526743888855, 0.08213332295417786, 0.02618974819779396, -0.019327573478221893, -0.0031917092856019735, 0.05113827437162399, 0.03335336223244667, -0.036775585263967514, 0.036048583686351776, -0.05957857519388199, 0.0050845700316131115, -0.001426295144483447, 0.008059065788984299, -0.026136552914977074, 0.003936441615223885, -0.006826711818575859, -0.00025807961355894804, -0.042520660907030106, -0.03408036381006241, -0.03879699856042862, 0.013671155087649822, 0.0035973223857581615, -0.07489877939224243, 0.020586524158716202, -0.019983647391200066, 0.034009434282779694, -0.03822958469390869, -0.01679193787276745, 0.02360091730952263, -0.05833735316991806, 0.01676533930003643, -0.045322272926568985, 0.007008461747318506, 0.020817037671804428, -0.08787839859724045, -0.03404489904642105, 0.0072123766876757145, 0.027803335338830948, 0.05954311043024063, 0.018086353316903114, 0.0016435086727142334, -0.0018385575385764241, 0.057379841804504395, -0.007611339911818504, 0.0122348852455616, -0.0026797058526426554, -0.04276890307664871, -0.020746110007166862, -0.04018007218837738, -0.003162895329296589, 0.02184547670185566, 0.057557158172130585, 0.003799020778387785, 0.023618649691343307, -0.02934599481523037, -0.0367046557366848, -0.01679193787276745, -0.03791041299700737, 0.0006366795278154314, -0.04908139631152153, 0.020746110007166862, -0.02023189142346382, -0.003907627426087856, -0.008746170438826084, -0.0028370749205350876, 0.00515549723058939, -0.024753479287028313, -0.010789751075208187, -0.11908622086048126, -0.016162460669875145, 0.024930795654654503, 0.041846856474876404, -0.05833735316991806, 0.0040184506215155125, -0.026650773361325264, -0.05468462035059929, 0.015080826357007027, 0.006055381614714861, -0.02184547670185566, 0.08333908021450043, 0.012545190751552582, -0.024700284004211426, 0.032927799969911575, -0.020586524158716202, -0.04833666607737541, -0.025374088436365128, -0.035215191543102264, 0.04273344203829765, 0.06745145469903946, -0.05464915558695793, -0.022820722311735153, -0.006667125970125198, -0.02165042795240879, -0.035215191543102264, 0.014362691901624203, 0.022501550614833832, -0.031686581671237946, 0.01709337718784809, 0.004818594548851252, -0.03127875179052353, -0.008267413824796677, -0.06560736149549484, 0.02533862553536892, 0.0460670031607151, -0.021792281419038773, -0.08078570663928986, 0.014318362809717655, 0.05642232671380043, -0.05496832728385925, 0.01574576646089554, 0.04627978429198265, 0.030977312475442886, 0.034505922347307205, -0.04489671066403389, 0.03393850848078728, 0.027998384088277817, 0.012500861659646034, 0.027182724326848984, 0.004947149660438299, 0.003280367935076356, -0.01941623166203499, -0.046563491225242615, 0.04436475783586502, -0.05794725567102432, -0.03840690106153488, -0.012491995468735695, -0.027643749490380287, 0.03674012050032616, -0.02494852803647518, 0.012491995468735695, -0.040286462754011154, -0.034700971096754074, -0.0030210416298359632, -0.0015626077074557543, -0.05514564365148544, -0.030977312475442886, 0.0605006217956543, 0.04610246792435646, -0.005948991514742374, -0.009654920548200607, -0.003741392632946372, 0.027342310175299644, -0.004969314206391573, 0.0636214092373848, -0.016836266964673996, 0.015054228715598583, -0.06057155132293701, 0.022253306582570076, -0.0607488676905632, 0.012970752082765102, 0.044613003730773926, -0.00855555385351181, 0.0012888743076473475, -0.022058257833123207, 0.05954311043024063, -0.0020557711832225323, 0.0016213440103456378, -0.001614694599993527, 0.0034665509592741728, -0.028175700455904007, 0.027360040694475174, -0.017066778615117073, 0.034009434282779694, -0.03883246332406998, -0.024859869852662086, 0.007611339911818504, -0.0018551810644567013, -0.023175355046987534, -0.007606907282024622, 0.02727138251066208, 0.001753223710693419, 0.02604789473116398, -0.08426112681627274, 0.056706033647060394, 0.017740584909915924, 0.021402183920145035, -0.001106015988625586, 0.001349827041849494, 0.03076453134417534, -0.03287460654973984, 0.025941504165530205, 0.01852964609861374, 0.02810477279126644, 0.05840827897191048, -0.07950902730226517, 0.02583511359989643, 0.04156314954161644, 0.011986641213297844, -0.0024248124100267887, 0.011667470447719097, -0.02149084210395813, -0.036598265171051025, 0.0013121471274644136, 0.0404992438852787, -0.02305123396217823, -0.05078364163637161, -0.027484163641929626, 0.03830051049590111, 0.03076453134417534, -0.031207824125885963, -0.06826711446046829, 0.04684720188379288, 0.010896140709519386, 0.019983647391200066, 0.04925871267914772, -0.041811391711235046, -0.005066838581115007 ]
44,044
jsons.deserializers.default_timezone
default_timezone_deserializer
Deserialize a dict to a timezone instance. :param obj: the dict that is to be deserialized. :param cls: not used. :param kwargs: not used. :return: a ``datetime.timezone`` instance.
def default_timezone_deserializer(obj: dict, cls: type = timezone, **kwargs) -> timezone: """ Deserialize a dict to a timezone instance. :param obj: the dict that is to be deserialized. :param cls: not used. :param kwargs: not used. :return: a ``datetime.timezone`` instance. """ return timezone(load(obj['offset'], timedelta), obj['name'])
(obj: dict, cls: type = <class 'datetime.timezone'>, **kwargs) -> datetime.timezone
[ 0.05171768367290497, -0.0009652957087382674, 0.03619151934981346, -0.020629167556762695, -0.05294819548726082, -0.01976056955754757, 0.01699191890656948, 0.016711434349417686, -0.03018372878432274, -0.008138568140566349, 0.00812047254294157, 0.014838523231446743, -0.03403812646865845, -0.05048717185854912, 0.021461572498083115, 0.0948941707611084, -0.09996098279953003, 0.022710179910063744, -0.0064873299561440945, 0.02880845032632351, 0.042018357664346695, -0.06706289201974869, -0.026492193341255188, 0.12138636410236359, 0.02330734021961689, 0.0007176100043579936, -0.05059574544429779, -0.00933741219341755, -0.017172876745462418, -0.03537721186876297, -0.01219654269516468, 0.011011269874870777, -0.032300934195518494, 0.09800663590431213, -0.012703224085271358, -0.043140292167663574, -0.018692919984459877, 0.03706011921167374, -0.06058460474014282, -0.014856619760394096, 0.05363583564758301, 0.017417170107364655, -0.07650887221097946, -0.014856619760394096, 0.05005287379026413, 0.042995527386665344, 0.021696817129850388, 0.011680813506245613, 0.013481341302394867, -0.021751103922724724, 0.03260856121778488, -0.006120890844613314, 0.03825443610548973, 0.04335744306445122, 0.0034268845338374376, -0.040498312562704086, -0.00046653131721541286, 0.01377087365835905, -0.028736067935824394, 0.037385839968919754, -0.04864140599966049, -0.0052387225441634655, -0.013047043234109879, 0.050812896341085434, -0.02068345434963703, -0.03919541835784912, 0.004499058239161968, -0.0352686382830143, -0.0012259877985343337, -0.010839360766112804, 0.029658950865268707, 0.006143510807305574, -0.008645249530673027, 0.009753614664077759, 0.03521434962749481, 0.03383907303214073, -0.034219082444906235, -0.06565141677856445, -0.012802750803530216, 0.026383617892861366, -0.0702839344739914, -0.024175936356186867, -0.020104389637708664, 0.021913966163992882, 0.01825862191617489, 0.022149210795760155, 0.007953086867928505, -0.03003896214067936, 0.003784275846555829, 0.013743730261921883, -0.033640019595623016, 0.0035218873526901007, -0.01672048307955265, 0.01227797381579876, -0.023234955966472626, -0.04125833511352539, 0.012657984159886837, 0.0031644960399717093, -0.02167872153222561, -0.01672048307955265, 0.019127218052744865, -0.02716173604130745, -0.06760576367378235, -0.0076590306125581264, 0.016458094120025635, -0.0228730421513319, -0.0009947012877091765, -0.019091026857495308, -0.05511968582868576, -0.04259742051362991, 0.04375554993748665, 0.02222159318625927, -0.04882236197590828, 0.04900331795215607, 0.03056374005973339, 0.018692919984459877, 0.005930885672569275, 0.04922046884894371, -0.008767396211624146, 0.004374650306999683, -0.031450431793928146, 0.01097507867962122, -0.04610799625515938, -0.007455453276634216, 0.002773175248876214, -0.05595209077000618, 0.048062339425086975, 0.016711434349417686, 0.05732737109065056, 0.0705372765660286, 0.04827949032187462, -0.004277385305613279, -0.07954896241426468, -0.022438742220401764, 0.031884729862213135, 0.06767814606428146, 0.08092424273490906, 0.02441118098795414, -0.03373049572110176, 0.0011225026100873947, 0.07810129970312119, 0.004799900576472282, 0.017019063234329224, -0.0029993723146617413, -0.031178995966911316, -0.001501948107033968, -0.032445698976516724, 0.02511691488325596, -0.021859679371118546, -0.0177609883248806, 0.009862189181149006, 0.019091026857495308, -0.028717972338199615, 0.028193194419145584, 0.009242409840226173, -0.0702839344739914, -0.01921769790351391, -0.01130985002964735, 0.02413974516093731, -0.03427337110042572, -0.012323212809860706, 0.04042593017220497, -0.025008341297507286, -0.10705451667308807, 0.03248189017176628, 0.03521434962749481, -0.011536046862602234, -0.022167306393384933, 0.024175936356186867, 0.001409207354299724, -0.05265866219997406, -0.049292851239442825, 0.008301430381834507, 0.014277555048465729, 0.06210464984178543, 0.011554143391549587, -0.019398655742406845, -0.008011898025870323, 0.012667031958699226, 0.03546769171953201, 0.06047603115439415, 0.014503751881420612, 0.02658267132937908, -0.027469364926218987, 0.010314583778381348, 0.025171203538775444, 0.016412854194641113, 0.026492193341255188, -0.01863863319158554, 0.017643366008996964, 0.016430949792265892, 0.0053201536647975445, -0.0059173135086894035, -0.014096597209572792, -0.01509186439216137, 0.03087136708199978, 0.014395177364349365, -0.016557620838284492, -0.036155328154563904, 0.002163574332371354, -0.0035060537047684193, 0.030364686623215675, 0.048460446298122406, -0.01759812794625759, -0.01609617844223976, 0.03403812646865845, -0.001271227141842246, 0.013807064853608608, -0.009907429106533527, -0.028826545923948288, 0.020936794579029083, -0.012784655205905437, -0.0186748243868351, -0.01903674006462097, 0.00812047254294157, -0.0011479498352855444, -0.010938887484371662, -0.02070154994726181, 0.016557620838284492, 0.04679563641548157, 0.07238303869962692, 0.003890588413923979, -0.07285353541374207, -0.02565978839993477, 0.039702098816633224, -0.004953714553266764, -0.047193743288517, -0.05823215842247009, -0.03287999704480171, -0.08041755855083466, 0.009482178837060928, -0.08070709556341171, -0.033802881836891174, -0.05761690065264702, 0.11081843823194504, 0.07788415253162384, 0.053020577877759933, -0.04675944522023201, 0.017525743693113327, -0.02330734021961689, 0.0479537658393383, -0.013191808946430683, 0.006220417562872171, 0.005654925014823675, -0.0020233322866261005, 0.0850500762462616, -0.008061661384999752, 0.02249303087592125, -0.014901858754456043, -0.03535911440849304, 0.056965455412864685, 0.03796490654349327, 0.033368583768606186, 0.014567087404429913, 0.02122632786631584, -0.007876180112361908, 0.01986914500594139, -0.012784655205905437, 0.024248318746685982, 0.012594649568200111, -0.004668706096708775, 0.015372348949313164, -0.07060965895652771, -0.0015584973152726889, 0.0019509491976350546, 0.03155900537967682, -0.0030672315042465925, 0.0031871157698333263, -0.016458094120025635, -0.023361627012491226, 0.046831827610731125, -0.03948494791984558, 0.02755984291434288, 0.026419810950756073, -0.02824748307466507, -0.0033680733758956194, -0.04429842159152031, -0.07133349031209946, -0.006659239996224642, -0.01007029041647911, -0.05855787917971611, -0.03973829001188278, 0.02808462083339691, 0.018331006169319153, -0.004205002449452877, -0.012287021614611149, -0.011219371110200882, 0.03110661171376705, -0.01262179296463728, -0.0024926909245550632, 0.012784655205905437, -0.06300944089889526, -0.028573205694556236, -0.013001804240047932, 0.023271147161722183, -0.015851886942982674, -0.05182625725865364, 0.008147615939378738, 0.0037458224687725306, -0.015661880373954773, -0.047664232552051544, 0.023397818207740784, 0.002302685519680381, 0.09011688828468323, 0.05276723578572273, 0.01948913373053074, -0.004790852777659893, 0.006016840226948261, -0.004799900576472282, -0.019977720454335213, -0.005614209920167923, -0.00262162322178483, -0.008070709183812141, 0.02699887380003929, -0.023777829483151436, -0.0007125205593183637, 0.027885567396879196, 0.0038883264642208815, 0.023940691724419594, 0.0422716960310936, -0.03554007411003113, 0.040932610630989075, -0.028736067935824394, 0.000233831160585396, 0.06250275671482086, -0.027487460523843765, -0.038037288933992386, 0.016711434349417686, 0.012422739528119564, 0.01624094508588314, -0.0009777365485206246, -0.0752059817314148, -0.00897549744695425, 0.008029993623495102, -0.04589084908366203, 0.020665358752012253, -0.0032821185886859894, 0.036824870854616165, -0.05001668259501457, 0.038037288933992386, 0.016213800758123398, 0.005537302698940039, -0.026419810950756073, 0.016765723004937172, 0.018312908709049225, 0.05265866219997406, 0.05718260258436203, 0.0025175726041197777, -0.009210742078721523, 0.04925666004419327, -0.03248189017176628, -0.035431500524282455, 0.020502496510744095, 0.03948494791984558, -0.025424543768167496, -0.06047603115439415, 0.08439862728118896, -0.008518579415977001, -0.00014801767247263342, -0.06376945972442627, -0.06072937324643135, -0.008260714821517467, 0.01905483566224575, -0.05385298281908035, 0.04364697262644768, -0.019688187167048454, 0.031016133725643158, -0.0469404011964798, -0.01763431914150715, -0.040244970470666885, -0.039123035967350006, 0.01844862848520279, -0.008726680651307106, -0.05008906498551369, 0.02137109264731407, -0.01508281659334898, 0.02632933109998703, 0.0639142245054245, -0.017109541222453117, 0.05276723578572273, 0.039014458656311035, -0.0051618157885968685, 0.031884729862213135, 0.03658962622284889, 0.03186663240194321, -0.002795794978737831, -0.005211579147726297, 0.0227463711053133, 0.009771710261702538, -0.03479814901947975, -0.008785491809248924, 0.012576553970575333, -0.0030242539942264557, 0.0021624434739351273, -0.004514892119914293, 0.02535216137766838, -0.04784519225358963, 0.00895287748426199, -0.014096597209572792, 0.07665364444255829, 0.010377918370068073, 0.010260296054184437, 0.008355717174708843, -0.010377918370068073, 0.0053337253630161285, 0.0307266004383564, -0.0005100742564536631, -0.029803717508912086, -0.016014747321605682, -0.010658402927219868, 0.024574043229222298, -0.05030621588230133, 0.05776166915893555, -0.01385230477899313, 0.016213800758123398, 0.021027274429798126, -0.026256948709487915, 0.036137234419584274, -0.024773096665740013, -0.021733008325099945, -0.0026826965622603893, 0.05240532383322716, 0.006971391849219799, -0.04342982545495033, 0.05171768367290497, -0.012069872580468655, 0.008229047060012817, -0.02826557867228985, 0.006414947099983692, -0.006935200188308954, 0.05522825941443443, -0.050523363053798676, 0.025569310411810875, -0.03865254297852516, 0.09445986896753311, 0.038869693875312805, 0.0570378378033638, -0.045601315796375275, -0.0237235426902771, 0.023759733885526657, -0.018104808405041695, -0.020321538671851158, -0.00967218354344368, -0.009599801152944565, 0.004422151483595371, 0.02974943071603775, -0.01809575967490673, 0.03592008352279663, 0.029405610635876656, -0.00010730220674304292, 0.020321538671851158, 0.01734478585422039, -0.024610234424471855, 0.020466305315494537, 0.020936794579029083, -0.07209350913763046, 0.04071545973420143, 0.019145315513014793, -0.008414528332650661, -0.015399492345750332, 0.009880284778773785, -0.049292851239442825, 0.005550874397158623, -0.07839083671569824, 0.03865254297852516, 0.07650887221097946, -0.033947646617889404, 0.015245677903294563, -0.06181511655449867, -0.03962971642613411, -0.013942783698439598, 0.03821824491024017, -0.0494014248251915, -0.02647409774363041, -0.03204759210348129, 0.008961925283074379, 0.01267608068883419, -0.00569111667573452, 0.00041987819713540375, 0.053418684750795364, 0.04733850806951523, 0.025315968319773674, 0.007238304242491722, 0.0003429712087381631, -0.014449465088546276, -0.019398655742406845, -0.021986348554491997, 0.009473131038248539, -0.006120890844613314, 0.05388917401432991, 0.006297324784100056, 0.06510854512453079, -0.042561229318380356, 0.048605211079120636, -0.0036576054990291595, 0.008351193740963936, 0.045167017728090286, 0.019163411110639572, 0.025858841836452484, -0.08924829214811325, 0.022800657898187637, 0.04882236197590828, -0.032300934195518494, 0.0013843256747350097, -0.09134739637374878, -0.049148086458444595, -0.05522825941443443, 0.03639057278633118, 0.013807064853608608, 0.012938468717038631, 0.004944666754454374, 0.01091174315661192, -0.013164665549993515, 0.009961715899407864, -0.010839360766112804, 0.03141424059867859, 0.034200988709926605, -0.0688362717628479, 0.042163122445344925, -0.00613898690789938, 0.018747208639979362, 0.060946520417928696, 0.03658962622284889, 0.053129151463508606, -0.007763081230223179, 0.039846863597631454, -0.015299965627491474, -0.007197588682174683, 0.06058460474014282, 0.03128756955265999, 0.0378563292324543, -0.06945152580738068, -0.005093956366181374, -0.0008476732764393091, 0.047519467771053314, 0.01501043327152729, -0.044226039201021194, -0.010314583778381348, -0.020086294040083885, -0.03320572152733803, 0.007197588682174683, -0.008817159570753574, 0.009020736441016197, 0.001166045549325645, -0.04556512460112572, -0.0018853520741686225, 0.025569310411810875, 0.033368583768606186, -0.013816113583743572, 0.10292868316173553, 0.012739415280520916, -0.06937914341688156, 0.03499720245599747, 0.024248318746685982, -0.058630265295505524, -0.009988860227167606, -0.002163574332371354, -0.01145461667329073, -0.00044673908269032836, 0.006564237177371979, -0.004600847139954567, 0.10104672610759735, 0.061489395797252655, 0.08794539421796799, -0.01227797381579876, 0.016648098826408386, -0.03858016058802605, 0.04020877927541733, -0.014168980531394482, 0.06329897046089172, -0.060258883982896805, 0.013662299141287804, 0.07010297477245331, 0.011128893122076988, -0.04324886575341225, 0.015562353655695915, 0.008613581769168377, -0.00423666974529624, 0.002304947469383478, -0.01790575496852398, -0.016277136281132698, 0.007781176827847958, 0.01603284291923046, -0.07759462296962738, -0.014738996513187885, -0.038326822221279144, 0.034888625144958496, -0.05569875240325928, -0.012250829488039017, -0.020068198442459106, -0.013698490336537361, 0.0729983001947403, -0.015064720995724201, 0.038037288933992386, 0.011952250264585018, -0.07679840922355652, 0.02455594763159752, -0.049437616020441055, 0.013327527791261673, -0.011825579218566418, -0.007600219454616308, 0.00852762721478939, 0.03003896214067936, 0.019127218052744865, 0.02318066917359829, 0.006699955556541681, -0.071803979575634, -0.0355219766497612, 0.021334901452064514, -0.03554007411003113, -0.012576553970575333, -0.0204120185226202, 0.06945152580738068, 0.03456290438771248, 0.006980439648032188, -0.0619598850607872, -0.040534503757953644, 0.005786119494587183, -0.05113862082362175, -0.041728824377059937, -0.00859096273779869, 0.029677046462893486, -0.007849035784602165, 0.041873589158058167, -0.0016659409739077091, -0.0006412685033865273, 0.03606485202908516, 0.005270390305668116, -0.030780889093875885, -0.010061242617666721, 0.031215187162160873, 0.012576553970575333, -0.030491355806589127, -0.05913694575428963, -0.060403648763895035, -0.0036168901715427637, -0.04002782329916954, 0.023108286783099174, 0.0005835882620885968, -0.020122485235333443, -0.01571616716682911, -0.00781736895442009, 0.03843539580702782, 0.04534797742962837, -0.05493872985243797, -0.05291200429201126, 0.0003636116744019091, -0.007640935014933348, 0.024320702999830246, 0.04636133834719658, 0.0023230432998389006, -0.030473260208964348, -0.007618315052241087, 0.009907429106533527, -0.05168149247765541, -0.011925105936825275, -0.01919960230588913, -0.00011946029553655535, 0.05168149247765541, 0.016458094120025635, -0.027921758592128754, -0.005605161655694246, -0.12413691729307175, -0.014965194277465343, 0.03289809077978134, 0.017019063234329224, -0.07021155208349228, -0.0211358480155468, 0.02289113774895668, -0.056965455412864685, -0.017172876745462418, -0.0009669922292232513, 0.015978556126356125, -0.00586302625015378, -0.07896989583969116, -0.036969639360904694, 0.028319865465164185, -0.029116079211235046, 0.031052324920892715, 0.0038543969858437777, 0.03141424059867859, -0.017064301297068596, 0.005383488722145557, 0.06224941462278366, -0.048894744366407394, 0.03497910499572754, -0.012811798602342606, -0.029930388554930687, 0.07773938775062561, -0.019000548869371414, 0.04241646081209183, -0.007564027793705463, -0.06471043825149536, -0.014159932732582092, -0.008744776248931885, -0.06156177818775177, -0.03839920461177826, 0.040534503757953644, 0.03333239257335663, -0.002818414708599448, -0.0009121394250541925, -0.04896712675690651, 0.0250807236880064, -0.04375554993748665, 0.0447327196598053, -0.013173713348805904, -0.07607457786798477, 0.0005103569710627198, 0.03087136708199978, 0.008043565787374973, -0.007021155208349228, 0.031088516116142273, 0.01178034022450447, -0.035449594259262085, -0.005351820960640907, 0.04371935874223709, -0.013001804240047932, 0.019127218052744865, -0.006414947099983692, 0.015553305856883526, -0.011563191190361977, -0.010278391651809216, -0.04636133834719658, 0.024791192263364792, 0.04563750699162483, 0.0063154203817248344, -0.030491355806589127, -0.05276723578572273, -0.09257791191339493, 0.007202112581580877, 0.02345210500061512, 0.015942364931106567, 0.012974659912288189, -0.06434852629899979, 0.016331423074007034, -0.0015539734158664942, -0.006193274166435003, 0.00712520582601428, -0.019832953810691833, 0.05200721696019173, -0.04400888830423355, 0.02071964554488659, 0.03195711225271225, 0.12037299573421478, 0.001405814429745078, -0.051898639649152756, 0.02564169280230999, 0.05157291889190674, 0.021769199520349503, 0.07723270356655121, 0.0006893354002386332, -0.007138777524232864, -0.022004444152116776, 0.03673439472913742, 0.0034200986847281456, -0.018457675352692604, -0.02685410901904106, -0.009052404202520847, 0.03639057278633118, 0.03745822608470917, -0.09076833724975586, -0.045854657888412476, -0.0021488715428858995, -0.04151167348027229, 0.041330717504024506, -0.011807483620941639, -0.01144556887447834, -0.03908684104681015 ]
44,045
jsons.serializers.default_timezone
default_timezone_serializer
Serialize the given timezone instance to a dict holding the total seconds. :param obj: the timezone instance that is to be serialized. :param kwargs: not used. :return: ``timezone`` as a dict.
def default_timezone_serializer(obj: timezone, **kwargs) -> dict: """ Serialize the given timezone instance to a dict holding the total seconds. :param obj: the timezone instance that is to be serialized. :param kwargs: not used. :return: ``timezone`` as a dict. """ name = obj.tzname(None) offset = dump(obj.utcoffset(None), **kwargs) return { 'name': name, 'offset': offset }
(obj: datetime.timezone, **kwargs) -> dict
[ 0.005623955745249987, -0.0005480599938891828, 0.01435321755707264, -0.010268681682646275, -0.012244785204529762, -0.002553937491029501, -0.033893708139657974, 0.030117938295006752, -0.044497620314359665, -0.004042631946504116, -0.0035993317142128944, -0.03368198126554489, -0.005668065510690212, -0.07138674706220627, 0.03463474661111832, 0.08744259178638458, -0.04792051389813423, -0.028335915878415108, -0.011318487115204334, 0.013418097048997879, 0.03204111009836197, -0.06895190477371216, -0.0009533156407997012, 0.067152239382267, -0.013991519808769226, 0.008230824954807758, -0.03488175943493843, -0.03004736267030239, 0.0037890023086220026, 0.0029200459830462933, -0.02874172292649746, 0.016091130673885345, -0.050496507436037064, 0.05998886376619339, -0.010656844824552536, -0.050531793385744095, -0.02937689796090126, 0.013047577813267708, -0.08306693285703659, -0.0057695172727108, 0.06743454188108444, 0.017749644815921783, -0.12153037637472153, -0.010321613401174545, 0.04919086769223213, 0.03597567230463028, 0.033964283764362335, 0.05017891898751259, 0.06341175734996796, -0.03382313251495361, 0.024119051173329353, -0.022601686418056488, 0.003125155111774802, 0.02897109091281891, -0.013047577813267708, -0.033558476716279984, 0.021790072321891785, -0.006475268397480249, -0.06104749068617821, 0.05017891898751259, -0.04283910617232323, 0.012950536794960499, 0.02761252038180828, 0.040263112634420395, -0.03140593320131302, -0.03110598959028721, -0.021631278097629547, 0.0018173096468672156, -0.006232666317373514, -0.01659397780895233, 0.05875379592180252, -0.04594441130757332, 0.02087259478867054, 0.01767907105386257, -0.008530769497156143, 0.03592274338006973, -0.02277812361717224, -0.041427601128816605, -0.027683096006512642, 0.01041865348815918, -0.07840897142887115, -0.0406159870326519, -0.025583485141396523, 0.03948678821325302, 0.0431566946208477, -0.0032354288268834352, 0.007123677525669336, -0.02263697423040867, -0.025124747306108475, 0.0286711473017931, -0.009995203465223312, 0.046403151005506516, 0.002957539167255163, 0.05836563557386398, -0.06171795353293419, -0.03377019986510277, -0.03202346712350845, -0.016011733561754227, -0.03931034728884697, -0.010895036160945892, 0.023854395374655724, -0.001328797428868711, -0.0516962856054306, -0.008124962449073792, 0.027189070358872414, -0.036699067801237106, 0.0062635429203510284, -0.050567083060741425, 0.016179349273443222, 0.025865785777568817, 0.053001925349235535, 0.006859020795673132, -0.021719496697187424, 0.005081409588456154, 0.020113913342356682, 0.010683310218155384, 0.023289794102311134, 0.034158363938331604, -0.015111899934709072, -0.003987494856119156, -0.015641214326024055, 0.027788957580924034, 0.008795426227152348, -0.013718041591346264, -0.02034328132867813, -0.050461217761039734, 0.019267011433839798, 0.06101220101118088, 0.045838549733161926, 0.08370210975408554, 0.0701516792178154, -0.0297121312469244, -0.0461561381816864, -0.009845230728387833, 0.05032007023692131, 0.033523187041282654, 0.10296911746263504, 0.04294496774673462, -0.02791246399283409, 0.03327617421746254, 0.05501331388950348, 0.009757012128829956, 0.0007134704501368105, -0.0028075668960809708, 0.0027634575963020325, 0.030453169718384743, -0.018040768802165985, 0.017361482605338097, -0.06108277663588524, -0.022866342216730118, 0.05518975481390953, 0.0062767756171524525, -0.014106204733252525, -0.004490342922508717, -0.013382809236645699, -0.07671517133712769, 0.0020963018760085106, -0.03318795561790466, -0.01940816082060337, -0.015835294499993324, -0.03435244411230087, 0.03691079467535019, 0.006223844364285469, -0.09562930464744568, -0.005831270478665829, 0.06619947403669357, -0.02704791910946369, 0.004104385152459145, -0.014591408893465996, -0.018296603113412857, -0.04432118311524391, -0.060200586915016174, -0.0028075668960809708, 0.023960256949067116, 0.06725810468196869, 0.027859533205628395, -0.02514239028096199, 0.001857008202932775, -0.016249924898147583, 0.02911224216222763, 0.07445676624774933, -0.017370304092764854, -0.0035265511833131313, 0.005178450141102076, -0.029482761397957802, -0.0371578074991703, 0.02674797549843788, 0.015111899934709072, -0.022689905017614365, 0.008932164870202541, 0.0534253753721714, 0.02390732616186142, 0.005593079142272472, -0.008623398840427399, -0.0008794323075562716, 0.027224358171224594, 0.027983039617538452, -0.07925587147474289, -0.01873769797384739, 0.004397713113576174, -0.04252151772379875, 0.016796881332993507, 0.023289794102311134, -0.06055346503853798, 0.016276389360427856, 0.023466231301426888, -0.010251037776470184, 0.022425247356295586, -0.03754597157239914, -0.02443663962185383, 0.028882872313261032, -0.02734786458313465, -0.010268681682646275, 0.0012791742337867618, -0.004680013284087181, 0.00735304644331336, -0.02120782807469368, -0.014176779426634312, 0.019849255681037903, 0.035128772258758545, 0.05279019847512245, -0.01378861628472805, -0.049332018941640854, -0.05264904722571373, 0.0061488584615290165, -0.019284654408693314, -0.008813069202005863, -0.07516251504421234, -0.022989848628640175, -0.09915806353092194, 0.03191760182380676, -0.0675051137804985, -0.0658818855881691, 0.008270523510873318, 0.0410747267305851, 0.06598775088787079, 0.03835758566856384, -0.055366192013025284, -0.0035419894848018885, -0.06944593042135239, 0.027718383818864822, -0.01182133425027132, 0.012147744186222553, -0.016285210847854614, -0.016779238358139992, 0.06521142274141312, -0.0033082093577831984, 0.020819664001464844, -0.00022743939189240336, -0.012430044822394848, 0.06320003420114517, 0.030717825517058372, 0.02304278127849102, 0.0009014870156534016, 0.02334272488951683, -0.0358874537050724, 0.011309664696455002, 0.0581539086997509, 0.009210054762661457, 0.023130999878048897, -0.0209431704133749, -0.0181730967015028, -0.08024392277002335, -0.02900637872517109, 0.016920387744903564, 0.052296172827482224, -0.0062635429203510284, -0.009607040323317051, -0.048767417669296265, 0.012147744186222553, 0.03195289149880409, -0.08447843044996262, -0.0008077544625848532, -0.001376215135678649, -0.03585216775536537, -0.02897109091281891, -0.046367861330509186, -0.03825172036886215, -0.006735514383763075, 0.004163932986557484, -0.00623707752674818, -0.0209431704133749, 0.02173714153468609, -0.03195289149880409, -0.015764720737934113, -0.0040713027119636536, 0.021631278097629547, 0.06439980864524841, -0.03375255689024925, -0.02030799351632595, -0.006581130903214216, -0.04460348188877106, 0.009307095780968666, -0.03087661974132061, -0.0012957153376191854, 0.018040768802165985, -0.026218662038445473, -0.016064664348959923, 0.016611622646450996, 0.04418003186583519, -0.05462515354156494, 0.012359470129013062, 0.0398043729364872, 0.06831672787666321, 0.026836194097995758, 0.04647372290492058, 0.01810252107679844, 0.005412230268120766, 0.012668236158788204, -0.03195289149880409, -0.03624033182859421, -0.014159135520458221, 0.03994552418589592, 0.02540704794228077, -0.010842104442417622, 0.031070701777935028, 0.028900517150759697, 0.0019408161751925945, 0.022989848628640175, 0.06072990223765373, -0.02623630501329899, 0.03803999722003937, -0.013541603460907936, 0.003916919697076082, 0.10755649954080582, -0.032658644020557404, -0.0064973230473697186, 0.02514239028096199, 0.035128772258758545, -0.0015824268339201808, -0.0181730967015028, -0.09499412775039673, -0.010162819176912308, 0.023695601150393486, -0.06697580218315125, 0.05081409588456154, -0.005773928016424179, 0.0350758396089077, -0.06598775088787079, 0.05617780610918999, 0.035728659480810165, -0.004208042286336422, -0.035393428057432175, 0.024418996647000313, -0.03459945693612099, 0.010559803806245327, 0.01970810629427433, 0.006678171921521425, -0.020590294152498245, 0.053601812571287155, -0.03835758566856384, 0.00425435695797205, 0.040298402309417725, 0.06739924848079681, -0.025883430615067482, -0.022019442170858383, 0.10353372246026993, -0.0406159870326519, -0.017776111140847206, -0.0586126483976841, -0.07544481754302979, 0.021084321662783623, 0.042168643325567245, -0.04495636001229286, 0.0945001021027565, 0.005575435236096382, 0.07565654069185257, -0.04301554337143898, 0.01483842171728611, -0.04368600621819496, -0.07791494578123093, -0.007520662620663643, 0.010524516925215721, -0.04792051389813423, 0.03523463383316994, -0.001017274335026741, 0.013056399300694466, 0.05381353944540024, -0.05370767414569855, -0.005994475446641445, 0.03952207416296005, -0.013312234543263912, 0.02570699155330658, 0.025124747306108475, 0.032729215919971466, 0.029800349846482277, 0.008460193872451782, -0.011424349620938301, 0.012315360829234123, -0.021560702472925186, -0.0303473062813282, 0.0053901756182312965, -0.008424906060099602, -0.00019683846039697528, -0.033399682492017746, 0.003857372095808387, -0.01566767878830433, -0.002875936683267355, -0.03369962424039841, 0.03624033182859421, 0.0640469342470169, -0.04128645360469818, -0.007454498205333948, -0.02004333771765232, 0.0038463447708636522, -0.024330776184797287, 0.0031560317147523165, -0.06372934579849243, 0.01757320761680603, 0.012244785204529762, -0.008777782320976257, -0.06044759973883629, 0.05381353944540024, -0.008023510687053204, 0.011997772380709648, -0.0033721679355949163, -0.05638952925801277, 0.02634216845035553, 0.009836409240961075, -0.033858418464660645, 0.023819107562303543, 0.03708723187446594, 0.029994431883096695, -0.0007195355137810111, 0.0632353201508522, -0.034564170986413956, 0.0066958158276975155, -0.033029161393642426, 0.027983039617538452, 0.017749644815921783, 0.011380240321159363, -0.047602925449609756, -0.0025583484675735235, -0.006801678333431482, 0.08292578160762787, 0.039028048515319824, 0.08532533794641495, -0.061470940709114075, -0.030135581269860268, 0.06499969959259033, 0.04548567160964012, -0.013744506984949112, -0.004547684919089079, 0.033928994089365005, 0.0015416255919262767, 0.04523865878582001, -0.05391940101981163, 0.009095369838178158, 0.0013839342864230275, 0.006766390986740589, 0.039028048515319824, -0.0521550215780735, 0.0014765640953555703, -0.030929552391171455, -0.0024789515882730484, -0.03867517411708832, 0.04986133053898811, 0.0063605839386582375, -0.017326194792985916, -0.04079242795705795, 0.015570638701319695, -0.04072185233235359, 0.017335016280412674, -0.048661552369594574, 0.025389403104782104, 0.054166413843631744, -0.05349595099687576, 0.03193524852395058, -0.050073057413101196, 0.014926640316843987, 0.020519720390439034, 0.0680697113275528, -0.0863133892416954, -0.06454095989465714, 0.007652990985661745, 0.040298402309417725, -0.03523463383316994, 0.003363346215337515, -0.024101408198475838, 0.04968489333987236, 0.022266454994678497, -0.016999784857034683, 0.0406159870326519, -0.010700954124331474, 0.010595091618597507, -0.008142605423927307, -0.017855508252978325, 0.0020400623325258493, 0.021419553086161613, 0.010753885842859745, -0.020449144765734673, 0.04647372290492058, -0.042768530547618866, 0.027894821017980576, 0.0070442804135382175, 0.01783786527812481, 0.04220392927527428, 0.016796881332993507, -0.0019981584046036005, -0.008005866780877113, -0.010286325588822365, 0.06471739709377289, -0.004988779779523611, -0.011494924314320087, -0.05317836254835129, -0.02914752997457981, -0.058471497148275375, -0.003253072500228882, 0.00479469820857048, 0.03874574601650238, 0.012500620447099209, 0.029853280633687973, -0.018825916573405266, 0.03292329981923103, -0.009924627840518951, 0.04238036647439003, 0.007450087461620569, -0.03535814210772514, 0.026853837072849274, -0.053637102246284485, 0.0148560656234622, 0.059565410017967224, 0.04358014464378357, 0.011794868856668472, 0.022160591557621956, 0.0508846715092659, -0.04548567160964012, -0.01103618647903204, 0.016664553433656693, 0.05529561638832092, 0.03278214856982231, -0.039627935737371445, -0.025354117155075073, 0.0297121312469244, 0.02540704794228077, 0.04428589716553688, -0.018084878101944923, -0.03137064725160599, 0.0029862101655453444, -0.02147248387336731, 0.009095369838178158, -0.02124311402440071, 0.02914752997457981, -0.017784932628273964, -0.005456340033560991, 0.04072185233235359, 0.006215022411197424, 0.006422337144613266, 0.011644897051155567, 0.033258531242609024, 0.021948866546154022, -0.04830867797136307, 0.029059311375021935, 0.019019998610019684, -0.041462890803813934, 0.017140936106443405, -0.01287113968282938, -0.010833282954990864, 0.015191297046840191, 0.029094597324728966, 0.03008265048265457, 0.09238284826278687, 0.08285520225763321, 0.025389403104782104, -0.04103944078087807, 0.02110196463763714, -0.013382809236645699, 0.03920448571443558, -0.03803999722003937, 0.06401164829730988, -0.04852040484547615, -0.007123677525669336, 0.03694608062505722, 0.002549526747316122, -0.05684826895594597, 0.020802021026611328, -0.0038926596753299236, 0.04545038565993309, 0.006634062621742487, -0.009157123044133186, -0.006188557017594576, 0.036699067801237106, 0.026518605649471283, -0.08116140216588974, 0.036028604954481125, 0.005368120968341827, 0.06058875098824501, -0.05395468696951866, -0.009174766950309277, 0.016779238358139992, -0.06905777007341385, 0.04735591262578964, -0.008848357014358044, 0.028953447937965393, 0.013779794797301292, -0.059635985642671585, -0.011574321426451206, -0.03652263060212135, 0.02484244666993618, 0.00028781421133317053, 0.005668065510690212, 0.012518264353275299, -0.003800029866397381, 0.03708723187446594, 0.015429488383233547, 0.035128772258758545, -0.08313750475645065, 0.012597661465406418, -0.007789730094373226, -0.005743051413446665, -0.03408778831362724, -0.011724294163286686, 0.05808333307504654, -0.014247355051338673, 0.01566767878830433, -0.049931906163692474, -0.020519720390439034, -0.01150374673306942, -0.027894821017980576, -0.023625025525689125, -0.02127840183675289, 0.037263669073581696, -0.008389619179069996, 0.007348635699599981, -0.017290906980633736, 0.0018327479483559728, -0.0002562483714427799, 0.012862318195402622, -0.019284654408693314, -0.054307565093040466, 0.0099510932341218, 0.014291464351117611, 0.004424178507179022, -0.06852845102548599, -0.021825360134243965, -0.01138906180858612, -0.05935368686914444, 0.003976467531174421, -0.017634961754083633, -0.007053102366626263, 0.03260571137070656, 0.0052622584626078606, 0.01566767878830433, 0.01783786527812481, -0.04901443049311638, 0.0007983811665326357, -0.016047021374106407, -0.01787315309047699, 0.024401351809501648, 0.02090788260102272, -0.022160591557621956, -0.048096951097249985, -0.014891352504491806, 0.004199220333248377, -0.042027492076158524, 0.03377019986510277, -0.008760138414800167, -0.00953646469861269, 0.03948678821325302, -0.04167461395263672, -0.040227826684713364, -0.008566056378185749, -0.11193215847015381, -0.028900517150759697, 0.029659198597073555, -0.011009721085429192, -0.08737201243638992, 0.0005921694682911038, 0.011741938069462776, -0.04435646906495094, -0.0010685515590012074, 0.040933575481176376, 0.045732684433460236, 0.009465890005230904, -0.07953817397356033, 0.02704791910946369, -0.02200179733335972, 0.0076088812202215195, -0.0027921285945922136, -0.044462334364652634, 0.038428161293268204, -0.020484432578086853, 0.013294590637087822, 0.03585216775536537, -0.05268433690071106, 0.004957903176546097, -0.029959144070744514, -0.0211725402623415, 0.04746177792549133, 0.012729989364743233, 0.04728533700108528, -0.0624237060546875, -0.03322324529290199, 0.01041865348815918, 0.005959187634289265, -0.039663225412368774, 0.0019132477464154363, 0.0687754675745964, 0.051166970282793045, -0.018155451864004135, -0.013091687113046646, -0.005531325936317444, 0.048061665147542953, -0.011874265968799591, 0.021348977461457253, -0.013629822060465813, -0.029500404372811317, -0.035993319004774094, 0.046367861330509186, 0.010074600577354431, 0.01335634384304285, 0.037334244698286057, -0.00816907174885273, -0.021666565909981728, -0.027788957580924034, 0.05578964203596115, -0.010198106989264488, 0.03216461464762688, 0.042345080524683, 0.019619885832071304, -0.012059525586664677, 0.03327617421746254, -0.045168083161115646, 0.03384077548980713, 0.00012771066394634545, -0.0057121748104691505, 0.009280629456043243, -0.003647852223366499, -0.05755402147769928, 0.012227141298353672, 0.008288167417049408, 0.012165388092398643, 0.0008049975731410086, -0.06697580218315125, 0.028424134477972984, 0.024701295420527458, 0.003085456555709243, -0.012721167877316475, -0.026289237663149834, 0.01731737330555916, -0.02267226204276085, 0.02217823453247547, 0.035393428057432175, 0.07749149203300476, 0.0398043729364872, -0.04047483950853348, 0.024754228070378304, 0.04238036647439003, 0.021419553086161613, 0.06312945485115051, 0.016982141882181168, 0.002237452194094658, -0.025989292189478874, -0.0013497493928298354, 0.00047031708527356386, -0.0218077152967453, -0.05413112789392471, -0.00591066712513566, 0.04079242795705795, 0.03892218694090843, -0.09880518168210983, -0.07586826384067535, 0.020219774916768074, -0.00520932674407959, 0.05758930742740631, 0.035058196634054184, -0.021684208884835243, -0.032358698546886444 ]
44,046
jsons.deserializers.default_tuple
default_tuple_deserializer
Deserialize a (JSON) list into a tuple by deserializing all items of that list. :param obj: the tuple that needs deserializing. :param cls: the type optionally with a generic (e.g. Tuple[str, int]). :param kwargs: any keyword arguments. :return: a deserialized tuple instance.
def default_tuple_deserializer(obj: list, cls: type = None, *, key_transformer: Optional[Callable[[str], str]] = None, **kwargs) -> object: """ Deserialize a (JSON) list into a tuple by deserializing all items of that list. :param obj: the tuple that needs deserializing. :param cls: the type optionally with a generic (e.g. Tuple[str, int]). :param kwargs: any keyword arguments. :return: a deserialized tuple instance. """ if hasattr(cls, '_fields'): return default_namedtuple_deserializer(obj, cls, key_transformer=key_transformer, **kwargs) cls_args = get_args(cls) if cls_args: tuple_types = getattr(cls, '__tuple_params__', cls_args) if tuple_with_ellipsis(cls): tuple_types = [tuple_types[0]] * len(obj) list_ = [load(value, tuple_types[i], **kwargs) for i, value in enumerate(obj)] else: list_ = [load(value, **kwargs) for i, value in enumerate(obj)] return tuple(list_)
(obj: list, cls: Optional[type] = None, *, key_transformer: Optional[Callable[[str], str]] = None, **kwargs) -> object
[ 0.013198131695389748, 0.0012023525778204203, -0.006118124816566706, -0.022030798718333244, -0.02199380286037922, -0.007006015628576279, 0.03113168105483055, 0.04528244584798813, -0.02376958541572094, -0.015288375318050385, -0.003944640979170799, 0.028985945507884026, -0.0299663245677948, -0.02500893361866474, -0.0009410720667801797, 0.05175665393471718, -0.04883401095867157, 0.018960174173116684, 0.036681000143289566, 0.041434917598962784, 0.05286651477217674, -0.024417005479335785, -0.030354777351021767, 0.10277339816093445, 0.015787813812494278, -0.011246620677411556, 0.036200061440467834, 0.013577334582805634, -0.029744351282715797, -0.002698356518521905, 0.016250256448984146, 0.0004075281322002411, -0.014622456394135952, 0.006515825632959604, -0.03965913504362106, -0.020329006016254425, -0.048538047820329666, 0.05046181008219719, -0.004235980566591024, -0.04173088073730469, 0.05109073221683502, -0.0663328617811203, -0.009868539869785309, -0.025027429684996605, 0.04868602752685547, 0.029448388144373894, 0.0051192473620176315, -0.020347503945231438, -0.051460687071084976, -0.09463439136743546, 0.0377538688480854, -0.01846073567867279, 0.023862073197960854, 0.02922641485929489, 0.012615452520549297, -0.023251648992300034, -0.011542584747076035, 0.04905598238110542, 0.024675972759723663, 0.06533398479223251, 0.041434917598962784, 0.05046181008219719, -0.038512278348207474, 0.004400148056447506, -0.02615579217672348, -0.05434633418917656, -0.018479233607649803, -0.012347235344350338, -0.041915860027074814, 0.012550710700452328, -0.013558836653828621, 0.029596369713544846, -0.022493241354823112, -0.030872713774442673, 0.04221182316541672, -0.0176375862210989, 0.006085753440856934, 0.0309836994856596, -0.0034475147258490324, 0.03407282009720802, -0.03268549218773842, 0.00361861870624125, 0.0008323978981934488, -0.010636195540428162, -0.029004443436861038, 0.028763972222805023, 0.0023376508615911007, -0.006390966009348631, -0.04332168772816658, 0.0246574766933918, -0.05393938347697258, -0.015408609993755817, -0.05941471457481384, -0.011958783492445946, -0.05201562121510506, -0.06489004194736481, -0.006474205758422613, -0.0009566795197315514, -0.005914649460464716, 0.008726304396986961, -0.020476989448070526, -0.06341022253036499, -0.07465684413909912, -0.0066268122754991055, -0.01085816789418459, -0.08605144917964935, 0.031150178983807564, 0.005146993789821863, 0.011838547885417938, 0.0010468559339642525, -0.0003476995334494859, 0.01243047509342432, -0.004851030185818672, 0.0941164568066597, 0.006168993189930916, 0.009100884199142456, 0.01236573327332735, -0.03829030320048332, -0.03436878323554993, -0.056233104318380356, 0.006936649326235056, 0.0056325593031942844, -0.06788667291402817, 0.04106496274471283, -0.0386972539126873, 0.016499975696206093, 0.08464562147855759, -0.020513983443379402, 0.05079476907849312, 0.09137879312038422, 0.061597444117069244, 0.0003277566866017878, -0.07336200028657913, -0.012596954591572285, 0.036884475499391556, 0.01988506130874157, 0.030428767204284668, 0.029004443436861038, -0.04591136798262596, -0.01460395846515894, 0.04398760572075844, -0.0267662163823843, 0.055345211178064346, 0.024768462404608727, -0.032519012689590454, -0.035108692944049835, -0.008208367973566055, 0.04014007747173309, -0.013743814080953598, 0.039807118475437164, -0.029448388144373894, 0.008911281824111938, -0.014872175641357899, -0.0022578793577849865, -0.0031469266396015882, -0.030539754778146744, -0.03466475009918213, -0.026322271674871445, 0.023510616272687912, -0.044172581285238266, -0.0010572609025985003, 0.007981770671904087, 0.006858034059405327, -0.00406718859449029, 0.03903021290898323, 0.02920791693031788, 0.0074777076952159405, -0.0246574766933918, -0.010950656607747078, -0.033073943108320236, -0.030280785635113716, -0.005257979966700077, 0.014326493255794048, 0.007454585749655962, 0.041027966886758804, 0.03792034834623337, -0.016657207161188126, -0.00026156948297284544, 0.04898199439048767, 0.0019087346736341715, -0.026803212240338326, -0.01256920862942934, 0.05079476907849312, -0.03399882838129997, 0.058600813150405884, 0.05375440791249275, 0.013531090691685677, 0.025101421400904655, -0.014455976895987988, 0.01536236610263586, -0.026396263390779495, 0.0044232700020074844, -0.005054505076259375, -0.035108692944049835, -0.03298145532608032, 0.10551106184720993, -0.06907052546739578, 0.03453526273369789, 0.012781932018697262, 0.01579706184566021, -0.01008126325905323, -0.008541327901184559, 0.06988442689180374, -0.009729806333780289, -0.017415614798665047, -0.003951577935367823, 0.05467929318547249, 0.005771292373538017, 0.007454585749655962, -0.0028555872850120068, 0.08679135888814926, 0.0128374258056283, -0.02915242500603199, -0.004883401095867157, 0.03011430613696575, -0.04113895446062088, 0.010580702684819698, -0.05619610846042633, -0.0018220265628769994, -0.027025185525417328, 0.08664337545633316, -0.04339567944407463, -0.035312168300151825, 0.03262999653816223, 0.0538283996284008, -0.016388989984989166, -0.0377538688480854, -0.04332168772816658, -0.04768715053796768, -0.03235253319144249, -0.004129618406295776, -0.07672858983278275, 0.016435233876109123, -0.002038218779489398, 0.018701206892728806, 0.05919273942708969, 0.00840721931308508, -0.07924427837133408, -0.000303189386613667, 0.0039469534531235695, 0.029337402433156967, -0.007741300389170647, -0.017813315615057945, -0.035515643656253815, -0.00704763550311327, 0.054235346615314484, 0.014391235075891018, 0.012939163483679295, -0.027839085087180138, -0.031039193272590637, 0.004173550754785538, 0.0945603996515274, 0.025841331109404564, -0.029300406575202942, -0.010950656607747078, -0.0619673989713192, -0.0134570999071002, -0.0032047319691628218, -0.028560496866703033, -0.02983684092760086, -0.013401606120169163, -0.03534916415810585, -0.01975557766854763, 0.06352120637893677, -0.0031700488179922104, 0.000051482944400049746, 0.008504332043230534, -0.0009023424354381859, -0.007667309604585171, 0.02362160198390484, 0.09766802191734314, -0.01655546948313713, 0.03836429491639137, -0.013595832511782646, 0.009692811407148838, -0.029651863500475883, 0.019293133169412613, -0.037568893283605576, 0.03962213918566704, 0.008425716310739517, -0.036477524787187576, -0.02902294136583805, -0.0009248865535482764, -0.010617697611451149, 0.024269023910164833, 0.015371615067124367, -0.023307140916585922, -0.015612085349857807, -0.0377538688480854, 0.0171658955514431, 0.06311425566673279, -0.04783513396978378, -0.012781932018697262, -0.025563864037394524, 0.033554885536432266, 0.0034035826101899147, -0.057860903441905975, 0.021198399364948273, 0.03131666034460068, -0.058341845870018005, -0.003995509818196297, -0.015769315883517265, 0.02369559369981289, 0.009914783760905266, 0.07872634381055832, -0.03771687299013138, -0.04176787659525871, -0.011644321493804455, -0.018960174173116684, 0.02663673274219036, 0.003831342561170459, 0.0028740849811583757, 0.0247314665466547, -0.020957930013537407, -0.005220984574407339, 0.04250778630375862, -0.004453328903764486, 0.050905756652355194, 0.019293133169412613, 0.034424278885126114, -0.037291426211595535, 0.017239885404706, -0.03362887725234032, 0.03329591453075409, 0.0166202113032341, -0.017656084150075912, -0.0013052461436018348, 0.009119381196796894, 0.01749885454773903, 0.015843307599425316, -0.01934862695634365, -0.01729537919163704, -0.03464625030755997, 0.02615579217672348, 0.01168131735175848, 0.03455376252532005, 0.018100030720233917, 0.014428230002522469, 0.005105373915284872, -0.028523501008749008, -0.03568212315440178, -0.011894041672348976, 0.023584607988595963, 0.04905598238110542, -0.0015595899894833565, 0.04535643756389618, 0.06614788621664047, 0.014002782292664051, 0.06929250061511993, 0.033961836248636246, -0.006048758048564196, -0.0813160240650177, -0.009068512357771397, -0.0018231826834380627, -0.013734565116465092, -0.03275948390364647, -0.0067794183269143105, -0.028079556301236153, 0.03740241378545761, -0.04014007747173309, -0.018100030720233917, -0.06463107466697693, -0.030761728063225746, 0.0010485901730135083, 0.02391756698489189, -0.009692811407148838, -0.033665869385004044, -0.08020616322755814, 0.014169261790812016, 0.00018064190226141363, -0.01852547749876976, 0.03712494671344757, -0.03277797996997833, 0.012143760919570923, 0.003940016962587833, -0.002030126051977277, -0.015972791239619255, 0.07813441753387451, -0.028652986511588097, 0.008393345400691032, -0.01453921664506197, -0.04380262643098831, 0.0766545981168747, 0.007597943302243948, 0.0245094932615757, -0.015131143853068352, -0.022974181920289993, 0.04269276559352875, -0.021068915724754333, -0.021512862294912338, 0.004388586618006229, 0.01717514358460903, -0.04243379458785057, -0.07902231067419052, -0.010367978364229202, -0.045800384134054184, 0.004615183919668198, -0.00279315747320652, -0.021013421937823296, 0.0007058040355332196, 0.0030752478633075953, -0.010478965006768703, -0.02730265073478222, -0.0059701427817344666, -0.038586266338825226, 0.05160867050290108, 0.028967447578907013, -0.06315125524997711, 0.005003636237233877, -0.017720825970172882, 0.09996174275875092, 0.019052663818001747, 0.06052457541227341, -0.021549856290221214, 0.0852375477552414, 0.05767592787742615, -0.027950072661042213, 0.10861867666244507, -0.011792303994297981, 0.010562204755842686, 0.01192178763449192, 0.02758011780679226, 0.026655230671167374, -0.032519012689590454, -0.013743814080953598, 0.023140661418437958, -0.03268549218773842, -0.011015399359166622, 0.019737079739570618, -0.04543042927980423, 0.022770706564188004, -0.10158953815698624, 0.01219000481069088, -0.014557714574038982, 0.024287521839141846, 0.03723593428730965, 0.025045927613973618, -0.03444277495145798, -0.009850041940808296, -0.017535848543047905, -0.02526790089905262, 0.0038822114001959562, 0.008249987848103046, -0.03692147135734558, 0.015371615067124367, 0.012920665554702282, -0.04439455643296242, 0.02608180046081543, 0.040214069187641144, 0.005812912248075008, 0.05408736690878868, 0.07173420488834381, 0.05386539176106453, 0.03623705729842186, -0.016721948981285095, -0.06070955470204353, 0.05375440791249275, -0.025286398828029633, -0.008166748099029064, -0.00711700227111578, 0.07761648297309875, -0.051793646067380905, 0.0753597542643547, -0.04850105196237564, 0.019015667960047722, -0.031039193272590637, 0.026063302531838417, 0.009271987713873386, -0.030613744631409645, -0.06844160705804825, 0.01873820275068283, 0.008028015494346619, -0.007926277816295624, 0.008939028717577457, -0.022937186062335968, 0.036958467215299606, 0.09389448165893555, -0.022086290642619133, -0.007292730733752251, -0.0309836994856596, 0.04017707332968712, -0.026729222387075424, 0.04691024497151375, -0.03377685695886612, -0.04890800267457962, 0.03847528249025345, -0.035589635372161865, 0.018137024715542793, -0.03085421584546566, 0.05393938347697258, -0.03435028716921806, 0.04502347856760025, -0.018839938566088676, -0.0007659216644242406, -0.004709984641522169, -0.002170015126466751, -0.011662819422781467, 0.007006015628576279, 0.01934862695634365, -0.03468324616551399, 0.03732842206954956, -0.042803749442100525, 0.061338476836681366, -0.029799845069646835, -0.031168676912784576, -0.049203965812921524, 0.00405331514775753, 0.022456245496869087, -0.04694724082946777, -0.009239616803824902, -0.035386160016059875, 0.018479233607649803, 0.009831544011831284, -0.004229043610394001, -0.020384499803185463, -0.009785300120711327, 0.04217482730746269, 0.0007023357320576906, 0.06304027140140533, -0.03078022412955761, 0.02887495793402195, 0.05564117431640625, 0.013198131695389748, 0.04935194551944733, -0.027598615735769272, -0.023788083344697952, 0.00380590814165771, -0.04224881902337074, 0.04554141312837601, 0.044172581285238266, 0.00023093260824680328, -0.047576166689395905, -0.043358683586120605, -0.049610916525125504, 0.03767987713217735, 0.018701206892728806, -0.013253624550998211, 0.02519390918314457, 0.04487549513578415, -0.010266240686178207, 0.034220803529024124, 0.03951115533709526, -0.024971937760710716, 0.003299532923847437, -0.026137294247746468, -0.04099097102880478, -0.023862073197960854, 0.07961423695087433, -0.023270146921277046, 0.056973014026880264, 0.013836302794516087, -0.02282620035111904, -0.007080006878823042, 0.02049548551440239, -0.08094607293605804, -0.08390571177005768, -0.022289765998721123, 0.004400148056447506, -0.002934202551841736, -0.0030012568458914757, -0.021013421937823296, 0.07894831895828247, -0.04517145827412605, 0.002307591959834099, 0.06411314010620117, 0.03031778149306774, 0.02097642794251442, 0.03880824148654938, -0.017822563648223877, -0.003921519033610821, -0.00103067047894001, 0.025582361966371536, 0.015214383602142334, 0.006959771271795034, 0.02023651823401451, -0.0004214014334138483, 0.014381986111402512, -0.016990166157484055, -0.020680462941527367, -0.06111650541424751, 0.02458348497748375, 0.0580458827316761, -0.004057939630001783, -0.0704023689031601, 0.04472751542925835, -0.03505320101976395, 0.017822563648223877, -0.029318904504179955, -0.029392894357442856, 0.005641808267682791, 0.009248865768313408, 0.09211870282888412, 0.001598897622898221, 0.03486822172999382, 0.01477968692779541, -0.03951115533709526, 0.005882278550416231, 0.015057153068482876, -0.01742486283183098, 0.003817469347268343, -0.004469514358788729, 0.057453952729701996, 0.020107034593820572, 0.016241008415818214, 0.04091698303818703, -0.04228581488132477, -0.06629586964845657, -0.05297750234603882, 0.026100298389792442, -0.001715664635412395, 0.02092093415558338, -0.020384499803185463, 0.0819079577922821, 0.015464103780686855, -0.01846073567867279, -0.02125389315187931, -0.01640748791396618, 0.015232881531119347, -0.02826453372836113, 0.004499573260545731, -0.027006687596440315, 0.025693349540233612, -0.011672068387269974, 0.041027966886758804, -0.0382533073425293, -0.021087413653731346, -0.012032774277031422, -0.020735956728458405, 0.008434965275228024, -0.022937186062335968, 0.016518473625183105, -0.05327346548438072, 0.05564117431640625, -0.026877203956246376, -0.04147191345691681, -0.052755530923604965, -0.007912404835224152, 0.012652448378503323, 0.024638978764414787, -0.03290746361017227, -0.015399361029267311, 0.00368567300029099, -0.021013421937823296, 0.02110591158270836, -0.004370089154690504, -0.03631104528903961, 0.0003315140202175826, -0.0026451756712049246, 0.05645507574081421, 0.05094275251030922, -0.010636195540428162, 0.045060474425554276, -0.012079018168151379, 0.03862326219677925, -0.05497525632381439, 0.018303504213690758, -0.012948411516845226, -0.034775733947753906, 0.01256920862942934, 0.02622978389263153, -0.0313536562025547, -0.0065898168832063675, -0.017693080008029938, 0.0034775733947753906, 0.022696716710925102, -0.008633815683424473, -0.09515233337879181, 0.009410721249878407, 0.06736873835325241, -0.05897076800465584, -0.054790280759334564, -0.018784446641802788, 0.024232028052210808, 0.016370492056012154, -0.04905598238110542, -0.054383330047130585, 0.033665869385004044, -0.01147784199565649, -0.011200375854969025, -0.01832200214266777, 0.030058814212679863, -0.04106496274471283, -0.060043636709451675, 0.0245094932615757, -0.07961423695087433, 0.028967447578907013, -0.006543572526425123, -0.005498450715094805, 0.04051003232598305, -0.0660369023680687, 0.03880824148654938, 0.036403536796569824, -0.021623848006129265, -0.056640055030584335, -0.06529699265956879, -0.06496403366327286, -0.0341838076710701, 0.02458348497748375, 0.0727330818772316, -0.03201957419514656, -0.020347503945231438, -0.03562663123011589, -0.022363757714629173, 0.032389529049396515, 0.03627404943108559, -0.024139540269970894, -0.03468324616551399, 0.00500826071947813, 0.019533604383468628, -0.003951577935367823, -0.03847528249025345, 0.027339646592736244, 0.007893906906247139, -0.07917028665542603, 0.00653894804418087, -0.015556592494249344, 0.029670361429452896, 0.007593318819999695, -0.04986988380551338, 0.0009283549152314663, -0.02547137625515461, -0.017110401764512062, 0.04557840898633003, 0.02301117777824402, 0.07376895099878311, -0.01072868425399065, 0.04398760572075844, -0.04391361400485039, -0.06892254948616028, -0.0017954360228031874, 0.06370618939399719, -0.002379270736128092, -0.005873029585927725, 0.014224755577743053, 0.03207506611943245, -0.012522963806986809, -0.00013577046047430485, 0.042951732873916626, -0.011736810207366943, 0.08605144917964935, -0.027968570590019226, 0.023325638845562935, -0.010164503008127213, 0.09574425965547562, -0.01467795018106699, -0.06237434968352318, 0.07103128731250763, 0.040214069187641144, 0.012717190198600292, -0.026803212240338326, -0.02029201202094555, 0.02709917724132538, -0.019626092165708542, 0.03140914812684059, 0.051312707364559174, -0.055678170174360275, 0.024324515834450722, -0.03719893842935562, -0.02343662641942501, -0.036403536796569824, -0.04232281073927879, 0.020883938297629356, 0.028486507013440132, -0.05157167464494705, 0.02240075170993805, 0.003970075398683548, 0.011329860426485538, 0.0154918497428298 ]
44,047
jsons.serializers.default_tuple
default_tuple_serializer
Serialize the given ``obj`` to a list of serialized objects. :param obj: the tuple that is to be serialized. :param cls: the type of the ``obj``. :param kwargs: any keyword arguments that may be given to the serialization process. :return: a list of which all elements are serialized.
def default_tuple_serializer(obj: tuple, cls: Optional[type] = None, **kwargs) -> Union[list, dict]: """ Serialize the given ``obj`` to a list of serialized objects. :param obj: the tuple that is to be serialized. :param cls: the type of the ``obj``. :param kwargs: any keyword arguments that may be given to the serialization process. :return: a list of which all elements are serialized. """ if hasattr(obj, '_fields'): return default_namedtuple_serializer(obj, **kwargs) cls_ = cls if cls and tuple_with_ellipsis(cls): cls_ = Tuple[(get_args(cls)[0],) * len(obj)] return default_iterable_serializer(obj, cls_, **kwargs)
(obj: tuple, cls: Optional[type] = None, **kwargs) -> Union[list, dict]
[ 0.015472430735826492, -0.013211906887590885, -0.01301377359777689, -0.03506964445114136, -0.02192077785730362, -0.009618484415113926, -0.0007891569985076785, 0.026405801996588707, -0.0033547617495059967, -0.022695301100611687, 0.0180391613394022, 0.0032624495215713978, -0.016949426382780075, -0.03980683535337448, 0.005822425242513418, 0.04412975162267685, -0.04009503126144409, -0.02642381377518177, 0.015220261178910732, 0.07622738927602768, 0.06188972294330597, 0.002083779778331518, -0.02237108163535595, 0.09820220619440079, -0.010699213482439518, 0.00256447889842093, 0.01956118829548359, -0.0016312247607856989, -0.047480009496212006, 0.007610130589455366, 0.019146908074617386, -0.00967252068221569, 0.006903153844177723, -0.02759460359811783, -0.0008685230277478695, -0.021452462300658226, -0.013842332176864147, 0.0563419833779335, -0.005862952675670385, -0.041968293488025665, 0.03215167671442032, -0.0544326975941658, -0.03768140450119972, -0.033592648804187775, 0.025379110127687454, 0.017381718382239342, 0.04153600335121155, 0.0339709036052227, -0.03132311627268791, -0.08559370785951614, 0.03467337414622307, 0.013824320398271084, -0.0010880460031330585, 0.00007338541036006063, -0.013202900998294353, -0.028657320886850357, 0.0047957333736121655, 0.02772068791091442, 0.018750641494989395, 0.0568823479115963, 0.04985761269927025, 0.04430987313389778, 0.026549899950623512, -0.017904071137309074, 0.000005787104782939423, -0.0422925129532814, -0.016228940337896347, -0.04261673241853714, -0.03638453036546707, 0.04535457491874695, -0.014391702599823475, 0.0010621536057442427, -0.030620643869042397, -0.012977749109268188, 0.00924923550337553, 0.01945311389863491, 0.02671200782060623, 0.04463409259915352, -0.018030155450105667, -0.010140836238861084, -0.03789754956960678, -0.02327168919146061, -0.0042531173676252365, 0.01693141460418701, -0.012608500197529793, 0.02361392043530941, -0.017426747828722, -0.0006478742579929531, -0.03523175045847893, 0.030710704624652863, -0.042364560067653656, 0.011707893572747707, -0.015481437556445599, -0.0059935408644378185, -0.0544326975941658, -0.059115853160619736, -0.03728513792157173, 0.00014480073878075927, -0.01990341767668724, 0.012014099396765232, -0.037753451615571976, -0.07046350091695786, -0.07064362615346909, 0.010365988127887249, -0.0351957269012928, -0.10641574114561081, 0.03930249810218811, -0.007884815335273743, 0.014688902534544468, 0.011960063129663467, 0.005935001187026501, 0.039266470819711685, 0.05201907083392143, 0.038257792592048645, -0.010320957750082016, 0.030008230358362198, -0.006903153844177723, -0.026964178308844566, -0.022064875811338425, -0.0664287880063057, -0.017633888870477676, 0.02417229674756527, -0.03452927991747856, 0.05421655252575874, -0.04956941679120064, 0.02383006550371647, 0.0660325139760971, -0.011653856374323368, 0.016733281314373016, 0.07500256597995758, 0.05623391270637512, 0.016832347959280014, -0.06783372908830643, -0.013869350776076317, 0.04222046211361885, 0.02170463278889656, 0.026405801996588707, -0.005264048930257559, -0.03687085583806038, 0.001993719022721052, 0.027972858399152756, -0.05093834176659584, 0.02518097683787346, 0.059836339205503464, -0.02563128061592579, -0.013986429199576378, 0.02642381377518177, 0.054288599640131, -0.00009864462481345981, 0.02856726013123989, 0.004192326217889786, 0.008848465047776699, -0.011608825996518135, 0.005007375963032246, -0.06116923689842224, -0.01298675499856472, -0.015409388579428196, -0.04917315021157265, 0.045066382735967636, -0.054720889776945114, -0.024316392838954926, 0.0006174787995405495, 0.00015521401655860245, 0.0016312247607856989, 0.0627543106675148, 0.07622738927602768, -0.020389746874570847, -0.00365421362221241, -0.01298675499856472, -0.030512571334838867, -0.00506141223013401, -0.012482414953410625, 0.016201922670006752, -0.0005741370841860771, 0.04344528913497925, 0.048884958028793335, -0.0007041622302494943, -0.007686682045459747, 0.043481312692165375, -0.003339000977575779, -0.010888340882956982, -0.027414482086896896, 0.033592648804187775, -0.011942051351070404, 0.0504700243473053, 0.03278210014104843, 0.018930763006210327, 0.014688902534544468, -0.02120029181241989, -0.012230245396494865, -0.04142792895436287, 0.008064936846494675, -0.003334498032927513, -0.03233179822564125, -0.034096986055374146, 0.08660238236188889, -0.06106116622686386, 0.011572802439332008, -0.01000574603676796, 0.0033457556273788214, 0.024586575105786324, -0.02051583118736744, 0.05713452026247978, -0.03962671384215355, 0.03447524085640907, 0.004858775530010462, 0.05536932870745659, -0.013401034288108349, -0.00612863153219223, -0.0121401846408844, 0.08753901720046997, 0.009393332526087761, -0.03717706352472305, -0.01900281198322773, 0.020191611722111702, -0.015706589445471764, 0.07114796340465546, -0.04081551730632782, -0.03317836672067642, -0.03962671384215355, 0.05875561013817787, -0.0518389493227005, -0.05987236276268959, 0.015670564025640488, 0.06106116622686386, -0.059620194137096405, -0.013148864731192589, -0.07186844944953918, -0.029053587466478348, -0.06394311040639877, -0.009933697059750557, -0.07266098260879517, -0.014914054423570633, -0.020425770431756973, -0.0024496514815837145, 0.08408068120479584, 0.029990218579769135, -0.08422478288412094, -0.006961693521589041, 0.006250213831663132, 0.018624555319547653, 0.014094501733779907, -0.02766665257513523, -0.012401361018419266, -0.0009490147931501269, 0.05353209003806114, 0.024712661281228065, 0.015418394468724728, 0.006200680509209633, -0.02928774431347847, 0.024892782792448997, 0.052811603993177414, -0.0017775733722373843, -0.08076644688844681, 0.0046043540351092815, -0.03568205609917641, -0.026910142973065376, 0.027234360575675964, -0.02332572638988495, -0.014643872156739235, -0.024550551548600197, -0.001713405130431056, -0.024424465373158455, 0.03535783663392067, 0.04683157429099083, 0.0006495629204437137, 0.005935001187026501, -0.009375320747494698, -0.05396438017487526, 0.07078772038221359, 0.04063539579510689, -0.014094501733779907, 0.005173988174647093, 0.002080402569845319, 0.0012923713074997067, -0.02534308470785618, 0.025667304173111916, -0.02383006550371647, 0.0032849647104740143, 0.009312277659773827, -0.031629323959350586, -0.03254794329404831, 0.027684664353728294, -0.008704368025064468, 0.0396987646818161, 0.013761277310550213, -0.010564122349023819, 0.025253023952245712, -0.03933852165937424, -0.0036294469609856606, 0.062033820897340775, 0.0022143679670989513, -0.013932392932474613, -0.055621497333049774, 0.047768205404281616, 0.02523501217365265, -0.024298381060361862, 0.02827906422317028, 0.03298023343086243, -0.03728513792157173, 0.009267247281968594, -0.01025791559368372, 0.018966786563396454, 0.01685936562716961, 0.07114796340465546, -0.02899955026805401, -0.008952035568654537, -0.010447042994201183, -0.01562553457915783, -0.0003852910012938082, -0.021056195721030235, -0.006106116343289614, 0.05655812844634056, -0.04268877953290939, -0.002160331467166543, 0.047480009496212006, -0.011806960217654705, 0.03411499783396721, 0.0012856167741119862, 0.037645380944013596, -0.07197652757167816, 0.03692489489912987, -0.026405801996588707, -0.0178680457174778, 0.014454744756221771, -0.002334824064746499, -0.007821773178875446, 0.009159174747765064, 0.004361190367490053, 0.00677256565541029, -0.02287542261183262, -0.025667304173111916, -0.017570845782756805, 0.0487048365175724, 0.010861322283744812, 0.034601327031850815, 0.04131985828280449, 0.004836260341107845, -0.0211462564766407, -0.03406096249818802, -0.03352059796452522, -0.005119951907545328, 0.018183259293437004, 0.07204857468605042, -0.011311626061797142, 0.03959069028496742, 0.03238583356142044, 0.029810097068548203, 0.035952236503362656, 0.05072219669818878, -0.0028616792988032103, -0.043373242020606995, -0.013175882399082184, -0.002800888381898403, -0.0017122793942689896, -0.004057235084474087, 0.011743917129933834, 0.002006102353334427, 0.027180323377251625, -0.023289700970053673, -0.012527445331215858, -0.03222372382879257, -0.016391050070524216, -0.005277557764202356, 0.05608981475234032, 0.0007328690844587982, 0.0036001771222800016, -0.05695439875125885, 0.022118911147117615, 0.009627490304410458, -0.03141317889094353, 0.030332449823617935, -0.039158400148153305, -0.027972858399152756, -0.007182342000305653, 0.03452927991747856, -0.015580504201352596, 0.054720889776945114, -0.043373242020606995, -0.0035461406223475933, 0.006628468632698059, -0.07903728634119034, 0.12860670685768127, 0.008200027979910374, 0.02804490737617016, -0.03861803561449051, 0.026099596172571182, 0.018534494563937187, 0.002319063525646925, -0.02530706115067005, -0.015418394468724728, -0.00809645839035511, -0.07752426713705063, -0.058323320001363754, -0.019759321585297585, -0.043697457760572433, 0.02761261537671089, 0.009582459926605225, -0.03389885276556015, -0.003854598617181182, 0.010672194883227348, -0.02546917088329792, -0.029035575687885284, -0.025667304173111916, -0.04693964496254921, 0.011545783840119839, 0.03058461844921112, -0.078028604388237, 0.005471188575029373, -0.025667304173111916, 0.06859023869037628, -0.006885141599923372, 0.05907982960343361, -0.015949752181768417, 0.11571000516414642, 0.03793357312679291, -0.015373364090919495, 0.1114591434597969, 0.0022458890452980995, 0.0265318863093853, 0.008326113224029541, 0.016544153913855553, 0.05454076826572418, 0.03800562396645546, 0.026856105774641037, 0.011419698596000671, -0.01995745487511158, -0.02799087017774582, 0.04722784087061882, -0.04142792895436287, 0.04675952345132828, -0.07975777238607407, -0.025451159104704857, -0.008258568122982979, 0.025433145463466644, 0.012653530575335026, 0.030764739960432053, -0.045570723712444305, -0.027684664353728294, -0.000044010139390593395, -0.01172590535134077, -0.00677256565541029, 0.012401361018419266, -0.02692815475165844, 0.05144268274307251, 0.032349810004234314, -0.05054207518696785, -0.004016708116978407, 0.049677491188049316, 0.029756059870123863, 0.062033820897340775, 0.03869008272886276, 0.06938277930021286, 0.04041925072669983, -0.006538407877087593, -0.05043400079011917, 0.04780422896146774, -0.05382028594613075, -0.02390211448073387, -0.02591947466135025, 0.08148693293333054, -0.02456856332719326, 0.07687582820653915, -0.024298381060361862, 0.0014083244604989886, -0.03750128298997879, -0.0003850095672532916, -0.0043431781232357025, -0.0272163487970829, -0.08040621131658554, 0.05234328657388687, 0.0026590425986796618, -0.015328333713114262, -0.03204360231757164, -0.021722644567489624, 0.04171612486243248, 0.061313334852457047, -0.03119703195989132, -0.029377805069088936, -0.024604586884379387, 0.01042903121560812, -0.009501405991613865, 0.04423782229423523, -0.022515179589390755, -0.05385630950331688, 0.019489139318466187, -0.022911446169018745, 0.012698560953140259, -0.030008230358362198, 0.03497958183288574, 0.009996739216148853, 0.0485607385635376, -0.05133460834622383, 0.01642707549035549, 0.00922221690416336, 0.037969596683979034, -0.033484574407339096, 0.009375320747494698, -0.041860222816467285, -0.020101552829146385, 0.041860222816467285, -0.02069595269858837, 0.02579338848590851, -0.0240101870149374, -0.030116302892565727, -0.06253816187381744, 0.023415787145495415, 0.014751945622265339, -0.04737193509936333, 0.01685936562716961, -0.04362541064620018, 0.009483393281698227, 0.007884815335273743, 0.009897672571241856, -0.00713731162250042, -0.016102856025099754, 0.04020310565829277, -0.03380879387259483, 0.05342401564121246, -0.04113973677158356, 0.016174905002117157, 0.05216316878795624, 0.013491095043718815, 0.04834459349513054, -0.006398813799023628, -0.024532539770007133, -0.009510411880910397, -0.06365491449832916, 0.02181270532310009, 0.044598065316677094, 0.03598826378583908, -0.04632723331451416, -0.029864134266972542, -0.052595458924770355, 0.024082235991954803, 0.040563344955444336, 0.010131830349564552, 0.0422925129532814, 0.07831680029630661, 0.013905374333262444, 0.02451452612876892, 0.021632583811879158, -0.02310957945883274, -0.01972329616546631, -0.02754056639969349, -0.024820733815431595, -0.03497958183288574, 0.04902905225753784, -0.0034448225051164627, 0.03461933881044388, 0.031629323959350586, -0.027972858399152756, 0.0092762541025877, 0.05482896417379379, -0.05695439875125885, -0.05785500258207321, -0.019092872738838196, 0.004813745152205229, -0.018075184896588326, 0.008339622057974339, -0.01974130980670452, 0.057710908353328705, -0.041175760328769684, -0.011743917129933834, 0.03699694201350212, 0.021776681765913963, 0.03973478823900223, 0.021434450522065163, 0.0020612645894289017, 0.02856726013123989, -0.015661558136343956, 0.039266470819711685, 0.002809894271194935, -0.006407820153981447, 0.024316392838954926, 0.014211581088602543, -0.009294265881180763, -0.013491095043718815, -0.06026863306760788, -0.046795547008514404, 0.009438362903892994, 0.051802925765514374, -0.006124128587543964, -0.0945277288556099, 0.07071567326784134, -0.0053180851973593235, 0.006632971577346325, -0.03436717018485069, -0.06768963485956192, 0.018570519983768463, 0.014436732977628708, 0.11326035857200623, 0.019759321585297585, 0.010654183104634285, 0.012077142484486103, -0.04103166237473488, -0.033358488231897354, 0.007290415000170469, -0.03424108400940895, 0.0018698856001719832, -0.004962345585227013, 0.07723607122898102, 0.022983495146036148, 0.018804676830768585, 0.06401515752077103, -0.05133460834622383, -0.035555969923734665, -0.030206363648176193, 0.01608484424650669, 0.037753451615571976, -0.0090195806697011, 0.0036609680391848087, 0.09445568174123764, 0.00500287301838398, -0.04510240629315376, -0.007664166856557131, -0.02917967177927494, 0.021164268255233765, -0.02579338848590851, 0.012212232686579227, -0.009006071835756302, 0.014769957400858402, -0.026784056797623634, 0.04081551730632782, -0.03361066058278084, -0.028315089643001556, -0.03818574547767639, -0.009969721548259258, 0.02817099168896675, -0.03108895942568779, 0.023938138037919998, -0.03053058311343193, 0.055801618844270706, -0.02496482990682125, -0.04524650424718857, -0.08609804511070251, -0.05421655252575874, -0.009082622826099396, -0.009681526571512222, -0.0421484149992466, 0.002809894271194935, -0.003703746944665909, -0.012581482529640198, -0.00899706594645977, -0.0000546696683159098, -0.01956118829548359, -0.001260849996469915, 0.0025914970319718122, 0.028909489512443542, 0.015103181824088097, 0.00260725780390203, 0.021902766078710556, -0.021740656346082687, 0.0007762107998132706, -0.04463409259915352, 0.04773217812180519, -0.01929100602865219, -0.029665999114513397, 0.02658592350780964, 0.019092872738838196, -0.018381392583251, -0.030620643869042397, -0.022082887589931488, -0.010465055704116821, 0.004100013989955187, 0.0271442998200655, -0.09366314858198166, 0.01329296175390482, 0.08004596829414368, -0.04805639758706093, -0.0473359115421772, 0.026297729462385178, 0.02383006550371647, 0.005696340464055538, -0.05796307697892189, -0.016400055959820747, 0.01377929002046585, 0.040959615260362625, -0.0019070357084274292, -0.03742923215031624, 0.03271005302667618, -0.05331594496965408, -0.03850996121764183, 0.017444761469960213, -0.04946134611964226, 0.013076815754175186, -0.034997593611478806, -0.014463750645518303, 0.06217791885137558, -0.0733814686536789, 0.035772114992141724, -0.0010672195348888636, -0.011599820107221603, -0.037645380944013596, -0.031575288623571396, -0.014157544821500778, -0.010780267417430878, 0.018966786563396454, 0.0620698444545269, -0.04149997979402542, -0.019200945273041725, -0.006439341232180595, -0.02530706115067005, 0.05291967839002609, 0.05713452026247978, -0.009744569659233093, -0.022947469726204872, -0.007659663911908865, 0.027810748666524887, 0.02332572638988495, -0.04333721846342087, 0.0634387657046318, -0.015922734513878822, -0.08472912013530731, -0.016264965757727623, -0.03537584841251373, 0.07190447300672531, 0.005547740031033754, -0.02957593835890293, 0.014373689889907837, -0.036114346235990524, -0.022569214925169945, 0.04178817197680473, -0.0036497104447335005, 0.0447421632707119, -0.016102856025099754, 0.043877579271793365, -0.010176860727369785, -0.06988711655139923, -0.006795080844312906, 0.04013105481863022, -0.016228940337896347, -0.026513874530792236, 0.000872463162522763, 0.06704119592905045, -0.00015535473357886076, 0.005822425242513418, 0.01956118829548359, -0.046687476336956024, 0.05998043715953827, -0.026784056797623634, 0.0031138493213802576, 0.03523175045847893, 0.04892098158597946, -0.00159182318020612, -0.10086800158023834, 0.09171783179044724, 0.037249110639095306, -0.014157544821500778, -0.008294591680169106, 0.01698545180261135, 0.04031117632985115, 0.004993866663426161, 0.01793108880519867, 0.06560022383928299, -0.020209625363349915, 0.0025914970319718122, -0.03627645596861839, -0.038257792592048645, -0.021686621010303497, -0.0714721828699112, 0.027846774086356163, 0.027972858399152756, -0.03669073432683945, 0.030008230358362198, 0.015877705067396164, 0.007790252100676298, -0.0053270915523171425 ]
44,048
jsons.deserializers.default_union
default_union_deserializer
Deserialize an object to any matching type of the given union. The first successful deserialization is returned. :param obj: The object that needs deserializing. :param cls: The Union type with a generic (e.g. Union[str, int]). :param kwargs: Any keyword arguments that are passed through the deserialization process. :return: An object of the first type of the Union that could be deserialized successfully.
def default_union_deserializer(obj: object, cls: Union, **kwargs) -> object: """ Deserialize an object to any matching type of the given union. The first successful deserialization is returned. :param obj: The object that needs deserializing. :param cls: The Union type with a generic (e.g. Union[str, int]). :param kwargs: Any keyword arguments that are passed through the deserialization process. :return: An object of the first type of the Union that could be deserialized successfully. """ for sub_type in get_union_params(cls): try: return load(obj, sub_type, **kwargs) except JsonsError: pass # Try the next one. else: args_msg = ', '.join([get_class_name(cls_) for cls_ in get_union_params(cls)]) err_msg = ('Could not match the object of type "{}" to any type of ' 'the Union: {}'.format(type(obj).__name__, args_msg)) raise DeserializationError(err_msg, obj, cls)
(obj: object, cls: Union, **kwargs) -> object
[ -0.002105899155139923, -0.012637738138437271, 0.004164922051131725, 0.014794029295444489, -0.051150962710380554, 0.00009602231875760481, 0.021131647750735283, 0.0017390953144058585, -0.04395082965493202, -0.016359683126211166, 0.030206819996237755, 0.013228374533355236, -0.05932611972093582, -0.03168809786438942, -0.010181441903114319, 0.07188885658979416, -0.11310213059186935, 0.05891361087560654, 0.03866322711110115, 0.017644083127379417, -0.009197047911584377, 0.011259587481617928, -0.00602823868393898, 0.09510179609060287, -0.005067282821983099, -0.021694159135222435, -0.019059734418988228, -0.02126290090382099, -0.029231801629066467, -0.016275307163596153, 0.01258148718625307, -0.019078483805060387, 0.001721516833640635, 0.0153752900660038, -0.013819009996950626, -0.02197541482746601, 0.016594063490629196, 0.10567699372768402, -0.037069447338581085, -0.03275686874985695, -0.046163368970155716, -0.033094372600317, -0.0021867600735276937, 0.0017847992712631822, 0.024975471198558807, 0.00899079442024231, 0.015028407797217369, 0.019556619226932526, -0.05400101840496063, -0.028425535187125206, 0.06873879581689835, -0.017784710973501205, -0.02625049464404583, 0.015459666028618813, 0.028444286435842514, -0.009539241902530193, -0.04068826511502266, 0.02658800035715103, 0.013894012197852135, 0.06836378574371338, 0.01692219451069832, 0.01667843945324421, -0.030450573191046715, 0.029494306072592735, -0.05317600071430206, -0.06772627681493759, 0.009825184941291809, -0.0326443649828434, -0.032344359904527664, 0.026569250971078873, -0.013425253331661224, 0.049913439899683, 0.008643913082778454, 0.03146309405565262, 0.0936017632484436, -0.019912876188755035, -0.006543873343616724, 0.0022957464680075645, -0.017119072377681732, 0.03791321441531181, 0.009065795689821243, -0.020644139498472214, -0.01857222430408001, 0.016115928068757057, 0.0042610177770257, -0.008348594419658184, -0.013809635303914547, -0.02716926299035549, -0.02566923387348652, -0.06210117042064667, -0.053138501942157745, -0.027019258588552475, -0.041775789111852646, 0.0459008663892746, -0.04998844116926193, -0.0064313714392483234, -0.02859428897500038, 0.006328244227916002, -0.0621761716902256, -0.02516297437250614, -0.030113067477941513, -0.019800372421741486, -0.06097614765167236, -0.04938843101263046, 0.017062822356820107, -0.024994220584630966, 0.0364319384098053, 0.018140966072678566, -0.024994220584630966, 0.0037453831173479557, 0.023962952196598053, -0.03433189541101456, -0.03926324099302292, 0.06120115518569946, 0.0013336188858374953, -0.032344359904527664, 0.00606105150654912, 0.0027164574712514877, -0.027863025665283203, -0.008447034284472466, -0.031856849789619446, 0.0018469097558408976, -0.045000847429037094, 0.038963235914707184, 0.00644543394446373, -0.012037727050483227, 0.06918880343437195, -0.015928424894809723, 0.03656318783760071, 0.09735183417797089, 0.05298849940299988, 0.01763470657169819, -0.08677663654088974, -0.03414439409971237, 0.014906531199812889, 0.052913498133420944, -0.0633011907339096, -0.019575368613004684, -0.014006514102220535, -0.012018976733088493, 0.024525461718440056, -0.025819236412644386, 0.04601336643099785, 0.015047159045934677, -0.06232617422938347, 0.03817572072148323, 0.01372525840997696, 0.008615787141025066, -0.010865829885005951, 0.012693989090621471, -0.00688606733456254, 0.011859598569571972, 0.01867535151541233, 0.01716594770550728, -0.04230079799890518, -0.03770695999264717, -0.009590805508196354, -0.03461315110325813, -0.04683838412165642, -0.036956947296857834, 0.016753440722823143, 0.013106497004628181, 0.008526722900569439, -0.053963515907526016, 0.04387582838535309, 0.017775334417819977, 0.0010840047616511583, -0.0006099724560044706, 0.006956381257623434, 0.031256839632987976, -0.06123865395784378, 0.016125304624438286, 0.0017086259322240949, 0.01916286163032055, 0.0624011754989624, 0.055501047521829605, -0.03195060044527054, 0.0027141135651618242, 0.005479790735989809, 0.014353395439684391, 0.014784653671085835, -0.0049875942058861256, 0.04098827391862869, -0.03834447264671326, 0.043350815773010254, 0.009665806777775288, 0.01902223378419876, -0.02435670979321003, 0.04582586511969566, -0.005006344523280859, 0.05448852851986885, 0.025012971833348274, 0.008887667208909988, -0.03948824480175972, 0.023494193330407143, 0.029006795957684517, -0.0022535580210387707, 0.015694046393036842, -0.019425366073846817, 0.0028266157023608685, -0.029119299724698067, 0.0006222773808985949, 0.0310880858451128, 0.015647169202566147, -0.04920092597603798, -0.011615843512117863, 0.06015113368630409, 0.03369438648223877, 0.02848178707063198, -0.04668838158249855, 0.00862047541886568, -0.017775334417819977, -0.03963824734091759, 0.040838271379470825, 0.03157559409737587, -0.01158771850168705, 0.03283187001943588, -0.05227598547935486, 0.003187560010701418, 0.028219282627105713, 0.052200984209775925, 0.00005474956560647115, -0.04350081831216812, 0.01630343310534954, 0.006243867799639702, -0.022519174963235855, -0.06007613241672516, -0.032588113099336624, -0.011925225146114826, -0.029963064938783646, 0.001984021859243512, -0.06922630220651627, 0.018965981900691986, -0.004809465724974871, 0.02244417369365692, 0.08100152760744095, 0.025837987661361694, -0.06472621858119965, 0.03465065360069275, -0.03026307001709938, 0.02636299654841423, -0.0633011907339096, -0.02943805418908596, -0.05546354502439499, -0.0055032288655638695, 0.05163847282528877, -0.009318925440311432, 0.0050954087637364864, -0.01950036734342575, -0.027581769973039627, 0.010331444442272186, 0.055988553911447525, 0.016462810337543488, -0.023925451561808586, 0.013903386890888214, -0.06495122611522675, -0.006145428400486708, -0.013228374533355236, 0.021075397729873657, -0.011212711222469807, -0.007186072878539562, -0.03168809786438942, -0.010481447912752628, 0.05925111845135689, -0.06221367418766022, -0.026663001626729965, 0.00892985612154007, -0.009618931449949741, -0.020156629383563995, 0.011428340338170528, 0.1285524219274521, -0.061763662844896317, 0.024150455370545387, 0.005746983457356691, -0.005798546597361565, -0.01288149319589138, 0.0038297597784549, -0.0309755839407444, 0.046538375318050385, 0.0011883036931976676, -0.025275476276874542, -0.01028456911444664, 0.03228810802102089, -0.004453208763152361, -0.0016980789368972182, -0.001330103143118322, 0.007936087436974049, -0.022406673058867455, -0.03937574103474617, -0.009693932719528675, 0.06423871219158173, -0.030169319361448288, -0.008184528909623623, -0.0032250608783215284, -0.05062595382332802, 0.02068164013326168, -0.03615068271756172, 0.012450234964489937, 0.03817572072148323, -0.08257655799388885, -0.08235155045986176, -0.05047595128417015, 0.027938026934862137, 0.022162918001413345, 0.03343188017606735, -0.053626012057065964, -0.0033516257535666227, -0.036938197910785675, -0.012225230224430561, 0.02694425731897354, -0.034950658679008484, 0.024075454100966454, 0.034706905484199524, 0.003965699579566717, -0.03744445741176605, 0.03195060044527054, 0.004043044988065958, 0.05306350067257881, 0.037894465029239655, 0.03050682507455349, -0.03948824480175972, 0.032681867480278015, -0.011456466279923916, 0.0010177926160395145, -0.0005900501855649054, -0.010190817527472973, -0.05557604879140854, 0.03933824226260185, 0.004778996109962463, 0.022144166752696037, -0.04218829423189163, -0.05355101078748703, 0.00558760529384017, 0.03474440425634384, 0.021937914192676544, -0.025462979450821877, 0.02341919206082821, -0.019444117322564125, 0.005793859250843525, 0.01795346289873123, -0.004113358911126852, -0.029813062399625778, 0.0266255009919405, 0.007059508003294468, 0.001757845631800592, 0.06487622112035751, 0.07593893259763718, 0.01471902709454298, 0.013181498274207115, 0.034350648522377014, -0.01807534135878086, -0.0027141135651618242, 0.020962895825505257, -0.01028456911444664, -0.03523191437125206, -0.07091383635997772, 0.002845366019755602, 0.04481334611773491, 0.005864173173904419, -0.03892573341727257, -0.03277561813592911, -0.009947062470018864, -0.013509629294276237, -0.01518778596073389, 0.02990681305527687, -0.007809522096067667, -0.03858822584152222, -0.032344359904527664, -0.03601942956447601, -0.05531354248523712, -0.012206479907035828, 0.03843822330236435, -0.03650693967938423, -0.01087520457804203, -0.017109697684645653, 0.05730108171701431, -0.007692332379519939, 0.02058788761496544, -0.0028688041493296623, 0.010593949817121029, -0.005526666529476643, 0.0009820497361943126, 0.00962830614298582, 0.003998512867838144, 0.02092539519071579, -0.03373188525438309, -0.0496884360909462, 0.01784096099436283, -0.03238185867667198, -0.0023824668023735285, -0.02105664648115635, 0.0019113641465082765, -0.007561080157756805, -0.04661338031291962, -0.0249567199498415, 0.004734464455395937, -0.006576686631888151, 0.022012915462255478, -0.03903823718428612, 0.03442564979195595, 0.011822097934782505, -0.00010796101560117677, 0.00688606733456254, 0.03656318783760071, -0.015262787230312824, 0.030694328248500824, 0.02388795092701912, -0.05943861976265907, 0.018253469839692116, -0.02163790725171566, 0.03838197514414787, -0.023737946525216103, 0.01725032553076744, -0.0076548317447304726, 0.020362883806228638, 0.037181951105594635, 0.033881887793540955, 0.06832628697156906, -0.03060057759284973, 0.02718801237642765, 0.015365914441645145, 0.045225851237773895, 0.010509572923183441, -0.0031969351693987846, 0.03997575491666794, 0.0002693898568395525, 0.006951693445444107, -0.018272219225764275, 0.02386919967830181, -0.0009756043436937034, 0.05475103110074997, -0.056701067835092545, 0.008676726371049881, -0.0762014389038086, 0.041438281536102295, 0.023831699043512344, -0.0031617784406989813, -0.02848178707063198, -0.0041274214163422585, 0.0034266270231455564, -0.004021950997412205, -0.005526666529476643, -0.04856341704726219, -0.010012689046561718, 0.011456466279923916, -0.03721944987773895, 0.005264161620289087, 0.05235098674893379, -0.017062822356820107, -0.010012689046561718, 0.03225060924887657, 0.010378320701420307, -0.020137879997491837, 0.018159717321395874, 0.012768990360200405, -0.04425083473324776, 0.0842265859246254, 0.04365082457661629, -0.0017344077350571752, 0.011156460270285606, 0.028763042762875557, -0.033056873828172684, 0.05096346139907837, -0.011072083376348019, -0.0023602007422596216, 0.041063275188207626, 0.05235098674893379, -0.0045047723688185215, -0.0425633005797863, -0.05718857795000076, 0.012356482446193695, 0.028519287705421448, -0.03735070303082466, -0.011550217866897583, -0.034575652331113815, 0.0026883319951593876, 0.04421333223581314, -0.019237862899899483, -0.013387752696871758, -0.046538375318050385, 0.031050585210323334, -0.010172066278755665, 0.040388260036706924, -0.027825525030493736, -0.032925620675086975, -0.011540842242538929, 0.005057907663285732, 0.02458171360194683, -0.00013542735541705042, 0.03585067391395569, 0.020662888884544373, 0.05403851717710495, -0.07792647182941437, 0.013106497004628181, -0.013697133399546146, -0.017550330609083176, -0.028538037091493607, 0.008118903264403343, 0.0067032515071332455, -0.06491371989250183, 0.10462696850299835, -0.03558817133307457, -0.02375669777393341, -0.03333812952041626, -0.06146365776658058, -0.043688323348760605, 0.028200531378388405, 0.04252580180764198, 0.007195448037236929, 0.022969182580709457, -0.04353832080960274, 0.033394377678632736, -0.017653457820415497, 0.049575936049222946, 0.00038233143277466297, -0.0038250721991062164, 0.05227598547935486, 0.0030961520969867706, 0.03301937133073807, -0.005592293106019497, -0.01585342362523079, 0.035400666296482086, -0.010415821336209774, 0.04608836770057678, -0.008503285236656666, 0.03592567890882492, -0.05403851717710495, -0.0005959096597507596, 0.04125077649950981, -0.0335443839430809, -0.01211272832006216, -0.0463508740067482, -0.08182654529809952, -0.015909675508737564, 0.024994220584630966, -0.03465065360069275, 0.0310880858451128, 0.014484647661447525, -0.001642999704927206, -0.03489440679550171, 0.05235098674893379, 0.05310099944472313, -0.011156460270285606, 0.027881775051355362, -0.018853479996323586, -0.04751339554786682, -0.01029394380748272, 0.059626124799251556, 0.010387695394456387, 0.08010151237249374, -0.03828822076320648, -0.012918993830680847, 0.024806717410683632, 0.07770146429538727, -0.05381351336836815, -0.04732589051127434, -0.002636768389493227, 0.020306631922721863, -0.011578342877328396, 0.016809692606329918, 0.005578230135142803, 0.08340156823396683, 0.015047159045934677, 0.05205098167061806, 0.04016325622797012, 0.008465784601867199, 0.028181781992316246, 0.053476009517908096, 0.021937914192676544, 0.028763042762875557, 0.005826672539114952, 0.011737721040844917, 0.007964212447404861, -0.010518948547542095, 0.00950642954558134, 0.025012971833348274, -0.005339163355529308, 0.009332988411188126, -0.0048469663597643375, -0.029006795957684517, -0.016134679317474365, -0.008353282697498798, 0.0009234548779204488, -0.07747645676136017, 0.042638301849365234, -0.043313317000865936, -0.00514228455722332, -0.038138218224048615, -0.008339219726622105, -0.01938786543905735, -0.001628936966881156, 0.016359683126211166, -0.023719197139143944, 0.03678819164633751, -0.013500254601240158, 0.018506599590182304, 0.02720676362514496, -0.02315668575465679, -0.009862685576081276, -0.01785033568739891, -0.026531750336289406, 0.037050697952508926, 0.043575819581747055, -0.032588113099336624, 0.04196329042315483, 0.0359819270670414, -0.07717645168304443, -0.013490878976881504, 0.017081571742892265, -0.048300910741090775, 0.017381576821208, 0.01319087389856577, 0.06836378574371338, 0.03013181872665882, -0.00680169090628624, -0.0234004408121109, -0.04762589931488037, -0.012225230224430561, -0.033413130789995193, 0.019462866708636284, -0.005864173173904419, 0.034594401717185974, -0.04023825749754906, 0.01701594516634941, -0.037425704300403595, 0.02126290090382099, 0.010668951086699963, -0.0031336527317762375, 0.024975471198558807, 0.016734691336750984, 0.021187899634242058, -0.04777590185403824, 0.0646137148141861, -0.02578173577785492, -0.06937630474567413, -0.02388795092701912, -0.004685244522988796, 0.03037557192146778, -0.01069707702845335, -0.018712852150201797, 0.0019336302066221833, -0.029400553554296494, 0.006895442493259907, 0.015450291335582733, -0.008404846303164959, -0.03607568144798279, -0.00733138807117939, 0.03628193214535713, 0.05268849432468414, 0.07173885405063629, -0.000396687159081921, 0.014015888795256615, 0.01700657047331333, -0.014119016006588936, -0.0008666178910061717, -0.028088029474020004, 0.03337562829256058, -0.03592567890882492, 0.05925111845135689, 0.05486353486776352, -0.05602605640888214, 0.014231517910957336, -0.027113011106848717, 0.02081289142370224, 0.046875882893800735, 0.0026531750336289406, -0.09412677586078644, -0.0771014541387558, 0.048638418316841125, -0.04875091835856438, -0.01713782362639904, 0.01419401727616787, 0.014156516641378403, 0.02910054847598076, -0.09855185449123383, -0.01258148718625307, 0.06712626665830612, -0.0543760247528553, 0.03590692579746246, -0.008653287775814533, 0.01513153500854969, -0.0031242775730788708, -0.03723820298910141, 0.023231687024235725, -0.0708763375878334, 0.00045762580703012645, -0.0248442180454731, -0.007786084432154894, 0.09082671254873276, -0.07987650483846664, 0.04222579672932625, -0.03583192452788353, -0.06206366792321205, -0.005681356880813837, -0.06476371735334396, -0.03395688906311989, -0.02827553264796734, -0.0029953690245747566, 0.026663001626729965, 0.02696300856769085, 0.07612643390893936, -0.046050868928432465, -0.015628419816493988, -0.015440915711224079, 0.030113067477941513, 0.03193185105919838, -0.062138672918081284, 0.012768990360200405, 0.07837647944688797, -0.04342581704258919, -0.03238185867667198, 0.0392257384955883, -0.0005815539043396711, -0.012150228954851627, 0.0024914531968533993, 0.03136933967471123, -0.016462810337543488, 0.08437658846378326, -0.02671925351023674, -0.01070645172148943, -0.0421132929623127, -0.01927536353468895, 0.02023163065314293, 0.04098827391862869, 0.10860204696655273, 0.02551923133432865, 0.04530085250735283, -0.04837591201066971, -0.06375119835138321, 0.05448852851986885, 0.06982631236314774, 0.020719140768051147, -0.01857222430408001, -0.05497603490948677, -0.007917337119579315, -0.04762589931488037, 0.022144166752696037, 0.025144223123788834, -0.02341919206082821, 0.057751089334487915, -0.07920148968696594, -0.02094414457678795, 0.014400271698832512, 0.11527717113494873, -0.04207579419016838, -0.06273867934942245, 0.1085270419716835, 0.06476371735334396, 0.0020320694893598557, 0.015684669837355614, -0.01798158884048462, -0.013500254601240158, 0.022294169291853905, 0.07725145667791367, 0.039075735956430435, -0.018778478726744652, -0.021469155326485634, 0.020625388249754906, -0.0019043327774852514, -0.02270667813718319, -0.057863589376211166, -0.016519062221050262, 0.022031664848327637, -0.06465122103691101, 0.027956776320934296, 0.01998787745833397, -0.02529422752559185, -0.053851015865802765 ]
44,049
jsons.serializers.default_union
default_union_serializer
Serialize an object to any matching type of the given union. The first successful serialization is returned. :param obj: The object that is to be serialized. :param cls: The Union type with a generic (e.g. Union[str, int]). :param kwargs: Any keyword arguments that are passed through the serialization process. :return: An object of the first type of the Union that could be serialized successfully.
def default_union_serializer(obj: object, cls: Union, **kwargs) -> object: """ Serialize an object to any matching type of the given union. The first successful serialization is returned. :param obj: The object that is to be serialized. :param cls: The Union type with a generic (e.g. Union[str, int]). :param kwargs: Any keyword arguments that are passed through the serialization process. :return: An object of the first type of the Union that could be serialized successfully. """ sub_types = get_union_params(cls) # Cater for Optional[...]/Union[None, ...] first to avoid blindly # string-ifying None in later serializers. if obj is None and NoneType in sub_types: return obj for sub_type in sub_types: try: return dump(obj, sub_type, **kwargs) except JsonsError: pass # Try the next one. else: args_msg = ', '.join([get_class_name(cls_) for cls_ in get_union_params(cls)]) err_msg = ('Could not match the object of type "{}" to any type of ' 'the Union: {}'.format(type(obj), args_msg)) raise SerializationError(err_msg)
(obj: object, cls: Union, **kwargs) -> object
[ -0.020922360941767693, -0.02081146463751793, 0.020016711205244064, 0.030182169750332832, -0.023805653676390648, -0.00977732241153717, -0.007439266890287399, -0.015885839238762856, -0.04387781396508217, -0.03744585067033768, 0.025616955012083054, 0.004209423903375864, -0.038517843931913376, -0.03110630065202713, -0.009250566363334656, 0.07248895615339279, -0.09248718619346619, 0.016523489728569984, 0.05977289378643036, 0.049163851886987686, 0.011912068352103233, 0.017521552741527557, 0.019462231546640396, 0.09041713178157806, -0.017992861568927765, -0.007804299239069223, -0.031069336459040642, -0.02411985956132412, -0.051825352013111115, 0.006399617996066809, 0.016218526288866997, -0.05167749151587486, 0.029258036985993385, -0.003467807313427329, 0.01632942259311676, -0.010701455175876617, 0.0020515741780400276, 0.11400099098682404, -0.05729621648788452, -0.050938185304403305, -0.03132809326052666, -0.014730672352015972, -0.04853544011712074, -0.021273531019687653, 0.024156825616955757, 0.01814996264874935, 0.0263932254165411, 0.06258225440979004, -0.03125416114926338, -0.018510375171899796, 0.07274771481752396, -0.004304147325456142, -0.029978860169649124, -0.010766143910586834, 0.01181041356176138, -0.00004548464858089574, -0.021014774218201637, 0.0023542277049273252, 0.00834029633551836, 0.05888572707772255, 0.021569253876805305, 0.03482131287455559, 0.010073044337332249, 0.015312876552343369, -0.0433233343064785, -0.048461511731147766, -0.010997177101671696, -0.03753826394677162, -0.022049803286790848, 0.04609573259949684, -0.004331871401518583, 0.011255934834480286, 0.0016657488886266947, 0.04228830710053444, 0.07725748419761658, 0.00297108618542552, -0.005969896446913481, 0.0006053068209439516, -0.02375020645558834, 0.020201537758111954, 0.02358386293053627, -0.04661324620246887, -0.03944197669625282, 0.01636638678610325, 0.00922746304422617, -0.004077734891325235, -0.051270872354507446, -0.016283215954899788, -0.02393503300845623, -0.07710961997509003, -0.043619055300951004, -0.007661058567464352, -0.010646007023751736, 0.05700049549341202, -0.03615206480026245, -0.0045813871547579765, -0.02918410487473011, -0.010599800385534763, -0.05263859033584595, -0.007587128318846226, -0.05422809720039368, -0.01975795440375805, -0.060733992606401443, -0.044801946729421616, 0.008451191708445549, -0.03500613942742348, 0.03496917709708214, 0.027908802032470703, -0.035726964473724365, 0.006057688966393471, 0.03143898770213127, -0.04384084790945053, -0.03005279041826725, 0.025173369795084, 0.01031331904232502, -0.020053675398230553, 0.0004048855626024306, 0.01362171396613121, 0.0006959873135201633, -0.012448064982891083, -0.019000165164470673, -0.0018621271010488272, -0.0333242192864418, 0.020146088674664497, 0.007439266890287399, -0.01511880848556757, 0.06964262574911118, -0.000617436075117439, 0.0077765751630067825, 0.08960389345884323, 0.03251098468899727, 0.03393414616584778, -0.09625764936208725, -0.02618991583585739, 0.030533339828252792, 0.038702670484781265, -0.07204537093639374, -0.017789551988244057, -0.012993303127586842, 0.003264498198404908, 0.007961401715874672, -0.04239920154213905, 0.04103148356080055, 0.031050853431224823, -0.04173382744193077, 0.04421050101518631, 0.014989430084824562, 0.012161584571003914, -0.005789690185338259, 0.0007722282316535711, 0.024877648800611496, 0.017706379294395447, 0.009684909135103226, 0.024951579049229622, -0.050346739590168, -0.025598471984267235, -0.00017443002434447408, -0.05559581518173218, -0.023713240399956703, -0.0489790253341198, 0.01012849248945713, -0.014924740418791771, 0.007356095127761364, -0.062138672918081284, 0.039959490299224854, 0.030866026878356934, -0.013298267498612404, 0.017724862322211266, 0.01942526549100876, 0.029221070930361748, -0.045171599835157394, 0.0025090198032557964, -0.009860494174063206, 0.028389351442456245, 0.0674247071146965, 0.06173205375671387, -0.023010900244116783, 0.013843505643308163, -0.01837175525724888, 0.025727849453687668, 0.03718709200620651, -0.024563442915678024, 0.04317547380924225, -0.019647058099508286, 0.042362235486507416, -0.02151380479335785, 0.027169497683644295, -0.025746332481503487, 0.05293431133031845, 0.015183498151600361, 0.065465547144413, 0.02339903637766838, 0.0038028054405003786, -0.04317547380924225, 0.019166508689522743, 0.009509324096143246, -0.001158053637482226, -0.022770626470446587, -0.011228210292756557, 0.003486290108412504, -0.02129201404750347, -0.009366082958877087, 0.028555694967508316, 0.014638259075582027, -0.02395351603627205, -0.009731115773320198, 0.05433899536728859, 0.015340600162744522, 0.012022964656352997, -0.05748104304075241, 0.027908802032470703, -0.03567151725292206, -0.0655764490365982, 0.036595650017261505, 0.02131049707531929, -0.0202939510345459, 0.05777676776051521, -0.04764827340841293, -0.02009064145386219, 0.019443748518824577, 0.038887497037649155, 0.0011326399398967624, -0.05500436946749687, 0.020478777587413788, 0.003980700857937336, -0.022789107635617256, -0.024027446284890175, -0.053193069994449615, 0.002223693998530507, -0.032437052577733994, -0.001668059267103672, -0.0639130100607872, -0.0046714898198843, 0.0030796716455370188, -0.014019090682268143, 0.08354157954454422, 0.019684022292494774, -0.08154545724391937, 0.03349056467413902, -0.04494980722665787, 0.03559758514165878, -0.054265063256025314, -0.017392175272107124, -0.05711138993501663, -0.00008411049930145964, 0.03822212293744087, -0.014065297320485115, -0.0017084900755435228, 0.008317193016409874, -0.007734989281743765, 0.009019533172249794, 0.03822212293744087, -0.006214791443198919, -0.04875723272562027, 0.028906866908073425, -0.0327882245182991, -0.007143544498831034, 0.003969149198383093, 0.006450445391237736, 0.001294940710067749, -0.027169497683644295, -0.01241109985858202, -0.016421835869550705, 0.029960377141833305, -0.05263859033584595, -0.03709467872977257, -0.004676110576838255, -0.026651982218027115, -0.02920258790254593, 0.0373719185590744, 0.10705151408910751, -0.05544795095920563, 0.02062663808465004, 0.012309445068240166, -0.017660172656178474, -0.02955375798046589, 0.0017546967137604952, -0.029849480837583542, 0.019443748518824577, -0.010756902396678925, -0.021735597401857376, -0.008460433222353458, 0.04875723272562027, -0.020164571702480316, 0.010433456860482693, 0.0009027619962580502, 0.0036872888449579477, 0.0026753637939691544, -0.04129024222493172, -0.025561505928635597, 0.05555884912610054, 0.018482651561498642, -0.006348790600895882, -0.014222400262951851, -0.06062309443950653, 0.020478777587413788, -0.02670743130147457, 0.018833821639418602, 0.049200817942619324, -0.0814715251326561, -0.07526135444641113, -0.02151380479335785, 0.05274948477745056, 0.02968313731253147, 0.027890320867300034, -0.04110541567206383, -0.008973327465355396, -0.032751258462667465, -0.015238945372402668, 0.021717114374041557, -0.06066006049513817, 0.027372805401682854, 0.04827668517827988, 0.018963199108839035, -0.02393503300845623, 0.04879419878125191, 0.0026430191937834024, 0.029147140681743622, 0.03744585067033768, 0.04069879651069641, -0.04073576256632805, 0.03393414616584778, -0.017687896266579628, -0.023861102759838104, 0.004870178643614054, -0.021717114374041557, -0.04968136548995972, 0.03428531810641289, 0.012956338003277779, 0.02114415355026722, -0.03881356865167618, -0.0489790253341198, 0.016283215954899788, 0.05489347130060196, -0.0028856038115918636, -0.0186859592795372, 0.028777487576007843, -0.03077361360192299, -0.01810375601053238, 0.03042244352400303, -0.0009385721059516072, -0.00716664781793952, 0.027187978848814964, 0.014823085628449917, -0.008654501289129257, 0.047980960458517075, 0.05437595769762993, 0.015932045876979828, -0.0013457679888233542, 0.030330030247569084, -0.027021635323762894, 0.006353411357849836, 0.009555530734360218, -0.0044034915044903755, -0.024027446284890175, -0.07027103751897812, 0.015165015123784542, 0.04894205927848816, -0.012799235992133617, -0.013612472452223301, -0.03301001340150833, -0.009384565986692905, 0.006094654090702534, -0.01066448912024498, 0.05666780844330788, 0.01750306971371174, 0.0030542579479515553, -0.021199600771069527, -0.038333017379045486, -0.06797918677330017, -0.024544959887862206, 0.01659741997718811, -0.03389718011021614, -0.016551213338971138, -0.02058967389166355, 0.0817672461271286, -0.008862431161105633, 0.01814996264874935, -0.03125416114926338, -0.036429304629564285, 0.004509766586124897, -0.015220463275909424, 0.030681200325489044, 0.006676857825368643, 0.02238249033689499, -0.041327208280563354, -0.011182003654539585, 0.017355209216475487, -0.03796336427330971, -0.0014162331353873014, -0.03515400364995003, -0.0019452989799901843, -0.024600408971309662, -0.03456255793571472, -0.04040307551622391, -0.004604490473866463, -0.01012849248945713, 0.028186041861772537, -0.05836820974946022, 0.023805653676390648, 0.0253212321549654, -0.03702075034379959, 0.01031331904232502, 0.01354778278619051, -0.00922746304422617, 0.014388743788003922, 0.011662553064525127, -0.06886635720729828, 0.028703557327389717, -0.014795362018048763, 0.020903877913951874, -0.03665109723806381, 0.0019210404716432095, -0.0005143375019542873, 0.03042244352400303, 0.017142659053206444, 0.04262099415063858, 0.06472624093294144, -0.031383540481328964, 0.034710418432950974, 0.02114415355026722, 0.05382147803902626, 0.02182801067829132, 0.03301001340150833, 0.058737862855196, -0.018796855583786964, 0.007499335799366236, -0.026799844577908516, 0.030514856800436974, 0.014444191940128803, 0.07304343581199646, -0.05578064173460007, 0.01084931567311287, -0.057924628257751465, 0.04787006601691246, 0.028204524889588356, 0.02445254661142826, -0.0395159088075161, -0.0004944109241478145, 0.03776005655527115, 0.010950970463454723, -0.01547922007739544, -0.07322826236486435, -0.003832839662209153, 0.017142659053206444, -0.025173369795084, -0.012272479943931103, 0.043914780020713806, 0.0009859339334070683, 0.023454483598470688, 0.06091881915926933, -0.001874833949841559, -0.015331358648836613, 0.022068284451961517, 0.004911764524877071, -0.051825352013111115, 0.07784892618656158, 0.016708316281437874, -0.002316107274964452, 0.000474773085443303, 0.03180864080786705, -0.031032370403409004, 0.06173205375671387, 0.010110010392963886, -0.00047101880772970617, 0.022659730166196823, 0.021606218069791794, -0.01187510322779417, -0.033453598618507385, -0.04905295372009277, 0.033841732889413834, 0.04424746707081795, -0.0552261620759964, -0.011413036845624447, -0.021624701097607613, 0.002360003534704447, 0.018575064837932587, -0.03075513057410717, -0.021920423954725266, -0.050235845148563385, -0.005202866159379482, 0.007984505034983158, 0.03811122477054596, -0.014444191940128803, -0.03182712569832802, -0.006394997239112854, 0.02862962707877159, 0.009472358971834183, 0.01668059267103672, 0.04894205927848816, 0.03306546062231064, 0.046761106699705124, -0.08997354656457901, 0.009449255652725697, -0.015904320403933525, 0.006760029587894678, -0.04750041291117668, 0.008460433222353458, -0.0157102532684803, -0.05555884912610054, 0.09936273097991943, -0.04513463377952576, -0.032437052577733994, -0.02391654998064041, -0.03474738448858261, -0.06609395891427994, 0.02569088526070118, 0.03744585067033768, -0.007808919996023178, 0.037815503776073456, -0.03456255793571472, 0.01905561238527298, -0.03376780450344086, 0.04838757961988449, -0.002855569589883089, 0.0023773310240358114, 0.053377896547317505, -0.002864810870960355, 0.03580089658498764, -0.041659895330667496, -0.03807426244020462, 0.04336030036211014, -0.013399922288954258, 0.04842454567551613, 0.0011800017673522234, 0.02862962707877159, -0.05108604580163956, 0.005831276532262564, 0.010276353918015957, -0.007240578532218933, -0.006450445391237736, -0.018057549372315407, -0.08561164140701294, -0.00995290745049715, 0.01546997856348753, -0.0007843574858270586, 0.03095844015479088, 0.03092147409915924, 0.02413834258913994, -0.05489347130060196, 0.04284278303384781, 0.04809185862541199, -0.005498588550835848, -0.010257870890200138, -0.004777765367180109, -0.03633689135313034, -0.005863620899617672, 0.05777676776051521, 0.018242375925183296, 0.051603563129901886, -0.03175319358706474, -0.021772563457489014, 0.043914780020713806, 0.10653399676084518, -0.03999645635485649, -0.03424835205078125, 0.006270239129662514, 0.028555694967508316, 0.001636869739741087, 0.029276518151164055, 0.013270542956888676, 0.08590736240148544, 0.020848430693149567, 0.01414846908301115, 0.018907751888036728, 0.004627593792974949, 0.03785246983170509, 0.035227932035923004, 0.025561505928635597, 0.038702670484781265, -0.0018297823844477534, 0.017687896266579628, 0.002689225599169731, -0.023491449654102325, 0.000375428848201409, 0.0282969381660223, -0.012697581201791763, 0.032085880637168884, -0.026152951642870903, -0.017974378541111946, -0.03319483995437622, 0.003086602780967951, 0.008686846122145653, -0.09130429476499557, 0.053747549653053284, -0.03075513057410717, 0.003701150882989168, -0.03648475185036659, -0.03130961209535599, -0.011847379617393017, -0.008820844814181328, 0.016837695613503456, -0.01379729900509119, 0.0321967788040638, 0.014795362018048763, 0.017170382663607597, 0.008261744864284992, -0.03753826394677162, 0.025820262730121613, -0.01284544263035059, -0.01511880848556757, 0.03210436552762985, 0.02498854324221611, -0.029110174626111984, 0.05526312440633774, 0.03443317860364914, -0.07189751416444778, 0.005651070736348629, 0.0075640249997377396, -0.04942260682582855, -0.002021539956331253, 0.04942260682582855, 0.07241502404212952, 0.019979745149612427, -0.017262795940041542, -0.02933196723461151, -0.07681389898061752, 0.003816667478531599, -0.03075513057410717, 0.014203917235136032, 0.016856176778674126, 0.04472801461815834, -0.042029548436403275, -0.009647944010794163, -0.035043105483055115, 0.014564328826963902, 0.009416910819709301, 0.01284544263035059, 0.04454318806529045, 0.00006515856512123719, 0.01632942259311676, -0.04265795648097992, 0.05592850223183632, -0.03164229914546013, -0.05437595769762993, -0.048313651233911514, -0.020571190863847733, 0.02692922204732895, -0.013427645899355412, -0.01661590300500393, 0.0009322186815552413, -0.030366996303200722, 0.01808527298271656, -0.0016068355180323124, 0.004842454567551613, -0.02395351603627205, -0.014397985301911831, 0.020848430693149567, 0.02519185282289982, 0.034710418432950974, -0.02131049707531929, 0.0029248795472085476, 0.010220905765891075, -0.02134746126830578, 0.02254883386194706, 0.003805115818977356, 0.029812516644597054, -0.040107350796461105, 0.05711138993501663, 0.048646338284015656, -0.0541541688144207, 0.009657185524702072, -0.03349056467413902, 0.01363095548003912, 0.025783298537135124, 0.02147684060037136, -0.10298532992601395, -0.09248718619346619, 0.050753358751535416, -0.05507829785346985, -0.011551656760275364, 0.021587736904621124, 0.017059486359357834, 0.028537213802337646, -0.10305926203727722, -0.0053137619979679585, 0.04879419878125191, -0.013538542203605175, 0.011145038530230522, -0.03665109723806381, 0.02973858453333378, -0.03506159037351608, -0.027668528258800507, 0.021791044622659683, -0.07019710540771484, -0.009472358971834183, -0.03506159037351608, 0.0004392517439555377, 0.07917967438697815, -0.08095400780439377, 0.03759371116757393, -0.06638967990875244, -0.06505893170833588, -0.0026245363987982273, -0.05204714462161064, -0.019480714574456215, -0.009121187962591648, 0.00013031713024247438, 0.03526489809155464, 0.002195969922468066, 0.060216475278139114, -0.03515400364995003, -0.008783879689872265, -0.009398427791893482, 0.04835061356425285, 0.032252226024866104, -0.039405010640621185, -0.0013319060672074556, 0.10889977961778641, -0.03581937775015831, -0.03145747259259224, 0.045873939990997314, 0.006986442022025585, -0.0023103314451873302, -0.017309002578258514, 0.01320585422217846, 0.0011493898928165436, 0.08642487227916718, -0.012106136418879032, -0.012521996162831783, -0.05123391002416611, -0.00901029258966446, 0.007527059409767389, 0.002462813165038824, 0.09278290718793869, 0.017974378541111946, 0.05570670962333679, -0.04908991977572441, -0.05115997791290283, 0.05866393446922302, 0.05840517580509186, 0.026596534997224808, -0.0016183870611712337, -0.05733318254351616, 0.029794033616781235, -0.036244478076696396, 0.01607990637421608, 0.0031189473811537027, -0.03550517186522484, 0.04997708648443222, -0.05888572707772255, -0.013926677405834198, 0.02866659127175808, 0.09130429476499557, -0.009915942326188087, -0.0733761265873909, 0.12989607453346252, 0.06768346577882767, -0.01653273031115532, 0.019813401624560356, -0.008538984693586826, -0.009255187585949898, 0.01354778278619051, 0.06480017304420471, 0.06187991425395012, 0.004999557044357061, -0.013945160433650017, 0.03236312046647072, 0.0006191688007675111, -0.02707708440721035, -0.07134303450584412, -0.030995406210422516, 0.02147684060037136, -0.06568734347820282, 0.026356259360909462, 0.0443953275680542, -0.03193802013993263, -0.04317547380924225 ]
44,050
jsons.deserializers.default_uuid
default_uuid_deserializer
Deserialize a UUID. Expected format for string is specified in RFC 4122. e.g. '12345678-1234-1234-1234-123456789abc' :param obj: the string that is to be deserialized. :param cls: not used. :param kwargs: any keyword arguments. :return: the deserialized obj.
def default_uuid_deserializer(obj: str, cls: Optional[type] = None, **kwargs) -> UUID: """ Deserialize a UUID. Expected format for string is specified in RFC 4122. e.g. '12345678-1234-1234-1234-123456789abc' :param obj: the string that is to be deserialized. :param cls: not used. :param kwargs: any keyword arguments. :return: the deserialized obj. """ return UUID(obj)
(obj: str, cls: Optional[type] = None, **kwargs) -> uuid.UUID
[ 0.014467215165495872, 0.010985334403812885, 0.037465039640665054, -0.042548585683107376, -0.00019381563470233232, -0.02863847091794014, 0.05344687029719353, 0.07172674685716629, 0.007634023670107126, -0.027524268254637718, 0.01174264308065176, 0.07785485684871674, -0.02383347414433956, -0.0026244677137583494, 0.03676866367459297, 0.03534109145402908, -0.10807758569717407, 0.0495123453438282, 0.04411543160676956, -0.006071529816836119, -0.009775380603969097, 0.0316154770553112, -0.02144838683307171, 0.09575172513723373, 0.008922319859266281, 0.06152483448386192, -0.010045226663351059, -0.006358785089105368, -0.028690697625279427, -0.0005641735042445362, 0.04383688047528267, 0.0017866401467472315, -0.005127069540321827, 0.06152483448386192, 0.0014123378787189722, -0.07660137861967087, -0.021726936101913452, 0.08899687230587006, -0.11740902066230774, -0.010994038544595242, 0.002796385670080781, 0.03318232670426369, -0.003405714640393853, -0.027680953964591026, -0.004974737297743559, 0.015085249207913876, 0.008691645227372646, 0.01686100848019123, -0.07701920717954636, 0.014423691667616367, 0.06462370604276657, -0.006350080482661724, 0.006611221469938755, 0.02019490860402584, -0.0025069541297852993, 0.008878796361386776, 0.010915696620941162, 0.048189230263233185, -0.011324817314743996, 0.04098173975944519, -0.009244393557310104, 0.019481124356389046, -0.0024264357052743435, -0.00641971779987216, -0.03354792296886444, -0.02644488587975502, 0.011420569382607937, -0.010419528931379318, -0.024703944101929665, 0.03962380439043045, 0.041608475148677826, 0.0006572050042450428, -0.00038926341221667826, 0.0048354621976614, 0.10348150134086609, 0.026549341157078743, -0.03326937183737755, -0.011063676327466965, -0.012813321314752102, 0.018993660807609558, 0.04620455950498581, -0.014989497140049934, 0.005296811461448669, -0.04592600837349892, -0.020804237574338913, -0.0016995931509882212, -0.012543476186692715, -0.04112101346254349, -0.020177500322461128, -0.02069978229701519, -0.024268709123134613, -0.038056958466768265, -0.05316832289099693, 0.0544217973947525, -0.052576400339603424, -0.06462370604276657, 0.002815971150994301, 0.025992240756750107, 0.04536890983581543, -0.027768000960350037, -0.010419528931379318, -0.015311570838093758, -0.12611372768878937, -0.03386129066348076, -0.022336265072226524, -0.06483262032270432, 0.002826852025464177, 0.014919859357178211, -0.04679647833108902, -0.03455766662955284, 0.023955341428518295, 0.04289677366614342, -0.0028964895755052567, 0.03396574780344963, 0.026584161445498466, -0.02517399936914444, 0.035793736577034, -0.02661897987127304, 0.021726936101913452, -0.04174775257706642, -0.02170952782034874, -0.0007301068981178105, -0.08816122263669968, 0.044637713581323624, -0.006532879080623388, -0.017627021297812462, -0.013466174714267254, -0.00912252813577652, 0.06887160241603851, 0.06716547906398773, 0.047597311437129974, 0.05609310045838356, -0.05536190792918205, -0.037290945649147034, 0.021831393241882324, 0.008360866457223892, 0.0033382533583790064, 0.0643799751996994, -0.021082788705825806, 0.06563345342874527, 0.01951594278216362, -0.018715109676122665, 0.04112101346254349, -0.020090453326702118, -0.03300822898745537, 0.03241631016135216, 0.01174264308065176, 0.004073800519108772, -0.042792316526174545, 0.005153183825314045, 0.0247561726719141, 0.05800813436508179, 0.000041721366869751364, 0.03833550959825516, -0.009061595425009727, -0.07513898611068726, -0.03058832325041294, -0.050139084458351135, 0.027141261845827103, -0.02870810776948929, -0.0013416121946647763, 0.012003784067928791, 0.04199148342013359, -0.03631601855158806, 0.050905097275972366, 0.03541072830557823, 0.05069618672132492, -0.008138896897435188, 0.0317547544836998, -0.0021859684493392706, -0.05400397256016731, 0.025957422330975533, -0.04199148342013359, 0.015546598471701145, 0.04199148342013359, 0.018993660807609558, 0.012734979391098022, 0.0012153940042480826, -0.009958179667592049, 0.05288977175951004, 0.04174775257706642, -0.0031119310297071934, 0.08064036071300507, -0.019289620220661163, 0.08363477885723114, 0.015389913693070412, 0.04317532479763031, 0.05285495147109032, 0.023711608722805977, -0.05188002437353134, 0.0025722396094352007, 0.012595703825354576, -0.03302564099431038, 0.030187906697392464, 0.020247137174010277, 0.016530228778719902, 0.003555870847776532, -0.04724912345409393, -0.0645192563533783, -0.03318232670426369, 0.024007568135857582, 0.01824505627155304, 0.013187623582780361, -0.052680857479572296, -0.014972087927162647, -0.06441479921340942, 0.030344592407345772, 0.019463714212179184, 0.02313709817826748, -0.047353580594062805, 0.006236919201910496, -0.010358595289289951, -0.03234667330980301, 0.05264604091644287, 0.03318232670426369, -0.03520181402564049, 0.02306746132671833, 0.00026862166123464704, 0.052263032644987106, 0.001966174691915512, 0.034418392926454544, 0.013440060429275036, -0.03187661990523338, -0.0017333237919956446, -0.0056014759466052055, -0.018018733710050583, -0.0277157723903656, -0.06403178721666336, -0.05229784920811653, -0.022527769207954407, 0.019829312339425087, -0.08105818927288055, 0.011229066178202629, 0.025452548637986183, 0.0037495505530387163, 0.09366259723901749, 0.014075503684580326, -0.070438452064991, 0.030344592407345772, -0.01833210326731205, 0.005227173678576946, 0.013971047475934029, 0.03365238010883331, 0.022371085360646248, 0.0731891393661499, 0.07966543734073639, -0.03993717208504677, 0.022997822612524033, -0.027437221258878708, -0.0971444770693779, -0.011150723323225975, 0.009427192620933056, -0.007020342163741589, -0.019463714212179184, -0.034174662083387375, -0.03631601855158806, -0.0002642693289089948, 0.02315450832247734, 0.004626549314707518, 0.014597785659134388, -0.042861953377723694, -0.048015136271715164, -0.041608475148677826, 0.02795950323343277, -0.015546598471701145, -0.04408061131834984, -0.0173223577439785, 0.033060457557439804, -0.01995117776095867, -0.010315071791410446, 0.062290847301483154, -0.05873933061957359, 0.006045415531843901, -0.009348849765956402, -0.012508656829595566, -0.023972749710083008, -0.045751914381980896, -0.07165710628032684, 0.04227003455162048, -0.02609669789671898, -0.05045245587825775, -0.01951594278216362, 0.06967243552207947, 0.00817806739360094, 0.06333541125059128, 0.002352445852011442, 0.024616897106170654, -0.04905970022082329, -0.025069542229175568, 0.00568417040631175, -0.006193395704030991, -0.05247194319963455, -0.08391332626342773, 0.004382817540317774, 0.0005717901512980461, 0.029857128858566284, -0.006963761989027262, -0.013779543340206146, 0.017966505140066147, -0.06326577812433243, -0.054038792848587036, 0.019045889377593994, -0.010515280067920685, 0.02230144664645195, -0.01868029125034809, 0.00269192922860384, -0.036281198263168335, -0.033843882381916046, -0.017949096858501434, -0.015085249207913876, -0.03539332002401352, -0.0066939159296453, 0.005244582891464233, -0.004744062665849924, -0.017113445326685905, 0.08697738498449326, 0.010436938144266605, 0.02964821644127369, 0.013483583927154541, 0.03436616435647011, -0.02111760713160038, 0.03802213817834854, -0.06500671803951263, 0.03440098464488983, 0.004565616138279438, 0.008931024931371212, -0.0713089182972908, 0.048363324254751205, -0.000916713965125382, 0.044568076729774475, -0.04669202119112015, -0.007699308916926384, 0.004232661332935095, -0.016713028773665428, 0.031894028186798096, -0.04178256914019585, 0.030048632994294167, -0.020073043182492256, -0.03368719667196274, 0.015886081382632256, 0.008904910646378994, -0.013814362697303295, 0.01740940473973751, 0.044742170721292496, 0.028255462646484375, 0.024547260254621506, 0.03997199237346649, 0.0001550525048514828, -0.0054360865615308285, 0.024616897106170654, -0.020891284570097923, -0.03812659531831741, -0.0013644620776176453, 0.018366921693086624, 0.009775380603969097, -0.033582739531993866, 0.014432396739721298, 0.06901087611913681, 0.011725233867764473, -0.030536094680428505, -0.08467934280633926, -0.09073781967163086, 0.00559712341055274, -0.05532708764076233, -0.00037158196209929883, -0.022754091769456863, -0.009514239616692066, -0.007586148101836443, 0.042548585683107376, -0.04672684147953987, -0.024599488824605942, 0.05034799873828888, -0.05205411836504936, -0.057485852390527725, -0.000551116478163749, -0.018558425828814507, -0.016704322770237923, 0.02423389069736004, 0.007586148101836443, 0.006698268465697765, -0.04240930825471878, -0.003645094111561775, 0.04063355177640915, 0.03701239451766014, 0.006341375410556793, 0.0037364934105426073, -0.004770176950842142, 0.022458132356405258, -0.015172296203672886, -0.00047685447498224676, -0.0010451083071529865, 0.018140599131584167, 0.027437221258878708, -0.002039076527580619, -0.006794020067900419, -0.017949096858501434, -0.028116188943386078, -0.0013960165670141578, -0.03725612536072731, 0.07075181603431702, -0.03784804418683052, 0.00332737248390913, -0.0005220100865699351, 0.023589743301272392, -0.003632036969065666, 0.07068218290805817, 0.04432434216141701, -0.06462370604276657, 0.00362115609459579, -0.01714826375246048, 0.00035743683110922575, -0.06545936316251755, -0.0016680385451763868, -0.06678247451782227, 0.07931724935770035, 0.035184405744075775, -0.01356192585080862, 0.03563705086708069, -0.0006000804132781923, 0.006785315461456776, -0.03910152241587639, 0.03896224871277809, 0.010402118787169456, 0.04596082866191864, 0.020630143582820892, 0.03903188556432724, 0.01721790060400963, -0.024547260254621506, 0.05880896747112274, -0.038718514144420624, 0.04251376539468765, 0.0055579524487257, -0.00559712341055274, -0.06747885048389435, 0.07036881148815155, 0.010445642285048962, 0.03600264713168144, -0.019533351063728333, -0.04188702628016472, -0.014049389399588108, -0.02526104636490345, -0.05170593038201332, -0.010950515046715736, 0.006371842231601477, -0.001186015666462481, 0.00012172981951152906, -0.030449047684669495, 0.022196991369128227, 0.0347839891910553, 0.008334752172231674, 0.03701239451766014, 0.007159617729485035, -0.04223521426320076, -0.00836521852761507, -0.0158773772418499, -0.07374623417854309, 0.06981170922517776, 0.02103056013584137, -0.02703680470585823, -0.020508278161287308, 0.01457167137414217, 0.0062064528465271, -0.009226984344422817, 0.014562967233359814, -0.032398901879787445, 0.1010441854596138, 0.0092008700594306, -0.022440722212195396, -0.035689279437065125, -0.016808779910206795, -0.005061784293502569, 0.023380830883979797, 0.008730816654860973, 0.0024438451509922743, -0.05034799873828888, 0.056650202721357346, 0.05703320726752281, -0.021918440237641335, -0.04188702628016472, -0.009279212914407253, 0.05396915227174759, -0.0012893839739263058, 0.010349891148507595, 0.04251376539468765, -0.015372504480183125, 0.02982231043279171, 0.0027093386743217707, 0.028534013777971268, -0.01753997430205345, 0.06873232871294022, -0.027350174263119698, 0.0575903095304966, -0.08036181330680847, 0.04578673467040062, 0.047005392611026764, -0.019968586042523384, 0.02728053741157055, 0.009592581540346146, 0.0004023204674012959, -0.05522263050079346, 0.03722130507230759, -0.018036143854260445, 0.016277793794870377, -0.028829973191022873, -0.015346390195190907, -0.03440098464488983, -0.05421288684010506, 0.04112101346254349, 0.0005794067401438951, 0.02296300418674946, -0.014684832654893398, 0.00447421707212925, 0.01916775479912758, -0.008626359514892101, -0.006228214595466852, 0.05041763558983803, 0.028359919786453247, -0.03638565540313721, 0.007834232412278652, -0.008186772465705872, -0.040842462331056595, 0.06493707746267319, 0.01993376761674881, 0.020577916875481606, 0.018279874697327614, 0.007986564189195633, -0.029247799888253212, -0.01047175657004118, 0.0685582384467125, 0.026914939284324646, -0.011716528795659542, 0.006789667531847954, -0.022266628220677376, -0.04293159022927284, 0.015372504480183125, 0.013039643876254559, -0.04105137661099434, 0.000949900655541569, 0.023032642900943756, -0.02466912567615509, 0.0020379885099828243, 0.001749645103700459, -0.028917020186781883, -0.010698079131543636, -0.07931724935770035, -0.04293159022927284, 0.026479704305529594, 0.09303585439920425, -0.014650014229118824, 0.021152425557374954, 0.016129814088344574, -0.025922603905200958, -0.001557053648866713, 0.02407720685005188, -0.04839814454317093, -0.01494597364217043, -0.03655974939465523, -0.005618885159492493, -0.0313195176422596, 0.006706973072141409, -0.0446028932929039, 0.054526254534721375, 0.019811902195215225, 0.03229444473981857, 0.018941432237625122, 0.04227003455162048, -0.007520862855017185, -0.054769985377788544, 0.0075687384232878685, 0.021918440237641335, -0.03380906209349632, -0.015320275910198689, 0.04105137661099434, 0.05755549296736717, -0.08036181330680847, 0.014850221574306488, 0.009348849765956402, -0.022754091769456863, 0.018279874697327614, -0.0012719746446236968, 0.00039660799666307867, 0.025957422330975533, -0.005266344640403986, -0.09066817909479141, 0.01609499379992485, -0.0375346764922142, 0.023798655718564987, -0.01494597364217043, -0.02247554063796997, -0.03903188556432724, 0.01975967362523079, 0.04324496164917946, 0.006898476742208004, -0.0106458505615592, -0.04132992774248123, -0.05438698083162308, 0.07085627317428589, -0.06065436452627182, -0.0044067553244531155, -0.016034061089158058, 0.020038224756717682, 0.0685582384467125, 0.04679647833108902, 0.019881539046764374, 0.10250657051801682, 0.00848708488047123, -0.0789690613746643, -0.04073800519108772, -0.017043806612491608, -0.040842462331056595, -0.01752256602048874, 0.006502412725239992, 0.025731099769473076, 0.011359636671841145, 0.04213075712323189, -0.02407720685005188, -0.01807096228003502, -0.05424770340323448, -0.03819623216986656, -0.0012785030994564295, 0.0032794964499771595, 0.03523663431406021, -0.02113501727581024, 0.015024316497147083, 0.007869050838053226, 0.011977670714259148, -0.03380906209349632, 0.009113823063671589, -0.03361755982041359, -0.03156324848532677, 0.027559086680412292, -0.021813983097672462, 0.0006343551794998348, -0.014632604084908962, -0.03896224871277809, -0.04004162922501564, -0.0321899875998497, 0.03330419212579727, -0.010071340017020702, -0.027384992688894272, -0.017757592722773552, -0.01220399234443903, -0.011603368446230888, 0.028185825794935226, -0.02204030565917492, -0.0019215630600228906, 0.016390955075621605, -0.040006812661886215, -0.015024316497147083, 0.024773582816123962, -0.00811278261244297, -0.0053011635318398476, 0.0008209622465074062, -0.02364197187125683, -0.03170252591371536, 0.029247799888253212, 0.00010765268234536052, 0.030727598816156387, 0.03481880947947502, 0.04630901664495468, -0.014049389399588108, 0.02923038974404335, -0.019724855199456215, 0.036873117089271545, -0.007908222265541553, 0.0040085152722895145, -0.004987794440239668, -0.04488144442439079, -0.011394455097615719, -0.040494274348020554, -0.03711685165762901, 0.006219509523361921, 0.05041763558983803, -0.022823728621006012, -0.04509035870432854, -0.03058832325041294, -0.006223862059414387, -0.01512877270579338, 0.07430333644151688, 0.0311802439391613, 0.030309773981571198, -0.033060457557439804, -0.026148924604058266, -0.011098495684564114, -0.020247137174010277, 0.018871793523430824, 0.009609991684556007, 0.008939729072153568, 0.05550118163228035, -0.03896224871277809, 0.046169739216566086, -0.005005203653126955, -0.07792449742555618, 0.014188664965331554, -0.022092534229159355, -0.027559086680412292, -0.0016876241425052285, 0.04519481211900711, 0.052332669496536255, -0.009601286612451077, -0.008752577938139439, -0.04428952559828758, -0.0030466457828879356, 0.010489165782928467, 0.011359636671841145, 0.0010739426361396909, -0.05762512981891632, 0.026079287752509117, 0.05905269831418991, -0.006937647704035044, 0.027559086680412292, 0.047527674585580826, 0.005997539963573217, -0.02863847091794014, -0.015903491526842117, 0.015163591131567955, -0.00975797139108181, 0.022440722212195396, -0.023346010595560074, 0.013666382059454918, -0.005819093436002731, -0.037047211080789566, 0.01975967362523079, -0.013814362697303295, 0.00975797139108181, 0.00000858994280861225, -0.03177216276526451, 0.03158066049218178, -0.03300822898745537, 0.005605828016996384, 0.05699839070439339, 0.04383688047528267, -0.04268785938620567, 0.011002743616700172, 0.012325858697295189, -0.04909452050924301, 0.019655218347907066, -0.024982495233416557, -0.0395541675388813, 0.04174775257706642, -0.06326577812433243, 0.021256882697343826, 0.0016887122765183449, 0.1151806190609932, 0.030936511233448982, 0.018993660807609558, 0.04829368740320206, 0.056893933564424515, 0.011298703029751778, -0.010193206369876862, 0.0005138494307175279, 0.007246664725244045, -0.03976307809352875, 0.07151783257722855, 0.02348528616130352, -0.07103037089109421, -0.01431923545897007, 0.03711685165762901, 0.022684454917907715, -0.0046961866319179535, -0.07820304483175278, 0.024738764390349388, -0.027001986280083656, -0.0405639111995697, -0.011429274454712868, 0.01975967362523079, 0.02651452273130417, -0.03582855314016342 ]
44,051
jsons.serializers.default_uuid
default_uuid_serializer
Serialize the given obj. By default, it is serialized as specified in RFC 4122. e.g. '12345678-1234-1234-1234-123456789abc' :param obj: an instance of an uuid.UUID. :param kwargs: any keyword arguments. :return: ``obj`` serialized as a string.
def default_uuid_serializer(obj: UUID, **kwargs) -> str: """ Serialize the given obj. By default, it is serialized as specified in RFC 4122. e.g. '12345678-1234-1234-1234-123456789abc' :param obj: an instance of an uuid.UUID. :param kwargs: any keyword arguments. :return: ``obj`` serialized as a string. """ return str(obj)
(obj: uuid.UUID, **kwargs) -> str
[ -0.010018072091042995, -0.017423110082745552, 0.01479271613061428, -0.02118205837905407, 0.02048756368458271, -0.03389129415154457, 0.021928638219833374, 0.02050492726266384, 0.01677202247083187, -0.0423988401889801, 0.024585077539086342, 0.027883922681212425, -0.02467188984155655, -0.008281837217509747, 0.021946001797914505, 0.008077830076217651, -0.08625611662864685, 0.0037350740749388933, 0.07083836197853088, 0.014827440492808819, -0.00448382506147027, 0.033353060483932495, -0.007014386355876923, 0.04524626582860947, 0.0015072684036567807, 0.08382538706064224, -0.01628587767481804, 0.006645436864346266, -0.013603395782411098, 0.015122600831091404, 0.0268769059330225, -0.03179045021533966, 0.013264830224215984, 0.03628729656338692, 0.016008080914616585, -0.046739425510168076, -0.029654880985617638, 0.09715966880321503, -0.13146765530109406, -0.03538445383310318, 0.028786763548851013, 0.025887252762913704, -0.0345684252679348, -0.04541989043354988, -0.011710899882018566, 0.011276841163635254, 0.01303911954164505, 0.07681100070476532, -0.011450464837253094, 0.008655128069221973, 0.05288569629192352, -0.010729927569627762, 0.0062678055837750435, 0.011832436546683311, -0.05701793357729912, 0.01303911954164505, 0.009505882859230042, 0.026373399421572685, -0.021702928468585014, 0.049656301736831665, 0.0010265485616400838, 0.04385727643966675, 0.0361136719584465, -0.020678550004959106, -0.0411834754049778, -0.03128693997859955, -0.016971690580248833, 0.002035734709352255, -0.006970980670303106, 0.04111402854323387, 0.04434342309832573, -0.03736376017332077, -0.007717561442404985, 0.01192792970687151, 0.06326837837696075, 0.04180851951241493, -0.029950041323900223, -0.006068138871341944, -0.022675219923257828, -0.010755971074104309, 0.05701793357729912, -0.06462264060974121, -0.014992383308708668, -0.037433210760354996, -0.013603395782411098, -0.02840479277074337, -0.04166962206363678, -0.02830061875283718, -0.0034138706978410482, -0.04632272943854332, -0.005330239422619343, 0.014532281085848808, -0.027727661654353142, 0.07528311759233475, -0.058372195810079575, -0.06115017086267471, 0.003168627619743347, 0.004021552857011557, 0.052677348256111145, -0.01817837357521057, -0.023352351039648056, -0.012440118938684464, -0.14889945089817047, -0.031130680814385414, -0.0342385396361351, -0.06601162999868393, 0.005443094298243523, 0.018247822299599648, -0.024064207449555397, -0.005503862630575895, -0.002558775246143341, 0.031703636050224304, 0.021234145388007164, -0.010235100984573364, 0.03154737502336502, -0.03227659687399864, 0.007179328706115484, -0.010573666542768478, 0.03576642647385597, -0.04618383198976517, -0.012960989028215408, -0.004735578782856464, -0.03495039418339729, 0.024515628814697266, -0.002849594457075, -0.007339930161833763, -0.0053779855370521545, 0.03003685362637043, 0.04764226824045181, 0.031720999628305435, 0.02538374438881874, 0.04979519918560982, -0.04368365556001663, -0.0025283910799771547, 0.03854440152645111, -0.013056482188403606, -0.004891840275377035, 0.05378853902220726, 0.004336244892328978, 0.08382538706064224, 0.015521934255957603, -0.04597548395395279, 0.025904614478349686, 0.016086211428046227, -0.0006613967707380652, 0.025418469682335854, 0.02085217274725437, -0.017726952210068703, -0.036044225096702576, -0.021824464201927185, 0.0863950178027153, 0.06868542730808258, -0.011736943386495113, 0.0017210422083735466, -0.026911631226539612, -0.05323294177651405, -0.028109632432460785, -0.07056055963039398, 0.033474598079919815, -0.036842890083789825, 0.0003011281369253993, 0.0013282191939651966, 0.036947064101696014, -0.05271207168698311, 0.05597619339823723, 0.06549075990915298, 0.020279215648770332, -0.012561654672026634, 0.052781522274017334, -0.00004577961590257473, -0.04663525149226189, 0.016390051692724228, -0.0643448457121849, 0.03972503915429115, 0.07229679822921753, 0.029498619958758354, -0.007370314560830593, 0.01146782748401165, -0.0386485755443573, 0.04583658650517464, 0.04330168291926384, -0.016963008791208267, 0.06955354660749435, 0.0040627880953252316, 0.06167104095220566, -0.0282832570374012, 0.058719441294670105, 0.02934235893189907, 0.026946356520056725, -0.041495997458696365, 0.02038338966667652, 0.013533946126699448, -0.01930692419409752, 0.023960033431649208, 0.011789030395448208, -0.019376374781131744, 0.019115939736366272, -0.09757636487483978, -0.057434629648923874, -0.045315712690353394, 0.024723976850509644, 0.007917228154838085, 0.009314896538853645, -0.05368436500430107, 0.02899511158466339, -0.046392180025577545, 0.031113319098949432, -0.003168627619743347, 0.016216428950428963, -0.057434629648923874, 0.040801506489515305, -0.004796347115188837, -0.052225928753614426, 0.04389200359582901, 0.023769047111272812, 0.0067973569966852665, 0.03989866375923157, -0.009627418592572212, 0.010946957394480705, 0.0024155359715223312, 0.009818404912948608, -0.002068289089947939, -0.0423988401889801, -0.0237343218177557, -0.015582703053951263, -0.01840408332645893, 0.021511942148208618, -0.06990078836679459, -0.02444617822766304, -0.03477677330374718, 0.02132095769047737, -0.0681992843747139, -0.021442493423819542, 0.041252925992012024, -0.05167033150792122, 0.08722840994596481, 0.013533946126699448, -0.09000638127326965, 0.02128623239696026, -0.03087024576961994, 0.011276841163635254, 0.013186699710786343, 0.05680958554148674, 0.013099887408316135, 0.08063071966171265, 0.05993480607867241, -0.04618383198976517, 0.015131281688809395, -0.01560874655842781, -0.07094253599643707, -0.0009115230059251189, -0.009740274399518967, -0.033474598079919815, -0.04378782957792282, -0.020053505897521973, -0.042780812829732895, -0.008221069350838661, 0.05101056396961212, -0.0065716467797756195, 0.03087024576961994, -0.059309761971235275, -0.02468925155699253, -0.07521367073059082, -0.0028083589859306812, 0.002307021291926503, -0.04132237657904625, -0.03566225245594978, 0.030904969200491905, -0.03503720834851265, 0.016963008791208267, 0.06365034729242325, -0.058372195810079575, -0.023230815306305885, 0.003274971852079034, -0.017171356827020645, -0.02840479277074337, -0.06823400408029556, -0.032328683882951736, 0.016051486134529114, -0.020296579226851463, -0.03524555638432503, -0.01942846179008484, 0.055455323308706284, 0.0017145313322544098, 0.04996882379055023, -0.016902239993214607, 0.020331302657723427, -0.024133656173944473, -0.008060467429459095, -0.012266495265066624, -0.0033270588610321283, 0.006654117722064257, -0.08945079147815704, -0.012344625778496265, -0.009037099778652191, 0.0017709590028971434, 0.05052441731095314, -0.027380414307117462, 0.04378782957792282, -0.026112964376807213, -0.056844308972358704, 0.03760683536529541, 0.025435831397771835, 0.004614042583853006, -0.028335344046354294, 0.011545957997441292, -0.018595069646835327, -0.02606087736785412, -0.030470911413431168, -0.013629439286887646, -0.0512189120054245, -0.00932357832789421, 0.04309333488345146, -0.0007492935983464122, 0.0032597798854112625, 0.09035363048315048, 0.015851818025112152, 0.022432146593928337, 0.02944653294980526, 0.04111402854323387, -0.03937779366970062, 0.04920487850904465, -0.050941113382577896, 0.010729927569627762, 0.022050175815820694, -0.011962654069066048, -0.0486840084195137, 0.03774573281407356, 0.010773333720862865, 0.04548933729529381, -0.0458713099360466, -0.012874176725745201, 0.0185256190598011, 0.009931259788572788, 0.002352597424760461, -0.008529250510036945, 0.04548933729529381, -0.00017647193453740329, -0.0641712173819542, 0.04517681524157524, 0.026685921475291252, -0.010321912355720997, 0.025088585913181305, 0.045107364654541016, -0.0015897394623607397, 0.01956736110150814, 0.034967757761478424, 0.015600064769387245, -0.017440473660826683, 0.011962654069066048, -0.03304053843021393, -0.0041973465122282505, 0.005651442334055901, 0.017726952210068703, 0.008711555041372776, -0.02154666744172573, 0.022154349833726883, 0.059900082647800446, -0.007891184650361538, 0.013551308773458004, -0.07688045501708984, -0.08653391897678375, 0.024880237877368927, -0.049517400562763214, 0.02047020196914673, 0.008672489784657955, 0.007821734994649887, -0.007522235158830881, 0.05135780945420265, -0.05344128981232643, -0.0493437796831131, 0.05038551986217499, -0.048718731850385666, -0.052573174238204956, -0.01646818220615387, 0.01705850102007389, -0.020574375987052917, 0.00651521934196353, -0.017596734687685966, -0.03198143467307091, -0.015339629724621773, -0.02455035224556923, 0.060351502150297165, 0.0329710878431797, -0.014532281085848808, 0.02330026403069496, 0.020626462996006012, 0.010582348331809044, -0.028456879779696465, 0.010799377225339413, -0.016173021867871284, -0.005759957246482372, 0.009497201070189476, 0.0021919957362115383, -0.016311921179294586, -0.04017646238207817, -0.000570244446862489, 0.010773333720862865, -0.055802568793296814, 0.04319750890135765, -0.010321912355720997, -0.006758291739970446, -0.003628729609772563, -0.0019847326911985874, -0.01560874655842781, 0.05191340297460556, 0.04201687127351761, -0.05736517906188965, 0.033335696905851364, -0.005647101905196905, -0.03531500697135925, -0.04423924908041954, -0.02491496130824089, -0.05330239236354828, 0.07924173027276993, 0.03154737502336502, -0.021928638219833374, 0.04156544804573059, 0.01529622357338667, 0.009584013372659683, -0.044655945152044296, 0.05167033150792122, -0.007465807255357504, 0.07181064784526825, 0.015929948538541794, 0.010434768162667751, 0.021095246076583862, -0.014124265871942043, 0.06021260470151901, 0.0036699650809168816, 0.05625399202108383, -0.0021594413556158543, -0.0034138706978410482, -0.05260789766907692, 0.0770193487405777, 0.00885479524731636, 0.052920419722795486, -0.016598399728536606, -0.06132379546761513, 0.006133247632533312, 0.02001878060400486, -0.045940760523080826, -0.018421445041894913, -0.00889820046722889, 0.017084544524550438, 0.03436007723212242, -0.05285097286105156, 0.014827440492808819, 0.031043868511915207, 0.03212033584713936, 0.05274679884314537, -0.008811389096081257, -0.014167672023177147, -0.017987387254834175, -0.03258911892771721, -0.06156686693429947, 0.04705194756388664, -0.008872156962752342, -0.028821488842368126, -0.03059244714677334, 0.02338707633316517, 0.0011958313407376409, -0.005525565706193447, 0.0279533714056015, -0.01726684905588627, 0.08813124895095825, -0.022866206243634224, -0.0034616170451045036, -0.033127348870038986, 0.011320247314870358, 0.0458713099360466, 0.03165154904127121, -0.03356140851974487, -0.01908121444284916, -0.011710899882018566, 0.07021331042051315, 0.01977570913732052, -0.034967757761478424, -0.040211185812950134, -0.014228439889848232, -0.0016722106374800205, -0.02201545052230358, 0.028561053797602654, 0.04607965797185898, -0.0065542845986783504, 0.028960388153791428, 0.017232125625014305, 0.034863583743572235, -0.00818200409412384, 0.06330309808254242, 0.005373645108193159, 0.06649777293205261, -0.09215931594371796, 0.02467188984155655, 0.04632272943854332, 0.008646446280181408, -0.006441429257392883, -0.025279570370912552, -0.05489972606301308, -0.01646818220615387, 0.031738363206386566, -0.023196090012788773, 0.010434768162667751, -0.023543337360024452, -0.002454601228237152, -0.04552406445145607, -0.040211185812950134, 0.018595069646835327, -0.003379145869985223, 0.0320856086909771, -0.002979811979457736, -0.012605060823261738, 0.0260782390832901, 0.008138597942888737, 0.0005935750668868423, 0.04462122172117233, 0.022293247282505035, -0.031043868511915207, 0.00011115968663943931, -0.026807457208633423, -0.03354404494166374, 0.053614914417266846, 0.007760967127978802, 0.009809724055230618, 0.012908902019262314, 0.017197400331497192, -0.03340514749288559, -0.010087520815432072, 0.016598399728536606, 0.07132450491189957, -0.017084544524550438, 0.0229356549680233, -0.024046843871474266, -0.008273156359791756, -0.0065542845986783504, 0.04625328257679939, -0.03432535007596016, -0.015860499814152718, 0.04844093695282936, -0.030470911413431168, -0.012144958600401878, -0.014766672626137733, -0.030575085431337357, -0.06983134150505066, -0.03896109759807587, -0.040107011795043945, 0.019480548799037933, 0.0770193487405777, 0.012309901416301727, -0.018786054104566574, 0.02864786610007286, -0.023473886772990227, 0.010747290216386318, 0.020539650693535805, -0.04920487850904465, -0.010426086373627186, -0.0197930708527565, -0.005299855023622513, -0.023317625746130943, 0.030887607485055923, -0.039759766310453415, 0.06545603275299072, 0.04601020738482475, -0.015339629724621773, 0.017153995111584663, 0.05736517906188965, -0.0008708300301805139, -0.048024240881204605, 0.009028417989611626, -0.0037915015127509832, -0.028943024575710297, -0.04187797009944916, 0.04632272943854332, 0.03979448974132538, -0.09556233137845993, 0.02175501547753811, 0.015218093059957027, -0.006094182375818491, -0.02550528198480606, 0.02047020196914673, -0.0329710878431797, 0.03250230476260185, -0.0031512652058154345, -0.09799306094646454, 0.0653865858912468, -0.025314295664429665, 0.03073134645819664, 0.0125703364610672, -0.007409379817545414, -0.021129971370100975, -0.02875204011797905, 0.039169445633888245, 0.0028257211670279503, -0.020088231191039085, 0.01922011375427246, -0.03376975655555725, 0.04194742068648338, -0.06177521497011185, 0.0010325168259441853, -0.02585252746939659, 0.03326625004410744, 0.07646375894546509, 0.04073205590248108, 0.028717314824461937, 0.08153355866670609, 0.029828505590558052, -0.08514492958784103, -0.027797110378742218, -0.012440118938684464, -0.003780650207772851, -0.050559140741825104, 0.04298916086554527, 0.015626108273863792, -0.019480548799037933, 0.018490895628929138, -0.03224186971783638, -0.03284955397248268, -0.03425590321421623, -0.025748353451490402, -0.004240752197802067, 0.03432535007596016, 0.034412164241075516, -0.03566225245594978, -0.027033166959881783, 0.007860800251364708, 0.009835767559707165, -0.02887357585132122, -0.006584668532013893, -0.015235455706715584, -0.0439961776137352, 0.022032812237739563, -0.01569555699825287, 0.030644534155726433, -0.01718003861606121, -0.0433364063501358, -0.05180922895669937, -0.023890582844614983, 0.02455035224556923, -0.03540181741118431, -0.01862979307770729, -0.026685921475291252, 0.0033899974077939987, -0.018195735290646553, -0.003715541446581483, -0.012414075434207916, 0.044655945152044296, -0.0023721300531178713, -0.054760828614234924, -0.01640741340816021, -0.02083481103181839, -0.03868329897522926, -0.04142655059695244, -0.002471963642165065, -0.01642477698624134, -0.0040627880953252316, 0.07333853840827942, 0.011025087907910347, 0.0358358770608902, 0.035905323922634125, 0.013742294162511826, -0.01343845296651125, 0.011832436546683311, -0.006272146478295326, -0.004700854420661926, 0.0027367393486201763, 0.011042449623346329, -0.029186097905039787, -0.05746935307979584, -0.015278861857950687, -0.032415494322776794, -0.018456170335412025, 0.023578060790896416, 0.05503862723708153, -0.031964074820280075, -0.053823262453079224, -0.008090851828455925, -0.004169132560491562, 0.019862519577145576, 0.050003547221422195, -0.02864786610007286, 0.04472539573907852, -0.04892708361148834, -0.011710899882018566, 0.003524555591866374, -0.02583516575396061, -0.01035663764923811, -0.014020091854035854, 0.011207392439246178, 0.04368365556001663, -0.01007883995771408, 0.04937850311398506, -0.053024593740701675, -0.07431082427501678, 0.011953973211348057, -0.010052796453237534, 0.001353177591226995, 0.014020091854035854, 0.06250443309545517, 0.027988096699118614, -0.023803772404789925, -0.002144249388948083, -0.017987387254834175, 0.020557014271616936, 0.02757140062749386, 0.01135497260838747, -0.008789685554802418, -0.014766672626137733, 0.01740574836730957, 0.07819999009370804, -0.015105238184332848, 0.033005814999341965, 0.057330455631017685, 0.012084190733730793, -0.02630394883453846, -0.023925308138132095, 0.0062851682305336, -0.014827440492808819, 0.04444759711623192, -0.0036699650809168816, 0.021859189495444298, -0.018074199557304382, -0.027519313618540764, 0.0010081010404974222, -0.04007228836417198, 0.016971690580248833, 0.009471157565712929, -0.004852775018662214, 0.02118205837905407, -0.020279215648770332, 0.0034225517883896828, 0.06469208747148514, 0.051045287400484085, -0.03538445383310318, 0.003001515055075288, 0.04826731234788895, -0.00961005687713623, 0.018022112548351288, -0.03618312254548073, -0.0681992843747139, 0.03036673739552498, -0.043926727026700974, 0.00684076314792037, 0.011789030395448208, 0.09222876280546188, 0.07146340608596802, 0.008281837217509747, 0.06788676232099533, 0.0556289479136467, -0.0019489229889586568, 0.00768283661454916, 0.01671125553548336, 0.016094891354441643, -0.055906742811203, 0.01636400818824768, 0.027970734983682632, -0.041495997458696365, -0.023317625746130943, 0.0631294772028923, 0.038127705454826355, 0.006167972460389137, -0.08465878665447235, 0.006632415112107992, -0.030349375680088997, -0.026494935154914856, -0.00043270213063806295, 0.05184395611286163, 0.02489759959280491, -0.028248531743884087 ]
44,052
jsons.deserializers.default_zone_info
default_zone_info_deserializer
Deserialize a ZoneInfo. :param obj: a serialized ZoneInfo object. :return: an instance of ZoneInfo.
def default_zone_info_deserializer(obj: ZoneInfo, *_, **__) -> ZoneInfo: """ Deserialize a ZoneInfo. :param obj: a serialized ZoneInfo object. :return: an instance of ZoneInfo. """ return ZoneInfo(obj['key'])
(obj: zoneinfo.ZoneInfo, *_, **__) -> zoneinfo.ZoneInfo
[ 0.052645180374383926, 0.02711080200970173, 0.03343482315540314, -0.03585444763302803, -0.03044695034623146, -0.05829097330570221, 0.04124361276626587, 0.043369948863983154, -0.030831892043352127, -0.009724327363073826, -0.018642112612724304, 0.015791721642017365, -0.05513812601566315, -0.06184708699584007, 0.020530153065919876, 0.08322044461965561, -0.07962767034769058, 0.03717424347996712, 0.010998296551406384, 0.03488292917609215, 0.006140715442597866, -0.04571625217795372, -0.006081141531467438, 0.03721090406179428, 0.011199931614100933, 0.017166508361697197, -0.03042862005531788, -0.01438943762332201, 0.003546950640156865, -0.021061738952994347, -0.04960231855511665, 0.014004497788846493, -0.011630699038505554, 0.07493506371974945, -0.012602214701473713, -0.029805384576320648, -0.02837560512125492, 0.0560913123190403, -0.09165247529745102, 0.012327257543802261, 0.0357811264693737, 0.014600238762795925, -0.05084879323840141, -0.014481090940535069, 0.05539475381374359, 0.02846725843846798, 0.03024531528353691, -0.0037394207902252674, 0.00475218053907156, -0.024892810732126236, 0.006113220006227493, -0.03864068165421486, 0.020126882940530777, 0.03136347606778145, -0.01791805773973465, -0.06921594589948654, 0.029255468398332596, 0.011923986487090588, -0.007561328820884228, 0.03147345781326294, -0.026634208858013153, 0.01889874041080475, -0.014343611896038055, -0.005146286450326443, -0.012033969163894653, -0.04956565797328949, -0.0007498317863792181, -0.016332469880580902, -0.03118017129600048, 0.029053833335638046, 0.06265363097190857, 0.0012258518254384398, -0.02630425989627838, 0.027495741844177246, 0.049712300300598145, -0.010759999975562096, -0.012428075075149536, -0.03138180822134018, -0.024251244962215424, 0.009256899356842041, -0.03457131236791611, -0.03966718912124634, -0.023774651810526848, 0.006741039454936981, -0.006053645629435778, 0.012244770303368568, 0.060637276619672775, -0.05037219822406769, 0.01900872215628624, 0.048282522708177567, -0.027055809274315834, -0.015599250793457031, -0.056677889078855515, 0.03649601340293884, -0.04106030613183975, -0.03603775054216385, 0.009788484312593937, -0.021904941648244858, 0.008326627314090729, -0.008839881047606468, 0.012895503081381321, -0.02441621758043766, -0.1000111773610115, -0.013967836275696754, 0.003853986505419016, -0.03790746256709099, 0.02793567255139351, 0.014279454946517944, -0.025626031681895256, -0.00240358617156744, -0.0034530069679021835, -0.007950851693749428, -0.07075570523738861, 0.020823441445827484, -0.011584872379899025, -0.00935771781951189, 0.01976027339696884, 0.026854174211621284, -0.04769594594836235, -0.010759999975562096, -0.030813561752438545, 0.0035881942603737116, -0.060014039278030396, -0.014462759718298912, -0.05403829738497734, -0.04791591316461563, 0.02837560512125492, -0.0015031005023047328, 0.045972879976034164, 0.05051884427666664, 0.03616606444120407, 0.006640221457928419, -0.07251543551683426, -0.006818944122642279, 0.018660442903637886, 0.006094889249652624, 0.06672299653291702, 0.001987712923437357, -0.06573314964771271, 0.005645792465656996, 0.022418195381760597, 0.0003568718093447387, 0.028210630640387535, -0.050335537642240524, -0.06415673345327377, -0.007872947491705418, -0.011264088563621044, -0.016589097678661346, -0.026854174211621284, -0.04175686463713646, 0.017863066866993904, 0.05862092226743698, -0.02835727483034134, 0.00238983822055161, -0.0045299232006073, -0.0899660661816597, 0.017441464588046074, -0.027404088526964188, 0.034461330622434616, -0.011053288355469704, -0.03407638892531395, 0.06338685005903244, -0.003560698591172695, -0.10690344125032425, 0.007433015387505293, 0.013702044263482094, 0.018568791449069977, -0.048685792833566666, 0.0502622164785862, -0.006498160306364298, -0.063826784491539, 0.0018800213001668453, -0.042746711522340775, 0.06195707246661186, 0.054074957966804504, 0.0035079983063042164, -0.03222500905394554, 0.0025273167993873358, 0.031088517978787422, 0.005893253721296787, 0.02711080200970173, 0.019998569041490555, 0.0011823169188573956, -0.0015500724548473954, -0.0012728236615657806, 0.000516977219376713, 0.03396640717983246, 0.016598261892795563, 0.012822180986404419, 0.0017413969617336988, 0.039740510284900665, 0.049089062958955765, -0.005934497341513634, -0.0358361154794693, -0.004216013476252556, -0.018156355246901512, 0.015168484300374985, -0.01911870576441288, -0.053268417716026306, 0.004743015393614769, -0.014325281605124474, 0.01527846697717905, 0.015150154009461403, -0.00878030713647604, -0.017505621537566185, 0.048979081213474274, 0.020401841029524803, 0.00555872218683362, -0.04435979574918747, 0.0575944148004055, 0.04106030613183975, -0.007208466995507479, -0.025497717782855034, 0.020401841029524803, 0.03326984867453575, -0.03398473560810089, -0.004866746254265308, 0.004321414045989513, 0.02441621758043766, 0.028925519436597824, 0.061663784086704254, 0.009907632134854794, -0.013133799657225609, -0.00794626958668232, -0.005632044281810522, 0.025607701390981674, -0.01283134613186121, -0.056384600698947906, -0.010301738046109676, -0.06796947121620178, -0.022601500153541565, -0.10602357983589172, -0.1086631715297699, -0.03207836672663689, 0.07984763383865356, 0.03550616651773453, 0.06683298200368881, -0.11291584372520447, 0.0214100182056427, -0.03772415593266487, 0.04626616835594177, -0.02681751362979412, 0.01843131147325039, -0.01387618388980627, 0.008326627314090729, 0.03680763393640518, -0.02982371486723423, 0.0029305878560990095, -0.008954446762800217, -0.042856696993112564, 0.06829942017793655, -0.007446763571351767, 0.010989131405949593, 0.03750419244170189, 0.011337410658597946, -0.1094697117805481, -0.026029301807284355, -0.030813561752438545, 0.01065001729875803, 0.02078678086400032, -0.05722780525684357, -0.01740480400621891, -0.04003379866480827, 0.020530153065919876, -0.012428075075149536, 0.018513798713684082, -0.0241229310631752, -0.0024287905544042587, 0.012977990321815014, -0.021868279203772545, 0.11012960970401764, -0.07904109358787537, -0.01678156852722168, 0.028008995577692986, -0.031033527106046677, 0.010164259001612663, -0.03479127958416939, -0.05436824634671211, 0.010888313874602318, 0.006058228202164173, -0.022693151608109474, -0.03886064887046814, 0.008651993237435818, -0.009128586389124393, 0.021263374015688896, -0.050115570425987244, 0.005274599883705378, 0.025497717782855034, -0.028815537691116333, 0.003414054634049535, -0.012868006713688374, -0.0032513714395463467, -0.05414827913045883, -0.002680834848433733, 0.0015489268116652966, -0.03680763393640518, -0.06485328823328018, 0.022839795798063278, 0.024049608036875725, -0.011089948937296867, -0.04747597873210907, -0.005499148275703192, -0.017991380766034126, 0.05260851979255676, 0.053854990750551224, 0.028137309476733208, -0.01225393544882536, 0.0008374744793400168, 0.011254923418164253, 0.029750391840934753, 0.010530869476497173, -0.007414685096591711, 0.0327199324965477, 0.01871543563902378, -0.018193015828728676, -0.013078807853162289, 0.007359693292528391, 0.02183161862194538, 0.03229833021759987, 0.08520013839006424, -0.025845997035503387, 0.01974194310605526, -0.0611138679087162, 0.010356728918850422, 0.06133383512496948, -0.025076115503907204, -0.024489540606737137, 0.006928926799446344, 0.032573290169239044, 0.024141261354088783, -0.04604620113968849, -0.04446977749466896, -0.021061738952994347, 0.009014020673930645, -0.022693151608109474, 0.02868722379207611, -0.018284667283296585, 0.02401294745504856, -0.03365478664636612, 0.039410561323165894, 0.007753799203783274, 0.012602214701473713, -0.023444702848792076, -0.0041541485115885735, -0.0078087905421853065, 0.0377974808216095, 0.08937948942184448, -0.01822967641055584, -0.0030657751485705376, 0.06591645628213882, -0.09964456409215927, -0.05139870569109917, 0.04853915050625801, 0.07057240605354309, 0.009014020673930645, -0.06470664590597153, 0.03886064887046814, -0.00951352622359991, 0.009687665849924088, -0.03680763393640518, -0.043369948863983154, -0.028833867982029915, 0.013582896441221237, -0.04589955881237984, 0.028852198272943497, -0.05895087122917175, 0.019796933978796005, -0.04303999990224838, 0.02887052856385708, -0.047219354659318924, -0.06140715628862381, 0.01900872215628624, -0.016323305666446686, -0.06507325172424316, 0.02162998355925083, -0.018101362511515617, 0.026762520894408226, 0.038384053856134415, -0.007758381776511669, 0.05664122849702835, 0.014371107332408428, 0.02150166966021061, 0.023957956582307816, 0.034534651786088943, 0.016130834817886353, 0.007290954235941172, -0.03385642170906067, 0.023756321519613266, -0.0016703662695363164, -0.058657582849264145, -0.01481103990226984, 0.013839523307979107, -0.010283407755196095, -0.012043135240674019, 0.0075750770047307014, 0.03530453145503998, -0.011649029329419136, -0.01787223294377327, -0.04205015301704407, 0.06851939111948013, 0.025222759693861008, 0.027184123173356056, 0.013647053390741348, -0.0001609646569704637, -0.018458807840943336, -0.005389165133237839, 0.04252674803137779, -0.010668347589671612, 0.00005545690510189161, -0.005966575816273689, 0.04333328828215599, -0.05858426168560982, 0.07053574174642563, -0.04501969367265701, 0.03660599887371063, 0.016634924337267876, 0.021355025470256805, 0.06910596042871475, -0.035396184772253036, -0.05015223100781441, 0.011713186278939247, 0.013967836275696754, -0.02888885885477066, -0.011978978291153908, 0.07090235501527786, -0.010924974456429482, -0.0181196928024292, -0.03207836672663689, 0.010274241678416729, -0.02557103894650936, 0.06016068160533905, -0.06921594589948654, -0.006557734217494726, -0.05704449862241745, 0.08637329190969467, 0.04626616835594177, 0.05268184095621109, -0.047549303621053696, -0.03396640717983246, 0.032353322952985764, -0.024654515087604523, 0.007144310045987368, 0.010365894995629787, 0.006576064974069595, 0.01065918244421482, 0.040767017751932144, 0.01698320358991623, 0.014673560857772827, 0.038200750946998596, -0.04065703600645065, 0.0334714837372303, -0.006864770315587521, -0.01111744437366724, -0.010631687007844448, -0.016194991767406464, -0.06100388616323471, 0.05587134510278702, 0.05895087122917175, -0.002165289595723152, 0.0005080983974039555, -0.005751192569732666, -0.03666098788380623, 0.00612696772441268, -0.05202194303274155, 0.01611250452697277, 0.08879291266202927, 0.00006039754589437507, 0.027715707197785378, -0.01111744437366724, -0.056787870824337006, -0.009151499718427658, 0.029640410095453262, -0.026725860312581062, -0.01339959166944027, 0.0014927895972505212, 0.04384654387831688, 0.036935947835445404, -0.025296082720160484, -0.009696831926703453, -0.000012190494999231305, 0.012959659099578857, -0.01153904665261507, 0.00042446551378816366, -0.004788841586560011, 0.0057191140949726105, -0.05473485589027405, -0.04311332106590271, 0.010549199767410755, -0.019723612815141678, 0.007730885874480009, -0.010759999975562096, 0.08028756827116013, -0.06122384965419769, 0.019613629207015038, 0.005361669696867466, 0.058547597378492355, 0.03198671340942383, 0.016085008159279823, 0.02058514580130577, -0.06635639071464539, 0.009476865641772747, -0.0058199320919811726, -0.0689593181014061, -0.039630528539419174, -0.09913131594657898, -0.024251244962215424, -0.052718501538038254, 0.03636769950389862, 0.026340920478105545, 0.03717424347996712, -0.0034988331608474255, 0.029970359057188034, 0.027074139565229416, 0.03066691756248474, -0.00923856906592846, 0.06243366375565529, -0.02888885885477066, -0.031858399510383606, 0.021263374015688896, -0.002360051264986396, 0.009000272490084171, 0.00955935288220644, 0.07343196123838425, -0.002366925124078989, 0.009852640330791473, 0.004683441482484341, -0.04197683185338974, 0.029237138107419014, 0.04164688289165497, 0.008441193029284477, -0.004426814615726471, -0.05612797290086746, 0.010952470824122429, 0.005806183908134699, 0.05238855257630348, -0.029842045158147812, 0.007726303301751614, 0.010530869476497173, -0.008706985041499138, -0.0260842926800251, 0.02898051217198372, -0.0373942069709301, -0.004692606627941132, -0.029163816943764687, -0.03783414140343666, -0.025479387491941452, 0.001710464246571064, 0.04769594594836235, -0.022271551191806793, 0.03385642170906067, 0.0327199324965477, -0.0409136638045311, 0.06591645628213882, 0.015122657641768456, -0.02524108998477459, 0.017588108777999878, -0.009596013464033604, -0.030611924827098846, -0.004190809093415737, 0.025167768821120262, -0.01843131147325039, 0.08542010188102722, 0.06958255916833878, 0.06060061603784561, -0.015443441458046436, 0.05348838120698929, -0.024746166542172432, 0.0357811264693737, 0.01889874041080475, 0.058547597378492355, -0.011410732753574848, -0.029328791424632072, 0.07713472098112106, 0.010200920514762402, -0.05697117745876312, 0.03636769950389862, 0.03158344328403473, 0.024471210315823555, -0.0021847658790647984, -0.009925962425768375, -0.012721363455057144, 0.025002794340252876, 0.018128858879208565, -0.04718269407749176, 0.005499148275703192, -0.053671687841415405, 0.01007260661572218, -0.057301126420497894, 0.051068756729364395, 0.002575434511527419, -0.01365621853619814, 0.031198501586914062, 0.0018502342281863093, 0.02536940388381481, -0.012547223828732967, -0.019100375473499298, 0.04604620113968849, -0.07097567617893219, 0.023664668202400208, -0.03614773601293564, 0.03853069990873337, 0.01715734228491783, 0.028228960931301117, 0.008794054388999939, 0.05521145090460777, 0.023133084177970886, -0.06401008367538452, -0.06049063056707382, -0.015883373096585274, -0.012107291258871555, 0.005068381782621145, -0.019155366346240044, 0.03886064887046814, -0.00628735963255167, 0.037027597427368164, -0.008491601794958115, 0.0003961105248890817, -0.03182173892855644, -0.025424396619200706, -0.04351659491658211, 0.021684974431991577, 0.01798221468925476, -0.012510562315583229, 0.03458964452147484, -0.009834310039877892, -0.029695400968194008, 0.02575434371829033, -0.019796933978796005, -0.024562861770391464, -0.011364906094968319, 0.054918162524700165, 0.03086855262517929, -0.03431468456983566, -0.04457976296544075, -0.09517192840576172, 0.017459796741604805, -0.025057785212993622, 0.00917899515479803, -0.025900987908244133, 0.046706099063158035, 0.005325008649379015, -0.024691175669431686, -0.0009657879127189517, 0.02962207980453968, -0.08439359813928604, -0.05733778700232506, 0.008331209421157837, -0.0017986797029152513, 0.00951352622359991, 0.04978562146425247, -0.036990936845541, -0.001135344966314733, -0.027789030224084854, 0.04128027334809303, -0.009348551742732525, -0.003526328830048442, 0.0046284496784210205, 0.02887052856385708, 0.025827666744589806, -0.005984906572848558, -0.052535198628902435, -0.013078807853162289, -0.07955434918403625, -0.00012251357838977128, 0.04747597873210907, 0.03633103892207146, -0.05359836667776108, -0.004729267675429583, 0.013912845402956009, -0.03552449867129326, 0.020970085635781288, 0.017285656183958054, 0.043186645954847336, -0.011658194474875927, -0.052425213158130646, -0.008299130946397781, -0.004419940523803234, -0.006443168967962265, 0.06148047745227814, 0.008551175706088543, 0.0666496753692627, -0.00043191228178329766, 0.01032923348248005, 0.04934569075703621, -0.007130562327802181, -0.0022546506952494383, 0.017505621537566185, -0.011062453500926495, 0.020713457837700844, 0.000687393534462899, 0.031326815485954285, -0.026450904086232185, -0.02991536632180214, 0.010118433274328709, -0.02588265761733055, -0.02555270865559578, -0.0361843965947628, 0.05403829738497734, 0.032774925231933594, 0.007831703871488571, 0.007923356257379055, -0.029218807816505432, 0.009110256098210812, -0.03222500905394554, 0.031198501586914062, 0.006796030793339014, -0.04487305134534836, -0.005632044281810522, 0.059794072061777115, -0.022913118824362755, -0.00237609026953578, 0.0711589828133583, 0.03908061236143112, -0.05301178991794586, -0.031235162168741226, 0.06928926706314087, -0.023224735632538795, 0.0042778789065778255, 0.021281704306602478, 0.02076845057308674, -0.013427087105810642, -0.013133799657225609, -0.0005739735788665712, 0.015205144882202148, 0.048979081213474274, 0.03477294743061066, -0.027569063007831573, -0.0350295752286911, -0.06756620109081268, -0.006214037537574768, 0.0436265766620636, 0.0245262011885643, -0.0409136638045311, -0.040510393679142, -0.0006369846523739398, 0.0032215844839811325, 0.013491244055330753, 0.021666644141077995, -0.00009415859676664695, 0.05062882602214813, -0.0005270016845315695, 0.02711080200970173, 0.029017172753810883, 0.12472068518400192, -0.010530869476497173, 0.005370834842324257, 0.05363502725958824, 0.05975741147994995, 0.013500409200787544, 0.057191140949726105, 0.01606667786836624, 0.0048484159633517265, -0.01502184011042118, 0.03167509287595749, -0.021758297458291054, -0.03886064887046814, -0.02828395366668701, 0.03812742978334427, 0.04413983225822449, 0.03260995075106621, -0.04003379866480827, -0.023976286873221397, 0.0027152043767273426, -0.030153663828969002, 0.02888885885477066, -0.0044703492894768715, -0.026854174211621284, -0.042856696993112564 ]
44,053
jsons.serializers.default_zone_info
default_zone_info_serializer
Serialize a ZoneInfo object. :return: a serialized ZoneInfo instance.
def default_zone_info_serializer(obj: ZoneInfo, *_, **__) -> Dict[str, str]: """ Serialize a ZoneInfo object. :return: a serialized ZoneInfo instance. """ return {'key': obj.key}
(obj: zoneinfo.ZoneInfo, *_, **__) -> Dict[str, str]
[ 0.01285486202687025, 0.00440951669588685, 0.028173798695206642, -0.03449704870581627, -0.0052452185191214085, -0.048593007028102875, -0.0017540680710226297, 0.020582273602485657, -0.004873795434832573, -0.04337496683001518, -0.001948838704265654, -0.005054977256804705, -0.025564778596162796, -0.05993499979376793, 0.016333555802702904, 0.034895651042461395, -0.05674619972705841, 0.003299776930361986, -0.0004461606440600008, 0.0254741869866848, 0.017773952335119247, -0.05174557492136955, 0.029641373082995415, -0.0060197715647518635, -0.004278159700334072, 0.050404828041791916, -0.027684606611728668, -0.0185711532831192, 0.0023916021455079317, -0.00213115313090384, -0.056927379220724106, -0.014630445279181004, -0.010137132368981838, 0.060695964843034744, 0.0072472793981432915, -0.03074658289551735, -0.020582273602485657, 0.048230644315481186, -0.10914403200149536, 0.0004441789642442018, 0.03322877734899521, 0.02759401686489582, -0.09189550578594208, -0.028391217812895775, 0.04674495384097099, 0.025999614968895912, 0.04652753472328186, 0.03330124914646149, 0.05950016528367996, -0.02605396881699562, 0.019730718806385994, -0.0434836782515049, 0.01616143248975277, 0.008239250630140305, -0.03138072043657303, -0.08414091169834137, 0.03764961659908295, -0.011559410952031612, -0.038011979311704636, 0.021524420008063316, -0.011070219799876213, 0.024912523105740547, 0.020854046568274498, -0.009575467556715012, -0.018054785206913948, -0.028970999643206596, -0.0304204560816288, -0.013552412390708923, -0.005548698361963034, 0.0408746562898159, 0.06968259066343307, -0.06142069399356842, -0.03259463980793953, 0.018109139055013657, 0.027974499389529228, 0.005969946272671223, -0.02545606903731823, -0.0185711532831192, -0.0279020257294178, -0.01924152672290802, -0.02353554032742977, -0.08131447434425354, -0.05950016528367996, 0.022720221430063248, 0.005648348480463028, -0.0028943822253495455, 0.009231221862137318, -0.036453817039728165, 0.016849923878908157, 0.019314000383019447, -0.02203173004090786, 0.031507547944784164, -0.042650237679481506, 0.08276393264532089, -0.0377945639193058, -0.03880918025970459, 0.008764678612351418, -0.03279393911361694, 0.01022772304713726, 0.008501964621245861, 0.014050663448870182, -0.03476882353425026, -0.06207294762134552, -0.015554473735392094, -0.007491874974220991, -0.07410342991352081, 0.0063776057213544846, 0.003705171635374427, -0.025003114715218544, 0.018208788707852364, -0.008361549116671085, -0.019748836755752563, -0.05312255769968033, -0.016922397539019585, 0.008950389921665192, 0.0034628408029675484, 0.017873601987957954, 0.03174308314919472, -0.016505679115653038, -0.017239466309547424, -0.02418779581785202, 0.016904279589653015, -0.03819316253066063, -0.01256497111171484, -0.05297761410474777, -0.036743707954883575, 0.023118821904063225, 0.04239658638834953, 0.02605396881699562, 0.03725101798772812, 0.02237597480416298, 0.008135071024298668, -0.08102458715438843, -0.013860422186553478, 0.03884541615843773, -0.0092855766415596, 0.04928150027990341, 0.03402597829699516, -0.005562286823987961, 0.061601873487234116, 0.018543975427746773, -0.008932271972298622, -0.0010944524547085166, -0.011006806045770645, -0.03277582302689552, -0.007695704698562622, 0.019005989655852318, -0.011731533333659172, -0.038301870226860046, -0.060043711215257645, 0.07587901502847672, 0.07602395862340927, -0.029025353491306305, 0.005000622943043709, -0.021542537957429886, -0.07102333754301071, 0.02237597480416298, -0.032105449587106705, 0.0428314208984375, -0.010762210004031658, -0.027775198221206665, 0.040838420391082764, 0.010436082258820534, -0.09870794415473938, 0.007876886986196041, 0.0434836782515049, 0.007731941062957048, -0.042070455849170685, 0.08196672797203064, -0.0223035030066967, -0.05968134477734566, -0.012918275780975819, -0.0601886548101902, 0.05678243562579155, 0.06232660263776779, 0.017937015742063522, -0.02208608388900757, 0.0006352693308144808, -0.003659876063466072, 0.007034390699118376, 0.06352240592241287, -0.008424961939454079, -0.010735033079981804, 0.04406346008181572, 0.003485488472506404, -0.04924526438117027, 0.04312131181359291, 0.023789195343852043, 0.0047197905369102955, 0.015436705201864243, 0.047034844756126404, 0.04428087919950485, -0.01951329968869686, -0.033681731671094894, -0.01577189192175865, -0.03786703571677208, 0.03877294436097145, -0.0810970589518547, -0.05033235624432564, 0.013180989772081375, -0.01195801142603159, 0.00805806927382946, -0.013688298873603344, -0.011242342181503773, 0.019984373822808266, 0.02391602285206318, 0.027122942730784416, -0.030855292454361916, -0.03380855917930603, 0.04409969598054886, 0.0590653270483017, -0.014068781398236752, -0.04714355245232582, 0.0058793555945158005, 0.03422527760267258, -0.04594775289297104, 0.03203297406435013, 0.021343238651752472, -0.011976129375398159, 0.006486315280199051, 0.03478693962097168, 0.017547475174069405, -0.007491874974220991, -0.03931649029254913, -0.00728804524987936, -0.00628248555585742, 0.013978189788758755, -0.06997248530387878, -0.01918717287480831, -0.07087839394807816, -0.014838804490864277, -0.07805319875478745, -0.12827683985233307, -0.005797823425382376, 0.029115945100784302, 0.023463066667318344, 0.060043711215257645, -0.1181306540966034, 0.028916645795106888, -0.047288499772548676, 0.06294262409210205, -0.004294013138860464, 0.023825431242585182, -0.021578773856163025, 0.0144402040168643, 0.012202606536448002, -0.014431145042181015, 0.021850546821951866, 0.019024107605218887, -0.023789195343852043, 0.07870545238256454, -0.02299199439585209, -0.024622632190585136, 0.016315437853336334, 0.005453577730804682, -0.058123182505369186, -0.029007235541939735, 0.0135071175172925, 0.01194895152002573, -0.0030415926594287157, -0.06301509588956833, 0.012193547561764717, -0.07167559117078781, -0.008773737587034702, 0.01982130855321884, 0.014802568592131138, -0.019477063789963722, -0.005929180420935154, -0.02353554032742977, -0.0014664416667073965, 0.0768936350941658, -0.051999229937791824, -0.04533173143863678, 0.020419210195541382, -0.04228787496685982, 0.004991563502699137, -0.03815692663192749, -0.06181929260492325, -0.008103364147245884, 0.004511431325227022, -0.015989311039447784, -0.04594775289297104, 0.01132387388497591, -0.02855428121984005, 0.04188927635550499, -0.04623764380812645, 0.004237393848598003, 0.04714355245232582, -0.012601207010447979, -0.017819248139858246, -0.015128695406019688, 0.033391840755939484, -0.07062473893165588, -0.008062598295509815, -0.007170277182012796, -0.05486190691590309, -0.02947830967605114, 0.009657000191509724, 0.047976989299058914, 0.02853616327047348, -0.039860036224126816, 0.03455140441656113, 0.018543975427746773, 0.04870171844959259, 0.037033598870038986, 0.03408033028244972, -0.0052452185191214085, -0.0010678413091227412, -0.003093682462349534, 0.015491059981286526, -0.03562038019299507, 0.007985595613718033, 0.05551416054368019, 0.036743707954883575, -0.026887407526373863, 0.002760760486125946, 0.004008651245385408, 0.01587154157459736, 0.033971622586250305, 0.1041434034705162, -0.030619755387306213, 0.02326376736164093, -0.06591400504112244, -0.000871372118126601, 0.09102582931518555, -0.03931649029254913, -0.003329219063743949, -0.00962076336145401, 0.056927379220724106, 0.02735847979784012, -0.04678118973970413, -0.04674495384097099, -0.011495997197926044, 0.03873670846223831, -0.03717854246497154, 0.06316003948450089, -0.003170684678480029, 0.022847048938274384, -0.056275125592947006, 0.05797823518514633, -0.001176550518721342, 0.013099457137286663, -0.0373234897851944, -0.013262521475553513, -0.047578390687704086, -0.0038999421522021294, 0.05065848305821419, -0.009611704386770725, -0.02518429607152939, 0.039570145308971405, -0.10008493065834045, -0.01925964467227459, 0.05924651026725769, 0.09385226666927338, 0.027141060680150986, -0.05359363183379173, 0.0476870983839035, -0.02516617812216282, -0.011423524469137192, 0.0009330872562713921, -0.012646502815186977, -0.021252647042274475, 0.03639946132898331, -0.028753580525517464, 0.05395599454641342, -0.014847863465547562, 0.07047979533672333, -0.012447202578186989, 0.04286765679717064, -0.0746469795703888, -0.0643920749425888, 0.012374729849398136, -0.030655991286039352, -0.06779830157756805, 0.008121482096612453, 0.01918717287480831, 0.023734839633107185, 0.014956573024392128, -0.04373733326792717, 0.03158001974225044, 0.033681731671094894, 0.005208982154726982, 0.05286890268325806, 0.041128311306238174, 0.00822566170245409, 0.007401284296065569, 0.030873410403728485, 0.017909839749336243, 0.0035556964576244354, -0.049788810312747955, -0.023155057802796364, -0.0011674914276227355, -0.016849923878908157, 0.021234529092907906, -0.012256961315870285, 0.009675118140876293, 0.016315437853336334, -0.03197862207889557, -0.048303116112947464, 0.04275894910097122, 0.04623764380812645, -0.018697980791330338, 0.014159372076392174, -0.035239897668361664, 0.01181306503713131, -0.04014992713928223, 0.015726596117019653, -0.018734216690063477, 0.037685852497816086, -0.00728804524987936, 0.0077727073803544044, -0.06779830157756805, 0.04094712808728218, -0.04696236923336983, 0.04837559163570404, -0.003170684678480029, 0.0005939371767453849, 0.07660374045372009, -0.023499304428696632, -0.026470687240362167, 0.019150935113430023, 0.0031480370089411736, -0.024876287207007408, 0.03851928934454918, 0.08189425617456436, -0.020690983161330223, -0.0024550158996134996, -0.04149067401885986, 0.03330124914646149, -0.007663997821509838, 0.054463304579257965, -0.03125389292836189, -0.009040981531143188, -0.05297761410474777, 0.08457574993371964, 0.04239658638834953, 0.08841680735349655, -0.060406073927879333, -0.012673679739236832, 0.07392224669456482, -0.023481184616684914, -0.013199107721447945, 0.0036530818324536085, 0.03949767351150513, 0.02330000326037407, 0.03757714480161667, -0.01737535186111927, -0.00868314690887928, 0.04660000652074814, -0.0061601875349879265, 0.047940753400325775, -0.03324689343571663, -0.002229670761153102, -0.03344619646668434, -0.019295882433652878, -0.03625451400876045, 0.048266880214214325, 0.028155680745840073, -0.00017198134446516633, -0.014485499821603298, -0.0017325527733191848, -0.030329864472150803, -0.01024584099650383, -0.008515553548932076, 0.013932894915342331, 0.05892038345336914, -0.02136135660111904, 0.02819191664457321, -0.004710731562227011, -0.02699611522257328, 0.0064093125984072685, 0.06551540642976761, -0.0689578652381897, -0.018480561673641205, 0.00534033915027976, 0.06656625866889954, 0.009847240522503853, -0.014630445279181004, -0.03565661609172821, 0.000556568440515548, -0.017610888928174973, -0.010735033079981804, 0.004617875907570124, 0.003974679857492447, 0.018054785206913948, -0.04014992713928223, -0.022828930988907814, 0.022847048938274384, -0.02822815254330635, 0.019694481045007706, 0.004144537728279829, 0.04696236923336983, -0.07018990069627762, 0.04743344336748123, 0.012066720053553581, 0.06899409741163254, 0.029115945100784302, 0.0010548188583925366, -0.02666998840868473, -0.048556771129369736, 0.010517613962292671, -0.00690756319090724, -0.06156563758850098, -0.00007728544005658478, -0.07703857868909836, -0.03185179457068443, -0.06105832755565643, 0.021234529092907906, 0.005648348480463028, 0.05297761410474777, 0.006898504216223955, -0.003942972980439663, 0.013144752942025661, 0.010472319088876247, -0.0024844580329954624, 0.0428314208984375, -0.04464324191212654, -0.02074533700942993, 0.004074329975992441, -0.02518429607152939, -0.01208483800292015, 0.03286641091108322, 0.0746469795703888, 0.0011199311120435596, 0.025021232664585114, 0.008529141545295715, -0.03656252473592758, 0.015291759744286537, -0.002285157795995474, 0.060695964843034744, -0.0028626753482967615, -0.03351866826415062, 0.015617887489497662, 0.033953502774238586, 0.0198756642639637, 0.01585342362523079, 0.01678651012480259, 0.01770148053765297, -0.010816564783453941, -0.023499304428696632, 0.03757714480161667, -0.04185304045677185, 0.0016702713910490274, -0.06120327487587929, 0.008814503438770771, -0.012247902341187, 0.021832428872585297, 0.021252647042274475, -0.020636627450585365, -0.011595646850764751, 0.026814933866262436, -0.054427068680524826, 0.05921027436852455, 0.029695726931095123, -0.033989742398262024, 0.0207634549587965, 0.01579000987112522, -0.033011358231306076, -0.001208257395774126, 0.04631011560559273, -0.000008019603228603955, 0.08341618627309799, 0.051057085394859314, 0.021596891805529594, -0.04181680083274841, 0.04351991415023804, -0.013135693967342377, 0.045114316046237946, 0.00394976744428277, 0.05609394237399101, -0.029713844880461693, -0.023752957582473755, 0.059101562947034836, 0.009158749133348465, -0.07033484429121017, 0.03783079981803894, 0.02886229008436203, 0.052252884954214096, -0.02759401686489582, -0.023408712819218636, -0.02116205543279648, 0.0502961203455925, 0.01891539990901947, -0.04373733326792717, 0.024586396291851997, -0.011704356409609318, 0.0039542969316244125, -0.04373733326792717, 0.031525664031505585, 0.013652062974870205, -0.04417216777801514, 0.03170684725046158, 0.00582953030243516, 0.023390594869852066, 0.017239466309547424, -0.0292065367102623, 0.02324564941227436, -0.051709339022636414, 0.024405213072896004, -0.03790327161550522, 0.020056845620274544, -0.000847591960337013, 0.028499925509095192, 0.029387718066573143, 0.05902909114956856, 0.013525235466659069, -0.046056460589170456, -0.022176675498485565, -0.03011244535446167, -0.00991971418261528, -0.024622632190585136, -0.02116205543279648, 0.043954748660326004, -0.018824808299541473, 0.029605137184262276, -0.008026362396776676, -0.0015502383466809988, -0.03159813955426216, 0.006803383585065603, -0.03761338070034981, 0.029279008507728577, 0.016252024099230766, -0.012175429612398148, 0.0003835962270386517, -0.004244187846779823, -0.02793826162815094, 0.02074533700942993, -0.016206728294491768, -0.01058102771639824, -0.051962994039058685, 0.026561278849840164, 0.03386291489005089, -0.013697357848286629, -0.039932508021593094, -0.05743468925356865, 0.019440827891230583, 0.00006213975575519726, 0.005802352912724018, -0.025003114715218544, 0.016804629936814308, 0.022176675498485565, -0.023209411650896072, -0.012447202578186989, 0.013153811916708946, -0.06993624567985535, -0.01705828309059143, 0.0056981733068823814, -0.0160980187356472, 0.0035556964576244354, -0.009421463124454021, -0.03217792138457298, -0.029695726931095123, -0.04862924665212631, 0.013244403526186943, 0.015391409397125244, 0.022738339379429817, -0.019676363095641136, 0.02514806017279625, 0.004083388950675726, -0.024387095123529434, -0.05236159265041351, 0.004303072113543749, -0.09566409140825272, -0.025582896545529366, 0.020690983161330223, 0.031435076147317886, -0.07566159963607788, -0.012175429612398148, 0.021578773856163025, -0.030293628573417664, 0.046092696487903595, 0.004529549740254879, 0.03547543287277222, -0.021017109975218773, -0.0619642399251461, 0.014965631999075413, -0.01704922504723072, 0.022539038211107254, 0.03594650700688362, -0.038990363478660583, 0.055659107863903046, -0.02607208862900734, 0.00409697787836194, 0.045114316046237946, 0.00789500493556261, -0.025220531970262527, -0.02420591376721859, -0.004796793218702078, 0.020926520228385925, 0.019114699214696884, 0.036109570413827896, -0.059101562947034836, -0.03250404819846153, 0.01709452085196972, -0.007795354817062616, -0.01705828309059143, 0.005091213621199131, 0.04696236923336983, 0.03982380032539368, -0.007084215525537729, -0.006798854097723961, -0.013978189788758755, 0.029605137184262276, -0.0160980187356472, 0.023517422378063202, -0.015373291447758675, 0.003614580724388361, -0.009249340742826462, 0.07914029061794281, -0.010997746139764786, 0.0006063934415578842, 0.06406594812870026, 0.04366485774517059, -0.05402847006917, -0.04631011560559273, 0.038628000766038895, 0.004448017571121454, 0.007586995605379343, 0.04924526438117027, 0.02699611522257328, -0.009294635616242886, 0.0026996114756911993, -0.010898096486926079, -0.005394693464040756, 0.049462683498859406, 0.03639946132898331, -0.01038172747939825, -0.03194238245487213, -0.056637488305568695, 0.007990125566720963, 0.03418904170393944, 0.021596891805529594, -0.055369213223457336, -0.04674495384097099, 0.04163562133908272, 0.0016057253815233707, 0.025220531970262527, -0.012863921001553535, -0.03478693962097168, 0.04569409787654877, 0.00502780033275485, 0.03496812283992767, 0.04565786197781563, 0.07972007244825363, 0.023463066667318344, 0.013488998636603355, 0.07827062159776688, 0.04739720746874809, 0.021832428872585297, 0.04710731655359268, 0.029605137184262276, 0.027050470933318138, -0.023354357108473778, -0.010463260114192963, -0.012827684171497822, -0.027213534340262413, -0.016695920377969742, 0.04804946109652519, 0.04957139119505882, 0.0459115169942379, -0.050114937126636505, -0.04931773617863655, -0.003043857403099537, -0.02605396881699562, 0.04275894910097122, 0.011006806045770645, 0.0024074555840343237, -0.030819056555628777 ]
44,055
jsons._dump_impl
dump
Serialize the given ``obj`` to a JSON equivalent type (e.g. dict, list, int, ...). The way objects are serialized can be finetuned by setting serializer functions for the specific type using ``set_serializer``. You can also provide ``cls`` to specify that ``obj`` needs to be serialized as if it was of type ``cls`` (meaning to only take into account attributes from ``cls``). The type ``cls`` must have a ``__slots__`` defined. Any type will do, but in most cases you may want ``cls`` to be a base class of ``obj``. :param obj: a Python instance of any sort. :param cls: if given, ``obj`` will be dumped as if it is of type ``type``. :param strict: a bool to determine if the serializer should be strict (i.e. only dumping stuff that is known to ``cls``). :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :param kwargs: the keyword args are passed on to the serializer function. :return: the serialized obj as a JSON type.
def dump(obj: object, cls: Optional[type] = None, *, strict: bool = False, fork_inst: Optional[type] = StateHolder, **kwargs) -> object: """ Serialize the given ``obj`` to a JSON equivalent type (e.g. dict, list, int, ...). The way objects are serialized can be finetuned by setting serializer functions for the specific type using ``set_serializer``. You can also provide ``cls`` to specify that ``obj`` needs to be serialized as if it was of type ``cls`` (meaning to only take into account attributes from ``cls``). The type ``cls`` must have a ``__slots__`` defined. Any type will do, but in most cases you may want ``cls`` to be a base class of ``obj``. :param obj: a Python instance of any sort. :param cls: if given, ``obj`` will be dumped as if it is of type ``type``. :param strict: a bool to determine if the serializer should be strict (i.e. only dumping stuff that is known to ``cls``). :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :param kwargs: the keyword args are passed on to the serializer function. :return: the serialized obj as a JSON type. """ cls_ = cls or obj.__class__ serializer = get_serializer(cls_, fork_inst) # Is this the initial call or a nested? initial = kwargs.get('_initial', True) kwargs_ = { 'fork_inst': fork_inst, '_initial': False, 'strict': strict, **kwargs } announce_class(cls_, fork_inst=fork_inst) return _do_dump(obj, serializer, cls, initial, kwargs_)
(obj: object, cls: Optional[type] = None, *, strict: bool = False, fork_inst: Optional[type] = <class 'jsons._common_impl.StateHolder'>, **kwargs) -> object
[ -0.014786607585847378, -0.002442225581035018, 0.04326622188091278, -0.033304329961538315, -0.006327271461486816, 0.0012624675873667002, -0.003682867158204317, 0.016523506492376328, -0.019409146159887314, -0.06142553687095642, 0.02975701540708542, -0.016247807070612907, -0.026944894343614578, -0.03163176029920578, -0.05058141052722931, 0.057051125913858414, -0.03108036518096924, -0.0039953249506652355, 0.009309405460953712, 0.05102252587676048, 0.022110987454652786, 0.024776069447398186, 0.019188586622476578, 0.07837177813053131, -0.018453393131494522, -0.05076520889997482, 0.021522831171751022, 0.021577971056103706, -0.06477067619562149, 0.028782881796360016, 0.0249598678201437, -0.021945567801594734, 0.0014462663093581796, 0.0068281227722764015, 0.005362328141927719, -0.01487850770354271, 0.0029246972408145666, 0.0704316720366478, -0.10336840897798538, -0.036392148584127426, -0.0167992040514946, 0.06863044947385788, -0.06535882502794266, 0.00710382079705596, 0.019960541278123856, 0.026191318407654762, 0.04473661258816719, 0.04201639071106911, -0.029701875522732735, -0.06385167688131332, 0.04925806075334549, -0.028323384001851082, -0.015374763868749142, -0.00968619342893362, 0.024463610723614693, 0.005183123983442783, 0.01843501254916191, -0.036134831607341766, -0.018582051619887352, -0.013509206473827362, 0.02227640524506569, 0.04738331213593483, 0.026632435619831085, -0.012498313561081886, -0.024647409096360207, -0.03337784856557846, -0.07090955227613449, -0.020328139886260033, -0.04646432027220726, -0.009088846854865551, -0.006690273992717266, 0.010127309709787369, 0.018894510343670845, 0.027955787256360054, 0.010136500000953674, -0.014924457296729088, 0.006993541494011879, -0.01754358969628811, -0.0384506955742836, 0.00856961589306593, 0.002784550655633211, -0.032366957515478134, -0.025290705263614655, -0.0012050304794684052, -0.021394172683358192, 0.0006019408465363085, -0.047199513763189316, 0.009906752035021782, -0.038487453013658524, -0.020989814773201942, -0.026522157713770866, 0.0638149157166481, 0.006313486490398645, 0.03506879881024361, -0.018058225512504578, -0.015852641314268112, -0.012250185012817383, 0.011910158209502697, -0.012691302224993706, 0.0400681234896183, -0.03800957649946213, -0.013757335022091866, -0.07660730928182602, -0.007857395336031914, -0.007829826325178146, -0.08910562098026276, 0.028507182374596596, 0.01643160730600357, -0.016854343935847282, -0.0024927703198045492, 0.06929212063550949, -0.012847531586885452, -0.07587211579084396, -0.0039057231042534113, 0.06620430201292038, -0.01781928725540638, 0.024206293746829033, 0.012654542922973633, -0.027294112369418144, -0.05488229915499687, -0.03471957892179489, 0.009520774707198143, -0.033322710543870926, 0.023121880367398262, 0.008606375195086002, -0.01327945850789547, 0.04153851419687271, 0.0005582886515185237, 0.002998216776177287, 0.03506879881024361, 0.016937052831053734, -0.013582726009190083, -0.0704316720366478, 0.012985380366444588, 0.058925874531269073, -0.0021596350707113743, -0.019023168832063675, -0.004514556378126144, -0.03190745785832405, -0.053889788687229156, 0.016339706256985664, -0.0413547158241272, -0.024904727935791016, 0.001798930112272501, -0.010210019536316395, -0.0366678461432457, -0.017231130972504616, 0.003963160328567028, 0.012149096466600895, 0.019556185230612755, 0.04455281049013138, 0.010623566806316376, -0.019464286044239998, 0.04392789676785469, -0.03591427206993103, -0.025033386424183846, -0.01835230365395546, -0.02869098260998726, 0.0680055320262909, -0.01920696720480919, -0.05741872265934944, -0.01883937045931816, 0.0323118157684803, -0.057051125913858414, 0.04080331698060036, 0.02337919920682907, 0.015117445960640907, -0.018462583422660828, -0.008477716706693172, 0.03755008056759834, -0.03471957892179489, -0.011662029661238194, -0.014850937761366367, 0.02284618280827999, -0.0027914431411772966, 0.047052476555109024, 0.012930240482091904, 0.030878186225891113, -0.033285949379205704, 0.004208990838378668, 0.038230136036872864, -0.05690408870577812, 0.03054734878242016, 0.018664760515093803, 0.04322946071624756, -0.04150175303220749, 0.014997976832091808, 0.001811566180549562, 0.046280521899461746, 0.026797855272889137, 0.002460605464875698, 0.02178015001118183, 0.026926513761281967, -0.05271347612142563, 0.03017975203692913, 0.014428200200200081, -0.04403817653656006, -0.027202211320400238, -0.006253751926124096, -0.01715761236846447, 0.003012001747265458, -0.0273860115557909, 0.04870666190981865, -0.05197828263044357, 0.021706629544496536, 0.018407443538308144, 0.004339947365224361, -0.00934616569429636, -0.018085794523358345, -0.03041869029402733, -0.009309405460953712, -0.03446226194500923, -0.055360179394483566, 0.03341460973024368, 0.0609108991920948, -0.018425822257995605, 0.04403817653656006, -0.0027363034896552563, -0.011294431984424591, -0.021320652216672897, 0.023562997579574585, 0.0014359275810420513, -0.0924139991402626, 0.02110009454190731, -0.06491771340370178, -0.04139147326350212, 0.010255969129502773, 0.008068764582276344, 0.011919347569346428, -0.05940375104546547, -0.05032409355044365, -0.025327464565634727, -0.03190745785832405, 0.018894510343670845, 0.012617782689630985, 0.0817536786198616, -0.006920022424310446, -0.014134122058749199, 0.0625283271074295, 0.0054863919503986835, 0.021044954657554626, -0.04256778582930565, 0.00019183992117177695, -0.06399872153997421, 0.021798528730869293, 0.04190611094236374, 0.025033386424183846, -0.0009879182325676084, -0.02804768644273281, 0.014005463570356369, 0.023838695138692856, -0.014382250607013702, -0.01542071346193552, -0.04363381862640381, -0.010568426921963692, 0.011992867104709148, 0.011018733493983746, 0.03977404534816742, -0.03856097534298897, 0.010191639885306358, 0.0005961971473880112, 0.029021820053458214, -0.02137579210102558, -0.0006886708433739841, -0.0010315703693777323, 0.023121880367398262, -0.02029138058423996, -0.05219883844256401, -0.0486331433057785, 0.0584847554564476, 0.0731886550784111, -0.049441859126091, 0.01862800121307373, 0.05804364010691643, -0.028856400400400162, -0.043302979320287704, -0.03670460730791092, -0.01549423299729824, 0.03549153357744217, 0.003689759410917759, -0.010577617213129997, -0.05271347612142563, 0.06436631828546524, -0.03988432511687279, 0.022791042923927307, -0.04742007330060005, 0.04183259233832359, 0.07668083161115646, 0.009166961535811424, -0.03273455426096916, -0.011597699485719204, 0.03582237288355827, -0.020879535004496574, -0.039296168833971024, -0.0018196074524894357, -0.014896887354552746, -0.055874813348054886, -0.0036208350211381912, 0.0013830855023115873, -0.027606569230556488, 0.0016691222554072738, -0.047052476555109024, 0.06216073036193848, 0.027955787256360054, -0.002660486614331603, -0.002207882236689329, -0.018618810921907425, -0.019978921860456467, -0.01807660423219204, 0.0011441471287980676, -0.001594453933648765, 0.02685299515724182, 0.06980675458908081, 0.06083738058805466, -0.032918352633714676, 0.0048798564821481705, 0.0010723507730290294, -0.004266427829861641, 0.0483023077249527, 0.032918352633714676, -0.07410764694213867, 0.022993221879005432, 0.029867293313145638, 0.023801935836672783, 0.03698030486702919, -0.03911237046122551, -0.02804768644273281, 0.038524214178323746, 0.06826284527778625, 0.023783555254340172, -0.05984486639499664, 0.016514316201210022, 0.034351982176303864, 0.04576588422060013, 0.004921210929751396, 0.02909533865749836, 0.00017748064419720322, -0.04569236561655998, -0.03685164451599121, -0.031061984598636627, 0.029021820053458214, 0.049441859126091, 0.018122555688023567, -0.016312137246131897, -0.014667138457298279, 0.029573215171694756, 0.014308731071650982, 0.025400985032320023, -0.0025157451163977385, 0.03470120206475258, -0.06594698131084442, 0.01335297804325819, -0.007181935478001833, 0.011211722157895565, -0.049441859126091, -0.054000068455934525, 0.047309793531894684, -0.04220018908381462, -0.07296809554100037, -0.050801970064640045, 0.009796472266316414, -0.0067224386148154736, 0.01896802894771099, -0.017378170043230057, 0.038891810923814774, 0.0146211888641119, 0.03672298789024353, -0.05991838499903679, 0.02201908826828003, -0.006079142913222313, -0.03444388136267662, -0.0018644083756953478, -0.03497689962387085, -0.023140260949730873, -0.05010353401303291, 0.06679245829582214, -0.01961132511496544, 0.031999360769987106, -0.03321243077516556, 0.018085794523358345, 0.05330163240432739, -0.03753169998526573, 0.0041147940792143345, 0.004447929095476866, 0.007990649901330471, -0.02176176942884922, 0.05286051332950592, 0.03707220405340195, -0.020217860117554665, -0.003951672930270433, -0.014906076714396477, -0.008468526415526867, 0.01741492934525013, -0.03701706603169441, -0.02121037431061268, -0.01833392307162285, 0.009961890988051891, 0.039590246975421906, -0.06907156109809875, 0.050654929131269455, 0.0038919381331652403, -0.04267806559801102, 0.03701706603169441, -0.021063335239887238, 0.0013474744046106935, 0.010669516399502754, 0.037825778126716614, -0.08065088093280792, 0.039296168833971024, -0.019703224301338196, 0.024757688865065575, -0.017120851203799248, -0.042641304433345795, -0.016937052831053734, 0.03216477856040001, -0.008840719237923622, 0.03282645344734192, 0.027018412947654724, -0.045582085847854614, -0.02163311094045639, 0.04098711535334587, 0.06337380409240723, 0.027073552832007408, 0.007338164374232292, 0.06499122828245163, -0.04925806075334549, -0.023195398971438408, -0.008822338655591011, 0.05087548866868019, -0.0027363034896552563, 0.045876163989305496, -0.03922265022993088, 0.0015255294274538755, 0.01566884107887745, 0.03885505348443985, 0.00968619342893362, 0.06892452389001846, -0.03172365948557854, 0.03319405019283295, 0.06829960644245148, -0.002727113664150238, -0.008560425601899624, -0.048008229583501816, -0.0006421467987820506, 0.008068764582276344, 0.03433360159397125, 0.020640596747398376, -0.014970406889915466, 0.03126416355371475, 0.05286051332950592, 0.07741602510213852, -0.006285916548222303, 0.043707337230443954, 0.020879535004496574, -0.05885235220193863, -0.08653244376182556, 0.04495716840028763, -0.01168040931224823, -0.039296168833971024, 0.00025430278037674725, 0.05910967290401459, -0.029076959937810898, 0.0306943878531456, 0.020989814773201942, -0.019795123487710953, 0.02525394596159458, 0.013601105660200119, 0.02615455910563469, -0.05910967290401459, -0.04874342307448387, 0.04723627492785454, 0.06807904690504074, -0.0560586117208004, 0.021945567801594734, 0.022938081994652748, 0.06006542593240738, -0.003503663232550025, -0.07631323486566544, -0.08741467446088791, -0.032899972051382065, -0.030106231570243835, 0.0029959192033857107, 0.054147105664014816, 0.010504097677767277, -0.03841393440961838, -0.020070821046829224, 0.02295646071434021, 0.018765849992632866, 0.02178015001118183, 0.03767874091863632, -0.0027018412947654724, 0.0017633190145716071, -0.06208721175789833, 0.0021699736826121807, 0.009897561743855476, 0.02001568116247654, -0.024665789678692818, 0.022882942110300064, -0.029334276914596558, -0.07881289720535278, 0.005077439825981855, 0.02562154270708561, -0.044111695140600204, 0.025419363752007484, -0.07473256438970566, -0.06951268017292023, 0.03497689962387085, 0.05576453357934952, -0.029573215171694756, 0.05087548866868019, -0.013490826822817326, 0.013380547985434532, -0.015714790672063828, 0.04098711535334587, -0.016937052831053734, 0.05528665706515312, 0.032642655074596405, -0.003517448203638196, 0.04032544046640396, -0.08168015629053116, -0.018150124698877335, 0.028249865397810936, 0.046537838876247406, 0.006189422216266394, -0.004714437294751406, 0.024867968633770943, -0.0015772228362038732, 0.0167992040514946, 0.033561646938323975, 0.017019761726260185, 0.024629030376672745, -0.0264118779450655, -0.010715465992689133, -0.03413142263889313, 0.0029545645229518414, 0.04128119349479675, 0.02348947711288929, 0.04936834052205086, 0.05208855867385864, -0.08050384372472763, 0.022607244551181793, 0.015852641314268112, 0.007062466349452734, 0.0006002177251502872, 0.018407443538308144, -0.011257672682404518, 0.029481315985322, 0.04311918094754219, -0.0539633072912693, 0.01843501254916191, 0.006676489021629095, -0.07149770855903625, 0.06627782434225082, 0.031558241695165634, -0.05366922914981842, 0.03111712448298931, 0.03108036518096924, 0.03760521858930588, 0.028213104233145714, -0.020897915586829185, 0.005238263867795467, 0.05661001056432724, 0.001989621203392744, -0.025603163987398148, -0.01568722166121006, -0.01935400627553463, 0.07866585999727249, 0.04337650164961815, 0.0018356898799538612, 0.03001433238387108, -0.02308512106537819, 0.10491231828927994, 0.05804364010691643, 0.0035404230002313852, 0.005366922821849585, 0.0072692399844527245, 0.021596351638436317, 0.054404422640800476, 0.026908135041594505, -0.05050789192318916, 0.01496121659874916, 0.02628321759402752, -0.013702195137739182, -0.0523458793759346, 0.0010539708891883492, 0.002628321759402752, 0.0044111693277955055, -0.038634493947029114, -0.02040165849030018, -0.010458148084580898, -0.008689085021615028, 0.08785579353570938, 0.019519425928592682, 0.025162046775221825, 0.04418521374464035, -0.020750876516103745, -0.005247453693300486, -0.04947861656546593, 0.04764063283801079, -0.000928183610085398, -0.03190745785832405, 0.023415958508849144, 0.015383954159915447, -0.08565020561218262, 0.05377950891852379, 0.022239645943045616, -0.05741872265934944, -0.007388709113001823, 0.004611050710082054, -0.01515420526266098, -0.031999360769987106, 0.010623566806316376, 0.05672028660774231, -0.05150040611624718, -0.043450020253658295, -0.023654896765947342, -0.026503777131438255, 0.005449632182717323, -0.02097143605351448, 0.00677757803350687, 0.017874427139759064, 0.038119856268167496, 0.004714437294751406, -0.014097362756729126, 0.028543943539261818, 0.039185889065265656, -0.06829960644245148, 0.0008138837292790413, 0.015558562241494656, -0.04984621703624725, -0.0015783716225996614, 0.0014370763674378395, 0.0012544263154268265, -0.015714790672063828, -0.02040165849030018, -0.057602521032094955, -0.008137688972055912, 0.007149770390242338, -0.04764063283801079, -0.013794094324111938, -0.005118794739246368, -0.029701875522732735, -0.004615645855665207, 0.028782881796360016, -0.048927221447229385, -0.0547720231115818, -0.004654702730476856, -0.006345651112496853, 0.013922753743827343, -0.02591562084853649, 0.02137579210102558, 0.018931269645690918, -0.041685551404953, -0.024206293746829033, 0.0006300850072875619, 0.07006407529115677, 0.0366678461432457, 0.0006318081286735833, 0.04120767489075661, 0.06271212548017502, -0.02975701540708542, 0.02282780222594738, -0.06072710081934929, 0.017681438475847244, 0.01586182974278927, 0.050250571221113205, -0.07837177813053131, -0.06524854898452759, -0.007250859867781401, -0.06874072551727295, -0.06642486155033112, 0.032109636813402176, -0.008096334524452686, 0.02538260444998741, -0.0843268558382988, 0.01382166426628828, -0.02269914373755455, 0.013738955371081829, 0.012103146873414516, -0.009465634822845459, -0.021320652216672897, -0.03591427206993103, 0.004567398224025965, -0.006161852274090052, -0.0331205315887928, 0.037458181381225586, -0.021669870242476463, -0.016100767999887466, 0.015889400616288185, -0.05951403081417084, 0.04076655954122543, -0.011064684018492699, -0.053853027522563934, -0.01733222045004368, 0.018379872664809227, -0.03400276601314545, 0.005192314274609089, 0.02163311094045639, 0.06061682105064392, -0.014952026307582855, 0.0024835802614688873, -0.02282780222594738, 0.05741872265934944, -0.024353330954909325, 0.06646162271499634, -0.014924457296729088, -0.05058141052722931, 0.026522157713770866, 0.08462093770503998, 0.001292334869503975, -0.05793336033821106, 0.07131391018629074, 0.036502428352832794, -0.004622538108378649, -0.04117091745138168, 0.007324379403144121, 0.012470743618905544, 0.016082389280200005, -0.04253102466464043, 0.0032670225482434034, -0.06499122828245163, 0.006115902680903673, 0.021798528730869293, -0.04580264538526535, 0.06855692714452744, 0.03595103323459625, 0.03245885670185089, 0.00808714423328638, 0.010384628549218178, -0.00874881912022829, 0.02242344431579113, 0.02589724026620388, -0.056132134050130844, -0.07719546556472778, 0.037458181381225586, -0.012856720946729183, -0.018196074292063713, -0.02962835505604744, -0.02323216013610363, 0.024261431768536568, -0.012498313561081886, -0.0249598678201437, 0.0483023077249527, 0.039185889065265656, -0.01240641437470913, -0.022993221879005432, 0.06374140083789825, 0.05576453357934952, -0.017828477546572685, -0.0017920376267284155, 0.01561370212584734, 0.016449986025691032, -0.01707490161061287, 0.04881694167852402, 0.10380952060222626, 0.015760740265250206, -0.013380547985434532, 0.011763119138777256, 0.02589724026620388, -0.03663108870387077, -0.09072305262088776, -0.053485430777072906, 0.028194725513458252, -0.016808394342660904, 0.04161203280091286, 0.0421634279191494, -0.01907830871641636, -0.02295646071434021 ]
44,056
jsons._dump_impl
dumpb
Extend ``json.dumps``, allowing any Python instance to be dumped to bytes. Any extra (keyword) arguments are passed on to ``json.dumps``. :param obj: the object that is to be dumped to bytes. :param encoding: the encoding that is used to transform to bytes. :param jdkwargs: extra keyword arguments for ``json.dumps`` (not ``jsons.dumps``!) :param args: extra arguments for ``jsons.dumps``. :param kwargs: Keyword arguments that are passed on through the serialization process. passed on to the serializer function. :return: ``obj`` as ``bytes``.
def dumpb(obj: object, encoding: str = 'utf-8', jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> bytes: """ Extend ``json.dumps``, allowing any Python instance to be dumped to bytes. Any extra (keyword) arguments are passed on to ``json.dumps``. :param obj: the object that is to be dumped to bytes. :param encoding: the encoding that is used to transform to bytes. :param jdkwargs: extra keyword arguments for ``json.dumps`` (not ``jsons.dumps``!) :param args: extra arguments for ``jsons.dumps``. :param kwargs: Keyword arguments that are passed on through the serialization process. passed on to the serializer function. :return: ``obj`` as ``bytes``. """ jdkwargs = jdkwargs or {} dumped_dict = dump(obj, *args, **kwargs) dumped_str = json.dumps(dumped_dict, **jdkwargs) return dumped_str.encode(encoding=encoding)
(obj: object, encoding: str = 'utf-8', jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> bytes
[ -0.01851745694875717, -0.05000779405236244, -0.01571851223707199, 0.004562722519040108, -0.01928161270916462, -0.03834997117519379, -0.019512636587023735, -0.01250194851309061, -0.017842156812548637, -0.09425776451826096, 0.020667755976319313, 0.010573787614703178, -0.03109937533736229, -0.0011973259970545769, -0.03831443190574646, 0.03891864791512489, -0.047768641263246536, 0.01947709545493126, 0.08658066391944885, 0.05267345532774925, -0.015585229732096195, 0.07279030978679657, 0.03326744586229324, 0.10328546911478043, -0.0033831677865236998, 0.005784483626484871, -0.0034986797254532576, 0.026852089911699295, -0.05189152806997299, 0.0636204332113266, 0.018872877582907677, -0.07620235532522202, 0.04627586901187897, 0.002456850605085492, -0.010493817739188671, -0.0002757292822934687, 0.022960225120186806, 0.07861921936273575, -0.07513608783483505, -0.05089635029435158, 0.0003870761429425329, 0.0693427249789238, -0.007450521923601627, -0.014136887155473232, 0.0975276380777359, -0.03513341024518013, -0.003025525016710162, 0.05278008431196213, -0.028682509437203407, 0.0205789003521204, 0.045884907245635986, -0.04176201671361923, 0.021502995863556862, -0.03177467733621597, 0.012750743888318539, 0.04680900275707245, -0.02182287536561489, -0.020863238722085953, -0.021005406975746155, 0.04208189621567726, -0.031525880098342896, 0.048088520765304565, 0.039522863924503326, -0.078690305352211, -0.018997276201844215, -0.026674378663301468, -0.07030235975980759, 0.0021203109063208103, -0.022640345618128777, -0.02317347750067711, 0.028806908056139946, 0.004389454610645771, -0.008734481409192085, 0.030210820958018303, -0.0215563103556633, 0.016518210992217064, -0.027971666306257248, -0.005971080157905817, -0.03545328974723816, 0.01700691506266594, 0.062376461923122406, -0.049190327525138855, -0.0014461209066212177, -0.028806908056139946, 0.01818869262933731, -0.020667755976319313, -0.04272165521979332, 0.043219245970249176, 0.027882810682058334, -0.02278251387178898, -0.0018770694732666016, 0.004913701210170984, -0.016136132180690765, 0.07083549350500107, -0.04169093444943428, -0.050754182040691376, 0.005775598343461752, 0.048728279769420624, -0.025377091020345688, 0.054841525852680206, 0.008925520814955235, -0.056583091616630554, -0.0860830694437027, -0.01804652251303196, -0.005544574465602636, -0.012697430327534676, 0.018677396699786186, -0.032361119985580444, -0.00571339949965477, 0.0013350517256185412, 0.03774575516581535, 0.00019895269360858947, -0.03378280624747276, -0.020152395591139793, 0.02415088564157486, 0.03902527317404747, 0.048728279769420624, -0.01830420456826687, 0.004767090082168579, -0.03667949140071869, 0.00535797793418169, 0.0075971330516040325, 0.01857076957821846, -0.0020236808340996504, 0.05907104164361954, 0.0038541010580956936, 0.02960660494863987, 0.02297799475491047, -0.014545622281730175, 0.03635961189866066, 0.05388189107179642, 0.0017460078233852983, -0.0862252414226532, 0.010973636992275715, 0.06909392774105072, 0.000009171885722025763, 0.03085057996213436, -0.003338739974424243, 0.000623653526417911, -0.04421442747116089, 0.034049373120069504, -0.029393352568149567, 0.04993671178817749, 0.005442390684038401, -0.012279810383915901, -0.011631166562438011, -0.004125109873712063, -0.054130684584379196, -0.02973100356757641, -0.00357198528945446, 0.031152687966823578, 0.01643824204802513, -0.04051804170012474, 0.010156167671084404, -0.046133700758218765, -0.0009718554792925715, 0.004484974313527346, -0.036643948405981064, 0.004527180455625057, 0.01156008243560791, 0.01617167517542839, -0.004629364237189293, -0.003749696072191, -0.04186864569783211, 0.04318370297551155, 0.03328521549701691, 0.02091655135154724, 0.008969948627054691, -0.020543359220027924, -0.0010351649252697825, -0.02804275043308735, 0.01278628595173359, -0.050931889563798904, 0.055552370846271515, 0.051713816821575165, 0.06735236197710037, -0.025341548025608063, 0.02765178680419922, -0.059390921145677567, 0.03127708658576012, 0.06024393439292908, -0.043787918984889984, 0.05764935538172722, -0.009765204042196274, 0.02928672544658184, -0.05960417538881302, -0.0007897019968368113, 0.038740936666727066, 0.04798189178109169, 0.024399681016802788, 0.022178297862410545, 0.020294563844799995, 0.030210820958018303, -0.021787334233522415, -0.032627686858177185, -0.0027256382163614035, -0.015407519415020943, -0.04169093444943428, 0.011720022186636925, 0.05992405489087105, 0.01817980594933033, -0.003869650885462761, 0.026016848161816597, -0.03213009610772133, 0.01477664615958929, 0.01689140312373638, -0.008014753460884094, -0.043539125472307205, 0.023475585505366325, -0.08508788794279099, 0.03276985511183739, -0.02317347750067711, -0.06255417317152023, -0.01849968545138836, 0.010440504178404808, -0.010049541480839252, 0.019708119332790375, -0.0041650948114693165, 0.02045450359582901, -0.018082065507769585, 0.0016604844713583589, 0.00425395043566823, -0.07385657727718353, 0.029855400323867798, -0.025288235396146774, -0.0012073222314938903, 0.03628852963447571, -0.02128974348306656, 0.03221895173192024, -0.07207946479320526, -0.03838551416993141, 0.0020869902800768614, -0.00964080635458231, 0.000558955711312592, 0.02319124899804592, 0.07076440751552582, -0.01851745694875717, -0.06472223997116089, -0.02688763104379177, -0.0714397057890892, 0.039522863924503326, -0.045742738991975784, 0.0244885366410017, -0.036466240882873535, 0.025892451405525208, 0.0037674671038985252, 0.006375371944159269, 0.014403454028069973, -0.0394873209297657, -0.00781927164644003, -0.015576343983411789, -0.011577853001654148, 0.000054111525969346985, -0.046915628015995026, -0.02726082317531109, -0.023546669632196426, 0.056654177606105804, 0.012164298444986343, -0.04862165078520775, 0.05118068680167198, -0.0028544783126562834, 0.019690347835421562, -0.06539754569530487, 0.016260530799627304, 0.001108470605686307, 0.04098008945584297, 0.0027900582645088434, -0.04837285727262497, -0.03735479339957237, 0.06386923044919968, 0.03682165965437889, -0.05935537815093994, 0.03253883123397827, 0.03650178015232086, -0.058466825634241104, -0.04680900275707245, -0.03689274564385414, -0.02278251387178898, -0.008370175026357174, -0.03515117987990379, -0.009658577851951122, -0.03799455240368843, 0.04680900275707245, -0.020756611600518227, 0.01810872182250023, -0.03799455240368843, 0.01610947586596012, 0.025412632152438164, -0.01068041380494833, -0.014838844537734985, -0.004238400608301163, 0.02559034340083599, -0.0187662523239851, 0.005206923931837082, -0.002734523732215166, 0.003938513807952404, 0.047768641263246536, -0.02415088564157486, 0.04592045024037361, -0.0018848442705348134, -0.010467161424458027, 0.020561130717396736, 0.10655534267425537, 0.07442525029182434, -0.01864185370504856, 0.03154365345835686, 0.003551993053406477, -0.03895419090986252, -0.08004090934991837, -0.006099920254200697, -0.00895662046968937, -0.0017904355190694332, 0.07140416651964188, 0.06141682341694832, -0.06212766468524933, -0.05910658463835716, 0.020241251215338707, 0.012297581881284714, 0.0015794039936736226, -0.00589111028239131, -0.03170359134674072, -0.025874679908156395, -0.01317724958062172, -0.016838090494275093, 0.061914414167404175, -0.02583913877606392, -0.010173938237130642, 0.027900582179427147, 0.03500901162624359, -0.004775975365191698, 0.02013462409377098, -0.0075260489247739315, 0.05907104164361954, 0.00501588499173522, 0.001958149950951338, 0.018784021958708763, -0.003785238368436694, 0.012555262073874474, -0.04407225921750069, -0.01382589340209961, 0.041264429688453674, 0.0349556989967823, 0.0188373364508152, 0.011275744996964931, -0.012421978637576103, -0.008059181272983551, -0.021840646862983704, -0.006726350635290146, 0.0019403789192438126, 0.01467890478670597, -0.02130751498043537, 0.0215563103556633, 0.0020414518658071756, 0.02319124899804592, -0.0339072048664093, -0.0214852262288332, 0.04208189621567726, -0.022960225120186806, -0.010858125053346157, -0.0015916215488687158, -0.02850479818880558, -0.005562345497310162, 0.007290582172572613, -0.04556502774357796, 0.028398172929883003, 0.0346713624894619, 0.02875359356403351, -0.012031015940010548, 0.003041074611246586, 0.00886332243680954, -0.008090279996395111, 0.006455341819673777, -0.027225282043218613, 0.0005128619959577918, -0.012732972390949726, -0.013559327460825443, -0.02779395692050457, -0.005260237026959658, -0.026159018278121948, 0.039522863924503326, 0.012182069942355156, -0.05583670735359192, -0.010884781368076801, -0.04169093444943428, 0.04609816148877144, 0.03141925483942032, 0.03197015821933746, 0.00902326125651598, -0.02875359356403351, -0.03575539588928223, -0.0410156324505806, -0.004133995622396469, -0.022835826501250267, 0.012031015940010548, -0.05480598658323288, -0.035293348133563995, 0.02221383899450302, 0.028220461681485176, -0.039700575172901154, 0.03987828642129898, 0.004509409423917532, -0.046133700758218765, -0.027936125174164772, 0.002534599043428898, 0.001349490717984736, 0.028149377554655075, -0.01506098359823227, -0.05668971687555313, 0.018144264817237854, 0.05221140757203102, 0.018606312572956085, -0.00623320322483778, -0.09063246846199036, 0.013408273458480835, 0.0060777063481509686, -0.01421685703098774, -0.06898730248212814, -0.016322730109095573, -0.010245022363960743, -0.030530700460076332, -0.0029122342821210623, 0.039451777935028076, 0.0011173561215400696, -0.005415733903646469, 0.016447126865386963, -0.01334607508033514, 0.015674084424972534, -0.021662935614585876, 0.061132486909627914, 0.026674378663301468, 0.06038610264658928, -0.08132042735815048, -0.00017576701065991074, -0.008556771092116833, 0.03842105716466904, 0.013559327460825443, 0.03239666298031807, -0.022711429744958878, 0.0661439299583435, 0.040091536939144135, -0.004909258335828781, 0.0035742067266255617, -0.025661427527666092, 0.014012490399181843, -0.012697430327534676, 0.0348135307431221, 0.019725888967514038, -0.02422196976840496, 0.04193972796201706, 0.04222406446933746, 0.07168850302696228, -0.024826187640428543, 0.06077706441283226, -0.05192707106471062, -0.058146946132183075, -0.08871319144964218, 0.04890599101781845, -0.031579192727804184, -0.04513852298259735, 0.012839599512517452, 0.04044695943593979, -0.06816983222961426, 0.036643948405981064, -0.029055701568722725, -0.012475292198359966, 0.023795465007424355, -0.049652375280857086, 0.04798189178109169, -0.00671746488660574, 0.004034033045172691, 0.05573008209466934, 0.10243245959281921, -0.029979797080159187, 0.013852550648152828, 0.07236380130052567, 0.028522569686174393, -0.00571339949965477, -0.06045718491077423, -0.0429704524576664, -0.04719996452331543, -0.012617460452020168, 0.010307221673429012, 0.07051561027765274, 0.00801919586956501, 0.02239155024290085, 0.007948111742734909, 0.019246069714426994, 0.027509618550539017, 0.05370417982339859, 0.044321052730083466, -0.027811726555228233, 0.0633360967040062, -0.07577584683895111, -0.00785481370985508, 0.004598264582455158, -0.004087346605956554, -0.04279274120926857, 0.00289890612475574, -0.011542310938239098, -0.034315939992666245, 0.001532754977233708, 0.014065803028643131, -0.025803595781326294, -0.02973100356757641, -0.04201081395149231, -0.07975657284259796, 0.048728279769420624, 0.03689274564385414, -0.0272785946726799, 0.03735479339957237, -0.04193972796201706, 0.00771264499053359, -0.019103901460766792, 0.04371683672070503, -0.039380695670843124, 0.023297874256968498, 0.006748564541339874, 0.0056201014667749405, 0.0583246573805809, -0.03232558071613312, -0.015700742602348328, 0.049652375280857086, 0.046204786747694016, -0.03959394618868828, 0.030157508328557014, -0.020205708220601082, -0.0057533844374120235, 0.01250194851309061, -0.003551993053406477, 0.06465116143226624, -0.018588541075587273, -0.016713693737983704, -0.0036941615398973227, -0.013230563141405582, 0.021520767360925674, 0.04382346197962761, -0.014492308720946312, 0.042437318712472916, 0.02681654691696167, -0.04460538923740387, 0.037639129906892776, 0.022373778745532036, 0.05086080729961395, -0.055481284856796265, -0.011799991130828857, 0.023742152377963066, -0.010013998486101627, 0.03547105938196182, 0.0011673372937366366, -0.007397208362817764, 0.023280104622244835, -0.0583246573805809, 0.043859004974365234, 0.08821559697389603, -0.03689274564385414, -0.036466240882873535, -0.022320466116070747, 0.03577316552400589, 0.01571851223707199, -0.0006569743272848427, 0.008747809566557407, 0.0934758335351944, -0.011080263182520866, -0.008485686965286732, -0.015265350230038166, 0.04225960746407509, 0.02662106603384018, 0.02916232869029045, -0.004571608267724514, 0.002907791640609503, -0.03259214386343956, 0.07797946035861969, -0.01392363477498293, -0.016598181799054146, -0.00467379204928875, 0.02143191173672676, -0.02207167074084282, 0.05843128263950348, -0.018393058329820633, -0.06838308274745941, -0.02654998190701008, -0.017442306503653526, -0.046524666249752045, -0.04414334148168564, 0.032378893345594406, -0.0014705561334267259, 0.04410779848694801, 0.005686742719262838, -0.023848777636885643, -0.011364600621163845, 0.0013828114606440067, 0.06411802768707275, -0.0067041367292404175, -0.011257973499596119, 0.06625055521726608, -0.0011312398128211498, -0.05309996381402016, -0.026461126282811165, 0.03305419161915779, -0.03696382790803909, 0.02402648888528347, 0.02973100356757641, 0.006402028724551201, -0.01993914321064949, 0.06756561249494553, 0.1125975102186203, -0.09127222746610641, -0.0328587107360363, 0.03044184483587742, -0.003649733727797866, -0.042437318712472916, 0.047555387020111084, 0.012413093820214272, -0.022622574120759964, -0.06596621870994568, -0.04368129372596741, -0.01960149221122265, -0.03253883123397827, -0.043859004974365234, 0.010635985992848873, 0.023617753759026527, 0.04599153250455856, -0.002185841789469123, -0.0339072048664093, -0.005899995565414429, -0.011720022186636925, -0.033534012734889984, 0.016784777864813805, -0.0029499977827072144, -0.025288235396146774, -0.009516408666968346, 0.02358221262693405, 0.031792446970939636, 0.0037274821661412716, 0.007614904083311558, -0.06888067722320557, -0.03163250908255577, -0.0068862903863191605, -0.0560855008661747, 0.019921371713280678, 0.018819564953446388, 0.006904061418026686, -0.03877647966146469, 0.03070841170847416, -0.043539125472307205, -0.007126199547201395, -0.028949076309800148, -0.02804275043308735, -0.011435684747993946, -0.040482502430677414, -0.012404208071529865, -0.012066558003425598, -0.007437193300575018, 0.007539377082139254, -0.0008169139618985355, 0.0692005529999733, 0.050754182040691376, 0.041584309190511703, 0.05896441638469696, 0.018010981380939484, -0.009276499040424824, 0.006215432193130255, -0.061274655163288116, -0.016136132180690765, -0.0345291905105114, 0.036643948405981064, -0.04830177128314972, -0.05779152363538742, -0.006024393253028393, -0.026958715170621872, 0.005766712594777346, 0.029695460572838783, -0.03667949140071869, -0.02715419791638851, -0.05715176463127136, 0.0121376421302557, -0.058395739644765854, 0.010413847863674164, 0.05590778961777687, -0.055552370846271515, 0.022622574120759964, -0.041335511952638626, 0.004062911029905081, 0.0004376126453280449, -0.053988516330718994, 0.007708202116191387, -0.020792154595255852, 0.0272075105458498, 0.009223186410963535, -0.007539377082139254, 0.0009285385021939874, -0.03916744142770767, -0.027776185423135757, 0.0014561171410605311, 0.0006730793393217027, 0.01522092241793871, 0.030992748215794563, 0.0075349342077970505, 0.05317104607820511, -0.03739033639431, -0.021893959492444992, -0.021343057975172997, 0.020490044727921486, 0.03031744807958603, 0.029304496943950653, 0.0187662523239851, 0.03026413545012474, -0.0562276691198349, 0.06625055521726608, 0.013719267211854458, -0.07147525250911713, 0.01733568124473095, 0.04019816592335701, -0.053917430341243744, -0.027296366170048714, 0.00964080635458231, -0.02272920124232769, 0.05007888004183769, -0.02246263436973095, 0.004882602021098137, -0.0580403208732605, 0.036466240882873535, 0.02708311378955841, -0.04862165078520775, 0.055552370846271515, 0.0014650027733296156, -0.015567459166049957, 0.004147323779761791, -0.019530408084392548, 0.01642047055065632, 0.036199674010276794, 0.03266322985291481, 0.005864453501999378, -0.03660840913653374, 0.00715729920193553, 0.03486684337258339, -0.031650278717279434, -0.04794635251164436, -0.018535228446125984, 0.03941623866558075, -0.010138396173715591, 0.008587870746850967, 0.04524514824151993, 0.014838844537734985, 0.06248308718204498, -0.005415733903646469, 0.038278888911008835, 0.06937826424837112, -0.01825089007616043, -0.00960526429116726, 0.027367450296878815, 0.029304496943950653, -0.06578850746154785, -0.01016505341976881, 0.05992405489087105, 0.03689274564385414, -0.052566830068826675, 0.06038610264658928, 0.00211697886697948, -0.01993914321064949, -0.10243245959281921, -0.013674839399755001, 0.018019866198301315, -0.02109426259994507, 0.02804275043308735, 0.05796923488378525, -0.007899241521954536, -0.009232072159647942 ]
44,057
jsons._dump_impl
dumps
Extend ``json.dumps``, allowing any Python instance to be dumped to a string. Any extra (keyword) arguments are passed on to ``json.dumps``. :param obj: the object that is to be dumped to a string. :param jdkwargs: extra keyword arguments for ``json.dumps`` (not ``jsons.dumps``!) :param args: extra arguments for ``jsons.dumps``. :param kwargs: Keyword arguments that are passed on through the serialization process. passed on to the serializer function. :return: ``obj`` as a ``str``.
def dumps(obj: object, jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> str: """ Extend ``json.dumps``, allowing any Python instance to be dumped to a string. Any extra (keyword) arguments are passed on to ``json.dumps``. :param obj: the object that is to be dumped to a string. :param jdkwargs: extra keyword arguments for ``json.dumps`` (not ``jsons.dumps``!) :param args: extra arguments for ``jsons.dumps``. :param kwargs: Keyword arguments that are passed on through the serialization process. passed on to the serializer function. :return: ``obj`` as a ``str``. """ jdkwargs = jdkwargs or {} dumped = dump(obj, *args, **kwargs) return json.dumps(dumped, **jdkwargs)
(obj: object, jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> str
[ -0.03351692110300064, -0.05595837160944939, 0.02569146454334259, -0.009191734716296196, 0.006953944452106953, -0.022731954231858253, 0.02529202215373516, -0.010612481273710728, -0.00142869062256068, -0.07306180894374847, 0.00557858869433403, 0.026635603979229927, -0.05577680468559265, -0.003994432743638754, -0.03703928738832474, 0.039000190794467926, -0.033280886709690094, -0.00559220602735877, 0.054033782333135605, 0.018210982903838158, -0.009759125299751759, 0.0575561448931694, 0.04481027275323868, 0.07981602847576141, -0.026690073311328888, 0.0011847123969346285, 0.018292685970664024, 0.021460996940732002, -0.041070032864809036, 0.054578475654125214, 0.011574776843190193, -0.0716455951333046, 0.020916301757097244, 0.004455154296010733, -0.017584582790732384, 0.011574776843190193, -0.01468861848115921, 0.065617635846138, -0.07930764555931091, -0.03870968520641327, 0.006304848939180374, 0.07251711189746857, -0.0031183811370283365, -0.015659991651773453, 0.06017068400979042, -0.015768930315971375, -0.0036993895191699266, 0.0403800830245018, -0.005424258299171925, -0.028033655136823654, 0.047933194786310196, -0.04662592336535454, 0.009577560238540173, -0.043430376797914505, -0.012518915347754955, 0.03965382277965546, 0.010203960351645947, 0.019300373271107674, -0.020062945783138275, 0.01786600798368454, -0.017384860664606094, 0.03190099075436592, 0.04270411655306816, -0.02498336136341095, -0.042014170438051224, -0.061695829033851624, -0.07349756360054016, -0.002480633556842804, -0.02463838830590248, 0.017639052122831345, 0.02543727494776249, -0.006318466272205114, -0.01039460301399231, 0.031120263040065765, 0.024801796302199364, 0.019645346328616142, -0.026472195982933044, -0.012491680681705475, -0.04455608129501343, 0.0035768330562859774, 0.050293538719415665, -0.05283545330166817, 0.001423016656190157, -0.03892756253480911, -0.004924953915178776, -0.03342613950371742, -0.07349756360054016, 0.009831751696765423, 0.015042671002447605, -0.0026168073527514935, -0.0017328121466562152, 0.02302245795726776, -0.013662775978446007, 0.03943594545125961, -0.0444108285009861, -0.047969505190849304, -0.0028709985781461, 0.010340133681893349, 0.03638565167784691, 0.024892577901482582, 0.04208679497241974, -0.030357688665390015, -0.09826304763555527, -0.008034257218241692, -0.019954007118940353, -0.054687414318323135, 0.023131396621465683, -0.021333903074264526, -0.008864916861057281, 0.018701208755373955, 0.05138292908668518, -0.005537736229598522, -0.03589542582631111, -0.03487865999341011, 0.03351692110300064, 0.012400898151099682, 0.045500218868255615, 0.010821281932294369, 0.007294378709048033, -0.056648317724466324, -0.022169101983308792, 0.016277313232421875, -0.010240272618830204, 0.024456823244690895, 0.022532232105731964, -0.020807363092899323, 0.00744417030364275, 0.02024451084434986, 0.0023331118281930685, -0.01297282800078392, 0.05334383249282837, 0.0024307030253112316, -0.054941605776548386, 0.0038718762807548046, 0.07251711189746857, 0.01973612979054451, 0.02538280375301838, 0.009368760511279106, 0.011647403240203857, -0.02492889203131199, 0.029250141233205795, -0.045645471662282944, -0.005165528040379286, 0.03133814036846161, -0.008233978413045406, -0.020571328699588776, 0.005215458106249571, -0.006436483468860388, 0.01556920912116766, 0.01440719235688448, 0.051201365888118744, -0.00905556045472622, -0.017657209187746048, -0.0025509900879114866, -0.029032263904809952, -0.025455430150032043, -0.017121590673923492, -0.02952248975634575, 0.021188650280237198, -0.004271319601684809, 0.02690795250236988, -0.029758524149656296, -0.00399897200986743, -0.04702536761760712, 0.0459359772503376, 0.01385341864079237, 0.04128791019320488, -0.0029231985099613667, -0.00817496981471777, 0.03099316731095314, -0.015396722592413425, 0.032137028872966766, -0.016014043241739273, 0.02558252587914467, 0.041868917644023895, 0.06656177341938019, -0.01722145266830921, 0.061042193323373795, -0.0565393790602684, 0.019100651144981384, 0.056866198778152466, -0.06445562094449997, 0.032028086483478546, 0.012482602149248123, 0.053380146622657776, -0.0520002506673336, 0.004321250133216381, 0.013381349854171276, 0.026472195982933044, 0.024547604843974113, 0.009046481922268867, 0.015378566458821297, 0.024148162454366684, -0.03511469438672066, -0.006994796451181173, 0.021170493215322495, -0.035768330097198486, -0.05367065221071243, 0.009450464509427547, 0.017194217070937157, -0.017330391332507133, 0.022804580628871918, 0.006495492532849312, -0.014543366618454456, 0.03108394891023636, -0.002469285624101758, 0.01902802474796772, -0.05272651091217995, -0.0023603467270731926, -0.04553653299808502, 0.05138292908668518, -0.011084550991654396, -0.06797797977924347, -0.0023206293117254972, 0.01796586997807026, 0.005456032231450081, 0.026762699708342552, 0.012437211349606514, -0.008292987011373043, -0.02211463265120983, -0.031120263040065765, -0.018646737560629845, -0.0514918677508831, 0.029595116153359413, -0.03458815813064575, -0.011574776843190193, 0.05123768001794815, -0.029958246275782585, 0.028396785259246826, -0.054687414318323135, -0.041759978979825974, -0.036712467670440674, 0.004834171384572983, 0.03193730488419533, 0.015687227249145508, 0.0752405896782875, -0.027289237827062607, -0.07335230708122253, 0.033789269626140594, -0.06086063012480736, 0.030975010246038437, -0.04865945503115654, 0.004491467494517565, -0.048477888107299805, 0.0539974682033062, 0.026726385578513145, 0.00971373450011015, 0.01552381832152605, -0.022586701437830925, -0.008946621790528297, 0.07062883675098419, 0.0070991963148117065, -0.003921806812286377, -0.03099316731095314, -0.056648317724466324, -0.019354842603206635, 0.054287973791360855, 0.06470981240272522, -0.04698905348777771, 0.025146769359707832, -0.013653697445988655, 0.025310179218649864, -0.06667071580886841, 0.02852388098835945, -0.023240335285663605, 0.02438419684767723, 0.017294079065322876, -0.036113303154706955, -0.05770139768719673, 0.04451976716518402, 0.06536344438791275, -0.0893300399184227, 0.02761605568230152, 0.03402530401945114, -0.038637056946754456, -0.00827937014400959, -0.026326943188905716, -0.04749743640422821, 0.011992376297712326, -0.017502877861261368, -0.00802517868578434, -0.029794836416840553, 0.05141924321651459, -0.01630454882979393, 0.01826545223593712, -0.021388372406363487, 0.02554621361196041, 0.031628645956516266, -0.007362465839833021, 0.02443866617977619, 0.02892332524061203, 0.03275435045361519, -0.026435881853103638, 0.03244568780064583, 0.00022482869098894298, -0.005460571032017469, 0.03426133841276169, -0.029050420969724655, 0.03918175399303436, -0.0027007812168449163, 0.0013560645747929811, -0.020861832424998283, 0.07208135724067688, 0.03691219165921211, -0.009958847425878048, -0.021787814795970917, -0.008256673812866211, -0.03286328911781311, -0.0590449795126915, -0.012137629091739655, -0.01529686152935028, -0.02538280375301838, 0.016622288152575493, 0.03193730488419533, -0.029595116153359413, -0.025782248005270958, -0.013009141199290752, 0.007707439363002777, 0.009495856240391731, 0.010530777275562286, -0.040597960352897644, -0.009028325788676739, -0.007984326221048832, -0.01599588803946972, 0.07342493534088135, -0.03870968520641327, -0.042885683476924896, 0.037729233503341675, 0.06332991272211075, 0.005619440693408251, -0.0269987341016531, -0.045645471662282944, 0.05548630282282829, 0.018102042376995087, 0.01236458495259285, -0.02336743101477623, 0.017893243581056595, 0.015977730974555016, -0.08736913651227951, 0.008188587613403797, 0.05563155561685562, 0.03304485231637955, -0.01922774687409401, 0.003411154728382826, 0.008692430332303047, 0.0383465550839901, 0.028941480442881584, 0.014525210484862328, 0.027942873537540436, -0.00822943914681673, -0.047170620411634445, 0.009958847425878048, 0.0005098008550703526, -0.014180236496031284, -0.03150155022740364, -0.01554197445511818, 0.05269020050764084, 0.006037040613591671, -0.033135633915662766, -0.05530473589897156, -0.04321249946951866, -0.02614537812769413, -0.0031932767014950514, -0.01700357347726822, 0.026018282398581505, 0.03211887180805206, 0.05218181759119034, -0.042921993881464005, 0.05577680468559265, -0.00782545655965805, -0.03831024095416069, 0.013009141199290752, -0.037729233503341675, -0.013236097991466522, -0.05294439196586609, 0.004525510594248772, 0.01152938511222601, 0.01057616900652647, -0.043176185339689255, 0.008342917077243328, 0.013735401444137096, -0.054687414318323135, 0.021333903074264526, -0.024402352049946785, 0.0413968488574028, 0.030847914516925812, -0.0005123540759086609, 0.02690795250236988, -0.01762089505791664, -0.0327906608581543, -0.06191370636224747, -0.01973612979054451, -0.008610726334154606, 0.01206500269472599, -0.03427949547767639, -0.04840526357293129, 0.019318528473377228, 0.025600682944059372, -0.06652545928955078, 0.08373783528804779, 0.006241301074624062, -0.045391280204057693, 0.011329663917422295, -0.011247959919273853, -0.005415179766714573, 0.03527810424566269, 0.023639779537916183, -0.07026570290327072, 0.03522363305091858, 0.01796586997807026, -0.0019200511742383242, -0.024565761908888817, -0.09695577621459961, -0.020462390035390854, 0.029994558542966843, -0.021914910525083542, -0.06768748164176941, 0.03965382277965546, -0.022804580628871918, -0.023095084354281425, 0.0035995286889374256, 0.032935913652181625, -0.010276585817337036, -0.0022843163460493088, 0.009704655967652798, -0.02543727494776249, -0.00915996078401804, 0.0021390640176832676, 0.07792775332927704, 0.00023802052601240575, 0.028287846595048904, -0.05693882331252098, 0.021624406799674034, -0.019354842603206635, 0.0368395633995533, 0.018846459686756134, 0.05759245902299881, -0.04248623922467232, 0.014425349421799183, 0.01948193833231926, -0.011120864190161228, 0.0008800234645605087, -0.04462870955467224, 0.020861832424998283, 0.02211463265120983, 0.047679003328084946, 0.0216970331966877, -0.016840165480971336, 0.03598620742559433, 0.031882837414741516, 0.07967077940702438, -0.0007449844270013273, 0.03360770642757416, -0.007970709353685379, -0.06997519731521606, -0.10240273177623749, 0.014234705828130245, 0.004321250133216381, -0.04364825785160065, 0.0242207869887352, 0.029250141233205795, -0.034951288253068924, 0.015823401510715485, -0.002387581393122673, -0.01408037543296814, 0.05541367456316948, -0.033280886709690094, 0.019118808209896088, -0.04404769837856293, -0.014833870343863964, 0.08359258621931076, 0.08911216259002686, -0.0378381721675396, -0.0006797344540245831, 0.036766938865184784, 0.06543607264757156, 0.007639352697879076, -0.07582159340381622, -0.013290567323565483, -0.022042006254196167, -0.0075031789019703865, -0.027997342869639397, 0.07560371607542038, -0.00533801456913352, 0.0007540626684203744, 0.03357139229774475, 0.011002846993505955, 0.019009869545698166, 0.04633542150259018, 0.04764268919825554, -0.0005251204129308462, 0.05926285684108734, -0.07131878286600113, -0.021261276677250862, 0.0031183811370283365, 0.00099350162781775, -0.05330752208828926, -0.005002119112759829, -0.019772442057728767, -0.01269140187650919, 0.008538099937140942, 0.008951161056756973, -0.005560432095080614, -0.004589058458805084, -0.029213828966021538, -0.07226292043924332, 0.06046118587255478, 0.08243056386709213, -0.05574049428105354, 0.01984506845474243, -0.008583491668105125, 0.0012936515267938375, 0.017439329996705055, 0.03418871387839317, -0.005887249018996954, 0.018510565161705017, 0.022241728380322456, 0.021116023883223534, 0.03860074654221535, -0.047933194786310196, -0.04582703858613968, 0.04826001077890396, 0.035859111696481705, -0.018501486629247665, 0.003038946306332946, -0.020734736695885658, -0.003903650213032961, 0.05592205747961998, -0.008669734932482243, 0.08504510670900345, -0.0009254147298634052, -0.011129941791296005, -0.034842345863580704, -0.0033975373953580856, 0.014343644492328167, 0.06529081612825394, -0.027979185804724693, 0.03253646939992905, 0.06263996660709381, -0.043030936270952225, 0.0630757212638855, 0.005201840773224831, 0.03892756253480911, -0.0615868903696537, -0.024602074176073074, -0.011238881386816502, 0.017684442922472954, 0.04466501995921135, 0.030157966539263725, -0.0003514987474773079, 0.04629910737276077, -0.06017068400979042, 0.04473764821887016, 0.04299462214112282, -0.05370696261525154, 0.0017770687118172646, -0.030303219333291054, 0.018156511709094048, -0.0007217213860712945, -0.008883073925971985, -0.009913455694913864, 0.09775466471910477, 0.031156575307250023, -0.002002890221774578, -0.013771714642643929, 0.018501486629247665, 0.029032263904809952, 0.004779702052474022, -0.02690795250236988, 0.00571476249024272, -0.05820978060364723, 0.049131523817777634, 0.003447467926889658, -0.018483329564332962, -0.023984752595424652, 0.003622224321588874, 0.001242586295120418, 0.032681722193956375, 0.0004405791114550084, -0.019372999668121338, -0.044084012508392334, -0.003554137423634529, -0.040561649948358536, -0.06979363411664963, 0.034551844000816345, 0.013699089176952839, 0.0141348447650671, 0.0020743815694004297, -0.033698488026857376, -0.011447681114077568, 0.004250893369317055, 0.0752405896782875, -0.01554197445511818, -0.003029868006706238, 0.06772378832101822, -0.009137265384197235, -0.023657936602830887, -0.03896387666463852, 0.05272651091217995, -0.025509899482131004, -0.0074623264372348785, 0.04034377261996269, 0.013953279703855515, -0.07095564901828766, 0.06888581067323685, 0.08511772751808167, -0.0782182589173317, 0.0005285247461870313, -0.005446953698992729, -0.02756158635020256, -0.0312836728990078, 0.06648915261030197, 0.01639533042907715, 0.003433850361034274, -0.05279913917183876, -0.01206500269472599, -0.01443442702293396, -0.021769657731056213, -0.021842284128069878, 0.00490679731592536, 0.041469473391771317, 0.053525399416685104, 0.016467956826090813, -0.04942202568054199, 0.026036439463496208, -0.005360710434615612, -0.056757256388664246, 0.023785032331943512, -0.0053652492351830006, -0.023240335285663605, -0.00547418836504221, 0.010548933409154415, 0.01660413108766079, -0.019191434606909752, -0.002605459652841091, -0.06616233289241791, -0.02236882410943508, -0.03226412460207939, -0.09078256040811539, 0.01933668553829193, 0.004573171492666006, -0.00228999019600451, -0.07208135724067688, 0.012845732271671295, -0.06932156533002853, 0.0229679886251688, -0.0028029116801917553, -0.0055876667611300945, 0.020280824974179268, -0.019300373271107674, 0.002827876713126898, -0.03190099075436592, -0.0076847439631819725, -0.018183747306466103, -0.005111058242619038, 0.07538583874702454, 0.03391636535525322, 0.0219512227922678, 0.0570477619767189, 0.02534649148583412, -0.011674637906253338, -0.02322218008339405, -0.03629487007856369, -0.006953944452106953, -0.01650426909327507, 0.025655152276158333, -0.0655813217163086, -0.04266780614852905, 0.034951288253068924, -0.024202631786465645, -0.020117415115237236, 0.007916239090263844, -0.006177753210067749, 0.013345036655664444, -0.06202264502644539, -0.004314441233873367, -0.04531865566968918, 0.034152399748563766, 0.023839501664042473, -0.05410640686750412, -0.00784815289080143, -0.04880470409989357, -0.002787024714052677, 0.004402954131364822, -0.04306724667549133, 0.0332990437746048, -0.005374327767640352, 0.010076864622533321, 0.013417663052678108, 0.00867881253361702, 0.013671853579580784, -0.07603947818279266, -0.050039347261190414, 0.007630274165421724, 0.018810147419571877, -0.01590510457754135, 0.033952679485082626, 0.02846941165626049, 0.05051141604781151, -0.061151135712862015, 0.004089754540473223, 0.016831086948513985, 0.04673486202955246, 0.02463838830590248, 0.05385221540927887, 0.014243784360587597, 0.024692857638001442, -0.027779463678598404, 0.07357019186019897, -0.016667678952217102, -0.07778249680995941, 0.04865945503115654, 0.06438299268484116, -0.021333903074264526, -0.03969013690948486, -0.007521335501223803, 0.005968953482806683, 0.02038976363837719, -0.014261940494179726, 0.011883437633514404, -0.045609161257743835, -0.018646737560629845, 0.005723840557038784, -0.0782182589173317, 0.04608123004436493, -0.001917781657539308, -0.02231435477733612, -0.0121103934943676, 0.02623615972697735, -0.001813381677493453, 0.002177646616473794, 0.038128677755594254, -0.025709621608257294, -0.03082975745201111, 0.025128614157438278, 0.010449073277413845, -0.006123283877968788, -0.013508445583283901, -0.026109065860509872, 0.03564123436808586, -0.027724994346499443, 0.007889004424214363, 0.07193610072135925, 0.017039887607097626, 0.08751439303159714, -0.003320372197777033, 0.017747990787029266, 0.07945290207862854, -0.022278040647506714, -0.0075031789019703865, 0.03629487007856369, 0.031319983303546906, -0.0665980875492096, 0.0012335081119090319, 0.07683835923671722, 0.002596381353214383, -0.05265388637781143, 0.03003087267279625, 0.041070032864809036, -0.02135205827653408, -0.1130787581205368, -0.050547730177640915, 0.04310356080532074, -0.030121654272079468, 0.03150155022740364, 0.08322945237159729, -0.02659929171204567, -0.03801973909139633 ]
44,059
jsons._fork_impl
fork
Fork from the given ``StateHolder`` to create a separate "branch" of serializers and deserializers. :param fork_inst: The ``StateHolder`` on which the new fork is based. :param name: The ``__name__`` of the new ``type``. :return: A "fork inst" that can be used to separately store (de)serializers from the regular ``StateHolder``.
def fork( fork_inst: Type[T] = StateHolder, name: Optional[str] = None) -> Type[T]: """ Fork from the given ``StateHolder`` to create a separate "branch" of serializers and deserializers. :param fork_inst: The ``StateHolder`` on which the new fork is based. :param name: The ``__name__`` of the new ``type``. :return: A "fork inst" that can be used to separately store (de)serializers from the regular ``StateHolder``. """ fork_inst._fork_counter += 1 if name: class_name = name else: class_name = '{}_fork{}'.format( get_class_name(fork_inst), fork_inst._fork_counter ) result = type(class_name, (fork_inst,), {}) result._classes_serializers = fork_inst._classes_serializers.copy() result._classes_deserializers = fork_inst._classes_deserializers.copy() result._serializers = fork_inst._serializers.copy() result._deserializers = fork_inst._deserializers.copy() result._fork_counter = 0 result._suppress_warnings = fork_inst._suppress_warnings result._suppressed_warnings = fork_inst._suppressed_warnings.copy() return result
(fork_inst: Type[~T] = <class 'jsons._common_impl.StateHolder'>, name: Optional[str] = None) -> Type[~T]
[ 0.009374508634209633, -0.04958236217498779, -0.0006168042309582233, -0.016377925872802734, -0.07726646214723587, 0.027885502204298973, 0.0018801657715812325, -0.002214315813034773, -0.005593578796833754, -0.038157179951667786, 0.02720804698765278, 0.027354523539543152, -0.015599768608808517, 0.018675779923796654, -0.0133934635668993, 0.021403906866908073, 0.03158403933048248, -0.013082199729979038, -0.03848675265908241, 0.021440526470541954, 0.018803946673870087, 0.00875198282301426, 0.017915930598974228, 0.03149249032139778, 0.008486493490636349, 0.02409541606903076, 0.022996840998530388, -0.005305203143507242, -0.005346399731934071, 0.0106744896620512, 0.02913055382668972, 0.016808200627565384, -0.06419341266155243, -0.0064495522528886795, 0.034037522971630096, 0.021623622626066208, -0.05862729996442795, 0.0667201355099678, -0.04170924052596092, -0.008019599132239819, 0.032169945538043976, -0.027391143143177032, -0.06316807866096497, 0.017870157957077026, -0.024315131828188896, 0.006957643199712038, 0.0324079692363739, -0.06093430519104004, 0.008697054348886013, -0.04793449863791466, 0.0148216113448143, 0.0309798214584589, -0.0217334795743227, 0.05210908502340317, -0.004174585919827223, -0.024736251682043076, 0.04815421625971794, -0.022905293852090836, -0.03515440598130226, 0.03610650449991226, -0.0166342593729496, 0.020451808348298073, 0.05807800963521004, 0.0472753532230854, -0.03559383749961853, 0.0032156212255358696, -0.00224750186316669, -0.04980207607150078, -0.07419044524431229, 0.002083859872072935, 0.03416569158434868, -0.04266133904457092, 0.01569131575524807, 0.06009206548333168, 0.008651279844343662, -0.003311746520921588, 0.03892618417739868, -0.008967120200395584, 0.014006834477186203, -0.039988137781620026, -0.002409999491646886, -0.005680549424141645, -0.09542956948280334, 0.007268906105309725, -0.026127781718969345, 0.025779899209737778, 0.035300884395837784, -0.03094320185482502, -0.07851151376962662, -0.03511779010295868, -0.07382425665855408, 0.044126104563474655, -0.009141061455011368, 0.03691212832927704, 0.027098190039396286, -0.01796170510351658, -0.012212494388222694, -0.005424215458333492, -0.06822152435779572, 0.05361047014594078, -0.034440334886312485, 0.01705538108944893, -0.1119081974029541, -0.05635691061615944, 0.00484288576990366, -0.01455612201243639, 0.025340469554066658, -0.008486493490636349, -0.06320469826459885, -0.03099813126027584, -0.015929341316223145, 0.01455612201243639, -0.060787830501794815, 0.014876539818942547, 0.0008554010419175029, 0.032078396528959274, 0.00702630402520299, -0.025120753794908524, -0.021056026220321655, -0.010372381657361984, -0.005552382208406925, 0.028343241661787033, -0.034843143075704575, 0.029826316982507706, -0.046542972326278687, 0.038559991866350174, 0.08715363591909409, -0.017778608947992325, 0.023289795964956284, 0.019572949036955833, 0.027079880237579346, 0.02722635678946972, -0.029881246387958527, -0.012020244263112545, -0.00044772663386538625, 0.05401328206062317, -0.02817845530807972, 0.018611695617437363, -0.046909164637327194, 0.018117336556315422, 0.0013423216296359897, -0.01623144932091236, 0.03361640125513077, 0.018639160320162773, -0.004231803584843874, -0.011516730301082134, -0.02123912051320076, -0.023015150800347328, 0.024864420294761658, 0.041855715215206146, 0.06419341266155243, 0.016451165080070496, 0.0314558707177639, 0.06778208911418915, -0.0162497591227293, 0.0021742635872215033, -0.032133325934410095, -0.04390639066696167, -0.009813939221203327, 0.0026663336902856827, -0.05009503290057182, 0.025065824389457703, 0.06316807866096497, -0.08195371180772781, -0.005991812329739332, 0.027848882600665092, 0.03339668735861778, -0.036362841725349426, 0.0020369417034089565, 0.029496746137738228, 0.030869964510202408, 0.005369286518543959, -0.007703758776187897, 0.04500496760010719, -0.08451705425977707, 0.030229128897190094, 0.030357295647263527, -0.004302753135561943, 0.02270388789474964, -0.0332685187458992, 0.0050122495740652084, -0.01481245644390583, -0.020067308098077774, 0.02081800065934658, 0.002220037393271923, -0.036198053508996964, -0.016524402424693108, -0.00808825995773077, 0.1037055030465126, 0.010097737424075603, 0.02444329857826233, 0.028013668954372406, 0.024113725870847702, -0.020653214305639267, 0.0009721246315166354, 0.014720908366143703, -0.03973180428147316, 0.013649797067046165, -0.024370061233639717, -0.010701953433454037, -0.023253176361322403, 0.02180671878159046, 0.005492876283824444, -0.032957255840301514, -0.01807156205177307, 0.03227980434894562, 0.004240958020091057, 0.04397962987422943, 0.04676268622279167, 0.012780091725289822, -0.04357681795954704, -0.010271678678691387, -0.016002578660845757, 0.11007723957300186, 0.00741080567240715, -0.058041393756866455, -0.01794339530169964, -0.028050288558006287, 0.07726646214723587, -0.01804409921169281, 0.04375991225242615, 0.04031771048903465, -0.031675584614276886, 0.03361640125513077, -0.058444201946258545, -0.0434669591486454, -0.017009606584906578, -0.004906969610601664, 0.017238477244973183, -0.0684412345290184, -0.023216556757688522, -0.05793153494596481, -0.052438657730817795, -0.04288105294108391, 0.009282960556447506, -0.011782219633460045, -0.004700986668467522, -0.030760107561945915, 0.002083859872072935, 0.012688543647527695, 0.03471497818827629, -0.021056026220321655, 0.008271356113255024, -0.05518509820103645, 0.021129263564944267, -0.04203881323337555, 0.01898704282939434, -0.017284249886870384, -0.033488236367702484, 0.005703436676412821, -0.010280833579599857, 0.006358004175126553, 0.002989040222018957, 0.011892076581716537, 0.03969518467783928, 0.010079427622258663, 0.034934692084789276, -0.07668054848909378, -0.0065777194686234, 0.019756045192480087, 0.0013217233354225755, -0.02497427724301815, -0.01574624516069889, 0.0023482046090066433, -0.03462342917919159, -0.024571465328335762, -0.020140545442700386, -0.057528723031282425, -0.01802578940987587, -0.004259267821907997, 0.09923796355724335, 0.012368125841021538, -0.0004534483887255192, 0.03149249032139778, -0.06038501858711243, -0.1191587969660759, -0.03663748502731323, 0.02167855203151703, 0.02814183570444584, -0.029808009043335915, -0.00692560151219368, 0.0016524402890354395, -0.018803946673870087, -0.04500496760010719, -0.03524595499038696, -0.027464380487799644, 0.018611695617437363, -0.004943588748574257, 0.00949352141469717, -0.0537569485604763, 0.014601895585656166, 0.01566385291516781, -0.023216556757688522, -0.036234673112630844, 0.02495596744120121, -0.00405786233022809, -0.09843233972787857, 0.049618981778621674, -0.01841028966009617, -0.044602155685424805, -0.012185030616819859, -0.08231990784406662, 0.009566759690642357, 0.0300277229398489, -0.015938496217131615, -0.017714526504278183, 0.03176713362336159, -0.008610083721578121, -0.027079880237579346, 0.06144697591662407, -0.03374456986784935, 0.035429053008556366, 0.0600554458796978, 0.049765460193157196, 0.0099604157730937, -0.04255148023366928, 0.021129263564944267, -0.00942943710833788, 0.027372833341360092, 0.02447991818189621, -0.022429244592785835, -0.02226445823907852, -0.0013594868360087276, 0.07221300899982452, -0.018391979858279228, 0.0025518988259136677, -0.029753079637885094, 0.01850183866918087, 0.028453098610043526, 0.06181316822767258, -0.07887770235538483, 0.007085810415446758, 0.058517441153526306, 0.038157179951667786, -0.022795436903834343, 0.06221597641706467, 0.02777564339339733, -0.0045247566886246204, 0.002284121001139283, -0.03779098764061928, 0.060714591294527054, -0.012304042465984821, -0.02455315738916397, -0.0026960866525769234, -0.0648159384727478, 0.04950912296772003, 0.07660731673240662, 0.04383315145969391, 0.06759899854660034, 0.0377543680369854, -0.04906969517469406, 0.03797408565878868, -0.01452865730971098, 0.06741590052843094, 0.028910838067531586, -0.023454582318663597, -0.020579976961016655, -0.058004774153232574, -0.046872545033693314, -0.003332344815135002, -0.001123750931583345, 0.004179163370281458, 0.01087589468806982, -0.000965830753557384, 0.01314628403633833, -0.06690323352813721, -0.0029707306530326605, -0.020616594702005386, -0.03987828269600868, 0.02129404991865158, -0.014592740684747696, -0.023784153163433075, -0.019096899777650833, -0.022410934790968895, -0.015956806018948555, 0.04083038121461868, 0.004497292451560497, -0.003959448076784611, 0.0017394107999280095, 0.0170645359903574, -0.0161124374717474, -0.011425182223320007, -0.016918059438467026, 0.051596418023109436, 0.03746141493320465, 0.03054039180278778, 0.01751312054693699, -0.02491934783756733, 0.06357088685035706, -0.0031996003817766905, -0.007433692459017038, -0.0030508351046591997, 0.029185481369495392, -0.013878666795790195, -0.03226149454712868, -0.002062117215245962, -0.013210367411375046, 0.019975759088993073, -0.0267869271337986, -0.006550254765897989, 0.0286911241710186, 0.011947005987167358, 0.004282154608517885, -0.011608278378844261, 0.0017703082412481308, -0.0033735414035618305, 0.04218528792262077, 0.019975759088993073, 0.005186190828680992, -0.03200515732169151, 0.007676294539123774, -0.0305037721991539, -0.02673199772834778, -0.0023916899226605892, -0.007433692459017038, 0.026640448719263077, 0.07946360856294632, -0.0035589260514825583, -0.02360105887055397, -0.045993681997060776, 0.0276474766433239, 0.06686661392450333, 0.01665256917476654, 0.020543357357382774, 0.043723296374082565, 0.05042460188269615, 0.019243376329541206, 0.07041867077350616, 0.02596299536526203, 0.029368577525019646, 0.024296822026371956, 0.023271486163139343, -0.03151080012321472, 0.0161124374717474, 0.07005248218774796, -0.010582941584289074, 0.018749017268419266, -0.01360402349382639, 0.014592740684747696, 0.05716253072023392, -0.02581651881337166, 0.0332685187458992, 0.001448746072128415, -0.05467242747545242, 0.024791181087493896, 0.0388895645737648, -0.028270002454519272, 0.029203791171312332, 0.004998517222702503, -0.04189233481884003, 0.055771004408597946, -0.04987531527876854, 0.018227193504571915, -0.017915930598974228, -0.037131842225790024, -0.009759009815752506, 0.015975115820765495, -0.04581058770418167, 0.013494165614247322, -0.011379408650100231, 0.030869964510202408, -0.03271923214197159, 0.039512090384960175, 0.04386977106332779, 0.011416027322411537, -0.007104119751602411, 0.016945522278547287, -0.01617651991546154, 0.0009755577193573117, -0.01845606416463852, 0.03096151165664196, 0.037186771631240845, -0.01796170510351658, 0.011141384020447731, 0.009548449888825417, 0.002008332870900631, -0.001193556236103177, -0.09616195410490036, -0.048703502863645554, -0.09081555157899857, -0.03456849977374077, -0.002746438141912222, 0.009786474518477917, 0.05141332000494003, -0.036729034036397934, -0.031199537217617035, 0.039951518177986145, 0.04903307557106018, 0.06184978783130646, 0.02545032650232315, -0.0564301498234272, 0.02550525590777397, -0.017934240400791168, 0.0011575092794373631, -0.02444329857826233, 0.01548991072922945, -0.006495326291769743, 0.02120250277221203, 0.03561214730143547, -0.07455664128065109, 0.01020759530365467, -0.0002201441820943728, 0.006431242451071739, 0.00774953281506896, -0.0052411193028092384, 0.02502920664846897, -0.04793449863791466, -0.02036026120185852, -0.006673844531178474, 0.04203881323337555, 0.003256817813962698, 0.017357489094138145, -0.0301192719489336, 0.034385405480861664, -0.02123912051320076, -0.009887177497148514, 0.022008124738931656, 0.04255148023366928, -0.01798001490533352, -0.07137077301740646, 0.059872351586818695, 0.035300884395837784, 0.0145835867151618, -0.017330024391412735, -0.020653214305639267, 0.0024557732976973057, 0.023784153163433075, 0.009749854914844036, 0.0324995182454586, -0.0034330475609749556, 0.00043885791092179716, -0.04445567727088928, -0.028819290921092033, -0.003311746520921588, -0.0010791212553158402, -0.07733969390392303, 0.0017165237804874778, 0.0665370374917984, 0.07192005962133408, -0.05610057711601257, 0.006280188448727131, -0.0007999000954441726, -0.011690671555697918, 0.03973180428147316, -0.003533750306814909, 0.010033654049038887, 0.025615112856030464, 0.03379949927330017, -0.04617678001523018, -0.0006002111476846039, -0.017934240400791168, -0.04910631477832794, 0.021440526470541954, -0.028416479006409645, -0.008632970042526722, -0.033085424453020096, 0.026896784082055092, -0.015407517552375793, 0.03786422684788704, -0.009095287881791592, -0.01061956025660038, 0.05320766195654869, 0.05394004285335541, -0.03520933538675308, 0.04705563932657242, -0.010079427622258663, 0.02728128433227539, 0.03226149454712868, 0.0069072917103767395, -0.01852930150926113, 0.05229218304157257, 0.08034247159957886, 0.09901824593544006, 0.037681132555007935, 0.036326222121715546, 0.017760299146175385, 0.0442359633743763, 0.07638759911060333, 0.0001537719217594713, -0.03841351345181465, 0.03176713362336159, -0.005140416789799929, -0.04855702444911003, -0.03284740075469017, -0.041379667818546295, -0.022886984050273895, -0.05459918826818466, -0.011910386383533478, 0.03760789334774017, 0.06239907443523407, -0.018703242763876915, 0.048740122467279434, -0.012276578694581985, 0.04035433009266853, 0.030302366241812706, -0.04218528792262077, -0.008349171839654446, -0.0038930759765207767, 0.003185868263244629, 0.0037191349547356367, -0.05492876097559929, 0.0005747493705712259, -0.0024122882168740034, -0.013109664432704449, -0.05254851654171944, -0.035868480801582336, -0.05284146964550018, 0.005492876283824444, 0.015544840134680271, -0.018639160320162773, 0.03834027424454689, -0.001120890025049448, 0.0033392109908163548, -0.05903010815382004, 0.024333441630005836, -0.05789491534233093, -0.004021243192255497, -0.029862936586141586, -0.016002578660845757, -0.0047879572957754135, -0.011782219633460045, -0.017009606584906578, -0.007969248108565807, -0.0002424589911242947, -0.037260010838508606, -0.013668106868863106, 0.018300432711839676, -0.037681132555007935, 0.06236245483160019, -0.06265541166067123, 0.01748565584421158, 0.008628392592072487, -0.024132035672664642, -0.11329972743988037, 0.06097092479467392, 0.01805325224995613, 0.033524855971336365, 0.003311746520921588, 0.0053601316176354885, 0.017851848155260086, -0.0015986558282747865, -0.0749228298664093, 0.0015597479650750756, -0.004170008469372988, -0.07137077301740646, -0.0989450067281723, 0.0398416630923748, -0.03275585174560547, 0.01527019590139389, 0.036271292716264725, -0.028910838067531586, 0.0425148606300354, 0.016561022028326988, -0.00224750186316669, 0.0085551543161273, 0.024791181087493896, 0.01408922765403986, 0.0006145155057311058, 0.03669241443276405, -0.006087937857955694, -0.05540481209754944, 0.0008531123166903853, -0.03286571055650711, 0.07210315763950348, 0.03932899236679077, 0.03416569158434868, -0.06994262337684631, 0.005543227773159742, -0.02546863630414009, -0.011516730301082134, -0.04244162514805794, 0.03290233016014099, 0.009868867695331573, -0.040464188903570175, -0.08730011433362961, 0.0012118658050894737, 0.03685719892382622, 0.030229128897190094, 0.02819676510989666, 0.019975759088993073, -0.02405879832804203, 0.008019599132239819, -0.009351621381938457, 0.03779098764061928, -0.002177696442231536, -0.006138289347290993, -0.036198053508996964, -0.033524855971336365, 0.023399652913212776, -0.017018761485815048, 0.05712591111660004, 0.02718973718583584, 0.013649797067046165, -0.0031492491252720356, -0.0434669591486454, -0.034422025084495544, -0.023839082568883896, -0.08568886667490005, -0.0463232547044754, 0.008225582540035248, 0.0610075443983078, -0.04020785540342331, 0.009768164716660976, -0.0802692323923111, 0.029661530628800392, 0.028270002454519272, -0.06840461492538452, 0.04072052240371704, 0.07902418076992035, -0.020158855244517326, 0.001957981614395976, 0.026677068322896957, 0.02634749561548233, 0.039512090384960175, 0.012477983720600605, 0.009141061455011368, 0.0075572822242975235, 0.019096899777650833, -0.05284146964550018, 0.013677261769771576, -0.026603830978274345, 0.02680523507297039, 0.08590858429670334, 0.027537619695067406, -0.0085322679951787, 0.042295146733522415, 0.0646328404545784, -0.011937851086258888, -0.03460511937737465, 0.03786422684788704, 0.03660086542367935, 0.033945973962545395, -0.08246637880802155, -0.08583534508943558, 0.06631732732057571, -0.07594817131757736, 0.059835731983184814, 0.006921024061739445, 0.013668106868863106, -0.02356443926692009, 0.002017487771809101, -0.02728128433227539, -0.01386035792529583, 0.02960660308599472, -0.01502301637083292, -0.01798916980624199, 0.05533157289028168, -0.03268261253833771, 0.01204770803451538, -0.012615305371582508, 0.019188446924090385, -0.01703707128763199, -0.02956998348236084, -0.01066533476114273, 0.005946038290858269, -0.03343330696225166, 0.0070034172385931015, -0.0015654697781428695, -0.05038798600435257, -0.04679930582642555, 0.054818905889987946, -0.0309798214584589, 0.019133519381284714, -0.01808987185359001, 0.042221907526254654, -0.015837792307138443, 0.0001327445061178878, -0.02592637576162815 ]
44,061
jsons._load_impl
load
Deserialize the given ``json_obj`` to an object of type ``cls``. If the contents of ``json_obj`` do not match the interface of ``cls``, a DeserializationError is raised. If ``json_obj`` contains a value that belongs to a custom class, there must be a type hint present for that value in ``cls`` to let this function know what type it should deserialize that value to. **Example**: >>> from typing import List >>> import jsons >>> class Person: ... # No type hint required for name ... def __init__(self, name): ... self.name = name >>> class Family: ... # Person is a custom class, use a type hint ... def __init__(self, persons: List[Person]): ... self.persons = persons >>> loaded = jsons.load({'persons': [{'name': 'John'}]}, Family) >>> loaded.persons[0].name 'John' If no ``cls`` is given, a dict is simply returned, but contained values (e.g. serialized ``datetime`` values) are still deserialized. If `strict` mode is off and the type of `json_obj` exactly matches `cls` then `json_obj` is simply returned. :param json_obj: the dict that is to be deserialized. :param cls: a matching class of which an instance should be returned. :param strict: a bool to determine if the deserializer should be strict (i.e. fail on a partially deserialized `json_obj` or on `None`). :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :param attr_getters: a ``dict`` that may hold callables that return values for certain attributes. :param kwargs: the keyword args are passed on to the deserializer function. :return: an instance of ``cls`` if given, a dict otherwise.
def load( json_obj: object, cls: Optional[Type[T]] = None, *, strict: bool = False, fork_inst: Optional[type] = StateHolder, attr_getters: Optional[Dict[str, Callable[[], object]]] = None, **kwargs) -> T: """ Deserialize the given ``json_obj`` to an object of type ``cls``. If the contents of ``json_obj`` do not match the interface of ``cls``, a DeserializationError is raised. If ``json_obj`` contains a value that belongs to a custom class, there must be a type hint present for that value in ``cls`` to let this function know what type it should deserialize that value to. **Example**: >>> from typing import List >>> import jsons >>> class Person: ... # No type hint required for name ... def __init__(self, name): ... self.name = name >>> class Family: ... # Person is a custom class, use a type hint ... def __init__(self, persons: List[Person]): ... self.persons = persons >>> loaded = jsons.load({'persons': [{'name': 'John'}]}, Family) >>> loaded.persons[0].name 'John' If no ``cls`` is given, a dict is simply returned, but contained values (e.g. serialized ``datetime`` values) are still deserialized. If `strict` mode is off and the type of `json_obj` exactly matches `cls` then `json_obj` is simply returned. :param json_obj: the dict that is to be deserialized. :param cls: a matching class of which an instance should be returned. :param strict: a bool to determine if the deserializer should be strict (i.e. fail on a partially deserialized `json_obj` or on `None`). :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :param attr_getters: a ``dict`` that may hold callables that return values for certain attributes. :param kwargs: the keyword args are passed on to the deserializer function. :return: an instance of ``cls`` if given, a dict otherwise. """ _check_for_none(json_obj, cls) if _should_skip(json_obj, cls, strict): validate(json_obj, cls, fork_inst) return json_obj if isinstance(cls, str): cls = get_cls_from_str(cls, json_obj, fork_inst) original_cls = cls cls, meta_hints = _check_and_get_cls_and_meta_hints( json_obj, cls, fork_inst, kwargs.get('_inferred_cls', False)) deserializer = get_deserializer(cls, fork_inst) # Is this the initial call or a nested? initial = kwargs.get('_initial', True) kwargs_ = { 'meta_hints': meta_hints, # Overridable by kwargs. **kwargs, 'strict': strict, 'fork_inst': fork_inst, 'attr_getters': attr_getters, '_initial': False, '_inferred_cls': cls is not original_cls, } return _do_load(json_obj, deserializer, cls, initial, **kwargs_)
(json_obj: object, cls: Optional[Type[~T]] = None, *, strict: bool = False, fork_inst: Optional[type] = <class 'jsons._common_impl.StateHolder'>, attr_getters: Optional[Dict[str, Callable[[], object]]] = None, **kwargs) -> ~T
[ 0.01684074103832245, -0.00320576224476099, 0.01860773377120495, -0.033720966428518295, -0.03435274213552475, 0.06215082108974457, 0.04919944331049919, 0.07131154835224152, -0.004580365493893623, -0.015024388208985329, 0.06842908263206482, 0.03208230063319206, -0.0000425707439717371, -0.03707726672291756, -0.0630195140838623, 0.06045292690396309, -0.028528569266200066, 0.05066042020916939, -0.02619890123605728, -0.03660343587398529, 0.03557680547237396, -0.031055666506290436, -0.012240631505846977, 0.09058067202568054, 0.010365051217377186, -0.051252711564302444, 0.021658021956682205, 0.034826572984457016, -0.013908911496400833, -0.01766994409263134, 0.0518449991941452, 0.022230567410588264, -0.010093585588037968, 0.039485909044742584, -0.024895865470170975, -0.01746264286339283, 0.0231189988553524, 0.04457959160208702, -0.06132161617279053, 0.005118360742926598, -0.042407866567373276, 0.03533988818526268, -0.0245207492262125, 0.012576261535286903, 0.0322599858045578, 0.029653917998075485, 0.03014749102294445, 0.0343724824488163, -0.04118380323052406, -0.05907091870903969, 0.048172809183597565, -0.034293510019779205, -0.0030675616580992937, 0.018054932355880737, 0.032595619559288025, -0.026968875899910927, -0.0315689854323864, 0.025863271206617355, 0.004215120803564787, -0.012862535193562508, 0.034727856516838074, 0.024362806230783463, -0.021421104669570923, 0.025270981714129448, -0.031055666506290436, -0.06673118472099304, -0.013217908330261707, -0.02985134720802307, -0.016672924160957336, -0.03168744221329689, -0.01936783827841282, 0.0841839611530304, 0.04446113482117653, 0.010236721485853195, 0.035675518214702606, -0.046632859855890274, -0.004938206635415554, -0.033720966428518295, -0.03026594966650009, 0.04576416686177254, 0.008923815563321114, -0.020167427137494087, -0.011253483593463898, -0.022368768230080605, -0.059386808425188065, 0.020414214581251144, -0.013987882994115353, -0.038656704127788544, -0.02118418924510479, -0.019407324492931366, -0.07312790304422379, 0.04738309234380722, -0.011016568168997765, -0.019565267488360405, -0.0037166110705584288, -0.008321654982864857, 0.016880225390195847, 0.013425208628177643, 0.0024876121897250414, 0.0336025096476078, -0.004479182884097099, 0.013138935901224613, -0.026692474260926247, -0.006125251762568951, 0.02396794594824314, -0.06412511318922043, -0.003037947230041027, 0.03111489675939083, 0.011924744583666325, -0.025705326348543167, 0.020048970356583595, -0.016376780346035957, -0.07916925102472305, 0.05871554836630821, 0.05263471603393555, -0.024481263011693954, 0.015863463282585144, 0.006238773465156555, -0.03830133005976677, -0.023336172103881836, -0.024757664650678635, -0.004042369779199362, -0.0231189988553524, 0.0378274992108345, -0.011401556432247162, -0.026731960475444794, 0.0575309693813324, -0.0164952389895916, 0.05832068622112274, 0.05255574360489845, 0.034688372164964676, -0.002302522072568536, -0.02483663707971573, 0.015300789847970009, 0.044934965670108795, 0.02047344297170639, -0.04430318996310234, 0.026040956377983093, -0.05970269441604614, -0.04292118176817894, 0.055754102766513824, 0.015458733774721622, -0.0027121882885694504, -0.04611954092979431, -0.05555667355656624, -0.043276555836200714, -0.0364454947412014, -0.014787472784519196, 0.006860676687210798, 0.03322739154100418, 0.016228709369897842, -0.0039856089279055595, 0.002855324884876609, 0.0686659961938858, -0.04146020486950874, -0.053069062530994415, -0.028508827090263367, -0.026277871802449226, 0.058557603508234024, -0.018597863614559174, -0.024461520835757256, 0.01571539230644703, 0.018370818346738815, -0.04939687252044678, 0.014214927330613136, 0.040591515600681305, 0.013079707510769367, -0.031154382973909378, -0.027442706748843193, 0.051134251058101654, -0.03143078461289406, 0.03322739154100418, 0.034293510019779205, -0.0033785130362957716, -0.008469727821648121, 0.012132045812904835, 0.018903879448771477, -0.0091212447732687, 0.02031549997627735, 0.0012758884113281965, 0.00840062741190195, -0.011283098720014095, 0.02272414043545723, -0.030068520456552505, 0.029259057715535164, 0.05066042020916939, -0.01614973694086075, 0.01851889118552208, 0.042131464928388596, 0.011806286871433258, 0.003045350778847933, 0.020394472405314445, 0.031193867325782776, -0.049554817378520966, 0.018301717936992645, 0.05299009010195732, -0.024343062192201614, 0.025448668748140335, -0.04189454764127731, 0.01430377084761858, -0.02777833677828312, -0.022112108767032623, 0.039485909044742584, -0.034293510019779205, -0.04785692319273949, 0.0021001568529754877, 0.011125154793262482, 0.044658564031124115, 0.011381813324987888, -0.025073552504181862, -0.05216088518500328, -0.03995973989367485, -0.03684035316109657, 0.030917467549443245, 0.05358237773180008, -0.01604115031659603, 0.04967327415943146, -0.0364849790930748, -0.006357231177389622, -0.029910575598478317, 0.06238773465156555, 0.010157749988138676, -0.055319759994745255, 0.017847631126642227, -0.0029614432714879513, -0.043000154197216034, -0.04864664003252983, 0.03312867879867554, -0.014145826920866966, -0.0343329980969429, -0.03618883714079857, -0.007008749060332775, 0.011855644173920155, -0.016949325799942017, 0.038656704127788544, 0.024086404591798782, 0.03573474660515785, 0.009303866885602474, 0.060926757752895355, 0.03603089228272438, 0.047343604266643524, -0.03198358789086342, -0.008612863719463348, -0.06061087176203728, -0.011381813324987888, 0.03326687961816788, 0.018666964024305344, 0.0069544557482004166, -0.03265484794974327, -0.0029836539179086685, 0.03334584832191467, 0.02564609795808792, 0.018281975761055946, 0.007443093694746494, -0.017729172483086586, -0.02045370079576969, 0.024224605411291122, -0.02270439825952053, -0.014915802516043186, -0.007645458914339542, 0.0053009833209216595, 0.01233934611082077, -0.009027466177940369, 0.08011691272258759, -0.06286156922578812, 0.00645101023837924, 0.027422964572906494, 0.005098618101328611, -0.04813332110643387, 0.00338344881311059, 0.061479561030864716, -0.062308765947818756, 0.04686977341771126, 0.04852818325161934, -0.010927725583314896, -0.028370626270771027, -0.031055666506290436, -0.04777795076370239, 0.050699908286333084, 0.008746128529310226, -0.01872619241476059, -0.05678073689341545, 0.035813719034194946, -0.036662667989730835, 0.029930319637060165, -0.0434739850461483, 0.023632315918803215, 0.03936745226383209, 0.0010420577600598335, -0.024619463831186295, 0.03664292395114899, -0.054056208580732346, -0.03208230063319206, -0.03591243550181389, 0.005453991238027811, -0.04935738444328308, -0.13377825915813446, -0.010093585588037968, -0.008148904889822006, -0.060097552835941315, -0.014915802516043186, -0.05962372198700905, -0.006539853755384684, 0.018262233585119247, 0.029752632603049278, -0.04469804838299751, -0.015745006501674652, -0.034431710839271545, -0.02649504505097866, 0.03843953087925911, 0.019288865849375725, 0.033306363970041275, 0.05780737102031708, 0.0015991793479770422, -0.02116444706916809, -0.006199287716299295, 0.02185545116662979, 0.00803044717758894, 0.06996902823448181, 0.007798466831445694, -0.038380302488803864, 0.03587294742465019, -0.00424473499879241, 0.05970269441604614, -0.009797440841794014, -0.04738309234380722, -0.032891761511564255, 0.03389865159988403, 0.014560428448021412, -0.002488846192136407, -0.05374032258987427, 0.003696868196129799, 0.014599914662539959, 0.01360289566218853, 0.016830869019031525, 0.024895865470170975, 0.01254664734005928, -0.03533988818526268, 0.013227779418230057, -0.050147105008363724, -0.002756610047072172, 0.004787666257470846, 0.012655233964323997, -0.01583384908735752, -0.03798544406890869, 0.04110483080148697, 0.09326571971178055, 0.012428189627826214, 0.024501007050275803, -0.011717443354427814, -0.05780737102031708, -0.008978108875453472, 0.0136719960719347, 0.011006697081029415, -0.0715089812874794, -0.075654998421669, 0.013138935901224613, -0.06578352302312851, -0.010276207700371742, -0.06471740454435349, 0.0006209776038303971, -0.015251432545483112, -0.022546453401446342, -0.01867683418095112, -0.016228709369897842, 0.006678054109215736, 0.01452094316482544, -0.08789563179016113, -0.01198397297412157, -0.028429854661226273, 0.00620422326028347, -0.0003917742578778416, -0.03480682894587517, -0.0008082272252067924, -0.023928461596369743, 0.04055202752351761, -0.04161814972758293, 0.02819293923676014, -0.021776478737592697, 0.06795524805784225, 0.020276013761758804, -0.010167621076107025, -0.022112108767032623, -0.025349954143166542, 0.04051254317164421, -0.0203549861907959, 0.013079707510769367, 0.004948078189045191, -0.007546744309365749, -0.03533988818526268, 0.0020039097871631384, -0.020809074863791466, 0.028291653841733932, -0.040334854274988174, 0.014362999238073826, -0.0315294973552227, 0.015912821516394615, 0.042960669845342636, 0.012013588100671768, 0.057491485029459, -0.012882277369499207, -0.009950448758900166, 0.07640523463487625, -0.006080830004066229, -0.0017978427931666374, 0.03774853050708771, 0.05638587847352028, -0.05156859755516052, 0.004913527984172106, 0.015192203223705292, 0.03002903424203396, 0.01645575277507305, -0.03281278908252716, -0.005893271882086992, -0.0010753740789368749, 0.03397762402892113, 0.04248683899641037, 0.022408252581954002, -0.06550712138414383, 0.008321654982864857, 0.011056054383516312, 0.03395787999033928, -0.007166692521423101, -0.04738309234380722, 0.06704707443714142, 0.015527833253145218, -0.012635490857064724, -0.021539563313126564, 0.01316855102777481, -0.01673215441405773, 0.051963455975055695, -0.03940693661570549, 0.01638665236532688, -0.007818209938704967, 0.01309945061802864, 0.015211946330964565, 0.018647219985723495, -0.019871283322572708, 0.03014749102294445, -0.0036154284607619047, -0.03956488147377968, 0.012665105052292347, -0.022763626649975777, -0.0006021601147949696, -0.0003501289465930313, -0.001432598102837801, 0.03391839563846588, 0.008218004368245602, 0.048449210822582245, -0.0014881251845508814, 0.0385974757373333, 0.02704784832894802, 0.020967017859220505, 0.06858702003955841, -0.0322599858045578, -0.07190383970737457, 0.06653375923633575, 0.016485366970300674, -0.043947815895080566, 0.026593759655952454, 0.031608469784259796, -0.024165377020835876, 0.01423467043787241, -0.018647219985723495, -0.02789679542183876, 0.04797537997364998, 0.06550712138414383, -0.010325565002858639, -0.09524001181125641, -0.0630589947104454, 0.02552763931453228, 0.023474372923374176, -0.020276013761758804, 0.011885258369147778, -0.03518194332718849, 0.021638277918100357, 0.05299009010195732, -0.06258516758680344, -0.07466785609722137, -0.04935738444328308, 0.030877981334924698, 0.026692474260926247, 0.05701765418052673, -0.017057912424206734, 0.0001974295446416363, -0.05370083451271057, -0.034451454877853394, 0.04197352007031441, 0.007383864838629961, 0.027817822992801666, 0.0026307487860322, 0.027956023812294006, 0.0001638048270251602, 0.03895284980535507, -0.010345308110117912, -0.018094418570399284, 0.02552763931453228, 0.01604115031659603, 0.02635684423148632, -0.08165685832500458, 0.019269123673439026, 0.013158679008483887, -0.003585814032703638, 0.05638587847352028, -0.10455868393182755, -0.0519239716231823, 0.003854811890050769, 0.039209507405757904, -0.008642477914690971, 0.015962177887558937, 0.007146949414163828, 0.026159415021538734, 0.03650472313165665, 0.03336559236049652, -0.00327486265450716, -0.0035586676094681025, 0.014293898828327656, 0.01445184275507927, 0.020809074863791466, -0.040591515600681305, 0.00977769773453474, 0.002258100314065814, 0.0673234760761261, 0.006223966367542744, -0.016643309965729713, 0.0329509899020195, 0.030463378876447678, -0.004479182884097099, 0.06759987771511078, -0.024501007050275803, 0.017077656462788582, -0.06286156922578812, -0.03533988818526268, -0.04722514748573303, 0.00441255047917366, -0.00911137368530035, 0.026850417256355286, 0.016031278297305107, 0.04146020486950874, -0.05997909605503082, 0.055161815136671066, 0.059386808425188065, 0.0037412899546325207, 0.08497367799282074, 0.013059964403510094, -0.0322599858045578, 0.018094418570399284, 0.02566584013402462, -0.04315809905529022, 0.05693868175148964, -0.02203313633799553, -0.053621865808963776, 0.039071306586265564, 0.01971334032714367, -0.06629683822393417, -0.024303577840328217, 0.01395826879888773, 0.0023987689055502415, 0.011016568168997765, 0.014570300467312336, 0.0036055571399629116, 0.05997909605503082, -0.009451939724385738, 0.006900162436068058, 0.007142013870179653, -0.01005409937351942, 0.054214153438806534, 0.08434189856052399, -0.011105411686003208, -0.00750725856050849, -0.00004796920984517783, 0.12556518614292145, 0.021519821137189865, 0.027008362114429474, 0.019742954522371292, 0.035833463072776794, -0.004864170216023922, -0.0115594994276762, 0.030108004808425903, -0.05662279203534126, 0.025073552504181862, -0.002899746410548687, 0.009738212451338768, -0.018874265253543854, -0.013287008740007877, -0.011322584003210068, -0.030108004808425903, 0.003484631422907114, -0.02157904952764511, -0.02750193513929844, 0.021401362493634224, 0.06661272794008255, 0.012536776252090931, 0.03322739154100418, -0.0031983586959540844, 0.0017065316205844283, -0.0012845259625464678, -0.04892304167151451, 0.014362999238073826, -0.03381967917084694, -0.07036388665437698, 0.03227972984313965, 0.006011729594320059, -0.0729699581861496, 0.025843527168035507, -0.004666741006076336, -0.044658564031124115, -0.01905195042490959, 0.011569371446967125, -0.042960669845342636, 0.025349954143166542, -0.024895865470170975, 0.0407099723815918, -0.03480682894587517, 0.013365980237722397, -0.03366173803806305, -0.028824713081121445, 0.0022334216628223658, 0.016988812014460564, -0.050699908286333084, -0.001985400915145874, 0.015448861755430698, 0.02442203462123871, 0.034293510019779205, -0.013839811086654663, 0.017995702102780342, -0.04110483080148697, -0.01803518831729889, -0.048449210822582245, -0.041855063289403915, 0.010680938139557838, -0.02213185280561447, 0.027659879997372627, -0.023948203772306442, -0.02872599847614765, -0.04501393437385559, 0.02564609795808792, 0.0287457425147295, -0.013158679008483887, -0.00726047158241272, -0.04532982409000397, -0.05832068622112274, -0.019397452473640442, 0.058004800230264664, -0.07806364446878433, -0.07135103642940521, 0.008519085124135017, 0.06159801781177521, 0.0504629909992218, 0.05117373913526535, 0.046198513358831406, 0.02929854393005371, -0.052792660892009735, -0.043671414256095886, -0.010572352446615696, -0.024856379255652428, 0.03674163669347763, -0.04142071679234505, 0.06333539634943008, 0.0448559932410717, -0.034826572984457016, 0.014836830087006092, -0.052239857614040375, 0.0420524924993515, 0.061755962669849396, 0.009131116792559624, -0.07368070632219315, -0.06917931139469147, 0.02706759050488472, -0.05077887699007988, -0.06515175104141235, -0.00011344486847519875, -0.031055666506290436, 0.028528569266200066, -0.06195339187979698, 0.0016398990992456675, 0.00638190982863307, -0.031055666506290436, 0.020947273820638657, 0.0140273692086339, -0.01515271794050932, 0.0036351715680211782, -0.03733392804861069, 0.04584313929080963, -0.0504629909992218, 0.02173699252307415, 0.038755420595407486, -0.028804970905184746, 0.03749186918139458, -0.07415453344583511, 0.03237844631075859, 0.019190151244401932, -0.05500387027859688, -0.004109002184122801, 0.000564216636121273, -0.0924759954214096, -0.06759987771511078, -0.00462972279638052, 0.022763626649975777, 0.02708733268082142, 0.023355914279818535, -0.018972979858517647, 0.014155698008835316, -0.05721508339047432, 0.03150975704193115, -0.005908078979700804, -0.07115361094474792, 0.03383942320942879, 0.059505265206098557, -0.024343062192201614, -0.03166769817471504, 0.036800868809223175, 0.03759058564901352, -0.02073010243475437, -0.0027269956190139055, 0.03214152902364731, 0.04390833154320717, 0.022961055859923363, -0.015656162053346634, -0.021914679557085037, -0.019940383732318878, -0.006169673055410385, 0.011747057549655437, 0.015488347969949245, 0.05914989113807678, -0.0022667378652840853, 0.0728515014052391, -0.003487099427729845, -0.02465895004570484, -0.0025345017202198505, 0.0673629641532898, 0.01409646961838007, -0.07604985684156418, -0.06605992466211319, -0.004121341742575169, -0.07620780169963837, 0.019861411303281784, -0.010611837729811668, 0.0028627284336835146, 0.04122328758239746, -0.016031278297305107, -0.0058488501235842705, 0.011283098720014095, 0.08355218172073364, -0.0357939749956131, 0.0024296173360198736, 0.03200332820415497, 0.010829010978341103, 0.0385974757373333, -0.010434151627123356, -0.006534917745739222, 0.011154768988490105, -0.014530814252793789, 0.04694874584674835, 0.07257509976625443, 0.017521871253848076, -0.019614625722169876, -0.0031860193703323603, 0.006860676687210798, -0.001954552484676242, -0.0575309693813324, -0.04959430173039436, 0.03607037663459778, -0.050423506647348404, 0.046790800988674164, -0.011697700247168541, -0.03913053497672081, -0.0030848365277051926 ]
44,062
jsons._load_impl
loadb
Extend ``json.loads``, allowing bytes to be loaded into a dict or a Python instance of type ``cls``. Any extra (keyword) arguments are passed on to ``json.loads``. :param bytes_: the bytes that are to be loaded. :param cls: a matching class of which an instance should be returned. :param encoding: the encoding that is used to transform from bytes. :param jdkwargs: extra keyword arguments for ``json.loads`` (not ``jsons.loads``!) :param args: extra arguments for ``jsons.loads``. :param kwargs: extra keyword arguments for ``jsons.loads``. :return: a JSON-type object (dict, str, list, etc.) or an instance of type ``cls`` if given.
def loadb( bytes_: bytes, cls: Optional[Type[T]] = None, encoding: str = 'utf-8', jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> T: """ Extend ``json.loads``, allowing bytes to be loaded into a dict or a Python instance of type ``cls``. Any extra (keyword) arguments are passed on to ``json.loads``. :param bytes_: the bytes that are to be loaded. :param cls: a matching class of which an instance should be returned. :param encoding: the encoding that is used to transform from bytes. :param jdkwargs: extra keyword arguments for ``json.loads`` (not ``jsons.loads``!) :param args: extra arguments for ``jsons.loads``. :param kwargs: extra keyword arguments for ``jsons.loads``. :return: a JSON-type object (dict, str, list, etc.) or an instance of type ``cls`` if given. """ if not isinstance(bytes_, bytes): raise DeserializationError('loadb accepts bytes only, "{}" was given' .format(type(bytes_)), bytes_, cls) jdkwargs = jdkwargs or {} str_ = bytes_.decode(encoding=encoding) return loads(str_, cls, jdkwargs=jdkwargs, *args, **kwargs)
(bytes_: bytes, cls: Optional[Type[~T]] = None, encoding: str = 'utf-8', jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> ~T
[ 0.018800409510731697, -0.0360100157558918, -0.01185872033238411, 0.012599890120327473, -0.06891073286533356, 0.0007846685475669801, -0.0013456303859129548, 0.06421063095331192, -0.02225317806005478, -0.07089924067258835, 0.07183925807476044, 0.044578664004802704, -0.030713362619280815, -0.005043571814894676, -0.053978871554136276, 0.02478400245308876, -0.061896733939647675, 0.01872810162603855, -0.006173403933644295, -0.04931492358446121, 0.01451608631759882, 0.063451386988163, 0.011479096487164497, 0.15242794156074524, 0.03503384068608284, 0.004776931367814541, 0.003549933200702071, 0.025163626298308372, -0.04385557398200035, -0.00692813191562891, 0.07527395337820053, -0.019234266132116318, 0.0009451047517359257, 0.0638490840792656, -0.019107725471258163, 0.0016258287942036986, 0.050074171274900436, 0.056618157774209976, -0.020065821707248688, -0.038613151758909225, -0.06417448073625565, 0.013883380219340324, -0.00399960670620203, -0.01161467656493187, 0.06084825098514557, -0.004162302240729332, 0.025940950959920883, 0.024765925481915474, -0.09053120762109756, 0.0143443513661623, 0.045157138258218765, -0.05517197400331497, 0.028074074536561966, -0.01708306558430195, 0.020264673978090286, 0.02107815258204937, -0.04215630516409874, 0.03648002818226814, -0.017010755836963654, 0.04186706617474556, -0.013024707324802876, 0.01659497804939747, -0.010340225882828236, -0.012057570740580559, -0.023771673440933228, -0.010792158544063568, -0.007804881781339645, -0.013024707324802876, 0.014172617346048355, -0.04595253989100456, 0.024187451228499413, 0.052677303552627563, -0.006327060982584953, 0.002582796849310398, 0.03828775882720947, 0.012898165732622147, -0.06522296369075775, -0.016233431175351143, -0.03485306724905968, 0.0524965301156044, 0.04674794524908066, 0.023771673440933228, 0.03264763578772545, -0.005820896476507187, -0.011461019515991211, -0.01669440232217312, -0.006087536923587322, -0.006864861585199833, 0.010448689572513103, -0.016712479293346405, -0.0765032097697258, -0.008048925548791885, -0.04269862547516823, 0.06167980656027794, 0.011876797303557396, -0.07379160821437836, 0.015582648105919361, 0.047109488397836685, -0.029303332790732384, 0.029737187549471855, 0.011885836720466614, -0.043494027107954025, -0.040565501898527145, -0.04620562493801117, -0.018800409510731697, -0.009481552988290787, -0.015926117077469826, 0.012310652993619442, -0.008428549394011497, 0.0004637961683329195, 0.04595253989100456, 0.003003094345331192, -0.05538890138268471, 0.062185972929000854, 0.020065821707248688, 0.03778159245848656, 0.04772412031888962, -0.03288264200091362, -0.01575438305735588, 0.010620424523949623, -0.01231969241052866, 0.015926117077469826, -0.009336934424936771, 0.05094188079237938, 0.0435301810503006, 0.0017229943769052625, 0.05708817020058632, -0.030044501647353172, 0.05415964499115944, 0.03458190709352493, 0.09067582339048386, -0.009264625608921051, -0.05039956048130989, -0.002453995868563652, 0.05108650028705597, 0.008220660500228405, -0.00995156355202198, 0.021295079961419106, -0.033931124955415726, -0.025109393522143364, 0.049061838537454605, 0.03610040247440338, 0.05021878704428673, -0.04439789056777954, -0.012726431712508202, -0.027549833059310913, -0.019885050132870674, -0.05687124282121658, -0.06612683087587357, 0.03537731245160103, -0.03282840922474861, -0.033009182661771774, 0.02147585339844227, 0.03756466507911682, -0.03523269295692444, 0.010204645805060863, -0.01100004743784666, -0.0592212937772274, -0.007434296887367964, -0.005228864029049873, 0.05314731225371361, -0.022958192974328995, 0.016721518710255623, -0.035051919519901276, 0.025525173172354698, 0.013440486043691635, -0.0068964967504143715, -0.014163578860461712, -0.04118013009428978, -0.007687379140406847, -0.039697788655757904, 0.022922039031982422, -0.023699363693594933, 0.00968944188207388, 0.03610040247440338, 0.025254013016819954, 0.021493930369615555, -0.01687517575919628, -0.011253130622208118, 0.022433951497077942, 0.02820061519742012, 0.03429267182946205, 0.05719663202762604, -0.031346067786216736, 0.04183091223239899, 0.017101142555475235, 0.012988552451133728, 0.047543346881866455, 0.051701128482818604, 0.004535146988928318, 0.03118337318301201, 0.027477523311972618, 0.04421712085604668, -0.006390331778675318, -0.0033714198507368565, 0.03911931440234184, -0.011018125340342522, 0.030749516561627388, 0.006046862807124853, 0.07773246616125107, -0.01075600367039442, 0.010548114776611328, 0.04284324124455452, -0.015465144999325275, -0.05889590084552765, -0.020662374794483185, 0.003531855996698141, 0.020698528736829758, 0.043602488934993744, -0.07100770622491837, -0.03591962903738022, -0.0652952715754509, -0.05412348732352257, -0.02015620842576027, 0.05499120056629181, -0.03577501326799393, -0.0034821433946490288, -0.014624550007283688, -0.0000379906123271212, -0.05361732468008995, 0.10267916321754456, 0.07556318491697311, -0.07118847966194153, -0.00782747846096754, 0.00010698100231820717, 0.016260547563433647, -0.05622045695781708, 0.009391166269779205, -0.03655233606696129, 0.011641792953014374, -0.04175860434770584, 0.04060165584087372, 0.04591638594865799, -0.03201492875814438, 0.07089924067258835, 0.04161398485302925, 0.022723188623785973, -0.004431202542036772, 0.01889079622924328, -0.05932975560426712, 0.06374061852693558, -0.01483243890106678, -0.030948366969823837, -0.049061838537454605, -0.02342820353806019, -0.0017772263381630182, 0.008473742753267288, 0.04982108622789383, -0.07520163804292679, -0.025687867775559425, -0.032611481845378876, 0.0045984177850186825, 0.04099935665726662, -0.01721864566206932, 0.00729419756680727, 0.010873506776988506, 0.07292389869689941, -0.06840457022190094, -0.013196442276239395, 0.03868545964360237, -0.0062592714093625546, 0.03083990328013897, -0.0018088616197928786, 0.07881710678339005, -0.007059192750602961, -0.0057305097579956055, 0.015926117077469826, -0.009825021959841251, -0.0007925773970782757, 0.04819412901997566, 0.019794663414359093, -0.02648327127099037, 0.06131826341152191, 0.0009942525066435337, -0.012464310973882675, -0.036425795406103134, 0.011461019515991211, -0.09638825803995132, 0.0427347794175148, -0.028670625761151314, -0.06641606241464615, -0.06254751980304718, 0.0476156547665596, -0.01791462115943432, 0.019198112189769745, -0.04143321141600609, -0.005305692553520203, -0.045554839074611664, -0.010918700136244297, -0.03103875368833542, -0.001062042429111898, -0.06666915118694305, -0.024277837947010994, -0.014253964647650719, 0.0038617670070379972, -0.034907300025224686, -0.06916381418704987, -0.008446626365184784, 0.027585987001657486, -0.07328544557094574, -0.027820991352200508, -0.022578569129109383, 0.06337907910346985, 0.03911931440234184, -0.008256814442574978, -0.004001866094768047, -0.017010755836963654, -0.029917960986495018, -0.09559285640716553, 0.015013212338089943, 0.019342729821801186, 0.04649486020207405, 0.023500513285398483, 0.023012425750494003, -0.06200519949197769, 0.004413125105202198, 0.029249100014567375, 0.052026521414518356, -0.000582993496209383, -0.0341661311686039, -0.01903541572391987, -0.018565405160188675, -0.045301757752895355, 0.003066364908590913, 0.01046676654368639, -0.04743488132953644, -0.002181706251576543, 0.004024462774395943, 0.011461019515991211, 0.010285994037985802, 0.03235839679837227, 0.0011648571817204356, 0.04465097561478615, -0.012491426430642605, -0.0012405558954924345, -0.0073845842853188515, -0.027007512748241425, -0.034220363944768906, 0.0033917566761374474, -0.028996016830205917, -0.01586284674704075, -0.013313944451510906, 0.013512794859707355, 0.014244926162064075, -0.009969640523195267, -0.018764255568385124, 0.010231762193143368, -0.019848894327878952, 0.019306575879454613, -0.0019772066734731197, -0.027260595932602882, -0.01659497804939747, -0.006860341876745224, 0.030026424676179886, -0.039300087839365005, -0.04407250136137009, 0.025832487270236015, -0.006851303391158581, 0.03716696426272392, -0.03675118833780289, -0.013729723170399666, 0.028164461255073547, -0.048374902456998825, -0.04063780978322029, -0.03449152037501335, 0.0319245420396328, 0.003439209656789899, -0.016260547563433647, -0.0064626410603523254, 0.011226014234125614, 0.031400300562381744, -0.0009671364678069949, -0.019848894327878952, 0.05741355940699577, 0.013449524529278278, -0.0048085665330290794, -0.05600352957844734, 0.012265459634363651, -0.019830817356705666, 0.058968208730220795, 0.0006603869842365384, -0.018420787528157234, -0.024368224665522575, -0.01524821761995554, 0.04479559138417244, 0.026266342028975487, -0.0031906466465443373, -0.009626171551644802, 0.01507648266851902, -0.014958980493247509, 0.012464310973882675, 0.006666010711342096, -0.0435301810503006, -0.010313109494745731, -0.048483364284038544, -0.040420882403850555, -0.009409244172275066, 0.033244188874959946, 0.01161467656493187, 0.01590804010629654, -0.01595323346555233, -0.022361641749739647, -0.024169374257326126, 0.012771625071763992, -0.009815983474254608, 0.062258280813694, -0.011153705418109894, -0.06200519949197769, -0.026266342028975487, 0.015157830901443958, 0.06641606241464615, 0.00863643828779459, -0.048374902456998825, -0.020318904891610146, -0.004517069552093744, 0.043891727924346924, -0.004907991737127304, 0.004616495221853256, -0.05123111978173256, -0.024422455579042435, -0.053002696484327316, 0.07643090188503265, -0.01731806993484497, -0.018465980887413025, 0.025597481057047844, 0.049206458032131195, 0.0073303524404764175, -0.0404931902885437, 0.06308984011411667, 0.004718179814517498, 0.0472179539501667, -0.04953185096383095, -0.015166869387030602, -0.04284324124455452, 0.02791137807071209, 0.023066656664013863, 0.00029997050296515226, -0.022849729284644127, 0.06666915118694305, -0.01644132100045681, -0.03577501326799393, 0.019848894327878952, 0.000488370016682893, 0.019975436851382256, -0.04870029538869858, -0.04519329592585564, -0.03049643523991108, 0.02297626994550228, 0.055497366935014725, -0.004745295736938715, 0.025796331465244293, -0.008048925548791885, 0.04031241685152054, -0.016757672652602196, 0.008333643898367882, -0.04421712085604668, 0.08048021793365479, -0.025398630648851395, -0.03351534530520439, 0.027242517098784447, 0.0033646407537162304, -0.027893301099538803, 0.035738855600357056, -0.03338880464434624, -0.00537800183519721, 0.03127375990152359, 0.02098776586353779, 0.02151200734078884, -0.011551406234502792, -0.008993465453386307, 0.013286828063428402, 0.04888106882572174, -0.013485679402947426, 0.040673963725566864, -0.0032245414331555367, -0.0005397773929871619, 0.0923389419913292, -0.034618064761161804, -0.0659460574388504, -0.08597572147846222, 0.05235191062092781, 0.04548253118991852, 0.0008163038874045014, -0.000007591061148559675, 0.023934368044137955, 0.009373089298605919, 0.009671364910900593, 0.04685640707612038, 0.024711692705750465, 0.04118013009428978, -0.0317256934940815, 0.06840457022190094, -0.03821545094251633, 0.04786873608827591, 0.0029262658208608627, -0.014769168570637703, 0.0008004862465895712, -0.011361594311892986, 0.011099472641944885, -0.05444888025522232, -0.0053102122619748116, -0.004641351290047169, 0.006060420535504818, -0.042662471532821655, -0.028616392984986305, -0.0708269327878952, 0.03980625420808792, 0.03595578670501709, 0.015401874668896198, 0.04566330462694168, -0.04971262440085411, 0.03995087370276451, -0.003732966026291251, 0.030134888365864754, -0.04060165584087372, 0.01869194582104683, -0.0007914475863799453, 0.011804488487541676, 0.03375035151839256, 0.015926117077469826, 0.026555579155683517, 0.06522296369075775, 0.02122277021408081, -0.031129140406847, 0.019017338752746582, -0.006846784148365259, 0.0004892174038104713, -0.0484110563993454, 0.03268378973007202, 0.00782747846096754, 0.002740973373875022, -0.03646194934844971, -0.012066609226167202, -0.07144156098365784, 0.026465192437171936, -0.003710369346663356, -0.018077317625284195, 0.035305000841617584, 0.024946698918938637, -0.05162882059812546, 0.04197553172707558, 0.050074171274900436, 0.028905630111694336, 0.01995735801756382, -0.025344399735331535, 0.011424864642322063, 0.012771625071763992, 0.039300087839365005, -0.04468712955713272, 0.046675633639097214, -0.0064084092155098915, -0.04490405693650246, -0.001175025594420731, 0.01504936721175909, -0.010620424523949623, -0.059112828224897385, -0.038179293274879456, 0.003803015686571598, 0.022668955847620964, -0.007303236518055201, 0.027188286185264587, 0.04786873608827591, -0.05806434527039528, 0.03696811571717262, 0.0131241325289011, -0.001162597443908453, 0.015428991056978703, 0.06034208461642265, -0.007004960440099239, 0.014425699599087238, 0.018113471567630768, 0.11359786242246628, -0.02610364742577076, 0.05636507645249367, 0.012410078197717667, 0.05000185966491699, 0.009879253804683685, 0.010412534698843956, -0.0007287418702617288, -0.07259850949048996, 0.0070456345565617085, 0.002539863111451268, -0.035540007054805756, -0.02941179648041725, 0.003443729132413864, -0.008401433005928993, -0.00012124513159506023, 0.021385466679930687, -0.040673963725566864, -0.05867897346615791, 0.035449620336294174, 0.046531014144420624, -0.003070884384214878, 0.021349312737584114, 0.013223557732999325, -0.00705015379935503, 0.02263280190527439, 0.020951611921191216, -0.01717345230281353, -0.04971262440085411, -0.03814313933253288, 0.02897793985903263, -0.018122510984539986, -0.02702558971941471, 0.07220080494880676, 0.05914898216724396, -0.06807918101549149, -0.011388709768652916, 0.024548998102545738, -0.001736552338115871, 0.020120054483413696, -0.03445536643266678, -0.0018969884840771556, 0.00497578177601099, 0.011189859360456467, -0.03219570219516754, -0.028019841760396957, -0.04114397615194321, -0.010557153262197971, -0.02903217263519764, -0.00970751978456974, 0.050761107355356216, -0.0037555627059191465, 0.059112828224897385, -0.05343655124306679, 0.0013908236287534237, -0.04287939891219139, 0.0007146189454942942, -0.008830769918859005, -0.05217113718390465, 0.012744508683681488, -0.001974947052076459, 0.02087930217385292, 0.01809539459645748, -0.036136556416749954, -0.038468532264232635, 0.037203118205070496, 0.04215630516409874, 0.049929551780223846, -0.006110133603215218, -0.014290119521319866, -0.02351859025657177, -0.054810427129268646, 0.052279602736234665, -0.010629463009536266, -0.04757950082421303, 0.008735863491892815, 0.0457717701792717, 0.0251274723559618, 0.028019841760396957, 0.00208680029027164, 0.0400954894721508, 0.012762586586177349, -0.023012425750494003, -0.06446371227502823, 0.0060694594867527485, 0.048772603273391724, -0.016802866011857986, 0.05672662332653999, 0.0738639235496521, -0.03810698539018631, 0.008256814442574978, -0.07006768137216568, 0.015980347990989685, 0.02259664796292782, -0.018945029005408287, -0.011885836720466614, -0.0453740656375885, 0.005346366669982672, -0.04490405693650246, -0.03250301629304886, 0.003491181880235672, -0.025091316550970078, -0.03420228511095047, -0.045844078063964844, -0.014687820337712765, -0.029827574267983437, -0.04031241685152054, 0.04407250136137009, 0.014226849190890789, -0.0037917173467576504, -0.01117178238928318, -0.044325582683086395, 0.0027748681604862213, -0.06724762171506882, 0.0588235929608345, -0.015772460028529167, 0.042517852038145065, 0.04143321141600609, -0.07093539088964462, 0.007036596070975065, 0.03347919136285782, -0.053111158311367035, 0.014913787133991718, -0.0033194473944604397, -0.026573656126856804, -0.003744264366105199, -0.060956716537475586, 0.04982108622789383, 0.021638549864292145, -0.009825021959841251, -0.05853435397148132, -0.05748587101697922, 0.0038436895702034235, 0.024621305987238884, -0.012925282120704651, -0.05683508515357971, -0.02604941464960575, 0.02566979080438614, 0.028941785916686058, -0.015383797697722912, -0.009034139104187489, 0.009599056094884872, -0.027296749874949455, -0.008378836326301098, 0.02360897697508335, 0.009879253804683685, 0.050074171274900436, -0.047941047698259354, 0.0032923314720392227, -0.04783258214592934, 0.03586539998650551, 0.03176184743642807, 0.036660801619291306, 0.07997405529022217, 0.0015862846048548818, 0.031002599745988846, 0.009843099862337112, -0.06316214799880981, 0.04465097561478615, 0.06171596422791481, 0.018963105976581573, -0.06283675879240036, -0.06630760431289673, -0.04631408676505089, -0.043494027107954025, -0.025742100551724434, -0.05021878704428673, 0.03083990328013897, 0.04645870625972748, -0.036281175911426544, 0.013241635635495186, 0.006824187468737364, 0.05455734580755234, -0.019396962597966194, -0.02561555989086628, 0.05444888025522232, 0.03420228511095047, 0.009034139104187489, -0.012627006508409977, -0.03107490949332714, 0.01590804010629654, -0.03966163471341133, 0.07758785039186478, 0.04566330462694168, 0.022072404623031616, -0.022560492157936096, 0.019830817356705666, -0.00895731057971716, -0.029484104365110397, -0.04121628403663635, -0.008473742753267288, 0.037600819021463394, -0.05820896476507187, 0.021747013553977013, -0.013738761655986309, -0.027387136593461037, 0.025633636862039566 ]
44,063
jsons._load_impl
loads
Extend ``json.loads``, allowing a string to be loaded into a dict or a Python instance of type ``cls``. Any extra (keyword) arguments are passed on to ``json.loads``. :param str_: the string that is to be loaded. :param cls: a matching class of which an instance should be returned. :param jdkwargs: extra keyword arguments for ``json.loads`` (not ``jsons.loads``!) :param args: extra arguments for ``jsons.loads``. :param kwargs: extra keyword arguments for ``jsons.loads``. :return: a JSON-type object (dict, str, list, etc.) or an instance of type ``cls`` if given.
def loads( str_: str, cls: Optional[Type[T]] = None, jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> T: """ Extend ``json.loads``, allowing a string to be loaded into a dict or a Python instance of type ``cls``. Any extra (keyword) arguments are passed on to ``json.loads``. :param str_: the string that is to be loaded. :param cls: a matching class of which an instance should be returned. :param jdkwargs: extra keyword arguments for ``json.loads`` (not ``jsons.loads``!) :param args: extra arguments for ``jsons.loads``. :param kwargs: extra keyword arguments for ``jsons.loads``. :return: a JSON-type object (dict, str, list, etc.) or an instance of type ``cls`` if given. """ jdkwargs = jdkwargs or {} try: obj = json.loads(str_, **jdkwargs) except JSONDecodeError as err: raise DecodeError('Could not load a dict; the given string is not ' 'valid JSON.', str_, cls, err) from err else: return load(obj, cls, *args, **kwargs)
(str_: str, cls: Optional[Type[~T]] = None, jdkwargs: Optional[Dict[str, object]] = None, *args, **kwargs) -> ~T
[ -0.0008973813382908702, 0.004803082440048456, 0.018579978495836258, -0.05520057678222656, -0.016124965623021126, 0.03143159672617912, 0.02741430141031742, 0.08473511785268784, 0.010480297729372978, -0.03435157239437103, 0.022188102826476097, 0.07841160148382187, -0.028009457513689995, 0.013372376561164856, -0.051257677376270294, 0.01706419512629509, -0.06632252782583237, 0.03552328050136566, -0.040768079459667206, -0.07625416666269302, 0.03968936204910278, 0.040247321128845215, 0.04839349538087845, 0.13294263184070587, 0.004166081082075834, -0.017677947878837585, 0.019919075071811676, 0.0036894925870001316, -0.03306826949119568, 0.007397584151476622, 0.07945311814546585, -0.013772246427834034, -0.03139439597725868, 0.06204485148191452, -0.031152617186307907, -0.018012721091508865, 0.0021458107512444258, 0.011661307886242867, -0.027153922244906425, -0.008490250445902348, -0.06565297394990921, 0.047984328120946884, -0.0038010841235518456, -0.030278483405709267, 0.04303710535168648, 0.017817435786128044, -0.026763351634144783, 0.009299288503825665, -0.043185897171497345, 0.004333468619734049, 0.06290038675069809, -0.05401026830077171, -0.004028916824609041, -0.03808988630771637, 0.024215346202254295, 0.013381675817072392, -0.01353976409882307, 0.06037098169326782, -0.005700463894754648, -0.023043636232614517, -0.006676889024674892, -0.00345003604888916, 0.000211268212297, 0.04753796383738518, -0.04329748824238777, -0.0348537340760231, -0.007513824850320816, -0.020774610340595245, 0.007188349962234497, -0.02484769932925701, 0.0050588129088282585, 0.02120237797498703, -0.02536845952272415, -0.006737334653735161, 0.057469602674245834, 0.007750956807285547, -0.052410788834095, -0.037848103791475296, -0.03775510936975479, 0.042479149997234344, 0.02239268645644188, 0.007718409411609173, 0.0003716809442266822, -0.047128792852163315, -0.038871027529239655, -0.005914347246289253, -0.04839349538087845, -0.05668846145272255, -0.016338849440217018, -0.016775917261838913, -0.07197649031877518, -0.020607223734259605, -0.02618679590523243, 0.04140043258666992, 0.013902436010539532, -0.051294874399900436, 0.045231737196445465, -0.007750956807285547, 0.03994974493980408, 0.023508600890636444, 0.03360762819647789, -0.0024689610581845045, -0.0212209764868021, -0.03100382722914219, -0.037122759968042374, -0.05322912707924843, -0.012554039247334003, 0.021499954164028168, -0.036267224699258804, -0.02497788891196251, 0.024382734671235085, -0.010359407402575016, -0.061598487198352814, 0.07945311814546585, 0.03409119322896004, 0.020570026710629463, 0.0104338014498353, -0.02998090535402298, 0.0288091953843832, -0.0075928689911961555, -0.041437629610300064, 0.03916860371828079, -0.016441142186522484, 0.0661737397313118, 0.015195037238299847, -0.02278325706720352, -0.008313563652336597, -0.03572786599397659, 0.06394191086292267, 0.026465775445103645, 0.10995478928089142, 0.01824520342051983, -0.03206394612789154, 0.0026944687124341726, 0.04924903064966202, 0.03846185654401779, -0.03479793667793274, 0.04396703466773033, -0.018579978495836258, 0.004014967940747738, 0.049732595682144165, 0.01639464497566223, 0.0009095866698771715, -0.0386478416621685, -0.010815072804689407, -0.0194541122764349, -0.0030896884854882956, -0.004591523669660091, -0.014330203644931316, 0.042999908328056335, -0.02101639099419117, -0.054233450442552567, 0.027990859001874924, 0.06877753883600235, -0.020941996946930885, -0.04928622767329216, -0.018049918115139008, -0.031598981469869614, 0.013465370051562786, -0.035932451486587524, 0.02810245007276535, -0.044227417558431625, 0.019881878048181534, -0.027451500296592712, 0.04939781874418259, 0.016273755580186844, 0.056093309074640274, -0.01422791089862585, -0.031989552080631256, 0.007960190996527672, -0.031264208257198334, 0.05114608630537987, -0.00044433161383494735, -0.012860915623605251, 0.023713186383247375, 0.005579573102295399, 0.025461452081799507, 0.005086710676550865, -0.011354431509971619, -0.013586260378360748, 0.05653967335820198, 0.00564001826569438, 0.019435513764619827, -0.0009648011764511466, 0.0578787699341774, 0.018347496166825294, -0.020365441218018532, 0.058994684368371964, 0.012209965847432613, 0.008699484169483185, -0.013725750148296356, 0.009922340512275696, 0.004103310871869326, -0.020551428198814392, 0.0067652324214577675, 0.062305234372615814, -0.019435513764619827, -0.0028595312032848597, -0.0212209764868021, 0.05888309329748154, -0.02652157098054886, 0.015381023287773132, 0.018226604908704758, -0.0026572716888040304, -0.02328541874885559, -0.053526703268289566, 0.032342925667762756, 0.015808790922164917, 0.04047050327062607, -0.03602544218301773, -0.04240475594997406, -0.052857156842947006, -0.041958387941122055, 0.006918670609593391, 0.049360621720552444, -0.010517495684325695, 0.04512014612555504, 0.024047959595918655, 0.004707764834165573, -0.05813915282487869, 0.04910024255514145, 0.06978186219930649, -0.019956272095441818, 0.027284111827611923, -0.004712414462119341, -0.024233946576714516, -0.04605007544159889, -0.005137857049703598, -0.03331005200743675, 0.03327285498380661, -0.023675987496972084, -0.024252545088529587, 0.06635972112417221, -0.027005134150385857, 0.09276970475912094, 0.009624763391911983, 0.0019981847144663334, -0.02345280535519123, 0.0576183907687664, -0.03187796100974083, 0.07338998466730118, -0.019435513764619827, -0.08741331100463867, -0.018831059336662292, -0.025777626782655716, 0.04292551428079605, 0.010136224329471588, 0.026447176933288574, -0.024364136159420013, -0.02897658199071884, 0.06650850921869278, 0.03725294768810272, 0.012786521576344967, 0.010656984522938728, -0.04701720178127289, 0.04389264062047005, 0.10065549612045288, -0.030278483405709267, -0.025740429759025574, -0.0024875595699995756, -0.00210745120421052, 0.01103825494647026, -0.004096336662769318, 0.06993065029382706, -0.047128792852163315, -0.0262053944170475, 0.0365276038646698, 0.014795168302953243, -0.012144871056079865, -0.0016785215120762587, 0.0834704115986824, -0.01894265040755272, 0.06755003333091736, -0.004349742084741592, -0.0340539924800396, -0.011726402677595615, 0.03502111881971359, -0.08265207707881927, 0.05374988541007042, -0.022374087944626808, -0.06345834583044052, -0.04657083749771118, 0.033012475818395615, -0.020272448658943176, 0.08324722945690155, -0.01206117682158947, 0.030799243599176407, -0.017445465549826622, 0.019751688465476036, 0.010303611867129803, 0.02103499136865139, -0.05430784448981285, -0.04631045460700989, 0.01360485889017582, 0.007899745367467403, -0.01877526380121708, -0.10504475980997086, -0.06118931621313095, 0.016515536233782768, -0.03479793667793274, 0.0014785868115723133, -0.06691768020391464, 0.017863932996988297, 0.04895145446062088, 0.026261189952492714, -0.026316985487937927, -0.029943708330392838, -0.03539309278130531, -0.06595055013895035, 0.012293659150600433, 0.003510481445118785, 0.03823867440223694, -0.06219363957643509, 0.009801450185477734, -0.05345230922102928, 0.05914347618818283, -0.005942245479673147, 0.006216574460268021, 0.011875191703438759, 0.0023759682662785053, -0.01982608251273632, 0.0019993470050394535, -0.027451500296592712, -0.0177337434142828, 0.03087363764643669, -0.05728361755609512, -0.014581284485757351, 0.050550930202007294, 0.05687444657087326, -0.0018900803988799453, -0.03755052760243416, -0.026316985487937927, 0.03416558727622032, -0.000029641481887665577, 0.03483513370156288, -0.020439835265278816, 0.00668153865262866, -0.062342431396245956, -0.014804467558860779, -0.024568719789385796, 0.025628838688135147, -0.008899418637156487, -0.001688983291387558, 0.01756635494530201, -0.011363730765879154, 0.018161511048674583, 0.06647131592035294, -0.01690610684454441, 0.06483463943004608, -0.04895145446062088, -0.07060019671916962, -0.020123660564422607, -0.0013437471352517605, -0.01652483642101288, -0.06702926754951477, -0.03169197589159012, 0.04225596785545349, 0.010322210378944874, 0.01999347098171711, -0.09291849285364151, -0.03172917291522026, 0.008783177472651005, -0.06290038675069809, -0.029218364506959915, -0.03706696256995201, 0.016162162646651268, 0.047500766813755035, -0.04273952916264534, 0.0434090793132782, -0.01915653422474861, 0.02049563080072403, 0.00724414549767971, -0.024382734671235085, 0.04151202365756035, -0.04236755892634392, 0.008666937239468098, -0.015120643191039562, 0.008225220255553722, -0.021406961604952812, 0.040582094341516495, -0.007867198437452316, -0.012042578309774399, -0.005663266871124506, -0.0031292105559259653, 0.07599378377199173, -0.0011786847608163953, -0.012330856174230576, 0.01673871837556362, 0.022374087944626808, -0.03563487157225609, 0.020737413316965103, -0.009024959057569504, 0.014590583741664886, -0.004080062732100487, -0.028028056025505066, -0.03656480088829994, -0.013642055913805962, 0.017194384709000587, -0.017194384709000587, 0.09128181636333466, -0.012628433294594288, -0.01876596361398697, 0.01448829099535942, 0.012265761382877827, -0.00033361196983605623, 0.04757516086101532, 0.01725947856903076, -0.049360621720552444, -0.01566930115222931, -0.015455417335033417, 0.06185886636376381, -0.020458433777093887, -0.06918670237064362, -0.044710978865623474, 0.009866544976830482, 0.0348537340760231, 0.009066806174814701, 0.0578787699341774, -0.061784472316503525, -0.0118007967248559, -0.027005134150385857, 0.027544492855668068, 0.0058678509667515755, -0.033533234149217606, 0.01669222302734852, 0.0358208604156971, 0.005509828217327595, -0.03673218935728073, 0.06014779582619667, -0.028046654537320137, -0.015213635750114918, 0.0007846274529583752, 0.024047959595918655, -0.05255957692861557, 0.0396149680018425, 0.020458433777093887, 0.0022992491722106934, -0.02499648742377758, 0.04396703466773033, -0.0427023321390152, -0.048319101333618164, -0.0029339254833757877, -0.010991758666932583, 0.03531869873404503, 0.0019819107837975025, -0.015027649700641632, -0.007620766758918762, 0.014888160862028599, 0.05207601562142372, -0.000054923923016758636, 0.023490002378821373, 0.03258470818400383, -0.0030455170199275017, 0.042479149997234344, 0.0030734147876501083, -0.03719715401530266, 0.06245402246713638, 0.005612120497971773, -0.04359506443142891, 0.0337936133146286, -0.021425560116767883, -0.03349603712558746, 0.02858601324260235, 0.01829170063138008, -0.035262901335954666, 0.08042024821043015, 0.02324822172522545, 0.007648664526641369, -0.04556651413440704, -0.04601287841796875, -0.006086384411901236, 0.03753192722797394, -0.013353778049349785, 0.018059218302369118, -0.030408672988414764, 0.033533234149217606, 0.07647734880447388, -0.031970955431461334, -0.0106755830347538, -0.03983815014362335, 0.028028056025505066, 0.03383081033825874, 0.012953909114003181, -0.002966473111882806, -0.01754775643348694, 0.008564644493162632, 0.00033099655411206186, 0.05583292618393898, 0.02462451532483101, 0.052113212645053864, -0.01163341011852026, 0.06580176204442978, -0.004507829900830984, 0.02946014516055584, 0.007699810899794102, -0.003115261672064662, -0.007676562760025263, -0.00008957830141298473, 0.013493267819285393, -0.04612446948885918, 0.05572133511304855, 0.00998743623495102, 0.007499875966459513, 0.02622399292886257, -0.03983815014362335, -0.05252237990498543, 0.0020760660991072655, 0.0844375416636467, -0.014004728756844997, 0.010285013355314732, -0.0073324888944625854, 0.006993065122514963, 0.05062532797455788, 0.004882126580923796, -0.005821354687213898, 0.02737710438668728, 0.02101639099419117, 0.016608528792858124, -0.006728035397827625, -0.02203931286931038, -0.037122759968042374, 0.019361117854714394, -0.0008189185755327344, -0.016599230468273163, -0.006267720367759466, -0.030762046575546265, 0.03362622857093811, 0.001859857700765133, 0.034928128123283386, -0.0005294782458804548, 0.02791646309196949, -0.00108859792817384, -0.044041428714990616, -0.06803359091281891, 0.046645231544971466, 0.020644420757889748, -0.02756309136748314, 0.02105358988046646, 0.030092498287558556, -0.021499954164028168, 0.053861480206251144, 0.020198054611682892, 0.05174124240875244, 0.030092498287558556, 0.013651355169713497, -0.0323801226913929, 0.01111264992505312, 0.030036700889468193, -0.04590128734707832, 0.04779834300279617, 0.023992164060473442, -0.04690561071038246, -0.03262190520763397, 0.012293659150600433, -0.05847392603754997, -0.025201071053743362, -0.02979492023587227, -0.024866297841072083, 0.0041195848025381565, 0.010387305170297623, -0.016097068786621094, 0.04292551428079605, -0.046273257583379745, 0.052857156842947006, 0.002647972432896495, -0.036099836230278015, 0.015436818823218346, 0.03755052760243416, -0.029367152601480484, 0.029069576412439346, 0.01103825494647026, 0.0695214793086052, 0.017650049179792404, 0.03639741614460945, -0.00034058644087053835, 0.04448779672384262, 0.01499045267701149, -0.03133860230445862, 0.012823718599975109, -0.013158492743968964, 0.004979768767952919, 0.01542751956731081, -0.015036948956549168, -0.013316581025719643, -0.004835629835724831, 0.01121494174003601, -0.04757516086101532, 0.0386478416621685, -0.05665126442909241, -0.050402142107486725, 0.04738917574286461, 0.04668242856860161, 0.012479645200073719, 0.041288841515779495, 0.017110690474510193, -0.04500855505466461, 0.0479099340736866, -0.004965819884091616, 0.0035941749811172485, -0.05932946130633354, -0.05252237990498543, 0.041102856397628784, -0.024159550666809082, -0.07019102573394775, 0.07130694389343262, 0.021276772022247314, -0.0017215308034792542, 0.0209977924823761, 0.030966630205512047, -0.06401630491018295, 0.04485976696014404, -0.0462360605597496, -0.006890772841870785, 0.031617581844329834, 0.03753192722797394, -0.02808385156095028, -0.02103499136865139, -0.045752499252557755, 0.01438599918037653, -0.058697108179330826, 0.026428578421473503, 0.04355786740779877, 0.022615868598222733, 0.045082949101924896, 0.01241455040872097, -0.022541474550962448, -0.04746356979012489, -0.018012721091508865, -0.032008152455091476, -0.06911230832338333, 0.0014541762648150325, -0.009578267112374306, -0.005021615885198116, -0.02274606004357338, -0.04359506443142891, -0.03035287745296955, 0.03102242574095726, 0.021778933703899384, 0.041958387941122055, -0.01534382626414299, -0.007671913132071495, -0.018747365102171898, -0.04590128734707832, 0.06524381041526794, -0.05378708615899086, -0.01877526380121708, 0.024605916813015938, 0.036453209817409515, 0.054531026631593704, 0.041437629610300064, 0.050402142107486725, 0.007895096205174923, 0.006709436420351267, -0.04206998273730278, -0.04735197499394417, -0.010275714099407196, 0.015353125520050526, -0.04467378184199333, 0.0472031868994236, 0.0623796284198761, -0.03425857797265053, -0.0005899235839024186, -0.08287525922060013, 0.030780645087361336, 0.00439391378313303, -0.028474420309066772, -0.04545492306351662, -0.03156178444623947, 0.04642204940319061, -0.06978186219930649, -0.020272448658943176, -0.030055299401283264, -0.00465661846101284, 0.008848273195326328, -0.040768079459667206, -0.026986535638570786, -0.00870878342539072, -0.025889219716191292, 0.02946014516055584, 0.014683576300740242, -0.03636021912097931, -0.015148540958762169, -0.04050770029425621, -0.010536094196140766, -0.04013573005795479, 0.061635684221982956, 0.023211024701595306, -0.004779834300279617, 0.021406961604952812, -0.029367152601480484, 0.034890931099653244, 0.015232234261929989, -0.0576183907687664, -0.023657388985157013, 0.029906511306762695, -0.07205088436603546, 0.01829170063138008, -0.027990859001874924, 0.0431487001478672, 0.024159550666809082, 0.008508848957717419, -0.012526141479611397, -0.0182638019323349, -0.02068161778151989, 0.02203931286931038, -0.012786521576344967, -0.06933549791574478, 0.031059622764587402, 0.04690561071038246, -0.029850715771317482, -0.039912544190883636, 0.0037848104257136583, 0.04564090818166733, 0.005495879333466291, -0.031245609745383263, -0.018579978495836258, 0.013297982513904572, 0.0028851041570305824, -0.025573043152689934, -0.02912537194788456, -0.02981351874768734, -0.03976375609636307, -0.009717756882309914, 0.0078300004824996, 0.07290641963481903, 0.0031082872301340103, -0.01911933720111847, 0.012544739991426468, -0.027153922244906425, -0.008880820125341415, -0.009801450185477734, 0.020235251635313034, -0.06539259850978851, -0.06245402246713638, -0.03769931569695473, -0.09381122142076492, -0.023638790473341942, -0.034221380949020386, 0.0633467510342598, 0.04002413898706436, -0.052299197763204575, 0.03942898288369179, 0.03946617990732193, 0.03894542157649994, 0.009429478086531162, 0.010712780058383942, -0.0014971854398027062, 0.0019075165037065744, 0.022132307291030884, -0.012777222320437431, -0.013288683257997036, 0.03275209292769432, -0.033514633774757385, 0.0747290849685669, 0.06174727529287338, -0.006918670609593391, 0.0022283419966697693, 0.016469039022922516, 0.024364136159420013, 0.008639038540422916, -0.05598171800374985, -0.04169800877571106, 0.02207650989294052, -0.06461145728826523, -0.016004076227545738, -0.030092498287558556, -0.024196747690439224, -0.005323842633515596 ]
44,066
jsons._lizers_impl
set_deserializer
Set a deserializer function for the given type. You may override the default behavior of ``jsons.dump`` by setting a custom deserializer. The ``func`` argument must take two arguments (i.e. the dict containing the serialized values and the type that the values should be deserialized into) and also a ``kwargs`` parameter. For example: >>> def func(dict_, cls, **kwargs): ... return cls() You may ask additional arguments between ``cls`` and ``kwargs``. :param func: the deserializer function. :param cls: the type or sequence of types this serializer can handle. :param high_prio: determines the order in which is looked for the callable. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None.
def set_deserializer( func: callable, cls: Union[type, Sequence[type]], high_prio: bool = True, fork_inst: type = StateHolder) -> None: """ Set a deserializer function for the given type. You may override the default behavior of ``jsons.dump`` by setting a custom deserializer. The ``func`` argument must take two arguments (i.e. the dict containing the serialized values and the type that the values should be deserialized into) and also a ``kwargs`` parameter. For example: >>> def func(dict_, cls, **kwargs): ... return cls() You may ask additional arguments between ``cls`` and ``kwargs``. :param func: the deserializer function. :param cls: the type or sequence of types this serializer can handle. :param high_prio: determines the order in which is looked for the callable. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None. """ if isinstance(cls, Sequence): for cls_ in cls: set_deserializer(func, cls_, high_prio, fork_inst) elif cls: index = 0 if high_prio else len(fork_inst._classes_deserializers) fork_inst._classes_deserializers.insert(index, cls) cls_name = get_class_name(cls, fully_qualified=True) fork_inst._deserializers[cls_name.lower()] = func else: fork_inst._deserializers['nonetype'] = func
(func: <built-in function callable>, cls: Union[type, Sequence[type]], high_prio: bool = True, fork_inst: type = <class 'jsons._common_impl.StateHolder'>) -> NoneType
[ 0.0206027589738369, 0.0049623060040175915, 0.03866922855377197, -0.0030210334807634354, -0.03275122120976448, 0.04587376117706299, -0.0006518770242109895, 0.02795432321727276, -0.012782532721757889, -0.04638837277889252, 0.020896822214126587, 0.010760852135717869, -0.0020607353653758764, -0.04083793982863426, -0.013554447330534458, 0.06142232194542885, -0.03275122120976448, 0.03139118105173111, 0.029387878254055977, 0.018535131588578224, 0.026759695261716843, -0.013646341860294342, -0.002818865468725562, 0.05715841427445412, 0.001063105184584856, 0.00865646731108427, 0.007774279452860355, 0.011560334824025631, -0.03208957985043526, -0.007112638559192419, 0.05601892247796059, 0.016338851302862167, -0.07763252407312393, 0.013857698999345303, 0.014124193228781223, 0.039220597594976425, -0.00037619334761984646, 0.09726119786500931, -0.058187633752822876, -0.010126779787242413, -0.03718053549528122, -0.0014909891178831458, -0.014372308738529682, 0.0221649669110775, 0.05035821720957756, 0.07042798399925232, 0.027402956038713455, -0.0013393631670624018, -0.004525806754827499, -0.055688101798295975, 0.0519755594432354, -0.009221618995070457, 0.03128090500831604, 0.038705985993146896, 0.04102173075079918, 0.01232306007295847, 0.0021009391639381647, 0.02062113769352436, 0.030894950032234192, 0.010347327217459679, -0.00005492135460372083, 0.022109830752015114, -0.02091520093381405, 0.023451490327715874, -0.02238551340997219, -0.003073872998356819, -0.0639953687787056, -0.02486666664481163, -0.04455048218369484, 0.043558020144701004, -0.00011651942622847855, 0.00606044614687562, 0.022532545030117035, 0.02225686050951481, 0.08836580812931061, 0.01304902695119381, -0.05539403855800629, -0.03337610140442848, -0.05149770900607109, 0.039624933153390884, 0.043043408542871475, -0.01990436017513275, -0.01876486837863922, 0.0316852442920208, -0.0069104707799851894, -0.03151983395218849, 0.035746980458498, -0.030545750632882118, -0.0678916946053505, 0.02435205690562725, -0.09454111754894257, 0.01977570913732052, -0.034975066781044006, 0.013389036990702152, -0.035048581659793854, -0.028615964576601982, -0.006795602384954691, 0.005169068928807974, 0.0037447032518684864, 0.0021606707014143467, 0.015585316345095634, -0.015585316345095634, -0.0037217293865978718, -0.001534639042802155, -0.010889505036175251, -0.07983799278736115, -0.01403229869902134, 0.04756462201476097, -0.03451559692621231, 0.0004158228693995625, 0.032383643090724945, 0.018222689628601074, -0.038816262036561966, 0.051865287125110626, 0.04473426938056946, -0.012966321781277657, -0.009529465809464455, -0.034129638224840164, -0.014666371047496796, -0.039330869913101196, -0.06465701013803482, 0.01682589389383793, -0.043558020144701004, 0.04701325297355652, -0.04837329313158989, -0.03245715796947479, 0.07340537011623383, 0.046976495534181595, 0.04399911314249039, 0.05498970299959183, 0.01751510240137577, 0.008270509541034698, -0.05410751327872276, 0.008302672766149044, 0.033615026623010635, -0.015502611175179482, -0.039220597594976425, 0.04660891741514206, -0.047417592257261276, -0.01206575520336628, -0.00402727909386158, 0.020363833755254745, 0.02870786003768444, -0.015383148565888405, -0.038485441356897354, -0.022936880588531494, -0.04216122254729271, 0.0025661555118858814, 0.0019711381755769253, 0.03740108385682106, -0.02165035717189312, 0.01887514255940914, -0.016632914543151855, 0.019628677517175674, 0.014721508137881756, -0.03302690386772156, -0.026759695261716843, 0.03585725650191307, 0.041095245629549026, -0.0009005666361190379, -0.03999251127243042, 0.03232850506901741, 0.0437050499022007, -0.07814712822437286, 0.04348450526595116, 0.03087657131254673, 0.021631978452205658, -0.02777053415775299, 0.0010734433308243752, 0.04921872541308403, -0.03205282241106033, -0.01838809996843338, -0.019242720678448677, 0.014629613608121872, 0.03800758719444275, 0.014225277118384838, 0.052673958241939545, 0.008445109240710735, 0.012929564341902733, 0.02381906844675541, 0.027384577319025993, -0.008559977635741234, 0.014262035489082336, 0.01632966287434101, 0.057231929153203964, -0.004381072707474232, -0.02424178458750248, 0.0009132021223194897, 0.005821519996970892, 0.0016460611950606108, 0.019702192395925522, 0.009557033888995647, -0.017349692061543465, -0.047711651772260666, 0.00988785456866026, 0.013287953101098537, -0.0688474029302597, -0.00277291820384562, 0.016081547364592552, -0.00042127911001443863, -0.0004959434154443443, -0.006699113175272942, 0.04477102681994438, -0.027311062440276146, -0.036831337958574295, 0.0020446537528187037, 0.030306823551654816, 0.03618807718157768, -0.025748854503035545, -0.026079675182700157, -0.013278763741254807, -0.04113200306892395, -0.004948521964251995, 0.0002748221450019628, 0.0722658783197403, -0.061900172382593155, -0.0028717047534883022, -0.0011170931393280625, -0.008316457271575928, -0.012911184690892696, 0.04638837277889252, 0.022550923749804497, -0.054842669516801834, 0.05679083615541458, 0.009667307138442993, -0.017551859840750694, -0.05565134435892105, -0.05043173208832741, 0.00040318735409528017, -0.03140955790877342, -0.0430801659822464, 0.015824241563677788, -0.0010320907458662987, -0.029773835092782974, -0.0023513520136475563, 0.03966169059276581, 0.020492486655712128, 0.0017322123749181628, 0.0057434095069766045, 0.02218334563076496, 0.031850654631853104, -0.01789187081158161, 0.028854889795184135, -0.051534466445446014, -0.0028487311210483313, 0.0735156461596489, 0.04866735637187958, 0.047601379454135895, -0.02198117785155773, 0.010972210206091404, 0.02777053415775299, -0.0008770186686888337, 0.017901059240102768, 0.032163094729185104, 0.01258955430239439, 0.0022433758713304996, -0.014234466478228569, -0.024921802803874016, -0.03607780113816261, 0.000013873924217477906, -0.02984735183417797, -0.04716028645634651, 0.00957541260868311, 0.0487041138112545, -0.004330530762672424, -0.022128209471702576, 0.012653880752623081, -0.03991899639368057, -0.04282286390662193, 0.012433333322405815, 0.006221261341124773, -0.03604104369878769, 0.02569371834397316, -0.007783468812704086, -0.0014140275306999683, -0.010861936025321484, -0.05083606764674187, -0.1165958121418953, 0.05668056011199951, -0.026539146900177002, -0.004112281370908022, -0.06417915970087051, 0.036721065640449524, -0.025032076984643936, 0.03800758719444275, -0.03447883576154709, 0.0079994210973382, 0.01885676197707653, 0.023451490327715874, -0.04921872541308403, 0.012828479520976543, -0.030711160972714424, -0.04638837277889252, 0.00821077823638916, 0.03666592761874199, -0.03036196157336235, -0.04455048218369484, -0.0029360309708863497, 0.031225770711898804, -0.04399911314249039, -0.02278984896838665, -0.07035446912050247, 0.03618807718157768, 0.028119733557105064, 0.00989704392850399, -0.03892653435468674, -0.003296717070043087, -0.0028165681287646294, -0.025105591863393784, 0.05958443135023117, -0.02040059119462967, 0.047711651772260666, -0.013150110840797424, 0.03514047712087631, -0.04892466217279434, 0.06983986496925354, -0.025197487324476242, 0.03925735503435135, 0.02674131654202938, 0.05407075583934784, -0.03302690386772156, -0.03729081153869629, -0.01883838325738907, 0.061973687261343, -0.014666371047496796, -0.011836018413305283, -0.0376216322183609, 0.0023800688795745373, 0.060981228947639465, 0.03140955790877342, -0.05212259292602539, -0.02806459739804268, 0.035673465579748154, 0.02041896991431713, 0.015612885355949402, 0.03493830934166908, -0.0034782090224325657, -0.016072357073426247, 0.011872776784002781, 0.0032094174530357122, -0.014491771347820759, 0.028983542695641518, -0.018415668979287148, 0.01258036494255066, -0.03716215863823891, 0.04903493449091911, 0.05554106831550598, 0.007516974583268166, 0.04083793982863426, 0.07421404123306274, 0.006915065459907055, -0.032383643090724945, 0.0246644988656044, 0.05252692848443985, -0.022532545030117035, -0.048961419612169266, 0.021484946832060814, -0.06248829886317253, 0.003349556587636471, -0.08263158798217773, -0.010577063076198101, -0.0582243911921978, -0.007939689792692661, -0.005242584273219109, 0.03936762735247612, 0.008615114726126194, -0.019702192395925522, -0.070869080722332, 0.03666592761874199, -0.037254054099321365, 0.017257798463106155, 0.004360396880656481, -0.01642155647277832, -0.0167799461632967, -0.0246644988656044, 0.03554481267929077, -0.05480591207742691, 0.05087282508611679, -0.016246957704424858, 0.051755014806985855, 0.011854398064315319, -0.03936762735247612, 0.014638802967965603, 0.0014817997580394149, 0.02705375663936138, 0.002805081196129322, -0.0032094174530357122, 0.019702192395925522, -0.003696458414196968, 0.0309868436306715, -0.0047601377591490746, 0.049145206809043884, -0.007346969563513994, -0.05142419412732124, 0.0016747782938182354, -0.04296989366412163, -0.021301157772541046, 0.035894013941287994, 0.04576348885893822, -0.0057342201471328735, -0.027586745098233223, -0.011881966143846512, 0.08042611181735992, 0.025730475783348083, 0.05028470233082771, 0.027329441159963608, 0.00903782993555069, 0.0019653947092592716, 0.038705985993146896, 0.0019688408356159925, 0.03607780113816261, -0.04458723962306976, -0.02973707765340805, -0.026281842961907387, -0.003025628160685301, 0.007346969563513994, 0.060025524348020554, 0.03365178778767586, -0.012506849132478237, -0.023763932287693024, 0.04892466217279434, 0.06995013356208801, -0.004422425292432308, -0.011128430254757404, 0.048630598932504654, -0.016743188723921776, 0.011973860673606396, 0.014491771347820759, 0.013664720579981804, 0.027090514078736305, 0.05326208472251892, -0.03863247111439705, -0.006579650100320578, -0.04451372101902962, 0.03181389346718788, 0.017643755301833153, 0.021889282390475273, -0.0319976843893528, 0.007291832938790321, 0.0246644988656044, -0.007898337207734585, 0.020161665976047516, -0.028524070978164673, -0.05480591207742691, 0.0024627740494906902, 0.0034069905523210764, 0.016283715143799782, 0.053115054965019226, 0.061973687261343, -0.022642819210886955, 0.044476963579654694, 0.016743188723921776, -0.019132446497678757, 0.06671544909477234, 0.022734712809324265, -0.05726868659257889, 0.0897625982761383, -0.028156490996479988, -0.007232101634144783, 0.016807513311505318, 0.04535915330052376, -0.03545292094349861, 0.007245885673910379, 0.02455422468483448, -0.044072628021240234, 0.07741197198629379, 0.0588492751121521, 0.004360396880656481, -0.04660891741514206, -0.03243877738714218, 0.034883175045251846, 0.014142571948468685, -0.08638088405132294, -0.032898250967264175, -0.0167799461632967, 0.02942463755607605, 0.06428942829370499, -0.05271071568131447, -0.07719142735004425, -0.018627027049660683, 0.03866922855377197, 0.0008873568149283528, 0.002125061582773924, -0.006924254819750786, -0.011450061574578285, -0.023377975448966026, 0.005389615893363953, 0.013912836089730263, 0.00839916244149208, 0.052563685923814774, -0.026153190061450005, -0.006685329135507345, -0.014307982288300991, 0.006198287941515446, -0.030600886791944504, -0.025344518944621086, 0.01916920393705368, 0.020437348634004593, 0.0031795515678822994, -0.12152136117219925, 0.003046304453164339, 0.031758759170770645, -0.026686178520321846, 0.010034885257482529, -0.0398087203502655, -0.040764424949884415, -0.013012269511818886, 0.06638462841510773, -0.07704439759254456, 0.022844986990094185, 0.007112638559192419, 0.009492707438766956, -0.030417097732424736, 0.014583665877580643, -0.0405806340277195, 0.021687114611268044, 0.045101847499608994, 0.03532426804304123, 0.019095689058303833, -0.03251229226589203, 0.023377975448966026, -0.0004020386841148138, 0.049476027488708496, 0.028652722015976906, -0.0208416860550642, 0.017956195399165154, -0.006354508455842733, 0.013232816010713577, 0.043778564780950546, 0.017239417880773544, -0.017211850732564926, -0.036831337958574295, -0.03944114223122597, -0.03400098532438278, 0.018268637359142303, 0.00504960585385561, 0.011155999265611172, 0.06326021254062653, 0.07763252407312393, -0.04506509006023407, 0.004723380319774151, 0.07910283654928207, -0.035269130021333694, 0.03585725650191307, -0.011321409605443478, -0.05984173342585564, 0.010641389526426792, 0.033320967108011246, -0.0029819782357662916, 0.03550805523991585, -0.053188569843769073, -0.03170362114906311, 0.06881064176559448, 0.004089307505637407, -0.006928849499672651, -0.007567516528069973, -0.009648928418755531, 0.009722444228827953, 0.012414954602718353, 0.004475264810025692, -0.02857920713722706, 0.12262409180402756, 0.0021204669028520584, 0.005256368778645992, 0.06186341494321823, -0.019812466576695442, 0.055798374116420746, 0.055283766239881516, -0.004939332138746977, -0.052673958241939545, 0.02082330547273159, 0.06432618945837021, 0.005541241727769375, 0.024094752967357635, -0.02902030013501644, 0.02922246791422367, 0.029681941494345665, -0.023598521947860718, 0.0050817690789699554, -0.023874206468462944, -0.0487041138112545, 0.024499088525772095, -0.01351768895983696, -0.044072628021240234, -0.014381498098373413, -0.0348096564412117, 0.001198075246065855, 0.03109711781144142, -0.057231929153203964, 0.011394924484193325, 0.02332283742725849, 0.0412055179476738, -0.04546942561864853, 0.01838809996843338, 0.008385377936065197, -0.03929411247372627, 0.022642819210886955, -0.006951822899281979, -0.022661197930574417, -0.023451490327715874, -0.06326021254062653, 0.02142981067299843, 0.009313513524830341, -0.04660891741514206, 0.05076255276799202, -0.051865287125110626, -0.03295338898897171, -0.021834146231412888, -0.012111702002584934, -0.03280635550618172, -0.0033541512675583363, 0.04102173075079918, 0.06844306737184525, -0.02962680533528328, 0.019352992996573448, -0.0376216322183609, 0.006280992645770311, -0.05936388298869133, -0.010218674317002296, -0.036427002400159836, -0.023800689727067947, 0.010080832988023758, 0.03695999085903168, -0.025197487324476242, -0.019738949835300446, -0.003416180144995451, -0.030894950032234192, -0.03550805523991585, 0.03539778292179108, -0.08196994662284851, -0.0009183711954392493, 0.009019450284540653, 0.046057552099227905, -0.06476728618144989, -0.030196551233530045, -0.08314619213342667, 0.014399876818060875, 0.03554481267929077, -0.0006587691023014486, -0.08895392715930939, -0.022826608270406723, -0.03251229226589203, -0.005959361791610718, -0.01845242641866207, 0.0025868318043649197, -0.035379402339458466, -0.002531694946810603, 0.038375165313482285, 0.031225770711898804, -0.0029658968560397625, -0.004091605078428984, 0.02992086671292782, -0.0480792298913002, 0.0037148373667150736, -0.017257798463106155, 0.011450061574578285, 0.035691846162080765, -0.03556319326162338, 0.07579462975263596, 0.051240403205156326, -0.06623759865760803, -0.009405408054590225, -0.052784234285354614, 0.028983542695641518, 0.04660891741514206, -0.017487533390522003, -0.050725795328617096, -0.01809403859078884, -0.0034644247498363256, -0.056312981992959976, -0.034239910542964935, -0.013389036990702152, -0.013618772849440575, -0.048226263374090195, -0.06381157785654068, -0.04848356917500496, -0.024002857506275177, 0.0007902931538410485, 0.02051086537539959, 0.013094973750412464, -0.043447744101285934, 0.025252623483538628, -0.04804247245192528, 0.015364769846200943, -0.036004286259412766, 0.055798374116420746, -0.02330445870757103, -0.00903782993555069, 0.027200788259506226, -0.009001071564853191, 0.08417541533708572, -0.03482803702354431, -0.08108775317668915, -0.06594353169202805, -0.031758759170770645, -0.04572673141956329, -0.04425641894340515, -0.0544750913977623, 0.0034069905523210764, 0.027090514078736305, 0.021889282390475273, 0.002320337574928999, -0.02933274209499359, -0.020749790593981743, 0.03521399199962616, -0.02453584596514702, -0.07472865283489227, 0.047380831092596054, 0.0741405263543129, -0.022844986990094185, -0.021999556571245193, -0.003861868754029274, 0.036610789597034454, -0.02870786003768444, -0.009529465809464455, 0.0010355367558076978, 0.026042917743325233, 0.036408621817827225, -0.025656959041953087, 0.03451559692621231, -0.010944641195237637, 0.01926109939813614, 0.04359477758407593, -0.016541019082069397, 0.03532426804304123, -0.003544832579791546, 0.06340724229812622, 0.018351342529058456, -0.04550618305802345, -0.0027798102237284184, 0.06546568125486374, 0.013876077719032764, -0.053923726081848145, -0.06612732261419296, -0.005141500383615494, -0.07616220414638519, -0.012561985291540623, -0.0015736942877992988, 0.009915422648191452, -0.00042730968561954796, -0.047601379454135895, 0.005619352217763662, 0.009364055469632149, 0.1150519847869873, -0.0037079453468322754, -0.017717270180583, 0.05271071568131447, 0.04535915330052376, 0.01738644950091839, -0.02113574743270874, -0.042124465107917786, 0.02321256510913372, -0.0007414742140099406, 0.07252318412065506, 0.021007094532251358, -0.029167331755161285, 0.007131017744541168, 0.021319536492228508, -0.026281842961907387, -0.039514657109975815, -0.040139541029930115, 0.028983542695641518, -0.007457243278622627, -0.07134693115949631, 0.10784745216369629, 0.010237053036689758, -0.0016655888175591826, -0.0291121955960989 ]
44,067
jsons._lizers_impl
set_serializer
Set a serializer function for the given type. You may override the default behavior of ``jsons.load`` by setting a custom serializer. The ``func`` argument must take one argument (i.e. the object that is to be serialized) and also a ``kwargs`` parameter. For example: >>> def func(obj, **kwargs): ... return dict() You may ask additional arguments between ``cls`` and ``kwargs``. :param func: the serializer function. :param cls: the type or sequence of types this serializer can handle. :param high_prio: determines the order in which is looked for the callable. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None.
def set_serializer( func: callable, cls: Union[type, Sequence[type]], high_prio: bool = True, fork_inst: type = StateHolder) -> None: """ Set a serializer function for the given type. You may override the default behavior of ``jsons.load`` by setting a custom serializer. The ``func`` argument must take one argument (i.e. the object that is to be serialized) and also a ``kwargs`` parameter. For example: >>> def func(obj, **kwargs): ... return dict() You may ask additional arguments between ``cls`` and ``kwargs``. :param func: the serializer function. :param cls: the type or sequence of types this serializer can handle. :param high_prio: determines the order in which is looked for the callable. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None. """ if isinstance(cls, Sequence): for cls_ in cls: set_serializer(func, cls_, high_prio, fork_inst) elif cls: index = 0 if high_prio else len(fork_inst._classes_serializers) fork_inst._classes_serializers.insert(index, cls) cls_name = get_class_name(cls, fully_qualified=True) fork_inst._serializers[cls_name.lower()] = func else: fork_inst._serializers['nonetype'] = func
(func: <built-in function callable>, cls: Union[type, Sequence[type]], high_prio: bool = True, fork_inst: type = <class 'jsons._common_impl.StateHolder'>) -> NoneType
[ -0.00845092162489891, -0.01578940823674202, 0.03150704503059387, 0.01469491422176361, -0.005203327629715204, 0.05224858596920967, -0.023181721568107605, 0.03427019342780113, -0.007890217937529087, -0.059712670743465424, 0.03147115930914879, 0.0103707704693079, 0.02433004230260849, -0.04941366985440254, -0.035113491117954254, 0.044497422873973846, -0.009119279682636261, 0.0037611983716487885, 0.010595051571726799, 0.029497483745217323, 0.023558514192700386, -0.0024895230308175087, 0.01919848471879959, 0.06326528638601303, 0.009536443278193474, 0.033103927969932556, -0.011276866309344769, -0.0006902258610352874, -0.014712857082486153, -0.011698516085743904, 0.0613274946808815, 0.004485627170652151, -0.0666743591427803, 0.011214068159461021, 0.04826534911990166, 0.038432855159044266, 0.0008416157797910273, 0.08102837204933167, -0.06584900617599487, -0.017224809154868126, -0.04087303578853607, 0.012425187043845654, -0.050813183188438416, 0.001894056098535657, 0.0446050763130188, 0.07022698223590851, 0.053109824657440186, 0.047045256942510605, 0.026680510491132736, -0.058600232005119324, 0.048695970326662064, -0.0004227703611832112, 0.0137708755210042, 0.00714111840352416, 0.011815141886472702, 0.011770285665988922, -0.005387238226830959, -0.005427608732134104, 0.021100390702486038, -0.005494893062859774, 0.021225987002253532, 0.0227511003613472, -0.0011326208477839828, 0.029497483745217323, -0.013178772293031216, -0.003595230169594288, -0.07309778034687042, -0.024096788838505745, -0.027218785136938095, 0.04130365327000618, 0.012173992581665516, -0.000014937489140720572, 0.03288861736655235, 0.006122881080955267, 0.042200781404972076, 0.04546631872653961, -0.07309778034687042, -0.023737939074635506, -0.06179400160908699, 0.037679269909858704, 0.06057390943169594, -0.025855155661702156, -0.024473581463098526, 0.016184143722057343, -0.01766439899802208, -0.04363618046045303, -0.013645278289914131, -0.04087303578853607, -0.07435375452041626, -0.009949120692908764, -0.0912197157740593, 0.05702129378914833, -0.013241571374237537, 0.01050533913075924, -0.00876491516828537, -0.02332526072859764, 0.003312635701149702, -0.027290556579828262, -0.006257449742406607, -0.0006532194674946368, -0.009536443278193474, -0.0037163421511650085, -0.01124098151922226, -0.014946109615266323, -0.0053199538961052895, -0.08755943924188614, -0.01612134464085102, 0.050992608070373535, -0.041088346391916275, 0.018346214666962624, 0.04514335095882416, 0.010056775994598866, -0.026572855189442635, 0.04514335095882416, 0.048157691955566406, -0.00723083084449172, 0.0036939140409231186, -0.03019724227488041, -0.0031062967609614134, -0.03141733258962631, -0.044928040355443954, 0.017224809154868126, -0.02404296211898327, 0.04991605877876282, -0.03669242933392525, -0.036028556525707245, 0.06717675179243088, 0.055406466126441956, 0.021638665348291397, 0.03452138602733612, 0.01719789393246174, 0.01362733542919159, -0.04941366985440254, 0.0037701695691794157, 0.0490548200905323, -0.033552490174770355, -0.0541863776743412, 0.054473455995321274, -0.05580120161175728, -0.007082805503159761, 0.004290502518415451, 0.011501148343086243, 0.006145309191197157, -0.014721828512847424, -0.012452101334929466, -0.0027070760261267424, -0.04564574360847473, -0.004312930628657341, 0.013923387043178082, 0.012362388893961906, 0.0113755501806736, -0.0013400811003521085, -0.017807940021157265, 0.023989133536815643, -0.00415369076654315, -0.02947954088449478, -0.011922797188162804, -0.0014017585199326277, 0.06240404397249222, -0.010361799038946629, -0.04499981179833412, 0.015026850625872612, 0.047152914106845856, -0.08440156280994415, 0.03516731783747673, 0.038863472640514374, -0.02808002568781376, -0.02553218975663185, -0.010980815626680851, 0.03789457678794861, -0.005629462189972401, -0.033552490174770355, -0.008702117018401623, 0.02011355198919773, 0.033103927969932556, 0.009653070010244846, 0.04894716292619705, 0.019252311438322067, 0.003680457128211856, 0.03330129757523537, 0.0479423850774765, -0.013062146492302418, 0.02560395933687687, 0.029336001724004745, 0.03369603306055069, -0.011716458015143871, 0.0011808413546532393, -0.00441609974950552, 0.013842645101249218, 0.007159060798585415, 0.037786923348903656, 0.01962910406291485, -0.01919848471879959, -0.05336102098226547, 0.0014477361692115664, 0.0047188797034323215, -0.055872973054647446, -0.034826409071683884, 0.004709908738732338, 0.015583069063723087, 0.013115974143147469, -0.00282145943492651, 0.05027490854263306, -0.01690184324979782, -0.00838363729417324, -0.007540339138358831, 0.029676908627152443, 0.022446079179644585, -0.021243929862976074, -0.02734438329935074, -0.018319301307201385, -0.05260743573307991, -0.03505966067314148, 0.018301358446478844, 0.04966486245393753, -0.04015533626079559, 0.02607046440243721, -0.00003882871169480495, -0.00865277461707592, -0.03692568466067314, 0.05590885877609253, 0.04076537862420082, -0.06362413614988327, 0.030053701251745224, 0.015125534497201443, -0.028223566710948944, -0.02223076857626438, -0.0664590522646904, -0.009590270929038525, -0.02479654736816883, -0.03421636298298836, 0.014721828512847424, 0.005288554355502129, -0.04051418602466583, -0.03238622844219208, 0.030161356553435326, 0.04155484959483147, 0.015690723434090614, 0.013977214694023132, -0.001840228564105928, 0.030609920620918274, 0.0016933243023231626, 0.027200842276215553, -0.0541863776743412, -0.022087227553129196, 0.053217481821775436, 0.027308497577905655, 0.04133953899145126, -0.019521448761224747, 0.003763441229239106, 0.02707524597644806, 0.017000526189804077, -0.015932947397232056, 0.0009806702146306634, 0.01652505062520504, 0.008388122543692589, -0.0017897651996463537, -0.010487396270036697, -0.04955720901489258, 0.007159060798585415, -0.04065772518515587, -0.028977151960134506, 0.009083394892513752, 0.012640497647225857, -0.01335819810628891, -0.026680510491132736, -0.0033103928435593843, -0.02158483862876892, -0.04894716292619705, 0.04194958508014679, 0.009083394892513752, -0.016551963984966278, 0.032081205397844315, 0.017251722514629364, 0.004893819335848093, -0.03592090308666229, -0.06706909835338593, -0.10471247881650925, 0.042918480932712555, -0.012748152017593384, -0.014497547410428524, -0.04302613437175751, 0.03889935836195946, -0.020544173195958138, 0.037607498466968536, -0.05813372880220413, 0.014650058001279831, 0.02825945056974888, 0.014488575980067253, -0.06850449740886688, -0.009976034983992577, 0.004375729244202375, -0.05648301914334297, -0.006876466330140829, 0.018857575953006744, -0.026483142748475075, -0.047511763870716095, 0.0008051701006479561, 0.037140991538763046, -0.044210340827703476, -0.0017258450388908386, -0.053935181349515915, 0.03405488282442093, 0.012936548329889774, 0.020633885636925697, -0.034826409071683884, -0.0062888492830097675, -0.010487396270036697, -0.04320555925369263, 0.059820324182510376, -0.03728453442454338, 0.06366001814603806, -0.002431209897622466, 0.021441297605633736, -0.040442414581775665, 0.07363605499267578, -0.016776245087385178, 0.0332295261323452, 0.02892332337796688, 0.046794064342975616, -0.02974868007004261, -0.027039360255002975, -0.013977214694023132, 0.0332295261323452, -0.0013367169303819537, -0.03156087175011635, -0.02808002568781376, -0.004790649749338627, 0.03183000907301903, 0.033103927969932556, -0.05088495463132858, -0.016516080126166344, 0.04234432056546211, 0.03739218786358833, -0.02587309665977955, 0.0499519445002079, 0.0019007845548912883, -0.017691314220428467, -0.006463788915425539, 0.01601368933916092, 0.0015105349011719227, 0.02029297687113285, -0.013062146492302418, 0.023576457053422928, -0.0624399296939373, 0.02881566807627678, 0.05874377489089966, 0.010056775994598866, 0.021351585164666176, 0.044748615473508835, -0.010720648802816868, -0.02542453445494175, 0.02974868007004261, 0.04047830030322075, -0.02084919437766075, -0.03439578786492348, 0.02994604781270027, -0.0655619278550148, -0.00881874281913042, -0.06143514811992645, 0.0005169685464352369, -0.05580120161175728, 0.0004822049231734127, -0.011232010088860989, 0.04029887542128563, 0.04413857311010361, 0.011402464471757412, -0.04776295647025108, 0.024401811882853508, -0.03789457678794861, 0.021136274561285973, -0.02433004230260849, -0.01892934739589691, -0.016695505008101463, -0.013474823907017708, 0.05407872051000595, -0.04499981179833412, 0.03218885883688927, -0.04471273347735405, 0.0163904819637537, 0.03818165883421898, -0.044569190591573715, 0.03771515190601349, -0.009137222543358803, 0.023540571331977844, -0.006302305962890387, 0.023181721568107605, 0.01160880271345377, 0.012111193500459194, 0.0275417510420084, -0.011142297647893429, 0.04159073531627655, -0.009267305955290794, -0.046399328857660294, -0.0022742128930985928, -0.044102687388658524, -0.00208805943839252, 0.049700748175382614, 0.042559631168842316, -0.010577108711004257, -0.027775002643465996, -0.044389765709638596, 0.09107617288827896, 0.014955081045627594, 0.050526104867458344, 0.03003576025366783, -0.0002893229539040476, -0.015601010993123055, 0.031255848705768585, -0.002270848723128438, 0.0033956198021769524, -0.03288861736655235, -0.04819357767701149, -0.017072297632694244, -0.0009655312751419842, 0.01151909027248621, 0.0785164162516594, 0.028385048732161522, -0.032637424767017365, -0.006329219788312912, 0.04941366985440254, 0.08038243651390076, -0.0016966884722933173, 0.04607636108994484, 0.07385136932134628, -0.02562190219759941, 0.026375487446784973, 0.0036535433027893305, 0.035023778676986694, 0.028331222012639046, 0.06351648271083832, -0.015233189798891544, 0.004229946527630091, -0.03039461001753807, 0.033911339938640594, 0.009446730837225914, 0.02214105613529682, -0.04055006802082062, -0.00686300965026021, 0.02825945056974888, 0.018570495769381523, 0.007625566329807043, -0.041447196155786514, -0.04123188555240631, -0.012505928985774517, 0.008136928081512451, -0.0159419197589159, 0.05960501357913017, 0.05562177672982216, -0.009011625312268734, 0.05483230575919151, 0.0160585455596447, -0.03599267080426216, 0.07370782643556595, 0.028313279151916504, -0.04654286801815033, 0.08404271304607391, -0.04726056754589081, 0.006414446979761124, 0.007724250201135874, 0.03900701552629471, -0.019808528944849968, 0.02524510957300663, 0.018570495769381523, -0.04919835925102234, 0.059353817254304886, 0.04808592423796654, 0.0053334105759859085, -0.021692493930459023, -0.03728453442454338, 0.06678202003240585, 0.016955669969320297, -0.09925796091556549, -0.043384987860918045, 0.005589091684669256, 0.027523808181285858, 0.03279890492558479, -0.05996386334300041, -0.07464083284139633, -0.015995746478438377, 0.023648226633667946, 0.01473977044224739, 0.02691376395523548, 0.02156689576804638, -0.007271201815456152, -0.034754637628793716, 0.011842056177556515, 0.005974855273962021, 0.008702117018401623, 0.051817964762449265, -0.015233189798891544, 0.0051270718686282635, -0.013842645101249218, 0.035669706761837006, -0.03193766623735428, -0.00009272632451029494, 0.009904264472424984, 0.030807288363575935, -0.021961631253361702, -0.08626758307218552, 0.017969422042369843, 0.016399452462792397, -0.049162473529577255, 0.0345752127468586, -0.015807349234819412, -0.04381560534238815, -0.02470683492720127, 0.04499981179833412, -0.07281070202589035, 0.028672128915786743, 0.012111193500459194, 0.017458060756325722, -0.04112422838807106, 0.017135096713900566, -0.04212900996208191, 0.007908160798251629, 0.027469981461763382, 0.02598075196146965, 0.00010408056550659239, -0.04112422838807106, 0.015358787029981613, -0.022338423877954483, 0.06699732691049576, 0.028026198968291283, 0.003474118188023567, 0.009464673697948456, 0.008401580154895782, -0.0030793831683695316, 0.02249990589916706, 0.03717687726020813, -0.018139876425266266, -0.02066976949572563, -0.04718879610300064, -0.017556745558977127, 0.00047603718121536076, 0.026124292984604836, 0.01637253910303116, 0.058241382241249084, 0.12724827229976654, -0.0644494891166687, -0.01873197965323925, 0.07309778034687042, -0.022374307736754417, 0.027936486527323723, 0.019611161202192307, -0.06649493426084518, 0.008567548356950283, 0.024581236764788628, -0.0223025381565094, 0.008347752504050732, -0.0392582081258297, -0.03380368649959564, 0.07194945961236954, 0.009276277385652065, 0.006468274164944887, -0.021225987002253532, 0.010110603645443916, -0.010675792582333088, 0.01391441561281681, 0.011321722529828548, -0.012810951098799706, 0.11612391471862793, -0.006701527163386345, 0.004866905510425568, 0.029605139046907425, -0.042918480932712555, 0.06965281814336777, 0.059353817254304886, 0.00047043015365488827, -0.038253430277109146, 0.032727137207984924, 0.07320543378591537, -0.0023527115117758512, 0.013779846951365471, -0.042093124240636826, 0.03918644040822983, 0.024455638602375984, 0.007755649276077747, -0.014650058001279831, -0.013474823907017708, -0.05501173064112663, 0.028420934453606606, -0.01935996674001217, -0.056877750903367996, -0.0026420343201607466, -0.019862357527017593, -0.006006254814565182, 0.05249978229403496, -0.08684173971414566, 0.012272675521671772, 0.005023902282118797, 0.041267771273851395, -0.035579994320869446, 0.016040602698922157, 0.02569367177784443, -0.03206326439976692, 0.012452101334929466, -0.02691376395523548, -0.007105233613401651, -0.031363505870103836, -0.06678202003240585, 0.01991618424654007, -0.009231421165168285, -0.048695970326662064, 0.0519615039229393, -0.049628980457782745, -0.03563382104039192, -0.009007139131426811, -0.0074371700175106525, -0.012541813775897026, 0.0021598294842988253, 0.05056199058890343, 0.06387533247470856, -0.04790649935603142, 0.02093890681862831, -0.04424622654914856, -0.023432916030287743, -0.04826534911990166, 0.022930525243282318, -0.039509404450654984, -0.018606381490826607, 0.011554975993931293, 0.027775002643465996, -0.04205724224448204, -0.03358837589621544, -0.014596231281757355, -0.015098621137440205, -0.047045256942510605, 0.04941366985440254, -0.10952107608318329, 0.00523024145513773, -0.014345035888254642, 0.054294031113386154, -0.07794225960969925, -0.002107123378664255, -0.0956694558262825, 0.004021364729851484, 0.03267330676317215, 0.004970075096935034, -0.08418624848127365, -0.017135096713900566, -0.024635065346956253, 0.008782858029007912, -0.04166250675916672, 0.04202135652303696, -0.039150554686784744, -0.01069373544305563, 0.03330129757523537, 0.02470683492720127, -0.015403644181787968, -0.007679393514990807, 0.02093890681862831, -0.05712894722819328, 0.004155933391302824, 0.007432684302330017, 0.020418575033545494, 0.03660271689295769, -0.05562177672982216, 0.08081305772066116, 0.04819357767701149, -0.06488011032342911, 0.006338191218674183, -0.04611224681138992, 0.04428211227059364, 0.03688979893922806, -0.01944967918097973, -0.045861050486564636, -0.02617811970412731, -0.014820512384176254, -0.030968770384788513, -0.0425955168902874, -0.0011640202719718218, 0.009446730837225914, -0.050167255103588104, -0.03624386712908745, -0.01469491422176361, -0.025263052433729172, 0.0049117617309093475, 0.006625271402299404, 0.008154870010912418, -0.0550835020840168, 0.006445846054702997, -0.04464096203446388, 0.009446730837225914, -0.053576331585645676, 0.05318159610033035, -0.028115911409258842, -0.007612109184265137, 0.026124292984604836, -0.003785869339480996, 0.06538250297307968, -0.04270317032933235, -0.07988005131483078, -0.048337116837501526, -0.018767863512039185, -0.05142322927713394, -0.0428108274936676, -0.044210340827703476, 0.00839709397405386, 0.023935306817293167, 0.03532879799604416, 0.013026261702179909, -0.036387406289577484, -0.020867137238383293, 0.028205623850226402, -0.029892219230532646, -0.0633370578289032, 0.023755881935358047, 0.09043024480342865, -0.02651902846992016, -0.019072886556386948, -0.0010434690630063415, 0.051638539880514145, -0.012227819301187992, -0.012030452489852905, 0.005624976474791765, 0.053396906703710556, 0.024312099441885948, -0.015861177816987038, 0.022517848759889603, -0.016542993485927582, 0.021261872723698616, 0.02084919437766075, -0.03206326439976692, 0.024114731699228287, 0.0020196535624563694, 0.07220065593719482, 0.03663860261440277, -0.04072949290275574, 0.004207518417388201, 0.059353817254304886, 0.004835505969822407, -0.06692555546760559, -0.07815756648778915, 0.02477860450744629, -0.0633370578289032, -0.01175234280526638, -0.013645278289914131, -0.004714393988251686, -0.015888091176748276, -0.033103927969932556, -0.002433452755212784, 0.01151909027248621, 0.057344257831573486, 0.026016637682914734, -0.031722355633974075, 0.07022698223590851, 0.03380368649959564, 0.01634562574326992, 0.010756533592939377, -0.03340895101428032, 0.019987953826785088, 0.008311866782605648, 0.059174392372369766, 0.0356876514852047, -0.021154217422008514, -0.005858229007571936, 0.04765530303120613, -0.013286427594721317, -0.038863472640514374, -0.04647109657526016, 0.0035414027515798807, 0.003884553210809827, -0.074927918612957, 0.10693734884262085, 0.01935996674001217, 0.0006375197554007173, -0.014802569523453712 ]
44,068
jsons._validation
set_validator
Set a validator function for the given ``cls``. The function should accept an instance of the type it should validate and must return ``False`` or raise any exception in case of a validation failure. :param func: the function that takes an instance of type ``cls`` and returns a bool (``True`` if the validation was successful). :param cls: the type or types that ``func`` is able to validate. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None.
def set_validator( func: Callable[[object], bool], cls: Union[type, Sequence[type]], *, fork_inst: type = StateHolder) -> None: """ Set a validator function for the given ``cls``. The function should accept an instance of the type it should validate and must return ``False`` or raise any exception in case of a validation failure. :param func: the function that takes an instance of type ``cls`` and returns a bool (``True`` if the validation was successful). :param cls: the type or types that ``func`` is able to validate. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None. """ if isinstance(cls, Sequence): for cls_ in cls: set_validator(func, cls=cls_, fork_inst=fork_inst) else: cls_name = get_class_name(cls, fully_qualified=True) fork_inst._validators[cls_name.lower()] = func fork_inst._classes_validators.append(cls)
(func: Callable[[object], bool], cls: Union[type, Sequence[type]], *, fork_inst: type = <class 'jsons._common_impl.StateHolder'>) -> NoneType
[ 0.05965188890695572, -0.010142981074750423, 0.03131994232535362, 0.012905975803732872, -0.07451985776424408, 0.031697940081357956, 0.0017696216236799955, -0.0013229975011199713, 0.02930394560098648, -0.025001952424645424, 0.041687920689582825, -0.02564995177090168, 0.03585593402385712, -0.032003939151763916, -0.025721952319145203, -0.006178488489240408, -0.01790996640920639, 0.009341982193291187, -0.0039262427017092705, 0.030599942430853844, 0.011645978316664696, 0.042191918939352036, 0.014939972199499607, 0.055943895131349564, 0.013292974792420864, 0.08236784487962723, 0.03644993156194687, 0.01781996712088585, 0.036701932549476624, 0.013211974874138832, 0.05529589578509331, 0.041471920907497406, -0.03256193920969963, -0.00931498222053051, 0.007847985252737999, 0.004724991042166948, 0.020105961710214615, 0.06620387732982635, -0.0747358575463295, 0.001219497760757804, -0.05961588770151138, 0.014777972362935543, -0.012176977470517159, 0.02564995177090168, 0.033425938338041306, 0.03398393467068672, 0.027935948222875595, 0.05425189808011055, -0.05273989960551262, -0.03473993390798569, 0.015380971133708954, 0.019565962255001068, 0.05936388671398163, -0.026711950078606606, 0.027251949533820152, 0.04773591086268425, -0.001168872811831534, 0.03153594210743904, 0.0555838942527771, -0.0031927439849823713, 0.0022499957121908665, -0.006142488215118647, 0.020069962367415428, 0.006799487397074699, -0.002324245637282729, -0.032633937895298004, -0.055007897317409515, -0.03866392746567726, -0.012590976431965828, 0.03920392692089081, -0.04431591555476189, 0.006745487451553345, 0.027809947729110718, -0.0096749821677804, 0.02330995537340641, 0.0016739967977628112, -0.08661583811044693, -0.018773965537548065, -0.011681977659463882, 0.025811951607465744, 0.07927185297012329, -0.0016019969480112195, 0.008833483792841434, 0.018305964767932892, 0.025181952863931656, -0.008212484419345856, -0.009350982494652271, -0.0383039265871048, -0.039743926376104355, 0.01028698030859232, -0.08308784663677216, 0.023129956796765327, 0.008275484666228294, -0.015272971242666245, -0.032309938222169876, 0.05849989131093025, 0.019601963460445404, -0.004331241827458143, -0.017243968322873116, 0.004142242018133402, 0.03268793970346451, 0.01537197083234787, 0.021257959306240082, 0.028655946254730225, 0.025991950184106827, -0.06778787076473236, -0.037403929978609085, 0.0017561216372996569, -0.055727895349264145, 0.03518993407487869, 0.057851891964673996, 0.028115946799516678, -0.02798994816839695, 0.07279185950756073, 0.04420791566371918, -0.013904973864555359, -0.05029190704226494, -0.07459186017513275, -0.013211974874138832, -0.030401943251490593, 0.002513245213776827, 0.049715906381607056, -0.04507191479206085, 0.03542393445968628, 0.028115946799516678, -0.004792490974068642, 0.05835589021444321, 0.059795886278152466, 0.06670787185430527, 0.029087945818901062, 0.018701964989304543, -0.00015468720812350512, -0.01965596340596676, 0.006137988530099392, 0.023057956248521805, -0.022157957777380943, -0.05525989457964897, 0.029753943905234337, -0.04913990572094917, -0.0032782438211143017, -0.01954796351492405, 0.05932788923382759, 0.005188490264117718, -0.010952979326248169, 0.013607974164187908, -0.02309395559132099, -0.09028782695531845, 0.008725483901798725, 0.02359795570373535, 0.042407918721437454, -0.013283975422382355, -0.030599942430853844, -0.002346745692193508, 0.05896788835525513, -0.032921936362981796, 0.01349097490310669, -0.018611965700984, -0.026207949966192245, 0.10943979024887085, 0.008684983476996422, -0.03826792910695076, 0.02462395280599594, 0.020537961274385452, -0.05090390518307686, 0.028871946036815643, 0.043199919164180756, -0.01286997552961111, -0.010313980281352997, -0.024299954995512962, 0.08099984377622604, -0.005408989731222391, -0.05569189414381981, 0.017108967527747154, 0.02624395117163658, 0.02514595352113247, 0.037619929760694504, 0.0800638496875763, 0.017063967883586884, 0.02444395422935486, 0.027557948604226112, 0.03346193581819534, 0.02636994980275631, 0.05831988900899887, 0.043703917413949966, 0.02003396302461624, 0.025829952210187912, -0.03805192932486534, 0.016802968457341194, -0.021437959745526314, -0.02503795363008976, -0.01587597094476223, -0.0003397493564989418, -0.015029971487820148, -0.03328193724155426, -0.03203994035720825, 0.026441950350999832, -0.04165192320942879, 0.02960994467139244, 0.01574097014963627, -0.04643991217017174, 0.028475945815443993, 0.0055934893898665905, 0.03866392746567726, -0.007447485812008381, -0.041687920689582825, -0.016001969575881958, 0.0030217443127185106, 0.04571991413831711, -0.007928985171020031, -0.05367589741945267, -0.023363955318927765, -0.054179899394512177, -0.06267587840557098, 0.029249945655465126, 0.05079590529203415, -0.08503183722496033, 0.07869584858417511, -0.02149195969104767, -0.005147990304976702, 0.03693592920899391, 0.08841583132743835, 0.023885954171419144, -0.016892967745661736, 0.003914992790669203, 0.03238194063305855, -0.001486122258938849, -0.03938392549753189, -0.054179899394512177, -0.016208969056606293, -0.03153594210743904, -0.04395591840147972, 0.01806296594440937, 0.027611948549747467, -0.016370968893170357, -0.029771944507956505, 0.038735926151275635, 0.07682385295629501, 0.023741954937577248, 0.0232019554823637, 0.03054594248533249, 0.01027798093855381, -0.015038971789181232, 0.04273191839456558, -0.0009089983068406582, -0.00768148573115468, 0.07883985340595245, 0.017639966681599617, 0.04892390966415405, -0.027017949149012566, 0.004031992517411709, -0.05569189414381981, 0.007249486166983843, -0.016001969575881958, 0.020483961328864098, 0.021761959418654442, 0.05284789949655533, -0.010871979407966137, -0.05788788944482803, 0.02239195816218853, 0.021617960184812546, 0.011231978423893452, -0.03808792680501938, 0.03142794221639633, 0.02105996012687683, -0.0030959942378103733, -0.04071592167019844, 0.031715940684080124, 0.012437976896762848, -0.045251913368701935, 0.04877990856766701, -0.03815992921590805, 0.016451969742774963, 0.026747949421405792, 0.02676595002412796, 0.013220975175499916, -0.039743926376104355, -0.045431915670633316, -0.06937187165021896, 0.036791931837797165, -0.040571924299001694, 0.03409193456172943, -0.018305964767932892, 0.017486967146396637, -0.009629981592297554, -0.004445991478860378, -0.06181188300251961, 0.0038317427970469, 0.007204486522823572, -0.03500993549823761, -0.05590789392590523, -0.022715957835316658, -0.04366791620850563, 0.007730985525995493, -0.0398879237473011, 0.02401195466518402, -0.017072968184947968, -0.025217952206730843, -0.0025694952346384525, 0.014327973127365112, -0.09194383025169373, -0.004621491301804781, -0.04204792156815529, -0.0010248731123283505, 0.016307968646287918, -0.015821970999240875, -0.03819592669606209, -0.033533938229084015, 0.012302977032959461, -0.010637979954481125, 0.02197795920073986, 0.005336990114301443, 0.05810388922691345, -0.03776392713189125, -0.00138712243642658, 0.042191918939352036, 0.07696785777807236, -0.018332965672016144, -0.03126594051718712, -0.004972490482032299, 0.051983900368213654, 0.0087119834497571, -0.033641938120126724, 0.004506741650402546, 0.021653959527611732, -0.034559935331344604, -0.052883900701999664, 0.02624395117163658, -0.005530489608645439, -0.0036652430426329374, 0.03398393467068672, -0.04874390736222267, -0.014930971898138523, 0.07696785777807236, 0.015794970095157623, -0.004403241910040379, 0.05648389458656311, 0.0157229695469141, -0.03245393931865692, 0.03310193866491318, 0.00120937277097255, 0.020015962421894073, -0.0009281232487410307, -0.012995975092053413, -0.0038812425918877125, -0.04964390769600868, 0.018188966438174248, -0.0096749821677804, 0.021725958213210106, 0.01853996515274048, 0.030005943030118942, 0.020735960453748703, 0.013256975449621677, 0.009602981619536877, -0.028889944776892662, -0.0402839258313179, -0.03866392746567726, 0.001811246620491147, -0.03275993838906288, -0.01552497036755085, -0.11829577386379242, 0.020897960290312767, -0.02260795794427395, -0.016784967854619026, -0.014624972827732563, 0.026639949530363083, 0.04064392298460007, -0.0015581221086904407, -0.07826384902000427, 0.04093192145228386, -0.0006361862760968506, 0.047483909875154495, 0.010511980392038822, -0.007919984869658947, -0.057347893714904785, -0.009503982029855251, 0.06580787897109985, -0.012239976786077023, 0.018197964876890182, -0.04795191064476967, 0.021203959360718727, 0.04791590943932533, -0.015299971215426922, 0.048095908015966415, -0.007708485703915358, 0.03166193887591362, -0.012320976704359055, -0.019277963787317276, 0.029879944398999214, 0.018665965646505356, 0.026081951335072517, 0.022445958107709885, 0.01745096780359745, 0.019907962530851364, -0.05749189108610153, -0.0085274837911129, -0.03826792910695076, 0.0019406212959438562, 0.047591909766197205, 0.04301992058753967, -0.0299159437417984, -0.03266993910074234, 0.01596597023308277, 0.07891184836626053, 0.01734296791255474, 0.0613078847527504, 0.05090390518307686, -0.027737947180867195, 0.003737242892384529, -0.01129497867077589, 0.006763487122952938, 0.003224243875592947, -0.041183922439813614, 0.008194484747946262, -0.027755947783589363, -0.029897943139076233, 0.03743993118405342, 0.037007931619882584, -0.0014883722178637981, -0.011654977686703205, -0.03427193686366081, 0.02555995248258114, 0.011186978779733181, -0.009503982029855251, 0.032309938222169876, 0.04204792156815529, 0.018665965646505356, 0.03581993281841278, -0.016037968918681145, -0.002355745527893305, 0.014687972143292427, 0.03481193259358406, 0.014372972771525383, -0.025703951716423035, -0.02075396105647087, -0.0022724957671016455, -0.03535193204879761, -0.02420995384454727, -0.02870994620025158, 0.015236970968544483, 0.04766390845179558, 0.0004156867216806859, -0.011330978944897652, 0.0008949358016252518, 0.010961979627609253, 0.001110372948460281, 0.001196997705847025, 0.022571956738829613, 0.03833992779254913, 0.01653296872973442, -0.008135984651744366, 0.030923942103981972, 0.023129956796765327, -0.03967192396521568, 0.057059891521930695, 0.0663478747010231, -0.006200988311320543, 0.02341795526444912, -0.0938878208398819, -0.025073952972888947, -0.013517974875867367, 0.024677952751517296, -0.0012183727230876684, 0.007618485484272242, 0.026513950899243355, -0.09237582236528397, 0.04845590889453888, 0.03725992888212204, 0.020069962367415428, -0.0005951238563284278, -0.0176489669829607, -0.00381599273532629, -0.03013194352388382, -0.04726791009306908, -0.006596987601369619, -0.026531949639320374, 0.04607991501688957, 0.02849394641816616, -0.05842788890004158, -0.09129583090543747, 0.00018309340521227568, 0.00012881225848104805, 0.05608789622783661, 0.04492791369557381, 0.030563943088054657, -0.028529945760965347, -0.042587921023368835, 0.007051486521959305, -0.007411486003547907, -0.024299954995512962, 0.06181188300251961, -0.02095196023583412, 0.004596741404384375, 0.0033547435887157917, 0.03666593134403229, -0.039023928344249725, -0.049103908240795135, 0.034343935549259186, 0.00480599096044898, -0.0010895604500547051, -0.07725585252046585, 0.0034762434661388397, 0.06803987175226212, -0.031607940793037415, 0.03605393320322037, 0.03551393374800682, -0.04093192145228386, -0.0617038831114769, -0.01327497512102127, -0.058643888682127, 0.014624972827732563, -0.004733990877866745, 0.028871946036815643, -0.05961588770151138, 0.0341099351644516, 0.018035966902971268, -0.024875953793525696, 0.014003973454236984, 0.002531245118007064, 0.015614970587193966, -0.011951977387070656, 0.008950483053922653, -0.0037484930362552404, 0.06472788006067276, -0.008009985089302063, 0.018224965780973434, 0.03565793111920357, 0.02768394723534584, -0.04622391238808632, 0.06350388377904892, -0.04445991665124893, 0.006232488434761763, -0.011762977577745914, -0.009503982029855251, -0.009602981619536877, -0.02431795373558998, 0.01169997826218605, 0.012491976842284203, 0.018881963565945625, 0.0494639053940773, -0.021239960566163063, -0.0038834926672279835, 0.0647638812661171, -0.005291990004479885, 0.06580787897109985, 0.02635195106267929, -0.0193499643355608, -0.003896992653608322, -0.00859498418867588, -0.03407393768429756, 0.011366978287696838, -0.05079590529203415, 0.005224490072578192, 0.02444395422935486, -0.015335971489548683, -0.01293297577649355, 0.019115963950753212, 0.01129497867077589, 0.029249945655465126, 0.0368279293179512, 0.002616745186969638, -0.004535991232842207, 0.0555838942527771, -0.026297951117157936, -0.04417191818356514, -0.010367980226874352, -0.09640781581401825, 0.06512387841939926, -0.0018303715623915195, 0.02960994467139244, -0.015038971789181232, 0.010187980718910694, 0.10202381014823914, -0.043415918946266174, 0.0153269711881876, -0.019385963678359985, 0.007901985198259354, 0.022445958107709885, 0.011384978890419006, -0.04694391041994095, -0.05407189950346947, -0.023363955318927765, -0.014525972306728363, -0.03346193581819534, -0.03754793107509613, -0.025181952863931656, -0.012437976896762848, -0.0314459390938282, 0.0072674863040447235, -0.11879977583885193, -0.007487985771149397, -0.006578987464308739, 0.07545585930347443, -0.03999592363834381, -0.0009506231872364879, 0.014561972580850124, -0.05011190474033356, -0.0029947443399578333, -0.008257484063506126, -0.022445958107709885, 0.0016064969822764397, -0.08287184685468674, 0.007600485812872648, -0.01823396608233452, -0.03747592866420746, 0.051875900477170944, -0.06469187885522842, -0.025883952155709267, -0.009233982302248478, 0.010466980747878551, -0.03560393303632736, -0.04190392047166824, 0.01222197711467743, 0.07005586475133896, -0.027143949642777443, 0.009989981539547443, -0.03866392746567726, -0.042803920805454254, -0.008081984706223011, 0.009296982549130917, -0.015956969931721687, -0.03535193204879761, 0.019673962146043777, 0.030041944235563278, -0.020303960889577866, -0.014138973318040371, -0.045143913477659225, -0.019871963188052177, 0.0039194924756884575, 0.0070694866590201855, -0.09417582303285599, -0.003167994087561965, 0.0008949358016252518, 0.03754793107509613, -0.08891983330249786, 0.04715991020202637, -0.08035185188055038, -0.009701982140541077, 0.045647915452718735, 0.004769991151988506, -0.08287184685468674, -0.04975190758705139, -0.033029936254024506, 0.023381955921649933, -0.022949956357479095, 0.022841956466436386, -0.025001952424645424, -0.00896398350596428, 0.02941194549202919, 0.055007897317409515, -0.04651191085577011, 0.0004384679195936769, 0.04975190758705139, -0.0471959114074707, 0.004625991452485323, 0.035369932651519775, -0.01797296665608883, 0.024515952914953232, -0.02492995373904705, 0.07423186302185059, 0.015758970752358437, -0.05234390124678612, -0.02381395548582077, 0.011654977686703205, 0.01664096862077713, 0.036485932767391205, -0.003869992680847645, -0.010808980092406273, -0.03967192396521568, -0.04755591228604317, -0.04816791042685509, -0.06422387808561325, 0.003741743043065071, -0.05140790343284607, -0.025991950184106827, -0.017837965860962868, -0.021653959527611732, -0.01323897484689951, -0.029573943465948105, -0.01760396733880043, 0.027863947674632072, -0.08690383285284042, 0.004292991943657398, -0.048203907907009125, 0.013787973672151566, -0.05223590135574341, 0.05381989851593971, -0.020789960399270058, -0.012077976949512959, 0.03797992691397667, 0.006236988119781017, 0.00982798170298338, -0.0006575612351298332, -0.02077196165919304, -0.02982594445347786, -0.02881794609129429, -0.03666593134403229, -0.032417938113212585, -0.023777956143021584, 0.012752976268529892, 0.042155921459198, 0.04431591555476189, -0.019727962091565132, -0.04690791293978691, 0.023669956251978874, -0.0001958902576006949, -0.0620998814702034, -0.06274788081645966, 0.016568968072533607, 0.06238788366317749, -0.008531983941793442, 0.02249995805323124, 0.010241980664432049, 0.040247924625873566, -0.011672978289425373, -0.004994990769773722, 0.0033794937189668417, 0.07725585252046585, -0.009134982712566853, 0.014489972963929176, -0.03841192647814751, 0.029879944398999214, 0.017873967066407204, -0.012887976132333279, -0.013283975422382355, 0.009224982932209969, -0.0028192447498440742, 0.01241097692400217, 0.024389954283833504, -0.0018742465181276202, -0.01627196930348873, 0.06955187022686005, 0.009782981127500534, -0.08596783876419067, -0.02321995608508587, -0.01099797897040844, -0.07055986672639847, -0.03518993407487869, 0.010934979654848576, -0.048599909991025925, -0.007339486386626959, 0.0074789859354496, -0.013175975531339645, 0.041075922548770905, -0.0012453726958483458, 0.028619946911931038, 0.00046349913463927805, 0.022013958543539047, 0.030671942979097366, 0.027953946962952614, -0.036269932985305786, -0.03959992527961731, -0.0020868710707873106, 0.014489972963929176, 0.06217188388109207, 0.047699909657239914, -0.03446993604302406, -0.008828983642160892, 0.025937950238585472, -0.024371953681111336, 0.014687972143292427, -0.02647794969379902, 0.036611929535865784, 0.012212976813316345, -0.07718385756015778, 0.11527178436517715, -0.006916487123817205, 0.010376980528235435, 0.011546977795660496 ]
44,070
jsons._extra_impl
suppress_warning
Suppress a specific warning that corresponds to the given code (see the warning). :param code: the code of the warning that is to be suppressed. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None.
def suppress_warning( code: str, fork_inst: Optional[type] = StateHolder): """ Suppress a specific warning that corresponds to the given code (see the warning). :param code: the code of the warning that is to be suppressed. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None. """ fork_inst._suppressed_warnings |= {code}
(code: str, fork_inst: Optional[type] = <class 'jsons._common_impl.StateHolder'>)
[ 0.044195957481861115, 0.011048989370465279, 0.06473921984434128, -0.0002650337992236018, -0.026045918464660645, -0.03065766952931881, 0.01674380525946617, 0.03001132607460022, 0.042204517871141434, -0.04356708377599716, -0.022325072437524796, 0.007227698341012001, -0.007764862850308418, -0.07085328549146652, -0.06515846401453018, -0.03530436009168625, -0.027251262217760086, 0.007306308019906282, -0.0032557398080825806, -0.027950013056397438, -0.036474768072366714, 0.02901560626924038, -0.02765304408967495, 0.08336091041564941, -0.00589570589363575, 0.07197128236293793, 0.01464755367487669, -0.0002507039753254503, 0.004760236479341984, 0.002025284105911851, 0.04513927176594734, 0.02973182499408722, 0.0075989095494151115, -0.030902232974767685, 0.005275564733892679, 0.014420459978282452, -0.038256578147411346, 0.03801201656460762, -0.1305265575647354, -0.039549268782138824, 0.0007762679015286267, -0.010533660650253296, -0.01766091398894787, 0.0034850172232836485, -0.007747394032776356, -0.008747480809688568, 0.0273036677390337, 0.005755955819040537, -0.006882690824568272, -0.012926881201565266, 0.0064547061920166016, 0.03395926579833031, -0.012883208692073822, 0.07609391212463379, 0.017451290041208267, 0.05286046117544174, 0.034675482660532, 0.005437151063233614, 0.030203482136130333, -0.03492004796862602, -0.012629912234842777, 0.07239053398370743, 0.00723206577822566, -0.037557829171419144, 0.009197301231324673, -0.05995277687907219, -0.004851947538554668, 0.024456260725855827, -0.04360201954841614, -0.025137541815638542, -0.015416178852319717, -0.05142802372574806, -0.01453400682657957, 0.05673852562904358, 0.13003742694854736, -0.07113277912139893, -0.02150404080748558, 0.015206553973257542, 0.009913519956171513, 0.025050198659300804, 0.05352427437901497, -0.06278271228075027, -0.008424308151006699, 0.05107864737510681, -0.008341331966221333, 0.0019248387543484569, 0.08475841581821442, -0.013284990563988686, -0.03713857755064964, 0.023338260129094124, -0.018167508766055107, 0.06194421648979187, -0.014560209587216377, 0.03630007803440094, 0.019879447296261787, 0.06117558851838112, 0.02973182499408722, -0.011092660948634148, 0.04482483118772507, 0.015206553973257542, 0.07658303529024124, -0.010245426557958126, -0.0018669734708964825, -0.05813602730631828, 0.018184976652264595, -0.008585894480347633, 0.02629048004746437, 0.0073412456549704075, -0.010053270496428013, 0.06505365669727325, 0.011101395823061466, -0.012629912234842777, -0.06023227795958519, 0.017992820590734482, -0.006760409101843834, -0.020525790750980377, -0.07798053324222565, -0.07350853085517883, 0.007066112477332354, 0.022744322195649147, -0.033627357333898544, 0.00038840691559016705, -0.07322902977466583, -0.006904526613652706, -0.0068521201610565186, 0.02166125923395157, 0.05408327281475067, -0.009834910742938519, 0.05977809056639671, -0.01951260305941105, -0.011284817941486835, -0.015783023089170456, -0.006904526613652706, -0.014402991160750389, -0.004629220813512802, -0.010455051437020302, -0.023460540920495987, 0.021311884745955467, 0.027181386947631836, -0.05436277389526367, -0.03177567198872566, -0.015494788065552711, 0.03507726639509201, 0.01446413155645132, 0.05921908840537071, 0.032404545694589615, -0.03623020276427269, 0.0034609977155923843, 0.0318630151450634, -0.0012337310472503304, 0.01025416050106287, 0.011669130064547062, -0.04017814248800278, 0.011660396121442318, 0.03780239075422287, 0.06072140112519264, -0.013267521746456623, -0.05866008996963501, -0.0019663269631564617, -0.0029282006435096264, 0.03464054688811302, -0.03720845282077789, 0.13618643581867218, -0.06568253040313721, 0.03710364177823067, -0.010271629318594933, 0.03064020164310932, 0.010830629616975784, -0.00017646174819674343, 0.028124699369072914, -0.055271148681640625, 0.004764603916555643, 0.013704240322113037, 0.07455665618181229, 0.02173113450407982, 0.06945578008890152, 0.042693644762039185, 0.003681540722027421, -0.053768835961818695, 0.013442208990454674, -0.017564836889505386, 0.021748604252934456, -0.015381241217255592, 0.0401432067155838, 0.023128636181354523, -0.047060832381248474, 0.009738832712173462, -0.0386059544980526, 0.052056897431612015, 0.005882604047656059, 0.03724339231848717, 0.027321137487888336, -0.002202155301347375, 0.010420113801956177, 0.034954983741045, -0.012376614846289158, -0.016883553937077522, -0.05286046117544174, -0.006293119862675667, -0.05296527221798897, 0.035513985902071, 0.014088553376495838, -0.010664676316082478, -0.021259479224681854, -0.004795174114406109, 0.060476839542388916, -0.02485804259777069, 0.019460195675492287, -0.03306835889816284, 0.018918665125966072, 0.04653676971793175, -0.00007260452548507601, 0.039689019322395325, 0.008716910146176815, 0.07448678463697433, -0.032107576727867126, 0.03345267102122307, 0.03236960992217064, -0.036335017532110214, -0.0062843854539096355, 0.005686080548912287, 0.006961300037801266, -0.020176416262984276, -0.0036640719044953585, -0.009529207833111286, 0.05436277389526367, 0.050205208361148834, -0.014682491309940815, 0.07001478224992752, -0.04573320969939232, 0.00437592389062047, -0.029452325776219368, -0.02265697903931141, -0.016682663932442665, -0.008485449478030205, -0.011739005334675312, -0.02700669877231121, -0.0558650866150856, -0.0035003023222088814, -0.02201063558459282, -0.026919355615973473, -0.029050543904304504, 0.032823797315359116, 0.03443092107772827, 0.017957882955670357, 0.030133606866002083, -0.003744865069165826, 0.05017027258872986, 0.024770699441432953, 0.01865663379430771, 0.04003839194774628, -0.03249188885092735, -0.018674101680517197, 0.058415524661540985, 0.019268039613962173, 0.012402818538248539, 0.023058760911226273, -0.044195957481861115, -0.007948284968733788, 0.00812733918428421, -0.08930028975009918, -0.04122626781463623, -0.010926707647740841, 0.010411379858851433, 0.039479393512010574, -0.06376096606254578, -0.04492964595556259, 0.026535043492913246, 0.0003703922557178885, 0.006489643361419439, -0.03682414069771767, -0.004203419666737318, 0.036684390157461166, 0.02143416553735733, -0.03308582678437233, -0.030255889520049095, -0.04052751883864403, 0.02994145080447197, 0.07420728355646133, 0.017652180045843124, 0.042693644762039185, 0.0026137628592550755, 0.008223418146371841, -0.03139135614037514, -0.010909238830208778, -0.05771677568554878, 0.007948284968733788, -0.012123318389058113, 0.008922168053686619, -0.03630007803440094, 0.009747566655278206, 0.02506766840815544, 0.016892289742827415, -0.008118605241179466, 0.047969210892915726, 0.011066458187997341, 0.010184286162257195, 0.02080528996884823, 0.02314610406756401, -0.006463440600782633, 0.02585376240313053, 0.01662152260541916, 0.05107864737510681, 0.0023189776111394167, 0.05244120955467224, -0.006332424934953451, 0.0035068532451987267, 0.005572533700615168, -0.06728965789079666, 0.02321597933769226, 0.006795346736907959, -0.017809398472309113, 0.03643982857465744, -0.0025635401252657175, -0.007074846886098385, 0.00644597178325057, 0.08224291354417801, 0.026535043492913246, -0.003083235817030072, 0.05799627676606178, 0.0011103579308837652, -0.06505365669727325, -0.03717351704835892, 0.06337665021419525, -0.01752989925444126, -0.05817096307873726, 0.019320446997880936, -0.0054982914589345455, 0.06166471540927887, -0.009031347930431366, -0.035112202167510986, 0.008398105390369892, -0.00291291531175375, -0.05188221111893654, 0.02256963588297367, -0.012708521448075771, -0.0023342627100646496, -0.09978154301643372, -0.001353828702121973, -0.02201063558459282, -0.05799627676606178, 0.047165647149086, 0.009197301231324673, 0.07308927923440933, -0.01849941536784172, -0.01653417944908142, -0.015407444909214973, 0.052406273782253265, 0.01536377239972353, -0.015520991757512093, 0.018307257443666458, 0.07176166027784348, -0.07371816039085388, 0.05939377844333649, 0.04189008101820946, -0.019914383068680763, -0.0051052444614470005, -0.007743027061223984, -0.015520991757512093, -0.01923310197889805, -0.02330332249403, -0.0054633538238704205, 0.018813852220773697, 0.0005961213610135019, 0.026115793734788895, -0.029609544202685356, 0.014813506975769997, -0.05286046117544174, -0.007891511544585228, 0.007585808169096708, -0.027128981426358223, -0.02707657404243946, -0.06037202849984169, -0.05953352525830269, -0.015424912795424461, 0.019844509661197662, -0.021259479224681854, 0.027618106454610825, -0.05631927400827408, 0.030482983216643333, -0.007083581294864416, -0.030343232676386833, 0.0003897716524079442, 0.0014968542382121086, -0.02901560626924038, 0.028980668634176254, -0.03867582976818085, 0.021311884745955467, -0.019495133310556412, 0.004559346009045839, 0.01143330242484808, -0.03209010884165764, 0.023250916972756386, -0.0010508549166843295, -0.003022095188498497, -0.015704413875937462, -0.09125678986310959, -0.017381414771080017, -0.01835966482758522, 0.021032383665442467, -0.03146123141050339, -0.007991956546902657, -0.03993358090519905, -0.0391649566590786, 0.04035283252596855, 0.04136601835489273, -0.01200977060943842, 0.00009846647299127653, 0.003631317988038063, -0.042763520032167435, -0.02492791786789894, -0.05638914927840233, 0.03072754479944706, 0.00011054448259528726, 0.05956846475601196, 0.04964620992541313, 0.06659090518951416, -0.025609198957681656, -0.03250935673713684, -0.09104716777801514, -0.004428330343216658, -0.03058779425919056, 0.05202196165919304, -0.00826708972454071, 0.011581786908209324, -0.033697232604026794, 0.008367534726858139, -0.061909276992082596, 0.01311030238866806, 0.014665022492408752, 0.020281227305531502, 0.01699710078537464, 0.005297400988638401, -0.007625112775713205, 0.032684046775102615, 0.00936325453221798, 0.00965148862451315, -0.01842954009771347, 0.015058069489896297, -0.007432956248521805, -0.04807402193546295, 0.03630007803440094, 0.047480084002017975, -0.02314610406756401, 0.007625112775713205, 0.050624459981918335, -0.020979978144168854, 0.042693644762039185, 0.011267349123954773, -0.01865663379430771, 0.051253337413072586, -0.02829938754439354, -0.0242116991430521, 0.0069307298399508, -0.017835602164268494, -0.06271284073591232, -0.0069525656290352345, -0.03378457948565483, -0.018674101680517197, -0.013581959530711174, -0.022884072735905647, 0.01914575882256031, -0.007328143808990717, 0.01124988030642271, 0.05209183692932129, 0.08147428929805756, 0.0052449945360422134, -0.005113978870213032, -0.034832704812288284, 0.006013619713485241, 0.061909276992082596, 0.01275219302624464, 0.0348152332007885, 0.027618106454610825, 0.042693644762039185, 0.022971415892243385, -0.00023842125665396452, -0.050973836332559586, 0.002519868314266205, -0.00703990925103426, -0.012612443417310715, 0.01550352293998003, 0.018971070647239685, 0.010883036069571972, -0.055201273411512375, -0.06760409474372864, 0.03867582976818085, -0.05984796583652496, 0.07895878702402115, 0.04908721148967743, -0.02571401186287403, 0.008101136423647404, 0.009310848079621792, -0.08433916419744492, 0.05617952719330788, -0.004161931574344635, -0.03217745199799538, -0.01129355188459158, 0.017058242112398148, -0.04195995628833771, -0.0194427277892828, -0.0013843990163877606, -0.015267694368958473, -0.025626668706536293, 0.06599696725606918, 0.006651229690760374, -0.010734551586210728, 0.070468969643116, -0.044335708022117615, 0.05956846475601196, -0.00802252721041441, 0.031094389036297798, 0.04335745796561241, -0.03193289041519165, 0.014813506975769997, -0.008083667606115341, -0.02871863730251789, 0.016219742596149445, -0.005563799291849136, -0.022674446925520897, 0.014184631407260895, -0.019966790452599525, 0.008660136722028255, 0.00020198251877445728, 0.027408480644226074, -0.060057587921619415, 0.0008112054201774299, -0.017451290041208267, 0.003301595337688923, 0.047410208731889725, -0.05072927102446556, -0.012228130362927914, 0.0033321655355393887, -0.05352427437901497, 0.03128654509782791, -0.03202023357152939, -0.029836637899279594, -0.004546244163066149, 0.038116831332445145, -0.004725298844277859, -0.01907588355243206, -0.03588083013892174, 0.01489211618900299, 0.022534698247909546, 0.005926276091486216, 0.02008907124400139, -0.09055803716182709, 0.08315128833055496, -0.08594629168510437, 0.041331082582473755, 0.050903961062431335, -0.040911830961704254, -0.005131447687745094, -0.021067321300506592, 0.01625467836856842, 0.038186702877283096, 0.02386232279241085, 0.0030417474918067455, 0.04024801775813103, 0.010420113801956177, -0.04451039433479309, -0.015686944127082825, 0.02665732428431511, -0.08902078866958618, -0.011145067401230335, 0.004664158448576927, 0.013686771504580975, -0.00802252721041441, -0.02700669877231121, -0.04538383334875107, 0.011808880604803562, -0.02401954121887684, 0.014018678106367588, 0.037907205522060394, -0.10467279702425003, 0.0242116991430521, 0.053768835961818695, 0.007865307852625847, -0.021399227902293205, 0.010201754979789257, -0.02314610406756401, 0.05010039731860161, -0.014944522641599178, -0.012140786275267601, -0.0197921022772789, -0.01928550936281681, -0.014699960127472878, -0.06494884192943573, 0.024543605744838715, 0.0020012645982205868, 0.03327798470854759, 0.011782676912844181, 0.01662152260541916, -0.06100090220570564, 0.008467980660498142, 0.028037356212735176, 0.012271802872419357, -0.01743382029235363, 0.023163573816418648, 0.03780239075422287, 0.024596011266112328, -0.001137652900069952, 0.003836575895547867, 0.00935451965779066, 0.055410899221897125, 0.004013447090983391, -0.04601270705461502, -0.05153283476829529, -0.023687636479735374, 0.044126082211732864, -0.04838845878839493, 0.07672278583049774, 0.011948630213737488, -0.024683354422450066, 0.048912521451711655, -0.011983567848801613, 0.06917627900838852, -0.05845046415925026, -0.01360816229134798, -0.007612011395394802, -0.017608508467674255, 0.02099744789302349, 0.015922773629426956, -0.02971435710787773, 0.0029282006435096264, 0.00807056576013565, -0.02464841678738594, -0.026377825066447258, -0.0138614596799016, -0.0014149693306535482, -0.04929683357477188, -0.004262377042323351, -0.0174774918705225, -0.04996064677834511, -0.04901733621954918, 0.016237210482358932, 0.0073456126265227795, -0.015145412646234035, -0.0031465599313378334, 0.002797184744849801, 0.022307604551315308, -0.0800069123506546, -0.02564413659274578, 0.017241664230823517, -0.09048816561698914, -0.044335708022117615, -0.025923635810613632, -0.02749582566320896, -0.03630007803440094, -0.014210834167897701, -0.030954638496041298, -0.014263240620493889, -0.05013533681631088, 0.04279845580458641, -0.033400263637304306, 0.08930028975009918, -0.016726335510611534, 0.04031789302825928, 0.02765304408967495, 0.0003657521156128496, -0.02215038426220417, -0.014446662738919258, -0.0393047034740448, 0.10096941888332367, 0.03616032749414444, 0.004255826119333506, -0.024246636778116226, -0.03385445103049278, 0.04458026960492134, -0.052126772701740265, -0.00928464438766241, 0.041400957852602005, -0.01713685132563114, -0.024770699441432953, -0.03184554725885391, -0.010489989072084427, -0.016962163150310516, -0.0019696024246513844, -0.013817787170410156, -0.03787226602435112, -0.042623769491910934, -0.03235213831067085, 0.012787130661308765, -0.0558650866150856, -0.01935538463294506, 0.09258441627025604, -0.0013199830427765846, 0.0161411315202713, -0.01768711768090725, -0.03685908019542694, 0.00004977913704351522, 0.018115101382136345, -0.011485707946121693, 0.01764344610273838, 0.01336359977722168, -0.016263414174318314, -0.033627357333898544, -0.05010039731860161, 0.019896915182471275, -0.017128117382526398, 0.06369109451770782, 0.021696196869015694, -0.013870193623006344, -0.022971415892243385, 0.011564318090677261, -0.03374963998794556, 0.0018615145236253738, -0.04824870824813843, 0.041400957852602005, 0.018481945618987083, 0.007004972081631422, 0.04660664498806, 0.01935538463294506, 0.022622041404247284, -0.03516460955142975, -0.0006032180390320718, -0.04157564416527748, -0.05170752480626106, -0.028124699369072914, -0.023128636181354523, -0.016796210780739784, 0.04506939649581909, -0.002039477461948991, 0.04835352301597595, -0.012909412384033203, 0.06515846401453018, 0.025958573445677757, -0.10089954733848572, -0.0026770872063934803, 0.02936498261988163, 0.05408327281475067, -0.0013756647240370512, -0.07239053398370743, -0.020351102575659752, 0.06536809355020523, -0.0009416752145625651, -0.03581095486879349, 0.05401339754462242, 0.037487953901290894, -0.012525099329650402, 0.008970207534730434, -0.01432438101619482, -0.014603881165385246, 0.029679419472813606, -0.025766417384147644, 0.007642581593245268, 0.03116426430642605, 0.05058952420949936, 0.035269420593976974, 0.0002764976816251874, 0.006712370086461306, 0.007926449179649353, -0.03277138993144035, 0.05935883894562721, -0.028334325179457664, -0.04325264319777489, 0.032334670424461365, 0.020455915480852127, 0.009948457591235638, -0.031094389036297798, 0.002166125923395157, 0.10411379486322403, -0.00130469782743603, 0.02580135501921177, 0.04458026960492134, -0.04045764356851578, -0.022132916375994682, 0.002060221740975976 ]
44,071
jsons._extra_impl
suppress_warnings
Suppress (or stop suppressing) warnings altogether. :param do_suppress: if ``True``, warnings will be suppressed from now on. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None.
def suppress_warnings( do_suppress: Optional[bool] = True, fork_inst: Optional[type] = StateHolder): """ Suppress (or stop suppressing) warnings altogether. :param do_suppress: if ``True``, warnings will be suppressed from now on. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None. """ fork_inst._suppress_warnings = do_suppress
(do_suppress: Optional[bool] = True, fork_inst: Optional[type] = <class 'jsons._common_impl.StateHolder'>)
[ 0.017914587631821632, -0.007131217047572136, 0.051476310938596725, 0.02840370684862137, -0.03257512301206589, -0.0050584906712174416, -0.006880240049213171, 0.019074274227023125, 0.03125965595245361, -0.005417648237198591, -0.04521053284406662, 0.040052514523267746, -0.0355176143348217, -0.05019545927643776, -0.07380463927984238, -0.014738425612449646, -0.04707987979054451, 0.02707093209028244, 0.057084355503320694, 0.014816314913332462, -0.052237898111343384, 0.020320506766438484, -0.0299961157143116, 0.02693246118724346, -0.006296068429946899, 0.024007277563214302, 0.011718044057488441, 0.007875494658946991, 0.0014442013343796134, 0.026655521243810654, 0.05130322277545929, 0.01000447478145361, 0.028040222823619843, -0.018278071656823158, 0.01718761771917343, -0.02826523780822754, -0.030307672917842865, 0.08356678485870361, -0.09422899782657623, -0.0504031665623188, 0.01735205203294754, -0.021272489801049232, 0.0030896172393113375, -0.017178963869810104, -0.036936935037374496, -0.029840335249900818, 0.005512846168130636, 0.08356678485870361, -0.03828702121973038, -0.006443193182349205, 0.0034119931515306234, 0.05486883223056793, -0.0006290659657679498, 0.055941976606845856, -0.014392250217497349, 0.024180365726351738, 0.06445789337158203, 0.010852605104446411, 0.025166966021060944, -0.05033393204212189, -0.0064215571619570255, 0.07318151742219925, 0.0022479777690023184, -0.02222447283565998, 0.034877192229032516, -0.06255392730236053, -0.06279624998569489, 0.020026257261633873, -0.02769404649734497, 0.00847264751791954, -0.057430531829595566, -0.04728758707642555, -0.008771223947405815, 0.04313347861170769, 0.05729205906391144, -0.05064548924565315, -0.01624429039657116, -0.05386492237448692, -0.060442257672548294, -0.0008740933844819665, 0.008009637705981731, -0.03714464232325554, -0.039567869156599045, 0.062415458261966705, -0.007780296262353659, -0.01948968507349491, 0.06965053081512451, 0.020753227174282074, 0.03891013562679291, 0.020320506766438484, -0.041160278022289276, 0.05476497858762741, 0.01914351060986519, 0.017153000459074974, -0.025184273719787598, 0.08072815090417862, 0.01341430377215147, -0.02899220585823059, -0.018987732008099556, -0.03394251689314842, 0.060926903039216995, -0.022830279543995857, -0.0033470853231847286, -0.04102180898189545, -0.00802694633603096, 0.009398667141795158, 0.047391436994075775, -0.007429793477058411, -0.0068586040288209915, 0.05441880226135254, -0.0007724043098278344, 0.015491358004510403, -0.07221222668886185, 0.012739261612296104, -0.0016789516666904092, -0.034531015902757645, -0.04486435651779175, -0.022639883682131767, 0.0011510337935760617, 0.029840335249900818, -0.03728311136364937, 0.02596316859126091, -0.012064219452440739, -0.02677668258547783, -0.03991404548287392, 0.026378579437732697, 0.03565608710050583, 0.04074486717581749, 0.06459636241197586, 0.0011964694131165743, -0.006906202994287014, -0.05043778195977211, -0.026517050340771675, 0.023626483976840973, 0.004350994247943163, -0.026378579437732697, 0.01514518167823553, 0.01573367975652218, 0.029113367199897766, -0.062276989221572876, 0.0021884788293391466, -0.07068905234336853, -0.003487718990072608, 0.03728311136364937, -0.0043747941963374615, 0.01653853803873062, -0.04188724607229233, -0.03056730516254902, -0.017966512590646744, -0.014894205145537853, 0.05379568785429001, 0.011899786069989204, -0.06549642235040665, 0.021722517907619476, -0.028732573613524437, 0.07913573831319809, 0.005499864928424358, -0.04161030426621437, -0.01843385025858879, 0.03614073246717453, -0.0005092567298561335, 0.012756570242345333, 0.10793755203485489, -0.03489449992775917, 0.012895041145384312, 0.0017254690174013376, 0.03548299893736839, 0.004305558744817972, 0.04147183522582054, 0.04448356479406357, -0.021618666127324104, 0.025945860892534256, 0.04164492338895798, 0.052999481558799744, 0.02745172381401062, 0.07165835052728653, 0.01317198108881712, 0.023072604089975357, -0.10371420532464981, 0.024647701531648636, -0.024941951036453247, -0.03138081729412079, -0.004517591558396816, -0.005287832114845514, 0.02212062105536461, -0.030013423413038254, 0.01573367975652218, -0.05431494861841202, 0.02788444422185421, -0.0046776975505054, 0.047633759677410126, 0.044275857508182526, 0.006689843256026506, -0.006205197423696518, 0.04306424409151077, -0.02379957213997841, -0.034911807626485825, -0.0551803894340992, -0.020389743149280548, -0.062173135578632355, -0.025755463168025017, 0.022137928754091263, -0.03686770051717758, -0.08038197457790375, 0.011969021521508694, 0.0446220338344574, -0.05801903083920479, 0.007576918229460716, -0.001557790208607912, 0.005201288033276796, 0.031501978635787964, 0.009268851019442081, 0.023072604089975357, 0.018728099763393402, 0.050991665571928024, -0.050610870122909546, 0.0844668447971344, 0.00614461675286293, -0.038563959300518036, 0.02106478437781334, -0.016304871067404747, -0.025305435061454773, -0.0537610687315464, 0.04493359103798866, -0.0061835614033043385, 0.08245902508497238, 0.06172310933470726, -0.018156910315155983, 0.07615862786769867, -0.07131217420101166, 0.001017431728541851, -0.043548889458179474, -0.05573426932096481, -0.014028766192495823, 0.014487448148429394, -0.015015366487205029, -0.02629203535616398, -0.017455903813242912, 0.0066032991744577885, -0.017360705882310867, -0.02250141277909279, -0.02544390596449375, 0.029442233964800835, -0.003753841621801257, 0.01981855183839798, 0.022328326478600502, -0.01914351060986519, 0.009242888540029526, 0.03214240446686745, 0.04908769950270653, 0.06023455411195755, -0.01929928921163082, 0.007291323505342007, 0.03153659775853157, -0.017628991976380348, 0.0029576376546174288, 0.038079313933849335, -0.0017081601545214653, -0.007897130213677883, -0.021912915632128716, -0.01900503970682621, -0.022155238315463066, -0.01721358112990856, -0.009537137113511562, 0.01408934686332941, -0.024059204384684563, -0.03418483957648277, -0.03852934390306473, 0.017507830634713173, 0.035586852580308914, -0.013076783157885075, -0.000842721201479435, 0.030307672917842865, 0.015872150659561157, -0.04770299792289734, -0.009840041399002075, -0.031173111870884895, 0.035344526171684265, 0.0647694543004036, 0.07269687205553055, 0.06611953675746918, 0.015924077481031418, 0.006581663619726896, -0.00569891557097435, -0.002542227040976286, -0.08848248422145844, -0.0047512599267065525, 0.04064101353287697, -0.03977557644248009, -0.02817869372665882, 0.03302515298128128, 0.03331940248608589, 0.058919087052345276, -0.020372433587908745, 0.015110564418137074, 0.004768568556755781, 0.00583305861800909, -0.01886656880378723, -0.02308991178870201, 0.017603028565645218, 0.012124800123274326, 0.006066727451980114, 0.009640989825129509, 0.016071202233433723, 0.07505086809396744, 0.03129427507519722, 0.02203407697379589, -0.04289115592837334, -0.007585572544485331, 0.026672828942537308, 0.010056400671601295, -0.0002766700345091522, 0.06442327797412872, 0.04257959872484207, 0.0093553951010108, -0.020562829449772835, 0.06310781091451645, -0.024820789694786072, -0.026949768885970116, 0.04188724607229233, -0.04933002218604088, -0.049987755715847015, -0.0015631990972906351, 0.02428421750664711, 0.006512428168207407, -0.019281979650259018, -0.011406485922634602, -0.020372433587908745, 0.033232856541872025, 0.009260197170078754, -0.03953325375914574, 0.002070562681183219, -0.0006885649054311216, -0.02289951592683792, -0.015352887101471424, 0.001134806894697249, -0.0012278415961191058, -0.046768322587013245, -0.013881641440093517, -0.013613355346024036, -0.023436088114976883, 0.04431047663092613, 0.010748752392828465, 0.030255746096372604, -0.06819659471511841, -0.0023691391106694937, -0.036452289670705795, 0.03700616955757141, -0.014599955640733242, 0.013258525170385838, 0.026274727657437325, 0.0805896744132042, -0.05479959771037102, 0.08779013156890869, 0.07072367519140244, -0.006685516331344843, -0.015924077481031418, 0.002977109979838133, -0.01768091879785061, -0.04147183522582054, 0.007953383959829807, 0.0085159195587039, 0.02989226207137108, -0.010766061022877693, 0.05563041567802429, -0.0323847271502018, 0.019316598773002625, -0.09381358325481415, -0.038321636617183685, 0.001797949429601431, -0.029788410291075706, -0.02016472816467285, -0.023816879838705063, -0.08481302112340927, -0.007676443550735712, 0.043895065784454346, -0.0011142527218908072, -0.0048378040082752705, 0.0014214834664016962, 0.023384161293506622, 0.0041649253107607365, -0.029598012566566467, 0.010411230847239494, -0.0069278390146791935, -0.022639883682131767, 0.006032109726220369, -0.039083223789930344, 0.03072308376431465, 0.010290069505572319, -0.009701570495963097, 0.006923511624336243, -0.021947532892227173, 0.014781697653234005, 0.009883313439786434, 0.01350950263440609, 0.010930494405329227, -0.050022371113300323, 0.020510904490947723, -0.005041182041168213, -0.012367122806608677, -0.021272489801049232, -0.007524991873651743, -0.027728665620088577, -0.03196931630373001, -0.008836131542921066, 0.026309344917535782, -0.03638305515050888, -0.013154672458767891, 0.030636539682745934, 0.011319941841065884, -0.012219998054206371, -0.0609615221619606, 0.02130710706114769, -0.029788410291075706, 0.037698522210121155, 0.038079313933849335, 0.0374215804040432, 0.023574557155370712, -0.019351216033101082, -0.0686120018362999, -0.010039092041552067, -0.010748752392828465, 0.05254945531487465, 0.003422811161726713, 0.032609742134809494, -0.038702432066202164, -0.001812012866139412, -0.03884090110659599, -0.007685098331421614, 0.01997433230280876, -0.00034509378019720316, 0.013431613333523273, 0.027988296002149582, -0.007680770941078663, 0.03499835357069969, 0.004586826544255018, 0.013327760621905327, -0.015422122552990913, 0.007239397149533033, 0.03672923147678375, -0.012185380794107914, 0.042648833245038986, 0.027417106553912163, -0.03652152419090271, 0.008100508712232113, 0.07539704442024231, -0.007542300503700972, 0.04822225868701935, -0.012427703477442265, -0.016607774421572685, 0.010411230847239494, -0.022068694233894348, 0.03676384687423706, -0.06681188941001892, -0.031415436416864395, -0.07318151742219925, -0.03248858079314232, -0.04434509202837944, -0.0075033558532595634, -0.0005465787835419178, 0.018018439412117004, -0.04507206380367279, -0.04780684784054756, 0.010809333063662052, 0.035067588090896606, 0.029736483469605446, 0.04659523442387581, 0.023107221350073814, -0.050368547439575195, -0.02198215015232563, 0.08612848818302155, -0.011813241988420486, 0.054211098700761795, 0.009840041399002075, 0.0311904214322567, 0.010160253383219242, 0.015967348590493202, -0.04479512199759483, -0.00013637424854096025, -0.003483391832560301, -0.060684580355882645, -0.008368794806301594, -0.008013964630663395, 0.024197673425078392, -0.043410420417785645, -0.062415458261966705, 0.04406815394759178, -0.08190514147281647, 0.10772984474897385, 0.008126472122967243, -0.016062546521425247, 0.0171616543084383, 0.005638334900140762, -0.034634869545698166, 0.04742605611681938, -0.013786442577838898, -0.028922971338033676, -0.02125518210232258, 0.05753438174724579, -0.06982361525297165, -0.005404666531831026, -0.005396012216806412, -0.0065081012435257435, 0.0033687211107462645, 0.037594668567180634, -0.035206057131290436, -0.029442233964800835, 0.0446220338344574, -0.04645676538348198, 0.02198215015232563, -0.022812971845269203, 0.013371032662689686, 0.033527106046676636, 0.0223110169172287, 0.0542457140982151, -0.04410276934504509, -0.04212956875562668, 0.025115039199590683, 0.01832999847829342, -0.01919543743133545, -0.016261598095297813, -0.001748186768963933, -0.015629827976226807, 0.00006358948303386569, 0.011129545047879219, -0.06075381487607956, 0.019212745130062103, 0.060165319591760635, 0.028144076466560364, 0.016832787543535233, -0.022189855575561523, -0.05524962395429611, -0.0037127332761883736, -0.04136798158288002, 0.002888402668759227, -0.05864214524626732, -0.001524254446849227, -0.007382194511592388, -0.006914857309311628, -0.025374671444296837, 0.026274727657437325, -0.03037690743803978, 0.006594644859433174, -0.0326443575322628, 0.01781073398888111, 0.0648040696978569, -0.0566343255341053, 0.08024350553750992, -0.05016084387898445, -0.0030658175237476826, 0.04437971115112305, 0.006547045893967152, 0.0060450914315879345, 0.021705210208892822, -0.012540210969746113, -0.012730607762932777, 0.018312688916921616, 0.031501978635787964, 0.034098297357559204, 0.010471811518073082, -0.005517173558473587, -0.042544979602098465, 0.04666446894407272, -0.062069281935691833, -0.033769428730010986, 0.014227816835045815, 0.0117613160982728, 0.041679542511701584, -0.03717925772070885, -0.04323733225464821, 0.017481867223978043, -0.05441880226135254, 0.010714134201407433, 0.01924736239016056, -0.05822673439979553, 0.06629262864589691, 0.061169225722551346, 0.07283534109592438, -0.040952570736408234, 0.0047945319674909115, -0.0070403460413217545, 0.02447461523115635, -0.06778118014335632, -0.024630393832921982, 0.012514247559010983, -0.014669191092252731, 0.027901751920580864, -0.0629001036286354, 0.0820436179637909, -0.017879968509078026, -0.0017947041196748614, 0.043548889458179474, -0.0052791777998209, -0.03067115694284439, -0.027105549350380898, 0.022691810503602028, 0.022830279543995857, -0.010428539477288723, 0.024163056164979935, 0.036071497946977615, 0.004141125362366438, 0.02333223447203636, 0.04579903185367584, -0.032609742134809494, 0.015032675117254257, 0.012704644352197647, -0.04659523442387581, -0.0388755202293396, 0.01775880716741085, 0.05601121112704277, -0.04666446894407272, 0.05846905708312988, 0.022639883682131767, -0.04074486717581749, 0.007875494658946991, -0.038079313933849335, 0.021774444729089737, -0.03110387735068798, -0.04770299792289734, -0.015352887101471424, -0.003048508893698454, 0.012098836712539196, -0.006469156593084335, -0.07975885272026062, -0.012280578725039959, -0.011172817088663578, -0.023782262578606606, -0.03610611334443092, -0.034634869545698166, 0.03354441374540329, -0.04628367722034454, -0.02187829650938511, 0.012012292630970478, -0.018070366233587265, -0.026032404974102974, 0.025945860892534256, 0.007416812237352133, -0.0019256017403677106, -0.00367162493057549, 0.03042883425951004, 0.054107245057821274, -0.0499185211956501, 0.017793426290154457, 0.017317434772849083, -0.06262316554784775, -0.05109551548957825, -0.0025162638630717993, -0.007494701538234949, -0.009268851019442081, 0.0006582745118066669, -0.037698522210121155, 0.028057532384991646, -0.07086214423179626, 0.043168097734451294, -0.030030732974410057, 0.09291353076696396, 0.003624025732278824, 0.025357361882925034, 0.05293024703860283, -0.00343795632943511, -0.0050757997669279575, -0.02428421750664711, -0.05158016458153725, 0.052999481558799744, 0.0012018784182146192, 0.0014387923292815685, -0.0345483236014843, 0.02314183861017227, 0.035102203488349915, -0.041056424379348755, 0.019351216033101082, 0.04922616854310036, -0.04050254449248314, 0.005863348953425884, 0.0065513732843101025, -0.004920020699501038, -0.02899220585823059, 0.0027585867792367935, -0.04545285552740097, -0.04593750089406967, -0.043895065784454346, 0.027711356058716774, 0.012280578725039959, -0.04524514824151993, -0.0686120018362999, 0.007862512953579426, 0.029823027551174164, 0.022691810503602028, 0.0013565756380558014, -0.03255781531333923, 0.018018439412117004, 0.015560592524707317, 0.018156910315155983, 0.07858186215162277, 0.013578737154603004, -0.020043566823005676, -0.02082246169447899, -0.06487330794334412, 0.03873704746365547, -0.019316598773002625, 0.054488036781549454, -0.026118949055671692, 0.0030030731577426195, 0.019264671951532364, -0.003948565106838942, 0.011077619157731533, -0.004534900188446045, -0.04161030426621437, 0.08093585073947906, 0.013933567330241203, 0.009286160580813885, 0.07470469176769257, 0.050749342888593674, 0.00032940771779976785, -0.060061465948820114, -0.024561157450079918, -0.020770534873008728, -0.05538809299468994, 0.00931212306022644, -0.03884090110659599, -0.00703169172629714, 0.033613648265600204, -0.02154942974448204, 0.05386492237448692, 0.007408157456666231, 0.0436873584985733, -0.023072604089975357, -0.059438347816467285, 0.023297617211937904, -0.01027276087552309, 0.07975885272026062, -0.027244018390774727, -0.05552656576037407, -0.035829175263643265, 0.02610163949429989, 0.007070636376738548, 0.007356231100857258, 0.06442327797412872, 0.02333223447203636, -0.0009557691519148648, 0.005837386008352041, -0.07352769374847412, -0.0005744351074099541, 0.03811393305659294, -0.03603687882423401, -0.014262434095144272, 0.028282545506954193, 0.05258407071232796, 0.04195648059248924, -0.006512428168207407, 0.013353723101317883, -0.006832640618085861, -0.026413196697831154, 0.03387328237295151, 0.028905661776661873, 0.041056424379348755, -0.015093255788087845, 0.02092631533741951, -0.0004816708678845316, -0.12123069167137146, 0.028351780027151108, 0.06196543201804161, -0.053345657885074615, 0.0422334223985672, 0.03444446995854378, -0.02610163949429989, -0.0008654389530420303, -0.01173535268753767 ]
44,075
jsons._transform_impl
transform
Transform the given ``obj`` to an instance of ``cls``. :param obj: the object that is to be transformed into a type of ``cls``. :param cls: the type that ``obj`` is to be transformed into. :param mapper: a callable that takes the dumped dict and returns a mapped dict right before it is loaded into ``cls``. :param dump_cls: the ``cls`` parameter that is given to ``dump``. :param dump_args: the ``args`` parameter that is given to ``dump``. :param dump_kwargs: the ``kwargs`` parameter that is given to ``dump``. :param kwargs: any keyword arguments that are given to ``load``. :return: an instance of ``cls``.
def transform( obj: object, cls: Type[T], *, mapper: Callable[[Dict[str, Any]], Dict[str, Any]] = None, dump_cls: type = None, dump_args: List[Any] = None, dump_kwargs: List[Dict[str, Any]] = None, **kwargs) -> T: """ Transform the given ``obj`` to an instance of ``cls``. :param obj: the object that is to be transformed into a type of ``cls``. :param cls: the type that ``obj`` is to be transformed into. :param mapper: a callable that takes the dumped dict and returns a mapped dict right before it is loaded into ``cls``. :param dump_cls: the ``cls`` parameter that is given to ``dump``. :param dump_args: the ``args`` parameter that is given to ``dump``. :param dump_kwargs: the ``kwargs`` parameter that is given to ``dump``. :param kwargs: any keyword arguments that are given to ``load``. :return: an instance of ``cls``. """ dump_args_ = dump_args or [] dump_kwargs_ = dump_kwargs or {} dumped = dump(obj, dump_cls, *dump_args_, **dump_kwargs_) mapper_ = mapper or (lambda x: x) dumped_mapped = mapper_(dumped) return load(dumped_mapped, cls, **kwargs)
(obj: object, cls: Type[~T], *, mapper: Optional[Callable[[Dict[str, Any]], Dict[str, Any]]] = None, dump_cls: Optional[type] = None, dump_args: Optional[List[Any]] = None, dump_kwargs: Optional[List[Dict[str, Any]]] = None, **kwargs) -> ~T
[ 0.002932247007265687, 0.018946826457977295, 0.015929996967315674, -0.04172813147306442, -0.01721755415201187, 0.032273516058921814, 0.013918775133788586, 0.016155553981661797, -0.06687778979539871, -0.008810838684439659, 0.023194827139377594, -0.006470679771155119, 0.0018913933308795094, -0.017762649804353714, 0.005540255457162857, 0.0746971145272255, -0.06544926017522812, 0.007293024566024542, 0.013862386345863342, 0.01640930585563183, 0.06206589564681053, 0.0029017028864473104, 0.007560874335467815, 0.038645513355731964, -0.003381012473255396, -0.05811864137649536, 0.003359866328537464, 0.03086378052830696, -0.0484948568046093, -0.019473128020763397, 0.03783726692199707, -0.00819525495171547, 0.0054979631677269936, 0.01512174867093563, -0.05029931664466858, -0.018909234553575516, 0.022912878543138504, 0.028119497001171112, 0.00046462489990517497, -0.030187107622623444, 0.00819525495171547, 0.036220770329236984, -0.04691595211625099, 0.012039129622280598, 0.03887106850743294, 0.01969868503510952, 0.018288951367139816, -0.02605188824236393, -0.0000451555461040698, -0.09894454479217529, 0.0515022873878479, -0.034942612051963806, 0.03479224070906639, 0.009045794606208801, 0.05187821760773659, 0.024604560807347298, -0.018270155414938927, 0.004341981373727322, 0.025939108803868294, 0.0037780876737087965, 0.01123088225722313, 0.05755474790930748, -0.026897728443145752, 0.006184034049510956, 0.02146555297076702, -0.049848198890686035, -0.03422834724187851, -0.025055674836039543, -0.0472542904317379, -0.028608204796910286, -0.02092045545578003, 0.021352773532271385, 0.024999285116791725, 0.012377466075122356, 0.035882432013750076, -0.03958533704280853, -0.022161021828651428, -0.04383333399891853, -0.007730042561888695, 0.05022412911057472, 0.001244090381078422, -0.06567481905221939, -0.0052724056877195835, -0.03449149429798126, -0.030976558104157448, -0.018044596537947655, 0.0005409854929894209, -0.05022412911057472, -0.034942612051963806, -0.013242103159427643, -0.009055192582309246, 0.008900121785700321, -0.0467279888689518, -0.034698255360126495, -0.052592482417821884, -0.020995641127228737, 0.022837692871689796, 0.06680260598659515, -0.03670947626233101, 0.012180102989077568, 0.0006126469816081226, 0.01227408554404974, -0.06172756105661392, 0.04383333399891853, 0.02240537479519844, -0.05356989800930023, 0.023119639605283737, 0.008815538138151169, 0.0034796937834471464, 0.007227237336337566, 0.05334434285759926, 0.005333494395017624, -0.07123856991529465, 0.036803461611270905, 0.0023742273915559053, -0.051615066826343536, 0.027311250567436218, 0.009736564010381699, -0.06999800354242325, -0.031634435057640076, -0.025619568303227425, -0.004548742435872555, -0.066727414727211, -0.006146441213786602, -0.02751801162958145, -0.04172813147306442, 0.08180217444896698, -0.014961978420615196, 0.023702330887317657, 0.06289294362068176, 0.01393757201731205, -0.03603280708193779, -0.04811892658472061, 0.03139008209109306, 0.036220770329236984, -0.008261042647063732, -0.0041798618622124195, -0.007593768183141947, -0.031032947823405266, -0.04116423800587654, 0.02631503716111183, -0.03206675499677658, 0.011277873069047928, 0.0023906740825623274, 0.010967731475830078, -0.05977272987365723, -0.042592767626047134, 0.048645228147506714, 0.002052338095381856, 0.023176029324531555, 0.008387918584048748, -0.0004326121706981212, 0.001026169047690928, 0.08135105669498444, -0.041352201253175735, -0.0005618378054350615, 0.010347449220716953, -0.03731096535921097, 0.04484834149479866, -0.019849056378006935, -0.013871784321963787, -0.010883147828280926, -0.0026103577110916376, -0.024942897260189056, 0.022969268262386322, -0.03028108924627304, 0.023213623091578484, 0.0010014986619353294, 0.01785663329064846, -0.011174492537975311, -0.060148656368255615, -0.03701022267341614, 0.001543658901937306, 0.02214222401380539, 0.0522165521979332, 0.04789336770772934, -0.027048099786043167, -0.013514651916921139, 0.032893795520067215, 0.032593052834272385, 0.015441288240253925, -0.011869961395859718, 0.054321758449077606, -0.04022441431879997, -0.029190896078944206, 0.009186767973005772, -0.015159341506659985, 0.04184091091156006, -0.023476773872971535, -0.002241477370262146, 0.03571326658129692, 0.011832368560135365, -0.013730810955166817, -0.015976987779140472, 0.006367299240082502, 0.05571269616484642, -0.07676472514867783, 0.037423744797706604, -0.006860706489533186, 0.030826186761260033, 0.02090165950357914, 0.02449178136885166, 0.05747956037521362, 0.012678209692239761, -0.03539372608065605, 0.0067385295405983925, 0.009783554822206497, 0.024717338383197784, -0.03325093165040016, -0.027724772691726685, 0.03789365291595459, -0.03943496569991112, -0.07101301103830338, -0.017941216006875038, 0.06856946647167206, 0.039810892194509506, 0.005239511840045452, -0.0019066655077040195, 0.004854184575378895, 0.010676386766135693, 0.06518610566854477, -0.013514651916921139, -0.10510978102684021, 0.05086321011185646, 0.026559391990303993, -0.01498077530413866, -0.029905160889029503, -0.034641869366168976, -0.03642753139138222, -0.06714093685150146, -0.05184062570333481, -0.04390852153301239, -0.012527837418019772, 0.03184119611978531, 0.05544954538345337, 0.016240138560533524, 0.05417138338088989, -0.0015413094079121947, 0.028608204796910286, 0.008528891950845718, 0.04360777884721756, 0.007236635312438011, -0.006653945427387953, -0.04669039696455002, -0.019773870706558228, 0.05210377648472786, -0.02753680758178234, 0.007109759375452995, -0.02727365680038929, 0.008514794521033764, 0.016822827979922295, 0.01577962376177311, 0.01469882857054472, -0.0074339983984827995, -0.015413093380630016, 0.02520604617893696, -0.02420983463525772, -0.00415636645630002, -0.051953405141830444, 0.00818585604429245, 0.0008229323429986835, -0.005244211293756962, -0.005657732952386141, 0.042893510311841965, -0.012452651746571064, -0.0142477136105299, -0.03298778086900711, -0.007382308132946491, -0.0078757144510746, 0.013063536956906319, 0.12014694511890411, -0.01001851074397564, 0.00800259131938219, 0.058306604623794556, -0.0077864318154752254, -0.006461281795054674, -0.014313501305878162, -0.05548713728785515, 0.058908093720674515, 0.004170463420450687, -0.02452937513589859, -0.04932190105319023, 0.024097055196762085, -0.049209121614694595, 0.04988579452037811, -0.0034186053089797497, 0.012490244582295418, 0.06567481905221939, 0.0018338292138651013, -0.01608036831021309, -0.008528891950845718, 0.004327883943915367, -0.024435391649603844, -0.04323184862732887, -0.011738386936485767, -0.03355167433619499, -0.11834248155355453, -0.012969554401934147, -0.003789835376664996, -0.06063736602663994, -0.0060430606827139854, -0.05687807500362396, -0.001388588105328381, 0.054622501134872437, 0.030205903574824333, 0.01500897016376257, -0.03755531832575798, -0.014163129031658173, -0.024059463292360306, 0.030769797042012215, -0.0013075284659862518, 0.04086349532008171, 0.06026143580675125, 0.017114173620939255, -0.03246147930622101, -0.01969868503510952, -0.0029439949430525303, 0.0350365936756134, 0.04451000690460205, -0.02573234774172306, -0.055900659412145615, 0.027705974876880646, 0.018993819132447243, 0.024021869525313377, 0.028326258063316345, -0.02605188824236393, -0.03155924752354622, 0.012010934762656689, 0.039810892194509506, -0.04575057327747345, -0.009764758870005608, 0.020394153892993927, 0.025356419384479523, 0.0008746225503273308, 0.013101129792630672, -0.018044596537947655, -0.03969811275601387, -0.00689829932525754, 0.0032564860302954912, -0.010366245172917843, 0.0011853515170514584, 0.07635120302438736, -0.001756293815560639, -0.022969268262386322, 0.02785634808242321, 0.0447731576859951, -0.006292113568633795, -0.005051547661423683, -0.038908664137125015, 0.012198899872601032, -0.01852390728890896, -0.05917124077677727, 0.005122034344822168, -0.04357018321752548, -0.05932161211967468, -0.04943467676639557, 0.07371969521045685, -0.0382319912314415, -0.0394725576043129, -0.07360692322254181, -0.010225271806120872, -0.033156946301460266, -0.055900659412145615, -0.03843875229358673, 0.030111921951174736, 0.03633354976773262, -0.04541223496198654, -0.05969754233956337, -0.027160879224538803, 0.0394725576043129, 0.02178509160876274, 0.029510434716939926, -0.047141510993242264, 0.0208828616887331, -0.021446755155920982, 0.017424315214157104, -0.005934980697929859, 0.05428416281938553, -0.030412664636969566, 0.07796769589185715, 0.026540596038103104, 0.012433855794370174, 0.009106882847845554, -0.005385184660553932, 0.058231420814991, -0.035882432013750076, 0.03238629177212715, 0.03768689185380936, -0.022499358281493187, -0.037104204297065735, 0.031333692371845245, -0.006184034049510956, 0.012800386175513268, -0.06729131191968918, 0.028664594516158104, -0.0026949418243020773, -0.04067552834749222, 0.046201687306165695, 0.023683534935116768, 0.01577022671699524, -0.022649729624390602, -0.01911599561572075, 0.04217924550175667, -0.016512686386704445, -0.02001822553575039, 0.023570755496621132, 0.024097055196762085, -0.08909519761800766, 0.01726454496383667, -0.0023190127685666084, 0.050750430673360825, 0.004020092077553272, 0.003630065592005849, -0.007471591234207153, -0.00892831664532423, -0.0033739637583494186, 0.06146441027522087, -0.003446799935773015, -0.09623785316944122, 0.008289236575365067, 0.017320934683084488, 0.0394725576043129, 0.0022931676357984543, -0.060449402779340744, 0.07191523909568787, -0.051088765263557434, -0.025694753974676132, -0.029905160889029503, 0.004952866118401289, -0.022480560466647148, -0.003049724968150258, -0.07616323977708817, -0.015413093380630016, 0.023533161729574203, 0.03819439932703972, 0.02390909194946289, 0.04417167231440544, 0.02148434892296791, 0.02420983463525772, 0.05447212979197502, -0.02268732152879238, -0.037762079387903214, 0.015441288240253925, -0.019491923972964287, -0.02033776417374611, 0.011625607497990131, -0.013082332909107208, -0.0014449774753302336, 0.038607921451330185, 0.051953405141830444, 0.05180303007364273, 0.044998716562986374, 0.018223164603114128, 0.07597527652978897, 0.025337621569633484, -0.08323070406913757, 0.06898298859596252, -0.030168311670422554, -0.01690741255879402, 0.07356932759284973, 0.023514365777373314, -0.07939622551202774, 0.04691595211625099, -0.015948792919516563, 0.019905446097254753, 0.007147352211177349, 0.027311250567436218, 0.010864350944757462, -0.04026200622320175, -0.08089994639158249, 0.011775979772210121, 0.0181855708360672, -0.014416881836950779, 0.011616209521889687, 0.0011712540872395039, 0.012180102989077568, 0.0575171560049057, -0.0291157104074955, -0.048607632517814636, 0.013166917487978935, 0.04428444802761078, -0.018354738131165504, 0.07563693821430206, 0.01693560741841793, -0.020469339564442635, 0.06729131191968918, 0.04090108722448349, 0.004793096333742142, -0.0029416452161967754, 0.06774242967367172, 0.00196892861276865, 0.04582575708627701, -0.015253324061632156, -0.00726483017206192, -0.0465400256216526, -0.042855918407440186, 0.004149317741394043, 0.030788594856858253, -0.037367355078458786, -0.08022326976060867, 0.031972769647836685, 0.007086263969540596, -0.04368296265602112, 0.014623642899096012, -0.04868282005190849, -0.044359635561704636, 0.018401730805635452, 0.04011163488030434, -0.005643635988235474, 0.013655625283718109, -0.04334462806582451, 0.009252555668354034, -0.04781818389892578, 0.05217896029353142, -0.029923956841230392, 0.006390795111656189, 0.03028108924627304, -0.022518154233694077, 0.05123913660645485, -0.057742711156606674, -0.008914219215512276, 0.024097055196762085, 0.012217695824801922, -0.03263064846396446, 0.010074900463223457, 0.025281233713030815, 0.021973056718707085, 0.040713123977184296, 0.05533676594495773, -0.014125536195933819, -0.025694753974676132, -0.07217838615179062, 0.013965766876935959, -0.030375072732567787, 0.0327434241771698, 0.06409591436386108, 0.024717338383197784, -0.0053757862187922, 0.0024834817741066217, -0.06586278229951859, 0.03323213383555412, 0.0042597465217113495, 0.0005976685206405818, 0.05180303007364273, 0.01260302308946848, -0.004433613736182451, 0.019247571006417274, 0.04154016822576523, -0.05605103075504303, 0.033796027302742004, -0.02090165950357914, -0.05086321011185646, 0.011625607497990131, 0.020713694393634796, -0.0617651529610157, 0.016183748841285706, -0.01939794234931469, 0.02419103868305683, -0.006668042857199907, -0.008359723724424839, 0.0018432274227961898, 0.03734855726361275, 0.0221234280616045, 0.014520262368023396, 0.005399282090365887, 0.0009386480087414384, 0.023119639605283737, 0.02246176451444626, -0.02246176451444626, -0.014727023430168629, 0.013373678550124168, 0.10172642022371292, 0.028044311329722404, 0.001138947787694633, 0.00968017429113388, 0.04567538574337959, 0.013918775133788586, 0.010197076946496964, 0.028720984235405922, -0.05642696097493172, -0.0009662553202360868, 0.04037478566169739, -0.023420384153723717, -0.03721698373556137, -0.007424599956721067, -0.06800557672977448, 0.00007533266762038693, -0.023533161729574203, 0.015469483099877834, -0.04326944053173065, -0.0007730042561888695, 0.07729102671146393, -0.04977301508188248, 0.03727336972951889, 0.030732205137610435, -0.05232933163642883, 0.021014437079429626, -0.022217409685254097, 0.01692620851099491, -0.017978809773921967, -0.06435906141996384, 0.008120069280266762, 0.01001851074397564, -0.027311250567436218, 0.0527428537607193, -0.02266852557659149, -0.03857032582163811, -0.04605131596326828, -0.007922706194221973, -0.02843903750181198, -0.015845412388443947, -0.04665280133485794, 0.0522165521979332, 0.009417024441063404, 0.00940762646496296, -0.022067038342356682, -0.0760880559682846, -0.019623499363660812, 0.014539058320224285, -0.004457109607756138, 0.004266795236617327, 0.004579286556690931, -0.027367640286684036, 0.01561985444277525, 0.019567109644412994, 0.06142681837081909, -0.0011612685630097985, -0.021728701889514923, 0.020488137379288673, -0.02847662940621376, -0.02061971090734005, -0.036502715200185776, 0.012151908129453659, -0.017424315214157104, 0.025976702570915222, -0.0069546885788440704, 0.005309998523443937, 0.06977244466543198, -0.040412381291389465, 0.009224360808730125, -0.05116395279765129, -0.046201687306165695, -0.008890723809599876, -0.00560134369879961, -0.0018068093340843916, -0.1270640343427658, 0.011550421826541424, 0.042517583817243576, 0.03266824036836624, 0.03996126353740692, 0.04537464305758476, 0.03787485882639885, -0.010713979601860046, 0.026784949004650116, 0.028288666158914566, 0.0025398710276931524, 0.02152194082736969, -0.06187793239951134, 0.06199071183800697, 0.05123913660645485, -0.0424799881875515, 0.025901515036821365, -0.03443510830402374, -0.00568592781201005, 0.038908664137125015, 0.021333977580070496, -0.07871955633163452, -0.03189758583903313, -0.05544954538345337, -0.03962292894721031, -0.018655482679605484, -0.01943553425371647, -0.048306889832019806, 0.0020006478298455477, -0.06112607195973396, -0.010328652337193489, 0.025619568303227425, -0.04360777884721756, 0.014069147408008575, 0.014134934172034264, 0.01499957125633955, -0.018420526757836342, -0.003912012092769146, 0.044660378247499466, -0.06308090686798096, 0.04612650349736214, 0.02422863058745861, -0.062291454523801804, 0.014811607077717781, -0.039848484098911285, 0.05638936534523964, 0.031972769647836685, -0.05571269616484642, 0.0054979631677269936, -0.029604418203234673, -0.015883004292845726, -0.02246176451444626, 0.0075138830579817295, 0.07691509276628494, -0.0050468482077121735, -0.023739922791719437, -0.03693503513932228, 0.008900121785700321, -0.02422863058745861, 0.009980917908251286, 0.0021803888957947493, -0.054359350353479385, 0.012837979011237621, 0.03447270020842552, 0.014914987608790398, 0.01514994353055954, 0.02637142688035965, 0.028251072391867638, 0.03420954942703247, 0.03447270020842552, -0.019144190475344658, 0.0011142774019390345, 0.02084526978433132, -0.025262435898184776, -0.041051458567380905, -0.0023342848289757967, -0.06093810871243477, 0.02390909194946289, -0.01044143084436655, 0.08157661557197571, 0.00463097682222724, -0.00001799797246349044, -0.018984420225024223, 0.04003645107150078, -0.02056332305073738, 0.03902144357562065, -0.006216927897185087, -0.06184034049510956, -0.06402073055505753, -0.006870104465633631, 0.0007659555412828922, -0.03185999393463135, -0.028401443734765053, -0.014313501305878162, 0.02214222401380539, -0.02843903750181198, 0.01528151798993349, 0.05811864137649536, 0.05762993171811104, 0.005873892456293106, -0.043758150190114975, 0.06236663833260536, 0.057404376566410065, 0.0038039328064769506, 0.033495284616947174, 0.034698255360126495, 0.016296526417136192, -0.0015636301832273602, 0.06462221592664719, 0.11713951081037521, -0.005352290812879801, 0.018711872398853302, -0.042254433035850525, 0.0015037164557725191, 0.0014050350291654468, -0.015666846185922623, -0.06172756105661392, 0.017678067088127136, -0.04608890786767006, 0.073794886469841, 0.01602397859096527, 0.02486771158874035, 0.0060430606827139854 ]
44,076
jsons._validation
validate
Validate the given ``obj`` with the validator that was registered for ``cls``. Raises a ``ValidationError`` if the validation failed. :param obj: the object that is to be validated. :param cls: the type of which the validator function was registered. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None.
def validate( obj: object, cls: type, fork_inst: type = StateHolder) -> None: """ Validate the given ``obj`` with the validator that was registered for ``cls``. Raises a ``ValidationError`` if the validation failed. :param obj: the object that is to be validated. :param cls: the type of which the validator function was registered. :param fork_inst: if given, it uses this fork of ``JsonSerializable``. :return: None. """ validator = get_validator(cls, fork_inst) result = True msg = 'Validation failed.' if validator: try: result = validator(obj) except Exception as err: if err.args: msg = err.args[0] result = False if not result: raise ValidationError(msg)
(obj: object, cls: type, fork_inst: type = <class 'jsons._common_impl.StateHolder'>) -> NoneType
[ 0.05528394505381584, 0.004162619821727276, 0.021275613456964493, -0.008325239643454552, -0.03212200477719307, -0.03319213166832924, 0.0326480008661747, 0.02900230512022972, -0.007744831033051014, -0.020640790462493896, 0.07171677052974701, -0.007785641122609377, 0.056553591042757034, -0.059129152446985245, -0.03050774149596691, 0.017802229151129723, -0.03373626619577408, -0.02203739993274212, -0.008733339607715607, 0.022382017225027084, -0.03538680449128151, 0.01632400043308735, -0.010456428863108158, 0.04951613396406174, 0.012551342137157917, 0.07733948528766632, 0.05332506448030472, 0.012714581564068794, -0.011054974980652332, 0.02230946533381939, 0.031777385622262955, 0.03837953880429268, 0.008103052154183388, 0.0016142622334882617, -0.030870497226715088, -0.03496963530778885, 0.013394748792052269, 0.021130511537194252, -0.12246627360582352, 0.02000596933066845, -0.0400119386613369, 0.06301064044237137, -0.02504827082157135, 0.034099020063877106, 0.028349345549941063, -0.012977579608559608, -0.0032058521173894405, 0.07719437777996063, -0.07784733921289444, -0.04911709949374199, 0.0324847586452961, -0.04182571545243263, 0.021438851952552795, -0.01334940455853939, 0.02492130547761917, 0.018128708004951477, 0.016142621636390686, 0.04585229977965355, 0.048391591757535934, -0.006774459965527058, -0.009272938594222069, 0.006389032118022442, 0.04937103018164635, 0.01693161576986313, -0.013186164200305939, -0.053179964423179626, -0.01998783089220524, -0.04969751089811325, -0.06126941367983818, -0.00006865432078484446, -0.017167406156659126, 0.03500591218471527, 0.01334940455853939, 0.008157465606927872, 0.0020563704892992973, -0.049479857087135315, -0.04012076184153557, -0.0020450344309210777, 0.011916520074009895, 0.05557414889335632, 0.058040887117385864, -0.028657687827944756, -0.02475806698203087, -0.0044437553733587265, -0.007318593095988035, 0.009359093382954597, -0.007586125284433365, -0.04487286135554314, -0.07675907760858536, 0.02259967103600502, -0.08067683130502701, 0.02887534163892269, 0.004380273167043924, -0.031233252957463264, -0.026898324489593506, 0.03645693138241768, 0.007522643078118563, -0.006978509947657585, -0.023869315162301064, 0.025973297655582428, 0.021311888471245766, 0.02301684021949768, -0.02805914171040058, 0.01805615797638893, 0.04762980341911316, -0.037508923560380936, 0.0012673771707341075, -0.024286484345793724, -0.050314195454120636, 0.029201822355389595, 0.05999976769089699, 0.006851545535027981, -0.08053173124790192, 0.040519796311855316, 0.022762911394238472, -0.04480031132698059, -0.03330095857381821, -0.023343319073319435, -0.08517500013113022, -0.029092995449900627, 0.008783218450844288, 0.04041096940636635, -0.05789578706026077, 0.022490844130516052, 0.03740009665489197, 0.012578548863530159, 0.06431655585765839, 0.009046216495335102, 0.037617750465869904, 0.044836584478616714, 0.034788258373737335, -0.025229647755622864, -0.048536691814661026, -0.01590683124959469, 0.012424377724528313, 0.018863288685679436, 0.02941947430372238, 0.0006586280651390553, -0.03783540427684784, -0.036656446754932404, 0.03979428485035896, 0.025973297655582428, -0.01470066886395216, -0.04490913823246956, -0.011717003770172596, -0.00953140202909708, -0.09736359119415283, 0.00888297613710165, 0.02299870178103447, 0.04142668470740318, 0.011417730711400509, -0.027188528329133987, 0.03701920434832573, 0.07229717820882797, -0.05662614107131958, -0.037091754376888275, -0.031904350966215134, -0.08183765411376953, 0.10287747532129288, 0.016396550461649895, -0.0408100001513958, 0.053832922130823135, 0.03418970853090286, -0.05488491430878639, 0.008443135768175125, 0.06565875560045242, 0.024340897798538208, -0.000057601613661972806, -0.03990311175584793, 0.06377242505550385, -0.017530161887407303, -0.04614250734448433, -0.024957582354545593, 0.024032555520534515, -0.017738746479153633, 0.0648244172334671, 0.03496963530778885, 0.028820928186178207, 0.02805914171040058, 0.018210329115390778, -0.002473539439961314, -0.0029677937272936106, 0.07255110889673233, 0.011871174909174442, -0.006293808575719595, 0.04451010748744011, 0.006035345606505871, 0.020749617367982864, 0.04679546505212784, -0.026045847684144974, -0.005083112046122551, 0.004130878951400518, 0.017167406156659126, -0.016496308147907257, -0.013585194945335388, 0.032992616295814514, -0.021130511537194252, 0.022255053743720055, -0.019661350175738335, -0.04302280768752098, 0.05267210677266121, -0.008615444414317608, -0.006778994109481573, -0.02027803473174572, -0.039939384907484055, 0.01211603544652462, -0.039286427199840546, 0.06685584783554077, -0.00042198674054816365, -0.05677124485373497, -0.03116070106625557, -0.028113555163145065, -0.08488480001688004, 0.0718618705868721, 0.07240600883960724, -0.03957663103938103, 0.03848836198449135, -0.04472775757312775, 0.051257360726594925, 0.040882550179958344, 0.08640836924314499, 0.008574633859097958, -0.0083615155890584, 0.007345799822360277, -0.009377230890095234, -0.017865709960460663, 0.0010786309139803052, 0.009350024163722992, 0.010791977867484093, -0.07908070832490921, -0.06808921694755554, -0.04135413095355034, 0.010592461563646793, 0.018754461780190468, -0.028385622426867485, 0.07385703176259995, 0.06983043998479843, 0.03411715850234032, 0.040084488689899445, 0.0316866971552372, 0.024177657440304756, -0.051511287689208984, 0.0181649848818779, -0.04708566889166832, -0.003611685009673238, 0.04501796513795853, 0.0371280312538147, 0.018364500254392624, -0.04559837281703949, -0.019244180992245674, -0.05372409522533417, 0.03881484270095825, -0.011635384522378445, -0.028548860922455788, -0.0031106288079172373, 0.032212693244218826, 0.003391764359548688, -0.0609792061150074, 0.04164433851838112, 0.012959442101418972, 0.010492703877389431, -0.012070691213011742, 0.025501715019345284, 0.05114853382110596, -0.012959442101418972, -0.03317399322986603, 0.012569479644298553, 0.026517430320382118, 0.013721228577196598, 0.05158383771777153, 0.05785951018333435, -0.020441275089979172, 0.021583955734968185, 0.07741203159093857, -0.00691049313172698, -0.0593830831348896, -0.019135355949401855, 0.010619668290019035, 0.03943152725696564, -0.015471524558961391, -0.009331886656582355, 0.0029201821889728308, 0.031360216438770294, -0.03772657737135887, 0.007295920979231596, -0.07211580127477646, 0.061740994453430176, 0.004527642857283354, -0.05347016826272011, -0.022091813385486603, -0.017693402245640755, -0.03034450113773346, -0.016378413885831833, -0.036021627485752106, -0.0013909408589825034, 0.005083112046122551, -0.03228524327278137, -0.006429842207580805, -0.024413447827100754, -0.046251330524683, -0.031106287613511086, 0.006810735445469618, 0.015770796686410904, -0.027805212885141373, -0.030290087684988976, -0.006162310019135475, 0.002498478861525655, -0.005028698593378067, -0.03350047394633293, 0.00994857121258974, 0.0032647999469190836, 0.05307113751769066, 0.01598845049738884, 0.001157983671873808, 0.009703710675239563, 0.0320131778717041, 0.002469005063176155, -0.04694056883454323, -0.0064978585578501225, 0.03618486598134041, -0.008143861778080463, 0.00396083714440465, 0.027859626337885857, 0.004620598629117012, -0.039141323417425156, -0.04204336926341057, -0.02952830120921135, 0.03373626619577408, 0.015081562101840973, 0.01225206907838583, -0.04694056883454323, -0.03181366249918938, 0.07022947072982788, 0.012524135410785675, 0.053179964423179626, -0.012406239286065102, 0.015870554372668266, -0.025011995807290077, 0.006774459965527058, 0.005704331211745739, 0.020042244344949722, -0.01803801953792572, 0.030870497226715088, -0.0060761552304029465, -0.056952621787786484, 0.010519910603761673, -0.025828195735812187, 0.0411364808678627, -0.016496308147907257, 0.02245456911623478, -0.06758135557174683, 0.06536854803562164, -0.036402519792318344, -0.0582585409283638, -0.08016897737979889, -0.04396597295999527, 0.018065227195620537, -0.03732754662632942, -0.03467943146824837, -0.08604561537504196, 0.014782288111746311, -0.0048926654271781445, -0.034207846969366074, -0.02475806698203087, -0.022781047970056534, 0.0027977521531283855, 0.01239717099815607, -0.07516294717788696, 0.00533704087138176, -0.0016652747290208936, 0.0027614766731858253, 0.04875434562563896, -0.029092995449900627, -0.03446177765727043, 0.0006076155696064234, 0.09286542236804962, 0.03917760029435158, 0.003872415516525507, -0.025157097727060318, 0.019407421350479126, 0.017929192632436752, 0.013394748792052269, 0.013131750747561455, -0.023180078715085983, -0.0025551593862473965, -0.008375118486583233, -0.05064067617058754, 0.025138959288597107, -0.02873023971915245, -0.01034760195761919, -0.005677124485373497, -0.01829194836318493, 0.04110020399093628, -0.05495746433734894, -0.024014417082071304, -0.028657687827944756, 0.04842786490917206, 0.021729057654738426, -0.03582211211323738, 0.010184361599385738, -0.023778626695275307, 0.0320131778717041, 0.021148648113012314, -0.017249025404453278, 0.029020443558692932, 0.03224896639585495, 0.002974595408886671, 0.011853037402033806, -0.00666563306003809, -0.022563394159078598, -0.010456428863108158, -0.030816083773970604, 0.014120259322226048, -0.02778707444667816, -0.041027653962373734, 0.0228898748755455, 0.0516926646232605, 0.01879073679447174, -0.056843794882297516, -0.039685457944869995, 0.0037907955702394247, 0.0014294835273176432, 0.008733339607715607, 0.002373781520873308, 0.021275613456964493, -0.0016743435990065336, 0.01198000181466341, -0.01395701989531517, 0.04639643430709839, -0.017122061923146248, 0.025556128472089767, 0.013929813168942928, -0.027388043701648712, -0.024957582354545593, 0.010937079787254333, -0.03444363921880722, 0.004584323149174452, 0.000025966779503505677, 0.0516926646232605, 0.06957651674747467, -0.009622090496122837, -0.008728804998099804, 0.035042185336351395, 0.061341963708400726, -0.0007640538970008492, 0.0296915415674448, 0.035731419920921326, -0.015281077474355698, 0.01960693672299385, 0.0007991958409547806, 0.060652729123830795, -0.004625133238732815, -0.022091813385486603, 0.019135355949401855, -0.004842786584049463, -0.056952621787786484, 0.003709175391122699, -0.05408685281872749, -0.017530161887407303, -0.02285359986126423, 0.009894157759845257, 0.011127526871860027, 0.013385679572820663, -0.010075535625219345, -0.10331278294324875, 0.04955240711569786, 0.03480639308691025, 0.024812478572130203, 0.0028068211395293474, -0.007685882970690727, -0.02370607480406761, 0.01891770213842392, -0.018237534910440445, 0.006597616709768772, 0.011127526871860027, 0.08452204614877701, 0.03527797758579254, -0.05448588356375694, -0.07157167047262192, -0.009848813526332378, 0.009984846226871014, 0.03827071189880371, 0.07280503958463669, 0.02938319928944111, -0.036130454391241074, -0.05103970691561699, 0.005767813418060541, 0.014310706406831741, 0.0034348415210843086, 0.029455751180648804, 0.004606995265930891, 0.007985156960785389, -0.0228898748755455, 0.03101559914648533, 0.005436798557639122, -0.03743637353181839, -0.0003927962388843298, -0.001003245823085308, -0.0011800891952589154, -0.05263582989573479, 0.02397814206779003, 0.07142657041549683, 0.015571282245218754, 0.014863908290863037, -0.030544016510248184, -0.047303322702646255, -0.012097897939383984, 0.009631159715354443, -0.0063164811581373215, 0.025556128472089767, -0.06377242505550385, 0.05064067617058754, -0.017249025404453278, 0.051656391471624374, 0.03126952797174454, 0.0036683655343949795, 0.021330026909708977, 0.016750236973166466, -0.0008536091772839427, -0.007436488755047321, 0.01232462003827095, -0.01190745085477829, 0.0917045995593071, -0.016396550461649895, 0.037654027342796326, 0.03319213166832924, -0.0015383101999759674, -0.04668663814663887, 0.04632388427853584, -0.02080403082072735, 0.009068888612091541, -0.02216436341404915, 0.0006450247019529343, -0.04505423828959465, -0.016849994659423828, -0.026644395664334297, 0.027333630248904228, 0.022291328758001328, 0.025483576580882072, -0.026716945692896843, 0.01122728455811739, 0.03126952797174454, -0.004595659207552671, 0.06758135557174683, 0.00024188426323235035, 0.010238775052130222, 0.023180078715085983, -0.0021243870723992586, -0.06246650591492653, 0.027805212885141373, 0.017330646514892578, -0.008860304020345211, 0.049624957144260406, 0.04480031132698059, -0.03567700833082199, 0.0574604794383049, 0.030670981854200363, 0.032176416367292404, 0.04392969608306885, 0.000847941089887172, 0.014292568899691105, 0.036946654319763184, 0.006692839786410332, -0.05114853382110596, -0.053542718291282654, -0.07334917038679123, 0.038306985050439835, -0.021039821207523346, 0.04120903089642525, 0.035586319863796234, -0.007867260836064816, 0.11325228214263916, 0.0029451216105371714, 0.018827013671398163, 0.0015757194487378001, 0.014138397760689259, 0.008511152118444443, 0.037363819777965546, -0.0344073623418808, -0.06058017536997795, 0.018010813742876053, -0.03252103552222252, -0.03524170070886612, -0.04708566889166832, -0.023343319073319435, 0.011082181707024574, -0.0473758727312088, -0.053433891385793686, -0.06039879843592644, -0.0371280312538147, -0.007218835409730673, 0.06028997153043747, -0.018273809924721718, 0.007844588719308376, 0.045670922845602036, -0.015281077474355698, -0.02071334235370159, -0.048246487975120544, -0.0060625518672168255, -0.012460652738809586, -0.04487286135554314, -0.0033985660411417484, 0.031106287613511086, -0.08176510035991669, 0.05060439929366112, -0.021801607683300972, -0.045126788318157196, -0.03458874300122261, -0.013920743949711323, -0.034788258373737335, -0.01183489989489317, -0.000018704582544160075, 0.03047146648168564, -0.023071253672242165, -0.0021153183188289404, -0.02873023971915245, -0.031215114519000053, 0.012923166155815125, -0.005822226405143738, 0.027388043701648712, 0.013195233419537544, 0.020441275089979172, 0.04614250734448433, 0.008325239643454552, 0.0067517878487706184, -0.006457048933953047, -0.013993294909596443, -0.002800019457936287, -0.024086968973279, -0.07552570849657059, -0.008493014611303806, 0.015353628434240818, 0.014528359286487103, -0.08524755388498306, 0.04066489636898041, -0.04371204227209091, 0.003405367722734809, 0.03551376983523369, -0.037091754376888275, -0.01893583871424198, -0.05760557949542999, -0.06652937084436417, -0.01986086554825306, 0.038597188889980316, -0.03866974264383316, -0.02479434199631214, 0.012034415267407894, -0.0006427575135603547, 0.07095498591661453, 0.00022516350145451725, 0.023760488256812096, 0.03946780413389206, -0.05920170620083809, -0.016849994659423828, 0.06217630207538605, 0.03525983914732933, 0.03827071189880371, -0.03863346576690674, 0.03827071189880371, 0.056408487260341644, -0.013567057438194752, -0.013703091070055962, -0.025791918858885765, 0.016713961958885193, 0.0446552075445652, 0.00843406654894352, -0.04331301152706146, -0.06141451373696327, -0.05158383771777153, -0.040773723274469376, -0.07095498591661453, 0.04262377694249153, -0.0067517878487706184, 0.0427326038479805, -0.06576757878065109, 0.017339715734124184, -0.044836584478616714, -0.04614250734448433, 0.00005161473018233664, 0.009966708719730377, -0.06551365554332733, -0.02994547039270401, -0.010710357688367367, 0.017566436901688576, -0.015199457295238972, 0.03848836198449135, -0.0042419726960361, -0.01205255277454853, 0.022762911394238472, -0.04139040783047676, -0.027388043701648712, 0.025138959288597107, -0.018192190676927567, -0.026644395664334297, -0.04019331559538841, -0.07487274706363678, -0.0320131778717041, 0.051402460783720016, 0.027877764776349068, 0.03607603907585144, 0.022799186408519745, -0.030398914590477943, 0.04719449579715729, 0.007164421956986189, 0.018473327159881592, -0.013195233419537544, -0.0718618705868721, -0.010928010568022728, 0.08038663119077682, -0.02013293281197548, -0.013095475733280182, 0.03743637353181839, 0.022926149889826775, -0.0058947778306901455, -0.004518573638051748, 0.02952830120921135, 0.049770060926675797, 0.012442515231668949, 0.010547117330133915, -0.0726599395275116, -0.00011910001194337383, 0.002548357704654336, 0.006778994109481573, -0.019516248255968094, 0.04327673837542534, -0.003015405498445034, 0.02980036847293377, -0.022490844130516052, -0.012143242172896862, -0.018382636830210686, 0.05756930634379387, 0.023452145978808403, -0.08938296884298325, -0.0043893419206142426, 0.015299214981496334, -0.03061656840145588, -0.028893480077385902, -0.005074043292552233, -0.016042863950133324, 0.03284751623868942, 0.045816026628017426, -0.015199457295238972, 0.06268415600061417, -0.03319213166832924, 0.05840364471077919, 0.04741214960813522, -0.006797132082283497, 0.015145043842494488, 0.02421393245458603, -0.04937103018164635, 0.03292006626725197, -0.027007151395082474, 0.008148396387696266, 0.05379664897918701, 0.0632282942533493, -0.006565875373780727, -0.031233252957463264, 0.02272663451731205, -0.009939501993358135, -0.0005665221251547337, -0.027805212885141373, 0.008193740621209145, 0.0012730451999232173, -0.045380719006061554, 0.0632282942533493, -0.00030522479210048914, -0.02381490170955658, -0.008397790603339672 ]
44,077
dataclass_array.array_dataclass
DataclassArray
Dataclass which behaves like an array. Usage: ```python class Square(DataclassArray): pos: f32['*shape 2'] scale: f32['*shape'] name: str # Create 3 squares batched p = Square( pos=[[x0, y0], [x1, y1], [x2, y2]], scale=[scale0, scale1, scale2], name='my_square', ) p.shape == (3,) p.pos.shape == (3, 2) p[0] == Square(pos=[x0, y0], scale=scale0) p = p.reshape((3, 1)) # Reshape the inner-shape p.shape == (3, 1) p.pos.shape == (3, 1, 2) p.name == 'my_square' ``` `DataclassArray` has 2 types of fields: * Array fields: Fields batched like numpy arrays, with reshape, slicing,... (`pos` and `scale` in the above example). * Static fields: Other non-numpy field. Are not modified by reshaping,... ( `name` in the above example). Static fields are also ignored in `jax.tree_map`. `DataclassArray` detect array fields if either: * The typing annotation is a `etils.array_types` annotation (in which case shape/dtype are automatically infered from the typing annotation) Example: `x: f32[..., 3]` * The typing annotation is another `dca.DataclassArray` (in which case `my_dataclass.field.shape == my_dataclass.shape`) Example: `x: MyDataclass` * The field is explicitly defined in `dca.array_field`, in which case the typing annotation is ignored. Example: `x: Any = dca.field(shape=(), dtype=np.int64)` Field which do not satisfy any of the above conditions are static (including field annotated with `field: np.ndarray` or similar).
class DataclassArray(metaclass=MetaDataclassArray): """Dataclass which behaves like an array. Usage: ```python class Square(DataclassArray): pos: f32['*shape 2'] scale: f32['*shape'] name: str # Create 3 squares batched p = Square( pos=[[x0, y0], [x1, y1], [x2, y2]], scale=[scale0, scale1, scale2], name='my_square', ) p.shape == (3,) p.pos.shape == (3, 2) p[0] == Square(pos=[x0, y0], scale=scale0) p = p.reshape((3, 1)) # Reshape the inner-shape p.shape == (3, 1) p.pos.shape == (3, 1, 2) p.name == 'my_square' ``` `DataclassArray` has 2 types of fields: * Array fields: Fields batched like numpy arrays, with reshape, slicing,... (`pos` and `scale` in the above example). * Static fields: Other non-numpy field. Are not modified by reshaping,... ( `name` in the above example). Static fields are also ignored in `jax.tree_map`. `DataclassArray` detect array fields if either: * The typing annotation is a `etils.array_types` annotation (in which case shape/dtype are automatically infered from the typing annotation) Example: `x: f32[..., 3]` * The typing annotation is another `dca.DataclassArray` (in which case `my_dataclass.field.shape == my_dataclass.shape`) Example: `x: MyDataclass` * The field is explicitly defined in `dca.array_field`, in which case the typing annotation is ignored. Example: `x: Any = dca.field(shape=(), dtype=np.int64)` Field which do not satisfy any of the above conditions are static (including field annotated with `field: np.ndarray` or similar). """ # Child class inherit the default params by default, but can also # overwrite them. __dca_params__: ClassVar[DataclassParams] = DataclassParams() # TODO(epot): Could be removed with py3.10 and using `kw_only=True` # Fields defined here will be forwarded with `.replace` # TODO(py39): Replace Set -> set __dca_non_init_fields__: ClassVar[Set[str]] = set() _shape: Shape _xnp: enp.NpModule def __init_subclass__( cls, frozen=True, **kwargs, ): super().__init_subclass__(**kwargs) if not frozen: raise ValueError(f'{cls} cannot be `frozen=False`.') # Apply dataclass (in-place) if not typing.TYPE_CHECKING: # TODO(b/227290126): Create pytype issues dataclasses.dataclass(frozen=True)(cls) # TODO(epot): Could have smart __repr__ which display types if array have # too many values (maybe directly in `edc.field(repr=...)`). edc.dataclass(kw_only=True, repr=True, auto_cast=False)(cls) cls._dca_jax_tree_registered = False cls._dca_torch_tree_registered = False # Typing annotations have to be lazily evaluated (to support # `from __future__ import annotations` and forward reference) # To avoid costly `typing.get_type_hints` which perform `eval` and `str` # convertions, we cache the type annotations here. cls._dca_fields_metadata: Optional[dict[str, _ArrayFieldMetadata]] = None # Normalize the `cls.__dca_non_init_fields__` # TODO(epot): Support inheritance if the parents also define # `__dca_non_init_fields__` (fields should be merged from `.mro()`) cls.__dca_non_init_fields__ = set(cls.__dca_non_init_fields__) if typing.TYPE_CHECKING: # TODO(b/242839979): pytype do not support PEP 681 -- Data Class Transforms def __init__(self, **kwargs): pass def __post_init__(self) -> None: """Validate and normalize inputs.""" cls = type(self) # First time, we perform additional check & updates if cls._dca_fields_metadata is None: # pylint: disable=protected-access _init_cls(self) # Register the tree_map here instead of `__init_subclass__` as `jax` may # not have been imported yet during import. if enp.lazy.has_jax and not cls._dca_jax_tree_registered: # pylint: disable=protected-access enp.lazy.jax.tree_util.register_pytree_node_class(cls) cls._dca_jax_tree_registered = True # pylint: disable=protected-access if enp.lazy.has_torch and not cls._dca_torch_tree_registered: # pylint: disable=protected-access # Note: Torch is updating it's tree API to make it public and use `optree` # as backend: https://github.com/pytorch/pytorch/issues/65761 enp.lazy.torch.utils._pytree._register_pytree_node( # pylint: disable=protected-access cls, flatten_fn=lambda a: a.tree_flatten(), unflatten_fn=lambda vals, ctx: cls.tree_unflatten(ctx, vals), ) cls._dca_torch_tree_registered = True # pylint: disable=protected-access # Validate and normalize array fields # * Maybe cast (list, np) -> xnp # * Maybe cast dtype # * Maybe broadcast shapes # Because this is only done inside `__init__`, it is ok to mutate self. # Cast and validate the array xnp are consistent xnp = self._cast_xnp_dtype_inplace() # Validate the batch shape is consistent # However, we need to be careful that `_ArrayField` never uses # `@epy.cached_property` shape = self._broadcast_shape_inplace() # TODO(epot): When to validate (`field.validate()`) if xnp is None: # No values # Inside `jax.tree_utils`, tree-def can be created with `None` values. # Inside `jax.vmap`, tree can be created with `object()` sentinel values. assert shape is None xnp = None # Cache results # Should the state be stored in a separate object to avoid collisions ? assert shape is None or isinstance(shape, tuple), shape self._setattr('_shape', shape) self._setattr('_xnp', xnp) # ====== Array functions ====== @property def shape(self) -> Shape: """Returns the batch shape common to all fields.""" return self._shape @property def size(self) -> int: """Returns the number of elements.""" return np_utils.size_of(self._shape) @property def ndim(self) -> int: """Returns the number of dimensions.""" return len(self._shape) def reshape(self: _DcT, shape: Union[Shape, str], **axes_length: int) -> _DcT: """Reshape the batch shape according to the pattern. Supports both tuple and einops mode: ```python rays.reshape('b h w -> b (h w)') rays.reshape((128, -1)) ``` Args: shape: Target shape. Can be string for `einops` support. **axes_length: Any additional specifications for dimensions for einops support. Returns: The dataclass array with the new shape """ if isinstance(shape, str): # Einops support return self._map_field( # pylint: disable=protected-access array_fn=lambda f: einops.rearrange( # pylint: disable=g-long-lambda f.value, np_utils.to_absolute_einops(shape, nlastdim=len(f.inner_shape)), **axes_length, ), dc_fn=lambda f: f.value.reshape( # pylint: disable=g-long-lambda np_utils.to_absolute_einops(shape, nlastdim=len(f.inner_shape)), **axes_length, ), ) else: # Numpy support assert isinstance(shape, tuple) # For pytest def _reshape(f: _ArrayField): return f.value.reshape(shape + f.inner_shape) return self._map_field(array_fn=_reshape, dc_fn=_reshape) # pylint: disable=protected-access def flatten(self: _DcT) -> _DcT: """Flatten the batch shape.""" return self.reshape((-1,)) def broadcast_to(self: _DcT, shape: Shape) -> _DcT: """Broadcast the batch shape.""" return self._map_field( # pylint: disable=protected-access array_fn=lambda f: f.broadcast_to(shape), dc_fn=lambda f: f.broadcast_to(shape), ) def __getitem__(self: _DcT, indices: _IndicesArg) -> _DcT: """Slice indexing.""" indices = np.index_exp[indices] # Normalize indices # Replace `...` by explicit shape indices = _to_absolute_indices(indices, shape=self.shape) return self._map_field( array_fn=lambda f: f.value[indices], dc_fn=lambda f: f.value[indices], ) # _DcT[n *d] -> Iterator[_DcT[*d]] def __iter__(self: _DcT) -> Iterator[_DcT]: """Iterate over the outermost dimension.""" if no
()
[ 0.008501579985022545, -0.021889377385377884, 0.006441919133067131, 0.034904684871435165, -0.0328231118619442, -0.004163145087659359, -0.06652267277240753, -0.02482549101114273, 0.03630700707435608, -0.0071704695001244545, 0.0023979167453944683, -0.023423168808221817, 0.04215732216835022, 0.027739692479372025, 0.01149247121065855, 0.01716749556362629, 0.01936957985162735, 0.05022067576646805, 0.00569693511351943, 0.027345288544893265, -0.033655740320682526, -0.034247346222400665, -0.029383039101958275, 0.013574043288826942, 0.0042535290122032166, 0.04130278155207634, 0.03442263603210449, -0.0021966067142784595, -0.013541176915168762, -0.05924812704324722, -0.055917609483003616, -0.010840610601007938, -0.007948320358991623, 0.02646883763372898, 0.02922965958714485, -0.05609289929270744, 0.015206434763967991, 0.02252480573952198, -0.03968134522438049, 0.049212753772735596, 0.016093842685222626, -0.06888909637928009, -0.03941841050982475, -0.02752057835459709, 0.046714868396520615, 0.05017685145139694, 0.011645849794149399, 0.0007463532965630293, -0.1268225461244583, 0.006595298182219267, 0.01431902777403593, -0.0788368210196495, 0.03895827382802963, 0.04266127943992615, -0.008359156548976898, 0.0630168691277504, 0.02752057835459709, 0.06113249808549881, -0.008485146798193455, -0.03862960264086723, 0.014516228809952736, 0.018263058736920357, 0.027213821187615395, -0.030237579718232155, -0.040207214653491974, -0.023401256650686264, -0.014154693111777306, -0.009777912870049477, -0.013190596364438534, -0.01303721684962511, -0.059072837233543396, 0.030347134917974472, 0.04781043156981468, 0.006808933336287737, 0.04331861808896065, 0.008934328332543373, -0.006874667014926672, -0.001563918311148882, 0.013957491144537926, -0.02568003162741661, -0.0010195596842095256, 0.015392680652439594, -0.04095219820737839, 0.015589882619678974, 0.0052778818644583225, 0.00216237036511302, 0.02809027209877968, 0.06757441908121109, -0.054865866899490356, -0.031683724373579025, 0.002596487756818533, 0.010780354030430317, 0.007416971493512392, 0.07331517338752747, -0.04292421415448189, 0.012116942554712296, 0.013847935013473034, -0.027739692479372025, -0.0324944406747818, 0.04347199946641922, 0.011070678941905499, 0.00010253798973280936, 0.023488901555538177, 0.010731053538620472, -0.04410742595791817, 0.005099852569401264, -0.0324944406747818, -0.0035961903631687164, -0.011755406856536865, -0.005669546313583851, -0.026556482538580894, 0.021560708060860634, -0.0024198279716074467, 0.05429617315530777, 0.0027539751026779413, -0.04090837761759758, -0.006951356306672096, 0.021199172362685204, -0.053551189601421356, 0.02213040180504322, 0.05482204630970955, 0.02907628007233143, -0.031420789659023285, 0.021253950893878937, -0.027345288544893265, 0.01497636642307043, 0.06485741585493088, 0.05455911159515381, 0.01126240286976099, -0.036219362169504166, -0.0324944406747818, -0.006436441093683243, -0.05136006325483322, 0.028287474066019058, 0.03959370031952858, 0.032406795769929886, 0.062403351068496704, -0.035364821553230286, -0.10605064034461975, -0.02535136230289936, 0.027871159836649895, 0.017222274094820023, 0.07296459376811981, -0.00797570962458849, -0.007685384713113308, -0.011371959000825882, 0.03810373321175575, 0.0032784766517579556, -0.03705199062824249, -0.007942842319607735, -0.04833630472421646, -0.022941119968891144, 0.05955488234758377, 0.020333675667643547, 0.011864962987601757, -0.01454909611493349, -0.06323598325252533, -0.0722196102142334, 0.02443108707666397, 0.028681878000497818, -0.07988855987787247, -0.04049206152558327, -0.04220114275813103, -0.009816257283091545, -0.05403323844075203, -0.001950104720890522, -0.015677526593208313, -0.10780354589223862, -0.06218424066901207, 0.06880144774913788, 0.04270510375499725, -0.05455911159515381, 0.0053901770152151585, 0.007455316372215748, -0.03225341811776161, 0.06389331817626953, 0.016652580350637436, 0.009679311886429787, 0.026644127443432808, 0.023466991260647774, 0.0030538858845829964, 0.02857232093811035, -0.01081869937479496, 0.005151892080903053, -0.015546060167253017, 0.05179828777909279, -0.021133437752723694, -0.0010914560407400131, 0.08571696281433105, 0.059773996472358704, -0.016827870160341263, -0.006913011893630028, -0.0045958929695189, -0.010500985197722912, 0.019972139969468117, 0.013442575931549072, -0.03681096434593201, 0.01897517591714859, 0.018263058736920357, 0.029996555298566818, -0.06078191474080086, 0.008172910660505295, 0.07633893191814423, -0.031355053186416626, -0.06126396358013153, -0.010780354030430317, 0.03468557074666023, 0.014505273662507534, -0.02535136230289936, -0.05666259303689003, 0.0026225075125694275, 0.007482705172151327, 0.02012551948428154, 0.0073402817361056805, 0.05206122249364853, -0.08422699570655823, 0.050921835005283356, -0.020804768428206444, 0.01992831751704216, -0.004154928028583527, 0.0643315464258194, 0.01075296476483345, -0.04785425588488579, 0.015765173360705376, -0.01572135090827942, -0.04437036067247391, -0.023423168808221817, 0.002088419860228896, 0.036613766103982925, -0.0643753707408905, -0.020936237648129463, -0.03098256327211857, -0.012105987407267094, -0.029383039101958275, 0.05425235256552696, -0.0031634424813091755, 0.015206434763967991, -0.020246030762791634, 0.00897815078496933, 0.036285094916820526, -0.013201551511883736, -0.043362442404031754, -0.01884370855987072, -0.059993110597133636, -0.026359280571341515, 0.018865620717406273, 0.05346354469656944, 0.07037906348705292, -0.0012003277661278844, -0.013168685138225555, -0.06726765632629395, -0.05587378889322281, -0.02646883763372898, 0.023554636165499687, -0.004275440238416195, -0.043165240436792374, 0.017156539484858513, 0.0048916954547166824, 0.02236047014594078, -0.025460917502641678, -0.01126240286976099, -0.03917738422751427, 0.019906405359506607, 0.07011612504720688, -0.013256330043077469, 0.020859546959400177, 0.0643753707408905, -0.011908785440027714, -0.017277050763368607, 0.023466991260647774, 0.11341283470392227, 0.09640967100858688, -0.02160453051328659, 0.012620902620255947, -0.040667351335287094, 0.006343318149447441, 0.0024746062699705362, -0.022743918001651764, 0.05688170716166496, -0.006463830359280109, 0.0052778818644583225, -0.04689015820622444, -0.024124329909682274, -0.030106110498309135, 0.028528498485684395, -0.04969480261206627, -0.011328136548399925, -0.008671392686665058, -0.013672644272446632, -0.0059324814938008785, 0.01907377690076828, -0.039703257381916046, 0.02337934635579586, -0.0070554353296756744, 0.008276989683508873, -0.056706417351961136, -0.07826712727546692, 0.02841894142329693, -0.03746830299496651, -0.06612826883792877, 0.015195478685200214, 0.038257110863924026, 0.09895138442516327, 0.014461451210081577, -0.028988635167479515, -0.03124549798667431, -0.008298900909721851, 0.02173599973320961, 0.01831783726811409, 0.020859546959400177, 0.019128555431962013, 0.023028764873743057, -0.05416470766067505, 0.001515987329185009, 0.0009401312563568354, -0.0010558502981439233, 0.04051397368311882, -0.004179578274488449, 0.06915202736854553, 0.06327980011701584, -0.02351081371307373, -0.030960651114583015, -0.014384761452674866, -0.02765204757452011, -0.026162078604102135, 0.010577674955129623, 0.06788117438554764, -0.04347199946641922, -0.023949038237333298, -0.010249005630612373, 0.013322063721716404, -0.006332362536340952, 0.02153879776597023, 0.02699470892548561, 0.02874761074781418, -0.024409176781773567, 0.01470247469842434, -0.045663125813007355, 0.012653769925236702, -0.044874321669340134, -0.014910632744431496, 0.05285003036260605, -0.04680251330137253, 0.018536951392889023, 0.01404513604938984, -0.03494850546121597, -0.014078003354370594, 0.0014543618308380246, 0.03464174643158913, 0.058722253888845444, 0.05596143379807472, -0.06288540363311768, -0.022185180336236954, 0.04204776510596275, 0.03177136927843094, -0.04951951280236244, -0.021582620218396187, -0.04820483550429344, 0.002518428722396493, 0.0033250381238758564, 0.028550410643219948, 0.013091995380818844, -0.017046982422471046, 0.023883305490016937, 0.02443108707666397, -0.015589882619678974, -0.04864306375384331, -0.05412088334560394, 0.03124549798667431, -0.007636084221303463, 0.007521050050854683, -0.0695902556180954, -0.02111152745783329, 0.018635552376508713, -0.0022459072060883045, 0.011569160968065262, -0.04051397368311882, 0.024277707561850548, -0.011766362003982067, 0.0190409105271101, 0.0014543618308380246, -0.02456255443394184, 0.01159107219427824, -0.00006333732017083094, 0.018274014815688133, 0.026425015181303024, 0.021462107077240944, 0.02844085358083248, -0.023949038237333298, 0.0020213164389133453, 0.012116942554712296, 0.0020322720520198345, -0.016849782317876816, -0.05219269171357155, -0.08751369267702103, 0.03308604657649994, -0.02830938622355461, 0.06652267277240753, 0.004960168153047562, -0.041719093918800354, -0.03952796757221222, -0.049607157707214355, 0.04200394079089165, 0.03928694128990173, 0.027476755902171135, -0.029142014682292938, 0.07769743353128433, -0.030741538852453232, -0.023072587326169014, 0.0951826423406601, 0.06731148064136505, 0.053945593535900116, 0.012763326056301594, 0.027564402669668198, 0.019117599353194237, 0.0007600478711538017, -0.007904497906565666, 0.022382382303476334, 0.05280620604753494, 0.023269789293408394, 0.02259053848683834, 0.06621591746807098, 0.015830906108021736, -0.012116942554712296, 0.004478119779378176, 0.005395655054599047, -0.04759132117033005, 0.010024414397776127, -0.025176070630550385, 0.026490747928619385, 0.005535339470952749, -0.007822330109775066, -0.06262246519327164, -0.041017934679985046, -0.03801608830690384, -0.019687293097376823, -0.007636084221303463, 0.00480952812358737, -0.0006730874301865697, 0.020826680585741997, -0.005559989716857672, 0.011656805872917175, 0.06735530495643616, -0.05298149585723877, 0.014998277649283409, -0.022316647693514824, -0.007630606647580862, 0.026315458118915558, -0.03196857124567032, -0.05100947991013527, 0.06573386490345001, 0.015841862186789513, 0.050527434796094894, 0.02811218425631523, -0.006485741585493088, -0.052236512303352356, 0.014998277649283409, -0.06130778789520264, -0.007614172995090485, -0.011832096613943577, -0.03402823209762573, -0.005507950205355883, -0.02121012844145298, -0.04180673882365227, -0.009860079735517502, -0.005579161923378706, 0.02088145911693573, -0.03242870792746544, -0.020246030762791634, -0.032275330275297165, 0.05955488234758377, -0.001978863263502717, 0.027893071994185448, -0.017222274094820023, -0.014691519550979137, 0.010210661217570305, -0.002508842619135976, -0.009821735322475433, -0.06577768921852112, -0.024715933948755264, 0.04951951280236244, -0.028681878000497818, 0.013957491144537926, -0.0334804505109787, -0.009284908883273602, 0.015798039734363556, 0.047766610980033875, 0.026118256151676178, 0.0045794593170285225, 0.02383948303759098, -0.05701317638158798, 0.05070272460579872, 0.0436691977083683, 0.033129870891571045, 0.020607568323612213, -0.004061805084347725, 0.036548029631376266, 0.03922120854258537, 0.05412088334560394, -0.02949259616434574, 0.0027758865617215633, 0.0012030666694045067, -0.046583399176597595, -0.04331861808896065, 0.014516228809952736, -0.024584466591477394, 0.014505273662507534, 0.037731241434812546, 0.001995296683162451, 0.011602027341723442, -0.08742604404687881, -0.02423388510942459, -0.0038070864975452423, -0.016433466225862503, 0.016860736533999443, 0.013179640285670757, -0.009241086430847645, 0.034378811717033386, -0.031683724373579025, -0.013475443236529827, 0.018197325989603996, 0.04075499624013901, -0.015020188875496387, 0.016422512009739876, -0.022700095549225807, 0.07243872433900833, 0.0039823767729103565, -0.005031379871070385, 0.041653361171483994, 0.03887062892317772, -0.020728079602122307, -0.0762074664235115, 0.053682658821344376, 0.0801076740026474, 0.003629057202488184, -0.001042840420268476, 0.02574576437473297, 0.02600870095193386, 0.013552132062613964, 0.0364384725689888, 0.011656805872917175, 0.0367671437561512, 0.0048999120481312275, -0.023335523903369904, -0.026556482538580894, 0.021056748926639557, 0.025636209174990654, 0.005828402936458588, 0.0039248596876859665, 0.005735279992222786, -0.020432276651263237, -0.0019377795979380608, 0.056574948132038116, 0.025044603273272514, 0.023751838132739067, -0.038191378116607666, -0.010955644771456718, -0.01844930462539196, 0.006173505913466215, 0.007301937323063612, -0.02653457038104534, 0.02170313149690628, 0.02403668500483036, -0.04873070865869522, 0.013519265688955784, 0.03777506202459335, -0.0001657041284488514, 0.05201740190386772, -0.05153535306453705, -0.022612450644373894, 0.003574279136955738, -0.017671454697847366, -0.05017685145139694, 0.04033868387341499, 0.01267568115144968, 0.044874321669340134, -0.03383103013038635, -0.0026005960535258055, -0.02778351493179798, -0.07734685391187668, 0.0459698848426342, 0.01195260789245367, -0.03028140217065811, -0.03926502913236618, 0.026841329410672188, -0.008129088208079338, -0.01785770058631897, 0.02653457038104534, -0.012226499617099762, -0.059335771948099136, -0.0006429593777284026, 0.04811719059944153, -0.014560051262378693, 0.007953798398375511, -0.006162550300359726, 0.04614517465233803, -0.049738626927137375, -0.007203336339443922, 0.04535637050867081, -0.025767676532268524, -0.008260556496679783, 0.04084264487028122, -0.0039823767729103565, 0.004149450454860926, 0.01162393856793642, -0.07931886613368988, -0.017770055681467056, -0.001995296683162451, 0.041456159204244614, -0.014855854213237762, -0.002103483770042658, 0.0028758568223565817, -0.000502247828990221, -0.03334898129105568, -0.0397251658141613, -0.07002848386764526, -0.06354273855686188, 0.040360596030950546, 0.02907628007233143, 0.005012207198888063, -0.0190409105271101, -0.004398691467940807, 0.020169341936707497, -0.014198515564203262, -0.04478667676448822, -0.002230843063443899, 0.018854664638638496, -0.06652267277240753, 0.015776127576828003, -0.03979090228676796, 0.040601618587970734, 0.013387797400355339, 0.05267474055290222, -0.046320464462041855, 0.0098491245880723, -0.06875762343406677, -0.022207092493772507, 0.03343662619590759, 0.01982971653342247, -0.0024677589535713196, -0.02239333838224411, -0.016291042789816856, 0.010166837833821774, 0.029317304491996765, -0.03387485444545746, -0.08492815494537354, 0.02377374842762947, -0.043362442404031754, 0.005992737598717213, 0.055654674768447876, -0.0215059295296669, 0.03724919259548187, -0.04951951280236244, 0.0017268834635615349, 0.019281934946775436, 0.06713619083166122, -0.014571007341146469, 0.020246030762791634, -0.013146773912012577, 0.010566718876361847, 0.00668294308707118, -0.003563323523849249, -0.012412745505571365, -0.054602932184934616, 0.024715933948755264, 0.001245519844815135, 0.01884370855987072, 0.0034921118058264256, 0.0663035586476326, 0.04358155280351639, -0.08966099470853806, 0.04544401541352272, -0.014001313596963882, -0.027367200702428818, 0.022765830159187317, -0.03862960264086723, 0.031880926340818405, -0.027630135416984558, 0.0005453857011161745, -0.02311640977859497, -0.0007792202522978187, 0.06976554542779922, -0.014275205321609974, 0.03965943306684494, 0.0011743081267923117, -0.047240737825632095, 0.027564402669668198, -0.005970826372504234, 0.03429116681218147, -0.06770588457584381, 0.04391022399067879, 0.03617553785443306, 0.07068581879138947, -0.03448836877942085, -0.020147429779171944, -0.03985663503408432, 0.008890505880117416, -0.0021089615765959024, -0.023488901555538177, -0.010944688692688942, -0.001246889354661107, -0.029185837134718895, -0.07923122495412827, -0.007395060267299414, 0.033129870891571045, 0.08593607693910599, -0.053025320172309875, 0.015940463170409203, 0.04176291823387146, 0.010188749060034752, 0.02745484560728073, 0.04391022399067879, 0.017057938501238823, -0.059072837233543396, -0.02614016830921173, -0.012883838266134262, 0.02916392683982849, 0.05534791573882103, -0.03630700707435608, 0.05333207920193672, -0.0060310824774205685, 0.07340282201766968, 0.05749522149562836, 0.05425235256552696, -0.05346354469656944, 0.010725576430559158, 0.052367981523275375, -0.05784580484032631, 0.017123673111200333, -0.043428175151348114, 0.04767896607518196, -0.0010784462792798877, -0.02993082068860531, -0.009043884463608265, -0.030412869527935982, -0.03604407235980034, 0.0041384948417544365, -0.049607157707214355, -0.04472094029188156, 0.05017685145139694, -0.03836666792631149, -0.036482296884059906, -0.045531660318374634, 0.008950761519372463, -0.027498668059706688, 0.01039142906665802, 0.03229723870754242, 0.0008531708153896034, -0.0005340876523405313, -0.048949819058179855, 0.03672331944108009, 0.02088145911693573, -0.05416470766067505, 0.001244150334969163, 0.03632891923189163, -0.013771245256066322, 0.0413685142993927, -0.07191285490989685, -0.03639465197920799, -0.11139699816703796, -0.013124862685799599, -0.02291920781135559, -0.008085265755653381, 0.012620902620255947, 0.03880489245057106, -0.0016460856422781944, 0.01825210452079773, 0.015973329544067383 ]
44,078
dataclass_array.array_dataclass
__bool__
`dca.DataclassArray` always evaluate to `True`. Like all python objects (including dataclasses), `dca.DataclassArray` always evaluate to `True`. So: `Ray(pos=None)`, `Ray(pos=0)` all evaluate to `True`. This allow construct like: ```python def fn(ray: Optional[dca.Ray] = None): if ray: ... ``` Or: ```python def fn(ray: Optional[dca.Ray] = None): ray = ray or default_ray ``` Only in the very rare case of empty-tensor (`shape=(0, ...)`) ```python assert ray is not None assert len(ray) == 0 bool(ray) # TypeError: Truth value is ambigous ``` Returns: True Raises: ValueError: If `len(self) == 0` to avoid ambiguity.
def __bool__(self) -> Literal[True]: """`dca.DataclassArray` always evaluate to `True`. Like all python objects (including dataclasses), `dca.DataclassArray` always evaluate to `True`. So: `Ray(pos=None)`, `Ray(pos=0)` all evaluate to `True`. This allow construct like: ```python def fn(ray: Optional[dca.Ray] = None): if ray: ... ``` Or: ```python def fn(ray: Optional[dca.Ray] = None): ray = ray or default_ray ``` Only in the very rare case of empty-tensor (`shape=(0, ...)`) ```python assert ray is not None assert len(ray) == 0 bool(ray) # TypeError: Truth value is ambigous ``` Returns: True Raises: ValueError: If `len(self) == 0` to avoid ambiguity. """ if self.shape and not len(self): # pylint: disable=g-explicit-length-test raise ValueError( f'The truth value of {self.__class__.__name__} when `len(x) == 0` ' 'is ambigous. Use `len(x)` or `x is not None`.' ) return True
(self) -> Literal[True]
[ 0.012812191620469093, -0.04893959313631058, 0.04108095169067383, 0.00423193397000432, 0.0006343245622701943, 0.006177972070872784, -0.054973240941762924, -0.0032146871089935303, -0.0009020211291499436, -0.017113959416747093, 0.011843828484416008, 0.027672845870256424, 0.040745750069618225, 0.014050579629838467, -0.013557086698710918, -0.03873453289270401, -0.025494027882814407, 0.07590478658676147, -0.01946037821471691, 0.03892075642943382, -0.03929320350289345, 0.02063358761370182, -0.011247912421822548, 0.002767750062048435, 0.021173637360334396, 0.03672331944108009, 0.004911650437861681, -0.009823300875723362, -0.03962840884923935, 0.03296159952878952, -0.04171411320567131, -0.023333832621574402, -0.009110995568335056, 0.014674428850412369, 0.06193801015615463, -0.014376471750438213, 0.010139881633222103, 0.06193801015615463, -0.03217945992946625, -0.03268226236104965, -0.004038726910948753, -0.05750588700175285, -0.02108052559196949, 0.025196069851517677, -0.05903292074799538, -0.055569157004356384, 0.02685346081852913, 0.00023365257948171347, -0.07057879120111465, -0.020987413823604584, 0.052775803953409195, -0.021601952612400055, 0.04983346909284592, 0.025736117735505104, -0.04033605754375458, 0.029460592195391655, 0.03324093297123909, 0.07549509406089783, -0.03150905296206474, 0.018426837399601936, 0.0017353723524138331, 0.029497837647795677, 0.05325998365879059, -0.04912581667304039, 0.03171389922499657, 0.0066574979573488235, -0.04052228108048439, 0.0015375096118077636, 0.03445138782262802, 0.05147223547101021, -0.05571813881397247, 0.03186287730932236, -0.023259343579411507, 0.04987071454524994, 0.023128986358642578, -0.06529003381729126, -0.056760989129543304, -0.00023990853514987975, -0.01959073543548584, -0.03769168257713318, -0.01485134195536375, -0.009543965570628643, -0.035121794790029526, -0.011527248658239841, -0.010819598101079464, 0.0015119038289412856, -0.03262639790773392, 0.04309216886758804, 0.0025652318727225065, 0.00741635961458087, 0.021918531507253647, 0.04458196088671684, 0.018938953056931496, -0.012989104725420475, 0.04096921905875206, 0.036574337631464005, 0.028138404712080956, -0.045177873224020004, 0.0023312882985919714, -0.016192153096199036, 0.021769553422927856, 0.014897897839546204, 0.07813947647809982, 0.007099779322743416, 0.020279763266444206, 0.05169570446014404, -0.033594761043787, -0.011815895326435566, 0.00627108383923769, -0.031229717656970024, -0.03149043023586273, -0.012914614751935005, -0.0044600581750273705, 0.034041695296764374, -0.03843657672405243, -0.08238537609577179, 0.007272036280483007, 0.013743310235440731, -0.07072777301073074, 0.021024657413363457, 0.07236653566360474, 0.049349285662174225, 0.022067511454224586, -0.032738130539655685, 0.04987071454524994, 0.021024657413363457, 0.026816215366125107, 0.037151630967855453, -0.00716495793312788, -0.021136391907930374, 0.022756539285182953, 0.05623956397175789, -0.019199665635824203, 0.022495824843645096, -0.004790605045855045, 0.01313808374106884, 0.0575803741812706, 0.008608191274106503, -0.08029966801404953, 0.028883298859000206, 0.0013629248132929206, -0.02584785223007202, 0.038958001881837845, 0.01682531274855137, -0.002956301672384143, 0.029628194868564606, -0.041043709963560104, -0.006168660707771778, 0.0037663746625185013, 0.025736117735505104, 0.018175436183810234, -0.031248340383172035, -0.017086027190089226, 0.03448863327503204, -0.03149043023586273, -0.010670619085431099, 0.0009328644373454154, -0.07072777301073074, 0.01724431663751602, -0.02003767155110836, -0.025903720408678055, 0.010745109058916569, -0.04774776101112366, 0.008049520663917065, -0.03249603882431984, -0.02582922950387001, -0.046108994632959366, -0.0027537832502275705, -0.0036406738217920065, 0.07642621546983719, 0.05802731215953827, -0.040000855922698975, -0.03117385134100914, 0.04301767796278, 0.014013335108757019, 0.04231002926826477, -0.01742122881114483, 0.044768184423446655, -0.02329658716917038, -0.005172363948076963, 0.04823194444179535, -0.02525193616747856, -0.05117427930235863, -0.030931759625673294, 0.06629564613103867, 0.05698445811867714, -0.02476775459945202, -0.038697291165590286, 0.04614624008536339, 0.08178945630788803, -0.07165888696908951, -0.013389485888183117, -0.008189188316464424, 0.026611369103193283, 0.010707863606512547, -0.05903292074799538, 0.012290765531361103, -0.02759835496544838, 0.048753369599580765, -0.03340853750705719, 0.009292563423514366, -0.009287907741963863, 0.01603386178612709, 0.000678552663885057, -0.05191917344927788, -0.008887527510523796, -0.03305470943450928, 0.05903292074799538, -0.010260927490890026, -0.022737916558980942, -0.0287901870906353, -0.04048503562808037, -0.001629457576200366, 0.04584828019142151, 0.04596001282334328, -0.06074617803096771, 0.02761697769165039, -0.034525878727436066, -0.04957275465130806, 0.04052228108048439, 0.09847510606050491, -0.017626075074076653, 0.02050323225557804, 0.03933044895529747, -0.004292456898838282, 0.03162078931927681, -0.038362085819244385, -0.0020973447244614363, -0.02880880981683731, -0.07057879120111465, 0.016145596280694008, -0.008566291071474552, -0.031378697603940964, -0.03947943076491356, 0.02003767155110836, 0.01646217703819275, 0.09020677208900452, 0.04975897818803787, -0.05445181578397751, 0.018827218562364578, 0.012151097878813744, -0.015112055465579033, -0.0055494667030870914, -0.0003779759572353214, 0.012393188662827015, 0.013706065714359283, 0.009022539481520653, 0.06853032857179642, -0.044023286551237106, 0.003985187504440546, -0.060932401567697525, -0.04767327383160591, -0.010707863606512547, -0.021173637360334396, 0.025270558893680573, 0.010866153985261917, -0.03884626924991608, -0.017691252753138542, 0.01841752603650093, 0.012141786515712738, 0.015642791986465454, -0.026481013745069504, 0.04316665977239609, 0.07002011686563492, -0.03577357530593872, 0.00526547571644187, 0.018138190731406212, 0.0051211523823440075, -0.004206328187137842, -0.026611369103193283, 0.03251466155052185, 0.007639828138053417, -0.0002093562070513144, -0.05504773184657097, -0.006615597754716873, 0.007365148048847914, 0.005749657284468412, -0.041788604110479355, 0.057952821254730225, -0.007374459411948919, 0.05877220630645752, -0.04022432491183281, -0.02880880981683731, -0.005935881286859512, -0.03962840884923935, -0.05668650195002556, -0.03903249278664589, 0.038660045713186264, -0.0046230037696659565, -0.04439573362469673, 0.035252150148153305, 0.04245900735259056, 0.0799272209405899, -0.010409906506538391, 0.06488034129142761, 0.006056926678866148, -0.003335732501000166, 0.003959581721574068, 0.008133321069180965, -0.0617145411670208, 0.060932401567697525, 0.004390224348753691, 0.06912624835968018, -0.02685346081852913, -0.009720878675580025, -0.025940963998436928, -0.02981441840529442, 0.04439573362469673, 0.024972600862383842, 0.027244530618190765, 0.027207285165786743, -0.006368851289153099, -0.029609572142362595, 0.008231088519096375, 0.013538464903831482, -0.005661201197654009, 0.04841816797852516, -0.06324157863855362, 0.013333618640899658, 0.07422877848148346, -0.033185068517923355, -0.019776958972215652, -0.015940750017762184, -0.024693265557289124, -0.027244530618190765, -0.080076202750206, 0.05266406759619713, -0.0471518449485302, -0.01164829358458519, 0.07389356940984726, 0.035997044295072556, -0.025140201672911644, 0.05903292074799538, -0.005218919832259417, -0.010810286737978458, -0.03707714378833771, 0.011881073005497456, 0.01359433215111494, 0.003601101227104664, -0.031117983162403107, -0.022197866812348366, 0.017849544063210487, -0.00406200485303998, 0.021155014634132385, 0.04309216886758804, 0.02331520989537239, -0.04257074370980263, -0.003170458832755685, 0.09966693818569183, 0.027095550671219826, -0.017532963305711746, -0.02998201921582222, 0.00615934981033206, 0.0418630912899971, 0.05214264243841171, -0.027523865923285484, 0.018194057047367096, 0.04398604482412338, 0.005381865426898003, 0.005661201197654009, 0.07955477386713028, -0.018128879368305206, -0.02981441840529442, 0.03448863327503204, -0.027076929807662964, -0.011378269642591476, -0.03089451603591442, 0.0028678453527390957, -0.04227278381586075, 0.014153002761304379, -0.03996361047029495, -0.04555032402276993, -0.06141658499836922, -0.05121152475476265, 0.002380172023549676, -0.0224213358014822, -0.04394879937171936, -0.016667023301124573, 0.004278489854186773, -0.028306005522608757, -0.002359221689403057, 0.025494027882814407, 0.026313411071896553, -0.013454663567245007, -0.008887527510523796, -0.0048231943510472775, -0.04961000010371208, 0.00693683372810483, -0.019348645582795143, 0.00021212045976426452, 0.020577721297740936, -0.02284965105354786, -0.049051329493522644, -0.05255233496427536, -0.09743224829435349, 0.014674428850412369, 0.02685346081852913, 0.026387901976704597, -0.02510295808315277, -0.028268760070204735, 0.03825035318732262, 0.019944559782743454, 0.050094179809093475, 0.020708078518509865, -0.01841752603650093, -0.005963814910501242, 0.04182584956288338, -0.028995033353567123, -0.04413502290844917, 0.0436880849301815, 0.048306431621313095, -0.0027025716844946146, -0.04201207309961319, 0.04007534310221672, -0.004171411506831646, 0.04216105118393898, 0.05374416708946228, 0.03892075642943382, 0.06711503118276596, 0.03264501690864563, 0.007937786169350147, 0.05147223547101021, 0.0557553805410862, 0.03186287730932236, 0.008775793015956879, 0.03340853750705719, 0.005451699253171682, -0.0017179137794300914, -0.013287062756717205, -0.016089729964733124, -0.037151630967855453, -0.05258958041667938, -0.0075327493250370026, -0.023557301610708237, -0.02270067110657692, 0.007248758338391781, -0.02806391566991806, -0.0265555027872324, -0.005591367371380329, 0.03238430619239807, 0.0064293742179870605, -0.01586626097559929, -0.016443554311990738, -0.005600678268820047, -0.03528939560055733, -0.05150948092341423, -0.03394858539104462, 0.011368958279490471, 0.037151630967855453, -0.023501433432102203, -0.01780298724770546, 0.052179887890815735, 0.02731901966035366, 0.04227278381586075, -0.02404148317873478, -0.012346632778644562, -0.031974613666534424, -0.048008475452661514, 0.009609144181013107, -0.06674258410930634, -0.027356265112757683, -0.006918211467564106, -0.0943036898970604, -0.06026199460029602, -0.00782605167478323, -0.008328855969011784, -0.02612718753516674, 0.013259128667414188, -0.032868485897779465, -0.02212337777018547, 0.014860653318464756, -0.03884626924991608, 0.00867802556604147, -0.008454556576907635, 0.05918189883232117, 0.033464401960372925, -0.04331563785672188, 0.008840971626341343, -0.05340896174311638, -0.017840232700109482, -0.0620497427880764, 0.015270344913005829, 0.01507481001317501, -0.025791985914111137, 0.009543965570628643, -0.019050687551498413, -0.029907530173659325, 0.04212380573153496, 0.042086560279130936, -0.004762671887874603, 0.012672523967921734, 0.026015453040599823, -0.014125069603323936, -0.0015689348801970482, 0.012709769420325756, 0.0013198605738580227, 0.05478701740503311, -0.010167814791202545, 0.03484245762228966, 0.04331563785672188, 0.0004521744849625975, 0.031117983162403107, -0.0373937226831913, 0.022048888728022575, 0.012048674747347832, -0.04640695080161095, -0.03663020581007004, -0.0385483093559742, -0.0668543130159378, 0.04301767796278, -0.019851448014378548, 0.011974185705184937, -0.01601524092257023, 0.007411703933030367, 0.059405367821455, 0.01023299340158701, 0.021713685244321823, -0.01942313462495804, -0.017933344468474388, -0.029348857700824738, 0.0077841514721512794, 0.07307419180870056, -0.03577357530593872, -0.020745322108268738, -0.05281304568052292, 0.03547561913728714, 0.027374887838959694, -0.031695276498794556, 0.04137891158461571, -0.017132582142949104, 0.030242731794714928, -0.053632430732250214, -0.014544072560966015, 0.087376169860363, -0.0587349608540535, 0.03162078931927681, 0.006415407173335552, 0.05519670993089676, -0.013110149651765823, 0.0032007202971726656, 0.06193801015615463, 0.0010760239092633128, 0.02610856667160988, -0.01773780956864357, 0.0011330549605190754, 0.0167973805218935, -0.02595958672463894, 0.018156813457608223, 0.07270174473524094, 0.028250139206647873, -0.04495440796017647, -0.0030051853973418474, 0.024823622778058052, 0.0033334046602249146, 0.050094179809093475, 0.0686793103814125, 0.05016867071390152, 0.022067511454224586, 0.021341238170862198, 0.04007534310221672, 0.0028212894685566425, -0.019646601751446724, 0.022235112264752388, -0.04823194444179535, -0.030317222699522972, -0.02078256756067276, 0.04111819714307785, -0.012905304320156574, 0.03381822630763054, 0.005488944239914417, 0.011629671789705753, -0.0007018306641839445, -0.06532727926969528, 0.023538678884506226, 0.05385589972138405, 0.031695276498794556, -0.04067125916481018, 0.03217945992946625, -0.06826961785554886, -0.08119354397058487, 0.022179245948791504, -0.024227706715464592, -0.03145318478345871, -0.07121194899082184, 0.007137024309486151, -0.0388835147023201, -0.033334046602249146, 0.00035644383751787245, -0.03381822630763054, -0.0575803741812706, -0.005037351511418819, 0.03817586228251457, -0.013585020788013935, -0.003647657111287117, 0.04078299552202225, 0.02005629427731037, 0.05333447456359863, 0.011201356537640095, 0.09259043633937836, -0.01276563573628664, -0.027728712186217308, -0.002319649327546358, -0.029125390574336052, -0.01590350642800331, -0.02491673454642296, -0.02998201921582222, -0.01841752603650093, 0.0448426716029644, -0.030838647857308388, -0.054824262857437134, 0.04495440796017647, 0.007621205877512693, 0.022216489538550377, 0.011862451210618019, 0.0032449483405798674, -0.02298000641167164, -0.02877156436443329, 0.0579155758023262, 0.00020208183559589088, 0.04055952653288841, 0.021434349939227104, -0.02257031574845314, -0.007481538224965334, -0.0111268674954772, -0.0033287489786744118, -0.04987071454524994, 0.057952821254730225, -0.04190033674240112, 0.010456462390720844, -0.0375613234937191, 0.07933130860328674, 0.003417205298319459, 0.010260927490890026, -0.07724560052156448, 0.006880966480821371, -0.04197482764720917, -0.03372511640191078, 0.03974014148116112, 0.05836251378059387, 0.030354466289281845, -0.06934971362352371, 0.022346846759319305, -0.01432991586625576, 0.023426944389939308, -0.018575815483927727, -0.0858863815665245, -0.006662153638899326, -0.012970481999218464, 0.06942420452833176, 0.0023138297256082296, -0.054563552141189575, 0.06298086047172546, 0.010205060243606567, 0.010875465348362923, 0.011592426337301731, 0.04331563785672188, -0.0000705613347236067, 0.0011400383664295077, -0.004255211912095547, -0.03104349412024021, -0.013398797251284122, -0.05057836323976517, -0.03163941204547882, -0.03577357530593872, 0.010493706911802292, -0.021322615444660187, -0.012784258462488651, -0.02404148317873478, 0.032291192561388016, 0.0061965943314135075, -0.07136093080043793, 0.07072777301073074, -0.03825035318732262, -0.04011258855462074, 0.04759878292679787, -0.059144653379917145, 0.012449055910110474, -0.047896742820739746, -0.012057986110448837, -0.025158824399113655, -0.02286827377974987, 0.014842030592262745, -0.026946572586894035, 0.028548097237944603, -0.04588552564382553, -0.05687272548675537, 0.015642791986465454, -0.024749131873250008, 0.03906973823904991, -0.056463032960891724, -0.029590949416160583, -0.04096921905875206, 0.07460122555494308, 0.038213107734918594, 0.04167686775326729, -0.010624063201248646, -0.053036514669656754, 0.04160238057374954, -0.03350164741277695, -0.00796571932733059, 0.01835234835743904, 0.005754312966018915, -0.06126760318875313, 0.031564921140670776, -0.025922341272234917, 0.05087631940841675, 0.014758230186998844, -0.010186437517404556, 0.04916306212544441, -0.005223575513809919, -0.007202202454209328, 0.10547711700201035, 0.01831510290503502, -0.0822363942861557, -0.03551286458969116, -0.07218031585216522, 0.01686255820095539, 0.05359518900513649, 0.013882978819310665, -0.006969422567635775, -0.0000844553651404567, 0.002423236146569252, 0.02314760908484459, 0.003480055835098028, 0.009562588296830654, 0.00013370280794333667, 0.011629671789705753, -0.080076202750206, 0.004355307202786207, -0.021285371854901314, 0.04603450372815132, 0.017467785626649857, 0.014953765086829662, -0.002388319233432412, -0.015065498650074005, -0.011266535148024559, 0.021024657413363457, -0.03743096813559532, -0.05653752014040947, 0.05214264243841171, 0.03625775873661041, -0.007905197329819202, 0.03914422541856766, -0.025922341272234917, 0.03426516428589821, -0.010959265753626823, -0.004183050245046616, 0.016303887590765953, 0.028548097237944603, -0.018687549978494644, 0.019665224477648735, 0.0033520269207656384, 0.0319373682141304, -0.027281776070594788, 0.05430283769965172, 0.03618326783180237, -0.02063358761370182, -0.020596344023942947, -0.011043067090213299, -0.07210582494735718, -0.05374416708946228, 0.023855259642004967, 0.006718020886182785, 0.0310248713940382, -0.010698553174734116, 0.0478222519159317, -0.02817564830183983, 0.04834367707371712 ]
44,079
dataclass_array.array_dataclass
__getitem__
Slice indexing.
def __getitem__(self: _DcT, indices: _IndicesArg) -> _DcT: """Slice indexing.""" indices = np.index_exp[indices] # Normalize indices # Replace `...` by explicit shape indices = _to_absolute_indices(indices, shape=self.shape) return self._map_field( array_fn=lambda f: f.value[indices], dc_fn=lambda f: f.value[indices], )
(self: ~_DcT, indices: Union[ellipsis, NoneType, int, slice, Any, Tuple[Union[ellipsis, NoneType, int, slice, Any]]]) -> ~_DcT
[ 0.0028089454863220453, -0.06009959056973457, -0.03708421811461449, 0.020752428099513054, -0.012621616013348103, -0.00978854950517416, -0.0007691160426475108, 0.016945770010352135, 0.0482761450111866, -0.04504838213324547, -0.013954823836684227, 0.04445194453001022, -0.0000753081330913119, -0.018892953172326088, 0.0014888945734128356, -0.01063934713602066, -0.009499103762209415, 0.0812554880976677, -0.01403376366943121, 0.015603790991008282, -0.022155804559588432, -0.03939979150891304, 0.06111703813076019, 0.001566738123074174, 0.006451145745813847, 0.03552296385169029, 0.004144345875829458, -0.01862982101738453, 0.018963122740387917, -0.08357106149196625, -0.020699800923466682, 0.004479840397834778, -0.0063634347170591354, 0.05252135917544365, -0.005100395996123552, -0.04048740863800049, -0.006201168987900019, 0.015735357999801636, 0.08265886455774307, 0.08041346073150635, -0.012700555846095085, -0.056099969893693924, 0.025681786239147186, -0.059643495827913284, -0.010902480222284794, 0.013305761851370335, 0.03796133026480675, -0.01495472900569439, 0.02724304236471653, 0.03792624548077583, -0.00286595756188035, 0.006139771547168493, 0.021752333268523216, -0.045574646443128586, 0.00022832275135442615, 0.03866301849484444, 0.03162859380245209, 0.050837308168411255, -0.024488916620612144, 0.03376874327659607, -0.009051777422428131, -0.054205410182476044, 0.01563887484371662, 0.017884276807308197, -0.007582617923617363, -0.04357483610510826, 0.02071734331548214, 0.006486230064183474, -0.014428462833166122, 0.004955672658979893, 0.02792719006538391, -0.021489201113581657, 0.013156653381884098, -0.05132849141955376, -0.018857870250940323, -0.024681881070137024, 0.006797604262828827, 0.030646231025457382, 0.08300971239805222, 0.008402715437114239, -0.03548787906765938, -0.005552107468247414, -0.035119492560625076, 0.03932962194085121, 0.003047958016395569, 0.014384607784450054, -0.0018671483267098665, 0.01413024589419365, -0.028470996767282486, -0.019612183794379234, 0.0226820707321167, 0.06753748655319214, -0.02647118642926216, 0.006201168987900019, 0.011858530342578888, 0.014910873956978321, 0.031067242845892906, 0.016893142834305763, -0.02697991020977497, 0.06048551946878433, -0.01735801063477993, -0.03496161475777626, 0.016182683408260345, -0.003232151037082076, -0.02047175168991089, -0.025681786239147186, -0.03134791925549507, -0.0269272830337286, -0.04262755811214447, -0.04999528080224991, 0.045890405774116516, 0.03757540136575699, -0.014586342498660088, -0.012463736347854137, -0.0562753900885582, -0.01609497331082821, 0.03552296385169029, -0.03447043150663376, -0.03548787906765938, -0.01723521575331688, 0.003857092233374715, -0.0031663677655160427, -0.013068942353129387, 0.03071639873087406, -0.04150485619902611, 0.03946996107697487, -0.030944447964429855, 0.03555804863572121, 0.029786663129925728, -0.030067337676882744, -0.024225784465670586, -0.0395401269197464, -0.022769780829548836, 0.03915419802069664, 0.04441685974597931, 0.0027738609351217747, 0.03743506222963333, -0.00582839734852314, -0.050135619938373566, 0.06353786587715149, 0.006845845375210047, 0.01722644455730915, 0.03510195016860962, 0.05276694893836975, -0.005231962539255619, -0.010288503021001816, 0.03140054643154144, 0.004179430194199085, -0.008578137494623661, -0.03090936318039894, -0.035698384046554565, 0.07360708713531494, -0.01184975914657116, 0.029032347723841667, -0.00196253415197134, -0.04073299840092659, -0.018086012452840805, -0.014419691637158394, 0.02433103695511818, 0.026629066094756126, -0.02248910628259182, -0.029313024133443832, 0.0018463169690221548, -0.003661935217678547, -0.0185596514493227, 0.04859190434217453, -0.03027784451842308, -0.05487201362848282, -0.012218145653605461, 0.023927565664052963, -0.007429123390465975, 0.011042817495763302, -0.04459228366613388, -0.005920493975281715, -0.024857303127646446, 0.046907853335142136, -0.018384229391813278, 0.04550447687506676, 0.004806564189493656, -0.04448702931404114, 0.0158932376652956, 0.00022750046628061682, -0.037856075912714005, -0.03389154002070427, 0.029348107054829597, 0.056099969893693924, -0.04073299840092659, 0.04283806309103966, 0.028874468058347702, 0.018664905801415443, 0.032225027680397034, 0.02940073423087597, 0.03127774968743324, 0.016708949580788612, -0.018103554844856262, 0.00011107778846053407, -0.0676778256893158, -0.020348956808447838, 0.04125926271080971, 0.06887069344520569, 0.002620366867631674, 0.009586814790964127, -0.021962840110063553, 0.03820692002773285, -0.04908308759331703, 0.038803357630968094, 0.048241060227155685, -0.006183627061545849, -0.086377814412117, -0.009595585986971855, -0.037224557250738144, -0.041329432278871536, -0.005196878220885992, 0.004556587431579828, 0.042417049407958984, -0.01603357493877411, -0.06304667890071869, -0.028470996767282486, 0.04687276855111122, 0.028102612122893333, 0.06908120214939117, -0.002942704828456044, 0.03543525189161301, 0.01805092766880989, 0.0098850317299366, -0.026401016861200333, -0.014296896755695343, -0.04834631457924843, -0.03476864844560623, -0.008942138403654099, 0.010718286968767643, -0.03282146528363228, 0.005758228711783886, -0.040136564522981644, 0.035698384046554565, 0.027278127148747444, 0.023085540160536766, -0.009393850341439247, 0.08714967221021652, 0.05325813218951225, -0.0055301799438893795, 0.025804582983255386, 0.0008831403683871031, 0.006495001260191202, -0.012533904984593391, 0.05010053515434265, 0.024155614897608757, 0.06094161793589592, 0.023997735232114792, 0.018787700682878494, -0.012972460128366947, 0.023646891117095947, 0.02033141441643238, 0.09164047241210938, 0.024664338678121567, 0.028716588392853737, 0.027383381500840187, -0.03083919547498226, -0.01850702613592148, -0.04518871754407883, -0.086377814412117, -0.010034141130745411, -0.0056354328989982605, -0.04571498557925224, -0.009999056346714497, 0.03869810327887535, 0.06834442913532257, 0.0173492394387722, 0.02108572982251644, 0.04059265926480293, 0.03845251351594925, 0.11332263797521591, -0.05101272836327553, -0.018208807334303856, -0.007280014920979738, 0.020296329632401466, 0.04497821256518364, -0.014244269579648972, -0.04252230376005173, 0.014261811971664429, -0.0026466799899935722, 0.026699235662817955, -0.06101178750395775, 0.008117655292153358, 0.02869904600083828, -0.05739809200167656, 0.016954541206359863, -0.03859284892678261, -0.011612939648330212, -0.000771308783441782, 0.012612844817340374, -0.007244930136948824, 0.02527831681072712, -0.06080127879977226, 0.00019584226538427174, -0.014717909507453442, -0.04034706950187683, -0.05746826156973839, -0.01836668699979782, -0.009271054528653622, -0.014463547617197037, -0.016489671543240547, -0.021804960444569588, 0.03476864844560623, 0.028716588392853737, -0.0034075730945914984, 0.038031499832868576, -0.005902951583266258, 0.0015656417235732079, -0.03275129571557045, -0.0013112797169014812, -0.017910590395331383, -0.05150391161441803, -0.03275129571557045, -0.007722955197095871, -0.05259152874350548, -0.046907853335142136, 0.006867772899568081, 0.04687276855111122, 0.10974402725696564, -0.04711836203932762, -0.011577854864299297, -0.04445194453001022, 0.002436173614114523, 0.001873726723715663, 0.04353975132107735, -0.02908497489988804, -0.05136357247829437, -0.02641855925321579, 0.04150485619902611, -0.0371193028986454, -0.024436291307210922, 0.021243609488010406, -0.0031839101575315, 0.03866301849484444, -0.03078656829893589, 0.016437046229839325, 0.0174720361828804, -0.0068765440955758095, -0.0012904483592137694, 0.00462675653398037, -0.030190134420990944, -0.009043006226420403, 0.04364500567317009, 0.03220748528838158, -0.0058722528629004955, 0.0035742241889238358, 0.01665632240474224, 0.02603263035416603, 0.0319092683494091, 0.0599241703748703, -0.027716683223843575, -0.014323209412395954, 0.023997735232114792, -0.00009586540545569733, 0.05171441659331322, 0.02020861953496933, -0.007867678999900818, -0.05308270826935768, -0.0027979814913123846, 0.04999528080224991, -0.048872582614421844, 0.01950693130493164, -0.061538051813840866, 0.020752428099513054, 0.004186008591204882, -0.02831311710178852, -0.005126709118485451, -0.019612183794379234, 0.0037649956066161394, -0.005521408747881651, -0.01659492589533329, -0.004462298005819321, 0.04869715869426727, -0.00722300261259079, -0.05659114941954613, -0.0742386057972908, -0.0038263932801783085, -0.02792719006538391, -0.021489201113581657, -0.023208336904644966, -0.021348861977458, 0.04718852788209915, 0.07718569785356522, -0.04041723906993866, 0.02299783006310463, 0.012744411826133728, -0.0482761450111866, 0.014647740870714188, -0.0025436196010559797, 0.015735357999801636, -0.02141903154551983, -0.005916108377277851, -0.042732808738946915, -0.08651815354824066, -0.04403093084692955, 0.009411392733454704, -0.024716965854167938, 0.021892670542001724, -0.09711363911628723, -0.04182061553001404, -0.0183140616863966, -0.008534282445907593, 0.04971460625529289, 0.0021489199716597795, -0.012586531229317188, 0.010034141130745411, -0.008639535866677761, 0.0009686585981398821, 0.02178741805255413, 0.005477553233504295, 0.03311968222260475, -0.0020283174235373735, 0.05245118960738182, 0.0458553209900856, 0.008372017182409763, -0.01415655855089426, 0.002997524105012417, -0.003379067173227668, 0.035505421459674835, 0.0019636305514723063, -0.06855493783950806, -0.010402526706457138, -0.036838628351688385, 0.00019803503528237343, -0.07160727679729462, -0.037856075912714005, 0.02515552006661892, 0.01945430412888527, 0.028874468058347702, -0.043118737637996674, -0.07508063316345215, -0.08750051259994507, 0.002462486969307065, -0.0022454021964222193, -0.011007732711732388, -0.03403187543153763, 0.0298392903059721, 0.034119587391614914, 0.02059454843401909, 0.019524473696947098, -0.001542617566883564, 0.0015393283683806658, -0.03992605581879616, -0.033154767006635666, -0.05922248214483261, -0.026751860976219177, 0.035452794283628464, -0.011551541276276112, -0.07160727679729462, 0.08820220082998276, 0.017586059868335724, 0.02173479087650776, 0.006547627504914999, 0.051784586161375046, 0.006060831714421511, -0.03694388270378113, -0.02154182642698288, 0.032225027680397034, 0.029102517291903496, -0.027014994993805885, 0.027102705091238022, -0.053503721952438354, -0.07311590760946274, 0.0017542204586789012, -0.0022848721127957106, -0.039434876292943954, -0.048942748457193375, -0.024681881070137024, 0.03280392289161682, 0.036522869020700455, -0.039680466055870056, -0.05181967094540596, -0.05809978023171425, 0.005806469824165106, 0.03799641504883766, -0.027278127148747444, 0.025102894753217697, -0.03610185533761978, -0.031014617532491684, -0.034680936485528946, -0.07241421937942505, -0.005267046857625246, 0.01006922498345375, -0.04936376214027405, -0.008907054550945759, 0.038733188062906265, 0.06851985305547714, -0.012902291491627693, -0.0201384499669075, 0.07662434875965118, 0.006591483019292355, 0.022120719775557518, 0.0031071628909558058, 0.02140148915350437, 0.02115589752793312, -0.0035676457919180393, 0.0366281233727932, 0.03318985179066658, -0.02243647910654545, -0.0015338464872911572, -0.006916014011949301, 0.009613128378987312, 1.0278635187432883e-7, -0.0171036496758461, -0.05308270826935768, 0.010288503021001816, 0.033540695905685425, 0.03996114060282707, -0.10265698283910751, -0.004350466653704643, -0.027962272986769676, -0.029821747913956642, -0.000006878120075270999, 0.04315382242202759, 0.032523248344659805, -0.041469771414995193, 0.04652192443609238, -0.06266075372695923, -0.0073896534740924835, 0.046346504241228104, 0.026067715138196945, -0.048802413046360016, 0.020348956808447838, -0.0029470904264599085, 0.018928037956357002, 0.005894180852919817, -0.012990002520382404, -0.012279543094336987, 0.03510195016860962, -0.06350278109312057, 0.005841554142534733, 0.03233028203248978, 0.006284494884312153, -0.029172684997320175, 0.02527831681072712, 0.020296329632401466, -0.02057700604200363, 0.011332264170050621, 0.038733188062906265, 0.016489671543240547, 0.019524473696947098, 0.06802866607904434, -0.07002847641706467, 0.024295952171087265, -0.04789021611213684, -0.018717531114816666, -0.05732792243361473, 0.07606299966573715, 0.035575591027736664, 0.07388776540756226, -0.02192775532603264, 0.03813675045967102, -0.010911251418292522, 0.04497821256518364, 0.040697913616895676, -0.053749315440654755, -0.054065074771642685, -0.10132376849651337, -0.022945202887058258, 0.002244305796921253, 0.02045420929789543, 0.11584872007369995, 0.05462642386555672, -0.07950127124786377, 0.03327756002545357, 0.01882278546690941, -0.052486274391412735, -0.024032820016145706, -0.06820408999919891, -0.0601697601377964, 0.0012970267562195659, -0.038873523473739624, 0.10181495547294617, 0.011586626060307026, 0.020348956808447838, 0.07122135162353516, -0.08055379986763, -0.004705696366727352, -0.010183249600231647, -0.012525133788585663, 0.011735734529793262, 0.023331131786108017, -0.012612844817340374, 0.02792719006538391, 0.039890971034765244, 0.05206526070833206, 0.00889828335493803, 0.019471846520900726, -0.03596151992678642, 0.08595680445432663, -0.07437894493341446, -0.027962272986769676, 0.01134103536605835, 0.029821747913956642, 0.015103837475180626, -0.0975346565246582, -0.01513892225921154, 0.01962972618639469, -0.018857870250940323, -0.004911817144602537, 0.004192586988210678, 0.0015623525250703096, 0.009367536753416061, 0.012139204889535904, -0.029979627579450607, 0.04378534108400345, 0.05974874645471573, 0.0397857204079628, -0.017559746280312538, -0.023173252120614052, -0.029155142605304718, -0.031453173607587814, 0.03568084165453911, 0.03218994662165642, -0.031961895525455475, -0.021875128149986267, 0.044066015630960464, 0.031961895525455475, -0.005859096068888903, -0.05574912577867508, -0.02420824207365513, -0.03925945237278938, 0.002352848183363676, 0.01476176455616951, -0.030207674950361252, 0.0596785806119442, -0.013919739052653313, 0.010411297902464867, 0.06402904540300369, 0.006293265614658594, 0.034680936485528946, 0.02331358939409256, -0.002806752687320113, -0.028786757960915565, -0.013516268692910671, 0.02598000504076481, 0.020892765372991562, -0.023611806333065033, 0.05662623420357704, 0.010200791992247105, -0.0005777963669970632, -0.003675091778859496, 0.023611806333065033, 0.008950909599661827, -0.09746448695659637, -0.032225027680397034, -0.030067337676882744, 0.016577383503317833, -0.00041087131830863655, -0.04168027639389038, 0.01564764603972435, -0.04866207391023636, -0.021752333268523216, -0.017787795513868332, 0.02940073423087597, 0.019243797287344933, -0.05346863716840744, 0.005144251510500908, 0.03490898758172989, -0.0226820707321167, -0.006652880925685167, -0.03659303858876228, -0.05694199353456497, 0.012911062687635422, -0.03922436758875847, -0.040276899933815, -0.0011336649768054485, 0.03578609600663185, 0.06876543909311295, 0.0300848800688982, -0.028470996767282486, -0.09164047241210938, 0.0185596514493227, 0.061923980712890625, 0.009858719073235989, 0.08160633593797684, -0.052486274391412735, 0.011095443740487099, -0.023348674178123474, 0.04908308759331703, 0.0053942278027534485, 0.013682919554412365, 0.06448514014482498, 0.004045670852065086, 0.022155804559588432, 0.011770819313824177, -0.03268112614750862, 0.007968545891344547, -0.027839478105306625, 0.06038026884198189, -0.05150391161441803, 0.045083463191986084, -0.004824106115847826, -0.022717153653502464, 0.041329432278871536, -0.0027124632615596056, -0.022541731595993042, -0.013595208525657654, 0.04978477582335472, -0.03631236404180527, 0.028102612122893333, 0.006087144836783409, -0.008556210435926914, -0.013989907689392567, -0.011718192137777805, 0.017200130969285965, 0.033347729593515396, 0.04332924634218216, -0.020173534750938416, 0.031119870021939278, 0.024488916620612144, 0.036207109689712524, 0.01413024589419365, 0.04946901649236679, -0.022822408005595207, -0.03961029648780823, 0.011218239553272724, -0.016831744462251663, 0.041575025767087936, 0.0269272830337286, -0.001776148215867579, 0.015077524818480015, 0.015603790991008282, 0.019103460013866425, 0.0021631731651723385, 0.0031290906481444836, 0.01836668699979782, -0.055538617074489594, -0.0071484483778476715, 0.043364327400922775, -0.044241439551115036, 0.03054097667336464, -0.05364406108856201, -0.004508346319198608, -0.012498820200562477, 0.025699328631162643, -0.02906743250787258, 0.01684928685426712, 0.01996302790939808, -0.06932678818702698, 0.03047080896794796, -0.04655700922012329, -0.010674430988729, -0.03845251351594925, 0.06346769630908966, -0.030558519065380096, 0.01318296603858471, 0.001788208493962884, -0.012139204889535904, 0.051784586161375046, 0.08525511622428894, -0.022348769009113312, 0.032400451600551605, 0.013305761851370335, -0.031119870021939278, 0.03333018720149994, -0.01996302790939808, -0.03946996107697487, -0.014384607784450054, -0.03610185533761978, 0.03971555083990097, -0.053503721952438354, 0.053187962621450424, -0.03415467217564583, 0.02275223843753338, -0.01336715929210186, 0.028155237436294556 ]
44,080
dataclass_array.array_dataclass
__iter__
Iterate over the outermost dimension.
def __iter__(self: _DcT) -> Iterator[_DcT]: """Iterate over the outermost dimension.""" if not self.shape: raise TypeError(f'iteration over 0-d array: {self!r}') # Similar to `etree.unzip(self)` (but work with any backend) field_names = [f.name for f in self._array_fields] # pylint: disable=not-an-iterable field_values = [f.value for f in self._array_fields] # pylint: disable=not-an-iterable for vals in zip(*field_values): yield self.replace(**dict(zip(field_names, vals)))
(self: ~_DcT) -> Iterator[~_DcT]
[ 0.05535441264510155, -0.043435826897621155, -0.014246153645217419, -0.0101706488057971, -0.01739787869155407, -0.02445302903652191, -0.03952334076166153, 0.018874116241931915, 0.10375329852104187, 0.012824255973100662, 0.0011547263711690903, -0.019526196643710136, -0.015468805097043514, 0.029234955087304115, 0.005651366896927357, 0.009446115233004093, -0.0384003147482872, 0.03709615021944046, -0.009826495312154293, 0.033582162111997604, -0.04387054592370987, -0.013512562960386276, 0.0026151156052947044, 0.016428813338279724, 0.011764624156057835, 0.04263883829116821, 0.0368787907063961, -0.013693696819245815, 0.05560800060629845, -0.04734830930829048, -0.050210222601890564, 0.023692268878221512, -0.018203921616077423, 0.01043329294770956, 0.05618762969970703, -0.04531961679458618, -0.05883217975497246, 0.007476287428289652, 0.009627248160541058, 0.05539064109325409, 0.03988561034202576, -0.04361695796251297, 0.02774965949356556, -0.010052911937236786, 0.01765146479010582, 0.003380405018106103, 0.06734545528888702, -0.04332714527845383, -0.023565474897623062, -0.0021645459346473217, 0.020920924842357635, -0.013095956295728683, 0.05307213217020035, 0.012923878617584705, -0.0010511405998840928, 0.05100720748305321, -0.0012701990781351924, 0.039994288235902786, 0.005483818240463734, 0.016926931217312813, -0.05796273797750473, -0.06915678828954697, 0.013277089223265648, -0.009400831535458565, -0.018366942182183266, -0.021301306784152985, -0.030249303206801414, 0.012271798215806484, 0.006176654249429703, 0.012941992841660976, -0.0414433553814888, 0.02983269654214382, 0.00425437418743968, 0.010514803230762482, -0.025413038209080696, 0.01660994626581669, -0.02253301441669464, 0.0894799754023552, 0.037277285009622574, -0.08049575239419937, -0.031553465873003006, 0.07513419538736343, -0.04158826544880867, 0.03318366780877113, 0.023601701483130455, 0.011483867652714252, 0.009618191979825497, 0.02762286737561226, -0.03215120732784271, 0.05068117007613182, 0.02941608987748623, 0.004625698085874319, -0.009699701331555843, 0.04455885291099548, -0.01542352233082056, 0.04684113711118698, -0.045355841517448425, -0.02278660051524639, 0.006339674349874258, 0.0363716185092926, 0.05376043915748596, -0.0021554892882704735, 0.03696935996413231, -0.0159850362688303, 0.024362463504076004, 0.015758618712425232, -0.023710381239652634, -0.06104200705885887, 0.012634065002202988, 0.012941992841660976, -0.037929367274045944, 0.0722360610961914, 0.01381143368780613, 0.014753327704966068, -0.027858341112732887, -0.03120931051671505, -0.017216743901371956, 0.012135948054492474, 0.02175414003431797, -0.006375900935381651, 0.004625698085874319, 0.03046666458249092, -0.005030984524637461, 0.05741933733224869, 0.0008971771458163857, 0.026300592347979546, 0.004804567433893681, 0.05752801522612572, -0.01804995909333229, -0.06933792680501938, -0.001978883985430002, -0.016021262854337692, -0.003221913008019328, -0.010967636480927467, -0.005578913260251284, 0.009455171413719654, 0.09433435648679733, -0.0762934535741806, -0.06752658635377884, 0.0072951540350914, 0.008409124799072742, 0.011357073672115803, 0.034487828612327576, 0.052890997380018234, -0.05100720748305321, -0.0004327393835410476, 0.01867486909031868, 0.029071934521198273, -0.0069917552173137665, -0.011239336803555489, -0.08027838915586472, 0.025666624307632446, 0.0904943197965622, 0.03673388436436653, -0.01003479864448309, 0.025286244228482246, -0.037041813135147095, -0.004741170909255743, 0.007267983630299568, 0.0022732261568307877, -0.09107395261526108, -0.007440060842782259, -0.04350828006863594, 0.03363649919629097, -0.020558658987283707, 0.0009945364436134696, -0.030357982963323593, -0.09614568948745728, -0.039595793932676315, 0.011891418136656284, 0.06908433884382248, -0.06915678828954697, -0.01389294397085905, -0.012688405811786652, -0.00192794029135257, 0.0909290462732315, 0.01515182200819254, 0.03673388436436653, 0.0207216776907444, 0.04191430285573006, -0.003950975835323334, 0.02981458231806755, -0.05285477265715599, 0.0020569979678839445, 0.029579108580946922, 0.0319700725376606, -0.009545737877488136, -0.0001781618339009583, 0.04814529791474342, -0.00876686442643404, 0.035248588770627975, -0.0015452955849468708, 0.014708044938743114, -0.0076755341142416, 0.010541972704231739, 0.01728919707238674, -0.014110303483903408, 0.032730832695961, 0.0305753443390131, 0.06636733561754227, -0.07303304970264435, -0.023945854976773262, 0.008304973132908344, 0.019616764038801193, -0.055209506303071976, 0.03811049833893776, 0.027586640790104866, -0.05991898104548454, -0.03352782130241394, 0.03177082538604736, 0.01814958266913891, -0.03224177286028862, 0.0057509904727339745, -0.04647887125611305, 0.03955956920981407, 0.00563325360417366, -0.009346491657197475, -0.03952334076166153, -0.016202395781874657, 0.0009792533237487078, 0.017506558448076248, 0.023728495463728905, -0.032314226031303406, -0.09187094122171402, 0.011411413550376892, -0.05104343593120575, -0.011936700902879238, -0.028093814849853516, -0.0652080774307251, -0.012244627811014652, -0.04191430285573006, -0.00896158255636692, -0.016030319035053253, -0.034216128289699554, 0.060571059584617615, 0.010732162743806839, 0.012561611831188202, -0.0378931388258934, 0.03300253301858902, 0.013086899183690548, -0.033056873828172684, -0.026554178446531296, -0.009070262312889099, -0.020812245085835457, -0.062128808349370956, -0.007417418994009495, -0.005597027018666267, 0.07795988023281097, 0.02838362753391266, 0.028456080704927444, -0.02238810807466507, -0.078829325735569, -0.013793320395052433, 0.04622528329491615, 0.036516524851322174, -0.034216128289699554, 0.04234902560710907, -0.006212880834937096, 0.04089995473623276, -0.019145816564559937, 0.04314601421356201, -0.03417989984154701, 0.02291339449584484, 0.074264757335186, 0.024634163826704025, 0.05100720748305321, 0.06346919387578964, -0.038327861577272415, 0.028057588264346123, 0.04350828006863594, 0.006710998248308897, 0.07151152938604355, 0.01182802114635706, 0.027677206322550774, -0.01086801290512085, 0.043689414858818054, 0.026445498690009117, 0.005660423543304205, -0.03182516619563103, -0.017742032185196877, 0.012353308498859406, -0.03952334076166153, -0.06274466216564178, 0.006086087319999933, -0.03463273495435715, -0.06230994313955307, -0.016673343256115913, -0.03245913237333298, 0.00042538082925602794, -0.020268844440579414, 0.04064637050032616, 0.030521003529429436, -0.022062066942453384, -0.01727108471095562, 0.016727684065699577, -0.04720340296626091, -0.05270986258983612, 0.04901473969221115, 0.009989515878260136, -0.006987226661294699, 0.04774680361151695, -0.014363890513777733, 0.01829448901116848, 0.058904632925987244, 0.032422907650470734, 0.04720340296626091, 0.005846085492521524, 0.07067831605672836, -0.03811049833893776, 0.03879880532622337, 0.0018996380968019366, -0.026427386328577995, -0.07024358958005905, -0.04064637050032616, -0.013150296173989773, -0.060571059584617615, 0.021844707429409027, 0.035121794790029526, -0.014182757586240768, 0.07111303508281708, -0.007014397066086531, -0.014816724695265293, -0.014816724695265293, -0.019145816564559937, -0.051478154957294464, 0.0722360610961914, 0.07372135668992996, -0.0020151108037680387, 0.005248344503343105, -0.006597789470106363, 0.0626722127199173, -0.018602415919303894, -0.029325522482395172, 0.048688698559999466, 0.07723534852266312, -0.004186449106782675, 0.024996429681777954, -0.009754042141139507, -0.00010181686957366765, -0.04912342131137848, -0.03452405706048012, -0.0019834123086184263, -0.008925355970859528, -0.02112017199397087, -0.015142764896154404, -0.0013879358302801847, -0.01394728384912014, -0.06886697560548782, 0.06176654249429703, 0.05437629297375679, 0.048543792217969894, -0.0277858879417181, 0.009681588038802147, 0.017597123980522156, -0.0057374052703380585, -0.012960106134414673, -0.0439792275428772, 0.04129844903945923, -0.02880023419857025, 0.04807284474372864, 0.030031943693757057, 0.026789652183651924, 0.03321989253163338, -0.005293628200888634, 0.024724729359149933, -0.08230708539485931, -0.0803508460521698, -0.027061352506279945, -0.01317746564745903, 0.016211453825235367, -0.0231307540088892, -0.019906576722860336, -0.019290722906589508, -0.0667295977473259, -0.025739077478647232, -0.04771057888865471, -0.048435110598802567, 0.027967020869255066, -0.003797012148424983, 0.01943563111126423, 0.027840226888656616, 0.018602415919303894, 0.0414433553814888, -0.01043329294770956, -0.028836462646722794, -0.026010777801275253, 0.025358697399497032, 0.0014366154791787267, -0.038327861577272415, -0.016184283420443535, -0.040610142052173615, -0.02251490019261837, -0.024525484070181847, -0.002290207426995039, -0.04003051668405533, -0.03251347318291664, -0.008803091011941433, -0.009437058120965958, -0.025539830327033997, -0.02532247081398964, -0.05245627835392952, -0.03546594828367233, -0.015432578511536121, 0.0368787907063961, 0.04213166609406471, -0.09440680593252182, 0.019870350137352943, 0.004215883556753397, 0.037929367274045944, 0.059448033571243286, 0.03624482452869415, 0.03995806351304054, 0.03389008715748787, 0.017714861780405045, 0.03463273495435715, 0.004904191009700298, -0.001978883985430002, 0.015822015702724457, 0.03749464452266693, 0.054303839802742004, 0.037041813135147095, -0.031154971569776535, 0.004700415767729282, 0.0059049539268016815, -0.03591878339648247, -0.04800039157271385, -0.005664952099323273, -0.021464325487613678, -0.007657420821487904, 0.021663572639226913, -0.04680490866303444, -0.010071025229990482, -0.021047718822956085, -0.0018486942863091826, -0.015532202087342739, -0.007521570660173893, -0.04781925678253174, 0.012126891873776913, 0.018620530143380165, -0.0041977702639997005, 0.020558658987283707, 0.035248588770627975, 0.07013491541147232, -0.11527339369058609, 0.021844707429409027, 0.031064404174685478, -0.01022498868405819, 0.06310693174600601, -0.019616764038801193, 0.025757191702723503, 0.041624490171670914, 0.006738168187439442, 0.01843033917248249, -0.039233528077602386, -0.019725443795323372, 0.03046666458249092, 0.006932886783033609, -0.04825397953391075, -0.012081608176231384, 0.006806093268096447, -0.021518666297197342, -0.028437968343496323, 0.031281765550374985, -0.07839459925889969, 0.01739787869155407, -0.004462677985429764, -0.039197299629449844, -0.006226466037333012, -0.023511135950684547, -0.0009809513576328754, 0.026789652183651924, -0.027025125920772552, 0.0011258582817390561, -0.03367272764444351, 0.015686165541410446, 0.00831855833530426, -0.05165928974747658, 0.02483341097831726, -0.02289528027176857, -0.04810907319188118, -0.05908576399087906, 0.012461988255381584, 0.014400117099285126, -0.06129559502005577, 0.0061540124006569386, 0.0008388747810386121, 0.03160780668258667, -0.005252873059362173, -0.0031358746346086264, -0.015332954935729504, -0.004877021070569754, 0.03285762667655945, -0.040755048394203186, -0.007797799538820982, 0.05553554743528366, -0.003643048694357276, 0.017225800082087517, -0.015169935300946236, 0.011619717814028263, -0.002959269331768155, -0.02443491667509079, 0.01316840946674347, 0.012362364679574966, -0.0356108583509922, -0.01981601119041443, 0.011873304843902588, 0.017307311296463013, 0.009192528203129768, 0.026554178446531296, -0.022297540679574013, -0.028329288586974144, -0.03200629726052284, -0.06502694636583328, -0.045500747859478, 0.016302019357681274, -0.04564565420150757, -0.05499214679002762, 0.013983510434627533, -0.042022984474897385, -0.000933969859033823, 0.02878212183713913, -0.018910342827439308, -0.05807141587138176, 0.0864369347691536, 0.002667191671207547, 0.04513848200440407, 0.020794132724404335, -0.03695124387741089, 0.029071934521198273, -0.048290204256772995, -0.00383550301194191, -0.034976888447999954, 0.054811011999845505, 0.03030364401638508, -0.03416178748011589, -0.03705992549657822, 0.06915678828954697, 0.0027871925849467516, -0.0396682471036911, 0.11208543926477432, 0.041515812277793884, 0.02649983949959278, 0.004537395667284727, -0.03224177286028862, -0.03548406437039375, -0.01777825877070427, -0.019526196643710136, -0.048797380179166794, 0.027206258848309517, 0.009781211614608765, -0.029506655409932137, -0.005388723220676184, 0.023619815707206726, 0.05850613862276077, -0.007313267327845097, 0.026463612914085388, -0.03160780668258667, -0.020160164684057236, -0.038835033774375916, 0.015713335946202278, -0.0008451012545265257, 0.0301949642598629, -0.017216743901371956, 0.007127605378627777, 0.050355128943920135, 0.08093047142028809, 0.013938226737082005, 0.031191198155283928, -0.03570142388343811, 0.0596291646361351, 0.015323898755013943, 0.0005284005310386419, 0.021265078336000443, 0.0342523567378521, 0.049449458718299866, 0.006751753389835358, -0.0626722127199173, -0.03981315344572067, 0.005868727341294289, -0.0944792628288269, -0.03555651754140854, -0.023891516029834747, 0.04926832765340805, -0.032730832695961, 0.0006447222549468279, -0.042167890816926956, -0.002028695773333311, 0.06401259452104568, -0.007788742892444134, -0.038327861577272415, 0.027224373072385788, -0.04966682195663452, -0.03771200403571129, -0.026191912591457367, -0.030665909871459007, -0.017832597717642784, -0.0442328155040741, -0.048688698559999466, -0.021971499547362328, -0.05575290694832802, -0.016854478046298027, 0.02061299793422222, 0.0006537789013236761, 0.059882752597332, -0.032676491886377335, -0.0757862776517868, 0.02713380567729473, 0.015559372492134571, 0.055064599961042404, 0.009409887716174126, 0.0012871803482994437, -0.0014117095852270722, 0.0384003147482872, -0.024905864149332047, -0.0030905911698937416, -0.022297540679574013, -0.04669623076915741, 0.06734545528888702, 0.0115653770044446, -0.023945854976773262, -0.02865532785654068, -0.024018310010433197, -0.027822114527225494, 0.020631112158298492, -0.04256638512015343, -0.017062781378626823, 0.07774252444505692, -0.033853862434625626, 0.026463612914085388, 0.015468805097043514, 0.019037136808037758, -0.021391872316598892, 0.015169935300946236, -0.05093475431203842, -0.059810299426317215, -0.03059345670044422, -0.03318366780877113, -0.0050219278782606125, -0.08172746002674103, 0.014345777221024036, 0.03955956920981407, 0.01523333229124546, 0.01331331580877304, 0.019218269735574722, -0.02544926479458809, -0.032694607973098755, 0.03700558468699455, -0.02724248729646206, -0.008735165931284428, -0.00010393952834419906, -0.027278713881969452, 0.027314940467476845, -0.019797896966338158, -0.010288385674357414, -0.04749321937561035, 0.038436539471149445, 0.0067879799753427505, 0.001925676129758358, 0.007571382448077202, 0.010315556079149246, 0.045718107372522354, -0.014055963605642319, -0.0015135972062125802, -0.06129559502005577, 0.05042758211493492, -0.01905524916946888, 0.07440966367721558, 0.054811011999845505, 0.014807667583227158, -0.0045034331269562244, -0.03584633022546768, 0.0437256395816803, -0.023601701483130455, -0.03557462990283966, -0.007548741064965725, -0.013059728778898716, -0.01022498868405819, 0.011492923833429813, 0.047167178243398666, -0.010523859411478043, -0.03533915802836418, 0.025250017642974854, -0.013539733365178108, 0.060208793729543686, -0.021156398579478264, -0.06959151476621628, -0.012407648377120495, 0.004768340848386288, 0.02597455121576786, -0.054050251841545105, 0.02390962839126587, -0.04198675602674484, 0.07259833067655563, -0.05883217975497246, -0.0013743508607149124, -0.0042996578849852085, 0.05415893346071243, -0.003887578845024109, 0.030484776943922043, 0.01113971322774887, 0.028582874685525894, 0.005601555109024048, -0.029633449390530586, 0.05948425829410553, 0.059810299426317215, 0.042928650975227356, -0.007399305701255798, 0.0023570002522319555, 0.019616764038801193, 0.05002908781170845, 0.00674722483381629, 0.05209400877356529, -0.06575147807598114, -0.0616578608751297, 0.005456648301333189, 0.016528436914086342, 0.011719340458512306, -0.00540683651342988, 0.029488543048501015, 0.03466896340250969, 0.02122885175049305, 0.03977692872285843, -0.015224275179207325, 0.08165500313043594, -0.021790366619825363, 0.0437256395816803, -0.02751418761909008, 0.03749464452266693, -0.02736927941441536, 0.028872689232230186, -0.006317032501101494, -0.023982083424925804, 0.023239435628056526, -0.001816995907574892, -0.05593404173851013, -0.026952672749757767, -0.027967020869255066, 0.031010065227746964, -0.04013919457793236, 0.003581915982067585, -0.032676491886377335, 0.02148243971168995, -0.02624625153839588, 0.044993575662374496, 0.03390819951891899, 0.014391060918569565, 0.014237097464501858, 0.01791410893201828, 0.009346491657197475, -0.017470331862568855, 0.06499072164297104, 0.01003479864448309, -0.001349444966763258, 0.005089852958917618, 0.016926931217312813, -0.013032559305429459, 0.03314743936061859, -0.08100292831659317, -0.045355841517448425, 0.013521620072424412, -0.02840174175798893, -0.01689976081252098, 0.02774965949356556, 0.042276572436094284, 0.008214406669139862, 0.020033370703458786, 0.065461665391922, -0.0017241650493815541 ]
44,081
dataclass_array.array_dataclass
__len__
Length of the first array dimension.
def __len__(self) -> int: """Length of the first array dimension.""" if not self.shape: raise TypeError( f'len() of unsized {self.__class__.__name__} (shape={self.shape})' ) return self.shape[0]
(self) -> int
[ -0.048209309577941895, -0.029089469462633133, 0.01703714206814766, 0.04404391720890999, 0.01680668070912361, 0.02453143708407879, 0.011173156090080738, 0.01099390722811222, 0.03963952511548996, 0.008638069964945316, 0.004039492923766375, -0.03171844780445099, 0.004651925060898066, -0.03214522823691368, 0.007972289808094501, 0.0431562103331089, 0.056096240878105164, -0.016559146344661713, 0.002261945279315114, 0.06804614514112473, -0.016661575064063072, 0.016371361911296844, 0.04086865484714508, -0.049950581043958664, -0.010874408297240734, 0.06825099885463715, 0.043702490627765656, -0.01567997597157955, 0.09184351563453674, -0.028491973876953125, -0.08385415375232697, -0.006064574234187603, 0.029806463047862053, 0.10010601580142975, 0.031155094504356384, 0.007251028437167406, -0.005953610874712467, 0.008475893177092075, 0.004447069950401783, 0.026648275554180145, -0.03419378399848938, -0.04284892603754997, 0.048516593873500824, -0.0018394310027360916, 0.007413205690681934, -0.011941364035010338, 0.027143342420458794, 0.010362270288169384, -0.12380095571279526, -0.009875738061964512, 0.01785656437277794, 0.056847378611564636, 0.01539829932153225, 0.008143003098666668, -0.04271235689520836, 0.06435874104499817, 0.04260992631316185, 0.028833400458097458, -0.04766302928328514, 0.006226751022040844, -0.019273480400443077, 0.004972011782228947, 0.053569693118333817, -0.06637315452098846, -0.011497510597109795, -0.03369871526956558, -0.0013955775648355484, 0.07361137866973877, 0.030455172061920166, 0.009756239131093025, 0.021492747589945793, 0.06531473994255066, -0.039059098809957504, 0.0400150902569294, 0.028372475877404213, -0.00873196218162775, -0.029123611748218536, 0.0069821556098759174, 0.06944599002599716, -0.030830740928649902, -0.0018501004669815302, 0.038444533944129944, -0.0047458172775805, 0.044419482350349426, 0.042268503457307816, -0.03192330151796341, -0.01734442636370659, 0.050462719053030014, -0.059510499238967896, -0.015432441607117653, -0.01267542876303196, 0.08877068012952805, 0.02966989390552044, 0.015671439468860626, -0.00492506567388773, -0.01765170879662037, -0.03120630979537964, -0.04991643875837326, 0.04670703411102295, -0.034961991012096405, -0.0411076545715332, 0.036908119916915894, 0.057461947202682495, 0.0069821556098759174, -0.012615679763257504, 0.015876295045018196, 0.02651170641183853, -0.03875181823968887, -0.05537924915552139, 0.00510431407019496, 0.024275368079543114, 0.012385217472910881, -0.028116406872868538, 0.025948353111743927, 0.0028188959695398808, -0.010669552721083164, 0.023029163479804993, -0.004229411017149687, -0.014049667865037918, 0.02063918299973011, 0.026870202273130417, 0.04455605521798134, -0.023387661203742027, -0.05295512452721596, 0.07811819761991501, 0.024616792798042297, -0.04715088754892349, -0.02946503832936287, 0.02494114823639393, -0.06517816334962845, 0.037010546773672104, 0.0174468532204628, -0.02978939190506935, 0.02453143708407879, 0.028799258172512054, 0.01816384680569172, 0.07299681752920151, -0.026972630992531776, -0.06275404244661331, 0.013426565565168858, 0.013127817772328854, 0.003813298186287284, 0.039571236819028854, 0.022346312180161476, -0.043395206332206726, 0.04551204666495323, 0.01567997597157955, -0.015364156104624271, 0.057154662907123566, 0.01236814633011818, -0.023182805627584457, -0.016047008335590363, 0.06077377498149872, -0.03202573210000992, 0.0110451215878129, -0.005385990254580975, -0.010968300513923168, -0.05302341282367706, 0.016490861773490906, -0.052818555384874344, -0.08562956750392914, 0.0051299212500452995, -0.0502920038998127, -0.047902025282382965, -0.05732537433505058, 0.021202536299824715, 0.012214504182338715, -0.014621555805206299, -0.0574960894882679, 0.05319412425160408, 0.06026163697242737, -0.0200075451284647, -0.0003651654697023332, -0.009824524633586407, -0.009730632416903973, 0.07682078331708908, -0.01724199764430523, 0.0452047623693943, -0.00174020417034626, -0.02106596529483795, 0.022260956466197968, -0.02473629266023636, -0.055720675736665726, -0.04960915446281433, 0.06312961131334305, 0.04015166312456131, -0.024770434945821762, 0.03431328386068344, 0.01623479276895523, 0.05309169739484787, -0.033920641988515854, 0.02342180348932743, -0.01613236404955387, 0.011838936246931553, 0.0174639243632555, -0.04032237455248833, 0.016226256266236305, 0.00636332156136632, 0.0118133295327425, -0.029738178476691246, -0.024207081645727158, 0.015244657173752785, 0.005381722468882799, 0.007451615761965513, -0.012197433039546013, 0.015381228178739548, 0.004532426130026579, 0.020400185137987137, -0.030062532052397728, -0.012863213196396828, -0.042780641466379166, -0.05326240882277489, -0.002878645434975624, 0.011745044030249119, 0.06241261959075928, -0.06299304217100143, -0.0018885108875110745, -0.025811782106757164, 0.00914167333394289, 0.022209741175174713, 0.10966593772172928, 0.017702922224998474, 0.01407527457922697, 0.01288881991058588, -0.01442523580044508, -0.022773094475269318, -0.001999474363401532, -0.007622328586876392, -0.005697541404515505, -0.009423349052667618, 0.00008709022949915379, -0.015005659312009811, 0.0171822477132082, 0.015270264819264412, 0.036191124469041824, -0.005624988581985235, 0.01797606237232685, -0.017822422087192535, -0.000870635558385402, -0.011787721887230873, -0.05496953800320625, -0.028799258172512054, -0.014954445883631706, 0.019546620547771454, -0.05315998196601868, -0.0007996829808689654, -0.026562919840216637, 0.06429045647382736, -0.006841317284852266, -0.0028957168105989695, -0.08351272344589233, -0.04271235689520836, -0.03561070188879967, -0.0123169319704175, 0.044317055493593216, -0.03759096935391426, 0.009764774702489376, -0.04373663291335106, 0.019273480400443077, -0.015936044976115227, 0.035576559603214264, -0.0013891757698729634, 0.03687397390604019, 0.04161979258060455, -0.05551581829786301, 0.02907239831984043, 0.035371702164411545, 0.028270047158002853, -0.0011704500066116452, 0.047287460416555405, 0.038956671953201294, 0.061251770704984665, 0.004967743996530771, -0.07463565468788147, -0.02198781445622444, -0.019529549404978752, 0.0011469769524410367, 0.041449081152677536, 0.040117520838975906, 0.035166848450899124, 0.023558372631669044, -0.05916907265782356, -0.03441571071743965, 0.002714334288612008, -0.05353555083274841, 0.014186237938702106, 0.0052152774296700954, -0.06910455971956253, -0.05923735722899437, 0.005676202476024628, 0.04732160270214081, 0.00893681775778532, -0.0018063553143292665, 0.0533989779651165, 0.023080376908183098, -0.024992361664772034, -0.031274594366550446, 0.028594402596354485, 0.05654009431600571, 0.009978165850043297, -0.024155868217349052, 0.0001237668184330687, -0.056847378611564636, -0.01848820224404335, -0.0027036648243665695, -0.04243921488523483, 0.030642956495285034, 0.0030472243670374155, 0.03154773637652397, -0.003002412151545286, -0.030233245342969894, 0.02864561602473259, -0.04609246924519539, 0.05042857676744461, 0.07217739522457123, 0.06398317962884903, 0.01826627552509308, -0.016900572925806046, 0.002914921846240759, 0.07408937811851501, 0.020570898428559303, 0.008680748753249645, -0.005245152395218611, -0.062480904161930084, -0.011745044030249119, -0.0009575923904776573, 0.020144116133451462, -0.028065193444490433, -0.01267542876303196, 0.0261873509734869, -0.012077934108674526, -0.05247712880373001, 0.018641842529177666, -0.001158713479526341, -0.033835288137197495, -0.016499396413564682, 0.03224765881896019, 0.03718125820159912, -0.03448399528861046, -0.027245771139860153, 0.0079552186653018, -0.04988229647278786, 0.017515137791633606, 0.035986267030239105, 0.05688152089715004, -0.010148879140615463, 0.034927848726511, -0.0627199038863182, 0.06514402478933334, 0.0010354801779612899, -0.006167001556605101, -0.03451813757419586, -0.00513845682144165, -0.0036383175756782293, 0.012402288615703583, 0.004843977279961109, -0.027996907010674477, 0.047902025282382965, 0.0015396164963021874, 0.046263180673122406, 0.030216174200177193, 0.0012323333648964763, -0.021714674308896065, -0.01084026601165533, -0.01632014848291874, 0.01006352249532938, -0.017412710934877396, -0.03426206856966019, -0.026323921978473663, -0.0024753364268690348, -0.032315943390131, -0.0441804863512516, -0.03916152939200401, -0.019734404981136322, 0.03554241359233856, 0.038649387657642365, -0.04803859442472458, 0.03458642214536667, -0.05090657249093056, -0.0430879220366478, -0.030574671924114227, -0.0023216947447508574, -0.009064852260053158, -0.02567521296441555, -0.0389908142387867, 0.01447645016014576, -0.12270839512348175, -0.03204280138015747, -0.04086865484714508, 0.039571236819028854, -0.027689624577760696, -0.013981382362544537, -0.03632769361138344, -0.026989702135324478, -0.06627073138952255, 0.04069794341921806, -0.014493521302938461, 0.004805566743016243, 0.00888560339808464, -0.009961094707250595, -0.0001827161031542346, -0.048106882721185684, 0.002970403525978327, 0.07422594726085663, -0.006538302171975374, 0.005676202476024628, -0.0003182194195687771, 0.026784846559166908, -0.04496576637029648, 0.03499613329768181, 0.07880105078220367, 0.031872089952230453, -0.008189949207007885, -0.01236814633011818, 0.024719221517443657, -0.0261873509734869, 0.02084403857588768, 0.001343296724371612, 0.0677047148346901, 0.0343644954264164, -0.01443377137184143, 0.0431220643222332, 0.06831928342580795, 0.058178938925266266, -0.014519128017127514, 0.039980947971343994, -0.062480904161930084, 0.001165115158073604, 0.023336445912718773, -0.016081150621175766, -0.06794371455907822, 0.046263180673122406, -0.012666893191635609, -0.007976558059453964, -0.0678071454167366, -0.02915775403380394, -0.034927848726511, -0.005219545215368271, 0.0033075613901019096, 0.05964706838130951, 0.07531850785017014, 0.02290966361761093, 0.010319591499865055, 0.04950672760605812, 0.03142823651432991, -0.07647936046123505, 0.0205538272857666, -0.041722219437360764, -0.0065681771375238895, -0.030455172061920166, -0.019034482538700104, -0.01252178754657507, 0.05729123204946518, -0.016567682847380638, 0.001349698519334197, -0.03786411136388779, -0.04773131385445595, -0.024309510365128517, -0.008808783255517483, -0.06842171400785446, -0.04117593914270401, 0.09286779165267944, -0.039980947971343994, -0.04977986589074135, -0.00015297472418751568, -0.053842831403017044, -0.000987467123195529, 0.014365486800670624, -0.023131590336561203, 0.003380114445462823, 0.06784128397703171, -0.012905891053378582, -0.00005088043326395564, -0.0421319305896759, 0.047697171568870544, 0.020451398566365242, 0.012555929832160473, 0.032315943390131, 0.011386547237634659, -0.01939298026263714, -0.03530341759324074, 0.016405504196882248, -0.014561805874109268, 0.0026375134475529194, 0.007848523557186127, -0.0065212310291826725, -0.10939279198646545, -0.00559511361643672, 0.021936601027846336, 0.04745817184448242, -0.024702148512005806, 0.028270047158002853, -0.016456719487905502, 0.006674872245639563, 0.06394903361797333, 0.005586578045040369, 0.061149343848228455, -0.008475893177092075, -0.016209185123443604, 0.040902797132730484, -0.02188538759946823, 0.02350715920329094, 0.03141116350889206, -0.03861524537205696, -0.05196499079465866, -0.03940052539110184, -0.0014201175654307008, -0.008155805990099907, 0.002878645434975624, -0.03170137479901314, -0.052920982241630554, 0.04715088754892349, -0.006440142169594765, 0.0028551723808050156, 0.030523458495736122, 0.034552279859781265, 0.014126488007605076, 0.038034822791814804, 0.006346250418573618, 0.045034050941467285, 0.005146992392838001, -0.000939454126637429, -0.028389547020196915, 0.009158744476735592, -0.05793994292616844, 0.024275368079543114, 0.04243921488523483, -0.054491542279720306, 0.04073208570480347, 0.05773508548736572, 0.0016271068016067147, 0.014809339307248592, 0.019683191552758217, 0.06493917107582092, -0.008996566757559776, 0.029601607471704483, -0.04896044358611107, -0.015961650758981705, 0.006115787662565708, 0.06657800823450089, -0.007323581259697676, -0.044317055493593216, 0.03038688749074936, -0.03782996907830238, -0.08405900746583939, 0.006427338812500238, -0.0025564248207956553, 0.004291294142603874, 0.027365269139409065, -0.017702922224998474, -0.029840605333447456, -0.003885851241648197, 0.038444533944129944, -0.000787946511991322, 0.0220731720328331, 0.0533648356795311, 0.031974516808986664, -0.028474902734160423, 0.04179050400853157, 0.0125815374776721, -0.024190010502934456, -0.053740404546260834, 0.03909324109554291, 0.01970026269555092, -0.040902797132730484, 0.02176588773727417, -0.010900015942752361, 0.03851281851530075, -0.028901685029268265, 0.01777120679616928, -0.05568653345108032, 0.013785062357783318, -0.057974085211753845, -0.005146992392838001, 0.009380671195685863, -0.0230974480509758, -0.03929809853434563, 0.031991589814424515, -0.022721881046891212, -0.04906287416815758, -0.009713561274111271, -0.008326519280672073, -0.013375352136790752, 0.0012003247393295169, -0.03991266340017319, -0.003339570015668869, -0.08296644687652588, -0.053740404546260834, -0.08207874000072479, 0.01288881991058588, -0.019239338114857674, -0.004184598568826914, 0.009764774702489376, -0.038444533944129944, 0.03479127958416939, 0.04455605521798134, 0.0012163290521129966, -0.08071303367614746, 0.031291663646698, 0.001981335924938321, -0.010293984785676003, 0.003228606889024377, -0.005723148118704557, 0.06340274959802628, 0.02321694791316986, -0.04878973215818405, -0.003345971927046776, 0.07531850785017014, 0.011719437316060066, -0.06190047785639763, -0.01103658601641655, -0.009867202490568161, 0.01083173044025898, -0.06480259448289871, -0.07811819761991501, -0.026716560125350952, -0.01879548467695713, 0.033425576984882355, 0.06172976642847061, 0.04042480140924454, 0.018983269110322, -0.006790103390812874, -0.02331937476992607, -0.026426348835229874, -0.0411076545715332, 0.004139786586165428, 0.001871439628303051, -0.04592175781726837, -0.01867598667740822, -0.06179805099964142, 0.012146219611167908, -0.020707469433546066, 0.0430879220366478, -0.0996280163526535, 0.03409135714173317, -0.044726766645908356, -0.04957501217722893, 0.034757137298583984, 0.006807174999266863, 0.05070171505212784, -0.006930941715836525, 0.03612283989787102, -0.015944579616189003, 0.034244999289512634, -0.0021349776070564985, -0.03755682706832886, -0.006273697130382061, 0.009312385693192482, 0.0533648356795311, -0.02762134000658989, -0.01777120679616928, 0.015816545113921165, -0.0034462655894458294, 0.010396412573754787, 0.025333786383271217, -0.005061636213213205, 0.023541301488876343, -0.015534869395196438, -0.05944221466779709, -0.038956671953201294, 0.014894695952534676, -0.051589421927928925, 0.015842152759432793, -0.012590073049068451, 0.07504536956548691, -0.029601607471704483, 0.028116406872868538, -0.030028389766812325, 0.004515354987233877, -0.03335729241371155, -0.020605040714144707, 0.06312961131334305, 0.00385170872323215, -0.01463009137660265, 0.027365269139409065, 0.011890149675309658, 0.0037684862036257982, -0.013520457781851292, 0.04216607287526131, 0.007916808128356934, -0.010712231509387493, 0.032913438975811005, -0.053740404546260834, -0.011070728302001953, 0.022021958604454994, -0.03228180110454559, -0.018436986953020096, -0.009303850121796131, 0.03636183589696884, -0.023968083783984184, -0.0030109479557722807, -0.035166848450899124, 0.06442703306674957, 0.04189293459057808, -0.009568455629050732, -0.03823968023061752, -0.03180380538105965, 0.036498408764600754, -0.015278800390660763, 0.008134467527270317, 0.027467697858810425, 0.03255493938922882, -0.058486223220825195, 0.0013561001978814602, -0.01787363551557064, 0.040936943143606186, -0.04602418467402458, 0.003823967883363366, -0.012974176555871964, 0.007571114692837, -0.014399629086256027, 0.07484051585197449, 0.0636758953332901, -0.09218493849039078, -0.038683533668518066, 0.0009687954443506896, 0.01160847395658493, 0.04042480140924454, -0.017634637653827667, 0.03368164598941803, -0.027979835867881775, 0.019358837977051735, 0.03422792628407478, 0.02794569358229637, -0.034757137298583984, -0.009218493476510048, 0.029294325038790703, -0.02024654485285282, -0.0028018245939165354, 0.007221153471618891, -0.0015022731386125088, -0.053330693393945694, 0.005142724607139826, 0.026358064264059067, 0.00016777872224338353, 0.007472955156117678, 0.019563693553209305, 0.007353456225246191, 0.023353517055511475, -0.020314829424023628, 0.0667487233877182, 0.01048176921904087, 0.02610199525952339, 0.0024113189429044724, 0.08098617941141129, -0.02936260960996151, -0.0077034174464643, 0.05944221466779709, -0.010857337154448032, -0.02721162885427475, 0.025402072817087173, -0.009628204628825188, -0.012154755182564259, -0.05514024943113327, -0.026426348835229874, -0.03823968023061752, -0.0014009122969582677, -0.03755682706832886, -0.02381444349884987, -0.009628204628825188, -0.02413879707455635, -0.030369816347956657, 0.016738394275307655, 0.08187388628721237, 0.0018778413068503141, 0.02567521296441555, 0.011429225094616413, 0.001652713748626411 ]
44,082
dataclass_array.array_dataclass
__post_init__
Validate and normalize inputs.
def __post_init__(self) -> None: """Validate and normalize inputs.""" cls = type(self) # First time, we perform additional check & updates if cls._dca_fields_metadata is None: # pylint: disable=protected-access _init_cls(self) # Register the tree_map here instead of `__init_subclass__` as `jax` may # not have been imported yet during import. if enp.lazy.has_jax and not cls._dca_jax_tree_registered: # pylint: disable=protected-access enp.lazy.jax.tree_util.register_pytree_node_class(cls) cls._dca_jax_tree_registered = True # pylint: disable=protected-access if enp.lazy.has_torch and not cls._dca_torch_tree_registered: # pylint: disable=protected-access # Note: Torch is updating it's tree API to make it public and use `optree` # as backend: https://github.com/pytorch/pytorch/issues/65761 enp.lazy.torch.utils._pytree._register_pytree_node( # pylint: disable=protected-access cls, flatten_fn=lambda a: a.tree_flatten(), unflatten_fn=lambda vals, ctx: cls.tree_unflatten(ctx, vals), ) cls._dca_torch_tree_registered = True # pylint: disable=protected-access # Validate and normalize array fields # * Maybe cast (list, np) -> xnp # * Maybe cast dtype # * Maybe broadcast shapes # Because this is only done inside `__init__`, it is ok to mutate self. # Cast and validate the array xnp are consistent xnp = self._cast_xnp_dtype_inplace() # Validate the batch shape is consistent # However, we need to be careful that `_ArrayField` never uses # `@epy.cached_property` shape = self._broadcast_shape_inplace() # TODO(epot): When to validate (`field.validate()`) if xnp is None: # No values # Inside `jax.tree_utils`, tree-def can be created with `None` values. # Inside `jax.vmap`, tree can be created with `object()` sentinel values. assert shape is None xnp = None # Cache results # Should the state be stored in a separate object to avoid collisions ? assert shape is None or isinstance(shape, tuple), shape self._setattr('_shape', shape) self._setattr('_xnp', xnp)
(self) -> NoneType
[ -0.003898044815286994, -0.010750397108495235, 0.013494985178112984, 0.0660889521241188, -0.048691365867853165, 0.041579145938158035, -0.047414813190698624, -0.01956772804260254, 0.015546588227152824, -0.0007459854823537171, 0.06262402981519699, 0.005949647165834904, 0.025895781815052032, 0.02923305705189705, -0.013294383883476257, -0.012811117805540562, 0.015145385637879372, 0.05817432701587677, 0.030272534117102623, 0.015519233420491219, -0.06503123790025711, -0.0460653156042099, -0.019403601065278053, 0.0442051962018013, -0.03386512026190758, 0.03308095037937164, 0.00745871476829052, -0.010048293508589268, 0.01024889387190342, -0.0255128163844347, -0.054891765117645264, 0.018592078238725662, 0.025002196431159973, 0.002452804706990719, 0.05507412925362587, -0.05551180616021156, 0.01619398221373558, 0.02082604542374611, -0.05314106494188309, 0.003852453548461199, 0.01724257878959179, -0.07349295914173126, -0.00717149069532752, -0.021227248013019562, 0.0358346588909626, 0.028375942260026932, -0.008037722669541836, 0.05842963978648186, -0.08768092840909958, -0.023142077028751373, -0.025075141340494156, -0.049347877502441406, 0.06911621242761612, 0.04384046420454979, -0.03764006868004799, 0.05704366788268089, 0.04132383316755295, 0.07425889372825623, 0.020151296630501747, -0.021865524351596832, 0.014580055139958858, 0.03785890340805054, 0.031567323952913284, -0.004278731066733599, -0.030564317479729652, -0.010659215040504932, -0.013422039337456226, -0.017461417242884636, -0.010786870494484901, 0.010568032041192055, -0.05875789746642113, -0.02051602490246296, 0.012719935737550259, 0.04132383316755295, 0.06455709040164948, 0.014616528525948524, -0.003059167182072997, 0.02020600438117981, -0.008598494343459606, -0.007011921610683203, 0.01555570587515831, 0.008753503672778606, -0.03300800547003746, 0.004066732246428728, 0.002740029012784362, -0.0429651141166687, 0.024819830432534218, 0.06470298022031784, 0.044934652745723724, -0.0023160313721746206, -0.042126238346099854, -0.009938874281942844, 0.005708014126867056, 0.03971902281045914, -0.01491742953658104, 0.03512343391776085, 0.006369085982441902, -0.03227854520082474, -0.03884367272257805, -0.003854733193293214, 0.0008833288447931409, 0.07250819355249405, -0.003665529889985919, 0.01398736983537674, -0.016786668449640274, 0.02494748681783676, -0.02923305705189705, -0.028394179418683052, 0.012218432500958443, -0.005498294718563557, -0.03492283448576927, 0.00530225271359086, -0.005812873598188162, 0.057481344789266586, -0.022832056507468224, -0.06488534808158875, -0.028540071099996567, -0.026898788288235664, -0.02864948846399784, 0.040667321532964706, 0.07593664526939392, 0.03548816591501236, -0.04055790230631828, -0.0030272535514086485, -0.03399277478456497, 0.039974335581064224, 0.09811218827962875, 0.0429651141166687, -0.021974941715598106, -0.07622843235731125, 0.002265881048515439, 0.013267029076814651, -0.025932256132364273, 0.04829016327857971, 0.047414813190698624, -0.0035743475891649723, 0.03891662135720253, -0.027774138376116753, -0.10591740161180496, -0.029670732095837593, -0.012874945066869259, -0.015874844044446945, 0.07914626598358154, -0.03556111082434654, 0.002432288834825158, 0.018628550693392754, -0.0018749367445707321, -0.00474604032933712, -0.035962313413619995, -0.03198676183819771, -0.022248489782214165, -0.036910608410835266, 0.04818074405193329, -0.03275269269943237, -0.006715578958392143, 0.008110668510198593, -0.04818074405193329, -0.06317111849784851, 0.03590760380029678, 0.032169125974178314, -0.07929215580224991, -0.025950491428375244, -0.016768431290984154, -0.038150686770677567, -0.01304819155484438, -0.0000989470790955238, -0.007258113939315081, -0.1251751035451889, -0.06262402981519699, 0.08082401752471924, 0.0076091657392680645, -0.034047484397888184, -0.02430921047925949, 0.037457700818777084, -0.032789167016744614, 0.03291682153940201, 0.04376751929521561, 0.06886089593172073, -0.021427849307656288, 0.054599981755018234, -0.016631657257676125, 0.04256391152739525, -0.006989126093685627, -0.004119161982089281, -0.001415605773217976, 0.06915268301963806, 0.0047004492953419685, 0.003818260272964835, 0.03231501951813698, 0.05419877916574478, 0.01896592602133751, -0.004224021453410387, 0.03329978883266449, -0.04770659655332565, -0.01851913146674633, 0.03587112948298454, -0.012373442761600018, 0.010485968552529812, 0.013194083236157894, 0.04088615998625755, -0.044387560337781906, 0.007239877246320248, 0.06791260093450546, -0.0009055545669980347, -0.07491540163755417, 0.011561919935047626, -0.013932660222053528, 0.062076933681964874, -0.020680153742432594, -0.04103204980492592, 0.029780149459838867, 0.003373746294528246, -0.01242815237492323, 0.014187971130013466, 0.00018649637058842927, -0.08417952805757523, 0.005484617315232754, -0.014306508004665375, 0.02305089309811592, 0.0053068120032548904, 0.06349937617778778, 0.04584647715091705, -0.008425247855484486, -0.0417250357568264, 0.0038068625144660473, -0.020297188311815262, 0.016722839325666428, -0.0013768532080575824, 0.029087163507938385, -0.07900037616491318, -0.010467732325196266, -0.002427729545161128, -0.013184965588152409, 0.0029725441709160805, 0.03526932746171951, 0.021683158352971077, 0.04205329343676567, -0.025056906044483185, -0.013349093496799469, 0.011297491379082203, 0.001432702410966158, -0.033518627285957336, 0.001985495211556554, -0.07469657063484192, -0.023160312324762344, 0.0006251688464544713, 0.05416230484843254, 0.028102396056056023, -0.0035082402173429728, -0.012710817158222198, -0.07261761277914047, -0.06481239944696426, -0.038150686770677567, 0.004850900266319513, 0.0208625178784132, -0.05689777433872223, 0.021555503830313683, 0.04260038584470749, 0.02454628422856331, -0.032223835587501526, -0.011598392389714718, -0.051171526312828064, 0.006811320316046476, 0.060508597642183304, -0.032515618950128555, -0.006104657426476479, 0.06003445014357567, -0.010850697755813599, 0.0033783053513616323, 0.017333760857582092, 0.01987774856388569, 0.007230759132653475, -0.029397184029221535, 0.03235149011015892, 0.004433740861713886, -0.015118030831217766, -0.031001992523670197, 0.020388370379805565, 0.00120816589333117, 0.03176792338490486, 0.04176151007413864, -0.06444767117500305, -0.012966128066182137, 0.0044679343700408936, -0.027828847989439964, -0.056204792112112045, -0.03200500085949898, -0.022321434691548347, -0.027537064626812935, -0.03430279344320297, -0.013567931018769741, 0.020443079993128777, 0.0015614974545314908, -0.003961872309446335, 0.003236972726881504, -0.07951099425554276, -0.04887373000383377, 0.026698186993598938, -0.034995779395103455, -0.03858836367726326, 0.0021256881300359964, 0.0321144163608551, 0.04861842095851898, 0.004768835846334696, 0.02547634392976761, -0.0190023984760046, -0.029798386618494987, 0.03950018808245659, 0.04540880024433136, 0.010203302837908268, 0.003608540864661336, 0.019202999770641327, -0.020297188311815262, 0.006888825446367264, -0.014488873071968555, -0.027154099196195602, 0.0659065917134285, -0.03548816591501236, 0.019367126747965813, 0.06703725457191467, -0.062405187636613846, 0.02394448034465313, -0.02987133339047432, -0.033755701035261154, -0.029470130801200867, -0.022485563531517982, 0.0834500715136528, -0.0058493465185165405, -0.017023742198944092, -0.0330444760620594, -0.031603798270225525, 0.017196988686919212, 0.03326331451535225, 0.006264226511120796, -0.013020837679505348, -0.036308806389570236, 0.007353855296969414, -0.03829658031463623, -0.006957211997359991, -0.04701361060142517, 0.0026260511949658394, 0.04384046420454979, -0.039974335581064224, -0.004310644697397947, -0.021245483309030533, -0.041214413940906525, -0.005872142501175404, 0.02556752599775791, 0.04037553817033768, 0.03083786554634571, 0.0016424218192696571, -0.05952382832765579, -0.02055249735713005, 0.057080142199993134, 0.021555503830313683, -0.03269798308610916, -0.035615820437669754, -0.04690419137477875, -0.01353145856410265, -0.005790078081190586, 0.06189456954598427, -0.011151599697768688, -0.04832663759589195, 0.0321144163608551, 0.03523285314440727, -0.0603262335062027, -0.012172841466963291, -0.03880720213055611, 0.07528013736009598, -0.02274087443947792, 0.013130255974829197, -0.07155989855527878, -0.05113505199551582, 0.004082689061760902, -0.0010976073099300265, 0.021847287192940712, -0.04019317403435707, 0.04198034480214119, -0.02773766592144966, -0.01059538684785366, 0.04785249009728432, 0.007928303442895412, -0.016722839325666428, -0.029670732095837593, -0.0040507749654352665, -0.05361521244049072, 0.039974335581064224, 0.04876431077718735, 0.03836952522397041, 0.0236526969820261, 0.02673465944826603, 0.001192208961583674, -0.03295329585671425, -0.04263686016201973, -0.046539463102817535, 0.022467326372861862, 0.002455084351822734, 0.049967918545007706, -0.040266118943691254, -0.024710413068532944, -0.011397792026400566, 0.0001481712970416993, 0.035342272371053696, 0.032515618950128555, 0.018437067046761513, 0.011881058104336262, 0.08673263341188431, 0.02396271750330925, 0.022649692371487617, 0.08439836651086807, 0.01760730892419815, 0.01352233998477459, 0.026369931176304817, 0.010841579176485538, -0.03661882504820824, -0.01212725043296814, 0.027938267216086388, 0.006077302619814873, 0.009710918180644512, -0.0016116477781906724, 0.004709567409008741, 0.0859302282333374, -0.00980210117995739, -0.003980109002441168, 0.01574718952178955, 0.01044037751853466, -0.04300158843398094, 0.01588396169245243, -0.06306169927120209, 0.039646077901124954, -0.0026260511949658394, 0.019987167790532112, -0.02243085391819477, -0.04887373000383377, -0.011698693037033081, 0.023470332846045494, -0.019804803654551506, 0.011589274741709232, 0.002318310784175992, 0.01817263849079609, -0.02308736741542816, 0.008534666150808334, 0.05872142314910889, -0.043402791023254395, 0.04132383316755295, -0.00047329330118373036, -0.008739826269447803, 0.04205329343676567, -0.0423450767993927, -0.05977913737297058, 0.06634426862001419, 0.03331802412867546, 0.060545068234205246, -0.013093783520162106, -0.022813819348812103, -0.03370099142193794, 0.015683362260460854, -0.036874134093523026, 0.014598291367292404, 0.04270980507135391, -0.010048293508589268, -0.014844483695924282, 0.01289318222552538, -0.02704467996954918, -0.013203201815485954, 0.01445239968597889, 0.03638175129890442, 0.0022453649435192347, -0.018455304205417633, -0.025658708065748215, 0.05810138210654259, 0.010950998403131962, 0.018437067046761513, -0.015947790816426277, -0.05408935993909836, -0.011726047843694687, -0.0028471683617681265, -0.06258755177259445, -0.04486170783638954, -0.03767653927206993, 0.028722435235977173, -0.04081321135163307, 0.0789274275302887, -0.010230657644569874, -0.02051602490246296, -0.03543345630168915, 0.03928134962916374, -0.0057581644505262375, -0.0019068506080657244, 0.019184762611985207, -0.05919557064771652, 0.03942723944783211, 0.04610178619623184, 0.0398649163544178, 0.029944278299808502, -0.029324239119887352, 0.01527304109185934, 0.0039983452297747135, 0.03178616240620613, -0.031220830976963043, -0.02492924965918064, -0.022905001416802406, -0.01817263849079609, -0.002039064886048436, 0.04241802170872688, 0.015309513546526432, 0.0020869355648756027, 0.03902604058384895, -0.029433656483888626, 0.025676945224404335, -0.06072743237018585, -0.032789167016744614, 0.0007921465439721942, -0.008780858479440212, 0.027500592172145844, 0.019075343385338783, -0.024090372025966644, 0.028065921738743782, -0.012109014205634594, -0.011616629548370838, 0.020607206970453262, 0.048107799142599106, 0.029470130801200867, -0.06411941349506378, 0.031859107315540314, 0.0609462708234787, -0.029780149459838867, 0.03430279344320297, 0.014224443584680557, 0.020169531926512718, 0.0060681845061481, -0.10270778089761734, 0.030309008434414864, 0.039646077901124954, -0.016257809475064278, 0.031038466840982437, 0.021227248013019562, 0.012400797568261623, 0.015637770295143127, 0.009364425204694271, -0.009410017170011997, 0.03052784502506256, -0.028758907690644264, -0.012692580930888653, -0.003968711011111736, -0.0025485462974756956, -0.0005536477547138929, 0.03247914835810661, -0.011233663186430931, 0.008156259544193745, -0.01902063563466072, 0.004078129772096872, 0.054271724075078964, 0.043074533343315125, 0.027518827468156815, -0.024965722113847733, -0.005457262508571148, -0.011817230843007565, 0.04690419137477875, 0.011944885365664959, -0.00784623995423317, -0.013194083236157894, -0.009419134818017483, -0.0352146178483963, -0.02303265780210495, 0.045554693788290024, 0.002386697567999363, 0.007818885147571564, -0.02367093414068222, -0.011324846185743809, 0.021683158352971077, -0.018528250977396965, -0.0448252335190773, 0.037785958498716354, -0.010923643596470356, 0.020169531926512718, -0.05543885752558708, -0.0016686366870999336, -0.017215223982930183, -0.05193745717406273, 0.08403363823890686, -0.00915470626205206, -0.027445882558822632, -0.027263518422842026, 0.03683766350150108, 0.008119787089526653, 0.019075343385338783, 0.03971902281045914, 0.02113606408238411, -0.08527372032403946, -0.0621863529086113, -0.011151599697768688, -0.026588767766952515, -0.0012480581644922495, 0.012309614568948746, 0.03260680288076401, -0.09234946966171265, -0.009583263657987118, 0.05540238693356514, -0.07112222164869308, -0.012719935737550259, 0.011598392389714718, 0.0019729577470570803, -0.05726250633597374, -0.004417784046381712, -0.0710492730140686, -0.028211813420057297, -0.004055334255099297, 0.04380399361252785, 0.01927594467997551, 0.03734828531742096, -0.011744285002350807, -0.0016093681333586574, -0.047086555510759354, -0.04891020432114601, -0.07072101533412933, -0.0566059909760952, 0.03169497847557068, 0.023415623232722282, 0.018546486273407936, -0.024163318797945976, 0.030254298821091652, 0.016239574179053307, -0.021591976284980774, -0.06160278618335724, -0.02771942876279354, 0.054271724075078964, -0.06685488671064377, -0.0004083258972968906, 0.02771942876279354, 0.06929857283830643, -0.008014926686882973, 0.03016311675310135, -0.05981561169028282, -0.005908615421503782, -0.026570532470941544, 0.007280909456312656, 0.004987673833966255, 0.008552903309464455, 0.03570700064301491, -0.015254804864525795, -0.023798588663339615, 0.010103002190589905, -0.0005989539786241949, -0.03018135204911232, -0.02711762674152851, -0.010549795813858509, -0.03725710138678551, 0.00021399353863671422, 0.04632062464952469, -0.021245483309030533, 0.051536254584789276, -0.04394988343119621, 0.012054304592311382, -0.01089628878980875, 0.047487758100032806, -0.03448515757918358, 0.03942723944783211, 0.016722839325666428, 0.005252102389931679, 0.004461095668375492, -0.007198845036327839, 0.004180709831416607, -0.010531559586524963, 0.05069737881422043, 0.024436865001916885, 0.036874134093523026, 0.009118233807384968, 0.015820134431123734, 0.039354294538497925, -0.0966532751917839, -0.01196312252432108, -0.01493566669523716, -0.007750498130917549, 0.01931241899728775, -0.02704467996954918, 0.04205329343676567, -0.004333440214395523, -0.017324643209576607, 0.020078349858522415, -0.03822363540530205, 0.06495829671621323, -0.03517814353108406, 0.07703083753585815, -0.01708756946027279, -0.00576272327452898, 0.04883725941181183, 0.03612644225358963, 0.046831246465444565, -0.05780959874391556, -0.006656310521066189, 0.024108609184622765, 0.05966971814632416, -0.005566681269556284, 0.027901794761419296, -0.03143966943025589, -0.018592078238725662, -0.05109858140349388, -0.013385566882789135, -0.027847085148096085, 0.06867853552103043, -0.0516456738114357, -0.06955388188362122, -0.02239438146352768, 0.007586370222270489, 0.06233224272727966, -0.03760359436273575, 0.02549458108842373, 0.030673736706376076, -0.009710918180644512, 0.03207794576883316, 0.033518627285957336, 0.027810610830783844, -0.06455709040164948, -0.0035720679443329573, 0.031859107315540314, 0.05543885752558708, 0.05996150150895119, -0.02802944928407669, 0.026260511949658394, -0.0020652797538787127, 0.015510114841163158, 0.05328695476055145, 0.02582283690571785, -0.0005177446873858571, 0.03198676183819771, 0.02454628422856331, -0.06871500611305237, 0.04106852412223816, -0.04756070673465729, 0.03227854520082474, 0.026205802336335182, -0.030400190502405167, -0.029780149459838867, -0.05171861872076988, -0.06433825194835663, 0.02461922913789749, 0.015975145623087883, -0.06047212332487106, 0.003319036914035678, 0.007595488335937262, -0.008653203025460243, -0.0386248379945755, 0.03990139067173004, 0.04759717732667923, 0.028758907690644264, 0.0245827566832304, -0.012227551080286503, 0.021263720467686653, -0.06601601094007492, 0.03176792338490486, 0.04646651819348335, -0.0052748979069292545, 0.017169633880257607, 0.05656952038407326, -0.021683158352971077, 0.043147481977939606, -0.02494748681783676, -0.05343284830451012, -0.11284725368022919, -0.01258316170424223, -0.049274932593107224, -0.03913545608520508, -0.01801762916147709, 0.06430178135633469, 0.014115025289356709, 0.05948735401034355, 0.021701395511627197 ]
44,083
dataclass_array.array_dataclass
__tf_flatten__
null
def __tf_flatten__(self) -> tuple[_TreeMetadata, tuple[DcOrArray, ...]]: components, metadata = self.tree_flatten() return metadata, components
(self) -> 'tuple[_TreeMetadata, tuple[DcOrArray, ...]]'
[ -0.018708160147070885, -0.04975496977567673, 0.03548726812005043, 0.003621521173045039, -0.002543254289776087, -0.01230225246399641, -0.0006517373258247972, -0.03679756820201874, 0.07789000123739243, -0.007484173867851496, 0.018362386152148247, -0.018944742158055305, -0.03721613436937332, -0.02826242335140705, 0.028862977400422096, 0.019144926220178604, -0.04917261376976967, 0.049718573689460754, 0.017834626138210297, 0.0529579222202301, -0.004813529551029205, -0.007525120861828327, 0.0023885660339146852, -0.018617166206240654, 0.001701568951830268, -0.03217512369155884, 0.033012259751558304, -0.05889066681265831, -0.005869048181921244, -0.02007305435836315, -0.056306466460227966, -0.031847547739744186, 0.04811709374189377, -0.018562570214271545, -0.058344706892967224, -0.024058546870946884, -0.016597121953964233, 0.05932743102312088, 0.009881839156150818, 0.019345110282301903, -0.00419022748246789, -0.09710772335529327, -0.06242119520902634, -0.01557800080627203, 0.032575491815805435, -0.0042084259912371635, 0.028535403311252594, -0.0703921839594841, -0.03153817355632782, 0.022129496559500694, 0.034886714071035385, -0.01678820699453354, -0.032721079885959625, 0.03619701415300369, -0.02291203662753105, -0.0026524458080530167, 0.028917573392391205, 0.028881177306175232, -0.034741126000881195, 0.057179998606443405, 0.03293946385383606, 0.0332852378487587, -0.010746272280812263, 0.03062824159860611, -0.033831194043159485, -0.0344681479036808, -0.011155741289258003, 0.02667914517223835, -0.048080697655677795, 0.047461945563554764, -0.09630698710680008, -0.03694315627217293, 0.013630750589072704, -0.03938176855444908, -0.0033894891384989023, -0.06919107586145401, 0.06791716814041138, 0.0034122373908758163, 0.060746923089027405, -0.0622028112411499, -0.0824032574892044, 0.018999338150024414, -0.05161122605204582, 0.05561491847038269, 0.056743230670690536, 0.03264828771352768, -0.01016391720622778, 0.043458253145217896, -0.0953606590628624, 0.0024067647755146027, -0.03879941254854202, 0.04695238545536995, -0.03981853276491165, 0.08779004216194153, 0.011956479400396347, 0.027024919167160988, -0.04513252526521683, 0.011274032294750214, -0.043167077004909515, 0.028044041246175766, 0.003152907360345125, -0.05324910208582878, -0.025933003053069115, 0.05532374233007431, -0.004476855508983135, -0.012056571431457996, -0.018216798081994057, -0.001322810654528439, 0.03648819029331207, 0.004017340485006571, -0.021201368421316147, 0.021656332537531853, 0.0690818801522255, 0.08313120156526566, -0.0150229437276721, -0.057907942682504654, 0.012365948408842087, 0.004124257247895002, 0.0027161408215761185, 0.0039377217181026936, 0.03759830445051193, 0.03774389252066612, 0.0029663715977221727, -0.0195452943444252, -0.06336752325296402, 0.07173887640237808, 0.03304865583777428, -0.006619740277528763, -0.03677937015891075, -0.057616762816905975, -0.037780292332172394, 0.01819859817624092, -0.022184092551469803, 0.03770749643445015, 0.019909266382455826, -0.028389813378453255, 0.05288513004779816, -0.0405464768409729, -0.037489112466573715, 0.004768033046275377, -0.053576674312353134, 0.02143794856965542, 0.03970934450626373, 0.010900960303843021, -0.061074499040842056, -0.007657060399651527, 0.033594612032175064, -0.016014767810702324, -0.0289903674274683, -0.039126988500356674, -0.05787154287099838, -0.01348516158759594, -0.015523404814302921, 0.021073978394269943, -0.0210011824965477, 0.023567184805870056, -0.013885530643165112, -0.05233917012810707, 0.04105604067444801, -0.01594197191298008, -0.0674804076552391, -0.05710720270872116, 0.005395884625613689, 0.015405113808810711, 0.006660687271505594, -0.009663456119596958, 0.01035500317811966, -0.06871791183948517, -0.057143598794937134, -0.018653564155101776, 0.01001832913607359, -0.020109452307224274, -0.012684423476457596, 0.015778185799717903, -0.0364517942070961, 0.03659738227725029, 0.028389813378453255, -0.02527785301208496, -0.0236399807035923, 0.04884503781795502, 0.015605298802256584, -0.03042805753648281, -0.01822589710354805, -0.007170247845351696, 0.009294934570789337, -0.00023572873033117503, -0.004106058739125729, 0.008794472552835941, 0.05161122605204582, 0.007329485844820738, 0.016988392919301987, 0.014285899698734283, -0.0006568557000719011, 0.05437741428613663, 0.0009724876144900918, -0.024731896817684174, -0.01828959211707115, 0.0038945002015680075, 0.0420023649930954, -0.02109217643737793, -0.039600152522325516, -0.054777782410383224, 0.0355236642062664, 0.053139910101890564, -0.03847183659672737, 0.021164970472455025, 0.007065605837851763, 0.01114664226770401, -0.0735587403178215, 0.008130224421620369, -0.004247098229825497, -0.0024613605346530676, 0.043167077004909515, -0.026842933148145676, 0.030027687549591064, -0.06733481585979462, -0.012648026458919048, -0.017297768965363503, -0.03703415021300316, -0.023912958800792694, 0.018562570214271545, -0.05452300235629082, 0.022711850702762604, -0.003152907360345125, -0.046006057411432266, -0.007766251917928457, -0.03992772474884987, -0.013375970534980297, 0.011101145297288895, -0.05081048980355263, -0.008198468945920467, -0.0508468858897686, -0.053722262382507324, -0.01708848401904106, -0.012438742443919182, 0.038362644612789154, 0.03630620613694191, -0.032721079885959625, 0.0405464768409729, -0.0039172484539449215, -0.03395858407020569, -0.03179295361042023, 0.019199522212147713, -0.0005542042199522257, 0.019854672253131866, -0.020054856315255165, 0.022420674562454224, 0.00006966650835238397, 0.024568108841776848, -0.01225675642490387, -0.04327626898884773, 0.025350648909807205, 0.04520532116293907, 0.023039426654577255, 0.019472500309348106, -0.08524223417043686, -0.009035604074597359, -0.01524132676422596, 0.010600684210658073, -0.03847183659672737, 0.05918184295296669, -0.008494196459650993, 0.06213001534342766, 0.06172964721918106, -0.05277593806385994, -0.007889092899858952, 0.05037372186779976, -0.0236399807035923, -0.05634286254644394, 0.003721613436937332, 0.10147538781166077, 0.09274005889892578, -0.013976523652672768, 0.011374124325811863, -0.01237504743039608, -0.06879070401191711, 0.02249346859753132, 0.024349724873900414, 0.009645257145166397, 0.03232071176171303, 0.013212182559072971, -0.04840827360749245, -0.05394064635038376, 0.01136502530425787, -0.005814452189952135, -0.007766251917928457, -0.003992317710071802, -0.04542370140552521, -0.007475074380636215, -0.03636080026626587, 0.03197493776679039, 0.024568108841776848, 0.021547140553593636, -0.006010087206959724, 0.0254234429448843, -0.03115600161254406, -0.10824526846408844, 0.012866409495472908, 0.04578767344355583, -0.012620728462934494, 0.01834418810904026, 0.01237504743039608, 0.040910448879003525, 0.00962705910205841, 0.035614658147096634, -0.02489568293094635, 0.05929103493690491, 0.010891861282289028, 0.006005537696182728, 0.032429903745651245, -0.020637210458517075, 0.0135033605620265, 0.007998283952474594, -0.008398653008043766, -0.04888143762946129, -0.047170769423246384, 0.01562349684536457, -0.0033667408861219883, 0.037015948444604874, 0.06296715140342712, -0.016870101913809776, -0.022602660581469536, 0.00908565055578947, 0.039126988500356674, 0.02398575283586979, -0.012784515507519245, 0.03226611763238907, -0.049427393823862076, 0.0005709810648113489, 0.017179477959871292, -0.05041011795401573, -0.01603296585381031, 0.016961093991994858, 0.03981853276491165, -0.034977708011865616, 0.019618090242147446, 0.034595537930727005, -0.054013442248106, -0.0021258238703012466, -0.07468704879283905, 0.0112922303378582, 0.0004535432090051472, -0.010728074237704277, 0.042257145047187805, -0.006869971286505461, 0.011119344271719456, 0.05787154287099838, -0.034650132060050964, 0.05263034626841545, 0.03557826206088066, 0.020764600485563278, -0.03237530589103699, -0.03756190836429596, 0.03945456072688103, 0.056852422654628754, 0.06172964721918106, -0.0840047299861908, 0.035560064017772675, 0.0156507957726717, 0.0384354405105114, 0.056706834584474564, 0.02243887260556221, 0.02509586699306965, -0.004035539459437132, 0.044513773173093796, -0.029936695471405983, -0.03557826206088066, 0.03683396428823471, -0.04000052064657211, -0.030082283541560173, 0.006433204747736454, -0.03139258176088333, 0.028972169384360313, -0.012011075392365456, 0.006237569730728865, 0.0016299120616167784, -0.05830831080675125, -0.011082946322858334, -0.025459839031100273, 0.00010350452794227749, -0.009890938177704811, 0.05266674607992172, 0.01863536611199379, -0.024586306884884834, -0.009818144142627716, 0.022548064589500427, -0.010828166268765926, -0.007898191921412945, -0.04593326523900032, 0.0259512010961771, 0.022184092551469803, -0.007779900915920734, -0.026751941069960594, -0.06424105167388916, -0.011137542314827442, -0.0015719039365649223, -0.0018562570912763476, -0.006865421310067177, -0.009308583103120327, -0.04920900985598564, -0.019781876355409622, -0.05870867893099785, -0.009090200066566467, 0.02132875844836235, -0.010764471255242825, -0.04575127735733986, -0.01676090992987156, 0.02393115684390068, -0.009372278116643429, -0.03890860453248024, 0.043603841215372086, 0.04797150567173958, 0.031192397698760033, 0.05765316262841225, 0.0783267691731453, 0.009881839156150818, 0.003960470203310251, 0.05423182621598244, 0.055687714368104935, 0.02758907526731491, -0.005964590702205896, 0.03293946385383606, -0.015341418795287609, 0.00808927696198225, 0.0025114065501838923, 0.004895423073321581, -0.08225766569375992, 0.04935460165143013, 0.0005300341872498393, 0.017370563000440598, 0.01992746628820896, -0.021201368421316147, -0.03788948431611061, -0.03162916377186775, -0.05681602656841278, -0.01562349684536457, 0.0061010802164673805, 0.0012625277740880847, 0.021255964413285255, 0.024786490947008133, 0.03537807613611221, 0.02644256502389908, 0.07992824912071228, -0.08051060140132904, 0.009718052111566067, -0.02465910091996193, -0.08051060140132904, 0.07221204042434692, -0.03727073222398758, -0.024295128881931305, 0.04083765670657158, 0.004379037767648697, 0.06791716814041138, -0.00607833219692111, 0.0025500785559415817, 0.0032825723756104708, 0.010227612219750881, -0.058344706892967224, -0.04680679738521576, 0.006997361313551664, -0.025405244901776314, -0.011264932341873646, 0.03916338458657265, 0.0005209348746575415, 0.05736198276281357, -0.10744452476501465, 0.04695238545536995, -0.06879070401191711, -0.08429591357707977, -0.007038308307528496, 0.04724356159567833, -0.03352181985974312, 0.007993734441697598, -0.0026524458080530167, 0.04491414129734039, -0.005259395111352205, 0.024859286844730377, -0.041529200971126556, -0.00287082907743752, -0.05215718597173691, -0.009517867118120193, -0.006624289788305759, -0.014404190704226494, -0.011537911370396614, -0.013994722627103329, 0.06977342814207077, 0.008152971975505352, -0.00686087179929018, 0.047789521515369415, -0.003239350626245141, -0.06638848781585693, 0.041238024830818176, -0.00391952320933342, 0.005086508579552174, 0.019472500309348106, 0.035614658147096634, 0.0030323415994644165, 0.0017209049547091126, -0.00918574258685112, 0.04000052064657211, -0.009536066092550755, -0.028153233230113983, 0.00918574258685112, -0.02296663261950016, -0.015814581885933876, -0.028044041246175766, -0.003125609364360571, -0.025751017034053802, 0.010700776241719723, 0.00188355497084558, -0.051356445997953415, -0.05397704616189003, 0.027570877224206924, 0.023367000743746758, -0.0206008143723011, 0.001491147675551474, -0.029845701530575752, 0.013357771560549736, 0.044222597032785416, 0.009818144142627716, -0.021255964413285255, 0.05175681412220001, -0.020109452307224274, -0.03485031798481941, -0.007438677363097668, 0.0008121124701574445, -0.00342588615603745, 0.009663456119596958, 0.004253922495990992, -0.01225675642490387, 0.016160355880856514, -0.05725279077887535, 0.011101145297288895, -0.007802649401128292, -0.047170769423246384, -0.05368586629629135, 0.009399576112627983, 0.004536000546067953, -0.01506843976676464, -0.027134111151099205, 0.024094944819808006, -0.00165834731888026, -0.008471447974443436, 0.03663377836346626, 0.01846247911453247, 0.008671632036566734, 0.020728204399347305, 0.0010555187473073602, 0.01136502530425787, 0.020236842334270477, -0.015095737762749195, -0.043021488934755325, -0.004445008002221584, 0.03164736181497574, 0.010791769251227379, 0.0156507957726717, -0.029936695471405983, -0.014922850765287876, -0.034595537930727005, -0.04535090923309326, 0.06485980749130249, 0.03206593170762062, -0.011710798367857933, 0.021255964413285255, 0.051647622138261795, 0.009554264135658741, 0.011456018313765526, 0.0523027740418911, -0.06456863135099411, -0.0005880422540940344, -0.02041882835328579, -0.0034054128918796778, -0.0008274675346910954, 0.018817352131009102, 0.05233917012810707, -0.009872740134596825, 0.010245811194181442, 0.0040150657296180725, -0.011346826329827309, -0.04771672561764717, 0.0327574796974659, 0.01898113824427128, 0.011374124325811863, -0.013084792532026768, 0.05608808249235153, -0.003869477193802595, 0.04087405279278755, 0.011001053266227245, -0.02788025327026844, -0.025441640987992287, -0.018098507076501846, 0.02513226494193077, 0.0519024021923542, 0.006105629727244377, 0.042548324912786484, -0.03887220844626427, -0.08604297786951065, -0.012820912525057793, -0.005718909669667482, -0.03741632029414177, 0.000616477511357516, -0.013021097518503666, -0.0016299120616167784, 0.05623367056250572, -0.03566925227642059, -0.09477829933166504, 0.030664639547467232, 0.0006130653200671077, 0.007452326361089945, 0.0026046745479106903, 0.045678481459617615, -0.022220488637685776, 0.02360358275473118, -0.030755631625652313, 0.010127520188689232, -0.03858102858066559, -0.02778926119208336, 0.028135033324360847, -0.011683500371873379, 0.023876560851931572, -0.01574178785085678, 0.01737966202199459, -0.05310351029038429, 0.018507974222302437, -0.047025181353092194, 0.04829908162355423, -0.0024249632842838764, -0.04797150567173958, 0.012329550459980965, 0.0005226409994065762, 0.047607533633708954, -0.06940945982933044, 0.020928388461470604, -0.005728009156882763, -0.01271172147244215, -0.01831688918173313, 0.0126116294413805, 0.015159432776272297, -0.01822589710354805, 0.022984830662608147, -0.032866667956113815, 0.01851707510650158, -0.02758907526731491, -0.00014587314217351377, 0.013903729617595673, -0.06860871613025665, -0.04178398475050926, -0.05950941890478134, 0.03814426437020302, 0.01796201802790165, -0.049572981894016266, 0.08487826585769653, -0.015996567904949188, 0.007142949849367142, 0.00772985490038991, 0.05292152613401413, 0.005391335114836693, -0.01124673429876566, -0.038981400430202484, 0.03241170570254326, 0.0002205158380093053, -0.03013687953352928, 0.061038099229335785, 0.002131510991603136, 0.011774493381381035, -0.011274032294750214, -0.01858077012002468, 0.004415435250848532, 0.04651561751961708, -0.014877354726195335, -0.028862977400422096, 0.024586306884884834, 0.01666991598904133, 0.0010953281307592988, -0.009253987111151218, 0.0137035446241498, 0.04520532116293907, 0.05452300235629082, 0.04920900985598564, -0.01781642809510231, 0.029390737414360046, 0.04655201733112335, 0.013412367552518845, -0.010200314223766327, -0.026023996993899345, -0.06358590722084045, -0.03727073222398758, 0.03756190836429596, 0.02065541036427021, -0.04156560078263283, 0.029245149344205856, -0.04447737708687782, 0.07366792857646942, -0.031410783529281616, -0.03148357570171356, 0.06427744776010513, 0.05394064635038376, -0.04960938170552254, 0.025823811069130898, 0.004167478997260332, 0.007183896843343973, -0.02413134276866913, -0.09659816324710846, -0.020910190418362617, 0.041492804884910583, 0.020928388461470604, 0.043603841215372086, -0.007543319370597601, -0.04294869303703308, 0.050482913851737976, 0.021983906626701355, 0.03417696803808212, 0.034158769994974136, -0.010546088218688965, 0.005878147669136524, -0.020691806450486183, 0.001569629181176424, 0.038217056542634964, 0.026806537061929703, 0.0026592703070491552, -0.02331240475177765, 0.04695238545536995, 0.08000104129314423, 0.07152049243450165, 0.047170769423246384, 0.07869074493646622, 0.044222597032785416, -0.016915597021579742, -0.02504127286374569, -0.019053932279348373, 0.028790183365345, 0.0008428225992247462, 0.0008627273491583765, 0.004379037767648697, 0.002095113741233945, 0.01950889825820923, 0.03712514042854309, 0.016187652945518494, -0.025842010974884033, 0.01061888225376606, 0.04680679738521576, 0.028044041246175766, -0.026078592985868454, 0.06806275993585587, -0.01939970627427101, -0.04578767344355583, 0.05321270227432251, -0.029645517468452454, -0.01506843976676464, -0.053758662194013596, 0.08960989862680435, 0.048080697655677795, -0.011947380378842354, -0.005905445199459791, 0.032138723880052567, -0.029627319425344467, 0.0989275872707367, -0.07694367319345474, -0.029772907495498657, -0.08924593031406403, 0.03865382447838783, -0.021929312497377396, -0.01006382517516613, 0.03343082591891289, 0.007961886934936047, 0.033303435891866684, -0.011019251309335232, 0.0073021878488361835 ]
44,084
dataclass_array.array_dataclass
_broadcast_shape_inplace
Validate the shapes are consistent and broadcast values in-place.
def _broadcast_shape_inplace(self) -> Optional[Shape]: """Validate the shapes are consistent and broadcast values in-place.""" if self._all_fields_empty: # pylint: disable=using-constant-test return None # First collect all shapes and compute the final shape. shape_to_names = epy.groupby( self._array_fields, key=lambda f: f.host_shape, value=lambda f: f.name, ) shape_lengths = {len(s) for s in shape_to_names.keys()} # Broadcast all shape together try: final_shape = np.broadcast_shapes(*shape_to_names.keys()) except ValueError: final_shape = None # Bad broadcast # Currently, we restrict broadcasting to either scalar or fixed length. # This is to avoid confusion broadcasting vs vectorization rules. # This restriction could be lifted if we encounter a use-case. if ( final_shape is None or len(shape_lengths) > 2 or (len(shape_lengths) == 2 and 0 not in shape_lengths) ): raise ValueError( f'Conflicting batch shapes: {shape_to_names}. ' f'Currently {type(self).__qualname__}.__init__ broadcasting is ' 'restricted to scalar or dim=1 . ' 'Please open an issue if you need more fine-grained broadcasting.' ) def _broadcast_field(f: _ArrayField) -> None: if f.host_shape == final_shape: # Already broadcasted return elif not self.__dca_params__.broadcast: # Broadcasing disabled raise ValueError( f'{type(self).__qualname__} has `broadcast=False`. ' f'Cannot broadcast {f.name} from {f.full_shape} to {final_shape}. ' 'To enable broadcast, use `@dca.dataclass_array(broadcast=True)`.' ) self._setattr(f.name, f.broadcast_to(final_shape)) self._map_field( array_fn=_broadcast_field, dc_fn=_broadcast_field, # pytype: disable=wrong-arg-types _inplace=True, ) return final_shape
(self) -> Optional[Tuple[int, ...]]
[ 0.01984650455415249, -0.06906948983669281, -0.018447188660502434, 0.023065844550728798, -0.06643548607826233, -0.042034346610307693, -0.015932077541947365, -0.04741210862994194, 0.016023537144064903, 0.0073349750600755215, -0.027346104383468628, -0.073276586830616, 0.012035944499075413, -0.023596303537487984, 0.022901220247149467, 0.05611896142363548, -0.009511688724160194, 0.03168123960494995, 0.017157623544335365, -0.021858591586351395, 0.0016416808357462287, -0.047448690980672836, -0.03925400599837303, -0.0021412731148302555, 0.045253686606884, 0.07550817728042603, -0.0005244576022960246, -0.009584855288267136, 0.024327972903847694, 0.0064981295727193356, 0.061130888760089874, -0.023065844550728798, 0.047046273946762085, 0.010389690287411213, 0.06263080984354019, -0.022334177047014236, 0.022517094388604164, 0.051326535642147064, -0.02617543563246727, -0.032979950308799744, 0.003191903233528137, -0.06277714669704437, 0.034534744918346405, 0.006685619708150625, 0.07543500512838364, 0.04258309677243233, -0.019645296037197113, 0.05128994956612587, -0.09431204944849014, 0.037004128098487854, 0.0011426601558923721, -0.04829011112451553, 0.028535066172480583, 0.05604579672217369, -0.05030220001935959, 0.0559726282954216, 0.010709795169532299, 0.03720533475279808, -0.023267053067684174, -0.06164306029677391, 0.0015124956844374537, -0.004472322762012482, 0.041046593338251114, -0.05454587563872337, 0.012941383756697178, -0.02394384704530239, -0.042107515037059784, -0.00487931352108717, -0.013023696839809418, 0.025315724313259125, -0.04825352877378464, 0.025242557749152184, -0.019809920340776443, -0.03654683381319046, 0.004623229615390301, -0.02493159845471382, 0.044558603316545486, 0.025699850171804428, 0.010261648334562778, -0.06263080984354019, -0.031333696097135544, 0.03175440803170204, -0.0250962246209383, -0.006063701584935188, -0.005734450649470091, -0.027382688596844673, -0.014880305156111717, 0.10996975004673004, -0.011889610439538956, -0.11721327155828476, 0.04924127832055092, -0.0024053596425801516, 0.011660964228212833, 0.06350881606340408, 0.03482741490006447, 0.035687122493982315, 0.004229957703500986, -0.06676473468542099, 0.01641680859029293, -0.009667168371379375, -0.042839180678129196, -0.012703591957688332, 0.002606568392366171, -0.0526801198720932, 0.02130984142422676, 0.031973905861377716, 0.03991250693798065, -0.05180211737751961, -0.10075072944164276, 0.016846664249897003, 0.020706214010715485, -0.027309522032737732, -0.036180999130010605, 0.048509612679481506, 0.0035783154889941216, -0.006799942813813686, -0.023815805092453957, 0.03731508553028107, -0.014413866214454174, 0.030437402427196503, 0.012538966722786427, 0.07763001322746277, -0.009328771382570267, -0.0584603026509285, 0.04913153126835823, 0.04214409738779068, 0.010709795169532299, 0.032229989767074585, -0.01242921594530344, -0.010078731924295425, -0.052899621427059174, -0.0014690528623759747, -0.04437568411231041, 0.05509462580084801, -0.014468741603195667, 0.03958325833082199, 0.015886349603533745, -0.016124140471220016, -0.05739938095211983, -0.014386428520083427, 0.023888971656560898, 0.005437210202217102, 0.06892316043376923, 0.033455535769462585, 0.029742319136857986, 0.05085095018148422, 0.0006956565193831921, -0.029248442500829697, -0.02196834236383438, 0.029285024851560593, 0.005784752778708935, 0.004764989949762821, 0.046717025339603424, 0.02312071993947029, 0.004641521256417036, -0.010307378135621548, -0.02709002047777176, -0.06636232137680054, -0.0012678441125899553, -0.013078571297228336, -0.08443452417850494, -0.02304755337536335, -0.01620645448565483, -0.012913946062326431, -0.05838713422417641, 0.0008614251855760813, 0.01568514108657837, -0.05213136970996857, -0.007417287677526474, 0.04005884379148483, -0.004481468815356493, -0.03071177937090397, 0.01918800175189972, -0.011459755711257458, -0.06617940217256546, 0.07587400823831558, -0.013517572544515133, -0.059557802975177765, -0.0009225880494341254, -0.025809600949287415, 0.002581417327746749, -0.006676473654806614, -0.007668798789381981, -0.02855335734784603, -0.007815132848918438, 0.1037505716085434, -0.043168433010578156, -0.01638937182724476, 0.07609350979328156, 0.01951725408434868, -0.030656903982162476, 0.028096064925193787, -0.0019412075635045767, 0.032467782497406006, -0.010398836806416512, -0.036985836923122406, 0.0007162347319535911, 0.01999283768236637, -0.013471843674778938, -0.00759563222527504, -0.027272937819361687, -0.061277225613594055, 0.03892475739121437, 0.037498004734516144, -0.037900421768426895, -0.0349554568529129, 0.0242730975151062, 0.021419590339064598, 0.020139170810580254, -0.02749243751168251, -0.03294336795806885, -0.006164305843412876, -0.019480669870972633, -0.017303956672549248, 0.039144255220890045, -0.0460951067507267, 0.02222442626953125, -0.00862911343574524, 0.010837837122380733, 0.052899621427059174, 0.007147485390305519, -0.0029792620334774256, 0.004138499032706022, 0.0025722715072333813, -0.023102428764104843, -0.0024305107071995735, 0.0006373517098836601, 0.028114356100559235, 0.05286303907632828, -0.03431524708867073, 0.008226696401834488, -0.05933830142021179, -0.02773023024201393, -0.026870520785450935, 0.02280976064503193, -0.013051134534180164, -0.013234050944447517, -0.03557737171649933, 0.04240018129348755, 0.007563621737062931, 0.01560282800346613, -0.027199771255254745, -0.04214409738779068, -0.02904723398387432, 0.018712418153882027, -0.04368060082197189, 0.03779067099094391, 0.020852547138929367, 0.023321928456425667, -0.05070461705327034, -0.04477810114622116, 0.00007523894601035863, -0.02601080946624279, -0.0011426601558923721, 0.038229670375585556, -0.020212337374687195, -0.00038326845970004797, 0.00004065618122695014, 0.029577692970633507, -0.0039967382326722145, -0.007842570543289185, 0.03374820202589035, 0.03524812310934067, 0.020962297916412354, -0.060472387820482254, 0.0015479358844459057, 0.00022693151549901813, 0.017532601952552795, -0.018044769763946533, 0.041449010372161865, -0.0007653936627320945, 0.04964369907975197, -0.009722042828798294, -0.012795050628483295, -0.00979521032422781, 0.0201757550239563, 0.026797354221343994, 0.0535215400159359, 0.09065371006727219, -0.04430251941084862, 0.08033718168735504, -0.0172856654971838, 0.0054006269201636314, -0.03662000223994255, 0.024071888998150826, 0.013426113873720169, 0.006196316331624985, -0.058972470462322235, 0.007440152578055859, -0.01239263266324997, 0.048948612064123154, -0.03149832412600517, 0.05450929328799248, 0.009429375641047955, -0.06852073967456818, 0.017578331753611565, -0.003932717256247997, 0.006589588243514299, 0.020120879635214806, -0.06508190184831619, -0.034040868282318115, 0.05121678486466408, 0.027803396806120872, 0.03224828094244003, 0.023669471964240074, -0.05176553502678871, 0.008789165876805782, 0.016489975154399872, -0.0016736913239583373, 0.012941383756697178, 0.011066483333706856, -0.04163192957639694, -0.04766819253563881, -0.021693967282772064, 0.05802129954099655, 0.023724345490336418, 0.08055668324232101, -0.00007252376963151619, 0.031132487580180168, 0.04163192957639694, 0.0017662930767983198, -0.008002622984349728, -0.03581516444683075, -0.01090185809880495, -0.0806298553943634, -0.00206696311943233, 0.07053282856941223, -0.03036423586308956, -0.001335294684395194, 0.06987432390451431, -0.0029609703924506903, -0.03308970108628273, -0.006973714102059603, 0.04616827145218849, 0.054619044065475464, -0.03257753327488899, 0.007229798007756472, -0.029742319136857986, 0.05088753253221512, -0.03910767287015915, -0.04353426769375801, 0.054692208766937256, 0.010764670558273792, -0.001393599552102387, 0.010728087276220322, -0.0045637814328074455, -0.042839180678129196, 0.026961978524923325, -0.018895335495471954, -0.021254966035485268, 0.061204057186841965, -0.0028214959893375635, -0.05696038156747818, -0.004742125514894724, 0.060472387820482254, -0.010975025594234467, -0.047119442373514175, -0.014048032462596893, 0.034278661012649536, 0.035778582096099854, 0.06511848419904709, -0.019041668623685837, 0.02123667299747467, -0.014157782308757305, 0.052972789853811264, 0.03473595529794693, -0.06069188937544823, -0.03160807117819786, -0.019736753776669502, -0.04814377799630165, -0.028132647275924683, -0.06497214734554291, 0.01773381233215332, -0.016636308282613754, 0.009493396617472172, 0.06775248795747757, 0.007435579784214497, 0.003242205362766981, 0.013197467662394047, -0.022370759397745132, -0.001797160366550088, -0.010627483017742634, 0.03193732351064682, -0.019937962293624878, 0.015657702460885048, 0.00866569671779871, -0.0007711098296567798, -0.0038504046387970448, -0.03466278687119484, 0.009063541889190674, 0.03482741490006447, -0.03111419640481472, -0.00942023005336523, -0.04865594580769539, -0.03852234035730362, 0.0774105116724968, -0.03713217005133629, 0.07188641279935837, -0.0209988821297884, -0.009584855288267136, -0.007097182795405388, -0.038815006613731384, -0.06958165764808655, 0.040534425526857376, 0.0037132168654352427, -0.01942579448223114, 0.028205815702676773, 0.02297438681125641, -0.01065492071211338, 0.11706693470478058, 0.0584603026509285, 0.02297438681125641, 0.03885158896446228, 0.02024892158806324, 0.0061734518967568874, 0.014377282932400703, -0.0057207318022847176, 0.0304556954652071, 0.0485827773809433, -0.003242205362766981, 0.0370224192738533, 0.027126604691147804, 0.031388573348522186, -0.002924386877566576, 0.021090339869260788, -0.029815485700964928, -0.024382848292589188, 0.012977967038750648, 0.007709955330938101, 0.023102428764104843, 0.008135237731039524, -0.002109262626618147, -0.06793540716171265, 0.034132327884435654, -0.0275656059384346, -0.0038961339741945267, 0.03265070170164108, 0.0411563441157341, 0.015703432261943817, 0.008738864213228226, 0.029449651017785072, -0.005382335279136896, -0.00826785247772932, -0.014980909414589405, -0.054619044065475464, -0.02130984142422676, -0.025535225868225098, 0.021437883377075195, -0.023065844550728798, 0.00453863013535738, 0.0938730463385582, -0.008894342929124832, 0.0333457849919796, -0.004588932264596224, 0.004682677332311869, -0.02476697415113449, -0.014679096639156342, -0.063325896859169, -0.011615235358476639, -0.06936215609312057, -0.015218701213598251, -0.0034685651771724224, -0.07506917417049408, -0.05483854189515114, -0.00007431006815750152, 0.012438361532986164, 0.01785270683467388, -0.02313901111483574, 0.04214409738779068, 0.01975504495203495, 0.08084934949874878, -0.03746141865849495, 0.02542547509074211, 0.019937962293624878, 0.012401778250932693, -0.022004924714565277, 0.009658021852374077, 0.028352148830890656, -0.006383806467056274, -0.021584216505289078, 0.007476735860109329, 0.02313901111483574, -0.07013040781021118, -0.0029266735073179007, 0.014825429767370224, -0.0059722429141402245, -0.013508426956832409, 0.021200090646743774, 0.03385795280337334, 0.06376489996910095, -0.027108311653137207, 0.05293620377779007, 0.05275328829884529, 0.019316043704748154, -0.013727927580475807, -0.015127243474125862, -0.024071888998150826, -0.004266540985554457, 0.10177506506443024, 0.0035028622951358557, 0.008807457983493805, 0.01473397109657526, -0.03349211812019348, -0.013032842427492142, -0.004163650330156088, -0.08121518790721893, -0.004746698308736086, -0.008427904918789864, -0.03680291771888733, 0.03907109051942825, -0.07228883355855942, -0.019059959799051285, 0.023267053067684174, 0.011624380946159363, 0.03969300910830498, 0.004099629353731871, 0.01580403558909893, -0.0002510822960175574, -0.004298551473766565, -0.021693967282772064, 0.013609031215310097, 0.0386686734855175, -0.05220453813672066, 0.029522817581892014, -0.03826625645160675, -0.008199258707463741, 0.04510735347867012, -0.046131689101457596, 0.014230949804186821, -0.057326216250658035, -0.03201049193739891, -0.027529021725058556, 0.04133926331996918, 0.04602193832397461, 0.03627245873212814, 0.00510338693857193, 0.020102588459849358, 0.01902337744832039, -0.06899632513523102, 0.00909097958356142, -0.0250962246209383, 0.014358991757035255, -0.012228007428348064, -0.05688721314072609, -0.03497374802827835, 0.013234050944447517, 0.031004445627331734, -0.01665460132062435, -0.01909654401242733, -0.002576844533905387, -0.022242717444896698, -0.0001706273469608277, 0.04898519441485405, 0.04141242802143097, -0.009731189347803593, -0.05941146984696388, 0.02215125970542431, 0.045253686606884, -0.008313581347465515, 0.02855335734784603, -0.030565444380044937, -0.029577692970633507, 0.05011928081512451, -0.050741199404001236, -0.0349920392036438, 0.017550894990563393, -0.022023217752575874, 0.0234499704092741, 0.02429138869047165, 0.02445601485669613, -0.03021790273487568, -0.016608871519565582, -0.015328451991081238, -0.04982661455869675, 0.05235087126493454, 0.02709002047777176, -0.015621119178831577, -0.014102907851338387, -0.04496102035045624, -0.04133926331996918, 0.035266414284706116, -0.03468107804656029, 0.005638419184833765, -0.03574199974536896, -0.01160608883947134, 0.01045371126383543, -0.028846025466918945, -0.00388927455060184, -0.023321928456425667, -0.0395100899040699, -0.009484251029789448, 0.06317956000566483, 0.0007350980304181576, 0.0015753734624013305, 0.0015879489947110415, 0.061533309519290924, -0.02939477562904358, -0.017340539023280144, 0.010389690287411213, 0.01004214771091938, -0.006653609219938517, 0.036839500069618225, 0.02568155899643898, 0.001018047914840281, 0.004943334497511387, -0.03319945186376572, -0.0419611781835556, 0.01177071500569582, 0.028754565864801407, -0.05096070095896721, 0.0025974225718528032, 0.0333457849919796, -0.034937161952257156, -0.044083017855882645, -0.004673531744629145, -0.05366787314414978, -0.09767772257328033, 0.0633990615606308, 0.011917048133909702, 0.019645296037197113, 0.02502305805683136, 0.01098417118191719, -0.005610981490463018, -0.0337299108505249, -0.04071734473109245, 0.03146173804998398, 0.01115794200450182, -0.03896133974194527, -0.012749320827424526, 0.029998403042554855, 0.04181484505534172, 0.003976160194724798, 0.026047393679618835, -0.03965642303228378, 0.025242557749152184, -0.03405916318297386, 0.007508746348321438, 0.03877842426300049, -0.019224585965275764, 0.029431359842419624, 0.0014530476182699203, -0.03694925084710121, 0.06025288999080658, 0.011203671805560589, 0.00012496951967477798, -0.022846344858407974, -0.0043648588471114635, -0.0667281523346901, -0.031223947182297707, -0.003843545215204358, -0.03398599475622177, -0.003223913721740246, -0.0267424788326025, -0.029449651017785072, 0.06566723436117172, 0.05630188062787056, -0.0061825974844396114, -0.026705894619226456, -0.017221644520759583, 0.004911324009299278, 0.006621598731726408, 0.014011449180543423, -0.037498004734516144, -0.04338793456554413, 0.02328534610569477, 0.00890348944813013, 0.009310480207204819, -0.010261648334562778, 0.07338633388280869, 0.0038321129977703094, -0.06983774155378342, 0.027309522032737732, -0.04353426769375801, 0.022828051820397377, 0.01354501023888588, -0.0014633367536589503, -0.018584376201033592, -0.02330363728106022, -0.006950849201530218, -0.04649752378463745, 0.024840140715241432, -0.016938121989369392, -0.017678936943411827, 0.020358672365546227, -0.00885318685323, -0.04971686378121376, 0.03727850317955017, 0.013929136097431183, 0.03259582445025444, -0.04397326707839966, 0.0658867359161377, 0.024492597207427025, 0.07528867572546005, -0.013508426956832409, -0.0073349750600755215, -0.04748527705669403, 0.016197308897972107, -0.01671862229704857, -0.03713217005133629, 0.06398439407348633, 0.005908221937716007, -0.00975862704217434, -0.06683790683746338, -0.04825352877378464, 0.005899075884371996, 0.11048191785812378, -0.06497214734554291, 0.05176553502678871, 0.01787099987268448, 0.026230311021208763, 0.016608871519565582, 0.010920150205492973, 0.0012701305095106363, -0.012301173992455006, -0.020870840176939964, -0.034205496311187744, 0.005542387720197439, -0.006969140842556953, -0.010033002123236656, 0.01156950555741787, -0.05136311799287796, 0.08414185792207718, -0.010380544699728489, -0.037095583975315094, 0.014514470472931862, -0.004419734235852957, 0.04682677611708641, -0.05776521563529968, 0.02041354775428772, 0.009767772629857063, 0.031169071793556213, 0.027638772502541542, 0.01676435023546219, 0.09372671693563461, 0.042766015976667404, 0.043753765523433685, 0.03491887077689171, -0.027437563985586166, -0.10923808813095093, 0.015502222813665867, 0.02090742252767086, -0.05114361643791199, 0.00974948052316904, -0.026705894619226456, -0.02765706367790699, 0.0156394112855196, 0.01180729828774929, -0.05703354626893997, 0.02469380758702755, -0.06541115045547485, -0.0024236515164375305, 0.0600699707865715, 0.012035944499075413, 0.01975504495203495, 0.012593841180205345, -0.06577698141336441, 0.03826625645160675, 0.005364043638110161, -0.024876723065972328, -0.06431365013122559, -0.028864316642284393, -0.05542387813329697, 0.023760929703712463, 0.06976457685232162, -0.017770394682884216, -0.000011173304301337339, -0.007828851230442524, 0.027931438758969307 ]
44,085
dataclass_array.array_dataclass
_cast_xnp_dtype_inplace
Validate `xnp` are consistent and cast `np` -> `xnp` in-place.
def _cast_xnp_dtype_inplace(self) -> Optional[enp.NpModule]: """Validate `xnp` are consistent and cast `np` -> `xnp` in-place.""" if self._all_fields_empty: # pylint: disable=using-constant-test return None # Validate the dtype def _get_xnp(f: _ArrayField) -> enp.NpModule: try: return np_utils.get_xnp( f.value, strict=not self.__dca_params__.cast_list, ) except Exception as e: # pylint: disable=broad-except epy.reraise(e, prefix=f'Invalid {f.qualname}: ') xnps = epy.groupby( self._array_fields, key=_get_xnp, value=lambda f: f.name, ) if not xnps: return None xnp = _infer_xnp(xnps) def _cast_field(f: _ArrayField) -> None: try: # Supports for TensorSpec (e.g. in `tf.function` signature) if enp.lazy.is_tf_xnp(xnp) and isinstance( f.value, enp.lazy.tf.TensorSpec ): # TODO(epot): Actually check the dtype new_value = f.value else: new_value = np_utils.asarray( f.value, xnp=xnp, dtype=f.dtype, cast_dtype=self.__dca_params__.cast_dtype, ) self._setattr(f.name, new_value) # After the field has been set, we validate the shape f.assert_shape() except Exception as e: # pylint: disable=broad-except epy.reraise(e, prefix=f'Invalid {f.qualname}: ') self._map_field( array_fn=_cast_field, dc_fn=_cast_field, # pytype: disable=wrong-arg-types _inplace=True, ) return xnp
(self) -> Optional[Any]
[ 0.0013792908284813166, -0.020395377650856972, 0.006284081377089024, 0.07949920743703842, 0.024150952696800232, 0.016398105770349503, 0.0010916964383795857, -0.021324975416064262, 0.06931081414222717, -0.058155640959739685, 0.03285198658704758, -0.05023546889424324, 0.050607308745384216, -0.020785808563232422, -0.002283324720337987, 0.04027017951011658, -0.011248134076595306, 0.09117496013641357, 0.00926809012889862, 0.007367062848061323, -0.001227069180458784, -0.007116071414202452, -0.033130865544080734, -0.03510161489248276, -0.004875740502029657, 0.042203743010759354, 0.044657882302999496, -0.005312651861459017, -0.030453626066446304, -0.009593449532985687, 0.011963924393057823, -0.0029352051205933094, 0.04462069645524025, 0.003434864105656743, 0.036458827555179596, -0.023202762007713318, -0.026642274111509323, 0.012586754746735096, -0.024504199624061584, -0.009449361823499203, -0.012345059774816036, -0.06101880222558975, 0.014074111357331276, -0.010857703164219856, -0.011638564988970757, 0.01360931247472763, -0.010588119737803936, 0.05607334151864052, -0.033874545246362686, 0.06462564319372177, 0.017931941896677017, -0.02799948677420616, 0.0508304089307785, 0.045922134071588516, -0.05131380259990692, 0.04837627336382866, 0.01175011694431305, 0.07031477987766266, -0.022905290126800537, -0.03963805362582207, 0.024225320667028427, 0.05852748081088066, -0.00448763370513916, -0.08492805808782578, 0.027683423832058907, -0.017048824578523636, -0.01228928379714489, -0.04822753742337227, -0.013246769085526466, 0.00046189394197426736, -0.0696454718708992, -0.016546841710805893, -0.012456610798835754, -0.006270137615501881, 0.08016851544380188, 0.023239945992827415, 0.011099398136138916, 0.03627290949225426, 0.017104599624872208, -0.019056756049394608, -0.007664534263312817, 0.04365391656756401, -0.04833908751606941, 0.07466530054807663, 0.003671911545097828, -0.004829260986298323, 0.0011538633843883872, 0.1048586368560791, 0.04555029422044754, -0.05135098472237587, 0.024169543758034706, -0.032201267778873444, 0.011266726069152355, 0.039229027926921844, 0.0033302842639386654, 0.03551063686609268, 0.026326211169362068, -0.023202762007713318, -0.04179472103714943, -0.014669054187834263, -0.006414225324988365, 0.013851008377969265, -0.034990064799785614, 0.0017406719271093607, -0.016472473740577698, 0.05462316796183586, 0.04636834189295769, 0.008733571507036686, -0.0383366160094738, 0.018201526254415512, -0.06522058695554733, -0.04198063910007477, -0.001598908333107829, 0.013534944504499435, -0.0018208498368039727, -0.06629891693592072, -0.0054381475783884525, 0.021250607445836067, 0.002128779189661145, 0.015542875975370407, 0.022756556048989296, 0.06778627634048462, -0.018452517688274384, -0.012279987335205078, 0.012131252326071262, -0.008524412289261818, 0.08656415343284607, 0.032703250646591187, 0.02965417131781578, 0.004120442550629377, -0.013962559401988983, -0.00399959459900856, -0.05592460557818413, 0.044843800365924835, -0.008687091991305351, 0.007952709682285786, 0.03634727746248245, -0.03536190092563629, -0.057374779134988785, -0.07630138844251633, -0.012010403908789158, 0.006906912196427584, 0.0548090897500515, 0.008701035752892494, 0.04086512327194214, 0.03956368565559387, -0.01509666908532381, 0.03506443277001381, -0.0680093765258789, -0.019335635006427765, -0.050979144871234894, -0.0008412860333919525, 0.00020567352476064116, -0.04681454598903656, 0.02599155530333519, -0.003892691107466817, -0.026103107258677483, -0.05042138695716858, -0.0000286323393083876, 0.02253345213830471, -0.09013380855321884, 0.0014699265593662858, -0.03710954636335373, -0.021566670387983322, -0.013916079886257648, -0.0031211248133331537, -0.010355720296502113, -0.0940009355545044, 0.011183062568306923, 0.07243426144123077, 0.005210395902395248, -0.0028585135005414486, 0.028222590684890747, -0.018759284168481827, -0.025917187333106995, 0.03142040595412254, -0.006093513686209917, -0.029970234259963036, -0.026846785098314285, 0.03960086777806282, 0.05588742345571518, 0.009760777465999126, -0.01946577988564968, -0.02325853891670704, -0.03073250502347946, 0.10203266143798828, -0.031717877835035324, 0.0037532513961195946, 0.0005304517690092325, 0.02785075083374977, 0.03790900111198425, 0.06819529831409454, 0.022663595154881477, -0.01858266070485115, 0.0005595016991719604, -0.029096413403749466, -0.04651707783341408, 0.03244296461343765, -0.03657037764787674, 0.03893155977129936, 0.008747516199946404, -0.032889172434806824, 0.05811845883727074, 0.014483134262263775, -0.08961323648691177, -0.053135812282562256, -0.018712805584073067, -0.00885441992431879, -0.00018533857655711472, -0.0207672156393528, 0.029765723273158073, -0.01769954338669777, -0.019614513963460922, -0.049528975039720535, -0.03419061005115509, -0.01589612290263176, 0.03822506219148636, -0.02496899850666523, 0.02389066480100155, 0.003664939431473613, 0.07801184803247452, 0.01053234376013279, -0.021287791430950165, -0.007139311637729406, 0.049863629043102264, -0.0008796319598332047, -0.042984604835510254, 0.04744667559862137, 0.07384725660085678, -0.019670290872454643, 0.01494793314486742, 0.008371029049158096, -0.0734754130244255, -0.011601381003856659, 0.10738714039325714, -0.056891389191150665, 0.03134603798389435, -0.0021822310518473387, 0.034655407071113586, 0.01701164059340954, -0.029468251392245293, 0.012028995901346207, -0.053916674107313156, -0.024355463683605194, -0.006307321600615978, -0.03398609906435013, 0.03867127001285553, 0.015635835006833076, -0.032015349715948105, 0.0003180967760272324, -0.001476898556575179, -0.037927594035863876, -0.005108140408992767, 0.008115389384329319, -0.0030676729511469603, 0.004515521693974733, -0.027516096830368042, 0.02511773444712162, 0.03432075306773186, -0.030639545992016792, 0.0027028056792914867, 0.04082793742418289, 0.02926374040544033, -0.003546415828168392, -0.019837617874145508, -0.01162926945835352, 0.02361178584396839, -0.01497582159936428, 0.04242684692144394, 0.033242419362068176, -0.0985373705625534, 0.05421414598822594, -0.0262332521378994, -0.00647464906796813, 0.031383223831653595, 0.010206984356045723, -0.013005074113607407, 0.010225576348602772, 0.08827461302280426, 0.0207672156393528, 0.011926740407943726, -0.0673028826713562, -0.006311969365924597, 0.025824228301644325, -0.03666333854198456, -0.024783078581094742, -0.026846785098314285, -0.04346799477934837, -0.0059401304461061954, -0.02033960074186325, -0.022198796272277832, -0.002751609543338418, 0.03604980558156967, 0.008133981376886368, -0.0845562219619751, -0.010002472437918186, -0.044360410422086716, -0.010792630724608898, -0.0021345890127122402, -0.014492430724203587, -0.0030723209492862225, 0.08366380631923676, -0.02262641116976738, 0.04097667336463928, 0.07414472103118896, -0.01784827932715416, -0.03353989124298096, -0.02545238845050335, -0.015514988452196121, 0.011034326627850533, -0.0018313077744096518, 0.004055370576679707, -0.051425352692604065, -0.026028739288449287, 0.09162116050720215, -0.006985927931964397, 0.02374192886054516, 0.021380750462412834, 0.04175753518939018, 0.02760905586183071, 0.002428574487566948, 0.01162926945835352, -0.039229027926921844, 0.009342458099126816, -0.06131627410650253, 0.011136582121253014, 0.02316557802259922, -0.019967762753367424, -0.008603428490459919, 0.01175011694431305, 0.0009888596832752228, 0.024987589567899704, -0.0043458701111376286, 0.046405524015426636, 0.00047060890938155353, -0.03062095306813717, 0.002148533007130027, -0.06228305771946907, 0.04049328342080116, 0.0215480774641037, -0.068864606320858, 0.05343328416347504, -0.014362286776304245, -0.028408510610461235, -0.013655791990458965, -0.050607308745384216, -0.03058376908302307, -0.01158278901129961, 0.017680950462818146, 0.00858483649790287, 0.0005891326582059264, -0.01974465884268284, -0.03292635455727577, 0.01282845064997673, 0.026214659214019775, -0.013181697577238083, -0.02292388305068016, 0.026028739288449287, -0.003281480399891734, 0.019614513963460922, 0.05399104207754135, -0.010234871879220009, 0.014129887335002422, -0.05499500781297684, 0.0438770167529583, -0.014343694783747196, -0.0058471704833209515, -0.038559719920158386, -0.005428851582109928, 0.023425865918397903, -0.03714672848582268, -0.0438770167529583, -0.021919917315244675, -0.047186385840177536, -0.021232014521956444, 0.03978678956627846, -0.026958337053656578, 0.006581552792340517, -0.028315549716353416, -0.07265736907720566, 0.05462316796183586, -0.03818788006901741, -0.03515738993883133, 0.021380750462412834, -0.0005368427373468876, -0.02788793481886387, 0.016453882679343224, 0.03690503537654877, 0.014157774858176708, -0.028836125507950783, 0.015124556608498096, -0.0038090271409600973, 0.013163105584681034, -0.00894737895578146, -0.017448551952838898, 0.008998507633805275, -0.03948931768536568, 0.04038172960281372, -0.0010951824951916933, -0.030844056978821754, -0.0313088558614254, -0.0021148351952433586, -0.00787834171205759, 0.028408510610461235, -0.02710707299411297, 0.002465758239850402, 0.027739200741052628, -0.009630633518099785, -0.010058248415589333, 0.0798710510134697, 0.06667076051235199, 0.08239955455064774, 0.05183437466621399, -0.05726322904229164, 0.021176239475607872, 0.03930339589715004, -0.041088223457336426, -0.003762547392398119, 0.02028382569551468, -0.032164085656404495, -0.02764623984694481, -0.010420791804790497, -0.057077307254076004, 0.011164470575749874, 0.0172161515802145, -0.03301931545138359, -0.020469743758440018, 0.05038420483469963, -0.014101999811828136, 0.11437772214412689, 0.0050105322152376175, 0.04261276498436928, -0.049677710980176926, 0.027181440964341164, 0.026010148227214813, -0.022012876346707344, 0.021641038358211517, 0.014520318247377872, -0.02511773444712162, 0.05038420483469963, -0.0008604589966125786, 0.05387949198484421, 0.029096413403749466, -0.008189757354557514, 0.0046479892916977406, 0.020990319550037384, -0.027385951951146126, 0.03768589720129967, -0.06897616386413574, -0.022068653255701065, 0.019093940034508705, -0.03867127001285553, 0.10708967596292496, -0.04588494822382927, -0.01795053482055664, -0.047669779509305954, -0.005972666200250387, -0.0508304089307785, -0.004889684729278088, -0.017178967595100403, -0.019986353814601898, 0.007929469458758831, -0.05358202010393143, -0.07882989943027496, -0.00015817688836250454, 0.05447443574666977, 0.0013037610333412886, -0.023054026067256927, 0.00987232942134142, 0.036700524389743805, 0.06008920446038246, -0.023760521784424782, 0.04346799477934837, -0.02472730353474617, -0.036849260330200195, 0.0038880431093275547, -0.005289411637932062, 0.039229027926921844, 0.023834889754652977, -0.01745784841477871, 0.0016941920621320605, 0.011480533517897129, 0.03400468826293945, 0.013990447856485844, -0.0016907061217352748, 0.017429959028959274, 0.0258428193628788, 0.024541383609175682, -0.04023299366235733, 0.02599155530333519, -0.02184554934501648, 0.02926374040544033, 0.04198063910007477, 0.043914202600717545, 0.035287532955408096, -0.030156154185533524, 0.011982516385614872, -0.02448560670018196, 0.08879518508911133, -0.009788664989173412, 0.02004212886095047, 0.006093513686209917, -0.0430217869579792, 0.010569527745246887, 0.02337009087204933, -0.03653319552540779, -0.0037509272806346416, 0.055813055485486984, -0.024113768711686134, 0.012967890128493309, -0.07470248639583588, 0.022105837240815163, 0.033242419362068176, -0.013655791990458965, 0.02604733221232891, 0.01550569199025631, 0.019372818991541862, -0.0067721204832196236, -0.033279601484537125, -0.02087876759469509, 0.014176366850733757, 0.003523175837472081, -0.008570891804993153, -0.021473709493875504, 0.02574986033141613, 0.04335644468665123, -0.01692797616124153, 0.021715406328439713, -0.002707453677430749, -0.009890921413898468, 0.038894373923540115, -0.0508304089307785, 0.0430961549282074, -0.005424203351140022, 0.017857573926448822, -0.005916890222579241, 0.033242419362068176, 0.04447196051478386, -0.0034674000926315784, 0.010234871879220009, -0.03432075306773186, -0.0015698584029451013, 0.00012084771879017353, -0.0024843502324074507, 0.025470981374382973, 0.0023414245806634426, 0.007882989943027496, 0.011796596460044384, -0.014148479327559471, -0.0001907128025777638, -0.04198063910007477, -0.010504455305635929, 0.09266231209039688, 0.061130356043577194, -0.0018196877790614963, -0.03067672997713089, -0.0059959059581160545, 0.04398857057094574, -0.0024634343571960926, -0.0531729981303215, -0.005354483611881733, -0.044248856604099274, 0.07492558658123016, -0.013321137055754662, -0.10314817726612091, -0.00642352132126689, -0.02580563724040985, 0.019670290872454643, 0.021176239475607872, 0.04116259142756462, 0.044397592544555664, -0.05261524021625519, -0.029152188450098038, -0.013051553629338741, -0.00014147316687740386, -0.011294613592326641, -0.00838497281074524, -0.029970234259963036, -0.026010148227214813, -0.06139064207673073, 0.035677965730428696, -0.018127158284187317, 0.00620506564155221, -0.04023299366235733, -0.005707731004804373, -0.019131124019622803, 0.03188520669937134, 0.012456610798835754, 0.018945204094052315, -0.09913231432437897, -0.044360410422086716, 0.016063451766967773, 0.03725828230381012, -0.003760223276913166, 0.04212937504053116, 0.02199428528547287, -0.04685173183679581, 0.050012364983558655, 0.06726569682359695, -0.045141272246837616, 0.009677113965153694, 0.044360410422086716, 0.012335763312876225, -0.04711201786994934, 0.013172401115298271, -0.07113282382488251, -0.02175259031355381, -0.035919662564992905, 0.09571139514446259, -0.023667560890316963, 0.040456097573041916, 0.02457856759428978, -0.044695064425468445, -0.0189730916172266, -0.03584529459476471, -0.045178454369306564, -0.049863629043102264, 0.040307361632585526, -0.017485735937952995, -0.005744914524257183, -0.013349025510251522, 0.057709433138370514, 0.005080252420157194, -0.013878895901143551, -0.0063445051200687885, -0.008984562940895557, 0.014817790128290653, -0.026363395154476166, 0.011861668899655342, -0.027200033888220787, 0.04748385772109032, -0.01200110837817192, 0.0658155307173729, -0.06317546963691711, -0.04696328192949295, -0.036310091614723206, -0.015412732027471066, 0.012298579327762127, 0.003502259962260723, 0.06295236945152283, 0.024931814521551132, -0.04205500707030296, 0.022552043199539185, 0.012540275231003761, 0.015673018991947174, -0.0665220245718956, 0.0035789518151432276, -0.06945955008268356, -0.0054056113585829735, 0.013804527930915356, -0.0002621756575535983, 0.011489829048514366, -0.05071885883808136, -0.05897368863224983, 0.04874810948967934, 0.05834156274795532, -0.038299430161714554, 0.007952709682285786, -0.004585241433233023, -0.018062086775898933, 0.012995777651667595, 0.004796724766492844, -0.05417696386575699, 0.03636586666107178, 0.06648483872413635, -0.01751362346112728, 0.022905290126800537, 0.018350262194871902, -0.009751481004059315, -0.0028771052602678537, -0.05904805660247803, -0.01063459925353527, -0.026549315080046654, 0.0022856486029922962, 0.055961791425943375, -0.031773652881383896, 0.00953767355531454, 0.030007418245077133, -0.03448808193206787, 0.010848406702280045, 0.011740820482373238, -0.0009882787708193064, -0.0036579675506800413, -0.003699799533933401, -0.07659886032342911, -0.06670793890953064, 0.033186644315719604, 0.04276150092482567, 0.009207666851580143, -0.03727687522768974, 0.04793006554245949, 0.03378158435225487, 0.05153690651059151, -0.02984009124338627, -0.025545349344611168, -0.08314323425292969, 0.0014513346832245588, 0.08492805808782578, -0.04209218919277191, 0.03274043649435043, 0.018406037241220474, -0.05726322904229164, -0.044062938541173935, -0.02638198621571064, 0.021566670387983322, 0.057858169078826904, -0.05886213481426239, 0.025322245433926582, -0.006641976535320282, 0.03882000595331192, -0.029579803347587585, 0.007920173928141594, -0.00931457057595253, -0.0509047769010067, -0.0262332521378994, 0.017206856980919838, 0.01307014562189579, 0.013888191431760788, -0.038262248039245605, 0.029486844316124916, -0.023146986961364746, 0.041869089007377625, 0.028148222714662552, 0.05294989421963692, 0.0207300316542387, 0.04566184803843498, 0.010039656423032284, -0.04811598360538483, 0.01443665474653244, -0.012651827186346054, 0.07838369160890579, 0.050941962748765945, 0.008589483797550201, 0.0007808621739968657, -0.0038624790031462908, 0.026605090126395226, 0.0036835314240306616, 0.02589859627187252, -0.06343575567007065, 0.0007198573439382017, -0.0052987076342105865, -0.003235000418499112, -0.022198796272277832, -0.04179472103714943, 0.02205006033182144, 0.021919917315244675, 0.018220117315649986, -0.04915713518857956, -0.000592328142374754, -0.04413730651140213, 0.014009039849042892, 0.04800443351268768, -0.02394643984735012, -0.005879706237465143, 0.03822506219148636, -0.035231757909059525, 0.011452645063400269, 0.0648859292268753, -0.00865920353680849, -0.05856466293334961, -0.042649950832128525, -0.029189372435212135, -0.03749997913837433, 0.05867621675133705, -0.014687646180391312, -0.0103836078196764, -0.019837617874145508, 0.02496899850666523 ]
44,086
dataclass_array.array_dataclass
_map_field
Apply a transformation on all array fields structure. Args: array_fn: Function applied on the `xnp.ndarray` fields dc_fn: Function applied on the `dca.DataclassArray` fields (to recurse) _inplace: If True, assume the function mutate the object in-place. Should only be used inside `__init__` for performances. Returns: The transformed dataclass array.
def _map_field( self: _DcT, *, array_fn: Callable[[_ArrayField[Array['*din']]], Array['*dout']], dc_fn: Optional[Callable[[_ArrayField[_DcT]], _DcT]], _inplace: bool = False, ) -> _DcT: """Apply a transformation on all array fields structure. Args: array_fn: Function applied on the `xnp.ndarray` fields dc_fn: Function applied on the `dca.DataclassArray` fields (to recurse) _inplace: If True, assume the function mutate the object in-place. Should only be used inside `__init__` for performances. Returns: The transformed dataclass array. """ def _apply_field_dn(f: _ArrayField): if f.is_dataclass: # Recurse on dataclasses return dc_fn(f) # pylint: disable=protected-access else: return array_fn(f) new_values = {f.name: _apply_field_dn(f) for f in self._array_fields} # pylint: disable=not-an-iterable,protected-access # For performance, do not call replace to save the constructor call if not _inplace: return self.replace(**new_values) else: return self
(self: ~_DcT, *, array_fn: Callable[[dataclass_array.array_dataclass._ArrayField[etils.enp.array_types.typing.Array]], etils.enp.array_types.typing.Array], dc_fn: Optional[Callable[[dataclass_array.array_dataclass._ArrayField[~_DcT]], ~_DcT]], _inplace: bool = False) -> ~_DcT
[ 0.025123436003923416, 0.0006710508605465293, 0.022377220913767815, 0.0518060140311718, -0.054853424429893494, -0.0014938079984858632, -0.030704453587532043, -0.044187482446432114, 0.026593990623950958, -0.02218232862651348, -0.007707118988037109, -0.004571118857711554, 0.029588250443339348, -0.008048181422054768, 0.03873048722743988, 0.0016311187064275146, -0.04145898297429085, 0.10850206017494202, 0.008508836850523949, 0.021314170211553574, -0.001172677963040769, -0.0033419663086533546, 0.008929627947509289, -0.0013708927435800433, 0.017850395292043686, 0.029145311564207077, 0.01655701734125614, -0.017770666629076004, 0.0057271867990493774, -0.02974770776927471, -0.005067209247499704, 0.02126101776957512, -0.029836295172572136, 0.030332384631037712, 0.011498667299747467, -0.049998827278614044, 0.004797017201781273, 0.006316293962299824, -0.04206138104200363, 0.012783186510205269, 0.03986440971493721, -0.05793627351522446, -0.046313583850860596, 0.01706196740269661, 0.03873048722743988, 0.032423052936792374, -0.018833719193935394, -0.047376636415719986, -0.054534509778022766, 0.014333469793200493, -0.0019212430343031883, -0.05896389111876488, 0.061727821826934814, 0.04206138104200363, 0.03477948158979416, 0.05875127762556076, -0.01878056488931179, 0.014501785859465599, -0.0033419663086533546, -0.03387589007616043, -0.016211526468396187, -0.0006937514408491552, -0.0034947798121720552, -0.03890766203403473, -0.016760768368840218, 0.030208362266421318, -0.03851787745952606, 0.019241221249103546, 0.023511141538619995, 0.004881175234913826, -0.05070752650499344, 0.0031382148154079914, 0.04833338037133217, -0.0012136497534811497, 0.06633437424898148, 0.048900339752435684, -0.021438192576169968, 0.012030192650854588, 0.0010414576390758157, -0.016308972612023354, -0.014174011535942554, -0.0022656272631138563, -0.03908483684062958, 0.03548818081617355, -0.00030977968708612025, -0.016167232766747475, -0.00012692938616964966, 0.031182825565338135, -0.026611708104610443, -0.03438969701528549, 0.002469378523528576, -0.008464543148875237, -0.040714848786592484, 0.08468972146511078, -0.08780800551176071, 0.011330350302159786, 0.009842079132795334, 0.010010396130383015, -0.012030192650854588, 0.07568922638893127, 0.08546929061412811, -0.04213225096464157, 0.038269832730293274, -0.009815502911806107, 0.020003074780106544, -0.02817084826529026, -0.012836339883506298, 0.008929627947509289, 0.00389120914041996, 0.014253741130232811, -0.020144814625382423, -0.0010580678936094046, 0.005837921053171158, 0.014209446497261524, -0.006524474825710058, -0.03299001231789589, 0.0020264408085495234, -0.020995255559682846, -0.03890766203403473, -0.020694056525826454, 0.052302103489637375, 0.016778485849499702, -0.04138811305165291, -0.008610712364315987, -0.039262011647224426, -0.025991594418883324, 0.05520777776837349, 0.035133831202983856, 0.04507335647940636, -0.015414237976074219, -0.02053459919989109, -0.012207367457449436, -0.034690894186496735, 0.004269921220839024, 0.05403842031955719, -0.005527864675968885, 0.03506296128034592, -0.015095322392880917, -0.08327232301235199, -0.013598192483186722, 0.021792544052004814, 0.0078931525349617, 0.08135882765054703, 0.0017872543539851904, 0.049786217510700226, 0.00554558215662837, 0.025052566081285477, 0.03316718712449074, -0.055916476994752884, 0.007879864424467087, -0.058007143437862396, 0.029676837846636772, 0.00032528251176699996, 0.025034848600625992, -0.004938757047057152, -0.004819164052605629, -0.020162532106041908, -0.033521536737680435, 0.0009185423841699958, 0.01867426000535488, -0.024237560108304024, -0.01028501708060503, -0.08192578703165054, -0.021101560443639755, -0.015431955456733704, -0.039262011647224426, -0.024361582472920418, -0.06544850021600723, -0.015901468694210052, 0.027054645121097565, 0.012269378639757633, -0.07604357600212097, -0.008641717955470085, 0.0494673028588295, 0.008083616383373737, 0.05527864769101143, 0.0017772881546989083, 0.023723753169178963, -0.004659706261008978, 0.03890766203403473, 0.03095249831676483, 0.09128063917160034, -0.008787887170910835, 0.035789381712675095, -0.002580113010481, 0.03610829636454582, -0.022076023742556572, 0.030350102111697197, 0.04145898297429085, 0.03539959341287613, 0.044010307639837265, 0.013580475002527237, -0.0169556625187397, -0.045321401208639145, 0.025566373020410538, -0.01066594384610653, -0.052337538450956345, 0.01284519862383604, 0.030863910913467407, 0.08072099834680557, -0.030739888548851013, -0.011418938636779785, 0.03550589829683304, -0.00033663277281448245, -0.10580899566411972, 0.004365152679383755, 0.05049491673707962, -0.0043496498838067055, -0.06137347221374512, -0.023298531770706177, 0.098225899040699, -0.03727765008807182, -0.01651272363960743, -0.034620024263858795, 0.07150789350271225, -0.03249392285943031, 0.0939028263092041, -0.0055898758582770824, -0.019684158265590668, 0.025442350655794144, 0.010178712196648121, 0.042911820113658905, -0.05205405876040459, -0.026168769225478172, -0.005837921053171158, -0.021473627537488937, -0.03281283751130104, 0.0010691413190215826, 0.02002079226076603, -0.05269188806414604, -0.03364555910229683, 0.0010220791446045041, -0.07349225133657455, -0.030828475952148438, 0.1079351007938385, -0.014492927119135857, 0.06449175626039505, -0.06594458967447281, 0.029003571718931198, -0.008832180872559547, 0.01589260995388031, 0.010320452041924, 0.004805875942111015, -0.03306088224053383, 0.009850937873125076, -0.010710237547755241, -0.00048723164945840836, 0.059424545615911484, -0.01126833911985159, 0.0014373334124684334, 0.004783729091286659, -0.03727765008807182, -0.01066594384610653, 0.05265645310282707, -0.006497898604720831, -0.03288370743393898, 0.03387589007616043, 0.029907165095210075, -0.01119746919721365, -0.017965560778975487, 0.0029433220624923706, -0.08072099834680557, -0.012730034068226814, -0.017549198120832443, -0.013899390585720539, 0.017664361745119095, 0.043868567794561386, -0.013359006494283676, -0.0018758418736979365, 0.01503331121057272, 0.03890766203403473, 0.04461270198225975, -0.013128678314387798, -0.02535376325249672, -0.033858172595500946, 0.035133831202983856, -0.0001717768464004621, -0.05382581055164337, 0.07490964978933334, 0.011631548404693604, 0.022448090836405754, -0.08036664873361588, -0.07019679248332977, -0.020056227222085, 0.036887865513563156, -0.0223949383944273, -0.011666983366012573, 0.05088470131158829, 0.004028520081192255, -0.009726915508508682, 0.008287367410957813, -0.018178170546889305, 0.002208045218139887, 0.0004462599172256887, -0.05889302119612694, -0.05793627351522446, -0.06948809325695038, -0.005519005935639143, -0.011038011871278286, -0.07413008064031601, -0.032104138284921646, 0.014315752312541008, 0.04496705159544945, 0.05722757428884506, -0.03178521990776062, -0.02744442969560623, -0.05899932608008385, 0.005363977514207363, 0.008677152916789055, 0.03127141296863556, -0.0003629322163760662, 0.011666983366012573, -0.06902743875980377, 0.002184791024774313, -0.016911368817090988, 0.01640641875565052, -0.01284519862383604, 0.053577765822410583, 0.027196384966373444, 0.05279819294810295, -0.001590146915987134, -0.03504524379968643, -0.06580284982919693, 0.022572113201022148, 0.016574734821915627, 0.04344334825873375, 0.06860221922397614, -0.06481067091226578, 0.03311403468251228, -0.007286327891051769, 0.035895686596632004, 0.023032769560813904, 0.006874395534396172, 0.01196818146854639, 0.026540836319327354, 0.0016355480765923858, 0.001239118748344481, -0.1019820123910904, -0.006391593255102634, 0.007308474741876125, -0.10120244324207306, 0.03759656473994255, -0.06991331279277802, 0.005479141604155302, 0.011684700846672058, -0.016486147418618202, -0.058148883283138275, 0.01568000018596649, 0.03143087029457092, 0.034655459225177765, 0.06885026395320892, -0.0685313493013382, 0.0013044520746916533, 0.07398834079504013, 0.002329853130504489, -0.02301505208015442, 0.025017131119966507, 0.012180791236460209, -0.018355345353484154, -0.0016145085683092475, 0.03671069070696831, -0.055881042033433914, 0.001811615889891982, -0.036923300474882126, 0.10269071906805038, 0.03596655651926994, -0.061763256788253784, -0.052160363644361496, 0.008849898353219032, 0.015520542860031128, 0.007002847734838724, -0.00434743519872427, 0.010639367625117302, -0.0342656746506691, 0.005036203656345606, -0.04230942577123642, -0.027249537408351898, 0.031661197543144226, -0.027887368574738503, 0.028365740552544594, -0.03329120948910713, -0.03596655651926994, -0.008872045204043388, 0.027125515043735504, -0.005045062396675348, 0.027019210159778595, 0.0389430969953537, 0.03316718712449074, 0.005603163968771696, -0.0216330848634243, 0.013677921146154404, 0.014856136403977871, -0.06403110176324844, -0.06077107414603233, -0.0436205230653286, -0.005634169559925795, -0.0639602318406105, 0.007649537175893784, 0.052443843334913254, -0.048900339752435684, -0.07653966546058655, -0.0638539269566536, 0.031253695487976074, 0.05995607003569603, 0.007153446786105633, 0.0007264181040227413, 0.033999912440776825, -0.008996068499982357, 0.0038203392177820206, 0.09043019264936447, 0.042734645307064056, 0.05779453366994858, 0.012561718001961708, -0.0259030070155859, 0.02119014784693718, 0.037171345204114914, -0.021066125482320786, -0.0032821695785969496, 0.017416317015886307, -0.016574734821915627, 0.03415936976671219, 0.013784226961433887, -0.059991504997015, -0.04365595802664757, -0.0014085423899814487, -0.06580284982919693, 0.020835798233747482, 0.026434531435370445, -0.01024958211928606, 0.06427914649248123, 0.02002079226076603, 0.016672180965542793, -0.06842504441738129, -0.035789381712675095, -0.009478870779275894, 0.006316293962299824, 0.00942571833729744, 0.008517695590853691, 0.043833132833242416, 0.010896272026002407, 0.0069496952928602695, 0.03198011592030525, 0.04142354801297188, -0.07618531584739685, -0.03649808093905449, -0.014670101925730705, -0.009966102428734303, 0.02225319854915142, -0.029712272807955742, -0.02565496228635311, 0.046278148889541626, 0.020995255559682846, 0.022997334599494934, 0.04797903075814247, 0.02363516390323639, 0.006896542850881815, 0.026806600391864777, -0.101273313164711, 0.019170351326465607, 0.02799367345869541, -0.058113448321819305, -0.024450169876217842, 0.010506486520171165, -0.02521202340722084, -0.021650802344083786, 0.03997071459889412, -0.02521202340722084, -0.02466278150677681, -0.006006237585097551, -0.03205098584294319, 0.06598002463579178, -0.025991594418883324, 0.01432461105287075, -0.01006354857236147, 0.018036430701613426, 0.021243300288915634, -0.00968262180685997, 0.0007275254465639591, -0.04110463336110115, 0.0016211526235565543, 0.029393356293439865, -0.022625265643000603, 0.015396520495414734, -0.06360587477684021, 0.01940067857503891, 0.003953220322728157, 0.03883679211139679, 0.025708114728331566, -0.02228863351047039, 0.01355389878153801, -0.04539227485656738, 0.02951738052070141, 0.04719945788383484, 0.013855096884071827, -0.011755570769309998, 0.016796203330159187, 0.03320262208580971, 0.011073446832597256, 0.010772248730063438, -0.03639177605509758, -0.02985401265323162, -0.0071135819889605045, -0.11814039200544357, -0.01688479073345661, -0.0018525876803323627, -0.017239142209291458, -0.04135267809033394, 0.04964447766542435, 0.0016023278003558517, 0.02273157238960266, -0.03749025985598564, -0.029623685404658318, -0.0432661697268486, -0.0017806102987378836, 0.01688479073345661, -0.0003629322163760662, -0.043053559958934784, -0.026292791590094566, -0.06208217144012451, -0.0016964520327746868, -0.002679774072021246, 0.04464813694357872, -0.058007143437862396, 0.02535376325249672, 0.006701650097966194, 0.0526210181415081, 0.027408994734287262, -0.0025778983253985643, 0.037135910242795944, -0.007078147027641535, -0.02407810278236866, -0.061479777097702026, 0.07384660094976425, 0.025017131119966507, 0.009381423704326153, 0.04199051111936569, 0.05191231891512871, 0.02074720896780491, -0.031625762581825256, 0.016893651336431503, 0.01688479073345661, 0.025123436003923416, 0.032245878130197525, -0.01778838410973549, 0.058148883283138275, -0.04315986484289169, -0.022855594754219055, -0.01264144666492939, 0.04804990068078041, 0.010727955028414726, -0.023759188130497932, -0.0010248475009575486, 0.045321401208639145, 0.022005153819918633, 0.033379796892404556, 0.007361627649515867, -0.03763199970126152, -0.006307435221970081, -0.01633554883301258, -0.028330305591225624, -0.0436205230653286, 0.020552316680550575, 0.041565291583538055, -0.005262102000415325, -0.010568497702479362, 0.011817581951618195, 0.03745482489466667, 0.05439276993274689, -0.007538802456110716, -0.04340790957212448, -0.005474712233990431, 0.008424677886068821, -0.07140158116817474, 0.035931121557950974, -0.0050893560983240604, 0.04223855584859848, -0.01461694948375225, -0.026168769225478172, 0.004190192092210054, -0.11006120592355728, -0.019028611481189728, 0.032139573246240616, -0.005930938292294741, -0.00313378544524312, -0.01203905139118433, -0.0506366565823555, -0.001967751421034336, 0.0005747118848375976, 0.006923119071871042, -0.09276890754699707, -0.015431955456733704, -0.030190644785761833, -0.054711684584617615, 0.04312442988157272, -0.02507028356194496, 0.03596655651926994, -0.05428646504878998, 0.029180746525526047, 0.03656895086169243, -0.0459592342376709, -0.021172430366277695, 0.026434531435370445, -0.03314946964383125, -0.025265175849199295, 0.018142735585570335, -0.05442820489406586, -0.002861378714442253, -0.025158870965242386, 0.02951738052070141, 0.014670101925730705, 0.005740474909543991, 0.044081177562475204, 0.026328226551413536, 0.0024250848218798637, 0.04358508810400963, -0.06236565113067627, -0.04578205943107605, -0.0029211752116680145, 0.023582011461257935, -0.0015225989045575261, -0.022200046107172966, 0.01984361745417118, 0.02253667823970318, 0.009771209210157394, 0.0011245085624977946, -0.011782146990299225, 0.048723164945840836, -0.04440009221434593, 0.027816498652100563, -0.0017783954972401261, 0.018098441883921623, 0.006732655689120293, 0.04351421818137169, -0.025956159457564354, -0.04964447766542435, -0.03477948158979416, -0.009815502911806107, 0.022200046107172966, -0.007937446236610413, -0.008854327723383904, -0.023475706577301025, -0.020268836989998817, 0.01805414818227291, 0.0038136951625347137, 0.016689898446202278, -0.10736814141273499, 0.004615412559360266, -0.055774737149477005, -0.014856136403977871, 0.00042826554272323847, -0.06622806936502457, -0.011977040208876133, -0.0681769996881485, 0.041813336312770844, 0.03759656473994255, -0.001350960461422801, -0.033415231853723526, 0.028950419276952744, 0.00614797743037343, 0.011454373598098755, -0.0389430969953537, -0.002173717599362135, -0.008034893311560154, -0.10120244324207306, 0.04269921034574509, -0.027798781171441078, 0.05644800141453743, 0.0282417181879282, 0.010860837064683437, 0.030562713742256165, -0.04503792151808739, 0.023209944367408752, -0.005629740189760923, -0.03848244249820709, 0.06286174058914185, -0.02507028356194496, 0.0631452202796936, 0.001539209159091115, 0.01954241842031479, -0.020003074780106544, 0.02301505208015442, 0.028985854238271713, 0.006059390027076006, 0.061586081981658936, -0.015130757354199886, -0.038588747382164, 0.04255747050046921, 0.0019655367359519005, 0.02393636293709278, 0.020906668156385422, 0.03862418234348297, 0.018479367718100548, 0.04585292935371399, -0.05616452172398567, -0.004094960633665323, -0.03890766203403473, 0.022164611145853996, 0.02937563881278038, 0.0017473899060860276, 0.03883679211139679, -0.002102847443893552, 0.005394983105361462, -0.03189152851700783, -0.004464813973754644, 0.029092159122228622, 0.012154215015470982, 0.004575548227876425, 0.013057808391749859, 0.04131724312901497, 0.015015593729913235, 0.008198780007660389, 0.02133188769221306, 0.014377763494849205, 0.017487186938524246, -0.0409274585545063, -0.0015369943575933576, 0.03616144880652428, 0.04252203553915024, -0.018727412447333336, 0.03433654457330704, 0.03316718712449074, 0.026718012988567352, 0.04606553912162781, 0.04138811305165291, -0.021101560443639755, 0.020268836989998817, 0.008256361819803715, -0.012668022885918617, -0.0319269634783268, -0.02542463317513466, 0.05251471325755119, 0.025371480733156204, -0.016025492921471596, -0.015609130263328552, -0.06473980098962784, -0.010010396130383015, -0.00485902838408947, -0.032936859875917435, -0.0646689310669899, 0.04475444182753563, -0.06580284982919693, -0.01021414715796709, 0.02335168421268463, 0.031696632504463196, -0.009505447000265121, 0.007206599228084087, 0.009939526207745075, 0.025123436003923416, -0.0015990057727321982, -0.029003571718931198, 0.02524745836853981, 0.06668872386217117, -0.02483995631337166, 0.0024671638384461403, 0.012473130598664284, -0.02817084826529026, 0.054853424429893494, -0.057014964520931244, 0.008336090482771397, -0.03749025985598564, 0.007304045371711254, 0.012446554377675056, 0.0002772514126263559, 0.0019544633105397224, 0.09702111035585403, 0.008774599060416222, -0.0035102826077491045, -0.0010968248825520277 ]
44,087
dataclass_array.array_dataclass
_setattr
Like setattr, but support `frozen` dataclasses.
def _setattr(self, name: str, value: Any) -> None: """Like setattr, but support `frozen` dataclasses.""" object.__setattr__(self, name, value)
(self, name: str, value: Any) -> NoneType
[ 0.06493934243917465, 0.012498930096626282, 0.009632439352571964, 0.02990446425974369, -0.053232356905937195, -0.02785574086010456, -0.022243274375796318, 0.05540159344673157, 0.009795993566513062, -0.021313602104783058, -0.023138515651226044, -0.007437379565089941, 0.02823449671268463, 0.03290007635951042, -0.020091254264116287, -0.005952486302703619, -0.007932344451546669, 0.062460217624902725, 0.00400275643914938, 0.017207548022270203, 0.020831549540162086, 0.011758634820580482, -0.02764914743602276, 0.034518394619226456, 0.01551175769418478, 0.04162866622209549, -0.023121299222111702, 0.05474738031625748, 0.042799364775419235, -0.02739090472459793, 0.0004252928774803877, -0.026048045605421066, -0.014556260779500008, -0.0021175872534513474, 0.06042870879173279, -0.040285807102918625, -0.03904624283313751, 0.043729037046432495, -0.026598962023854256, -0.0312645398080349, 0.025273317471146584, -0.020814333111047745, -0.03770338371396065, -0.03083413653075695, 0.04954810068011284, 0.04696567729115486, 0.014143073000013828, 0.08284414559602737, 0.028182849287986755, 0.00321296532638371, 0.007932344451546669, -0.005212191492319107, 0.03770338371396065, 0.011044164188206196, -0.03667041286826134, 0.0764397382736206, 0.017956452444195747, 0.06535252928733826, -0.021916167810559273, 0.01729363016784191, -0.021916167810559273, 0.015615054406225681, 0.018782828003168106, -0.07664632797241211, -0.0333649106323719, -0.030868569388985634, -0.05832833796739578, 0.026237422600388527, -0.011732811108231544, 0.030024977400898933, -0.008672638796269894, -0.005341312848031521, 0.0017549720359966159, 0.01070844940841198, -0.033950261771678925, 0.05853493511676788, -0.07086170464754105, 0.01713007688522339, -0.04190412536263466, 0.0022940528579056263, 0.026960501447319984, 0.010975300334393978, -0.05223381891846657, 0.011001124046742916, -0.051648471504449844, 0.03866748884320259, -0.06118622049689293, 0.009623832069337368, -0.03338212892413139, -0.0036132410168647766, -0.0000879638027981855, 0.07823021709918976, 0.0007300726720131934, 0.06707414984703064, 0.014409922994673252, -0.019402608275413513, 0.04366017505526543, -0.051923930644989014, 0.0019443497294560075, 0.038151003420352936, -0.018972204998135567, 0.008474653586745262, 0.030627543106675148, 0.0049410369247198105, -0.027597500011324883, -0.0642162635922432, -0.012120174244046211, -0.043556876480579376, -0.01107859704643488, -0.027528634294867516, -0.003232333343476057, 0.016234835609793663, -0.03670484572649002, 0.025118373334407806, 0.01694069802761078, -0.008302492089569569, -0.006572267971932888, -0.057329803705215454, 0.0456228144466877, 0.007303954567760229, 0.01551175769418478, 0.046139299869537354, -0.0025673594791442156, 0.03305502235889435, 0.005194975528866053, 0.015167433768510818, 0.0637686476111412, 0.04004478082060814, 0.05054663494229317, -0.027614716440439224, -0.014564868994057178, -0.010028411634266376, -0.01653611846268177, 0.054265327751636505, 0.05915471538901329, 0.03174659237265587, 0.014909191988408566, 0.047551024705171585, -0.02356891892850399, -0.01113024540245533, 0.018231909722089767, -0.02403375506401062, 0.03911510854959488, 0.008392876014113426, 0.04431438818573952, 0.0019109933637082577, -0.029129737988114357, 0.047275565564632416, -0.036085065454244614, 0.00045595914707519114, -0.026598962023854256, 0.005952486302703619, -0.015761392191052437, 0.056021373718976974, -0.04686237871646881, 0.03333048149943352, -0.04648362472653389, -0.018937772139906883, 0.023706648498773575, 0.010596544481813908, -0.04090558737516403, -0.020418362691998482, -0.040010347962379456, -0.04954810068011284, 0.032934509217739105, -0.005909445695579052, -0.024240348488092422, -0.04706897214055061, -0.004837740212678909, 0.008237930946052074, 0.004372903611510992, -0.02262203022837639, 0.0168976578861475, 0.0789877250790596, 0.04059569910168648, -0.004097445402294397, 0.00016960604989435524, -0.010854787193238735, 0.03687700629234314, -0.0024963426403701305, 0.018559016287326813, 0.011655338108539581, -0.04207628592848778, 0.027924606576561928, 0.03680814430117607, 0.010389951057732105, -0.023775512352585793, 0.0439356304705143, 0.05292246490716934, 0.07430493086576462, 0.05054663494229317, -0.03704917058348656, -0.033795315772295, 0.0019249815959483385, 0.004811916034668684, 0.0033636067528277636, -0.010312478058040142, -0.0475165918469429, -0.03594733402132988, 0.05843163654208183, 0.018145829439163208, 0.01852458529174328, 0.060876332223415375, 0.004622538108378649, 0.05264700949192047, -0.07926318794488907, 0.046724651008844376, -0.02654731459915638, -0.023999322205781937, -0.032366376370191574, 0.01826634258031845, -0.041490938514471054, 0.005466129630804062, 0.02943962812423706, 0.04882502183318138, -0.04817080870270729, 0.0033463905565440655, -0.05188949778676033, 0.04348801076412201, 0.016785752028226852, 0.08022729307413101, 0.042317312210798264, -0.012232079170644283, 0.010458814911544323, 0.028165632858872414, -0.05794958397746086, -0.03932170197367668, -0.07327196002006531, -0.031161243095993996, -0.01373849343508482, 0.024739617481827736, 0.03642938658595085, -0.021279169246554375, -0.03959716111421585, 0.06366534531116486, -0.020349496975541115, 0.0726521834731102, -0.022467084228992462, -0.042420610785484314, -0.016295092180371284, 0.030575893819332123, -0.00042690688860602677, 0.026289071887731552, 0.03026600368320942, -0.033106669783592224, -0.005677027627825737, -0.020556090399622917, 0.08077821135520935, -0.018954988569021225, -0.02282862365245819, 0.03074805624783039, -0.0013385561760514975, -0.05058106780052185, -0.004902300890535116, -0.0005493030184879899, -0.02823449671268463, -0.03028322011232376, 0.05856936424970627, 0.0029138345271348953, 0.010381342843174934, -0.04538178816437721, -0.03518982604146004, 0.02413705177605152, 0.03202205151319504, 0.021296385675668716, -0.0171042513102293, 0.005130414851009846, 0.024842914193868637, -0.08029615879058838, 0.0013686844613403082, 0.014220545999705791, -0.025479912757873535, 0.02981838397681713, 0.046621352434158325, -0.04190412536263466, -0.04445211589336395, -0.02506672404706478, -0.03415685519576073, -0.004971165210008621, -0.006279593333601952, 0.01368684507906437, -0.07396060973405838, 0.03184989094734192, 0.0049410369247198105, -0.016587767750024796, -0.006731517147272825, -0.016759928315877914, 0.030627543106675148, -0.0025695112999528646, -0.037668950855731964, -0.004278215114027262, 0.013910654932260513, -0.0020982190035283566, 0.009090131148695946, 0.03890851512551308, 0.0049969893880188465, -0.07871226966381073, 0.02857881970703602, 0.060876332223415375, -0.024533024057745934, 0.024068187922239304, 0.023362325504422188, -0.035258688032627106, 0.050822094082832336, 0.01592494547367096, -0.05467851459980011, 0.028768198564648628, 0.042523905634880066, -0.051097553223371506, 0.04958253353834152, 0.049238208681344986, 0.03195318579673767, -0.07182580977678299, 0.05381770804524422, 0.12030650675296783, 0.0041318777948617935, 0.026237422600388527, -0.006292505189776421, -0.028750982135534286, 0.062460217624902725, -0.00301713147200644, -0.09806323051452637, -0.05684775114059448, -0.04235174506902695, 0.03346820920705795, -0.018696745857596397, 0.04472757503390312, -0.014461571350693703, 0.01368684507906437, 0.006757341790944338, -0.04823967069387436, -0.012171822600066662, 0.036739278584718704, 0.06215032562613487, -0.0026814164593815804, 0.04135320708155632, -0.03625722602009773, -0.02067660354077816, 0.005926662124693394, 0.0007919432246126235, 0.01503831334412098, 0.08504781126976013, -0.04145650565624237, -0.03546528145670891, 0.004463288467377424, 0.010054235346615314, -0.000986700993962586, 0.03472498804330826, 0.05330122262239456, 0.03026600368320942, -0.025944748893380165, -0.026202991604804993, -0.02749420329928398, -0.0021638558246195316, 0.005659811664372683, -0.04359130933880806, 0.00940002128481865, -0.0028578820638358593, -0.037875544279813766, -0.07099942862987518, 0.0009662567754276097, -0.038701921701431274, 0.01731945388019085, -0.012335376814007759, -0.031436704099178314, 0.01015753298997879, -0.08704488724470139, -0.015391244553029537, 0.03677371144294739, -0.018094180151820183, 0.0006967163644731045, -0.02486013062298298, -0.01938539184629917, 0.010630976408720016, 0.0230180025100708, 0.02448137477040291, -0.019402608275413513, 0.03520704060792923, -0.04124991223216057, -0.01816304586827755, 0.041697531938552856, -0.0212275218218565, 0.0650426372885704, 0.04916934296488762, 0.0489971823990345, -0.009227859787642956, 0.0627356767654419, -0.015365419909358025, 0.05374884232878685, 0.058362770825624466, -0.019350960850715637, -0.0062451609410345554, -0.025307750329375267, 0.02253594994544983, -0.020900415256619453, 0.01374710164964199, -0.01286046952009201, -0.010458814911544323, -0.023069649934768677, 0.019402608275413513, 0.02591031603515148, -0.034139640629291534, -0.003378670895472169, 0.02823449671268463, 0.020986495539546013, 0.05653785914182663, 0.02627185545861721, -0.011844716034829617, -0.007687014061957598, 0.02262203022837639, -0.0032560057006776333, 0.023689432069659233, -0.005853493232280016, -0.08415257185697556, 0.047826483845710754, 0.0025888795498758554, 0.05495397374033928, -0.05684775114059448, 0.07843681424856186, 0.014848935417830944, 0.0019421976758167148, -0.020831549540162086, -0.04572611302137375, 0.0340019091963768, -0.022897489368915558, 0.012731348164379597, 0.013635195791721344, -0.02711544744670391, 0.02811398357152939, 0.028372226282954216, 0.004215806256979704, 0.020160119980573654, 0.0031699249520897865, -0.004945341031998396, 0.041112180799245834, -0.03691143915057182, -0.0064689707942306995, -0.08222436159849167, -0.07175694406032562, 0.014237761497497559, -0.01634674146771431, -0.0380132757127285, 0.011431528255343437, -0.03615393117070198, -0.054437488317489624, -0.032073698937892914, -0.0551261343061924, 0.06855473667383194, 0.06717744469642639, -0.013308089226484299, 0.04851512983441353, 0.032263077795505524, 0.028630468994379044, 0.03183267265558243, 0.01061376091092825, -0.04221401736140251, -0.015003880485892296, -0.0950331836938858, 0.039907053112983704, 0.003914523869752884, -0.058466069400310516, -0.011655338108539581, 0.005952486302703619, -0.00512611074373126, -0.024378078058362007, 0.048205237835645676, 0.029112521559000015, -0.03212535008788109, -0.0038757873699069023, -0.04775761812925339, 0.06624776870012283, -0.05330122262239456, 0.044589847326278687, -0.044934168457984924, -0.028768198564648628, 0.013428602367639542, -0.05402430146932602, -0.021313602104783058, -0.06975986808538437, -0.039528295397758484, -0.019402608275413513, 0.024085404351353645, 0.0796075090765953, 0.02401653863489628, -0.010949475690722466, -0.02031506597995758, 0.04324698448181152, 0.007110272999852896, 0.04221401736140251, 0.0378066822886467, -0.019901877269148827, 0.04844626411795616, -0.010312478058040142, 0.01649307832121849, 0.019712500274181366, 0.023534486070275307, -0.027718013152480125, 0.021657925099134445, -0.015787215903401375, -0.03197040408849716, -0.03994148224592209, -0.03742792457342148, -0.02580701932311058, -0.025652073323726654, 0.03288285806775093, -0.00890075322240591, -0.01993631012737751, 0.020728252828121185, -0.040940020233392715, -0.034036342054605484, 0.011405703611671925, -0.014108640141785145, -0.024739617481827736, -0.021485764533281326, 0.035912904888391495, -0.01663941517472267, -0.028165632858872414, -0.03708360344171524, -0.05812174454331398, -0.027167094871401787, 0.01909271813929081, -0.0027997775468975306, 0.033313263207674026, -0.023809945210814476, -0.022518733516335487, -0.03890851512551308, 0.027769660577178, -0.008978226222097874, 0.014900583773851395, 0.04441768303513527, -0.0057803248055279255, -0.00030854580109007657, -0.0346389077603817, 0.02916416898369789, 0.03763451799750328, 0.0473099984228611, 0.014039776287972927, 0.02401653863489628, 0.08525440841913223, -0.005345616489648819, 0.00845743715763092, -0.014840327203273773, 0.025118373334407806, -0.015477324835956097, -0.01164672989398241, -0.048756156116724014, -0.0726521834731102, 0.004618234001100063, 0.019781364127993584, -0.0321081317961216, -0.057536397129297256, -0.010553504340350628, -0.027339257299900055, 0.024842914193868637, -0.0635620504617691, -0.07754156738519669, 0.03169494494795799, -0.015219083055853844, -0.004760267212986946, 0.05495397374033928, -0.030679192394018173, 0.040113646537065506, 0.05182063207030296, -0.0012288031866773963, 0.04445211589336395, -0.012645266950130463, -0.025565993040800095, 0.006955327466130257, 0.0004384740022942424, -0.03980375453829765, 0.014840327203273773, 0.05560818687081337, 0.02169235795736313, 0.020607739686965942, 0.00013033168215770274, 0.0661100447177887, -0.02124473825097084, 0.04703453928232193, -0.05715763941407204, -0.06845144182443619, -0.04813637584447861, 0.03911510854959488, -0.07843681424856186, -0.04080229252576828, -0.018214693292975426, -0.06073860079050064, 0.010639584623277187, 0.041869692504405975, -0.08608078211545944, -0.04228288307785988, -0.07905659079551697, -0.006804686039686203, -0.00018413217912893742, -0.01028665341436863, 0.032073698937892914, -0.0024877346586436033, -0.023706648498773575, -0.021675141528248787, 0.06359648704528809, -0.010553504340350628, 0.0003096218279097229, 0.006765949539840221, -0.029319114983081818, 0.020470010116696358, 0.032641831785440445, -0.026340719312429428, -0.04841183125972748, 0.03000776097178459, -0.007609541527926922, -0.018042532727122307, -0.004073773045092821, 0.035809606313705444, 0.03932170197367668, 0.017491614446043968, 0.01238702517002821, -0.010828962549567223, -0.03346820920705795, 0.0027653451543301344, -0.001569898333400488, -0.022243274375796318, -0.02300078608095646, -0.003882243297994137, -0.014582084491848946, -0.036567118018865585, -0.01624344475567341, -0.08146685361862183, 0.009227859787642956, -0.025462696328759193, 0.00025703184655867517, -0.10364126414060593, -0.014737030491232872, -0.017052603885531425, 0.03054146282374859, -0.07210126519203186, 0.0168976578861475, -0.005061550065875053, 0.012309552170336246, -0.0036455211229622364, 0.0064689707942306995, 0.007742966525256634, 0.033313263207674026, 0.008207802660763264, 0.010011195205152035, -0.019609203562140465, -0.044589847326278687, 0.011362663470208645, 0.014031168073415756, -0.028854278847575188, -0.019075501710176468, -0.0027352168690413237, -0.06431955844163895, -0.03233194351196289, -0.026065262034535408, -0.024050971493124962, 0.036188360303640366, 0.006417322438210249, -0.0458294078707695, -0.008810368366539478, 0.05447192117571831, -0.008181978948414326, -0.06466388702392578, -0.0002738444891292602, -0.032263077795505524, -0.016191795468330383, 0.09317383915185928, 0.041972991079092026, -0.044279955327510834, -0.00926229264587164, 0.016630807891488075, -0.0008769480045884848, -0.010915043763816357, 0.048859454691410065, -0.011250758543610573, -0.03577517345547676, -0.023896025493741035, -0.04152537137269974, -0.006258072797209024, 0.003733753925189376, 0.010080059990286827, 0.03746235743165016, -0.0637686476111412, 0.050718799233436584, -0.0032904380932450294, -0.006821902003139257, -0.014323842711746693, 0.026598962023854256, 0.02196781523525715, -0.018576232716441154, 0.05374884232878685, -0.06108292564749718, 0.014091424643993378, -0.012645266950130463, -0.02375829592347145, 0.01645003817975521, -0.046242598444223404, -0.07451152801513672, 0.01955755427479744, -0.00935698114335537, 0.02021176740527153, 0.017767073586583138, 0.013979519717395306, 0.07099942862987518, -0.035912904888391495, -0.019970741122961044, 0.017138684168457985, -0.014194721356034279, -0.03556858003139496, 0.031178459525108337, 0.03753122314810753, -0.03179824352264404, 0.017285021021962166, 0.03625722602009773, -0.005646899342536926, -0.035706307739019394, 0.027339257299900055, 0.00400275643914938, 0.0010114492615684867, -0.022845840081572533, -0.0005573731032200158, 0.050443340092897415, -0.0008871700847521424, 0.027700796723365784, 0.06493934243917465, -0.01416028942912817, -0.057433098554611206, -0.037496790289878845, -0.009141779504716396, -0.013222008012235165, -0.0006031034863553941, 0.02981838397681713, 0.07168807834386826, 0.047172270715236664, -0.031901538372039795, 0.03670484572649002, 0.016889050602912903, -0.03811657056212425, 0.0008053933270275593, 0.012404240667819977, -0.011026948690414429, 0.11273139715194702, -0.05130414664745331, 0.03195318579673767, -0.007583716884255409, -0.01200826931744814, 0.004837740212678909, 0.013402777723968029, -0.0030386517755687237, 0.046724651008844376, 0.036463819444179535, 0.059946659952402115, 0.006899375002831221, -0.005151934921741486, -0.0276663638651371, 0.02076268568634987, 0.09909620136022568, -0.06266681104898453, -0.01691487431526184, -0.0063570658676326275, 0.03322718292474747, -0.050271179527044296, -0.06414739787578583, 0.00686924671754241, -0.02002239041030407, -0.017922019585967064, 0.030903002247214317, 0.042799364775419235, 0.021554628387093544, 0.04032023996114731 ]
44,088
dataclass_array.array_dataclass
_to_absolute_axis
Normalize the axis to absolute value.
def _to_absolute_axis(self, axis: Axes) -> Axes: """Normalize the axis to absolute value.""" try: return np_utils.to_absolute_axis(axis, ndim=self.ndim) except Exception as e: # pylint: disable=broad-except epy.reraise( e, prefix=f'For {self.__class__.__qualname__} with shape={self.shape}: ', )
(self, axis: Union[NoneType, Tuple[int, ...], int]) -> Union[NoneType, Tuple[int, ...], int]
[ 0.00695619685575366, 0.0328698456287384, -0.03167271614074707, 0.05393938720226288, -0.009294881485402584, -0.03393016383051872, 0.008166155777871609, -0.007683027535676956, 0.032134465873241425, -0.001780735095962882, 0.03235679119825363, -0.025464726611971855, 0.05222919583320618, -0.02890220656991005, 0.02031705528497696, 0.08072095364332199, 0.029996728524565697, 0.03899232670664787, 0.025840967893600464, 0.04152340814471245, 0.049834929406642914, -0.04634614288806915, -0.06300339102745056, -0.0634138360619545, 0.01163784135133028, 0.05595741048455238, -0.017067693173885345, -0.002573835663497448, -0.012578445486724377, -0.07866872847080231, -0.023326989263296127, 0.005224629770964384, 0.07059663534164429, 0.010722889564931393, 0.021616797894239426, -0.05465766414999962, -0.04073671996593475, -0.00267003383487463, -0.059240974485874176, -0.016734207049012184, 0.029278449714183807, -0.02890220656991005, 0.04730384796857834, -0.003488787217065692, 0.05476027727127075, -0.00029901598463766277, -0.02471224218606949, 0.017991196364164352, -0.07346975058317184, -0.012672506272792816, -0.0384792685508728, 0.007494906894862652, 0.06180625781416893, 0.05588900297880173, -0.03916334733366966, 0.03341710940003395, 0.0067338719964027405, 0.06026708707213402, -0.03680328279733658, -0.01303164567798376, -0.03030456230044365, 0.02926134690642357, -0.036529652774333954, -0.05606001988053322, 0.05161352828145027, -0.00024664142983965576, -0.035640355199575424, 0.015879111364483833, -0.009055455215275288, 0.04025786742568016, -0.05619683489203453, 0.02553313411772251, -0.03199765086174011, -0.023737434297800064, 0.018589762970805168, -0.02384004555642605, 0.03437481448054314, 0.026661857962608337, 0.005588044878095388, -0.01085970550775528, -0.05534173920750618, 0.07169115543365479, 0.037692584097385406, 0.02856016904115677, -0.011706248857080936, -0.08489382266998291, -0.0010640587424859405, 0.03642704337835312, -0.014536612667143345, -0.02643953450024128, 0.02572125382721424, -0.03762417659163475, 0.02154839038848877, 0.023549312725663185, 0.04330200329422951, 0.021958837285637856, -0.009166616946458817, -0.032493606209754944, -0.0018598313909024, -0.06019867956638336, -0.03950538486242294, 0.06953631341457367, 0.005019406788051128, 0.0109452148899436, 0.017905686050653458, 0.022677116096019745, 0.053836774080991745, -0.10911010950803757, -0.028423354029655457, 0.052947476506233215, -0.03663226589560509, 0.060677532106637955, -0.030407173559069633, 0.026747368276119232, -0.03916334733366966, -0.029911218211054802, -0.005921531934291124, -0.010355198755860329, -0.003322043688967824, 0.02224956825375557, -0.01085970550775528, 0.06184046342968941, 0.013801231049001217, -0.06296918541193008, 0.026730265468358994, 0.03553774207830429, -0.023566415533423424, 0.0006065829074941576, -0.0659107118844986, -0.022369282320141792, -0.007866873405873775, -0.05999345704913139, -0.03834245353937149, 0.01462212298065424, -0.01717885583639145, -0.0014493857743218541, 0.08167866617441177, 0.025173993781208992, -0.04973232001066208, 0.017221610993146896, 0.041762832552194595, 0.013185563497245312, 0.06768931448459625, -0.02154839038848877, -0.012176550924777985, 0.045285824686288834, -0.006588506046682596, 0.01959877461194992, 0.005592320580035448, -0.040702518075704575, -0.02956918068230152, -0.002903047250583768, 0.009816489182412624, 0.011749004013836384, 0.05216078832745552, -0.008550948463380337, -0.01075709331780672, -0.04039468243718147, 0.031193861737847328, 0.03170691803097725, -0.1112307459115982, 0.001527413260191679, 0.03779519349336624, -0.04118137061595917, -0.003993293270468712, -0.005737686529755592, 0.010423606261610985, -0.057701803743839264, -0.0065414756536483765, 0.015100975520908833, -0.021411575376987457, -0.03432350978255272, -0.06423472613096237, -0.01259554736316204, -0.04395187646150589, 0.02380584180355072, 0.012569895014166832, 0.03008223883807659, -0.002327995840460062, 0.0384792685508728, -0.030680803582072258, -0.0069006155245006084, 0.001948547433130443, -0.05739396810531616, 0.009200820699334145, -0.013698619790375233, -0.011783207766711712, 0.01823062263429165, -0.028098417446017265, 0.00595146045088768, -0.004230582155287266, 0.04573047533631325, 0.02012893371284008, -0.02224956825375557, 0.0119969816878438, -0.0476800911128521, -0.01823062263429165, 0.04986913502216339, 0.05852269381284714, -0.02679867297410965, -0.00242846948094666, 0.03752156347036362, 0.050861041992902756, 0.05896734446287155, -0.002462673233821988, 0.026918387040495872, 0.012663954868912697, -0.008020790293812752, -0.03312637656927109, 0.0336565338075161, -0.023241478949785233, -0.001254851697012782, -0.07709535211324692, -0.08222592622041702, -0.009679674170911312, 0.039129141718149185, -0.03175822272896767, -0.016015926375985146, 0.03673487529158592, 0.11191482096910477, 0.002039401326328516, -0.041078757494688034, 0.011047826148569584, -0.02537921629846096, 0.05216078832745552, 0.001146896043792367, 0.043370410799980164, 0.00273416587151587, 0.02782478742301464, 0.03273303061723709, 0.015690991654992104, -0.015289096161723137, -0.057530783116817474, -0.01732422225177288, 0.04258372634649277, 0.03591398522257805, 0.001349981059320271, -0.016357965767383575, -0.016725655645132065, 0.001413044286891818, -0.0102440370246768, -0.008281594142317772, -0.03991582989692688, 0.046311937272548676, -0.030954435467720032, -0.005481158383190632, 0.02926134690642357, 0.03083472140133381, -0.017974095419049263, -0.014810243621468544, -0.026148801669478416, 0.03444322198629379, -0.015853459015488625, 0.0232927855104208, 0.0398816242814064, -0.03916334733366966, -0.0768217220902443, -0.050347987562417984, 0.001551997265778482, -0.0005819989601150155, -0.0069091664627194405, 0.017136100679636, 0.021462881937623024, -0.03892391920089722, -0.05164773017168045, 0.004127970430999994, -0.01173190213739872, -0.015554175712168217, 0.04012105241417885, 0.05404199659824371, 0.017580751329660416, -0.013664416037499905, -0.03350261598825455, 0.003922747913748026, 0.025977782905101776, 0.07346975058317184, 0.035093095153570175, 0.017939889803528786, -0.02100113034248352, 0.02606329135596752, 0.021975938230752945, -0.05270804837346077, -0.0185384564101696, -0.004745776765048504, -0.04638034477829933, -0.03584557771682739, -0.020949823781847954, -0.06970733404159546, -0.007712956052273512, 0.03394726663827896, 0.033194784075021744, 0.02611459791660309, -0.03553774207830429, 0.00376455532386899, -0.04381506145000458, -0.01574229635298252, 0.0178372785449028, -0.04111296311020851, 0.03950538486242294, -0.00014990882482379675, 0.0002656138385646045, 0.042994171380996704, -0.05677830055356026, 0.011663494631648064, 0.05161352828145027, 0.012031185440719128, -0.011270150542259216, 0.00176149548497051, 0.05164773017168045, 0.03451162949204445, -0.040531497448682785, -0.00047030218411237, -0.015237790532410145, 0.016161292791366577, 0.015092425048351288, 0.07449586689472198, 0.06054071709513664, -0.03478525951504707, 0.04056570306420326, 0.05989084765315056, -0.01573374681174755, -0.014100514352321625, -0.024370204657316208, -0.026832876726984978, -0.04846677929162979, -0.00236219959333539, -0.014510960318148136, -0.023908453062176704, 0.096591517329216, 0.015579828992486, -0.002044745720922947, -0.002012679586187005, -0.038958124816417694, -0.015203586779534817, 0.026661857962608337, -0.051374100148677826, 0.008969944901764393, 0.06806555390357971, 0.02642243169248104, -0.021599696949124336, -0.02242058701813221, 0.033895961940288544, 0.025105586275458336, -0.01050911657512188, 0.03239099308848381, 0.010628829710185528, -0.051032062619924545, 0.0008374585304409266, -0.012638302519917488, -0.00034390846849419177, 0.003869304433465004, -0.07107548415660858, -0.058898936957120895, -0.032117363065481186, 0.014536612667143345, 0.061532627791166306, -0.03218577057123184, -0.001577650080434978, 0.00151993113104254, 0.030766313895583153, 0.0687154233455658, -0.08243114501237869, -0.01732422225177288, -0.040702518075704575, -0.024746445938944817, -0.00066697399597615, -0.007546212524175644, -0.05985664203763008, 0.033365800976753235, 0.03570876270532608, -0.004301127046346664, -0.03837665915489197, 0.029671791940927505, -0.06221670284867287, -0.05346053093671799, 0.12368092685937881, 0.002535356441512704, 0.00634480407461524, -0.001490002847276628, -0.0629349872469902, 0.10534769296646118, -0.0008299764594994485, -0.02890220656991005, -0.006370456889271736, 0.000855094869621098, -0.03290405124425888, -0.019923711195588112, 0.008546673692762852, -0.006289222743362188, 0.00516477320343256, 0.029808606952428818, -0.05551275983452797, 0.013262521475553513, -0.06638956815004349, -0.027876093983650208, 0.0119969816878438, -0.06809975951910019, 0.05862530693411827, -0.01821352168917656, -0.027072304859757423, -0.05896734446287155, 0.027448546141386032, 0.007772812619805336, 0.014451103284955025, -0.020077627152204514, 0.000761034432798624, -0.026388227939605713, 0.07093866914510727, 0.005763339344412088, 0.07709535211324692, 0.02909032814204693, 0.04921926185488701, 0.039984237402677536, -0.02606329135596752, 0.011535230092704296, -0.001949616358615458, -0.010090119205415249, -0.029842810705304146, 0.020590685307979584, -0.04285735636949539, -0.04012105241417885, 0.026730265468358994, 0.010885357856750488, -0.011937124654650688, 0.04446493461728096, -0.006438864395022392, -0.028577271848917007, 0.00021778198424726725, -0.056128427386283875, 0.02590937539935112, 0.010517667047679424, -0.025652846321463585, -0.05178454518318176, -0.037179525941610336, 0.010090119205415249, 0.05852269381284714, -0.004758602939546108, 0.026730265468358994, -0.01766625978052616, 0.04025786742568016, 0.02572125382721424, 0.011295803822577, 0.025481827557086945, 0.013630212284624577, 0.027722176164388657, 0.007931005209684372, -0.059617213904857635, 0.016674350947141647, -0.002926562214270234, -0.04131818562746048, 0.05424721911549568, 0.019821099936962128, 0.009876346215605736, -0.05465766414999962, 0.03550354018807411, -0.07723216712474823, -0.07059663534164429, -0.06095116212964058, 0.0071101137436926365, 0.010192731395363808, -0.027363035827875137, 0.022882338613271713, -0.04289155825972557, -0.09816489368677139, 0.05660727992653847, 0.03203185275197029, 0.04511480778455734, -0.003924885299056768, 0.005545290187001228, 0.004805633332580328, 0.028936410322785378, -0.05623104050755501, 0.03066370263695717, -0.007931005209684372, -0.017597852274775505, -0.01626390404999256, 0.03714532032608986, 0.002370750531554222, 0.014288635924458504, 0.01731567084789276, -0.039676401764154434, -0.030372969806194305, -0.01427153404802084, 0.017768871039152145, 0.00525455828756094, 0.044396527111530304, -0.07730057835578918, -0.019923711195588112, -0.005652177147567272, 0.039676401764154434, 0.010209833271801472, 0.024199185892939568, -0.01927383802831173, 0.044396527111530304, -0.000492748455144465, -0.05619683489203453, 0.011449720710515976, 0.005134844686836004, -0.022198263555765152, 0.00161826703697443, -0.014716182835400105, -0.034597139805555344, -0.0227455236017704, 0.01612708903849125, -0.016537535935640335, -0.02994542382657528, -0.05065581947565079, 0.000614599441178143, 0.007721506990492344, -0.006135305855423212, -0.010269689373672009, 0.008995598182082176, 0.035298317670822144, -0.01505822129547596, 0.040360476821660995, 0.06026708707213402, -0.049800727516412735, 0.010278240777552128, 0.05958301201462746, 0.05831747129559517, -0.032664623111486435, -0.06827077269554138, -0.050724226981401443, 0.0005411147139966488, -0.03013354353606701, -0.010457810014486313, -0.005361444782465696, 0.001166135654784739, -0.008350001648068428, -0.034237999469041824, -0.005361444782465696, -0.04809053614735603, 0.05151091516017914, 0.0462777353823185, -0.002967179287225008, 0.09665992856025696, -0.022540301084518433, 0.002345097716897726, -0.07661650329828262, 0.03245940059423447, -0.012005532160401344, -0.019821099936962128, 0.015537073835730553, -0.037555769085884094, -0.029517875984311104, -0.000520539004355669, -0.0343577116727829, 0.05989084765315056, 0.0183845404535532, 0.008170431479811668, -0.029295550659298897, 0.05130569264292717, 0.036529652774333954, 0.04272054135799408, 0.02153128944337368, -0.013288174755871296, -0.026559246703982353, 0.049800727516412735, -0.029620487242937088, -0.014468205161392689, -0.005840298254042864, -0.03382755443453789, 0.04484117403626442, -0.014416899532079697, -0.052605438977479935, 0.027568258345127106, -0.061224792152643204, 0.04166022315621376, 0.011347109451889992, 0.013861088082194328, -0.04330200329422951, -0.019188329577445984, -0.006468792911618948, -0.07189638167619705, 0.022506097331643105, 0.03199765086174011, 0.003497338155284524, -0.027243323624134064, -0.03500758484005928, 0.01751234382390976, 0.024746445938944817, -0.03697430342435837, -0.051374100148677826, 0.006494445726275444, -0.003022760385647416, -0.01251003798097372, 0.07723216712474823, 0.010902459733188152, -0.016340862959623337, -0.050142765045166016, -0.018983107060194016, 0.004655991680920124, 0.013604559935629368, -0.00840558297932148, 0.025088483467698097, -0.018145114183425903, -0.010081568732857704, -0.0542130172252655, -0.004655991680920124, 0.016195496544241905, 0.04634614288806915, 0.05431562662124634, 0.02223246730864048, 0.05520492419600487, 0.000952361908275634, -0.02083011157810688, 0.008636458776891232, -0.0642005205154419, -0.04323359578847885, 0.010184179991483688, -0.001835247385315597, 0.008734794333577156, -0.02401106432080269, -0.028457557782530785, 0.015109526924788952, -0.05564957484602928, -0.023908453062176704, 0.015682440251111984, -0.037418950349092484, 0.045046400278806686, 0.04063411056995392, -0.01731567084789276, -0.03560614958405495, 0.013459193520247936, -0.017409732565283775, -0.001504966989159584, 0.08420974761247635, -0.016144191846251488, -0.04436232149600983, -0.005113467574119568, 0.030749212950468063, 0.000516263535246253, -0.015579828992486, -0.08140503615140915, -0.0119969816878438, 0.01942775584757328, -0.014912854880094528, 0.03204895555973053, 0.01888049580156803, 0.050724226981401443, 0.03724793344736099, 0.010432157665491104, -0.003202330321073532, 0.03670067340135574, 0.02170230820775032, -0.02031705528497696, -0.013861088082194328, 0.002313031582161784, -0.06508982181549072, -0.03731634095311165, 0.03724793344736099, 0.00022499683836940676, -0.012758015654981136, -0.01058607455343008, 0.03817143663764, 0.01400645449757576, 0.009739531204104424, -0.001844867249019444, -0.015357504598796368, -0.042104873806238174, -0.004818459507077932, -0.021958837285637856, -0.000415255461120978, 0.044738564640283585, 0.04295996576547623, 0.02346380427479744, 0.0099704060703516, 0.00472867488861084, -0.030851824209094048, -0.021462881937623024, 0.002081087091937661, -0.009320533834397793, -0.0514083057641983, 0.002272414742037654, -0.012826423160731792, 0.04251531884074211, 0.02573835663497448, 0.015990274026989937, 0.0364612452685833, -0.027790583670139313, -0.0234467014670372, 0.02471224218606949, -0.08721967786550522, 0.015682440251111984, 0.023019153624773026, -0.07442745566368103, 0.04289155825972557, 0.037897806614637375, 0.015810703858733177, -0.062250908464193344, 0.033143479377031326, -0.006502996664494276, 0.019889507442712784, 0.005989939905703068, 0.04015525430440903, -0.014365593902766705, -0.022352179512381554, 0.011176089756190777, 0.038581881672143936, 0.07894235849380493, 0.06036970019340515, -0.05934358388185501, -0.037418950349092484, 0.021924633532762527, 0.020419666543602943, 0.02623431198298931, 0.007712956052273512, 0.025345012545585632, -0.016922328621149063, 0.03540092706680298, -0.029911218211054802, 0.047543276101350784, 0.008858783170580864, -0.09419725090265274, 0.03697430342435837, -0.01961587741971016, -0.022369282320141792, 0.02974019944667816, -0.042104873806238174, -0.004395187832415104, -0.029654690995812416, 0.04135238751769066, 0.020351259037852287, -0.01577650010585785, 0.05257123336195946, -0.01699928566813469, 0.007768536917865276, -0.022181160748004913, -0.015289096161723137, -0.009508655406534672, 0.011270150542259216, -0.01050056517124176, 0.04412289708852768, 0.06132740527391434, 0.027380138635635376, 0.05653887242078781, -0.01731567084789276, 0.023361193016171455, -0.026336923241615295, -0.02502007596194744, 0.06642377376556396, -0.011672045104205608, -0.009773734956979752, -0.05633364990353584, 0.08715127408504486, -0.02416498214006424, -0.009175168350338936, -0.003033449174836278, -0.00944879837334156, -0.018692374229431152, 0.030732110142707825, 0.018709475174546242, 0.039813216775655746, 0.06806555390357971, 0.015614032745361328, -0.03328029438853264, 0.034409016370773315, 0.06765510886907578, 0.003728213720023632, -0.03906073421239853, -0.01889759674668312, -0.017974095419049263, -0.026713164523243904, 0.058898936957120895, -0.009679674170911312, -0.024900363758206367, 0.04371245205402374, 0.009636919014155865 ]
44,089
dataclass_array.array_dataclass
as_jax
Returns the instance as containing `jnp.ndarray`.
def as_jax(self: _DcT) -> _DcT: """Returns the instance as containing `jnp.ndarray`.""" return self.as_xnp(enp.lazy.jnp)
(self: ~_DcT) -> ~_DcT
[ 0.01639612950384617, -0.0755402222275734, 0.05121545121073723, 0.023811591789126396, -0.021947035565972328, 0.04406512901186943, -0.05631304532289505, -0.002955066505819559, 0.063531793653965, -0.004391972906887531, 0.05573144182562828, -0.015096070244908333, 0.010836669243872166, 0.01944955438375473, -0.016344809904694557, -0.025419559329748154, 0.04420197755098343, 0.012034091167151928, -0.0023050373420119286, 0.06103431060910225, -0.046459972858428955, -0.053541868925094604, 0.0005054296925663948, 0.02033906802535057, 0.0003397150430828333, 0.02545377053320408, 0.04769160971045494, -0.008754010312259197, 0.003156062215566635, -0.045946791768074036, -0.07855088263750076, -0.025778785347938538, -0.007868773303925991, 0.027592023834586143, 0.07731924951076508, 0.03233039379119873, 0.0012765374267473817, 0.040780771523714066, 0.00014540123811457306, 0.012957816943526268, 0.01760210283100605, -0.05809207260608673, -0.012034091167151928, -0.0419439822435379, -0.004746922757476568, -0.007804625667631626, 0.017550785094499588, 0.04871796816587448, -0.01811528392136097, -0.0031902743503451347, 0.04495464265346527, -0.034143634140491486, -0.0027562088798731565, 0.024136606603860855, -0.06667929887771606, 0.046904731541872025, 0.04108868166804314, 0.1274741291999817, -0.007060513366013765, -0.009844519197940826, -0.047486335039138794, -0.01482237409800291, 0.07410331815481186, -0.006128234788775444, 0.007406910415738821, 0.050531208515167236, -0.017003392800688744, -0.00854446180164814, 0.01665271818637848, -0.009374103508889675, 0.008266488090157509, 0.0032330395188182592, -0.013975625857710838, 0.0010605737334117293, 0.00179399480111897, 0.014257875271141529, -0.02615511789917946, -0.0024910655338317156, -0.05361029505729675, -0.027455175295472145, -0.004592968616634607, 0.025265604257583618, -0.08053518086671829, 0.034656815230846405, 0.010186640545725822, -0.03681217506527901, -0.00042898711399175227, 0.052070751786231995, -0.030140822753310204, -0.020818037912249565, -0.01816660165786743, 0.00022371478553395718, -0.02232336811721325, 0.029696065932512283, 0.001807893393561244, 0.010537313297390938, 0.01951797865331173, -0.013949966058135033, -0.025026120245456696, 0.03585423529148102, -0.010007026605308056, 0.0280538871884346, 0.0022879312746226788, 0.007248679641634226, -0.026959100738167763, 0.022100988775491714, 0.0023584936279803514, 0.007753307465463877, 0.02321288175880909, 0.001044536824338138, -0.026924889534711838, 0.10982070118188858, -0.014309193007647991, -0.0005618261056952178, 0.00715887313708663, -0.030654003843665123, -0.0010498824995011091, 0.010956411249935627, -0.02257995866239071, 0.04163607582449913, 0.015224365517497063, 0.04776003211736679, -0.010297829285264015, 0.011016282252967358, 0.01507896464318037, 0.07003208249807358, 0.03289489448070526, 0.04054128751158714, -0.006675627548247576, -0.06479763984680176, 0.0038060913793742657, -0.001015135901980102, -0.01682377979159355, 0.011016282252967358, 0.03985704854130745, 0.04334667697548866, 0.03537526726722717, -0.04834163561463356, -0.050462786108255386, 0.027882827445864677, -0.035033147782087326, -0.0015587868401780725, 0.03742799162864685, 0.028464432805776596, -0.0066414158791303635, 0.007334209978580475, 0.03174879029393196, 0.02779729664325714, -0.045570459216833115, -0.015190153382718563, -0.023640532046556473, 0.004002810921519995, 0.05662095546722412, -0.0585368312895298, -0.023708956316113472, -0.011837371625006199, 0.0247524231672287, -0.028019675984978676, 0.06072640046477318, 0.007766136899590492, -0.06452394276857376, 0.0152414720505476, -0.027438070625066757, 0.010400465689599514, -0.011666311882436275, 0.028293371200561523, -0.02155359648168087, -0.06650824099779129, -0.03787274658679962, 0.0492311492562294, -0.013761799782514572, -0.023931333795189857, 0.01594281941652298, 0.021981246769428253, -0.02990133874118328, 0.05747625604271889, 0.0014625655021518469, 0.0841616615653038, 0.04119131714105606, 0.04981275647878647, 0.008245105855166912, 0.045057278126478195, -0.06469500064849854, -0.009536610916256905, 0.003284357488155365, 0.041807133704423904, 0.010118216276168823, -0.013274278491735458, 0.02824205346405506, 0.03144088014960289, 0.060863249003887177, 0.04700736701488495, 0.046596821397542953, -0.04177292063832283, -0.04673366993665695, -0.029542110860347748, -0.026103800162672997, -0.00784311443567276, -0.0662345439195633, 0.09572533518075943, -0.043141406029462814, -0.018850844353437424, 0.024461621418595314, 0.02473531849682331, -0.010973517782986164, 0.008518802002072334, -0.011213001795113087, -0.04362037405371666, -0.0036093720700591803, -0.042628224939107895, 0.01956929638981819, -0.005418334621936083, -0.07834561169147491, -0.005769008304923773, 0.01332559622824192, -0.010922199115157127, -0.029610535129904747, -0.010571525432169437, 0.008775392547249794, -0.01907322183251381, 0.02487216517329216, -0.007932920940220356, -0.013342702761292458, -0.011247213929891586, 0.0019842993933707476, -0.013163088820874691, 0.010374806821346283, 0.006389101967215538, -0.01320585422217846, -0.09784648567438126, -0.0017416075570508838, 0.0017501605907455087, 0.025231393054127693, -0.0331856943666935, 0.027831509709358215, -0.01269267313182354, -0.00800989754498005, -0.014386170543730259, 0.026770934462547302, 0.05012066289782524, 0.0018335524946451187, 0.011700524017214775, 0.03913859277963638, -0.013864436186850071, -0.0007847390952520072, 0.019671933725476265, 0.016361916437745094, 0.05128387361764908, -0.0015919298166409135, -0.019877204671502113, -0.04793109372258186, -0.06835569441318512, 0.0164560005068779, -0.0051874034106731415, 0.0026065311394631863, -0.011777500621974468, 0.02403397113084793, 0.012957816943526268, 0.004841006360948086, -0.04481779411435127, 0.02358921431005001, 0.005888750310987234, 0.0420808307826519, 0.03253566846251488, -0.03359623998403549, 0.025812996551394463, -0.005610777530819178, 0.026616981253027916, 0.014018390327692032, 0.053473446518182755, -0.03595687076449394, 0.02985002100467682, -0.017259983345866203, -0.044407252222299576, 0.03443443775177002, -0.0005800012731924653, -0.018731102347373962, 0.008394783362746239, -0.01740538515150547, 0.023503683507442474, -0.034468647092580795, -0.07601919025182724, 0.004768305458128452, 0.013470998033881187, -0.043141406029462814, -0.05227602273225784, 0.010990623384714127, 0.0014657728606835008, -0.007146043702960014, -0.034468647092580795, -0.006188105791807175, 0.058263134211301804, -0.006974983029067516, -0.01431774627417326, -0.014933562837541103, -0.04413355514407158, -0.03301463648676872, 0.009091854095458984, -0.008553014136850834, 0.03718850761651993, 0.03807802125811577, 0.026770934462547302, -0.002055930905044079, 0.04136237874627113, 0.004965025000274181, -0.015318448655307293, -0.004768305458128452, 0.013282831758260727, -0.01588294841349125, 0.033630453050136566, -0.028874976560473442, -0.002092281123623252, -0.05898158624768257, -0.007004918996244669, -0.040267590433359146, -0.03865962475538254, 0.01888505555689335, -0.012701226398348808, 0.05751046910881996, 0.04967590793967247, -0.026702510192990303, -0.038556989282369614, -0.006748328451067209, -0.03174879029393196, -0.045570459216833115, -0.011289979331195354, 0.02844732627272606, 0.013351255096495152, -0.009331339038908482, -0.006256530061364174, -0.0028631214518100023, -0.011606440879404545, 0.0373595654964447, 0.01690930873155594, -0.006132511422038078, -0.053986627608537674, 0.04102025553584099, -0.024889271706342697, -0.019757462665438652, -0.02620643563568592, -0.04112289473414421, -0.004490332677960396, -0.07909827679395676, -0.0022964843083173037, -0.02779729664325714, -0.030380306765437126, -0.01265846099704504, -0.004171732813119888, 0.05374714359641075, -0.02748938836157322, -0.012547272257506847, -0.021519383415579796, 0.04074656218290329, 0.06305282562971115, -0.005704860668629408, 0.050462786108255386, -0.049778543412685394, 0.03286068141460419, -0.026514343917369843, 0.015788864344358444, -0.0008895135251805186, 0.020373281091451645, -0.024649787694215775, 0.019107434898614883, -0.0005489966133609414, -0.008625715039670467, 0.00828787125647068, -0.037599049508571625, 0.04136237874627113, -0.01272688526660204, 0.00005830082227475941, -0.031030336394906044, -0.09203043580055237, 0.022237837314605713, 0.0036585519555956125, 0.03161194175481796, -0.09702539443969727, -0.02162202075123787, -0.028327584266662598, -0.0705452635884285, 0.02066408284008503, -0.05497877672314644, 0.006081193219870329, -0.035614751279354095, 0.00386596261523664, 0.017003392800688744, 0.00780890230089426, 0.007684883661568165, -0.032552771270275116, -0.018012648448348045, -0.005396951921284199, -0.028926294296979904, -0.039446502923965454, 0.0353410542011261, -0.07745610177516937, -0.014257875271141529, 0.02748938836157322, 0.04303876683115959, 0.006299294997006655, 0.005640713032335043, -0.010169534012675285, -0.0042893365025520325, 0.06435287743806839, 0.01221370417624712, -0.053028687834739685, -0.0281907357275486, 0.019877204671502113, -0.005384122487157583, 0.011614993214607239, 0.013607845641672611, 0.013060453347861767, 0.018953479826450348, -0.04310719296336174, 0.020390385761857033, -0.009314232505857944, 0.057613104581832886, -0.005781837739050388, -0.025334028527140617, -0.004503162112087011, 0.021604914218187332, 0.01593426614999771, 0.018320556730031967, 0.004601521883159876, 0.015703333541750908, 0.012906498275697231, 0.018919268622994423, -0.032997529953718185, 0.005195956211537123, -0.010648502968251705, 0.0495048463344574, -0.01849161647260189, 0.004413355607539415, -0.046015217900276184, -0.04293613135814667, 0.0128466272726655, -0.004297889769077301, 0.010101109743118286, -0.03537526726722717, 0.01792711764574051, 0.030893487855792046, 0.012487401254475117, 0.0609658882021904, 0.01587439514696598, -0.03705165907740593, 0.0010579009540379047, -0.010879434645175934, -0.013257171958684921, 0.016233621165156364, -0.03168036416172981, -0.06945047527551651, 0.10557840764522552, 0.006675627548247576, 0.12446346879005432, -0.05631304532289505, 0.015575039200484753, -0.06178697571158409, 0.03961756080389023, -0.10126768797636032, 0.03660690039396286, 0.02391422912478447, -0.007188808638602495, -0.05573144182562828, -0.009647800587117672, -0.05337081104516983, -0.014839479699730873, -0.02174176275730133, 0.01485658623278141, -0.02512875571846962, -0.011632099747657776, 0.0054525467567145824, 0.06975838541984558, 0.005529523827135563, 0.007556588388979435, -0.0937410369515419, 0.0004370055685285479, 0.009245808236300945, -0.05278920382261276, 0.03212512284517288, 0.03212512284517288, -0.018269238993525505, -0.09606745839118958, -0.034092314541339874, 0.030944805592298508, 0.007500993553549051, -0.008655650541186333, 0.04724685102701187, 0.0536787174642086, -0.01437761727720499, 0.03321990743279457, -0.01835476979613304, -0.03551211580634117, 0.11789475381374359, 0.02098909765481949, 0.00806549284607172, 0.04420197755098343, 0.01412102673202753, 0.04043865203857422, 0.006769710686057806, -0.0024632681161165237, 0.04967590793967247, -0.004250848200172186, -0.0423545278608799, -0.05939213186502457, 0.023452365770936012, 0.019552191719412804, -0.051249660551548004, 0.03424626961350441, 0.013907201588153839, -0.031338244676589966, 0.010357700288295746, -0.07814034074544907, 0.012957816943526268, -0.04724685102701187, 0.0033763025421649218, 0.010990623384714127, -0.029097354039549828, -0.059597402811050415, 0.018731102347373962, -0.01358218677341938, -0.034212056547403336, 0.015121729113161564, 0.04947063699364662, -0.015908606350421906, 0.023572107776999474, -0.01956929638981819, 0.07109265774488449, -0.005371293053030968, 0.04143080115318298, -0.024512939155101776, 0.07519809901714325, -0.005615054164081812, -0.09716224670410156, 0.01259858999401331, 0.08641965687274933, -0.06886887550354004, 0.005542353261262178, -0.025162968784570694, 0.02524849772453308, 0.03564896434545517, 0.0018324833363294601, -0.025026120245456696, -0.008972112089395523, 0.017875799909234047, -0.013787459582090378, -0.0006094022537581623, 0.05785258859395981, -0.008369124494493008, 0.03705165907740593, 0.012273576110601425, -0.013975625857710838, -0.009331339038908482, -0.004511714912950993, 0.06931363046169281, 0.04054128751158714, 0.04953905940055847, -0.0005703791393898427, -0.023418152704834938, -0.032176438719034195, -0.010605737566947937, -0.01568622887134552, 0.037599049508571625, -0.005234444979578257, 0.05928949639201164, 0.007757584098726511, -0.05696307495236397, 0.0747191309928894, 0.0396517738699913, 0.045946791768074036, -0.04054128751158714, -0.0377701111137867, 0.01772184669971466, -0.04399670660495758, -0.0030577026773244143, 0.02225494384765625, 0.026941996067762375, 0.014334851875901222, 0.01773895137012005, -0.005542353261262178, -0.007830284535884857, 0.011230108328163624, -0.007389804348349571, -0.022494427859783173, -0.031150078400969505, -0.03681217506527901, 0.0662345439195633, 0.000501420465297997, -0.03079085238277912, 0.008647097274661064, 0.037530627101659775, -0.11084706336259842, 0.019364025443792343, 0.026685405522584915, 0.0011022697435691953, 0.024820847436785698, 0.026514343917369843, 0.01659284718334675, -0.09983078390359879, 0.0163191519677639, 0.08347742259502411, -0.06938204914331436, 0.015575039200484753, 0.01809817925095558, -0.007334209978580475, -0.030722428113222122, -0.009348444640636444, -0.03301463648676872, -0.037906959652900696, -0.020818037912249565, 0.05282341688871384, -0.011597887612879276, 0.020800931379199028, -0.0374964140355587, -0.05241287127137184, -0.0466652475297451, -0.031731683760881424, -0.009861625730991364, -0.056792017072439194, 0.04642576351761818, -0.03060268610715866, 0.018063966184854507, 0.005576565396040678, 0.030893487855792046, 0.017054710537195206, -0.0018795249052345753, -0.021656231954693794, -0.04341509938240051, 0.04023338109254837, -0.03636741638183594, 0.0468020960688591, 0.0399254709482193, 0.06681615114212036, -0.004439014475792646, 0.06243700534105301, -0.033373862504959106, -0.030380306765437126, -0.04259401187300682, -0.029507899656891823, 0.03961756080389023, 0.02524849772453308, 0.06510554254055023, -0.028994718566536903, -0.0046400101855397224, 0.012966370210051537, 0.004270092584192753, -0.0038873450830578804, -0.07766137272119522, 0.004691328387707472, -0.04991539195179939, -0.037325356155633926, 0.02169044502079487, -0.04290192201733589, 0.013719035312533379, -0.04433882609009743, 0.01339402049779892, 0.015181600116193295, 0.07061368972063065, -0.025676149874925613, 0.030209247022867203, 0.022203626111149788, 0.004922259598970413, -0.0023606319446116686, -0.007992791943252087, -0.0747191309928894, 0.009203043766319752, 0.057749953120946884, 0.013060453347861767, -0.01613098569214344, 0.00208158977329731, -0.0013193024788051844, 0.00691938865929842, -0.04799951612949371, 0.053473446518182755, -0.02358921431005001, -0.0565183199942112, -0.008561567403376102, -0.010759691707789898, 0.01792711764574051, 0.026035375893115997, 0.012923604808747768, -0.009493845514953136, -0.002630051923915744, 0.019175859168171883, -0.0011332744034007192, 0.043894071131944656, -0.03422916308045387, -0.0987359955906868, 0.035751599818468094, 0.04834163561463356, -0.01728564128279686, -0.07656658440828323, -0.03424626961350441, 0.01816660165786743, 0.04242295026779175, 0.00832208339124918, 0.0608290396630764, -0.004058405291289091, -0.005636436399072409, -0.023555001243948936, -0.020048266276717186, 0.003401961410418153, 0.02971317246556282, -0.022083882242441177, -0.046083640307188034, 0.03174879029393196, 0.06425024569034576, 0.06951890140771866, 0.03168036416172981, -0.005050554871559143, 0.021656231954693794, -0.02754070609807968, 0.03571738675236702, 0.06486605852842331, 0.02531692199409008, -0.04324404150247574, 0.012932158075273037, 0.026035375893115997, 0.0294052641838789, 0.03883068636059761, -0.017268536612391472, 0.06479763984680176, -0.015959924086928368, 0.022716805338859558, 0.06835569441318512, 0.028909187763929367, -0.04088340699672699, 0.029764490202069283, -0.011409721337258816, -0.02627485990524292, 0.033373862504959106, -0.020800931379199028, -0.006620033178478479, 0.006282188929617405, -0.01977456919848919, -0.02015090174973011, -0.04266243427991867, -0.03821486979722977, 0.000614213349763304, 0.0027091673109680414, -0.03705165907740593, -0.008377677761018276, -0.04994960501790047, 0.0021104563493281603, -0.01158078107982874, 0.025180073454976082, 0.0538155660033226, 0.002364908577874303, 0.024889271706342697, -0.011760395020246506, 0.004913706798106432, -0.03349360451102257, 0.04341509938240051, 0.07170847058296204, -0.017114581540226936, -0.0023157286923378706, 0.10742586106061935, -0.007299997843801975, 0.00015809712931513786, 0.009682012721896172, -0.04851269721984863, -0.09435685724020004, -0.07389804720878601, 0.0170290507376194, -0.07287168502807617, 0.04057550057768822, -0.03766747564077377, -0.009776095859706402, 0.03907017037272453, 0.0017319853650406003 ]
44,090
dataclass_array.array_dataclass
as_np
Returns the instance as containing `np.ndarray`.
def as_np(self: _DcT) -> _DcT: """Returns the instance as containing `np.ndarray`.""" return self.as_xnp(enp.lazy.np)
(self: ~_DcT) -> ~_DcT
[ -0.01778428629040718, -0.06113458052277565, 0.056832775473594666, 0.02435940131545067, -0.006094221957027912, 0.04354264959692955, -0.029115868732333183, -0.006002415437251329, 0.08946353197097778, -0.03549862653017044, 0.02542610839009285, -0.024411862716078758, 0.00406791502609849, 0.02568841353058815, -0.015283645130693913, -0.012844206765294075, -0.0005300749326124787, 0.013788505457341671, -0.008214522153139114, 0.056343138217926025, -0.03374992311000824, -0.010570895858108997, 0.005329165607690811, -0.029885295778512955, -0.009250626899302006, 0.039310794323682785, 0.05833665654063225, -0.037806909531354904, -0.0006732497713528574, -0.030672211199998856, -0.06410737335681915, 0.0007136884960345924, 0.008323815651237965, 0.04847398400306702, 0.0888340026140213, 0.00679807411506772, -0.0034471263643354177, 0.03313788026571274, -0.01792418211698532, 0.0261255893856287, -0.007532528601586819, -0.07876148074865341, -0.007357658352702856, -0.02565344050526619, -0.01789795234799385, -0.013945888727903366, 0.02512883022427559, 0.00848119892179966, -0.020879486575722694, 0.023380128666758537, 0.0637226551771164, -0.007685539778321981, -0.0015508789801970124, 0.029553042724728584, -0.072815902531147, 0.07645319402217865, 0.03423956036567688, 0.10303344577550888, -0.046340569853782654, 0.01811653934419155, -0.032053686678409576, -0.029570529237389565, 0.05704261735081673, -0.056098319590091705, 0.03305044397711754, 0.005416600499302149, -0.011663834564387798, 0.01773182488977909, 0.0357959046959877, 0.014487985521554947, -0.02556600607931614, 0.012844206765294075, -0.00845933984965086, -0.015694590285420418, 0.03333023563027382, 0.021666401997208595, -0.05011776462197304, 0.0175044946372509, -0.015327362343668938, -0.021841272711753845, -0.0376320406794548, 0.035096425563097, -0.031529076397418976, 0.06868896633386612, 0.01301033329218626, -0.040499910712242126, 0.0069292266853153706, 0.04466181620955467, -0.04630559682846069, -0.02540862187743187, 0.012179700657725334, 0.027646958827972412, -0.014846469275653362, 0.05396490544080734, 0.0030143228359520435, -0.006701895501464605, 0.019200734794139862, 0.003294115187600255, -0.022698136046528816, 0.01254692766815424, -0.01860617659986019, -0.022733110934495926, 0.05830168351531029, 0.013692326843738556, -0.020529747009277344, 0.01765313372015953, 0.030007705092430115, 0.02628297172486782, 0.02684255689382553, 0.010981841012835503, -0.02654527686536312, 0.10953861474990845, 0.0029596760869026184, 0.0261255893856287, -0.022068602964282036, -0.05060740187764168, -0.00813583005219698, -0.003392479382455349, -0.010291104204952717, 0.03350510820746422, -0.03441443294286728, 0.08309826254844666, -0.01635909639298916, 0.01816900074481964, 0.0005196920246817172, 0.029675452038645744, 0.023310180753469467, -0.002264567418023944, 0.0018022547010332346, -0.028503822162747383, -0.01815151423215866, -0.009442984126508236, -0.04613072797656059, 0.00461219809949398, 0.029622990638017654, 0.028101621195673943, 0.07575371861457825, -0.02654527686536312, -0.00014822970842942595, 0.01233708392828703, -0.0329979844391346, 0.01327263843268156, 0.03542867675423622, 0.006561999674886465, 0.021089332178235054, 0.02561846561729908, 0.040360014885663986, 0.055433813482522964, -0.0529506579041481, -0.047949373722076416, -0.0327356792986393, 0.019148273393511772, 0.06977315992116928, -0.01801161840558052, 0.03488657996058464, -0.01732088066637516, -0.009801467880606651, -0.06585606932640076, 0.031266771256923676, -0.022680649533867836, -0.10737022757530212, 0.03464176133275032, -0.05081724375486374, -0.018903454765677452, -0.011663834564387798, 0.019078325480222702, 0.020232466980814934, -0.06344286352396011, -0.03418710082769394, 0.030899543315172195, -0.028906023129820824, -0.04095457121729851, -0.015510975383222103, 0.010920636355876923, -0.020459799095988274, 0.0534752681851387, 0.00928560085594654, 0.05830168351531029, 0.007423234637826681, 0.047914400696754456, 0.047284867614507675, 0.020582208409905434, -0.04462684318423271, -0.0022427088115364313, 0.020110059529542923, 0.02505888231098652, 0.010588383302092552, -0.019410578534007072, 0.007886640727519989, 0.03460678830742836, 0.057497281581163406, 0.07512418180704117, 0.01351745706051588, -0.013089025393128395, 0.0003325263678561896, -0.04448694735765457, -0.05113201215863228, 0.005163039080798626, -0.0654713585972786, 0.0663457065820694, -0.013753531500697136, -0.03305044397711754, -0.0043586366809904575, 0.01745203323662281, -0.031931277364492416, -0.024044634774327278, -0.01655145362019539, -0.01705857552587986, 0.0020765820518136024, -0.0027651330456137657, 0.007838550955057144, -0.0005808965652249753, -0.030934516340494156, -0.01780177466571331, 0.024341914802789688, -0.03521883487701416, -0.013727300800383091, 0.0013792876852676272, -0.02658025175333023, -0.0021771325264126062, 0.048683829605579376, -0.01700611412525177, -0.0364079512655735, -0.011410272680222988, -0.0347466841340065, -0.013027820736169815, -0.022663161158561707, 0.030689697712659836, -0.010063773021101952, -0.07204647362232208, 0.00828009843826294, 0.011733782477676868, -0.03591831400990486, -0.028836075216531754, 0.05424469709396362, 0.007077866233885288, 0.007064750883728266, 0.01799413003027439, 0.029168328270316124, 0.06847912073135376, -0.038926079869270325, 0.0182914100587368, 0.0047695813700556755, -0.002651467453688383, -0.019130786880850792, 0.05319547653198242, 0.011943626217544079, 0.04329783096909523, 0.00460345484316349, 0.011034301482141018, -0.009574136696755886, -0.10506194084882736, 0.019078325480222702, 0.03172143176198006, -0.00614231126382947, 0.007278967183083296, 0.013036563992500305, 0.01325515192002058, 0.023135311901569366, -0.04501155763864517, 0.010273616760969162, 0.03362751752138138, 0.0335225947201252, 0.03630302846431732, -0.03292803466320038, 0.013736044988036156, 0.00419032434001565, 0.010046285577118397, -0.015834486111998558, 0.04189886897802353, -0.038611311465501785, 0.07694283127784729, -0.02476160228252411, -0.05819676071405411, 0.02595071867108345, 0.010850688442587852, 0.0047433506697416306, 0.01632412150502205, 0.004585967864841223, 0.03537621721625328, -0.030672211199998856, -0.05763717740774155, -0.00005427120049716905, 0.0172421894967556, -0.04214368760585785, -0.06526151299476624, -0.00620351592078805, -0.009101987816393375, -0.014077041298151016, -0.022907979786396027, -0.007724885828793049, 0.038331519812345505, -0.0008453875198028982, -0.001453607459552586, 0.0178105179220438, -0.030794620513916016, -0.06662549823522568, 0.021369123831391335, 0.00427120178937912, 0.056378111243247986, 0.04459187015891075, 0.037946805357933044, -0.00430180411785841, 0.0691436305642128, 0.022208500653505325, -0.021911220625042915, 0.014356832951307297, 0.028066648170351982, -0.01600061170756817, 0.010815714485943317, -0.03759706765413284, -0.005254845600575209, -0.023922227323055267, 0.010046285577118397, 0.0033247172832489014, -0.009818954393267632, 0.006518281996250153, 0.0068986243568360806, 0.0644221380352974, 0.05952577292919159, -0.04655041545629501, -0.010273616760969162, -0.010911893099546432, 0.008113971911370754, -0.020931947976350784, -0.0037225468549877405, 0.021736349910497665, -0.011602629907429218, -0.005198013037443161, 0.03348761796951294, 0.004585967864841223, -0.01675255410373211, 0.008345674723386765, 0.028661206364631653, -0.015563436783850193, -0.022628188133239746, 0.03173891827464104, -0.037422195076942444, -0.015082543715834618, -0.014015836641192436, -0.06337291747331619, 0.048369064927101135, -0.057147540152072906, -0.014942647889256477, -0.0018011617939919233, -0.047494713217020035, -0.01312399934977293, -0.023992175236344337, 0.0362330786883831, -0.020302416756749153, -0.023694895207881927, -0.005049373488873243, 0.013631122186779976, 0.07302574068307877, 0.002101719845086336, 0.038576338440179825, -0.03668774291872978, 0.07813195139169693, -0.028328953310847282, 0.020862000063061714, 0.0025050139520317316, 0.04165405407547951, 0.00436082249507308, -0.019585449248552322, 0.021543992683291435, -0.01764439046382904, 0.0013399419840425253, -0.05704261735081673, 0.007423234637826681, 0.007681168150156736, -0.030287496745586395, -0.02666768617928028, -0.07127704471349716, 0.020005136728286743, 0.01600935496389866, 0.0043695662170648575, -0.12198936939239502, -0.019672883674502373, -0.0030186946969479322, -0.037911832332611084, 0.021963682025671005, -0.04298306629061699, 0.028503822162747383, -0.01346499565988779, 0.0170236025005579, 0.014461755752563477, -0.002450366970151663, 0.023432590067386627, -0.05256594344973564, -0.046515438705682755, -0.012511953711509705, -0.010658331215381622, -0.03161650896072388, 0.015283645130693913, -0.05763717740774155, -0.02631794661283493, -0.01707606390118599, 0.01696239784359932, 0.02442934922873974, -0.028696179389953613, -0.01332509983330965, 0.0007880082703195512, 0.04420715570449829, 0.014225680381059647, -0.06956331431865692, -0.023677408695220947, 0.01774931326508522, -0.03672271594405174, -0.0019257566891610622, -0.008376277051866055, 0.031074412167072296, 0.05385998263955116, -0.010833200998604298, -0.0017071691108867526, 0.038541365414857864, 0.02602066658437252, 0.0056002140045166016, -0.028853563591837883, 0.03245588764548302, 0.022733110934495926, 0.01247697975486517, 0.014776521362364292, -0.020512260496616364, 0.0180291049182415, 0.04665533825755119, -0.004015454091131687, -0.037527117878198624, 0.0042471569031476974, 0.013552431017160416, 0.04952320456504822, -0.019288169220089912, 0.02575836144387722, -0.04420715570449829, -0.01704108901321888, 0.02677260898053646, -0.03306793048977852, 0.031074412167072296, -0.031546562910079956, -0.013342587277293205, 0.0492783859372139, 0.01326389517635107, 0.06596099585294724, 0.010702048428356647, -0.03980042785406113, 0.022873006761074066, -0.039520636200904846, -0.02437688782811165, -0.01610553450882435, -0.019690370187163353, -0.06886383891105652, 0.0673949271440506, -0.01712852343916893, 0.1435333639383316, -0.05057242512702942, -0.0018066264456138015, -0.01687496155500412, 0.04015016928315163, -0.0923314020037651, 0.01712852343916893, -0.01727716438472271, -0.031249282881617546, -0.0046777743846178055, -0.04070975258946419, -0.04322788119316101, 0.03319033980369568, -0.029098380357027054, 0.014741547405719757, -0.015825742855668068, -0.02720978483557701, 0.0035301896277815104, 0.06802445650100708, -0.02476160228252411, 0.009040783159434795, -0.09540911763906479, 0.010474717244505882, 0.010028799064457417, -0.02467416785657406, 0.04665533825755119, -0.005053745117038488, -0.04231856018304825, -0.09205161035060883, -0.026387894526124, -0.0047695813700556755, 0.01799413003027439, -0.01743454672396183, 0.05134185403585434, 0.038016755133867264, 0.02556600607931614, 0.006793702486902475, -0.011821216903626919, -0.03488657996058464, 0.09449978917837143, -0.005617701448500156, 0.01675255410373211, 0.0630231723189354, 0.03355756774544716, 0.057147540152072906, 0.0008601421723142266, 0.03147661313414574, 0.045850932598114014, 0.0019126414554193616, -0.022733110934495926, -0.04413720592856407, 0.03219358250498772, 0.009888903237879276, -0.021876245737075806, 0.0083587896078825, 0.04532632231712341, -0.005014399532228708, 0.02488401159644127, -0.05966566875576973, -0.00018866841855924577, -0.04333280399441719, -0.039870377629995346, 0.005167410708963871, 0.020267441868782043, -0.047040048986673355, 0.013237664476037025, -0.023135311901569366, -0.01707606390118599, 0.014968878589570522, 0.04574601352214813, -0.04490663483738899, -0.01325515192002058, -0.03392479568719864, 0.06480684876441956, -0.015406053513288498, 0.023030389100313187, 0.003458055667579174, 0.05438459292054176, 0.021718863397836685, -0.09198165684938431, 0.030427392572164536, 0.05372008681297302, -0.0529506579041481, 0.010798227041959763, -0.024009661749005318, 0.015633385628461838, 0.04063980653882027, -0.0019793107639998198, -0.007252736482769251, -0.012004830874502659, 0.047179948538541794, 0.005547753069549799, 0.006846163421869278, 0.04543124511837959, -0.003982665948569775, 0.029902782291173935, 0.023869765922427177, 0.0068986243568360806, 0.01260813232511282, -0.0185537151992321, 0.06742990016937256, 0.009477958083152771, 0.038121677935123444, 0.021876245737075806, -0.023380128666758537, -0.055049099028110504, -0.014112015254795551, -0.0271748099476099, 0.023554999381303787, -0.039520636200904846, 0.047634609043598175, 0.02602066658437252, -0.07288584858179092, 0.05952577292919159, 0.021963682025671005, 0.08316820859909058, -0.04046493396162987, -0.027384653687477112, 0.0025399879086762667, -0.055853500962257385, -0.029710426926612854, 0.021299175918102264, 0.0137185575440526, 0.02561846561729908, 0.022645674645900726, -0.012957872822880745, -0.023362642154097557, 0.00939926691353321, -0.018955916166305542, -0.014085784554481506, -0.020459799095988274, -0.02724475786089897, 0.031686458736658096, -0.022855518385767937, -0.02521626465022564, 0.014977621845901012, 0.030007705092430115, -0.08645576238632202, 0.020599694922566414, 0.021316662430763245, 0.0188160203397274, 0.009985081851482391, 0.01811653934419155, -0.011786242946982384, -0.07365527749061584, 0.03534124419093132, 0.08065007627010345, -0.04938330873847008, 0.038086701184511185, 0.039275817573070526, -0.004804555326700211, 0.010387282818555832, 0.021509019657969475, -0.05980556458234787, -0.01792418211698532, -0.015904434025287628, 0.05106206238269806, -0.0060723633505403996, -0.006601345259696245, -0.01273054163902998, -0.048683829605579376, -0.020564721897244453, -0.0038077959325164557, -0.031074412167072296, -0.07337548583745956, 0.030742159113287926, -0.029780374839901924, 0.014968878589570522, -0.015493488870561123, 0.030007705092430115, 0.006614460609853268, -0.011069275438785553, -0.008909630589187145, -0.04613072797656059, 0.02572338841855526, -0.0700179785490036, 0.039835404604673386, -0.00857300590723753, 0.055713605135679245, -0.03738722205162048, 0.03696753457188606, -0.039905350655317307, -0.018763558939099312, -0.0749143436551094, -0.0344843789935112, 0.03735224902629852, 0.02687752991914749, 0.07099725306034088, -0.004870131611824036, -0.01274802815169096, -0.01760941743850708, 0.004926964640617371, 0.006916111335158348, -0.09261119365692139, -0.021281687542796135, -0.04987294599413872, -0.01639406941831112, 0.0266501996666193, -0.01280923280864954, 0.010938122868537903, -0.039100948721170425, -0.004585967864841223, -0.012380801141262054, 0.06197395548224449, -0.004682146478444338, 0.039520636200904846, 0.011908652260899544, -0.003635111730545759, -0.03298049792647362, 0.001122447312809527, -0.105551578104496, 0.020809538662433624, 0.07925111800432205, 0.007510669995099306, -0.013683583587408066, 0.00829758495092392, -0.003825282910838723, 0.011480220593512058, -0.039170898497104645, 0.08065007627010345, -0.04613072797656059, -0.04315793514251709, 0.02547856979072094, -0.00902329571545124, 0.005455946549773216, -0.008061510510742664, 0.02462170645594597, -0.001499510952271521, -0.0010836480651050806, 0.03231599181890488, -0.0250763688236475, 0.0248140636831522, -0.04151415452361107, -0.07344543188810349, 0.01860617659986019, 0.048159219324588776, -0.028031673282384872, -0.10051532089710236, -0.004725863691419363, 0.027996700257062912, 0.03584836423397064, 0.030952002853155136, 0.03612815961241722, -0.015510975383222103, 0.003532375441864133, -0.013368817046284676, -0.0358833409845829, 0.022925466299057007, 0.013727300800383091, -0.03595328703522682, -0.06375762820243835, 0.0048001836985349655, 0.040115196257829666, 0.06130944937467575, 0.01612302102148533, 0.010492204688489437, -0.023030389100313187, 0.029570529237389565, 0.023729870095849037, 0.07505423575639725, 0.02694747969508171, -0.08295836299657822, 0.007187160197645426, 0.01644653081893921, 0.009486701339483261, 0.022715622559189796, -0.06047007441520691, 0.03619810566306114, -0.024167044088244438, 0.020792052149772644, 0.06994803249835968, 0.03488657996058464, -0.0274371150881052, 0.04375249147415161, 0.0014120758278295398, -0.01879853382706642, 0.019602935761213303, -0.014120758511126041, 0.002404463477432728, -0.014085784554481506, 0.021648915484547615, -0.0376320406794548, -0.030759645625948906, -0.01746952161192894, -0.014776521362364292, -0.01599186845123768, -0.039275817573070526, -0.007829807698726654, -0.020424824208021164, 0.003538933116942644, -0.001232834067195654, 0.012109752744436264, 0.030007705092430115, -0.019550474360585213, 0.021001895889639854, -0.021543992683291435, 0.011751268990337849, -0.0319487638771534, 0.05438459292054176, 0.08547649532556534, -0.01843130588531494, 0.018781045451760292, 0.07120709866285324, -0.035096425563097, 0.038926079869270325, -0.01351745706051588, -0.046970102936029434, -0.09827698022127151, -0.08421742916107178, -0.00017405037942808121, -0.06414234638214111, 0.0853365957736969, -0.06823430210351944, -0.022628188133239746, 0.04906854405999184, -0.011961113661527634 ]
44,091
dataclass_array.array_dataclass
as_tf
Returns the instance as containing `tf.Tensor`.
def as_tf(self: _DcT) -> _DcT: """Returns the instance as containing `tf.Tensor`.""" return self.as_xnp(enp.lazy.tnp)
(self: ~_DcT) -> ~_DcT
[ -0.015565471723675728, -0.07078897953033447, 0.04837892949581146, 0.002314560115337372, 0.008861836045980453, 0.034090761095285416, -0.032610852271318436, -0.01773248054087162, 0.06835769861936569, -0.034443121403455734, 0.024030903354287148, -0.03511260449886322, -0.0035169862676411867, 0.009540127590298653, 0.016032347455620766, 0.02010209672152996, -0.02972150593996048, -0.000644707411993295, 0.008831004612147808, 0.011046463623642921, 0.014702191576361656, -0.0048669627867639065, -0.015503808856010437, -0.04485533758997917, -0.00959298200905323, 0.007624174002557993, 0.027818765491247177, -0.041014622896909714, -0.05535564571619034, -0.04425632581114769, -0.036398716270923615, -0.03067287616431713, 0.015856167301535606, 0.03490118682384491, 0.030496696010231972, 0.006518647074699402, -0.032751794904470444, 0.03830145299434662, -0.038442399352788925, -0.020348748192191124, -0.0007663814467377961, -0.07392498105764389, -0.04531340301036835, -0.025986498221755028, -0.019943535327911377, -0.006553882732987404, 0.05017596110701561, -0.018076032400131226, 0.01107289083302021, -0.008505072444677353, 0.06839293986558914, -0.03650442138314247, -0.026426946744322777, 0.03375602141022682, -0.05521469935774803, -0.013838911429047585, 0.013592259958386421, 0.014173652045428753, -0.04612383246421814, 0.0500350184738636, -0.008280443027615547, -0.007628578692674637, 0.015301202423870564, -0.040627025067806244, 0.03264608979225159, -0.001877414295449853, -0.013222282752394676, 0.00830246601253748, 0.0044463337399065495, 0.021511534228920937, -0.02776591293513775, -0.04422109201550484, 0.008491858839988708, -0.01992591843008995, 0.007853208109736443, -0.04126127436757088, 0.01490479800850153, 0.003129390999674797, -0.002662514802068472, -0.044009674340486526, -0.06599689275026321, 0.020595399662852287, -0.008086645975708961, 0.039147116243839264, 0.01918596401810646, -0.028047800064086914, 0.01018318347632885, 0.01980259269475937, -0.10880854725837708, -0.05627178028225899, -0.011345969513058662, 0.012165204621851444, -0.05172634497284889, 0.006496624555438757, 0.0044287159107625484, -0.02410137467086315, 0.0010862576309591532, 0.0006094714626669884, -0.06920336186885834, 0.03220563754439354, -0.010465070605278015, 0.05944301187992096, 0.002236380474641919, 0.03587017580866814, -0.0012585833901539445, -0.02306191623210907, -0.03250514343380928, 0.017362503334879875, 0.012764215469360352, -0.012050687335431576, -0.039922308176755905, 0.08386150747537613, 0.04985883831977844, 0.03551781550049782, 0.0389004647731781, -0.06145146116614342, 0.009143723174929619, -0.0022154590114951134, 0.0032681324519217014, 0.013979854993522167, 0.022533375769853592, 0.06271995604038239, -0.022727174684405327, -0.017336076125502586, -0.035658761858940125, 0.04443250596523285, 0.06004202365875244, -0.010905520059168339, -0.018481245264410973, -0.04386873170733452, -0.02010209672152996, 0.004380266647785902, -0.015785695984959602, 0.09302285313606262, 0.030003393068909645, 0.04816751554608345, 0.04129650816321373, 0.0007619769894517958, -0.021264882758259773, 0.01087909284979105, -0.0027219755575060844, 0.03588779270648956, 0.023431893438100815, -0.00950489193201065, 0.0055496590211987495, -0.009002779610455036, -0.03320986405014992, 0.025387486442923546, -0.011390013620257378, -0.07008426636457443, -0.023097151890397072, 0.009645835496485233, 0.042106933891773224, 0.01244709175080061, -0.0157152246683836, 0.021088702604174614, -0.002136178081855178, -0.06201523542404175, 0.03664536774158478, -0.0045146034099161625, -0.07618007808923721, 0.031835660338401794, -0.01255279965698719, 0.00012188052642159164, 0.013918192125856876, 0.0065406691282987595, 0.011337160132825375, -0.051972996443510056, -0.01398866344243288, 0.010121520608663559, -0.01690443605184555, -0.04429156333208084, 0.017653200775384903, 0.0319766066968441, -0.036222536116838455, 0.03338604420423508, -0.0012751001631841063, 0.036398716270923615, 0.013495360501110554, 0.04450297728180885, 0.043657317757606506, 0.013777248561382294, -0.035923030227422714, -0.013134192675352097, 0.010456262156367302, 0.004642333835363388, -0.010297699831426144, 0.03232896327972412, 0.0042525362223386765, 0.014129607938230038, 0.04443250596523285, 0.058808766305446625, 0.004157839808613062, 0.0009045723709277809, 0.005148849915713072, -0.04538387805223465, -0.03710343316197395, 0.00310076167806983, 0.007025163155049086, 0.06423509865999222, -0.017979132011532784, -0.009346330538392067, 0.024471351876854897, 0.066666379570961, -0.0435163713991642, 0.0038208961486816406, 0.020859669893980026, 0.008245207369327545, -0.027008339762687683, -0.0023101556580513716, -0.013046102598309517, 0.004545434843748808, -0.046194303780794144, 0.014737427234649658, 0.004027907270938158, -0.05627178028225899, -0.07170511782169342, 0.025440340861678123, -0.021617243066430092, -0.0031381999142467976, 0.08097216486930847, 0.00007239881961140782, -0.03632824122905731, -0.032346583902835846, 0.005527636501938105, -0.026567891240119934, -0.03016195446252823, 0.01670183055102825, -0.015142640098929405, -0.08682133257389069, 0.0024841330014169216, 0.019608793780207634, -0.051021624356508255, 0.0164639875292778, 0.08928784728050232, 0.009822015650570393, -0.026726452633738518, -0.019432615488767624, -0.0017871222225949168, 0.031219033524394035, -0.036222536116838455, -0.017926279455423355, 0.016499223187565804, -0.013742011971771717, -0.018851222470402718, 0.061557166278362274, 0.018868839368224144, 0.037526264786720276, -0.016534458845853806, 0.019644031301140785, -0.03359745815396309, -0.09295237809419632, 0.008434600196778774, 0.03320986405014992, -0.00953131914138794, 0.0015999313909560442, 0.003997075837105513, -0.03419646993279457, 0.036962490528821945, -0.013627495616674423, -0.003257121192291379, 0.046617135405540466, 0.03585255891084671, 0.05542611703276634, -0.008029387332499027, -0.03546496108174324, -0.03720914199948311, 0.0125087546184659, -0.0068357703275978565, 0.00410718796774745, 0.07163464277982712, 0.0944322869181633, -0.024594677612185478, -0.048625580966472626, 0.016948482021689415, -0.09901296347379684, 0.006976713892072439, 0.03830145299434662, -0.029298674315214157, 0.0023916386999189854, -0.042529765516519547, -0.08562330901622772, -0.010826239362359047, 0.01616448163986206, -0.05204346776008606, -0.0319061353802681, 0.0038561320398002863, -0.01616448163986206, 0.016922054812312126, -0.053241487592458725, -0.0011980215786024928, 0.04228311404585838, 0.03780815005302429, 0.009681071154773235, 0.039922308176755905, -0.04309353977441788, -0.10154994577169418, 0.0037988736294209957, 0.010500307194888592, 0.05243106186389923, 0.04728661850094795, 0.021159175783395767, -0.045806705951690674, 0.061028629541397095, 0.035042133182287216, 0.013046102598309517, 0.013557023368775845, 0.042917363345623016, -0.004589479882270098, 0.0007889544940553606, -0.027184519916772842, 0.021811040118336678, -0.019256435334682465, 0.0031998627819120884, 0.027783529832959175, -0.0056069171987473965, -0.005879995878785849, -0.035570669919252396, 0.0722336545586586, 0.07050709426403046, -0.02788923867046833, 0.014940033666789532, 0.027008339762687683, 0.03668060153722763, -0.033879347145557404, -0.0676177442073822, 0.01719513349235058, -0.045665763318538666, -0.023308567702770233, 0.014702191576361656, -0.0034288964234292507, -0.028188742697238922, 0.010914329439401627, 0.007681432645767927, -0.08252254873514175, -0.019256435334682465, 0.06423509865999222, 0.02676168829202652, -0.011020036414265633, -0.0011016733478754759, -0.003001660807058215, 0.05958395451307297, -0.023308567702770233, 0.02066587284207344, -0.03724437579512596, -0.025863172486424446, -0.025352250784635544, -0.01962641254067421, 0.06719491630792618, 0.029386764392256737, -0.03419646993279457, -0.02258623018860817, 0.02945723570883274, 0.05905541777610779, 0.010746958665549755, 0.06839293986558914, -0.020348748192191124, 0.06190952658653259, -0.05007025599479675, 0.036751072853803635, 0.001880717696622014, 0.041190799325704575, 0.0005062412237748504, 0.0006623253575526178, 0.004510198719799519, -0.002074515214189887, 0.040274668484926224, -0.03745579347014427, -0.024083757773041725, 0.03703296184539795, -0.032011840492486954, -0.04369255155324936, 0.003849525237455964, 0.0425650030374527, 0.02232196182012558, 0.027431171387434006, -0.11874508112668991, -0.033967435359954834, 0.015125022269785404, -0.008016173727810383, 0.04133174568414688, -0.002625076798722148, 0.03949947655200958, 0.01686920039355755, 0.011715946719050407, 0.012517563998699188, -0.02619791403412819, 0.008386150933802128, -0.0030060652643442154, -0.048097044229507446, -0.019767357036471367, -0.021123940125107765, -0.025880789384245872, 0.0013004259672015905, -0.04415062069892883, -0.01858695223927498, -0.03911188244819641, 0.022815264761447906, 0.043657317757606506, -0.06338943541049957, 0.008135095238685608, -0.007624174002557993, 0.04633524641394615, 0.0314304493367672, -0.04189551994204521, 0.009769161231815815, 0.007342286873608828, 0.008778151124715805, -0.01151333935558796, -0.03208231180906296, 0.004937434569001198, 0.07022520899772644, -0.018763132393360138, 0.04090891405940056, 0.02619791403412819, 0.018199358135461807, 0.006241163704544306, -0.02071872539818287, 0.01666659489274025, 0.02262146584689617, -0.009064442478120327, 0.04947124421596527, 0.001813549199141562, 0.010394599288702011, 0.04887223243713379, 0.008249611593782902, -0.007346691098064184, 0.05246629938483238, 0.009381566196680069, 0.05366431921720505, -0.0250175092369318, -0.02510559931397438, 0.00050431425916031, 0.005492400377988815, 0.04341066628694534, -0.01776771806180477, 0.052677713334560394, -0.02288573607802391, -0.011548575945198536, 0.07575725018978119, 0.009214195422828197, 0.035306401550769806, 0.034619301557540894, -0.040662262588739395, -0.014446730725467205, -0.0263740923255682, -0.07279743254184723, 0.0037239971570670605, -0.01427055150270462, -0.03851287066936493, 0.04774468392133713, 0.002183526521548629, 0.10465070605278015, -0.010817429982125759, 0.0010499205673113465, -0.011257879436016083, 0.011478103697299957, -0.08816029131412506, -0.010808621533215046, 0.0020359759218990803, -0.027906855568289757, 0.03135997802019119, 0.0014413697645068169, -0.02936914749443531, 0.040486082434654236, -0.09302285313606262, 0.042494531720876694, -0.024964654818177223, -0.009390374645590782, -0.00225399830378592, 0.0611695721745491, 0.002576627302914858, -0.0012728979345411062, -0.07307931780815125, 0.018904075026512146, 0.012755406089127064, 0.010015812702476978, 0.03602873906493187, -0.006514242384582758, -0.03981659933924675, -0.05257200449705124, -0.024224700406193733, 0.00007632157212356105, 0.019873064011335373, -0.018428390845656395, 0.08844218403100967, 0.005510018207132816, 0.02302667871117592, 0.06567977368831635, -0.003869345411658287, -0.03585255891084671, 0.06071150675415993, 0.016957290470600128, 0.021476298570632935, -0.014085562899708748, 0.018763132393360138, 0.02507036365568638, 0.023907577618956566, -0.0007685836753807962, 0.06409415602684021, 0.0309899989515543, -0.03851287066936493, -0.04242405667901039, 0.024030903354287148, 0.02697310410439968, -0.023379039019346237, -0.019309289753437042, 0.022903352975845337, 0.018692661076784134, 0.006377703044563532, -0.023132387548685074, -0.025704611092805862, 0.012077114544808865, -0.032399438321590424, -0.016772301867604256, -0.010209610685706139, -0.04890746995806694, 0.004494783002883196, 0.01871027797460556, -0.010738149285316467, -0.024577060714364052, 0.056236542761325836, -0.012905159033834934, -0.029263438656926155, -0.013847719877958298, 0.05979537218809128, -0.025528430938720703, 0.02868204563856125, 0.017891043797135353, 0.05496804788708687, 0.015125022269785404, -0.08773746341466904, 0.023308567702770233, 0.00944322906434536, -0.06187429279088974, -0.01604115590453148, -0.03521830961108208, -0.0030941551085561514, -0.008963139727711678, -0.04224788025021553, -0.010236036963760853, -0.04851987585425377, 0.027184519916772842, 0.01246470957994461, 0.009839633479714394, 0.02972150593996048, 0.0029796382877975702, 0.0042701540514826775, -0.025792699307203293, 0.010579587891697884, -0.011213834397494793, -0.04020419344305992, 0.04651142656803131, -0.013645113445818424, -0.01490479800850153, 0.04281165450811386, 0.003472941229119897, 0.014244124293327332, -0.01568879745900631, -0.013433697633445263, 0.017538683488965034, -0.017300840467214584, 0.07427734136581421, 0.028400158509612083, -0.008654825389385223, 0.02119441144168377, 0.00466876057907939, 0.04055655375123024, -0.05059879273176193, 0.00027252789004705846, 0.037702444940805435, -0.04464392364025116, 0.04598288610577583, 0.02214578166604042, 0.004580670967698097, 0.004140221513807774, 0.008047005161643028, 0.0025524026714265347, 0.004699592012912035, -0.030443843454122543, -0.018551716580986977, 0.018005559220910072, -0.02993292175233364, -0.016525650396943092, 0.022040072828531265, -0.0029796382877975702, -0.009126105345785618, 0.03528878465294838, -0.001527257263660431, -0.05239582806825638, -0.009628217667341232, 0.03410837799310684, 0.03320986405014992, 0.024876566603779793, 0.05849164351820946, -0.04703996703028679, -0.05961919203400612, 0.03682154417037964, 0.06289613246917725, 0.003041301155462861, 0.009962959215044975, 0.03942900523543358, 0.005968085490167141, 0.018939312547445297, 0.030796201899647713, -0.09119058400392532, -0.023572836071252823, 0.0065406691282987595, 0.02466515079140663, -0.047709446400403976, 0.049189355224370956, -0.014349832199513912, -0.03172995522618294, -0.021159175783395767, -0.0068710059858858585, -0.04626477509737015, -0.07251553982496262, 0.029756741598248482, -0.033526986837387085, -0.01161904726177454, 0.026567891240119934, 0.03366792947053909, -0.032575614750385284, -0.013504169881343842, -0.021388208493590355, -0.006712444592267275, 0.04774468392133713, -0.10817430168390274, 0.02110632136464119, 0.0074391853995621204, 0.05133874714374542, -0.0282415971159935, -0.023872341960668564, -0.021863894537091255, -0.009152532555162907, -0.047674212604761124, -0.020613018423318863, 0.035711612552404404, 0.030003393068909645, 0.0310252346098423, -0.04386873170733452, 0.039922308176755905, -0.005518827587366104, -0.00399046903476119, 0.0472513809800148, -0.09689880162477493, -0.019080255180597305, -0.0759686604142189, -0.016094010323286057, 0.039182353764772415, -0.03467215225100517, 0.07078897953033447, 0.025228925049304962, -0.03368554636836052, 0.032751794904470444, 0.028752518817782402, -0.013504169881343842, -0.009099679067730904, 0.03720914199948311, -0.0009205386159010231, 0.00012463334132917225, -0.018956929445266724, -0.0620504692196846, 0.03412599861621857, 0.009681071154773235, 0.006840174552053213, -0.042318351566791534, 0.020049244165420532, -0.0338088721036911, -0.025951262563467026, -0.015265965834259987, 0.05634225159883499, -0.058773528784513474, -0.05077497288584709, 0.033967435359954834, -0.012041878886520863, 0.03661013022065163, 0.01568879745900631, 0.04319924861192703, -0.03599350154399872, 0.0118128452450037, 0.035359255969524384, -0.005285389255732298, 0.009416801854968071, -0.02877013571560383, -0.0758277177810669, -0.0337384007871151, 0.040662262588739395, -0.03176518902182579, -0.1279064267873764, -0.027078811079263687, -0.0032923570834100246, 0.01734488643705845, 0.04781515523791313, 0.011020036414265633, 0.003303368343040347, -0.002448897110298276, -0.019996389746665955, -0.028611574321985245, 0.006571500562131405, -0.02750164270401001, -0.05500328540802002, -0.040627025067806244, -0.032787032425403595, 0.04795609787106514, 0.052853893488645554, 0.03268132358789444, -0.03424932435154915, -0.07237459719181061, 0.013715585693717003, 0.03928806260228157, 0.019291670992970467, 0.011874508112668991, -0.023942813277244568, 0.0021978411823511124, 0.007324668578803539, -0.013953427784144878, 0.0189745482057333, -0.04612383246421814, 0.0027638182509690523, -0.018128884956240654, 0.02859395556151867, 0.052889131009578705, 0.0620504692196846, 0.03208231180906296, 0.05725838616490364, -0.028171125799417496, -0.001924762618727982, -0.025528430938720703, -0.037526264786720276, 0.06539788097143173, 0.008456623181700706, -0.016569696366786957, -0.0740659236907959, -0.0037261995021253824, 0.006060579791665077, 0.03303368389606476, -0.003655727719888091, -0.039006173610687256, 0.0024334813933819532, 0.01577688753604889, 0.035658761858940125, -0.031130943447351456, 0.007932488806545734, 0.058068811893463135, 0.007258601486682892, 0.026708833873271942, -0.05902018025517464, 0.03735008463263512, -0.007747499737888575, 0.07632102072238922, 0.06821675598621368, -0.016675403341650963, -0.013257518410682678, 0.1335441768169403, -0.03135997802019119, 0.057681214064359665, -0.013565832749009132, -0.08083122223615646, -0.1019727811217308, -0.03724437579512596, -0.020331131294369698, -0.00748323043808341, 0.05133874714374542, -0.07057756930589676, -0.0077519044280052185, 0.01980259269475937, 0.005144445691257715 ]
44,092
dataclass_array.array_dataclass
as_torch
Returns the instance as containing `torch.Tensor`.
def as_torch(self: _DcT) -> _DcT: """Returns the instance as containing `torch.Tensor`.""" return self.as_xnp(enp.lazy.torch)
(self: ~_DcT) -> ~_DcT
[ -0.05276196077466011, -0.04692637920379639, 0.03263092413544655, 0.010868342593312263, 0.032803576439619064, 0.06301739811897278, -0.025345077738165855, 0.009677054360508919, 0.06222320348024368, -0.022030191496014595, 0.039433348923921585, 0.007834011688828468, -0.01918145827949047, 0.03884634003043175, -0.011015095748007298, -0.016211872920393944, -0.02506883814930916, 0.027813978493213654, 0.020269157364964485, 0.029885783791542053, -0.007182256318628788, -0.02829740010201931, -0.015383150428533554, -0.008977820165455341, -0.02715790830552578, 0.02672628127038479, 0.03307981416583061, -0.005788104608654976, -0.04002036154270172, -0.021166939288377762, -0.06912922114133835, 0.013225020840764046, 0.021529505029320717, 0.050310324877500534, 0.037672314792871475, 0.02123599871993065, -0.025983884930610657, 0.015245029702782631, -0.04091814532876015, 0.016807517036795616, 0.003584653837606311, -0.06484749168157578, 0.004126344341784716, -0.006858536973595619, -0.034978970885276794, -0.029039796441793442, 0.02363584004342556, -0.0074369157664477825, -0.007812430616468191, -0.021926600486040115, 0.06191243231296539, -0.03306255117058754, 0.006854220759123564, 0.012620744295418262, -0.05749258026480675, 0.021943865343928337, 0.045545175671577454, 0.0696471706032753, -0.04961972311139107, 0.04578688368201256, -0.014105536974966526, -0.02344592474400997, 0.03204391524195671, -0.026898931711912155, 0.03297622501850128, -0.007039819844067097, 0.00876200757920742, 0.01352715864777565, 0.008623886853456497, 0.005274469498544931, -0.018922483548521996, -0.010600734502077103, 0.019647615030407906, -0.005002545192837715, -0.001017558271996677, -0.026501836255192757, -0.007121828850358725, 0.022306431084871292, 0.006189516745507717, -0.042230285704135895, -0.013820664025843143, 0.02001018077135086, -0.033943068236112595, 0.05814865231513977, -0.004458696581423283, -0.06588339060544968, -0.0014157332479953766, 0.005188144277781248, -0.043784141540527344, -0.028003893792629242, -0.015538536012172699, 0.004514807835221291, -0.02455088682472706, 0.00650028744712472, -0.0016401787288486958, -0.005619770381599665, 0.006975076161324978, -0.0042061954736709595, -0.031577758491039276, 0.01004825346171856, -0.026898931711912155, 0.08556553721427917, 0.0070182387717068195, 0.025742175057530403, 0.0012840873096138239, -0.02444729581475258, -0.03991677239537239, 0.008010978810489178, 0.035289742052555084, -0.023031562566757202, -0.05379786342382431, 0.08950196206569672, -0.008123201318085194, 0.016937004402279854, 0.02620832994580269, -0.10241621732711792, -0.012309973128139973, -0.0396060012280941, -0.03390853852033615, 0.04412944242358208, 0.012966045178472996, 0.042851828038692474, -0.0286081712692976, -0.018698038533329964, -0.05728540197014809, 0.0719606876373291, 0.04540705308318138, -0.022444551810622215, -0.016021957620978355, -0.06253397464752197, 0.005477333907037973, 0.0076699936762452126, -0.03708530589938164, 0.04426756128668785, 0.0372924841940403, 0.0333905853331089, 0.05780335143208504, 0.015072379261255264, -0.011463986709713936, 0.030610915273427963, -0.04012395069003105, 0.02581123448908329, 0.05265837162733078, 0.013389037922024727, 0.024395501241087914, -0.001582988305017352, 0.01814555749297142, 0.024481825530529022, -0.000491783837787807, -0.08501305431127548, -0.01249125599861145, 0.011533046141266823, 0.0709247812628746, -0.008787904866039753, -0.03553145006299019, 0.03209570795297623, -0.04734073951840401, -0.06315551698207855, 0.040469251573085785, 0.009469874203205109, -0.0673336535692215, 0.011412191204726696, -0.048134930431842804, -0.01306100282818079, -0.004184613935649395, -0.02278985269367695, 0.02651910111308098, -0.05970250815153122, -0.020683517679572105, 0.03863915801048279, -0.004143609665334225, -0.03335605561733246, 0.013967417180538177, 0.06626322120428085, -0.0478932186961174, 0.045027222484350204, -0.01938864029943943, 0.06522732228040695, -0.007121828850358725, 0.050413914024829865, 0.00771747250109911, 0.010868342593312263, -0.029108857735991478, -0.0132681829854846, 0.028349194675683975, -0.014908362179994583, 0.027624063193798065, 0.003686086041852832, 0.019095133990049362, 0.01802470162510872, 0.06736818701028824, 0.03915711119771004, 0.01978573575615883, -0.028452785685658455, -0.015460843220353127, -0.020338216796517372, -0.02974766306579113, -0.022617202252149582, -0.030818095430731773, 0.055282656103372574, -0.02175395004451275, 0.007998029701411724, 0.02891894057393074, 0.036429233849048615, -0.039744120091199875, -0.0067419977858662605, -0.003623500233516097, 0.02020009607076645, 0.0030537538696080446, -0.008649785071611404, 0.013872459530830383, 0.0018657033797353506, -0.04074549302458763, 0.033425115048885345, -0.0030278563499450684, -0.05984062701463699, -0.08660143613815308, -0.007657045032829046, 0.011023728176951408, -0.01576298102736473, 0.06018592789769173, -0.012845189310610294, -0.0331488773226738, 0.0023739428725093603, -0.01918145827949047, -0.0023437291383743286, -0.013233653269708157, -0.016807517036795616, -0.01781752146780491, -0.06874939054250717, 0.02187480591237545, 0.030628180131316185, -0.05731993168592453, 0.00974611472338438, 0.07417061179876328, 0.0458214171230793, -0.035911280661821365, 0.009193633683025837, 0.007523240987211466, 0.042333878576755524, -0.02581123448908329, -0.002686871914193034, 0.03178493678569794, -0.013622116297483444, 0.005188144277781248, 0.03604940325021744, -0.007739054039120674, 0.03877728059887886, -0.0393642894923687, 0.01570255309343338, -0.0354623906314373, -0.09433617442846298, 0.008274270221590996, 0.028124749660491943, -0.011886979453265667, -0.02738235332071781, 0.004193246364593506, -0.0512426383793354, 0.012189118191599846, -0.048031341284513474, -0.02539687417447567, 0.006906015798449516, 0.016315462067723274, 0.042333878576755524, -0.02135685458779335, -0.04281729832291603, -0.03929523006081581, 0.03190579265356064, 0.0013704125303775072, 0.0176103413105011, 0.05763070285320282, 0.04485457390546799, -0.03232015296816826, -0.04153968393802643, 0.02185754105448723, -0.05669838935136795, 0.003276041243225336, 0.04578688368201256, -0.030956216156482697, 0.03587675094604492, -0.04053831472992897, -0.041815925389528275, -0.04899818077683449, -0.022444551810622215, -0.0520368292927742, -0.04095267504453659, -0.003759462386369705, -0.020700782537460327, -0.009504403918981552, -0.02104608342051506, 0.010911504738032818, 0.03615299239754677, 0.021788479760289192, -0.026346450671553612, 0.01584930717945099, -0.06760989874601364, -0.08356279134750366, 0.017886580899357796, 0.025759439915418625, 0.025655848905444145, 0.06888750940561295, -0.013492628931999207, -0.026260124519467354, 0.058632075786590576, 0.009167736396193504, -0.00640101358294487, -0.018715303391218185, 0.03998583182692528, 0.0008292614365927875, -0.0017599549610167742, 0.00876200757920742, 0.014321350492537022, -0.01802470162510872, 0.03504803031682968, 0.03825932741165161, -0.022427286952733994, 0.023238742724061012, -0.013648013584315777, 0.03604940325021744, 0.08729203790426254, -0.031266987323760986, 0.024809861555695534, 0.029903048649430275, 0.07244410365819931, -0.038708217442035675, -0.056007787585258484, 0.020907962694764137, 0.003658030182123184, -0.03598034381866455, 0.004989596549421549, -0.015883836895227432, -0.002600546693429351, 0.017126919701695442, 0.00823542382568121, -0.05120810866355896, 0.009400813840329647, 0.058079592883586884, 0.03677453473210335, -0.007087298668920994, -0.004989596549421549, 0.008097304031252861, 0.041815925389528275, -0.03577316179871559, 0.020476337522268295, 0.0036947184707969427, -0.01523639727383852, 0.014355880208313465, 0.01424365770071745, 0.07755456119775772, 0.018818892538547516, -0.03492717444896698, -0.04312806949019432, 0.019716674461960793, 0.05911549553275108, 0.014683916233479977, 0.032907165586948395, -0.04468192160129547, 0.045234404504299164, -0.05058656632900238, 0.007475762162357569, -0.01052304171025753, -0.0019099450437352061, -0.012240912765264511, 0.030351940542459488, -0.020804373547434807, -0.023480454459786415, 0.022858912125229836, -0.036118462681770325, 0.009245429188013077, 0.04571782425045967, -0.028159279376268387, -0.02373942919075489, -0.03423657268285751, 0.03345964848995209, 0.008300167508423328, -0.022461816668510437, -0.1159520074725151, -0.004225618671625853, 0.039744120091199875, -0.006884434726089239, 0.044094912707805634, -0.0145026333630085, 0.020907962694764137, -0.0016078067710623145, 0.009254061616957188, 0.014373145066201687, -0.005576607771217823, 0.013682544231414795, -0.018801627680659294, -0.05017220601439476, 0.0004143609548918903, -0.009409446269273758, -0.0052658370696008205, -0.007993713021278381, -0.06695382297039032, -0.01802470162510872, -0.013294080272316933, 0.007311744149774313, 0.004279571585357189, -0.0675753653049469, -0.0012020784197375178, -0.00040707725565880537, 0.054695647209882736, 0.0393642894923687, -0.05580060929059982, 0.027537738904356956, 0.04298995062708855, 0.027606798335909843, 0.00867999903857708, -0.036118462681770325, -0.007341958116739988, 0.053210850805044174, -0.03888086974620819, 0.02475806698203087, 0.016729824244976044, 0.021011553704738617, 0.042023107409477234, -0.03836291655898094, 0.006642723921686411, 0.0414360947906971, -0.007031187415122986, 0.01663486659526825, -0.020061975345015526, 0.011679799295961857, 0.009918765164911747, 0.024585416540503502, -0.022530876100063324, 0.04551064595580101, 0.0008292614365927875, 0.012681171298027039, -0.02612200565636158, -0.034978970885276794, 0.0284873154014349, -0.05027579516172409, 0.04979237541556358, 0.013449465855956078, 0.029695868492126465, -0.001064497628249228, -0.034063924103975296, 0.04526893422007561, -0.001480477163568139, 0.028159279376268387, 0.011835184879601002, -0.05652574077248573, 0.013656646013259888, 0.016142811626195908, -0.03366682678461075, 0.00045266776578500867, -0.03485811501741409, -0.0279693640768528, 0.03453008085489273, -0.0010860789334401488, 0.1216839998960495, -0.01201646775007248, -0.012387665919959545, -0.013458098284900188, -0.005602505523711443, -0.06529638171195984, 0.009046880528330803, 0.033338792622089386, -0.025362342596054077, 0.01957855559885502, -0.005002545192837715, -0.044612862169742584, 0.036014873534440994, -0.049895964562892914, 0.03577316179871559, -0.04236840829253197, -0.027278762310743332, -0.015400415286421776, 0.0808003842830658, -0.0008708054665476084, 0.04126344621181488, -0.0725131630897522, 0.01628093235194683, -0.008580724708735943, 0.009435344487428665, 0.035704102367162704, 0.0029976426158100367, -0.0572163425385952, -0.07914294302463531, -0.05932267755270004, 0.026070209220051765, 0.005978019908070564, -0.028349194675683975, 0.05314179137349129, -0.0040141218341887, 0.05942626670002937, 0.05459205433726311, 0.0260184146463871, -0.019837530329823494, 0.08791358023881912, 0.0036904022563248873, -0.016142811626195908, 0.01673845574259758, -0.007877174764871597, 0.014942891895771027, 0.021805744618177414, 0.0038932664319872856, 0.045648764818906784, 0.007881490513682365, -0.04495816305279732, -0.0343056321144104, 0.028262870386242867, 0.018801627680659294, 0.0071779401041567326, 0.011317233555018902, 0.04423303157091141, -0.00549028255045414, -0.009254061616957188, -0.015529903583228588, -0.02417105622589588, -0.04923989251255989, -0.04861835017800331, -0.016401788219809532, -0.008995085954666138, -0.054868295788764954, 0.05300367251038551, -0.0013294080272316933, -0.047306209802627563, 0.0004518584464676678, 0.07741643488407135, -0.029920313507318497, -0.009987825527787209, -0.026398245245218277, 0.05749258026480675, -0.022012924775481224, 0.027416883036494255, 0.008977820165455341, 0.061843372881412506, 0.009599362500011921, -0.06657399237155914, 0.00016334345855284482, 0.04198857769370079, -0.033528707921504974, -0.00016334345855284482, -0.09212625026702881, 0.01196467224508524, 0.0050629726611077785, -0.026829872280359268, -0.020787108689546585, -0.04188498482108116, 0.02384302020072937, -0.010557571426033974, 0.006340585649013519, 0.0005988810444250703, -0.011412191204726696, 0.06281021237373352, -0.0070743500255048275, 0.01357895415276289, -0.046373896300792694, -0.030559120699763298, 0.029316037893295288, -0.030628180131316185, -0.0019466332159936428, 0.02891894057393074, -0.038604628294706345, -0.03563504293560982, -0.02776218391954899, -0.0037443554028868675, 0.039744120091199875, -0.05055203661322594, 0.06995794177055359, 0.04364601895213127, -0.011792021803557873, 0.03147416561841965, 0.033217936754226685, 0.035911280661821365, -0.03898445889353752, -0.04457833245396614, 0.012905617244541645, -0.01456306129693985, 0.005175195634365082, 0.05939173698425293, -0.007700207643210888, 0.010030987672507763, 0.00927132647484541, -0.014269554987549782, 0.01746358722448349, -0.013587586581707, 0.0005961834103800356, -0.018180087208747864, -0.037672314792871475, 0.0014513423666357994, 0.033735886216163635, -0.0048860060051083565, -0.020338216796517372, 0.05711274966597557, 0.022945238277316093, -0.05887378379702568, 0.019613085314631462, 0.021581299602985382, -0.03028287924826145, 0.016444949433207512, 0.08673956245183945, -0.050931867212057114, -0.068369559943676, 0.03154322877526283, 0.09033069014549255, -0.01792111061513424, -0.002116046380251646, 0.019751206040382385, -0.009841072373092175, -0.01352715864777565, -0.015072379261255264, -0.08736109733581543, -0.02175395004451275, -0.012128690257668495, 0.04188498482108116, -0.038501039147377014, 0.0031853998079895973, -0.013561688363552094, -0.04188498482108116, -0.04734073951840401, 0.00921953096985817, -0.05835583433508873, -0.0592881478369236, 0.013432200998067856, 0.0036083932500332594, 0.018715303391218185, 0.013639381155371666, 0.035911280661821365, -0.014882463961839676, -0.012922882102429867, -0.015150072053074837, -0.043784141540527344, 0.04810040071606636, -0.09392181783914566, 0.03656735271215439, -0.006875801831483841, 0.0616016611456871, -0.02247908152639866, 0.009772012010216713, 0.00868863146752119, -0.042644649744033813, -0.04250652715563774, -0.013803399167954922, 0.015996059402823448, 0.04343884065747261, 0.005222674459218979, -0.017990171909332275, 0.032803576439619064, -0.005973703693598509, -0.01586657203733921, 0.008662733249366283, -0.08950196206569672, 0.008597989566624165, -0.05897737666964531, -0.03316614031791687, 0.019647615030407906, -0.028159279376268387, 0.06426047533750534, 0.011282703839242458, 0.01078201737254858, 0.007553454954177141, 0.051760587841272354, 0.015141439624130726, 0.04923989251255989, 0.034978970885276794, 0.0025681746192276478, 0.006176568102091551, 0.002935056807473302, -0.05338350310921669, 0.04602859541773796, 0.060669347643852234, 0.01123954076319933, -0.027744919061660767, 0.015270927920937538, -0.0354623906314373, -0.0069923410192132, -0.04298995062708855, 0.04216122627258301, -0.06671211123466492, -0.07824516296386719, 0.051760587841272354, -0.0041608745232224464, 0.029316037893295288, -0.0017707456136122346, 0.017618972808122635, -0.0001908596168505028, -0.01078201737254858, 0.030041169375181198, -0.014071007259190083, 0.049481604248285294, -0.025534993037581444, -0.034685466438531876, -0.005611137952655554, 0.036740005016326904, -0.05407410487532616, -0.11905971169471741, -0.043784141540527344, 0.016876576468348503, 0.014295453205704689, 0.031439635902643204, 0.06205055117607117, -0.028331929817795753, -0.026501836255192757, -0.020683517679572105, -0.028677230700850487, -0.009625259786844254, 0.029074326157569885, -0.04340431094169617, -0.056318558752536774, -0.010747487656772137, 0.03361503407359123, 0.008105936460196972, 0.036947183310985565, -0.014692548662424088, -0.01529682520776987, 0.017886580899357796, 0.04613218456506729, 0.07168444246053696, 0.01300057489424944, -0.04640842601656914, 0.007234051823616028, 0.010281330905854702, 0.011153215542435646, 0.027347823604941368, -0.0445438027381897, 0.023877549916505814, 0.007834011688828468, -0.005464385263621807, 0.09847978502511978, 0.04810040071606636, 0.025155162438750267, 0.044094912707805634, 0.006236995570361614, 0.01523639727383852, -0.017161449417471886, -0.008615254424512386, 0.05327991396188736, 0.0017416109330952168, 0.009305856190621853, -0.0455797053873539, 0.003705509239807725, -0.018611712381243706, 0.049170833081007004, 0.022358225658535957, -0.038708217442035675, -0.025465933606028557, -0.01351852621883154, 0.0045709190890192986, 0.005352162290364504, 0.013389037922024727, 0.10393553972244263, -0.00026801275089383125, 0.013363140635192394, -0.0270543172955513, 0.035911280661821365, -0.015305457636713982, 0.07099384069442749, 0.06619416177272797, -0.0393642894923687, -0.01654854044318199, 0.11698790639638901, -0.04851476103067398, 0.015504005365073681, -0.018318207934498787, -0.09433617442846298, -0.1211315169930458, -0.03206117823719978, -0.0017718246672302485, -0.022151045501232147, 0.030231084674596786, -0.05925361439585686, -0.01773119531571865, 0.07278940826654434, 0.00001935572799993679 ]
44,093
dataclass_array.array_dataclass
as_xnp
Returns the instance as containing `xnp.ndarray`.
def as_xnp(self: _DcT, xnp: enp.NpModule) -> _DcT: """Returns the instance as containing `xnp.ndarray`.""" if xnp is self.xnp: # No-op return self # Direct `torch` <> `tf`/`jax` conversion not supported, so convert to # `numpy` if enp.lazy.is_torch_xnp(xnp) or enp.lazy.is_torch_xnp(self.xnp): def _as_torch(f): arr = np.asarray(f.value) # Torch fail for scalar arrays: # https://github.com/pytorch/pytorch/issues/97021 if enp.lazy.is_torch_xnp(xnp) and not arr.shape: # Destination is torch return xnp.asarray(arr.item(), dtype=lazy.as_torch_dtype(arr.dtype)) return xnp.asarray(arr) array_fn = _as_torch else: array_fn = lambda f: xnp.asarray(f.value) # Update all childs new_self = self._map_field( # pylint: disable=protected-access array_fn=array_fn, dc_fn=lambda f: f.value.as_xnp(xnp), ) return new_self
(self: ~_DcT, xnp: Any) -> ~_DcT
[ -0.035968951880931854, -0.06710018962621689, -0.008646027185022831, 0.04058508947491646, -0.003896020818501711, 0.028195373713970184, -0.033346984535455704, 0.02996797114610672, 0.09335678815841675, -0.011983495205640793, 0.04165603220462799, -0.03465796634554863, 0.03696603700518608, 0.03391938656568527, -0.010727905668318272, 0.00006660943472525105, 0.01786445640027523, 0.031537458300590515, 0.020938804373145103, 0.04941114783287048, 0.002995873801410198, -0.00649952283129096, -0.012962116859853268, -0.0012198146432638168, -0.028804704546928406, 0.04036351665854454, 0.03609820455312729, 0.0008978389669209719, -0.0342886783182621, -0.009135338477790356, -0.03888634964823723, 0.00222728680819273, 0.01802140474319458, 0.017079712823033333, 0.02950635738670826, 0.013543750159442425, -0.056353818625211716, 0.030300334095954895, 0.0030120303854346275, 0.020218687132000923, 0.015390206128358841, -0.07263955473899841, -0.009121489711105824, -0.014734714291989803, -0.00303741917014122, 0.0039491066709160805, 0.01253743190318346, 0.06048987805843353, -0.011106429621577263, 0.033125411719083786, 0.0431331992149353, -0.028749311342835426, 0.012445108965039253, 0.02553647756576538, -0.047712408006191254, 0.06495830416679382, 0.032663796097040176, 0.07060845196247101, -0.028749311342835426, -0.01888923905789852, 0.019738608971238136, 0.030004899948835373, 0.023136086761951447, -0.049965083599090576, 0.05247626081109047, -0.031020451337099075, -0.017227428033947945, -0.037889264523983, -0.001751824514940381, 0.008281352929770947, -0.029746396467089653, -0.0069519043900072575, 0.005322407931089401, 0.002183433622121811, 0.052439332008361816, 0.05369492247700691, -0.007501224987208843, 0.038036979734897614, -0.011180287227034569, -0.008770663291215897, -0.008202877826988697, 0.031445134431123734, -0.0822041928768158, 0.03969879075884819, -0.016184180974960327, -0.018196817487478256, 0.027272146195173264, 0.02239750325679779, 0.007219640538096428, -0.02501947060227394, -0.009301519021391869, 0.01310060080140829, -0.007164246868342161, 0.04051123186945915, 0.005991747602820396, -0.0030974289402365685, 0.022212859243154526, -0.021695850417017937, -0.04830327257514, 0.007607396226376295, -0.040658947080373764, 0.026035021990537643, -0.014466977678239346, 0.03321773186326027, -0.005257781594991684, 0.06185625493526459, 0.002041487256065011, 0.0026958249509334564, 0.02945096418261528, 0.0012428952613845468, -0.06215168908238411, 0.09062403440475464, -0.02501947060227394, 0.03698450326919556, -0.019387781620025635, -0.08153946697711945, -0.0003300539101473987, 0.0019110813736915588, -0.0192585289478302, 0.010829460807144642, 0.02625659666955471, 0.06721097975969315, 0.005428578704595566, -0.004403796046972275, -0.030503442510962486, 0.042653121054172516, 0.07821585237979889, -0.008410604670643806, 0.018603038042783737, -0.03434406965970993, -0.029118601232767105, -0.015667174011468887, -0.06525373458862305, 0.01750439777970314, 0.03454717993736267, 0.012629754841327667, 0.04010501131415367, -0.03454717993736267, -0.03631977736949921, -0.05546751990914345, -0.034214816987514496, -0.014310029335319996, 0.08929458260536194, 0.02127116546034813, 0.017652112990617752, 0.013599144294857979, 0.03932949900627136, 0.050851382315158844, -0.06938979774713516, -0.06872507184743881, -0.06691554188728333, 0.028620058670639992, 0.04449957609176636, -0.03940335661172867, -0.023449983447790146, 0.02424396015703678, -0.030300334095954895, -0.0522177591919899, 0.04848792031407356, 0.01725512556731701, -0.09025473892688751, 0.018215281888842583, -0.030355727300047874, 0.0013248317409306765, -0.02265600860118866, -0.047195401042699814, 0.009093793109059334, -0.10487866401672363, -0.01554715447127819, 0.055836811661720276, 0.021123450249433517, -0.038701705634593964, 0.02631198987364769, 0.018196817487478256, -0.04675225168466568, 0.035599660128355026, 0.006236403249204159, 0.011115661822259426, 0.0008736042072996497, 0.05011279881000519, 0.04937421903014183, -0.0015464064199477434, -0.004696920979768038, -0.055024370551109314, 0.003376705339178443, 0.04560744762420654, -0.014310029335319996, 0.025979626923799515, 0.020015576854348183, 0.06355499476194382, 0.05820027366280556, 0.04365020617842674, 0.02075415849685669, -0.015519457869231701, -0.007238105405122042, -0.003205908229574561, -0.06532759219408035, -0.011503417044878006, -0.061191532760858536, 0.062484052032232285, -0.00544704357162118, -0.029414035379886627, 0.024724038317799568, 0.013737628236413002, -0.09224890917539597, -0.029635610058903694, -0.01771673932671547, 0.002325379755347967, 0.0038036981131881475, -0.036578282713890076, 0.04859870672225952, -0.00960156787186861, -0.02956175059080124, -0.02662588655948639, -0.013285246677696705, -0.02008943445980549, -0.0336608812212944, -0.025314902886748314, 0.023209944367408752, -0.010450937785208225, 0.07031302154064178, -0.014614694751799107, -0.05343642085790634, 0.02116037905216217, -0.019886324182152748, 0.01787368766963482, -0.037409186363220215, -0.0013017510063946247, 0.018242979422211647, -0.0418037511408329, 0.021658921614289284, 0.044868867844343185, -0.06226247549057007, -0.0368737131357193, 0.07245490700006485, -0.006836500950157642, 0.003418250475078821, -0.0023473063483834267, 0.008562937378883362, 0.051146816462278366, -0.04058508947491646, 0.0036767544224858284, 0.008770663291215897, -0.05044516175985336, 0.005470124073326588, 0.012906723655760288, 0.02786301262676716, 0.020624907687306404, -0.02080955170094967, 0.017725972458720207, 0.005479356274008751, -0.0861925408244133, -0.005317791365087032, 0.026958249509334564, -0.015122469514608383, -0.015039379708468914, -0.02492714859545231, 0.017578255385160446, -0.01403306145220995, -0.024483999237418175, 0.014466977678239346, 0.02884163334965706, 0.032460685819387436, 0.016387291252613068, -0.023597700521349907, -0.006319493521004915, 0.0025157954078167677, 0.013968435116112232, 0.020569512620568275, 0.010506330989301205, -0.008101322688162327, 0.06314877420663834, -0.015399438329041004, -0.018880005925893784, 0.02018175832927227, -0.012454342097043991, -0.04390870779752731, 0.01816912181675434, 0.03094659186899662, 0.013746860437095165, -0.011438791640102863, -0.06839270889759064, -0.004694612696766853, -0.006628775037825108, -0.0034482553601264954, -0.05627996101975441, -0.01596260629594326, -0.03862784802913666, -0.017107408493757248, -0.023726951330900192, -0.023560771718621254, 0.03480568528175354, -0.016156485304236412, -0.014116151258349419, -0.04398256912827492, -0.03242375701665878, -0.09379993379116058, 0.04545973241329193, 0.006393352057784796, 0.028029192239046097, 0.06096995621919632, 0.07227026671171188, -0.027124429121613503, 0.03196214139461517, 0.0238377396017313, -0.030928127467632294, 0.010487866587936878, 0.032165251672267914, -0.014023829251527786, 0.025684194639325142, 0.014374655671417713, -0.001397535903379321, -0.01662733033299446, -0.007842819206416607, 0.03305155038833618, -0.049152642488479614, 0.0476754792034626, -0.0024211646523326635, 0.0306880883872509, 0.040954381227493286, -0.04557051882147789, -0.015990303829312325, -0.03054037317633629, 0.07009144872426987, -0.04228382930159569, 0.019018489867448807, 0.02832462638616562, -0.0006399122066795826, -0.0463460311293602, -0.0069519043900072575, 0.012851329520344734, 0.00649952283129096, -0.005502437241375446, 0.016128787770867348, -0.02812151610851288, -0.023099157959222794, 0.0166365634649992, -0.0003046651545446366, 0.04608752578496933, 0.00709500489756465, -0.06879892945289612, 0.07976687699556351, -0.06096995621919632, -0.006319493521004915, -0.01838146336376667, -0.06761720031499863, -0.030448049306869507, 0.0015856436220929027, 0.018806148320436478, -0.02199128456413746, -0.010644815862178802, -0.03877556324005127, -0.013165227137506008, 0.007856667973101139, -0.0004950808361172676, 0.0145223718136549, -0.04010501131415367, 0.01276823878288269, -0.03731686249375343, 0.011761920526623726, 0.03371627628803253, -0.00407835841178894, -0.011595739983022213, -0.004553820472210646, -0.012897491455078125, -0.04372406378388405, 0.0011240297462791204, -0.03281151130795479, 0.0058717280626297, 0.023523841053247452, -0.004683072678744793, -0.009638497605919838, -0.06348113715648651, 0.028897026553750038, 0.0006976139266043901, 0.032460685819387436, -0.0887037143111229, -0.003226680913940072, 0.01537174079567194, -0.07038687914609909, 0.059751298278570175, -0.06023137643933296, 0.008599866181612015, -0.01756902225315571, 0.011115661822259426, 0.021603528410196304, 0.060379091650247574, -0.00041025932296179235, 0.00713193416595459, -0.04675225168466568, 0.0045953658409416676, 0.014836269430816174, -0.024391675367951393, 0.008761431090533733, -0.0822780504822731, -0.03260840103030205, -0.007034995127469301, 0.02703210711479187, 0.00924150925129652, -0.05003894120454788, -0.014891662634909153, -0.014208474196493626, 0.027992263436317444, -0.000522777670994401, -0.04413028433918953, -0.01849225163459778, 0.023560771718621254, -0.0011240297462791204, -0.01230662502348423, 0.036375172436237335, 0.048783350735902786, 0.06721097975969315, -0.0017806753749027848, 0.00012860274000559002, -0.005502437241375446, 0.02642277628183365, 0.026533564552664757, -0.000006820524959039176, 0.021769709885120392, 0.016931995749473572, -0.03543347865343094, 0.03873863443732262, -0.04006808251142502, -0.00624101934954524, 0.031242026016116142, -0.021123450249433517, -0.036227453500032425, 0.006467210128903389, 0.02306222729384899, 0.07119932025671005, -0.014965521171689034, -0.003397478023543954, -0.028176909312605858, -0.004966964945197105, 0.030355727300047874, -0.005673234350979328, 0.04608752578496933, 0.015436367131769657, -0.038701705634593964, 0.06377656757831573, 0.007335043977946043, 0.028029192239046097, 0.021234236657619476, -0.045238155871629715, -0.003136666025966406, 0.0019491644343361259, -0.04413028433918953, -0.0022711402270942926, -0.06584460288286209, -0.032460685819387436, 0.04091745242476463, -0.01946163922548294, 0.13737627863883972, -0.024908684194087982, -0.015270186588168144, -0.05709240213036537, 0.028103051707148552, -0.08301663398742676, 0.009813910350203514, 0.016978157684206963, -0.039772648364305496, -0.008336746133863926, -0.004842329304665327, -0.07393207401037216, -0.009887768886983395, -0.012297392822802067, 0.03212832286953926, -0.03881249204277992, 0.009943162091076374, -0.006319493521004915, 0.08316434919834137, 0.005220852792263031, 0.03918178379535675, -0.06950058043003082, 0.003222064580768347, -0.029543286189436913, -0.02306222729384899, 0.020661836490035057, -0.027124429121613503, -0.045238155871629715, -0.07038687914609909, -0.02573958784341812, 0.05535673350095749, -0.010210898704826832, 0.006194857880473137, 0.028398483991622925, 0.053214844316244125, 0.023136086761951447, 0.0037621529772877693, 0.017652112990617752, -0.019960183650255203, 0.04992815479636192, 0.005377801135182381, 0.02738293446600437, 0.02466864511370659, -0.010173968970775604, 0.030595766380429268, 0.007145782466977835, 0.06085916981101036, 0.012491270899772644, 0.004943884443491697, 0.012417412362992764, -0.04586595296859741, 0.04390870779752731, 0.014254636131227016, 0.024650178849697113, 0.00561322458088398, 0.05528287589550018, -0.028250766918063164, 0.023043762892484665, -0.08006230741739273, -0.016359595581889153, -0.02533336728811264, -0.06215168908238411, -0.01931392401456833, 0.00762124452739954, -0.034934937953948975, 0.0502605177462101, -0.019812466576695442, -0.03696603700518608, 0.03829548507928848, 0.03307001665234566, -0.01719973236322403, -0.0072011761367321014, -0.007284266408532858, 0.06861428171396255, -0.016904300078749657, 0.037409186363220215, -0.0019745533354580402, 0.03028186783194542, 0.003385937539860606, -0.06565995514392853, 0.022028213366866112, 0.046013668179512024, -0.005493205040693283, 0.016562705859541893, 0.003545194398611784, 0.03877556324005127, 0.03569198399782181, 0.01178961805999279, -0.014790107496082783, 0.0013398341834545135, -0.006517987698316574, -0.00041256737313233316, -0.012297392822802067, -0.002543492242693901, -0.0071365502662956715, 0.039366427809000015, 0.01263898704200983, 0.024428604170680046, -0.013543750159442425, -0.02590576931834221, 0.062077831476926804, 0.0627794861793518, 0.04413028433918953, 0.00821672659367323, -0.041988395154476166, -0.02570265904068947, -0.00746429618448019, -0.03731686249375343, 0.029487892985343933, -0.033494699746370316, 0.07404286414384842, 0.01843685656785965, -0.06407200545072556, 0.04593981057405472, -0.01946163922548294, 0.0580894872546196, 0.01719973236322403, -0.009823142550885677, 0.04195146635174751, 0.004842329304665327, -0.05956665053963661, 0.00397680327296257, -0.0046599917113780975, -0.013174459338188171, 0.003953722771257162, -0.007122701499611139, -0.0320175364613533, 0.00594558659940958, -0.012445108965039253, -0.0238377396017313, -0.006799572147428989, -0.01905542053282261, 0.02564726583659649, 0.008078242652118206, -0.005590143613517284, 0.043280914425849915, 0.061560824513435364, -0.07411672174930573, -0.0021107292268425226, 0.003776001278311014, 0.010949480347335339, 0.02579498291015625, 0.04952193424105644, -0.02703210711479187, -0.06713712215423584, 0.020587977021932602, 0.09815756976604462, -0.07585238665342331, 0.03692910820245743, 0.04457343369722366, 0.020791087299585342, -0.013008277863264084, 0.01478087529540062, -0.08848214149475098, -0.03222064673900604, -0.021252701058983803, 0.07038687914609909, 0.0037090673577040434, 0.023339197039604187, -0.001604108139872551, -0.024317817762494087, -0.005073136184364557, -0.024539392441511154, -0.052956342697143555, -0.047712408006191254, 0.05081445351243019, -0.0336608812212944, -0.033642418682575226, -0.02832462638616562, 0.02579498291015625, -0.01537174079567194, 0.005391649901866913, -0.037612296640872955, -0.026699746027588844, 0.02579498291015625, -0.05834799259901047, 0.03325466066598892, 0.0013629149179905653, 0.06739562004804611, -0.06296412646770477, 0.02910013683140278, -0.04527508467435837, -0.030983522534370422, -0.06750641018152237, -0.042357686907052994, 0.03331005573272705, 0.003152822609990835, 0.040954381227493286, 0.003983727656304836, -0.01688583381474018, -0.0074735283851623535, -0.02717982418835163, -0.0059778993017971516, -0.12001959979534149, 0.004076050128787756, -0.030152617022395134, -0.0342886783182621, 0.003884480567649007, -0.02945096418261528, -0.000661838857922703, -0.06986987590789795, 0.0019491644343361259, 0.014411584474146366, 0.07865899801254272, -0.010977176949381828, 0.042099181562662125, 0.008613714016973972, 0.015787193551659584, 0.007122701499611139, 0.0030466513708233833, -0.038036979734897614, 0.03063269518315792, 0.08072703331708908, 0.012491270899772644, 0.011595739983022213, 0.009006085805594921, -0.028767775744199753, 0.024114707484841347, -0.04922650009393692, 0.011955798603594303, -0.08198262006044388, -0.034067101776599884, 0.04723232984542847, -0.03451025113463402, 0.015076308511197567, 0.019166206941008568, -0.027069035917520523, -0.010173968970775604, -0.009490780532360077, 0.03310694545507431, -0.001740284264087677, 0.032774582505226135, -0.03500879555940628, -0.07865899801254272, 0.04361327737569809, 0.07467065751552582, -0.039920367300510406, -0.0692051500082016, 0.015621013008058071, 0.051516104489564896, 0.06266869604587555, 0.01322985254228115, 0.014965521171689034, 0.00407835841178894, 0.00883528869599104, 0.0013698390685021877, -0.055024370551109314, 0.017744436860084534, 0.009980091825127602, -0.03907099738717079, -0.06303798407316208, -0.0005389341968111694, 0.036578282713890076, 0.040658947080373764, -0.021437346935272217, 0.024982541799545288, 0.005543982144445181, 0.05576295405626297, 0.00593635393306613, 0.028970886021852493, 0.011198751628398895, -0.07238104939460754, -0.0041499086655676365, 0.03242375701665878, 0.04076973348855972, 0.03212832286953926, -0.0431331992149353, 0.04557051882147789, -0.014891662634909153, 0.01900002546608448, 0.09335678815841675, 0.05066673457622528, -0.01977553777396679, 0.030134152621030807, 0.06632468104362488, -0.025665730237960815, 0.018981561064720154, -0.008918379433453083, 0.053104057908058167, 0.00854908861219883, 0.022526755928993225, -0.05454429239034653, -0.00032370671397075057, -0.023911597207188606, 0.011014106683433056, -0.0026889005675911903, -0.03716914728283882, 0.007533538155257702, -0.0024927149061113596, 0.00025720548001118004, -0.014374655671417713, -0.020883411169052124, 0.026662815362215042, 0.00538241770118475, -0.004440725315362215, -0.021954353898763657, 0.009518478065729141, -0.02404084987938404, 0.04686303809285164, 0.06610310077667236, -0.0026011939626187086, 0.005724011920392513, 0.08249963074922562, -0.014337725937366486, 0.0008216726710088551, 0.0002510025224182755, -0.03966186195611954, -0.11004874110221863, -0.03465796634554863, -0.005234701093286276, -0.047970909625291824, 0.06085916981101036, -0.00787974800914526, -0.026644350960850716, 0.04435185715556145, 0.006711865309625864 ]
44,094
dataclass_array.array_dataclass
assert_same_xnp
Assert the given array is of the same type as the current object.
def assert_same_xnp(self, x: Union[Array[...], DataclassArray]) -> None: """Assert the given array is of the same type as the current object.""" xnp = np_utils.get_xnp(x) if xnp is not self.xnp: raise ValueError( f'{self.__class__.__name__} is {self.xnp.__name__} but got input ' f'{xnp.__name__}. Please cast input first.' )
(self, x: Union[etils.enp.array_types.typing.Array, dataclass_array.array_dataclass.DataclassArray]) -> NoneType
[ 0.01363307237625122, -0.02358710765838623, 0.0055142599157989025, 0.06887022405862808, 0.006150355096906424, -0.044973667711019516, -0.042635586112737656, 0.044423531740903854, 0.07880707085132599, 0.020114369690418243, 0.014535640366375446, -0.06691036373376846, 0.04493928328156471, -0.001196976867504418, -0.018068548291921616, -0.02267594262957573, 0.005600218661129475, 0.0210771095007658, 0.030790457502007484, 0.06347201019525528, -0.011028519831597805, 0.06388461589813232, -0.02609710581600666, 0.01084800623357296, 0.012154581025242805, 0.07076132297515869, 0.04906530678272247, 0.015489784069359303, 0.0094210896641016, -0.0012560735922306776, -0.09194158017635345, -0.022452449426054955, 0.019925260916352272, 0.054807357490062714, 0.014251976273953915, -0.008853760547935963, -0.037787508219480515, 0.01872183568775654, 0.005793625954538584, 0.0005436897045001388, -0.03730613738298416, -0.053294483572244644, 0.007044327445328236, 0.021300600841641426, -0.01588519476354122, -0.011148862540721893, -0.013478347100317478, 0.039575450122356415, -0.10466349124908447, 0.05009681358933449, 0.015059989877045155, -0.06959228217601776, 0.031512513756752014, 0.07303063571453094, -0.031701620668172836, 0.0690077617764473, 0.04734613001346588, 0.04689914733171463, -0.039953671395778656, 0.012549991719424725, 0.007998470216989517, 0.0690765306353569, 0.03785627335309982, -0.06158091500401497, 0.013555710203945637, -0.0273349117487669, -0.05281311273574829, 0.004633181728422642, -0.02716299518942833, 0.030068403109908104, -0.04043504223227501, 0.03209703415632248, -0.04143216460943222, 0.02807415835559368, 0.05659530311822891, 0.037787508219480515, -0.004989910870790482, 0.0528818815946579, -0.005105955526232719, -0.01695968024432659, 0.021145876497030258, 0.03802819177508354, -0.06598200649023056, 0.04466421529650688, -0.035277508199214935, -0.006717683747410774, -0.019065672531723976, 0.06687597930431366, 0.004873866681009531, 0.00003085788193857297, -0.0007285011815838516, 0.007697614375501871, -0.009988417848944664, 0.04848078638315201, 0.018687453120946884, 0.038681481033563614, -0.00820906925946474, -0.059758588671684265, -0.009945438243448734, 0.011243416927754879, 0.008862356655299664, 0.016650227829813957, 0.002267164411023259, 0.003773593343794346, -0.021472519263625145, 0.05047503486275673, 0.036893535405397415, -0.004413986578583717, -0.03524312749505043, 0.03740929067134857, -0.062371738255023956, 0.05057818442583084, -0.03101395070552826, 0.046589694917201996, 0.004295793361961842, -0.03905969858169556, -0.021472519263625145, 0.024704571813344955, -0.03919723257422447, 0.017097214236855507, 0.04535188525915146, 0.10370074957609177, -0.0007467674440704286, 0.029741760343313217, 0.07474981248378754, -0.014054271392524242, 0.05656091868877411, 0.0054325987584888935, -0.017432453110814095, -0.002626042580232024, 0.009661774151027203, -0.03056696429848671, -0.06735735386610031, 0.04098517820239067, 0.014088654890656471, 0.07316816598176956, 0.010701876133680344, -0.046039555221796036, -0.019959643483161926, -0.07729419320821762, 0.00685521773993969, 0.04683037847280502, 0.06828570365905762, 0.029982445761561394, -0.003055837005376816, 0.03596518188714981, -0.0251171737909317, 0.026062721386551857, -0.013968312181532383, 0.01568748988211155, -0.06415968388319016, 0.007633145432919264, 0.02386217564344406, -0.07179282605648041, -0.07371830195188522, -0.014638790860772133, -0.026114296168088913, -0.040744490921497345, 0.0246529970318079, 0.007994172163307667, -0.07406213879585266, -0.006962666288018227, 0.034933675080537796, -0.011466910131275654, -0.005273574963212013, -0.011484101414680481, -0.06085886061191559, -0.03562134504318237, -0.008931123651564121, 0.015850810334086418, 0.028727445751428604, -0.042910654097795486, -0.0028946641832590103, -0.03596518188714981, -0.040400657802820206, -0.002488508587703109, -0.026647241786122322, -0.006373848300427198, 0.05026873201131821, -0.008118812926113605, 0.04628024250268936, -0.014888071455061436, -0.016650227829813957, -0.026165872812271118, -0.01263594999909401, 0.015421017073094845, -0.031185869127511978, 0.0032771809492260218, 0.015274886973202229, 0.03144374489784241, -0.004650373477488756, 0.04597079008817673, -0.03309415653347969, -0.007409652229398489, 0.02716299518942833, -0.013194683007895947, -0.029019705951213837, -0.022555600851774216, 0.005570133216679096, 0.02491087280213833, -0.013495538383722305, -0.05504804477095604, 0.025082791224122047, -0.001880349707789719, -0.06391900032758713, -0.07096762210130692, -0.0014183209277689457, -0.03508840128779411, 0.028555527329444885, -0.036721616983413696, 0.03613709658384323, -0.009850883856415749, -0.038956549018621445, -0.03658408299088478, 0.017269132658839226, 0.01999402791261673, 0.008509925566613674, -0.0735807716846466, 0.009575814940035343, 0.026578474789857864, 0.1183481365442276, 0.0074956114403903484, -0.04184476658701897, 0.03792504221200943, 0.00936091784387827, -0.004186195787042379, -0.00041233384399674833, 0.04418284446001053, 0.022469641640782356, -0.03445230424404144, 0.02977614291012287, 0.018635878339409828, -0.02590799517929554, -0.04493928328156471, 0.025168750435113907, -0.03541504219174385, 0.03531189262866974, -0.04198230057954788, 0.005329448264092207, 0.009206192567944527, -0.028177309781312943, -0.010186122730374336, 0.011441121809184551, -0.01197406742721796, 0.04861832410097122, -0.029827719554305077, -0.014423893764615059, 0.04421722888946533, -0.039300382137298584, 0.00869903527200222, 0.0074956114403903484, -0.04641777649521828, -0.022727519273757935, -0.02903689816594124, 0.03209703415632248, 0.005793625954538584, -0.025357859209179878, -0.02888217195868492, 0.03237210214138031, 0.004775013774633408, 0.01739807054400444, 0.05346640199422836, 0.04879023879766464, 0.0322689488530159, -0.06742611527442932, 0.01291101798415184, 0.002475614659488201, 0.026698816567659378, 0.05130023881793022, 0.0014279913157224655, -0.011982662603259087, 0.07585008442401886, -0.005449790507555008, 0.023294847458600998, -0.02035505510866642, 0.0055271536111831665, -0.038509562611579895, 0.013779202476143837, 0.036549702286720276, -0.006150355096906424, 0.001789018395356834, -0.040572576224803925, 0.020922383293509483, -0.027111420407891273, -0.024068476632237434, -0.073512002825737, -0.023019777610898018, -0.0815577507019043, -0.021214643493294716, 0.006176142953336239, -0.04799941927194595, -0.004573010373860598, 0.016108687967061996, 0.0024004008155316114, -0.08087008446455002, 0.03541504219174385, -0.030463814735412598, 0.03237210214138031, 0.021266218274831772, 0.04170723259449005, 0.029982445761561394, 0.0591740682721138, -0.02044101245701313, -0.015713276341557503, 0.012971189804375172, -0.016340775415301323, -0.0042356220073997974, -0.0024498270358890295, -0.006820834241807461, 0.06618831306695938, 0.05415407195687294, 0.026509707793593407, -0.016254818066954613, 0.014492660760879517, 0.03899093344807625, 0.023294847458600998, 0.0457301065325737, 0.02124902606010437, -0.0201831366866827, 0.0493403784930706, 0.011080094613134861, -0.005136040970683098, -0.027678748592734337, 0.022194573655724525, -0.02475614659488201, 0.006133163347840309, 0.02025190368294716, -0.004398943856358528, -0.03283627703785896, 0.036721616983413696, 0.05336325243115425, -0.02752402238547802, -0.0037628484424203634, 0.006150355096906424, 0.03541504219174385, 0.02841799333691597, -0.022486833855509758, -0.005209106020629406, 0.0896034985780716, 0.02816011756658554, -0.04940914362668991, -0.014208996668457985, -0.01515454426407814, -0.017982590943574905, -0.016452522948384285, -0.009610198438167572, -0.05264119803905487, -0.008630268275737762, 0.028125733137130737, 0.015739064663648605, -0.034727372229099274, -0.012343689799308777, 0.010830814018845558, -0.04707106202840805, 0.0031460938043892384, 0.015300674363970757, -0.021369367837905884, 0.020836424082517624, -0.02994806133210659, 0.040847644209861755, 0.060205575078725815, -0.022160189226269722, 0.03758120536804199, -0.03816572576761246, -0.025168750435113907, -0.013727627694606781, -0.0010443999199196696, -0.04071011021733284, -0.017234748229384422, 0.021266218274831772, -0.06464105099439621, -0.0224008746445179, -0.06979858130216599, -0.056973520666360855, -0.014673174358904362, 0.05260681360960007, -0.03013717010617256, 0.04820571839809418, -0.010572938248515129, -0.07413090765476227, 0.078875832259655, -0.04566133767366409, 0.00003404775998205878, 0.008729120716452599, -0.056526534259319305, 0.023999709635972977, -0.014398106373846531, -0.0026518304366618395, 0.023363614454865456, 0.02143813669681549, 0.013134511187672615, -0.036549702286720276, 0.017234748229384422, 0.007585868239402771, -0.06746049970388412, -0.013787798583507538, -0.0005855946219526231, 0.02816011756658554, -0.05924283713102341, -0.037512440234422684, -0.028452377766370773, 0.013332217000424862, -0.028400802984833717, -0.016065707430243492, -0.03242367506027222, 0.03011997975409031, -0.0024197413586080074, 0.020286288112401962, -0.03816572576761246, 0.05587324872612953, 0.041122712194919586, 0.052056677639484406, 0.03720298781991005, -0.02860710397362709, 0.00041018484625965357, 0.02233210764825344, -0.041294630616903305, 0.01594536565244198, 0.041191477328538895, 0.007190457545220852, -0.013564305379986763, 0.03971298784017563, -0.020922383293509483, -0.0042592608369886875, 0.019254781305789948, 0.0033545438200235367, -0.03558696061372757, 0.020372245460748672, 0.04958106204867363, 0.029655801132321358, -0.01846395991742611, -0.017002658918499947, -0.020234711468219757, -0.014690366573631763, 0.016426734626293182, 0.0010879166657105088, -0.028572719544172287, -0.012567183002829552, 0.008032853715121746, 0.04600517451763153, -0.005320852622389793, 0.011148862540721893, 0.0322689488530159, -0.0073193954303860664, -0.02625183016061783, -0.027558404952287674, -0.007396758534014225, -0.022452449426054955, -0.05360393598675728, 0.012618758715689182, -0.015524167567491531, -0.0009369514300487936, 0.02814292535185814, -0.07750049233436584, -0.009378110058605671, -0.058314479887485504, -0.03183915466070175, -0.027025461196899414, -0.005793625954538584, -0.03641216829419136, -0.06715104728937149, -0.046761609613895416, -0.033111345022916794, -0.10033116489648819, -0.009524240158498287, -0.013564305379986763, -0.03541504219174385, -0.0027356401551514864, 0.0367903858423233, 0.042085450142621994, 0.013856565579771996, 0.006163249257951975, 0.035002440214157104, 0.00665321433916688, -0.018412385135889053, 0.014655983075499535, -0.0018137316219508648, 0.06436598300933838, -0.014948243275284767, -0.0012861591530963778, -0.04449229687452316, 0.034297578036785126, 0.05803941190242767, -0.02822888456285, 0.019392315298318863, -0.008922528475522995, -0.03283627703785896, 0.005617410410195589, -0.025323474779725075, 0.012859443202614784, -0.02914004772901535, 0.01918601430952549, -0.057970643043518066, 0.060755711048841476, 0.04435476288199425, -0.018360808491706848, 0.012764888815581799, -0.0031181571539491415, 0.02348395623266697, 0.02420601062476635, 0.041294630616903305, 0.029724568128585815, -0.03209703415632248, -0.006588745396584272, 0.020836424082517624, -0.001822327496483922, 0.01259297039359808, 0.00665321433916688, -0.03280189633369446, 0.013856565579771996, -0.09352321922779083, 0.009807904250919819, 0.024790531024336815, -0.017527008429169655, 0.047827500849962234, -0.04098517820239067, 0.002853833604604006, -0.026286214590072632, -0.009343726560473442, -0.012266326695680618, 0.01669320836663246, 0.003958404995501041, -0.013908141292631626, -0.0008762429933995008, -0.012549991719424725, 0.055735714733600616, -0.04043504223227501, -0.003881041891872883, -0.008531414903700352, -0.013134511187672615, 0.016925295814871788, -0.046933528035879135, 0.02475614659488201, 0.0573861263692379, -0.01630639284849167, 0.033214498311281204, 0.010469786822795868, 0.04095079377293587, 0.06931721419095993, 0.05803941190242767, -0.004095938988029957, -0.02652690000832081, -0.018257658928632736, 0.01371043547987938, -0.04184476658701897, -0.009979821741580963, -0.0019523402443155646, 0.046761609613895416, -0.031065525487065315, 0.04717421531677246, -0.019254781305789948, -0.04727736487984657, 0.08582130819559097, 0.06862954050302505, -0.004295793361961842, -0.03613709658384323, 0.010168931446969509, 0.02977614291012287, 0.04194791615009308, -0.009395301342010498, 0.016925295814871788, -0.010555746033787727, 0.07853200286626816, -0.0009600528283044696, -0.033833399415016174, -0.02348395623266697, 0.006739173550158739, 0.027592789381742477, 0.024584230035543442, 0.045695722103118896, 0.04700229689478874, 0.026389366015791893, -0.07165529578924179, -0.01901409588754177, 0.017999781295657158, -0.042635586112737656, -0.03981613740324974, 0.043976545333862305, -0.08107638359069824, -0.04597079008817673, -0.03359271585941315, 0.025856420397758484, 0.016804954037070274, -0.047930650413036346, 0.0019974687602370977, -0.014862284064292908, -0.019117247313261032, -0.049787361174821854, 0.004452668130397797, -0.01944389007985592, -0.051403388381004333, 0.05989612266421318, -0.005651793908327818, 0.008320815861225128, 0.04284188896417618, 0.009266363456845284, 0.035380661487579346, -0.009825095534324646, 0.050062429159879684, -0.07378707081079483, 0.05370708554983139, 0.033042579889297485, 0.006558659952133894, -0.022538408637046814, 0.02026909589767456, -0.04462983086705208, -0.031959500163793564, -0.028108542785048485, 0.06017119064927101, 0.011398143135011196, 0.05191914364695549, 0.04462983086705208, 0.006369550246745348, -0.05425722151994705, -0.021008340641856194, -0.024773338809609413, -0.07213666290044785, 0.08031994104385376, -0.049168460071086884, 0.03875024616718292, 0.018343618139624596, 0.01774190552532673, -0.023896558210253716, -0.001819104072637856, -0.04741489887237549, -0.002280058339238167, -0.000026643883757060394, -0.012893826700747013, 0.05508242920041084, -0.09084130823612213, 0.07750049233436584, -0.03541504219174385, 0.0403662733733654, -0.08265802264213562, -0.035105593502521515, -0.05415407195687294, -0.043082572519779205, 0.013211874291300774, -0.03665285184979439, 0.06942036002874374, 0.02314012125134468, 0.0006360954721458256, 0.012739100493490696, 0.04789626970887184, -0.0018642324721440673, -0.09606760740280151, -0.004031469579786062, -0.016478311270475388, 0.021455327048897743, -0.017776288092136383, -0.007147477939724922, 0.03505401685833931, -0.06044625863432884, -0.0071044983342289925, 0.018876561895012856, 0.015842214226722717, -0.010641705244779587, 0.03524312749505043, -0.02448107860982418, -0.007117392495274544, 0.02009717747569084, 0.03520874306559563, -0.03013717010617256, 0.007336587179452181, 0.08919090032577515, -0.0076890187337994576, 0.05463544279336929, 0.009550027549266815, -0.032320525497198105, -0.0013087233528494835, -0.06611954420804977, 0.013211874291300774, 0.005101657472550869, -0.0376499742269516, 0.038784630596637726, -0.09661774337291718, 0.02412005141377449, 0.030532581731677055, -0.022435259073972702, -0.03443511202931404, -0.02393094263970852, -0.021678820252418518, -0.02231491543352604, -0.023879367858171463, -0.013082936406135559, -0.04318572208285332, -0.010899581015110016, 0.03417723625898361, -0.03847517818212509, -0.017999781295657158, 0.017724713310599327, 0.00973054114729166, 0.07750049233436584, -0.011002732440829277, -0.010332252830266953, -0.02625183016061783, -0.011784957721829414, 0.07571254670619965, -0.04015997052192688, 0.015059989877045155, 0.0053251502104103565, -0.04160407930612564, -0.030274704098701477, 0.04411407932639122, 0.022125806659460068, 0.051678456366062164, -0.0789446011185646, 0.020561356097459793, 0.02977614291012287, -0.020114369690418243, -0.03144374489784241, -0.014664579182863235, 0.007267820183187723, -0.06921406090259552, -0.01829204149544239, 0.03658408299088478, 0.012971189804375172, 0.007272118236869574, -0.019134439527988434, 0.04139778017997742, -0.06374707818031311, 0.04105394333600998, 0.03216579928994179, 0.04875585809350014, -0.03149532154202461, 0.06893899291753769, 0.05081886798143387, -0.06876707822084427, 0.021403752267360687, 0.0014097250532358885, 0.04060695692896843, 0.0546698234975338, 0.003075177548453212, 0.03067011572420597, -0.004078747238963842, 0.023071354255080223, -0.038234494626522064, -0.011062903329730034, 0.014587216079235077, 0.03154689446091652, -0.010323657654225826, -0.02099115028977394, 0.007327991537749767, -0.058864615857601166, -0.009618794545531273, -0.006709087640047073, -0.0130055733025074, 0.022830668836832047, -0.030962375923991203, -0.050165582448244095, 0.040847644209861755, 0.011810745112597942, -0.02716299518942833, -0.03109990991652012, 0.0457301065325737, 0.030102787539362907, -0.008140302263200283, -0.008552905172109604, 0.048102568835020065, -0.03964421898126602, -0.020767657086253166, 0.03512278199195862, 0.027988199144601822, 0.03199388086795807, -0.016426734626293182, -0.0087377168238163, 0.007899617776274681, 0.03991928696632385 ]
44,095
dataclass_array.array_dataclass
broadcast_to
Broadcast the batch shape.
def broadcast_to(self: _DcT, shape: Shape) -> _DcT: """Broadcast the batch shape.""" return self._map_field( # pylint: disable=protected-access array_fn=lambda f: f.broadcast_to(shape), dc_fn=lambda f: f.broadcast_to(shape), )
(self: ~_DcT, shape: Tuple[int, ...]) -> ~_DcT
[ -0.002882676664739847, -0.04670579358935356, -0.020489508286118507, -0.008641600608825684, -0.05027216672897339, -0.017506098374724388, -0.021021036431193352, -0.028359537944197655, 0.02523895911872387, 0.025753339752554893, -0.02829095348715782, -0.04725446552038193, 0.0346178375184536, -0.010347630828619003, 0.020266609266400337, 0.05558743700385094, 0.010021856054663658, 0.021312518045306206, 0.0002028054150287062, 0.026679225265979767, 0.005756780505180359, -0.027759425342082977, -0.030725689604878426, -0.03292038291692734, 0.015937237069010735, 0.08106643706560135, -0.039024367928504944, -0.04087613895535469, 0.011050617322325706, -0.03700113669037819, 0.0642976239323616, -0.02078099176287651, 0.08031201362609863, 0.0037935597356408834, 0.025341834872961044, -0.01800333335995674, -0.003724975511431694, 0.07283634692430496, 0.011504987254738808, -0.031171485781669617, 0.013451062142848969, -0.02078099176287651, 0.02163829281926155, 0.04341375455260277, 0.06522350758314133, 0.019512183964252472, 0.004241499584168196, 0.03724118322134018, -0.04231640696525574, 0.02506749890744686, -0.03163442760705948, -0.0028140924405306578, -0.007715714629739523, 0.01815764792263508, -0.03868144750595093, 0.020866721868515015, -0.004547985270619392, 0.007840023376047611, -0.0731106847524643, -0.01561146229505539, -0.027022147551178932, -0.021775461733341217, 0.029251130297780037, -0.023438626900315285, 0.029405444860458374, -0.04752879962325096, -0.050203584134578705, 0.022547032684087753, 0.004436535760760307, 0.0359380841255188, 0.009267430752515793, -0.00024647419922985137, 0.009241711348295212, -0.01114492118358612, -0.0424535758793354, -0.011796469800174236, 0.0706416517496109, 0.03916153684258461, 0.02568475715816021, -0.05479871854186058, -0.03984737768769264, 0.029388299211859703, -0.04584848880767822, 0.01327960193157196, -0.016142988577485085, -0.005503876134753227, -0.02849670499563217, 0.05610181763768196, -0.08483856916427612, -0.08579874783754349, 0.03833852708339691, 0.023661524057388306, -0.011342099867761135, 0.030965734273195267, -0.007535681128501892, 0.014702722430229187, -0.002511893631890416, 0.0019492895808070898, -0.025307543575763702, 0.04770025983452797, -0.05332415923476219, -0.03105146437883377, -0.012550896033644676, -0.019649352878332138, 0.02889106422662735, 0.014359802007675171, 0.021878337487578392, -0.0526726096868515, -0.09649787098169327, 0.028205223381519318, 0.024227343499660492, 0.0739336907863617, -0.027913739904761314, 0.000545190239790827, -0.043139416724443436, 0.04968919977545738, 0.02525610476732254, 0.01251660380512476, -0.051678139716386795, 0.03847569599747658, -0.006974148564040661, 0.0775686502456665, 0.037755563855171204, -0.04132193699479103, -0.0034227767027914524, 0.06885846704244614, 0.002254703314974904, 0.018311962485313416, 0.021552562713623047, -0.015525732189416885, -0.06374894827604294, -0.00016369103104807436, -0.010527663864195347, 0.03506363555788994, 0.0036756806075572968, 0.0808606892824173, -0.014385521411895752, -0.048900485038757324, -0.04924340546131134, 0.0014124043518677354, 0.02337004244327545, -0.021741168573498726, 0.08010626584291458, 0.008375836536288261, 0.01622871868312359, 0.016554493457078934, -0.010630539618432522, 0.0035706611815840006, -0.0068498398177325726, 0.006249728612601757, -0.008723043836653233, 0.04794030636548996, 0.07201333343982697, 0.04200777783989906, -0.017257481813430786, 0.048454686999320984, -0.0025697615928947926, -0.05037504434585571, 0.036040958017110825, -0.016777392476797104, -0.06813833117485046, 0.033914852887392044, -0.01651162840425968, 0.0325603149831295, -0.05287836492061615, -0.008127219043672085, 0.04986065998673439, -0.039298705756664276, -0.022358426824212074, -0.002863387344405055, 0.03706972301006317, -0.06275447458028793, 0.09670361876487732, 0.015139946714043617, -0.04392813518643379, 0.06392040848731995, -0.01992368884384632, -0.007591405883431435, 0.0060439761728048325, -0.012327997013926506, 0.027262190356850624, 0.012087952345609665, 0.0075013888999819756, 0.007381367031484842, -0.011582144536077976, 0.07852882891893387, -0.05973677709698677, -0.0056496174074709415, 0.0500321201980114, 0.010819146409630775, 0.013133861124515533, 0.021501123905181885, -0.011384965851902962, -0.009464609436690807, -0.03149726241827011, -0.0250160600990057, -0.006099700927734375, -0.0033906279131770134, -0.04361950606107712, 0.028771042823791504, 0.010407641530036926, -0.03768697753548622, -0.04231640696525574, 0.04701441898941994, -0.009173126891255379, -0.020403778180480003, 0.03964162617921829, 0.0302113089710474, 0.003896435722708702, -0.06611510366201401, -0.00009122225310420617, -0.009173126891255379, -0.00886449869722128, 0.03250887617468834, 0.054901596158742905, -0.0608341209590435, -0.03875003382563591, -0.0049552032724022865, 0.05219252035021782, 0.05507305637001991, -0.0003681038797367364, -0.027879448607563972, -0.012053661048412323, -0.016211573034524918, -0.02162114717066288, 0.01414547674357891, 0.01606583222746849, -0.04581419751048088, 0.022186966612935066, -0.04067038744688034, 0.0302113089710474, -0.05071796476840973, -0.00040507499943487346, -0.0030541368760168552, 0.0278623029589653, 0.021912628784775734, -0.029388299211859703, -0.04499118775129318, 0.009901833720505238, 0.05376995727419853, 0.024896038696169853, -0.039092954248189926, -0.009618923999369144, -0.03984737768769264, 0.004603709559887648, 0.02397015318274498, 0.023250019177794456, 0.02482745423913002, 0.0445110984146595, -0.0075228214263916016, -0.0534956194460392, -0.0028698171954602003, -0.005310983397066593, -0.00261905649676919, 0.019323578104376793, -0.01800333335995674, 0.016100123524665833, -0.014308364130556583, -0.03802989795804024, 0.017300346866250038, -0.039744503796100616, 0.06902992725372314, 0.01735178381204605, 0.003932870924472809, -0.015474294312298298, 0.015045642852783203, -0.054490089416503906, 0.013639668934047222, -0.016623077914118767, 0.04139052331447601, 0.024947477504611015, 0.05376995727419853, 0.010939168743789196, 0.0030305611435323954, -0.032886091619729996, -0.021106766536831856, -0.016777392476797104, 0.10802000015974045, 0.055758897215127945, -0.062377266585826874, 0.05205535516142845, -0.016571640968322754, -0.01778043620288372, -0.07112174481153488, -0.033057551831007004, -0.0009612494031898677, 0.047597385942935944, -0.033297594636678696, 0.0030991453677415848, -0.03789273276925087, 0.04728875681757927, -0.0055467416532337666, 0.04217923805117607, 0.022169819101691246, -0.06961289048194885, 0.01273092906922102, -0.004513693042099476, 0.005915381014347076, 0.01925499364733696, -0.017608975991606712, -0.011444976553320885, 0.011410684324800968, -0.03190876543521881, 0.03163442760705948, -0.003064853372052312, -0.035012196749448776, 0.04636286944150925, 0.023215727880597115, -0.0235757939517498, 0.030537083745002747, -0.0026362023781985044, -0.051026590168476105, -0.0616571307182312, -0.022598469629883766, 0.0034656417556107044, 0.02354150265455246, 0.05699340999126434, 0.0017939036479219794, 0.035183656960725784, 0.05095800757408142, -0.018740613013505936, -0.021929774433374405, -0.010167596861720085, -0.002312571043148637, -0.07523678988218307, -0.00578678585588932, 0.0275708194822073, -0.03418918699026108, -0.02486174739897251, 0.062205806374549866, 0.011230651289224625, -0.00823866855353117, -0.0005074153887107968, 0.012259413488209248, 0.02760511264204979, -0.009524621069431305, 0.013648241758346558, -0.012010795995593071, 0.017660412937402725, -0.0518495999276638, -0.033743392676115036, 0.08408414572477341, -0.014154049567878246, 0.03936728835105896, -0.0059839654713869095, 0.022838514298200607, -0.06398899108171463, 0.021741168573498726, 0.0033713385928422213, -0.005388140678405762, 0.09437175840139389, 0.0018378403037786484, -0.05716487020254135, -0.011959357187151909, 0.04152768850326538, 0.03336617723107338, -0.047837428748607635, -0.0237815473228693, -0.026439182460308075, 0.032886091619729996, 0.004382954444736242, -0.009550339542329311, 0.0816836953163147, -0.023490063846111298, 0.07695139199495316, 0.06710956990718842, -0.06621797382831573, -0.036692507565021515, -0.03682967647910118, -0.02186119183897972, -0.03149726241827011, -0.0228728074580431, -0.0389900766313076, 0.0453341081738472, -0.01906638778746128, 0.034343503415584564, -0.022975683212280273, -0.03765268623828888, 0.00811864621937275, 0.03310898691415787, -0.02095245197415352, -0.029216839000582695, 0.06402328610420227, 0.009378879331052303, 0.041630566120147705, 0.021089619025588036, -0.030074140056967735, -0.04794030636548996, -0.04255645349621773, -0.0025033208075910807, 0.039915964007377625, -0.011342099867761135, -0.0218440443277359, -0.04557415470480919, -0.0685841292142868, 0.040327467024326324, -0.01863773725926876, 0.03237170726060867, 0.015997247770428658, -0.02333574928343296, -0.022804223001003265, -0.04389384388923645, -0.058982349932193756, 0.03875003382563591, 0.006035403348505497, 0.009267430752515793, -0.007475669961422682, 0.016374461352825165, -0.03741264343261719, 0.05034074932336807, 0.05761066824197769, 0.059599608182907104, -0.0042393566109240055, 0.058502260595560074, 0.028753895312547684, -0.0212267879396677, 0.016965998336672783, -0.0029962691478431225, 0.025410419330000877, 0.026216283440589905, 0.029268277809023857, 0.020403778180480003, 0.05905093625187874, -0.04108189418911934, 0.06793257594108582, -0.02503320761024952, 0.00221612467430532, 0.008161511272192001, 0.03730976581573486, 0.02030090242624283, -0.01839769259095192, -0.0083458311855793, -0.09101113677024841, 0.06491487473249435, -0.013725399039685726, 0.022769931703805923, 0.04231640696525574, 0.04341375455260277, 0.04159627482295036, -0.014788452535867691, 0.03360622376203537, 0.016803111881017685, 0.034789297729730606, -0.06234297156333923, -0.021021036431193352, -0.011350673623383045, -0.05174672603607178, 0.02337004244327545, -0.01860344409942627, 0.012242266908288002, 0.1074027493596077, 0.00017427334387321025, 0.07441377639770508, 0.007509962189942598, -0.0034099172335118055, -0.021089619025588036, -0.012799512594938278, -0.11131203919649124, 0.0016095837345346808, -0.056410446763038635, -0.002387584885582328, -0.016142988577485085, -0.07612838596105576, -0.07647130638360977, 0.005443865433335304, -0.0402245931327343, -0.009550339542329311, -0.019615061581134796, 0.05881088972091675, 0.008422988466918468, 0.09313724935054779, -0.020060857757925987, 0.034154895693063736, -0.016854548826813698, 0.03569803759455681, 0.011899346485733986, -0.021363956853747368, 0.017900457605719566, -0.028170930221676826, -0.00321273785084486, -0.029045378789305687, -0.030039848759770393, -0.06018257141113281, -0.007724287454038858, 0.015037070028483868, 0.020866721868515015, -0.00793004035949707, 0.039024367928504944, 0.029799804091453552, 0.062205806374549866, 0.003733548568561673, 0.07050448656082153, 0.0586051382124424, -0.029405444860458374, 0.008941655978560448, -0.005015214439481497, -0.018757758662104607, 0.0177632886916399, 0.04903765395283699, 0.03744693472981453, -0.03300611302256584, 0.03196020424365997, -0.021329663693904877, 0.010004709474742413, -0.03425777330994606, -0.04324229434132576, -0.02952546812593937, -0.0008005053969100118, -0.030502790585160255, 0.021518269553780556, -0.04711729660630226, 0.019580768421292305, -0.031788744032382965, 0.019786521792411804, 0.016785966232419014, -0.05263831838965416, -0.029388299211859703, 0.024090174585580826, -0.03127436339855194, -0.04794030636548996, 0.03163442760705948, 0.052329689264297485, -0.06573788821697235, 0.0038985791616141796, -0.04217923805117607, -0.03957304358482361, 0.042933665215969086, -0.02738221362233162, 0.0316515751183033, -0.02803376317024231, -0.014882756397128105, 0.005336702335625887, 0.06436620652675629, 0.04392813518643379, 0.03245743736624718, -0.000734064495190978, -0.01423977967351675, 0.0029426878318190575, -0.07304209470748901, 0.0316515751183033, -0.0522611066699028, -0.032234542071819305, 0.023027122020721436, -0.0685841292142868, -0.0402245931327343, 0.08915936946868896, -0.013356759212911129, -0.020832428708672523, -0.009310295805335045, -0.01015902403742075, 0.024604557082057, -0.022306988015770912, -0.0060439761728048325, 0.07071023434400558, 0.03442923352122307, -0.016751673072576523, 0.008650173433125019, 0.009121689014136791, -0.040567513555288315, 0.015620035119354725, -0.042042072862386703, -0.014196914620697498, 0.04944915696978569, 0.02225554920732975, -0.007257058285176754, 0.012645198963582516, -0.043756674975156784, 0.0278623029589653, -0.0016138702630996704, -0.010227608494460583, -0.02803376317024231, 0.015208530239760876, -0.032886091619729996, -0.03610954433679581, 0.0684126690030098, 0.028719604015350342, 0.013699679635465145, -0.017711851745843887, -0.03847569599747658, 0.012525176629424095, -0.026044823229312897, -0.002074669813737273, 0.024038737639784813, -0.006948429625481367, 0.02441594935953617, 0.023901568725705147, -0.030091285705566406, -0.042933665215969086, -0.010193316265940666, -0.05606752634048462, 0.020232317969202995, 0.0154142826795578, -0.0041107614524662495, 0.016545921564102173, -0.016100123524665833, 0.00038471410516649485, -0.05887947604060173, -0.04650003835558891, 0.024004444479942322, 0.019786521792411804, 0.021706877276301384, 0.05733633041381836, 0.015345699153840542, 0.015157092362642288, -0.008058635517954826, -0.043550923466682434, -0.03806419298052788, 0.039675917476415634, 0.022632762789726257, -0.02506749890744686, -0.02119249664247036, 0.01402545440942049, -0.03314328193664551, -0.0080372029915452, 0.03377768397331238, -0.0706416517496109, -0.06549784541130066, 0.02288995310664177, 0.01263662613928318, 0.011307808570563793, 0.035869497805833817, -0.022769931703805923, -0.01819194108247757, -0.006146852392703295, -0.04235069826245308, 0.044202469289302826, -0.017214616760611534, -0.05699340999126434, -0.004269361961632967, 0.04193919524550438, -0.004200777970254421, 0.019392162561416626, 0.016434472054243088, -0.05219252035021782, 0.04406530410051346, -0.04108189418911934, -0.026627788320183754, 0.025530442595481873, -0.033280447125434875, 0.02635345235466957, -0.011196359060704708, -0.010227608494460583, 0.03868144750595093, -0.05887947604060173, -0.017034582793712616, -0.05805646628141403, -0.0024561691097915173, -0.02650776505470276, -0.0634746104478836, 0.009173126891255379, -0.03232027217745781, -0.009893260896205902, -0.026919269934296608, 0.024364512413740158, 0.05150667950510979, 0.07729431241750717, 0.021483978256583214, -0.0177632886916399, 0.019186409190297127, 0.0035492286551743746, -0.028633873909711838, 0.01467700395733118, -0.027965178713202477, -0.0325603149831295, -0.0016588786384090781, -0.027056438848376274, -0.04859185591340065, -0.05037504434585571, 0.02911396324634552, -0.003922154661267996, -0.0522611066699028, 0.030091285705566406, -0.05699340999126434, 0.015139946714043617, -0.03727547451853752, 0.007865741848945618, 0.018123356625437737, -0.017917603254318237, 0.03508078306913376, -0.06272018700838089, 0.0009714298648759723, -0.022427009418606758, -0.0023897283244878054, 0.03545799478888512, -0.0008755192975513637, -0.03538941219449043, 0.005791072268038988, 0.019615061581134796, 0.03538941219449043, -0.01992368884384632, 0.09402883797883987, 0.02294139191508293, 0.04588278383016586, 0.009438890963792801, -0.010201889090240002, 0.008067208342254162, 0.018740613013505936, -0.044408224523067474, -0.037995606660842896, 0.06728103011846542, -0.02697070874273777, -0.012559468857944012, -0.030948588624596596, -0.053152699023485184, 0.03751551732420921, 0.05781641975045204, -0.048043183982372284, 0.009953271597623825, -0.00453941198065877, 0.06573788821697235, 0.03665821626782417, 0.011830762028694153, 0.01531997974961996, 0.008410128764808178, 0.018037626519799232, -0.03597237542271614, -0.005212393589317799, 0.00455227168276906, -0.027330774813890457, 0.04060180485248566, -0.072699174284935, -0.002387584885582328, 0.0166916623711586, -0.02801661752164364, 0.009044531732797623, -0.026027677580714226, 0.04478543624281883, 0.0015292117604985833, 0.009464609436690807, 0.004427962936460972, 0.012165109626948833, -0.016614506021142006, 0.0022096948232501745, 0.04725446552038193, 0.05181530863046646, 0.0642976239323616, 0.002000727690756321, -0.05164384841918945, -0.07427661120891571, 0.009447463788092136, 0.0006520850583910942, -0.03559516370296478, -0.0018153361743316054, -0.007312782574445009, -0.018054772168397903, -0.004355092067271471, 0.008898790925741196, -0.037755563855171204, 0.01817479357123375, -0.036040958017110825, 0.02312999777495861, 0.09368591755628586, 0.0003496183198876679, -0.019375016912817955, 0.0449226051568985, -0.042487867176532745, 0.06700669229030609, -0.03943587467074394, -0.06584076583385468, -0.04173344373703003, -0.02506749890744686, -0.039024367928504944, 0.007741433568298817, 0.0325603149831295, 0.02337004244327545, 0.0011755748419091105, 0.01903209649026394, -0.012568041682243347 ]
44,096
dataclass_array.array_dataclass
cpu
Move the dataclass array to the CPU device.
def cpu(self: _DcT, *args, **kwargs) -> _DcT: """Move the dataclass array to the CPU device.""" if not lazy.is_torch_xnp(self.xnp): raise ValueError('`.cpu` can only be called when `xnp == torch`') return self.map_field(lambda f: f.cpu(*args, **kwargs))
(self: ~_DcT, *args, **kwargs) -> ~_DcT
[ -0.016608858481049538, -0.006460446398705244, 0.010925053618848324, 0.01252172514796257, -0.024904608726501465, -0.00002618522739794571, -0.025945916771888733, -0.00888148695230484, 0.03925729915499687, -0.042068831622600555, 0.03870193660259247, -0.033252425491809845, 0.028826868161559105, 0.011784132570028305, 0.011115959845483303, -0.026119468733668327, -0.03179459646344185, 0.0458175390958786, 0.0047249337658286095, 0.031864017248153687, -0.010708114132285118, 0.015932008624076843, 0.04252006486058235, -0.01751132495701313, 0.014205172657966614, 0.0718502327799797, 0.0325235091149807, -0.03549123927950859, -0.007245765998959541, -0.0208435095846653, 0.0002912407508119941, 0.0758766233921051, -0.03995150700211525, -0.003449331736192107, 0.04817783832550049, 0.019420389086008072, -0.005119762849062681, 0.007349897176027298, -0.06476934254169464, -0.013563033193349838, -0.029833465814590454, -0.09170450270175934, -0.011818842962384224, 0.021485649049282074, -0.00728915398940444, -0.02244018204510212, 0.017841072753071785, 0.008009391836822033, 0.00850401259958744, -0.01566300354897976, 0.003922258969396353, -0.05657771974802017, 0.041478756815195084, 0.03908374905586243, -0.007540803402662277, 0.06702550500631332, 0.003794264979660511, 0.009901100769639015, -0.04814312607049942, 0.03250615671277046, 0.035074714571237564, 0.015289868228137493, 0.0056447554379701614, -0.019160062074661255, 0.048629071563482285, -0.05685540288686752, 0.004382169805467129, 0.03316565230488777, -0.01917741633951664, 0.03838954493403435, -0.0524124875664711, -0.013328738510608673, 0.033686306327581406, 0.000738677685149014, 0.04217296093702316, 0.022457536309957504, -0.049948059022426605, 0.02306496538221836, -0.005744547583162785, -0.010829600505530834, 0.03304416313767433, 0.0473795011639595, -0.05952809005975723, 0.018726183101534843, -0.0325755774974823, -0.029798755422234535, -0.000968633103184402, 0.03807715326547623, -0.08830289542675018, -0.023429423570632935, -0.014491531997919083, 0.024713702499866486, -0.046338193118572235, 0.08802521228790283, 0.03349539637565613, 0.04258948564529419, 0.0011606242042034864, 0.01968071609735489, -0.0023255872074514627, 0.03141278401017189, 0.042763035744428635, 0.03661932051181793, 0.033443331718444824, -0.03436315432190895, 0.0019329274073243141, -0.03568214550614357, -0.003334354143589735, 0.022023657336831093, -0.0267095435410738, 0.014665083959698677, -0.04998277127742767, 0.052238937467336655, -0.012782052159309387, 0.009441190399229527, -0.0254252627491951, -0.06747674196958542, -0.053523216396570206, -0.008903181180357933, -0.023117031902074814, 0.06251317262649536, -0.04064571112394333, 0.0529678538441658, 0.006742467638105154, -0.03132600709795952, -0.04592166841030121, 0.029295457527041435, 0.041478756815195084, 0.013033701106905937, -0.005254265386611223, -0.039743244647979736, -0.011957683600485325, -0.0718502327799797, -0.004607786424458027, 0.031551625579595566, 0.031621042639017105, -0.018847670406103134, 0.029069840908050537, -0.017962558194994926, -0.00586169445887208, -0.03741765767335892, -0.008846776559948921, 0.018031978979706764, 0.06546354293823242, 0.01980220153927803, 0.07650140672922134, -0.0022605054546147585, 0.0412357859313488, 0.03134336322546005, -0.04376963526010513, -0.007028826978057623, -0.02919132634997368, 0.041131652891635895, 0.023707104846835136, -0.026188889518380165, -0.020131949335336685, 0.02419304847717285, -0.051544733345508575, -0.06334622204303741, -0.011480417102575302, 0.0013395990245044231, -0.10177047550678253, -0.023620329797267914, -0.04019447788596153, -0.0026032691821455956, -0.003366895020008087, -0.020444341003894806, -0.04713653028011322, -0.00960606336593628, -0.018257595598697662, 0.06629659235477448, 0.04644232243299484, -0.06990645825862885, 0.07303038239479065, 0.04463738948106766, -0.008122200146317482, 0.03444993123412132, -0.014708471484482288, -0.018309660255908966, 0.02115590125322342, 0.031898725777864456, 0.038146574050188065, 0.041131652891635895, 0.00918086338788271, -0.013875424861907959, 0.017806362360715866, 0.031152455136179924, 0.005714176222681999, -0.025112871080636978, 0.02919132634997368, 0.059423960745334625, 0.05636945739388466, 0.029868176206946373, -0.023967431858181953, -0.01914270594716072, 0.03175988420844078, -0.020097238942980766, -0.05470336601138115, -0.0305623821914196, 0.004291055724024773, 0.038840778172016144, -0.006273879203945398, 0.001403596019372344, 0.06945522129535675, 0.03424166887998581, -0.04876791313290596, -0.039743244647979736, 0.044047314673662186, 0.05508517846465111, -0.0160101056098938, -0.027924401685595512, 0.04293658956885338, -0.02441866509616375, -0.029052484780550003, 0.006837920751422644, 0.04019447788596153, -0.009823002852499485, 0.023741815239191055, -0.013181219808757305, -0.011766777373850346, 0.00666003068909049, 0.0396738238632679, 0.03936143219470978, -0.0534190870821476, -0.033130940049886703, -0.02912190556526184, -0.0340854711830616, -0.047587763518095016, -0.012591145932674408, -0.00014534920046571642, -0.027820270508527756, 0.03351275250315666, -0.04349195212125778, -0.05786199867725372, -0.000019541468645911664, 0.06091650202870369, 0.034849099814891815, 0.042415935546159744, 0.048247259110212326, -0.021607134491205215, 0.014257238246500492, 0.011983715929090977, 0.009875068441033363, 0.024626927450299263, -0.05577938258647919, 0.034068118780851364, -0.013215930201113224, 0.008764339610934258, 0.02636243961751461, -0.03238467127084732, 0.017910493537783623, -0.0005230944370850921, -0.03599453717470169, -0.014283270575106144, 0.009120119735598564, -0.04446383938193321, -0.0351441353559494, 0.039777953177690506, -0.013710551895201206, -0.0010646287119016051, -0.013736584223806858, -0.06046526879072189, -0.017363805323839188, 0.059076856821775436, 0.010777534916996956, -0.01267792098224163, 0.012148589827120304, -0.041131652891635895, 0.029989661648869514, 0.003755216021090746, 0.01817081868648529, -0.004150045104324818, 0.02388065680861473, 0.015237802639603615, 0.012998991645872593, 0.00004925195753457956, -0.05216951668262482, -0.05567525327205658, 0.010664726607501507, 0.07191964983940125, 0.014448144473135471, 0.008530045859515667, -0.04061100259423256, -0.09531436860561371, -0.07559894025325775, -0.04231180250644684, -0.094759002327919, 0.021329453215003014, 0.0026770285330712795, 0.010595305822789669, -0.01926419325172901, -0.01829230599105358, 0.0188303142786026, -0.0325235091149807, -0.037521786987781525, 0.010794890113174915, -0.0574454739689827, -0.07441879063844681, 0.025963272899389267, 0.03995150700211525, 0.02018401399254799, 0.030145857483148575, -0.0048507582396268845, -0.06115947291254997, 0.021103836596012115, 0.031742531806230545, -0.008195959031581879, 0.0011172364465892315, 0.013623775914311409, -0.0706353709101677, 0.009458544664084911, 0.0554322823882103, -0.033096231520175934, -0.04998277127742767, 0.009042021818459034, -0.005054681096225977, 0.017094802111387253, 0.03082270920276642, 0.0784451812505722, 0.0051110852509737015, 0.038146574050188065, -0.017771651968359947, 0.01562829315662384, -0.02771614119410515, 0.0850401297211647, -0.03179459646344185, 0.033721014857292175, 0.03807715326547623, -0.04540101811289787, -0.0011953344801440835, 0.004781337920576334, 0.029885530471801758, 0.027889691293239594, 0.0006399703561328351, 0.005549302324652672, 0.01961129531264305, 0.026119468733668327, 0.0004167942679487169, -0.007788113784044981, 0.02407156303524971, 0.01446549966931343, -0.05564054101705551, 0.0590074360370636, -0.04262419417500496, 0.02256166748702526, 0.02018401399254799, -0.00809616781771183, 0.02589385211467743, 0.0412357859313488, 0.03998621553182602, -0.019593941047787666, 0.03727881610393524, -0.004297563806176186, 0.0051110852509737015, 0.04748363047838211, 0.06581065058708191, -0.0038506691344082355, -0.020218724384903908, -0.012183300219476223, -0.012660566717386246, -0.029295457527041435, 0.03963911533355713, -0.04901088401675224, 0.007948649115860462, 0.0022214564960449934, 0.015905974432826042, -0.012417594902217388, -0.06969819962978363, -0.016027461737394333, -0.0006323775160126388, 0.019819557666778564, -0.02702193520963192, 0.022145144641399384, -0.006989778019487858, 0.013207253068685532, -0.00925896130502224, 0.008508351631462574, -0.04512333497405052, 0.013884102925658226, -0.022648442536592484, 0.01440475694835186, 0.029052484780550003, -0.025060806423425674, 0.004768321756273508, 0.005857355892658234, 0.010031264275312424, 0.06664369255304337, 0.0010266642784699798, 0.00230606272816658, 0.008582111448049545, -0.038458965718746185, -0.00032540864776819944, 0.01710347831249237, -0.03431108966469765, -0.062061939388513565, -0.0483860969543457, -0.0009588708635419607, 0.02190217189490795, 0.02969462424516678, -0.010517207905650139, -0.07427994906902313, -0.061714835464954376, -0.005722853820770979, 0.014066332019865513, 0.042415935546159744, -0.032054923474788666, 0.005141456611454487, 0.008729629218578339, -0.03901432827115059, 0.004137028940021992, 0.08774752914905548, -0.0007907430408522487, 0.058104969561100006, 0.00231040152721107, 0.02329058200120926, -0.003334354143589735, 0.033599529415369034, 0.03432844579219818, -0.03373837098479271, 0.048004284501075745, 0.036168087273836136, -0.031464848667383194, 0.03727881610393524, -0.046650584787130356, -0.021173257380723953, 0.037834178656339645, -0.025060806423425674, 0.05168357118964195, -0.012721309438347816, 0.041756439954042435, 0.06969819962978363, -0.04918443411588669, -0.0018374742940068245, -0.07001058757305145, 0.0011150670470669866, 0.0386672280728817, -0.013207253068685532, 0.028011176735162735, 0.02582443132996559, 0.017875783145427704, -0.0003145617083646357, -0.011289510875940323, 0.007189361844211817, 0.03285325691103935, -0.08726158738136292, -0.09080203622579575, -0.01450021006166935, -0.07816749811172485, 0.008226331323385239, -0.061402443796396255, 0.008920536376535892, 0.030735932290554047, 0.01225272100418806, 0.06480404734611511, 0.0052455877885222435, 0.05012161284685135, -0.03963911533355713, -0.03502264991402626, -0.06539412587881088, 0.06605362147092819, -0.02065260335803032, -0.024123629555106163, -0.02915661595761776, -0.024835189804434776, -0.04717123880982399, 0.015203092247247696, 0.04616464301943779, -0.005466865375638008, 0.014066332019865513, 0.004855097271502018, -0.0183270163834095, 0.08601202070713043, -0.022457536309957504, 0.01910799741744995, -0.05380089953541756, -0.020322855561971664, 0.03332184627652168, -0.06115947291254997, 0.0112027358263731, 0.009979198686778545, -0.03602924570441246, -0.0064040422439575195, -0.05147531256079674, 0.09843829274177551, 0.0025989306159317493, 0.0005575335235334933, -0.009449867531657219, 0.04574811831116676, 0.024331890046596527, 0.04283245652914047, 0.02259637787938118, -0.0133547717705369, 0.03424166887998581, 0.022075723856687546, -0.023776525631546974, -0.011983715929090977, 0.00833046156913042, 0.007866212166845798, -0.005835662130266428, 0.03835483267903328, 0.059736352413892746, -0.024158338084816933, 0.01048249751329422, -0.05178770422935486, -0.030215278267860413, 0.01473450381308794, 0.018066689372062683, 0.01697331666946411, 0.03838954493403435, -0.03427637740969658, 0.03627222031354904, -0.007788113784044981, -0.042763035744428635, -0.039153169840574265, -0.04061100259423256, 0.015515484847128391, -0.020739378407597542, -0.026761608198285103, 0.04172172769904137, -0.053210824728012085, -0.0292781013995409, 0.034068118780851364, 0.04609522223472595, -0.02532113343477249, 0.05730663612484932, -0.005354057066142559, 0.05310669168829918, 0.016548115760087967, -0.021988948807120323, 0.027577299624681473, 0.04585225135087967, -0.0038289751391857862, -0.057167794555425644, -0.003158633364364505, 0.05602235347032547, 0.02912190556526184, -0.023845946416258812, -0.004907162394374609, 0.021069126203656197, 0.03859780728816986, -0.013033701106905937, -0.009085409343242645, -0.04619935154914856, 0.05685540288686752, 0.02027079090476036, 0.013745262287557125, -0.08858057856559753, -0.038840778172016144, 0.04849022999405861, -0.0038484998513013124, 0.012487014755606651, -0.050954658538103104, -0.04345724359154701, -0.002987251617014408, 0.005740208551287651, 0.040784552693367004, 0.019888976588845253, 0.012799407355487347, 0.005475542973726988, -0.034501995891332626, 0.011072572320699692, -0.001348276506178081, -0.030579736456274986, 0.0462687723338604, 0.011818842962384224, -0.02818472869694233, -0.01473450381308794, -0.029798755422234535, 0.03361688554286957, 0.0005404495750553906, -0.05275959149003029, 0.018604697659611702, 0.008998634293675423, -0.0611247643828392, 0.032280538231134415, 0.000853655394166708, 0.017277030274271965, 0.04616464301943779, 0.02915661595761776, -0.024991385638713837, -0.07969474792480469, -0.039743244647979736, 0.00195787544362247, -0.021641844883561134, -0.03835483267903328, 0.02259637787938118, -0.06546354293823242, -0.010092006996273994, -0.012096524238586426, 0.018084043636918068, -0.07629314810037613, 0.04120107367634773, 0.014855990186333656, -0.04654645547270775, 0.05893801525235176, 0.018101399764418602, -0.021832751110196114, -0.03755649924278259, 0.024436021223664284, 0.05144060030579567, -0.0006784770521335304, -0.04484565183520317, 0.030527671799063683, 0.04678942635655403, -0.0625825971364975, 0.0019611294846981764, -0.09593915194272995, -0.04720595106482506, -0.02441866509616375, 0.042068831622600555, -0.01722496561706066, 0.045991089195013046, 0.03530033305287361, -0.020947640761733055, 0.07608488202095032, 0.03790359944105148, -0.04293658956885338, -0.005414800252765417, -0.03137807175517082, 0.0307879988104105, -0.009901100769639015, 0.000888365670107305, 0.0003240527876187116, 0.004406033083796501, -0.054842207580804825, 0.01610555872321129, -0.0034059439785778522, 0.009805647656321526, -0.04557456821203232, 0.032870613038539886, 0.004933195188641548, 0.037139974534511566, -0.05213480442762375, 0.05216951668262482, -0.003761724103242159, -0.056126486510038376, -0.11218354851007462, -0.050329871475696564, 0.02821943908929825, -0.04790015518665314, -0.05414799973368645, -0.02395007759332657, 0.07830633968114853, 0.031204521656036377, -0.018812960013747215, -0.010838277637958527, -0.09455074369907379, -0.03953498229384422, -0.016018783673644066, 0.017563389614224434, 0.013155187480151653, -0.02485254406929016, -0.009311026893556118, -0.05275959149003029, 0.05824381113052368, 0.0188303142786026, 0.06018758565187454, -0.01548945251852274, 0.020860863849520683, 0.011575871147215366, -0.01763281039893627, -0.04550514742732048, 0.05609177425503731, 0.0320202112197876, -0.046685297042131424, 0.017841072753071785, -0.02993759699165821, 0.004436404909938574, -0.009814324788749218, -0.058799177408218384, -0.0008585365139879286, -0.06768500059843063, 0.009371769614517689, -0.02450544200837612, -0.07087834179401398, 0.05164886265993118, -0.03552594780921936, 0.03568214550614357, -0.046303484588861465, -0.04842080920934677, 0.006178425624966621, -0.0032822887878865004, -0.022579021751880646, 0.01898651011288166, 0.03668874129652977, -0.03804244101047516, 0.0056317392736673355, -0.009796970523893833, 0.028063243255019188, 0.007224072236567736, -0.026726897805929184, 0.03936143219470978, 0.07670966535806656, 0.043075427412986755, -0.04099281504750252, -0.01879560388624668, -0.015229125507175922, -0.012079169042408466, 0.005089391488581896, -0.004215126857161522, 0.046338193118572235, -0.022110434249043465, 0.017650166526436806, -0.06605362147092819, -0.010881665162742138, 0.01473450381308794, 0.023707104846835136, -0.03561272472143173, 0.03995150700211525, 0.030111148953437805, -0.004204279743134975, 0.06966348737478256, 0.019316257908940315, 0.002282199449837208, 0.04172172769904137, -0.003067519050091505, 0.010525885038077831, -0.01463905069977045, 0.03741765767335892, -0.007176345679908991, 0.0529678538441658, 0.016374563798308372, 0.025945916771888733, 0.04644232243299484, -0.0033690643031150103, -0.027664074674248695, 0.00957135297358036, 0.03415489196777344, -0.05522402003407478, 0.03568214550614357, 0.03745236620306969, 0.03097890503704548, -0.0037638936191797256, 0.03790359944105148, 0.0267095435410738, 0.006113343872129917, -0.04460268095135689, -0.003831144655123353, -0.05657771974802017, -0.02959049493074417, 0.016140269115567207, -0.07157254964113235, -0.021503005176782608, 0.03342597931623459, -0.021607134491205215, -0.0009046360501088202, -0.009015989489853382, 0.017910493537783623, 0.004084963351488113, 0.046615876257419586, -0.01357171032577753, 0.022492246702313423, 0.05935453996062279, -0.0021335962228477, 0.020166659727692604, 0.019715426489710808, -0.034536704421043396, 0.015775812789797783, -0.02322116121649742, -0.010031264275312424, -0.0758766233921051, -0.03634163737297058, 0.022544311359524727, -0.06265201419591904, 0.0488373301923275, 0.018899735063314438, -0.007575513795018196, 0.05074639618396759, 0.02749052457511425 ]
44,097
dataclass_array.array_dataclass
cuda
Move the dataclass array to the CUDA device.
def cuda(self: _DcT, *args, **kwargs) -> _DcT: """Move the dataclass array to the CUDA device.""" if not lazy.is_torch_xnp(self.xnp): raise ValueError('`.cuda` can only be called when `xnp == torch`') return self.map_field(lambda f: f.cuda(*args, **kwargs))
(self: ~_DcT, *args, **kwargs) -> ~_DcT
[ -0.04384535551071167, 0.0077679832465946674, 0.020323779433965683, -0.0186893492937088, -0.04757612198591232, 0.003875108901411295, -0.04640359431505203, 0.0212298221886158, 0.06882371008396149, -0.03171149268746376, 0.008856122381985188, -0.06846839934587479, 0.031018635258078575, 0.002533810446038842, 0.013732763938605785, 0.01079256646335125, 0.024125605821609497, 0.05340321734547615, 0.026275236159563065, 0.030379075556993484, -0.014549979008734226, 0.008127734996378422, -0.01915125362575054, -0.02664831280708313, -0.020412607118487358, 0.05194644257426262, 0.03251093998551369, -0.018111970275640488, 0.008869446814060211, -0.019577626138925552, 0.010392841883003712, 0.057418230921030045, -0.0033443633001297712, 0.04338345304131508, 0.05077391862869263, 0.020306013524532318, 0.03370123356580734, 0.02728787250816822, -0.017179278656840324, 0.0009243633248843253, -0.03304390609264374, -0.07895006984472275, -0.00035503326216712594, 0.031054167076945305, 0.027874134480953217, 0.016193291172385216, -0.0007589217275381088, 0.018183032050728798, -0.04700762405991554, 0.014576626941561699, -0.003097866429015994, -0.034340791404247284, 0.03688126429915428, 0.05059626325964928, 0.013404101133346558, 0.01776554249227047, 0.0033043907023966312, 0.014008129946887493, -0.04395195096731186, 0.031658194959163666, 0.03577980026602745, -0.006022518500685692, 0.024569744244217873, -0.03325709328055382, 0.031409479677677155, -0.04203327000141144, 0.011929561384022236, 0.03236881643533707, -0.0020485890563577414, 0.031658194959163666, -0.06196621060371399, 0.014088074676692486, 0.040185656398534775, -0.018129736185073853, 0.08093980699777603, 0.014070308767259121, -0.029455268755555153, 0.011973975226283073, -0.019648689776659012, -0.01475428231060505, 0.03332815691828728, 0.05276365950703621, -0.059088192880153656, 0.028833474963903427, -0.009957586415112019, 0.023024141788482666, -0.010224069468677044, 0.020608028396964073, -0.09437055885791779, -0.027305638417601585, -0.006675402168184519, -0.024285495281219482, -0.012853369116783142, 0.05361640453338623, 0.023699233308434486, 0.04526660218834877, -0.0035975221544504166, 0.006280119065195322, -0.0007689148769713938, 0.02144300937652588, 0.0442361980676651, 0.03178255259990692, 0.09408631175756454, -0.0049565862864255905, 0.013723880983889103, -0.07184384763240814, -0.024800695478916168, 0.028904536738991737, 0.006804202683269978, 0.02357487380504608, -0.06335192173719406, 0.058661818504333496, 0.01348404586315155, 0.00004944511238136329, 0.0011242256732657552, -0.09529436379671097, -0.03238658234477043, -0.007310520391911268, -0.056494422256946564, 0.048286743462085724, -0.02172725833952427, 0.03231551870703697, 0.00879394356161356, -0.029881641268730164, -0.030592262744903564, 0.016335414722561836, 0.0255468487739563, 0.025600146502256393, 0.02746552787721157, -0.02796296216547489, -0.0251915380358696, -0.08541672676801682, -0.021816086024045944, -0.003524239407852292, 0.056814201176166534, 0.022420113906264305, 0.049885641783475876, -0.03167596086859703, -0.0251915380358696, -0.026204174384474754, -0.002255113562569022, 0.016308767721056938, 0.03215562924742699, 0.0050765033811330795, 0.07354934513568878, 0.009318026714026928, 0.012808955274522305, 0.02215363085269928, -0.03334592282772064, -0.056281235069036484, -0.05290578305721283, 0.04324132949113846, 0.04437832161784172, 0.005658325273543596, -0.05585486441850662, 0.029099958017468452, -0.056885264813899994, -0.022206926718354225, 0.0069152372889220715, 0.057098452001810074, -0.07312297075986862, -0.014514447189867496, -0.05205303803086281, 0.050667326897382736, -0.007319403346627951, -0.05407831072807312, -0.006972975097596645, -0.005218627862632275, -0.03574426844716072, 0.04665231332182884, 0.01155648473650217, -0.05638783052563667, 0.08612734824419022, 0.049068424850702286, -0.022420113906264305, 0.03549555316567421, -0.0012891121441498399, -0.024232199415564537, 0.04270836338400841, -0.0024005689192563295, 0.04359664022922516, 0.029810579493641853, 0.029011130332946777, -0.0014989676419645548, 0.003775177523493767, 0.04569297283887863, -0.004592392593622208, -0.005054296460002661, 0.03142724186182022, 0.040612027049064636, 0.048464398831129074, 0.028549226000905037, -0.02169172652065754, 0.011902912519872189, 0.06210833415389061, -0.01649530604481697, -0.039972469210624695, 0.0041349297389388084, -0.03482046350836754, 0.01628211885690689, -0.01184073369950056, -0.027447761967778206, 0.049850109964609146, 0.0012691258452832699, -0.03268859535455704, -0.04277942329645157, 0.05422043427824974, 0.056458890438079834, -0.0027736451011151075, -0.04462704062461853, 0.04455597698688507, -0.0007705803727731109, 0.007839045487344265, 0.014834227040410042, 0.024249965324997902, -0.013155383989214897, 0.024161137640476227, -0.008785060606896877, 0.012631299905478954, 0.02643512561917305, 0.048997364938259125, -0.011316650547087193, -0.025919925421476364, 0.01638871245086193, -0.03325709328055382, -0.01861828751862049, -0.058519694954156876, -0.01780107244849205, 0.009238081984221935, -0.06431125849485397, 0.04256623983383179, -0.016406478360295296, -0.041251588612794876, 0.01900913007557392, 0.06058049574494362, 0.012311520054936409, 0.018316272646188736, 0.03791166469454765, -0.0027736451011151075, 0.03316826745867729, -0.015829097479581833, -0.00952233001589775, 0.025777801871299744, -0.007394906599074602, 0.025848863646388054, 0.031729258596897125, -0.008576314896345139, 0.029561862349510193, -0.0007755769183859229, -0.017525706440210342, -0.04572850465774536, -0.010943573899567127, -0.00647553987801075, 0.040398843586444855, -0.07145301252603531, -0.03684573248028755, 0.025706738233566284, 0.031551603227853775, -0.004361440427601337, -0.008927185088396072, -0.059265848249197006, -0.021922677755355835, 0.04622593894600868, 0.02368146739900112, 0.013022142462432384, 0.008554108440876007, -0.01741023175418377, 0.0453021302819252, -0.019275613129138947, 0.008780619129538536, 0.023059673607349396, 0.07838156819343567, -0.0015433814842253923, -0.014896406792104244, 0.013190914876759052, -0.010659324936568737, -0.039403971284627914, 0.00477893091738224, 0.05326109379529953, 0.015376076102256775, 0.02144300937652588, -0.05635229870676994, -0.08150830864906311, -0.05077391862869263, -0.023486046120524406, -0.07123982161283493, 0.008749529719352722, 0.026381829753518105, 0.006586574483662844, -0.0061824084259569645, -0.021176526322960854, -0.024338793009519577, -0.02806955575942993, -0.002522706985473633, -0.008096645586192608, -0.028673583641648293, -0.09849216043949127, 0.057915665209293365, 0.010854746215045452, 0.00655548507347703, -0.01663742959499359, 0.010028648190200329, -0.0481446199119091, 0.05183985084295273, 0.036366064101457596, -0.003080100752413273, 0.0037418671417981386, -0.005547290202230215, -0.02396571636199951, -0.0031977975741028786, 0.059479035437107086, -0.0754680186510086, -0.02311296947300434, 0.041287120431661606, 0.011396595276892185, 0.0038240328431129456, 0.013457397930324078, 0.020572496578097343, 0.03181808441877365, 0.04249517619609833, -0.019542096182703972, -0.015917925164103508, -0.01648642309010029, 0.06320979446172714, -0.03798272833228111, 0.031302884221076965, 0.016006752848625183, -0.02304190769791603, -0.02119429223239422, 0.02782083861529827, 0.003042349126189947, 0.0208745114505291, -0.0012968844966962934, 0.015047414228320122, 0.01680620200932026, 0.005622793920338154, -0.02407230995595455, -0.03780507296323776, 0.05034754425287247, 0.01148542296141386, -0.07852369546890259, 0.08115299791097641, -0.02711021713912487, 0.007941197603940964, 0.014567743986845016, -0.004283716436475515, -0.017987610772252083, 0.0338255912065506, 0.025529082864522934, 0.03286625072360039, 0.06992517411708832, 0.008420866914093494, 0.011476540006697178, 0.05034754425287247, 0.05915925279259682, -0.01394595019519329, -0.007918990217149258, -0.005147565621882677, -0.026097580790519714, -0.043170265853405, -0.004217095673084259, -0.00039278503390960395, 0.006795319728553295, -0.022277988493442535, 0.035477787256240845, 0.002487175865098834, -0.0669405609369278, -0.024409854784607887, -0.007523707114160061, 0.022704362869262695, -0.02101663500070572, 0.017108216881752014, 0.019808579236268997, 0.036223940551280975, 0.01627323590219021, -0.012711245566606522, -0.05503764748573303, 0.00955786183476448, -0.02329062484204769, 0.013563991524279118, -0.006773112807422876, -0.0597277507185936, 0.006533278152346611, 0.002858031541109085, -0.0066887266002595425, 0.05514424294233322, -0.03677467256784439, 0.018955832347273827, -0.01908019185066223, -0.017703361809253693, -0.003348804544657469, 0.008065556176006794, -0.006049166899174452, -0.031729258596897125, -0.0528702512383461, 0.01346628088504076, 0.00792787317186594, 0.014088074676692486, -0.01851169392466545, -0.08825921267271042, -0.07159513235092163, -0.028318272903561592, 0.006697609089314938, 0.0704936683177948, -0.00968222040683031, 0.01307543832808733, 0.010748152621090412, -0.02806955575942993, 0.005489552393555641, 0.06949879974126816, -0.008674025535583496, 0.047718245536088943, 0.01264906581491232, 0.04519553855061531, 0.029544096440076828, 0.07219915837049484, 0.004261509515345097, -0.029366441071033478, 0.06893030554056168, 0.04150030389428139, -0.020963339135050774, -0.009806578978896141, -0.03457174450159073, -0.04718527942895889, 0.039865877479314804, 0.002034154487773776, 0.03379005938768387, -0.03236881643533707, 0.011973975226283073, 0.05059626325964928, -0.05539295822381973, 0.01526948343962431, -0.06203727051615715, 0.016974974423646927, 0.023237328976392746, 0.0312851183116436, 0.04473363235592842, 0.012320403009653091, 0.00861628819257021, 0.03277742490172386, -0.036152876913547516, 0.006675402168184519, -0.00861628819257021, -0.06917902082204819, -0.08783283829689026, 0.006195732858031988, -0.057453762739896774, -0.029544096440076828, -0.036259472370147705, 0.016193291172385216, 0.05493105575442314, -0.0001672459184192121, 0.040540967136621475, -0.019737517461180687, 0.04150030389428139, -0.059443503618240356, -0.05262153595685959, -0.06761565059423447, 0.06129111722111702, -0.0025537966284900904, -0.03373676538467407, -0.004472475033253431, -0.035300131887197495, -0.057844605296850204, -0.023699233308434486, 0.04341898486018181, 0.016397595405578613, -0.012187161482870579, 0.0018398439278826118, -0.015411607921123505, 0.07052920013666153, -0.03332815691828728, 0.006497746799141169, -0.025422491133213043, -0.04484022781252861, 0.005209744907915592, -0.03712998330593109, 0.02728787250816822, -0.0413937121629715, -0.029082192108035088, -0.013066556304693222, -0.03720104321837425, 0.07305190712213516, 0.005804890766739845, 0.0049565862864255905, -0.0005238059093244374, 0.05457574501633644, 0.0017732231644913554, 0.015074062161147594, 0.014070308767259121, -0.005831539165228605, -0.008753970265388489, 0.01616664230823517, -0.049530331045389175, 0.01695721037685871, -0.0011802981607615948, 0.019399970769882202, 0.03741423040628433, 0.03046790324151516, 0.035548850893974304, -0.008496370166540146, 0.01334192231297493, -0.029330909252166748, -0.049814578145742416, -0.009495682083070278, -0.00007536476186942309, 0.022562237456440926, 0.02957962639629841, -0.05169772729277611, 0.021531837061047554, -0.01312873512506485, -0.0058093322440981865, -0.06498634815216064, -0.039261847734451294, 0.03320379927754402, -0.007537031080573797, -0.038622286170721054, 0.007270548027008772, -0.06285448372364044, -0.02515600621700287, 0.010073062032461166, 0.06559038162231445, -0.030450139194726944, 0.059479035437107086, 0.00332659762352705, 0.06335192173719406, 0.0370233878493309, 0.01311097014695406, 0.03213786333799362, 0.002829162636771798, -0.024640806019306183, -0.024871759116649628, -0.014025894924998283, 0.03277742490172386, 0.03574426844716072, -0.04096733778715134, 0.011050166562199593, 0.038657817989587784, 0.039546094834804535, 0.00962892360985279, -0.0255468487739563, -0.029082192108035088, 0.018849240615963936, -0.014096957631409168, -0.022633301094174385, -0.07347828149795532, -0.022810956463217735, 0.01840510219335556, -0.00477893091738224, 0.010250717401504517, -0.07589439302682877, -0.03748529404401779, 0.02817614935338497, 0.02817614935338497, 0.014159136451780796, 0.03911972418427467, -0.013084321282804012, -0.0032333286944776773, -0.015864629298448563, 0.002089671790599823, -0.01886700466275215, -0.02508494444191456, 0.048038024455308914, 0.028264977037906647, 0.000594035314861685, -0.006173525936901569, -0.015376076102256775, 0.021140994504094124, -0.015917925164103508, -0.04665231332182884, -0.012400347739458084, 0.016895029693841934, -0.1110701635479927, 0.04736293479800224, -0.028407100588083267, -0.012853369116783142, 0.05422043427824974, 0.03840910270810127, -0.005680532194674015, -0.07809732109308243, -0.03379005938768387, 0.01091692503541708, -0.00799893494695425, 0.004059426486492157, 0.017783306539058685, -0.07504165172576904, -0.0027958520222455263, -0.019275613129138947, 0.02657725103199482, -0.09820791333913803, 0.04736293479800224, 0.012391465716063976, -0.04569297283887863, 0.007985611446201801, 0.00957562681287527, -0.02643512561917305, -0.06178855523467064, 0.02796296216547489, 0.06125558912754059, 0.003120073350146413, -0.03242211416363716, 0.02558238059282303, 0.050063297152519226, -0.0377340093255043, -0.0011469877790659666, -0.0884723961353302, -0.08015812188386917, -0.027874134480953217, 0.03791166469454765, -0.0302191860973835, 0.001134773949161172, 0.049494799226522446, -0.03046790324151516, 0.10346651822328568, 0.0010714842937886715, -0.04508894681930542, -0.005489552393555641, -0.021851615980267525, 0.02215363085269928, 0.03364793583750725, -0.0219404436647892, 0.0016355401603505015, 0.017570121213793755, -0.03322156146168709, 0.007177278865128756, -0.019897406920790672, -0.00893606711179018, -0.049459267407655716, 0.012551355175673962, 0.04437832161784172, 0.018422866240143776, -0.04640359431505203, 0.05621017515659332, 0.02515600621700287, -0.04569297283887863, -0.10652218759059906, -0.08996470272541046, 0.019222315400838852, -0.02668384462594986, -0.058306507766246796, 0.006728698965162039, 0.0694277361035347, 0.05279919132590294, 0.023983482271432877, 0.0000988208266790025, -0.10311120748519897, 0.0011236704885959625, 0.007452644873410463, 0.004368102643638849, 0.005600586999207735, -0.021496305242180824, 0.017889900133013725, -0.03361240401864052, 0.04633253440260887, 0.02108769863843918, 0.047256339341402054, -0.038622286170721054, 0.04135818034410477, 0.009469034150242805, -0.01095245685428381, -0.020572496578097343, 0.024516448378562927, 0.015944574028253555, -0.0600830614566803, 0.01328862551599741, -0.020714621990919113, 0.012036154977977276, -0.029455268755555153, -0.08371122926473618, 0.006657636724412441, -0.07809732109308243, 0.030947573482990265, -0.03386112302541733, -0.06459551304578781, 0.047611650079488754, -0.049565862864255905, 0.0460127517580986, -0.06345851719379425, -0.0697830468416214, 0.00031478318851441145, -0.021531837061047554, -0.010357310995459557, 0.0305744968354702, 0.03506917878985405, -0.032475411891937256, 0.02622194029390812, 0.005764918401837349, 0.01603340171277523, 0.0022484513465315104, -0.04160689935088158, 0.029881641268730164, 0.05198197439312935, 0.0525149405002594, -0.019435502588748932, -0.018165266141295433, -0.03325709328055382, 0.00047606098814867437, 0.035122476518154144, -0.009673337452113628, 0.041216056793928146, -0.01794319786131382, 0.02806955575942993, -0.06797096133232117, -0.020306013524532318, 0.010046414099633694, 0.012036154977977276, -0.013794942758977413, 0.02597322128713131, 0.01663742959499359, 0.031302884221076965, 0.07134641706943512, -0.001725478214211762, 0.022988611832261086, 0.010801449418067932, -0.012711245566606522, 0.014185785315930843, -0.005365193821489811, 0.018884770572185516, -0.007754658814519644, 0.047682713717222214, 0.0033976598642766476, 0.015429372899234295, 0.057595886290073395, 0.003681908594444394, -0.02632853202521801, -0.02211809903383255, 0.01861828751862049, -0.0366680771112442, 0.04299261048436165, -0.005960339214652777, 0.04398748278617859, -0.018076438456773758, 0.021567367017269135, 0.01858275756239891, -0.03506917878985405, -0.024249965324997902, 0.0040927366353571415, -0.07035154849290848, -0.06633653491735458, 0.05262153595685959, -0.08591415733098984, 0.013528459705412388, 0.007479293271899223, -0.010828097350895405, -0.006018077488988638, -0.016548601910471916, -0.02378806099295616, -0.0035775359719991684, 0.06424020230770111, -0.031018635258078575, 0.04757612198591232, 0.05986987426877022, 0.003635274013504386, 0.022064803168177605, 0.0445915088057518, -0.025351427495479584, 0.01645089127123356, -0.028673583641648293, -0.019240081310272217, -0.0852745994925499, -0.024747399613261223, 0.04679443687200546, -0.05095157399773598, 0.016406478360295296, 0.011396595276892185, -0.01293331477791071, 0.039546094834804535, 0.010623794049024582 ]
44,098
dataclass_array.array_dataclass
flatten
Flatten the batch shape.
def flatten(self: _DcT) -> _DcT: """Flatten the batch shape.""" return self.reshape((-1,))
(self: ~_DcT) -> ~_DcT
[ -0.05941162630915642, -0.040253400802612305, 0.052790768444538116, -0.007844659499824047, -0.05180468410253525, -0.011973890475928783, -0.015002580359578133, -0.017062794417142868, 0.07096291333436966, -0.004492409992963076, -0.04803643003106117, -0.05927075818181038, -0.03320993855595589, 0.0254445169121027, 0.04641643539071083, 0.04680382460355759, -0.029318423941731453, 0.027751252055168152, 0.0032818145118653774, 0.05317816138267517, 0.019862571731209755, -0.029846683144569397, -0.006748519837856293, -0.014562363736331463, -0.02204604633152485, 0.018894094973802567, 0.006325912196189165, -0.03136102855205536, -0.012519759126007557, -0.0492338202893734, -0.03604493290185928, 0.006563629023730755, 0.03491797670722008, 0.015838991850614548, 0.004719121381640434, -0.012079542502760887, -0.023842129856348038, 0.03569275885820389, -0.007910691201686859, 0.013426604680716991, -0.015205079689621925, -0.058918584138154984, 0.0014978368999436498, 0.03951383754611015, 0.05180468410253525, 0.005229772534221411, 0.05993988737463951, -0.04300035536289215, -0.06096119061112404, 0.0073912362568080425, -0.01104063168168068, -0.012933562509715557, -0.016314426437020302, 0.016411272808909416, -0.04211992025375366, -0.017432576045393944, 0.007140312809497118, -0.016895512118935585, -0.06170075386762619, -0.0038474928587675095, -0.022239740937948227, -0.04314122349023819, 0.024828214198350906, 0.0009695769986137748, -0.0020976318046450615, -0.013303344137966633, -0.06173596903681755, 0.06434205174446106, 0.0001027630569296889, 0.031607549637556076, -0.04701513051986694, 0.02528603933751583, -0.01145443506538868, -0.00801194179803133, -0.0038761068135499954, -0.05261468514800072, 0.03308667615056038, 0.028173860162496567, 0.00552031584084034, -0.08064767718315125, -0.04321165755391121, 0.05338946357369423, -0.053706418722867966, 0.07451985776424408, 0.033509284257888794, -0.005656783003360033, 0.025162778794765472, 0.04250730946660042, -0.14749015867710114, -0.05014947056770325, 0.03558710590004921, 0.04902251809835434, -0.04296513646841049, 0.0538472905755043, 0.020760612562298775, 0.005251783411949873, -0.04176774621009827, 0.03220624476671219, -0.053530335426330566, 0.009896067902445793, -0.05180468410253525, -0.03606254234910011, -0.015205079689621925, 0.014227799139916897, -0.023049738258123398, -0.012792693451046944, 0.007307595107704401, -0.026641907170414925, -0.028244294226169586, 0.04497252404689789, -0.004886403679847717, 0.03313950449228287, 0.003457901068031788, 0.029283205047249794, -0.020003439858555794, -0.028121033683419228, 0.009147699922323227, 0.03144907206296921, -0.028385164216160774, 0.04500774294137955, 0.03697819262742996, 0.036802105605602264, -0.013690735213458538, -0.014342255890369415, -0.04398643970489502, 0.08107028156518936, -0.0015759753296151757, 0.016015078872442245, 0.013144866563379765, -0.04676860570907593, -0.06406031548976898, 0.01936952956020832, -0.06018640846014023, 0.010477154515683651, 0.0051109143532812595, -0.007087486796081066, 0.03310428559780121, -0.02632495015859604, -0.00860623363405466, 0.02109517715871334, -0.013347365893423557, 0.03736558184027672, 0.05490380898118019, 0.0372951477766037, -0.0369429737329483, 0.0018368036253377795, 0.06001032143831253, 0.017529424279928207, -0.01875322498381138, 0.015794970095157623, -0.04307078942656517, 0.018207356333732605, 0.037541668862104416, -0.012458128854632378, -0.00019740960851777345, 0.028966249898076057, -0.04831817001104355, -0.05659424141049385, 0.04624034836888313, -0.018119312822818756, -0.10593371093273163, -0.0036581996828317642, -0.020919090136885643, 0.005612761247903109, -0.07004725933074951, -0.01442149467766285, 0.013787582516670227, -0.038386885076761246, -0.06920204311609268, 0.008214441128075123, 0.04469078406691551, -0.023930171504616737, 0.01951039768755436, -0.006026564631611109, -0.021429741755127907, 0.07705550640821457, 0.008562211878597736, 0.019985832273960114, -0.022310175001621246, 0.0575098916888237, 0.009623133577406406, 0.0002489975013304502, 0.01092617493122816, -0.025691037997603416, 0.025902342051267624, -0.00613661902025342, -0.04645165055990219, 0.008342104032635689, 0.042859483510255814, 0.019844962283968925, 0.008993624709546566, 0.038774274289608, 0.019616050645709038, -0.005027273204177618, -0.032734502106904984, -0.04476122185587883, -0.03493558615446091, 0.0034402923192828894, 0.04204948619008064, -0.055432070046663284, -0.0525442473590374, -0.007245964836329222, 0.05518554896116257, 0.017326923087239265, 0.0030881192069500685, -0.0007362621836364269, 0.004591458942741156, 0.00014100686530582607, -0.049445122480392456, 0.025127561762928963, -0.02530364878475666, -0.016807468608021736, 0.042014267295598984, -0.011859433725476265, 0.03282254561781883, -0.0926215648651123, -0.022556696087121964, -0.03718949481844902, 0.0036339876241981983, 0.014342255890369415, -0.0047411322593688965, -0.052755553275346756, -0.028261903673410416, -0.022239740937948227, -0.052755553275346756, -0.01576855778694153, -0.036802105605602264, -0.04500774294137955, 0.003383064176887274, -0.06670161336660385, 0.005643576383590698, -0.08346506208181381, -0.03954905644059181, -0.007175529841333628, 0.040288619697093964, 0.048635125160217285, 0.010723675601184368, -0.02532125636935234, 0.046839043498039246, 0.016120729967951775, -0.025796690955758095, -0.03891514241695404, 0.020831048488616943, -0.0031475485302507877, -0.016050295904278755, 0.07117421180009842, 0.022169306874275208, 0.027328643947839737, 0.006484389770776033, -0.0004382906190585345, -0.06645508855581284, -0.014051713049411774, 0.036731671541929245, 0.026465820148587227, 0.027522338554263115, -0.025004301220178604, -0.021553002297878265, -0.04595860838890076, -0.020109092816710472, -0.012458128854632378, 0.015891818329691887, 0.029336031526327133, 0.04884643107652664, 0.06821595877408981, -0.04560643434524536, 0.011551282368600368, -0.013356170617043972, -0.005912108346819878, -0.02449364960193634, 0.02276800014078617, 0.09304416924715042, 0.10015807300806046, -0.022468652576208115, -0.030938420444726944, -0.012255629524588585, 0.025268429890275, 0.000915650452952832, 0.014826493337750435, -0.016587359830737114, 0.003523933468386531, 0.0018522111931815743, -0.05328381434082985, -0.029265597462654114, 0.014562363736331463, -0.05057207867503166, -0.02778646908700466, 0.019915396347641945, -0.051311641931533813, -0.01560127455741167, -0.04462035000324249, 0.06811030954122543, 0.04064079374074936, 0.05014947056770325, 0.02042604796588421, 0.007378029637038708, -0.0575098916888237, -0.056946415454149246, -0.020091483369469643, 0.004547437187284231, 0.006039771251380444, 0.01607670821249485, 0.005062490236014128, 0.026800384745001793, 0.031977329403162, 0.01095258817076683, -0.03372059017419815, 0.006656074430793524, 0.039372969418764114, 0.014069321565330029, 0.015161057934165001, -0.02463451959192753, 0.0026368971448391676, -0.060468148440122604, -0.04465556889772415, -0.014940950088202953, -0.02607842907309532, 0.05986945331096649, 0.02364843338727951, 0.054586853832006454, 0.08198593556880951, -0.016428882256150246, -0.03634427860379219, 0.029846683144569397, -0.008293679915368557, -0.03806992992758751, 0.0028724130243062973, 0.028913423418998718, -0.03368537127971649, -0.04638121649622917, 0.017547031864523888, 0.029846683144569397, -0.045571219176054, -0.006435966119170189, 0.027275817468762398, -0.027575165033340454, -0.044479481875896454, 0.04057035967707634, 0.008113191463053226, -0.011516065336763859, -0.05233294516801834, -0.014676820486783981, 0.04884643107652664, 0.005344229284673929, 0.0034336892422288656, 0.04719121381640434, 0.04965642839670181, 0.026888428255915642, -0.03803471103310585, 0.01951039768755436, 0.06451813876628876, 0.02021474391222, -0.02618408016860485, 0.0045738499611616135, 0.016235187649726868, 0.031660374253988266, 0.0664903074502945, -0.06722987443208694, 0.036696452647447586, 0.026060819625854492, -0.0017850782023742795, 0.022679956629872322, 0.0648350939154625, 0.0037682538386434317, -0.01057400181889534, 0.07318159937858582, 0.019158225506544113, -0.06067945063114166, -0.021288873627781868, -0.012009107507765293, 0.031977329403162, -0.029142336919903755, -0.02630734257400036, -0.016050295904278755, 0.01943996362388134, -0.01695714145898819, 0.022257348522543907, -0.08508505672216415, 0.005172544624656439, 0.012739866971969604, 0.06391944736242294, -0.0037902644835412502, 0.019211050122976303, 0.05162859708070755, -0.0025180387310683727, 0.02530364878475666, 0.01781996712088585, -0.04979729652404785, -0.03151950612664223, -0.05141729488968849, 0.012959975749254227, 0.0323295034468174, 0.004859990905970335, -0.02042604796588421, -0.04388078674674034, -0.046134695410728455, -0.002163664437830448, 0.0007577227661386132, 0.04912816733121872, 0.022961696609854698, -0.04419774189591408, -0.03359732776880264, -0.00484238239005208, 0.0013690735213458538, 0.0389503613114357, -0.04113383591175079, -0.0422607883810997, -0.010908566415309906, -0.031132115051150322, -0.007932702079415321, -0.007976723834872246, 0.07036421447992325, 0.06522248685359955, 0.017318120226264, 0.05691119655966759, 0.08712766319513321, -0.00011404359975131229, -0.0023639630526304245, 0.0523681603372097, 0.05772119387984276, 0.042718615382909775, 0.029969943687319756, 0.07649202644824982, -0.004241486545652151, 0.01870040036737919, -0.018207356333732605, -0.03120254911482334, -0.06627900898456573, 0.047649040818214417, -0.014210190623998642, -0.007844659499824047, -0.02970581315457821, -0.023824520409107208, -0.03225906938314438, -0.003869503503665328, -0.058812931180000305, -0.016138339415192604, 0.006568030919879675, 0.0023265446070581675, -0.002502631163224578, 0.049480341374874115, 0.04926903918385506, -0.004529828205704689, 0.0475786067545414, -0.09438242763280869, 0.04807164892554283, -0.04123948886990547, -0.05064251273870468, 0.046205129474401474, -0.05169903486967087, -0.016904316842556, 0.04247209429740906, -0.009068461135029793, 0.08064767718315125, -0.02974103018641472, -0.010265850462019444, -0.000020858698917436413, 0.009121287614107132, -0.03203015774488449, -0.0020690178498625755, -0.02451125904917717, -0.012229216285049915, -0.014720842242240906, -0.012370085343718529, -0.02454647608101368, 0.04919860139489174, -0.05152294784784317, 0.013611496426165104, -0.03438971936702728, -0.01053878478705883, -0.005718413274735212, 0.04370469972491264, -0.023331478238105774, -0.01148965209722519, -0.04395122081041336, 0.07487203180789948, 0.009808025322854519, 0.00825406052172184, 0.006801345851272345, 0.014263016171753407, -0.01952800713479519, -0.046169914305210114, -0.04708556458353996, -0.03486515209078789, 0.003019885625690222, -0.04130992293357849, 0.06842726469039917, 0.005564337130635977, 0.013523452915251255, 0.029424075037240982, 0.033562108874320984, 0.005220968276262283, 0.08029550313949585, -0.01360269170254469, -0.010080959647893906, 0.027575165033340454, 0.024018215015530586, -0.003453498939052224, 0.003713226644322276, 0.0254445169121027, 0.05905945226550102, -0.007642159704118967, 0.013215301558375359, -0.04919860139489174, -0.02297930419445038, -0.03442493453621864, 0.036696452647447586, -0.02116561308503151, 0.0074132466688752174, -0.029159944504499435, -0.02116561308503151, -0.06173596903681755, -0.021447351202368736, -0.07177291065454483, 0.03958427160978317, -0.013021606020629406, 0.02190517634153366, -0.02023235335946083, 0.05328381434082985, 0.04303557053208351, 0.0019369528163224459, 0.010477154515683651, 0.07628072798252106, -0.06078510358929634, 0.008654657751321793, -0.05515033006668091, 0.016666598618030548, 0.02269756607711315, 0.0030242877546697855, 0.04567687213420868, 0.06015118956565857, -0.021553002297878265, -0.02350756525993347, 0.051065120846033096, 0.061207711696624756, -0.006193846929818392, -0.023102564737200737, -0.05923553928732872, -0.00634792260825634, -0.040112532675266266, -0.017573446035385132, -0.024370389059185982, -0.03291058912873268, 0.02208126336336136, -0.018260182812809944, -0.044409047812223434, 0.034301675856113434, 0.00025216155336238444, 0.02880777232348919, -0.006114608142524958, 0.001055969507433474, -0.02535647340118885, -0.03972514346241951, 0.017159640789031982, 0.05043121054768562, 0.02877255529165268, 0.012871932238340378, 0.008386125788092613, 0.013673126697540283, -0.02282082661986351, -0.013549866154789925, -0.010116176679730415, 0.008443353697657585, 0.030286898836493492, 0.00611020578071475, -0.009887264110147953, 0.01789040118455887, -0.029406465590000153, 0.08980417996644974, -0.03317471966147423, -0.0005395404295995831, -0.04891686514019966, -0.0440920926630497, -0.019070181995630264, 0.028526032343506813, 0.04092252999544144, 0.03824601322412491, 0.030920810997486115, -0.016913119703531265, -0.0321534164249897, -0.0010653240606188774, 0.017573446035385132, 0.004697110503911972, -0.020866265520453453, -0.03637949749827385, 0.0018412057543173432, -0.013734756968915462, -0.02958255261182785, -0.030057987198233604, -0.03630906343460083, -0.07543551176786423, 0.02806820720434189, 0.04800121486186981, 0.024018215015530586, 0.028666902333498, 0.013312148861587048, -0.040957748889923096, -0.0420847050845623, -0.031132115051150322, 0.03560471534729004, 0.008166017010807991, 0.010036937892436981, 0.01857713982462883, 0.022398218512535095, 0.0782528966665268, -0.004206269048154354, -0.08515549451112747, -0.008654657751321793, 0.000322458625305444, 0.007254769094288349, -0.015196275897324085, 0.02273278310894966, -0.018260182812809944, 0.0006201550713740289, 0.01310084480792284, -0.04891686514019966, -0.05060729756951332, -0.018295399844646454, -0.00508009921759367, 0.011480848304927349, 0.017564641311764717, 0.026536254212260246, -0.001678325585089624, -0.03539341315627098, -0.011031826958060265, -0.0044770026579499245, 0.045324698090553284, 0.013875626027584076, -0.02111278660595417, -0.00019520852947607636, -0.005128522869199514, 0.019968222826719284, -0.02796255610883236, -0.015143449418246746, -0.020478874444961548, 0.03401993587613106, -0.013990082778036594, -0.04039427265524864, 0.05152294784784317, 0.012863127514719963, 0.013224105350673199, 0.011084653437137604, 0.021570611745119095, -0.012563780881464481, -0.06194727495312691, -0.012854323722422123, -0.07508333772420883, -0.026007995009422302, -0.05462207272648811, 0.00021061611187178642, 0.03472428396344185, -0.07163204252719879, 0.05846076086163521, -0.01306562777608633, 0.02796255610883236, 0.047895561903715134, 0.04884643107652664, -0.020443657413125038, 0.008359712548553944, -0.020654961466789246, 0.010503566823899746, -0.0027777664363384247, -0.027522338554263115, 0.0009838839760050178, -0.018436269834637642, 0.009359003975987434, -0.011102261953055859, -0.04729686677455902, -0.007127106189727783, 0.009226938709616661, -0.01357627846300602, -0.06765247881412506, 0.039302535355091095, -0.044479481875896454, -0.0040191770531237125, -0.015803774818778038, -0.009482264518737793, 0.024669736623764038, -0.027434296905994415, 0.03898558020591736, -0.013717148452997208, -0.010019329376518726, 0.016067905351519585, 0.011604108847677708, 0.029881900176405907, -0.03965470939874649, -0.0609964057803154, -0.06356727331876755, 0.00617183605208993, -0.0008589725475758314, -0.021341698244214058, 0.05828467383980751, -0.01274867169559002, 0.049445122480392456, -0.0035943682305514812, -0.03141385316848755, 0.06973030418157578, 0.014896928332746029, -0.04454991593956947, -0.02875494584441185, 0.04254252836108208, 0.018330616876482964, -0.01958083175122738, -0.0738859474658966, 0.0002448704617563635, 0.05141729488968849, 0.05472772195935249, -0.001059271045960486, 0.022222131490707397, -0.029019076377153397, 0.09741111844778061, 0.07353377342224121, 0.05990466848015785, 0.04039427265524864, 0.02297930419445038, 0.024299954995512962, -0.022186914458870888, -0.04219035431742668, 0.02697647176682949, -0.019950615242123604, 0.04673339053988457, -0.033368416130542755, 0.027240600436925888, 0.023472346365451813, 0.04381035268306732, 0.025743864476680756, 0.04680382460355759, 0.017150837928056717, 0.004204068332910538, -0.0027139352168887854, -0.013990082778036594, 0.0017135429661720991, -0.030885593965649605, 0.02787451259791851, 0.05405859276652336, 0.04965642839670181, 0.043916005641222, 0.0424368754029274, 0.014157365076243877, -0.004617871716618538, -0.015416383743286133, -0.019933005794882774, -0.014483124949038029, 0.003928932826966047, 0.01477366778999567, 0.010309872217476368, -0.019017355516552925, 0.08008419722318649, -0.020707787945866585, -0.021711481735110283, -0.05469250679016113, 0.06106683984398842, 0.04546556621789932, -0.01019541546702385, -0.01785518415272236, 0.05839032307267189, -0.051980771124362946, 0.052931640297174454, -0.04314122349023819, -0.02868451178073883, -0.059552498161792755, 0.013268127106130123, -0.06159510090947151, -0.004697110503911972, 0.04655730351805687, -0.012986388988792896, 0.05388250574469566, 0.06867378205060959, -0.003931134007871151 ]
44,099
dataclass_array.array_dataclass
map_field
Apply a transformation on all arrays from the fields.
def map_field( self: _DcT, fn: Callable[[Array['*din']], Array['*dout']], ) -> _DcT: """Apply a transformation on all arrays from the fields.""" return self._map_field( # pylint: disable=protected-access array_fn=lambda f: fn(f.value), dc_fn=lambda f: f.value.map_field(fn), )
(self: ~_DcT, fn: Callable[[etils.enp.array_types.typing.Array], etils.enp.array_types.typing.Array]) -> ~_DcT
[ 0.03344050049781799, -0.004667414352297783, 0.002054607030004263, 0.0847090631723404, -0.05654141306877136, 0.016265101730823517, -0.0046845898032188416, -0.061968836933374405, 0.030692437663674355, -0.01167927123606205, -0.02062765322625637, 0.004295996390283108, 0.040156081318855286, -0.010846263729035854, 0.04424382746219635, 0.006629703566431999, -0.07055653631687164, 0.08924336731433868, 0.016703074797987938, 0.040671344846487045, -0.0066382912918925285, -0.02918100170791149, 0.06038869917392731, -0.008437414653599262, 0.027532164007425308, 0.03287371248006821, 0.04049959033727646, -0.04774760827422142, 0.03374965861439705, -0.03228974714875221, 0.010227949358522892, 0.02347876876592636, -0.027995899319648743, 0.010013257153332233, 0.009824328124523163, -0.04558350890874863, -0.017690660431981087, 0.025917675346136093, -0.04973995313048363, 0.0017325682565569878, 0.0203871987760067, -0.028906196355819702, -0.024165784940123558, 0.022654350847005844, 0.036137036979198456, 0.00854046642780304, 0.00985009130090475, -0.020026514306664467, -0.0171238724142313, 0.0017969760810956359, -0.014891070313751698, -0.028339406475424767, 0.061453577131032944, 0.00813684519380331, 0.049911707639694214, 0.05932382494211197, -0.015148701146245003, 0.02152077481150627, 0.016720250248908997, -0.026364237070083618, -0.020421547815203667, -0.016385329887270927, -0.029249703511595726, -0.029352756217122078, 0.0030250169802457094, -0.0012022778391838074, -0.013980774208903313, 0.02052460052073002, 0.02169252745807171, 0.033406149595975876, -0.04396902024745941, 0.006827220786362886, 0.06969776749610901, -0.020816583186388016, 0.01337104756385088, 0.0601825974881649, -0.006256138905882835, 0.04207972437143326, 0.029782140627503395, -0.03137945383787155, -0.012039953842759132, 0.005813872441649437, -0.022619999945163727, 0.041839271783828735, -0.020060865208506584, -0.015706902369856834, -0.003707739058881998, 0.019305147230625153, -0.03737366572022438, -0.021898632869124413, -0.004426958970725536, -0.016385329887270927, -0.06382378190755844, 0.06303371489048004, -0.08072437345981598, 0.01017642393708229, -0.008020911365747452, 0.01206571701914072, -0.020181093364953995, 0.0714496597647667, 0.07605266571044922, -0.04084309563040733, 0.0032525910064578056, -0.0067155808210372925, 0.050667423754930496, -0.03101876936852932, -0.0023165319580584764, -0.01627369038760662, 0.0023938212543725967, 0.028717266395688057, -0.008059555664658546, 0.050530023872852325, 0.020936811342835426, 0.0010332075180485845, -0.04475908726453781, 0.013182118535041809, -0.018600955605506897, -0.04578961059451103, -0.027669567614793777, -0.008974146097898483, 0.04682013764977455, 0.02179558016359806, -0.018515080213546753, -0.031585559248924255, -0.020009338855743408, -0.0036368905566632748, 0.042629338800907135, 0.02959321066737175, 0.012254646979272366, -0.02035284787416458, -0.03337179869413376, 0.0071879043243825436, 0.01656567119061947, 0.032753486186265945, 0.01789676584303379, -0.024234486743807793, 0.025093257427215576, -0.011138245463371277, -0.04891553521156311, 0.004469897598028183, -0.004998040851205587, 0.04462168365716934, 0.08752582967281342, -0.00568076316267252, 0.05032391846179962, 0.0041113607585430145, 0.03974387049674988, 0.032908063381910324, -0.05111398547887802, 0.00568076316267252, -0.04311025142669678, 0.046373575925827026, -0.017879590392112732, 0.03383553400635719, 0.012434988282620907, 0.03579353168606758, 0.020335672423243523, -0.05733148008584976, 0.027583690360188484, 0.009102961048483849, -0.027686743065714836, 0.02220779098570347, -0.07570915669202805, -0.0024024087470024824, -0.0029820785857737064, -0.007879214361310005, -0.003986839205026627, -0.04984300583600998, -0.0036111276131123304, 0.008999908342957497, 0.009695512242615223, -0.06430469453334808, 0.0040490999817848206, 0.054686468094587326, 0.029507335275411606, 0.06585047394037247, -0.0016166344285011292, 0.017235511913895607, -0.011893963441252708, 0.043797265738248825, 0.020576126873493195, 0.06488865613937378, 0.019683007150888443, 0.03857594355940819, 0.015011298470199108, 0.05478952080011368, -0.038850750774145126, 0.002098619006574154, 0.00355530739761889, -0.011722209863364697, 0.051697950810194016, 0.02169252745807171, -0.002383086597546935, -0.04479343816637993, -0.014942596666514874, -0.002217773348093033, -0.03507216274738312, -0.004349669441580772, 0.03373248130083084, 0.0342477448284626, -0.004394755233079195, -0.029163826256990433, 0.003405022667720914, 0.04283544421195984, -0.12242624163627625, 0.01961430534720421, 0.04111790284514427, 0.026175307109951973, -0.05568264052271843, -0.028751617297530174, 0.10078524053096771, -0.04544610530138016, -0.045480456203222275, -0.02334136702120304, 0.05746888369321823, -0.040671344846487045, 0.030726788565516472, -0.0033706719987094402, -0.005800990853458643, 0.03216952085494995, 0.021572301164269447, 0.022482596337795258, -0.032530203461647034, -0.07241147756576538, 0.032616082578897476, -0.007093439344316721, -0.013431161642074585, -0.007806218694895506, -0.009386355057358742, -0.04396902024745941, -0.024698222056031227, 0.008802391588687897, -0.06499170511960983, -0.037717174738645554, 0.0766022801399231, -0.00267721526324749, 0.062106240540742874, -0.06767106801271439, 0.021469248458743095, -0.008085318841040134, 0.007673109415918589, 0.005697938613593578, 0.004143564961850643, -0.006127323489636183, -0.002247830154374242, 0.019270796328783035, -0.0047618793323636055, 0.0639268308877945, -0.0027158597949892282, 0.01155045535415411, -0.009901616722345352, -0.020988337695598602, 0.005899749230593443, 0.07309849560260773, -0.015019886195659637, -0.02088528499007225, 0.058087196201086044, 0.020833758637309074, 0.005654999986290932, -0.00889685656875372, 0.012761320918798447, -0.08635790646076202, -0.024990204721689224, -0.032117996364831924, -0.00875086523592472, -0.0031023062765598297, 0.01791394129395485, 0.00011311609705444425, 0.012993188574910164, 0.031173348426818848, -0.003525250591337681, 0.033285923302173615, 0.0006188510451465845, -0.030297402292490005, -0.013456924818456173, 0.014126765541732311, 0.013482687994837761, -0.010451230220496655, 0.06856419146060944, 0.010657334700226784, 0.04012173041701317, -0.047438450157642365, -0.07220537215471268, -0.01714104786515236, 0.002921964740380645, -0.03010847419500351, 0.012993188574910164, 0.03551872447133064, -0.014238405041396618, -0.05396510288119316, 0.0054317195899784565, 0.0040877447463572025, 0.0017068051965907216, 0.0005367312114685774, -0.0433507040143013, -0.044072072952985764, -0.03933166339993477, -0.01627369038760662, 0.02244824543595314, -0.07248017936944962, -0.0485033243894577, 0.00941211823374033, 0.05004911124706268, 0.0449308417737484, -0.006200318690389395, -0.05685056746006012, -0.028202004730701447, -0.016119111329317093, -0.009944555349647999, 0.006621116306632757, -0.027463462203741074, 0.012872961349785328, -0.08697621524333954, -0.02438906580209732, -0.0072136675007641315, 0.03295958787202835, -0.028219180181622505, 0.07220537215471268, 0.019751708954572678, 0.04578961059451103, 0.021331844851374626, -0.04046523943543434, -0.025110432878136635, 0.04317895323038101, 0.01935667358338833, 0.03905685618519783, 0.06777412444353104, -0.07268628478050232, 0.04204537346959114, 0.016256514936685562, 0.04266368970274925, 0.02023261971771717, 0.02167535200715065, 0.003488752758130431, 0.0035853644367307425, -0.01617063768208027, 0.0003504854685161263, -0.08951817452907562, -0.018755534663796425, -0.0006413937662728131, -0.08759453147649765, 0.037682823836803436, -0.05382769927382469, 0.0003794689546339214, 0.02389097958803177, 0.023650523275136948, -0.04204537346959114, 0.027291707694530487, 0.034866057336330414, 0.008257072418928146, 0.09968601167201996, -0.06746496260166168, 0.01168785896152258, 0.05125138908624649, -0.02116009034216404, 0.010296651162207127, -0.0008195885457098484, 0.0068014576099812984, -0.03572482988238335, 0.0072737811133265495, 0.03994997590780258, -0.0864953026175499, 0.023787926882505417, -0.033028289675712585, 0.1298460066318512, 0.04142706096172333, -0.042869795113801956, -0.036789704114198685, 0.010150660760700703, 0.024732572957873344, 0.025076081976294518, 0.01017642393708229, 0.00960963498800993, -0.020953986793756485, -0.006706993095576763, -0.022877629846334457, -0.0027759738732129335, 0.025934850797057152, -0.03905685618519783, 0.031602732837200165, -0.04104920104146004, -0.01935667358338833, -0.00020382367074489594, 0.04084309563040733, 0.019528428092598915, 0.04668273404240608, 0.027068428695201874, 0.002179128583520651, -0.029163826256990433, -0.036274440586566925, -0.0047747609205543995, 0.035346969962120056, -0.05894596874713898, -0.062209293246269226, -0.03395576402544975, -0.022654350847005844, -0.05142314359545708, -0.007767573930323124, 0.057022321969270706, -0.06251844763755798, -0.08381594717502594, -0.054171208292245865, -0.011516104452311993, 0.0752282440662384, -0.020679179579019547, -0.005951275583356619, -0.01961430534720421, 0.032616082578897476, 0.0009602121426723897, 0.07804501056671143, 0.02918100170791149, 0.06794587522745132, 0.0003104989882558584, -0.03258173167705536, 0.01744161732494831, 0.02167535200715065, -0.000885606452357024, -0.04032783582806587, 0.0026042198296636343, -0.0094035305082798, 0.04867507889866829, -0.014298519119620323, -0.0785946249961853, -0.014427335001528263, 0.023324191570281982, -0.10339590162038803, 0.02608942985534668, 0.03610268607735634, 0.022087562829256058, 0.07090004533529282, 0.011318587698042393, -0.01763913407921791, -0.06190013512969017, -0.0492933951318264, -0.0048219929449260235, -0.011498929001390934, 0.0008442781982012093, 0.032392799854278564, 0.07454122602939606, 0.010073371231555939, 0.027343234047293663, 0.04682013764977455, 0.04338505491614342, -0.11335762590169907, -0.0532437339425087, -0.012761320918798447, -0.03235844895243645, 0.04304154962301254, -0.06897640228271484, -0.03064091131091118, 0.054308608174324036, 0.04960254952311516, 0.02219061553478241, 0.02684514783322811, 0.04654533043503761, 0.02698255144059658, 0.017587607726454735, -0.13252536952495575, 0.011404464952647686, 0.04712929204106331, -0.03304546698927879, -0.005036685615777969, 0.009429293684661388, -0.02906077355146408, -0.02438906580209732, -0.0023422949016094208, -0.02480127476155758, -0.023066559806466103, 0.009695512242615223, -0.0031753017101436853, 0.055476535111665726, -0.03344050049781799, -0.004976571537554264, -0.020163917914032936, 0.05231626331806183, 0.017862414941191673, -0.00792644638568163, -0.009369179606437683, -0.027875671163201332, -0.0020320643670856953, -0.007454122882336378, -0.027600865811109543, 0.02102268673479557, -0.0366179496049881, 0.026827972382307053, 0.005745170637965202, 0.03307981789112091, 0.022911980748176575, -0.01349986344575882, 0.009042846970260143, -0.04791936278343201, 0.03204929456114769, 0.06743061542510986, -0.014169703237712383, -0.06100701540708542, -0.010528518818318844, 0.018652481958270073, 0.0012097920989617705, -0.008699338883161545, -0.009815740399062634, -0.043934669345617294, 0.008695045486092567, -0.11431945115327835, -0.008248484693467617, -0.006655466742813587, -0.006191730964928865, -0.028734441846609116, 0.024474943056702614, -0.0123233487829566, -0.01757902093231678, -0.050942230969667435, -0.05138879269361496, -0.038095034658908844, -0.0022349487990140915, -0.011713622137904167, -0.01337104756385088, -0.02828788198530674, -0.011902551166713238, -0.06701840460300446, -0.024234486743807793, 0.012649680487811565, 0.008467471227049828, -0.04386596754193306, 0.030074123293161392, 0.01756184548139572, 0.043007198721170425, -0.007887802086770535, -0.03727061301469803, 0.03352637588977814, -0.025488290935754776, -0.016703074797987938, -0.03830114006996155, 0.061694029718637466, -0.00026715794228948653, -0.018480729311704636, 0.045892663300037384, 0.032530203461647034, -0.024354714900255203, -0.06128182262182236, 0.016934942454099655, -0.001998787047341466, 0.017312802374362946, 0.042114075273275375, 0.013731731101870537, 0.06186578422784805, -0.04022478312253952, -0.011138245463371277, -0.035089340060949326, 0.08010605722665787, -0.008514704182744026, -0.022224966436624527, -0.011043781414628029, 0.056266605854034424, 0.0067284624092280865, 0.04166751727461815, -0.0032397094182670116, -0.04506824538111687, -0.027686743065714836, -0.051560547202825546, -0.05441166087985039, -0.03792328014969826, 0.022654350847005844, 0.02868291549384594, 0.02476692385971546, -0.032392799854278564, 0.01894446462392807, 0.04633922502398491, 0.030864190310239792, -0.017965465784072876, -0.06385812908411026, -0.008012323640286922, 0.029936719685792923, -0.04304154962301254, -0.012804259546101093, 0.002419584197923541, 0.02035284787416458, -0.020318496972322464, -0.0635489746928215, -0.012615330517292023, -0.07000692188739777, -0.06200318783521652, 0.018892938271164894, -0.007140671834349632, 0.009678336791694164, 0.011241298168897629, -0.02866574004292488, 0.00545318890362978, 0.03137945383787155, -0.022619999945163727, -0.04455298185348511, -0.0037055921275168657, -0.043282002210617065, -0.060938313603401184, 0.03151685744524002, -0.025900499895215034, -0.003971810918301344, -0.07797630876302719, 0.025333711877465248, 0.025196310132741928, -0.04973995313048363, -0.04544610530138016, -0.003907402977347374, -0.04204537346959114, -0.03282218798995018, -0.010511343367397785, -0.047438450157642365, 0.015603849664330482, -0.011189771816134453, 0.04506824538111687, 0.02531653642654419, -0.015002710744738579, 0.04283544421195984, 0.012271822430193424, -0.021108563989400864, 0.07062523812055588, -0.05083917826414108, -0.05983908846974373, 0.01421264186501503, 0.04530870169401169, -0.05125138908624649, -0.03101876936852932, 0.0237535759806633, -0.014075239188969135, -0.007763280067592859, 0.023203963413834572, -0.02086810953915119, 0.04668273404240608, -0.04142706096172333, 0.028356581926345825, 0.022036036476492882, -0.021366195753216743, -0.015397744253277779, 0.042251478880643845, 0.008527585305273533, 0.017029408365488052, -0.05022086575627327, -0.01355997659265995, 0.0013407545629888773, -0.021847106516361237, 0.013525626622140408, -0.012160181999206543, 0.0041027734987437725, 0.024492118507623672, -0.03490040823817253, 0.03723626211285591, -0.061556626111269, -0.029919544234871864, -0.058224599808454514, 0.005350136663764715, -0.019528428092598915, -0.05090788006782532, 0.006342015694826841, -0.045892663300037384, 0.04623617231845856, 0.06310241669416428, -0.009661161340773106, 0.005010922439396381, 0.00535443052649498, 0.01882423646748066, 0.0047747609205543995, -0.05097658187150955, 0.005586298182606697, 0.0021190147381275892, -0.0698695182800293, 0.010270887985825539, -0.04438123106956482, 0.04774760827422142, 0.010923553258180618, -0.0026621867436915636, 0.03957211971282959, 0.0037807344924658537, -0.0008120742859318852, 0.0031774486415088177, -0.013997949659824371, 0.07509084045886993, 0.007462710607796907, 0.07330460101366043, 0.019683007150888443, 0.016780363395810127, -0.0005775227909907699, 0.024887152016162872, 0.012246059253811836, 0.0024839919060468674, 0.054033804684877396, -0.0053844875656068325, -0.024715397506952286, 0.021778404712677002, 0.034951936453580856, 0.026690568774938583, 0.02995389513671398, 0.03864464536309242, -0.012366286478936672, 0.03878204897046089, -0.06794587522745132, -0.01894446462392807, 0.0016305893659591675, 0.025780273601412773, 0.00875086523592472, 0.00742835970595479, 0.08429685235023499, -0.018137220293283463, 0.005002334713935852, -0.030451981350779533, 0.0022714463993906975, 0.049121640622615814, -0.020558951422572136, 0.014693553559482098, -0.007720341440290213, 0.012477926909923553, 0.0031903302296996117, 0.006745637860149145, 0.013955011032521725, 0.017879590392112732, 0.016754601150751114, -0.004615888465195894, 0.02413143403828144, 0.008948382921516895, 0.051869701594114304, -0.0005539066041819751, 0.030263051390647888, 0.02334136702120304, -0.01805134303867817, 0.03617138788104057, 0.0009645059471949935, -0.010940728709101677, 0.01283861044794321, 0.0027029782067984343, 0.022654350847005844, -0.03428209573030472, -0.010743211954832077, 0.039366014301776886, 0.02088528499007225, 0.024560820311307907, -0.004693177528679371, -0.061694029718637466, -0.004950808361172676, 0.005590592045336962, -0.013671617023646832, -0.08402205258607864, -0.02086810953915119, -0.028373757377266884, -0.006745637860149145, 0.04424382746219635, 0.013860546052455902, -0.00284038158133626, 0.02088528499007225, 0.0047232345677912235, 0.030847014859318733, -0.0048606377094984055, -0.027961548417806625, 0.022259315475821495, 0.06688100099563599, -0.024097083136439323, 0.0007562542450614274, 0.0006789649487473071, -0.038610294461250305, 0.06598787754774094, -0.035484373569488525, -0.024165784940123558, -0.012254646979272366, -0.04324765130877495, 0.04139271005988121, -0.0072737811133265495, 0.04815981537103653, 0.08086177706718445, 0.008939795196056366, 0.00144488038495183, 0.026175307109951973 ]
44,100
dataclass_array.array_dataclass
replace
Alias for `dataclasses.replace`.
def replace(self: _DcT, **kwargs: Any) -> _DcT: """Alias for `dataclasses.replace`.""" init_kwargs = { k: v for k, v in kwargs.items() if k not in self.__dca_non_init_fields__ } non_init_kwargs = { k: v for k, v in kwargs.items() if k in self.__dca_non_init_fields__ } # Create the new object new_self = dataclasses.replace(self, **init_kwargs) # pytype: disable=wrong-arg-types # re-none # TODO(epot): Could try to unify logic bellow with `tree_unflatten` # Additionally forward the non-init kwargs # `dataclasses.field(init=False) kwargs are required because `init=True` # creates conflicts: # * Inheritance fails with non-default argument 'K' follows default argument # * Pytype complains too # TODO(py310): Cleanup using `dataclass(kw_only)` assert new_self is not self for k in self.__dca_non_init_fields__: if k in non_init_kwargs: v = non_init_kwargs[k] else: v = getattr(self, k) new_self._setattr(k, v) # pylint: disable=protected-access return new_self
(self: ~_DcT, **kwargs: Any) -> ~_DcT
[ 0.03469574451446533, -0.030458664521574974, 0.07351706922054291, 0.011113045737147331, -0.09648650884628296, -0.019345618784427643, -0.0011347663821652532, -0.0008955014636740088, 0.10971809178590775, 0.003194071352481842, -0.014300148002803326, 0.027057848870754242, -0.01709699258208275, 0.020051799714565277, -0.0051290979608893394, 0.0269277635961771, -0.09775019437074661, 0.05047329515218735, 0.015080662444233894, -0.055305056273937225, 0.003063985612243414, 0.012478946708142757, -0.0365169458091259, 0.027633944526314735, 0.027615360915660858, 0.05039896070957184, -0.0483919233083725, 0.03766913339495659, 0.0015285082627087831, -0.005849215667694807, 0.020553559064865112, -0.002074404153972864, -0.03787355497479439, 0.034342654049396515, 0.04705389589071274, -0.07203037291765213, -0.00629987008869648, 0.0396575890481472, -0.04367166757583618, 0.0018723065732046962, 0.011391800828278065, -0.05199715867638588, -0.024902140721678734, -0.04612471163272858, 0.049209605902433395, 0.03311613202095032, 0.025645488873124123, 0.02861887961626053, -0.027689695358276367, -0.020460641011595726, 0.020683644339442253, -0.004924677312374115, 0.024418964982032776, 0.017477957531809807, -0.020795146003365517, 0.023972956463694572, -0.0019280576379969716, 0.14041835069656372, 0.015591713599860668, 0.006871318444609642, -0.01584259420633316, -0.019531456753611565, -0.020665060728788376, -0.028656046837568283, -0.06652960181236267, -0.026426004245877266, -0.045195527374744415, -0.01604701392352581, 0.00852526631206274, 0.03813372552394867, -0.07827449589967728, -0.009110652841627598, 0.018555812537670135, 0.062292519956827164, 0.05809260904788971, 0.019921712577342987, -0.01995887979865074, -0.005863153375685215, 0.012404611334204674, -0.011336049996316433, 0.02137124165892601, -0.04950694367289543, -0.03369222581386566, -0.0013136344496160746, 0.019122615456581116, -0.028302956372499466, -0.0159726794809103, 0.002055820543318987, 0.016901863738894463, -0.09202641993761063, -0.006639022380113602, 0.024065876379609108, 0.0009576406446285546, 0.007507809903472662, 0.01347317360341549, 0.02807995304465294, 0.0012694981414824724, -0.012395319528877735, 0.039954930543899536, 0.02841445803642273, 0.07611878216266632, 0.0003635433968156576, -0.003644725773483515, -0.021148236468434334, 0.030458664521574974, -0.013677594251930714, -0.005152327474206686, -0.007809794973582029, -0.029492313042283058, -0.020386304706335068, -0.046793725341558456, 0.030068406835198402, 0.023508364334702492, 0.04567870497703552, -0.031146259978413582, -0.06478273868560791, -0.017394332215189934, -0.024902140721678734, 0.005458958446979523, 0.006258056964725256, -0.03510458767414093, 0.05764659866690636, -0.06270135939121246, 0.029640981927514076, -0.005719129927456379, -0.0021905521862208843, 0.05143964663147926, 0.030309995636343956, 0.05058479681611061, -0.037297461181879044, 0.06377921998500824, 0.004785299766808748, -0.023471197113394737, 0.02412162721157074, 0.033413469791412354, 0.021426992490887642, 0.06983749568462372, 0.010759955272078514, -0.06128900125622749, 0.010471908375620842, 0.0008316200110130012, -0.020256219431757927, 0.06199518218636513, 0.05359535664319992, 0.007275513838976622, 0.012506822124123573, 0.014690404757857323, 0.010769247077405453, -0.06058282405138016, -0.01544304471462965, -0.012618323788046837, -0.013175834901630878, 0.04749990627169609, 0.060211148113012314, -0.03700012341141701, -0.0179518423974514, -0.07002333551645279, -0.041032783687114716, -0.039694756269454956, 0.019066862761974335, 0.015721799805760384, -0.0009367340244352818, -0.03471432998776436, 0.0031847795471549034, 0.02860029600560665, -0.02934364229440689, 0.037557631731033325, -0.09730418771505356, -0.001502955798059702, 0.04560437053442001, 0.04430351033806801, -0.00489215599372983, 0.020144717767834663, 0.047016728669404984, -0.01705053262412548, 0.06017398089170456, 0.019066862761974335, -0.037148792296648026, 0.04028943553566933, 0.04597604274749756, 0.03711162507534027, 0.03820806369185448, -0.008841189555823803, 0.0339895635843277, 0.035550594329833984, -0.015731092542409897, -0.04025226831436157, 0.022672099992632866, 0.02794986590743065, -0.004439178388565779, 0.0538555271923542, -0.005672670900821686, 0.010964375920593739, -0.008390534669160843, 0.03320905193686485, -0.012962122447788715, -0.01527579128742218, -0.006058282218873501, -0.043448660522699356, 0.10510934144258499, -0.04474952071905136, -0.00914317462593317, 0.05500771477818489, -0.02807995304465294, -0.015926219522953033, 0.0018397851381450891, 0.015498795546591282, -0.000950091052800417, -0.051885657012462616, -0.02399154007434845, 0.05601123347878456, 0.030068406835198402, -0.015452336519956589, -0.03564351424574852, 0.021408408880233765, -0.08228857070207596, 0.014755448326468468, 0.005375331733375788, 0.0008571725920774043, 0.027764029800891876, 0.05333518236875534, -0.015266499482095242, -0.03109050914645195, 0.02479063905775547, 0.024065876379609108, -0.04337432608008385, -0.00763789564371109, -0.035216089338064194, 0.013361671939492226, -0.07775414735078812, -0.013027165085077286, -0.04374600201845169, -0.03921158239245415, -0.04906093701720238, 0.07292239367961884, -0.050696298480033875, 0.04028943553566933, -0.01743149943649769, -0.017673086374998093, -0.012451070360839367, -0.01645585522055626, -0.011103753000497818, -0.007600728422403336, 0.04229647293686867, -0.02941797859966755, -0.00559369008988142, -0.02982681803405285, 0.025979995727539062, 0.036145273596048355, 0.01725495420396328, -0.008673936128616333, -0.04515836015343666, -0.0367213673889637, 0.08860702067613602, -0.021482743322849274, -0.022820768877863884, -0.004144162405282259, 0.01732928864657879, 0.013287336565554142, -0.019587207585573196, -0.01316654309630394, -0.03324621915817261, -0.05474754422903061, 0.06351904571056366, 0.002817751606926322, -0.01745937392115593, 0.019977465271949768, -0.047128234058618546, -0.03155510127544403, 0.012181607075035572, 0.028971970081329346, -0.001567998668178916, 0.04608754441142082, 0.024567635729908943, -0.022411927580833435, 0.03190819174051285, -0.025701239705085754, -0.06898264586925507, 0.04434067755937576, -0.037743471562862396, 0.04095844924449921, -0.01833280734717846, -0.018407143652439117, -0.030793171375989914, 0.026277335360646248, -0.021557077765464783, -0.037148792296648026, 0.003591297660022974, -0.026983514428138733, -0.016400104388594627, -0.002648175461217761, -0.022672099992632866, 0.013603259809315205, 0.062218185514211655, 0.02532956562936306, -0.002177775837481022, -0.06519157439470291, 0.031239179894328117, 0.01710628531873226, -0.03320905193686485, -0.048131752759218216, -0.03813372552394867, 0.04229647293686867, 0.07864616811275482, 0.052554670721292496, -0.025478236377239227, -0.02612866461277008, -0.0108528733253479, 0.00978431198745966, 0.07388874143362045, -0.027819780632853508, -0.006629730574786663, -0.013510340824723244, -0.008776146918535233, 0.006318453699350357, -0.05556522682309151, 0.027355188503861427, 0.016650984063744545, 0.02144557610154152, 0.036219608038663864, 0.0035425154492259026, -0.07043217867612839, -0.07411174476146698, -0.014430233277380466, 0.0013031810522079468, -0.003818947821855545, 0.025905661284923553, -0.002153384732082486, 0.03872840479016304, -0.01370546966791153, -0.035346172749996185, 0.013566091656684875, 0.013826264068484306, 0.013333795592188835, -0.020516391843557358, -0.032056860625743866, -0.001110956072807312, -0.047462739050388336, 0.009719268418848515, -0.003635433968156576, -0.0033032505307346582, 0.05441303923726082, -0.05868728458881378, -0.027615360915660858, -0.009533431380987167, 0.016297893598675728, 0.013278044760227203, -0.024883557111024857, 0.04073544219136238, 0.045195527374744415, 0.006973528768867254, -0.08303191512823105, 0.022096004337072372, 0.006206951569765806, 0.05292634293437004, -0.03805939108133316, 0.03188960999250412, 0.05039896070957184, -0.004211528226733208, -0.05541655793786049, 0.0339895635843277, 0.013287336565554142, -0.03384089469909668, -0.017710253596305847, 0.05500771477818489, 0.012032938189804554, -0.0818425640463829, -0.007726168259978294, -0.04099561646580696, -0.037018705159425735, 0.02605433017015457, -0.016753194853663445, 0.011447551660239697, -0.02841445803642273, 0.0054171448573470116, -0.0237871203571558, -0.03670278191566467, 0.021296905353665352, -0.053372349590063095, 0.04021510109305382, -0.019531456753611565, -0.040363769978284836, -0.010109526105225086, -0.005138389766216278, 0.027169352397322655, 0.012971414253115654, -0.0011190864024683833, 0.013287336565554142, 0.07797715067863464, -0.0008751755231060088, -0.030384330078959465, -0.01195860281586647, 0.025013644248247147, -0.005844569765031338, 0.010685620829463005, 0.026853429153561592, -0.04690522700548172, -0.01410501915961504, 0.022560596466064453, -0.021594244986772537, -0.04474952071905136, -0.037613384425640106, 0.029975488781929016, 0.01962437480688095, 0.04173896461725235, 0.0010941146174445748, 0.11834092438220978, -0.00658327154815197, 0.035940852016210556, 0.021724330261349678, 0.004169715102761984, 0.028247205540537834, 0.008237219415605068, 0.012506822124123573, 0.04564153775572777, -0.008985213004052639, 0.058464281260967255, 0.004620369523763657, 0.00507334666326642, 0.015731092542409897, -0.0077865649946033955, 0.004882864188402891, -0.02659325674176216, -0.025292398408055305, 0.020553559064865112, 0.024140210822224617, -0.015480211935937405, -0.05199715867638588, -0.00489215599372983, 0.04608754441142082, -0.00902702659368515, 0.004374135285615921, -0.02057214267551899, 0.02605433017015457, 0.019066862761974335, 0.021352658048272133, 0.018732357770204544, -0.007577498909085989, -0.018574396148324013, 0.03131351247429848, -0.010973667725920677, -0.0542643666267395, 0.019884545356035233, -0.0634818747639656, -0.06901981681585312, 0.017394332215189934, 0.012989997863769531, 0.05099363997578621, 0.03490016609430313, -0.00856243446469307, 0.10971809178590775, 0.04014076665043831, -0.026964930817484856, 0.029585231095552444, -0.030941840261220932, -0.05831561237573624, -0.01735716499388218, -0.042519476264715195, 0.0010418479796499014, 0.011949311010539532, -0.032056860625743866, -0.02244909480214119, 0.00693171564489603, 0.01707840897142887, 0.0037446131464093924, 0.04263098165392876, 0.015405877493321896, -0.0747435912489891, -0.04824325442314148, -0.0442291758954525, 0.045269861817359924, -0.04434067755937576, 0.021222570911049843, -0.05110514163970947, -0.015675339847803116, 0.02687201276421547, -0.015322250314056873, -0.04935827478766441, -0.039285916835069656, -0.03478866443037987, 0.020683644339442253, 0.012701950967311859, 0.05894745886325836, -0.027113599702715874, 0.005965363699942827, -0.01882527582347393, -0.005291705019772053, 0.015647465363144875, 0.0159726794809103, 0.07020917534828186, -0.009236092679202557, 0.07559844106435776, -0.04356016591191292, 0.011075877584517002, 0.013566091656684875, -0.03315329924225807, -0.009440513327717781, 0.011782058514654636, 0.03571784868836403, -0.07381440699100494, -0.016418687999248505, -0.062218185514211655, -0.005649440921843052, -0.0219101682305336, 0.019865961745381355, -0.054115697741508484, -0.005644795019179583, 0.060805827379226685, 0.02419596165418625, 0.01527579128742218, -0.008427702821791172, -0.015879761427640915, 0.033394888043403625, -0.0037353213410824537, 0.04437784478068352, -0.0047179339453577995, -0.047016728669404984, 0.026760511100292206, -0.06050848588347435, -0.032205529510974884, -0.02412162721157074, 0.048131752759218216, -0.004199913237243891, -0.031239179894328117, 0.014541735872626305, 0.01699478179216385, 0.04601320996880531, -0.02283935248851776, 0.041441623121500015, -0.03291171044111252, -0.033543556928634644, -0.09775019437074661, -0.026091497391462326, 0.029863987118005753, 0.013528924435377121, 0.018574396148324013, 0.02412162721157074, 0.003063985612243414, -0.003969940356910229, -0.0275410246104002, 0.0198287945240736, 0.02144557610154152, 0.017496541142463684, -0.03374797850847244, -0.016883280128240585, -0.011140921153128147, -0.04181329905986786, 0.040698274970054626, 0.01565675623714924, 0.019419953227043152, -0.04263098165392876, -0.03224269673228264, 0.0029780359473079443, 0.030384330078959465, -0.05902179330587387, 0.004910739604383707, -0.030904673039913177, 0.006197659764438868, 0.016678860411047935, 0.02553398720920086, -0.02780119702219963, 0.015498795546591282, 0.11544186621904373, -0.0014564965385943651, 0.012469654902815819, 0.000005662217517965473, 0.013491757214069366, 0.060062479227781296, -0.05790677294135094, 0.016446564346551895, 0.025422485545277596, -0.002759677590802312, -0.02571982331573963, 0.04906093701720238, -0.05110514163970947, 0.02111106924712658, -0.03947175294160843, 0.00571448402479291, -0.010044483467936516, -0.09648650884628296, -0.02085089683532715, 0.022820768877863884, -0.018500061705708504, -0.019977465271949768, -0.016883280128240585, -0.05917046219110489, -0.008985213004052639, 0.06363054364919662, 0.009663517586886883, -0.07403741031885147, 0.0070618013851344585, 0.06649243831634521, -0.033394888043403625, -0.0315365195274353, 0.005398561246693134, 0.030068406835198402, -0.002576163737103343, -0.006253411062061787, 0.04240797460079193, -0.03499308228492737, -0.047202568501234055, 0.0029385455418378115, -0.018658023327589035, 0.025701239705085754, -0.030941840261220932, -0.04196196794509888, 0.008302262984216213, 0.020720811560750008, 0.018676606938242912, -0.057312093675136566, 0.011940019205212593, 0.044117674231529236, 0.03991775959730148, 0.03384089469909668, -0.00008362659718841314, -0.054710377007722855, -0.06110316514968872, -0.03190819174051285, -0.020386304706335068, -0.053632523864507675, -0.06931715458631516, -0.015619589947164059, -0.00320800906047225, 0.0017712577246129513, -0.04872642830014229, 0.024084459990262985, 0.011819225735962391, -0.022151755169034004, -0.00902702659368515, 0.03211261332035065, 0.03016132488846779, -0.016297893598675728, -0.011503302492201328, 0.01898323744535446, -0.04556720331311226, 0.009589183144271374, -0.03700012341141701, 0.023099523037672043, 0.00023098943347577006, 0.050547629594802856, 0.03240995109081268, 0.003728352254256606, 0.02029338665306568, 0.03545767813920975, -0.0634818747639656, -0.08332925289869308, 0.038691237568855286, -0.03320905193686485, -0.05340952053666115, 0.005932842381298542, -0.04627338424324989, 0.016604525968432426, 0.021557077765464783, -0.038431067019701004, 0.030235659331083298, 0.017134159803390503, 0.018574396148324013, 0.006950299255549908, 0.08949904143810272, -0.01725495420396328, 0.015693923458456993, -0.007256930228322744, -0.013686886057257652, -0.01674390211701393, 0.06441105902194977, 0.03575501590967178, 0.026351669803261757, -0.02332252822816372, 0.046793725341558456, 0.0030407558660954237, -0.03140643239021301, 0.007865546271204948, -0.055713895708322525, -0.009663517586886883, -0.01535012573003769, -0.0404752716422081, 0.010453324764966965, -0.020999567583203316, 0.046533554792404175, -0.0018490769434720278, 0.025032227858901024, 0.023359695449471474, -0.005421790760010481, 0.030198492109775543, -0.04541853442788124, 0.0290091373026371, 0.0012602063361555338, -0.020014632493257523, 0.037167374044656754, -0.05125381052494049, 0.055044881999492645, -0.02895338647067547, 0.007354494649916887, -0.007345202378928661, 0.010592701844871044, -0.05961646884679794, -0.013370963744819164, -0.052294496446847916, 0.00408841110765934, -0.008785438723862171, 0.03499308228492737, 0.041367288678884506, -0.04831758886575699, -0.029715316370129585, 0.011772765778005123, 0.032335616648197174, 0.0023659358266741037, 0.018481478095054626, 0.021668579429388046, -0.015907635912299156, 0.035401925444602966, 0.06771896034479141, -0.013073624111711979, -0.032465703785419464, 0.020553559064865112, 0.018834566697478294, 0.0025993932504206896, -0.0438203364610672, -0.02847020886838436, 0.002293923869729042, 0.02813570387661457, -0.007484580390155315, 0.030663084238767624, 0.05210866034030914, 0.038282398134469986, 0.020795146003365517, -0.022337593138217926, -0.05917046219110489, 0.023099523037672043, -0.03371081128716469, 0.07388874143362045, 0.07641612738370895, -0.022356176748871803, -0.05125381052494049, -0.0012996966252103448, -0.0501016229391098, -0.035810764878988266, -0.03988059237599373, -0.052294496446847916, 0.062292519956827164, -0.0596536360681057, 0.05876161903142929, 0.0417017936706543, 0.08124788105487823, 0.00031708416645415127, -0.0013484788360074162, 0.013185126706957817, 0.038839906454086304, 0.03787355497479439, -0.002383357845246792, 0.01299928966909647, 0.04530702903866768, -0.019717292860150337, 0.01882527582347393, 0.047945912927389145, -0.0430026538670063, -0.007512455806136131, 0.024028709158301353, 0.030737418681383133, -0.0450468584895134, -0.012739118188619614, -0.06972599774599075, 0.04359733313322067, 0.0027434169314801693, 0.010546242818236351, 0.05181132256984711, 0.05389269441366196, 0.016678860411047935 ]
44,101
dataclass_array.array_dataclass
reshape
Reshape the batch shape according to the pattern. Supports both tuple and einops mode: ```python rays.reshape('b h w -> b (h w)') rays.reshape((128, -1)) ``` Args: shape: Target shape. Can be string for `einops` support. **axes_length: Any additional specifications for dimensions for einops support. Returns: The dataclass array with the new shape
def reshape(self: _DcT, shape: Union[Shape, str], **axes_length: int) -> _DcT: """Reshape the batch shape according to the pattern. Supports both tuple and einops mode: ```python rays.reshape('b h w -> b (h w)') rays.reshape((128, -1)) ``` Args: shape: Target shape. Can be string for `einops` support. **axes_length: Any additional specifications for dimensions for einops support. Returns: The dataclass array with the new shape """ if isinstance(shape, str): # Einops support return self._map_field( # pylint: disable=protected-access array_fn=lambda f: einops.rearrange( # pylint: disable=g-long-lambda f.value, np_utils.to_absolute_einops(shape, nlastdim=len(f.inner_shape)), **axes_length, ), dc_fn=lambda f: f.value.reshape( # pylint: disable=g-long-lambda np_utils.to_absolute_einops(shape, nlastdim=len(f.inner_shape)), **axes_length, ), ) else: # Numpy support assert isinstance(shape, tuple) # For pytest def _reshape(f: _ArrayField): return f.value.reshape(shape + f.inner_shape) return self._map_field(array_fn=_reshape, dc_fn=_reshape) # pylint: disable=protected-access
(self: ~_DcT, shape: Union[Tuple[int, ...], str], **axes_length: int) -> ~_DcT
[ -0.027374718338251114, 0.00046521000331267715, -0.031183375045657158, -0.05002523958683014, -0.01769743487238884, -0.00966812763363123, -0.019519364461302757, 0.0015484110917896032, 0.049475912004709244, 0.02036166377365589, -0.0024399205576628447, 0.004028386902064085, 0.03642027825117111, 0.025708431378006935, 0.03416804224252701, 0.03801332041621208, 0.022595586255192757, 0.05980323255062103, -0.050647806376218796, 0.01783476583659649, -0.001018540933728218, -0.01596705988049507, 0.009961101226508617, -0.06170755997300148, 0.03501034155488014, 0.04585036635398865, 0.03252006694674492, -0.018210139125585556, 0.0020977365784347057, -0.03823305293917656, -0.01743192784488201, -0.019629228860139847, -0.022723762318491936, 0.043213602155447006, -0.029645264148712158, -0.01924470253288746, -0.01632412150502205, 0.04002751410007477, 0.029828371480107307, 0.01753263734281063, 0.02050814963877201, -0.01108721923083067, 0.02953539788722992, 0.005218592006713152, 0.054932545870542526, -0.007924019359052181, -0.01933625526726246, -0.04841388389468193, -0.09770669043064117, 0.03103688918054104, -0.0032295759301632643, -0.06555283814668655, 0.018374936655163765, 0.006523239891976118, 0.003625547979027033, 0.004975973162800074, 0.003753724042326212, 0.07551393657922745, -0.015591687522828579, -0.06379499286413193, -0.023071669042110443, -0.006120400968939066, -0.028784653171896935, 0.02519572712481022, -0.03076222538948059, -0.05972998961806297, -0.040430352091789246, -0.02325477823615074, -0.008528277277946472, -0.017880544066429138, -0.029004383832216263, 0.08020151406526566, 0.03226371482014656, -0.04423901066184044, 0.018457334488630295, 0.04837726056575775, -0.0177249014377594, -0.02645917609333992, 0.031238308176398277, -0.011187928728759289, -0.028381815180182457, 0.07496461272239685, -0.042005088180303574, 0.036017440259456635, 0.016937535256147385, -0.02074619196355343, -0.01789885386824608, 0.06698108464479446, -0.05405362322926521, -0.1390892118215561, 0.05998633801937103, -0.027466272935271263, -0.01756010390818119, 0.003952854312956333, -0.05614105984568596, -0.0012256824411451817, 0.005658052396029234, 0.009219512343406677, -0.046326447278261185, -0.0012829038314521313, -0.04453198239207268, -0.03187918663024902, -0.013833845965564251, 0.03552304580807686, -0.024444982409477234, 0.049073074012994766, 0.011966139078140259, -0.010098433122038841, -0.0687389224767685, -0.003016712376847863, 0.0497322641313076, 0.015793107450008392, 0.0016903202049434185, 0.04680252820253372, -0.016580473631620407, 0.01016252115368843, 0.03098195604979992, 0.0015850327908992767, -0.05705660581588745, -0.024499915540218353, 0.01592128351330757, 0.040247246623039246, 0.034442707896232605, 0.01744108274579048, -0.003772034775465727, 0.010244919918477535, 0.031714390963315964, 0.05599457398056984, -0.007873664610087872, -0.019409500062465668, -0.05705660581588745, 0.009265289641916752, -0.0855482816696167, -0.03653014451265335, 0.017944632098078728, 0.03786683455109596, 0.03252006694674492, -0.03206229582428932, -0.049256183207035065, -0.05980323255062103, 0.03405817970633507, 0.043250225484371185, 0.03411310911178589, -0.012368978001177311, -0.05017172545194626, -0.006262310314923525, 0.06522323936223984, 0.007617312949150801, 0.020892677828669548, 0.05405362322926521, -0.04292063042521477, -0.015582531690597534, 0.06991081684827805, 0.04812090843915939, 0.03477230295538902, -0.009851236827671528, -0.04892658814787865, -0.004193184431642294, -0.01248799916356802, 0.08540179580450058, -0.04881672188639641, 0.009109647013247013, -0.034680746495723724, -0.029645264148712158, -0.0654795914888382, 0.0006929512019269168, 0.05031821131706238, -0.044715091586112976, -0.028253639116883278, 0.015719862654805183, 0.03713440150022507, 0.008514544926583767, -0.004737932235002518, -0.04984213039278984, -0.03933170437812805, 0.0591440424323082, -0.004884419031441212, -0.0072831399738788605, -0.006710926070809364, 0.01179218664765358, -0.0036118149291723967, -0.0004443241923581809, -0.00656443927437067, 0.00385901122353971, -0.03559628874063492, 0.045117929577827454, -0.0528084859251976, 0.0037148133851587772, 0.04420238733291626, 0.018484801054000854, -0.02660566382110119, 0.02618451416492462, -0.0348089225590229, 0.007287717889994383, -0.006157022900879383, -0.04581374302506447, -0.0441291444003582, 0.009942790493369102, 0.05412686988711357, 0.009723060764372349, -0.03962467610836029, 0.043396711349487305, 0.0034218397922813892, 0.04694901406764984, 0.004243539180606604, -0.02336464263498783, 0.05474943667650223, -0.00889907218515873, -0.009118802845478058, -0.03339898958802223, 0.0008268492529168725, 0.007205319125205278, 0.05284510925412178, 0.03519345074892044, 0.047864556312561035, -0.04801104590296745, -0.03684142604470253, 0.028381815180182457, 0.06577257066965103, 0.022851938381791115, -0.01536280196160078, -0.004925618413835764, -0.040540218353271484, 0.001398491091094911, -0.019885580986738205, -0.04226143658161163, -0.018219294026494026, -0.03235526755452156, 0.02349281869828701, -0.06137796491384506, 0.0027512048836797476, -0.0913345143198967, 0.02503092959523201, -0.045044686645269394, 0.08020151406526566, 0.0077042896300554276, -0.014959963038563728, -0.049329426139593124, 0.024628091603517532, 0.05830174311995506, -0.03393000364303589, -0.050684429705142975, -0.047791313380002975, -0.04259103536605835, -0.006413374561816454, 0.043250225484371185, 0.03347223252058029, 0.04072332754731178, -0.007100031711161137, -0.028766343370079994, -0.05855809524655342, 0.025891540572047234, 0.043213602155447006, 0.03398493304848671, 0.0014385459944605827, 0.009054714813828468, 0.031622834503650665, -0.026916947215795517, 0.0066056386567652225, -0.022833628579974174, 0.0235111303627491, -0.018091117963194847, 0.015628309920430183, 0.014245839789509773, 0.022870250046253204, -0.00734722800552845, 0.0327397957444191, 0.0043419599533081055, -0.016553007066249847, -0.021258894354104996, 0.06031593680381775, 0.08327773958444595, -0.06251323968172073, 0.002776382490992546, 0.0035889262799173594, 0.02477457746863365, 0.031567901372909546, 0.00021272056619636714, 0.05024496838450432, -0.020215176045894623, 0.025250660255551338, -0.02638593316078186, -0.001713208737783134, 0.0007558946963399649, -0.03841615840792656, -0.015811417251825333, 0.02805222012102604, -0.027539515867829323, -0.010592825710773468, -0.004248116631060839, 0.05712984874844551, -0.04716874659061432, -0.03819642961025238, 0.027411339804530144, -0.025342214852571487, 0.007544069550931454, -0.0352666936814785, -0.015115605667233467, -0.008020151406526566, -0.017944632098078728, 0.000049675330956233665, 0.0349004790186882, 0.04255441203713417, 0.011590766720473766, -0.022760385647416115, -0.052039433270692825, 0.004273294471204281, -0.02931566908955574, 0.01738615147769451, 0.03521176055073738, -0.01316550001502037, -0.0016353876562789083, -0.09199370443820953, -0.055005788803100586, 0.008972316049039364, 0.00803846213966608, 0.05837498605251312, 0.01779814437031746, 0.06071877479553223, 0.03966129943728447, 0.0031792211811989546, -0.04607009515166283, -0.022851938381791115, -0.03848940506577492, -0.004440380726009607, 0.024243563413619995, -0.05302821844816208, -0.07371947914361954, 0.04149238392710686, 0.047754693776369095, -0.02666059508919716, -0.028693100437521935, 0.019903892651200294, 0.03493709862232208, -0.001221104757860303, -0.09265289455652237, 0.04812090843915939, -0.01460290141403675, -0.018530579283833504, -0.037537239491939545, 0.012954925186932087, 0.05548186972737312, -0.019464431330561638, 0.0045502460561692715, 0.0652964860200882, 0.045044686645269394, -0.03081715852022171, -0.005749606527388096, 0.03658507391810417, 0.04563063383102417, 0.03804994374513626, -0.052332405000925064, -0.01756010390818119, -0.01032731868326664, 0.01781645603477955, -0.01778898946940899, -0.055225517600774765, 0.000005883075573365204, 0.034827232360839844, -0.01624172180891037, -0.024188630282878876, 0.018118584528565407, 0.024408360943198204, -0.007489136885851622, 0.025525322183966637, -0.03764710575342178, -0.06947135925292969, -0.02191808633506298, 0.012762661091983318, 0.004884419031441212, -0.009004360064864159, -0.03673156350851059, -0.005250636022537947, 0.042005088180303574, -0.046363066881895065, 0.06251323968172073, 0.0005310145788826048, -0.019995447248220444, 0.012222491204738617, 0.02345619723200798, 0.003213553922250867, 0.00872054137289524, 0.06024269014596939, -0.0001826793304644525, 0.06273296475410461, 0.03936832398176193, -0.03951480984687805, 0.015042361803352833, -0.07954232394695282, -0.0029709350783377886, 0.0016010547988116741, 0.0235111303627491, 0.022430788725614548, -0.02495768666267395, -0.05972998961806297, 0.04079657047986984, -0.06862906366586685, 0.06925162672996521, -0.006889456883072853, 0.015106449835002422, -0.04603347182273865, -0.013302831910550594, -0.03248344361782074, 0.03107351064682007, 0.016974156722426414, -0.03488216549158096, 0.0047699762508273125, 0.03061573952436447, -0.031567901372909546, 0.0053055682219564915, 0.08027476072311401, 0.0472053661942482, 0.012744350358843803, 0.00039539989666081965, 0.04006413742899895, 0.028235329315066338, 0.0146944560110569, 0.05138023942708969, 0.0379767008125782, 0.009951946325600147, 0.01396202202886343, 0.07507447898387909, 0.006742970086634159, 0.0007896553142927587, 0.007896553725004196, 0.01626003347337246, -0.0281254630535841, 0.04259103536605835, -0.014447259716689587, 0.0070450990460813046, -0.0029709350783377886, -0.0020210598595440388, -0.06580919027328491, 0.027283163741230965, -0.02510417252779007, -0.007956063374876976, -0.004490735474973917, 0.06284283101558685, -0.027594448998570442, -0.02061801590025425, 0.028400126844644547, 0.023035047575831413, 0.049329426139593124, -0.033014461398124695, 0.03279472887516022, -0.03206229582428932, 0.011160462163388729, 0.0012050827499479055, -0.08349747210741043, -0.05980323255062103, 0.06496688723564148, 0.03955143317580223, 0.03072560392320156, -0.006102090235799551, 0.03501034155488014, -0.0468391515314579, 0.05573822185397148, -0.052002809941768646, -0.03790345788002014, -0.0466560423374176, 0.025690119713544846, -0.011938673444092274, -0.05398038029670715, 0.005273524206131697, 0.008551166392862797, -0.040393732488155365, 0.021130718290805817, -0.020947610959410667, 0.028400126844644547, -0.021295517683029175, 0.056507278233766556, -0.04819415509700775, 0.019794026389718056, 0.04420238733291626, 0.04460522532463074, 0.011956984177231789, 0.009906169027090073, -0.03973454236984253, -0.04984213039278984, 0.031622834503650665, 0.010135054588317871, -0.0177249014377594, -0.0557016022503376, 0.013302831910550594, -0.005278102122247219, 0.054932545870542526, 0.013843001797795296, 0.034461017698049545, -0.013147189281880856, 0.04826739802956581, -0.03579770773649216, 0.028326882049441338, -0.013495095074176788, 0.056543901562690735, 0.027667691931128502, -0.03195242956280708, -0.008244459517300129, 0.03365533798933029, 0.03665832057595253, -0.0001287481572944671, 0.006070046219974756, -0.019446121528744698, 0.03634703531861305, -0.023950589820742607, 0.011499213054776192, -0.014950808137655258, 0.006271465681493282, 0.0439460352063179, -0.010693535208702087, 0.0038017898332327604, -0.09931804239749908, 0.02213781513273716, -0.014309927821159363, 0.01615932397544384, 0.017184730619192123, 0.03339898958802223, 0.003900210838764906, 0.07155879586935043, -0.019592607393860817, 0.02625775709748268, 0.015381112694740295, 0.018768619745969772, -0.04888996481895447, 0.023859035223722458, -0.06328229606151581, -0.011325259692966938, 0.03270317614078522, -0.0032021095976233482, 0.06972771137952805, 0.020160244777798653, -0.03944156691431999, -0.027502894401550293, 0.014154286123812199, 0.05562835931777954, 0.03222709521651268, -0.024628091603517532, -0.027026811614632607, 0.03418635576963425, -0.018027029931545258, 0.014245839789509773, -0.004962239880114794, 0.000246481184149161, -0.08818504959344864, -0.023071669042110443, -0.07419555634260178, 0.0875258594751358, 0.09162748605012894, -0.010501272045075893, -0.003426417475566268, -0.020196866244077682, -0.03094533458352089, -0.032922904938459396, 0.00661479402333498, 0.04837726056575775, 0.014474725350737572, -0.020965920761227608, -0.024261875078082085, -0.027466272935271263, -0.025909850373864174, -0.028619855642318726, -0.008097972720861435, 0.018118584528565407, 0.021149029955267906, 0.0292058028280735, 0.010510426945984364, 0.05039145424962044, -0.03812318667769432, 0.038855619728565216, -0.03812318667769432, 0.028821276500821114, 0.0009990857215598226, -0.03627379238605499, -0.01622341200709343, -0.008917382918298244, 0.04998861625790596, 0.03393000364303589, 0.016974156722426414, -0.03235526755452156, 0.01596705988049507, 0.02037997357547283, 0.046179961413145065, -0.020050378516316414, -0.019958825781941414, -0.02523234859108925, 0.0025795407127588987, 0.040430352091789246, -0.009860391728579998, 0.00966812763363123, -0.01928132399916649, -0.02918749302625656, -0.008239882066845894, 0.06430769711732864, 0.02213781513273716, -0.006198222283273935, -0.02807052992284298, -0.027411339804530144, 0.006102090235799551, -0.0385260246694088, -0.01928132399916649, 0.004266427829861641, -0.0033394410274922848, 0.00960403960198164, 0.05321132764220238, 0.062220264226198196, 0.016635406762361526, -0.06734730303287506, -0.028528302907943726, 0.03867251053452492, 0.0207095704972744, -0.024042144417762756, -0.001750974915921688, -0.03790345788002014, 0.034680746495723724, 0.008253615349531174, -0.020874368026852608, -0.017093177884817123, -0.022650519385933876, -0.04537428170442581, -0.026990190148353577, -0.01603114791214466, 0.037610482424497604, -0.008244459517300129, -0.002634473377838731, -0.037317510694265366, -0.021698355674743652, 0.06478378176689148, -0.011334415525197983, -0.05002523958683014, -0.005264368839561939, -0.05291835218667984, -0.014282462187111378, -0.018503112718462944, 0.06698108464479446, -0.09111478179693222, 0.042114950716495514, -0.03493709862232208, -0.009375154040753841, 0.05778903886675835, 0.007287717889994383, -0.05387051776051521, 0.02076450176537037, -0.015774795785546303, 0.023236466571688652, -0.008757163770496845, -0.005236902739852667, -0.061194855719804764, 0.0528084859251976, -0.006390485912561417, -0.008134594187140465, 0.08818504959344864, 0.013019013218581676, 0.03631041198968887, -0.02356606163084507, 0.05185632407665253, 0.08078746497631073, 0.05892430990934372, 0.015875505283474922, -0.04976888746023178, -0.033087704330682755, 0.00347448349930346, 0.010345629416406155, -0.021387070417404175, -0.030029792338609695, -0.01316550001502037, -0.02660566382110119, -0.01533533539623022, -0.05562835931777954, 0.03653014451265335, 0.04266427829861641, 0.019537676125764847, -0.05460295081138611, -0.015774795785546303, -0.015811417251825333, -0.013614116236567497, 0.012735195457935333, -0.03848940506577492, 0.023804103955626488, -0.04643631353974342, 0.03845278173685074, -0.015014896169304848, -0.05379727482795715, 0.07357298582792282, -0.007077143061906099, -0.0077042896300554276, 0.005021749995648861, -0.050611186772584915, 0.0018848730251193047, 0.02028842084109783, 0.028656477108597755, -0.01033647358417511, 0.08386368304491043, 0.04555739089846611, 0.07807745784521103, -0.047791313380002975, -0.07192501425743103, 0.001507211709395051, 0.03837953880429268, -0.0414191409945488, -0.03863589093089104, -0.004163429141044617, 0.011874585412442684, -0.05712984874844551, -0.0555184930562973, -0.02501261979341507, 0.0309270229190588, 0.04522779583930969, -0.08327773958444595, 0.00046320725232362747, 0.006399641744792461, 0.01551844459027052, -0.015445200726389885, -0.026202823966741562, 0.08078746497631073, -0.005122459959238768, 0.03105519898235798, -0.08408341556787491, -0.020270109176635742, 0.049402669072151184, -0.0015655775787308812, 0.03969791904091835, -0.024170320481061935, 0.046399690210819244, 0.04899983108043671, -0.0001921208604471758, -0.03662169724702835, -0.03808656334877014, 0.028326882049441338, -0.005369656253606081, 0.008148327469825745, -0.020050378516316414, -0.005488676950335503, 0.011197083629667759, -0.0014957673847675323, 0.019501052796840668, -0.0013824690831825137, 0.03213553875684738, -0.0024261875078082085, -0.019464431330561638, -0.0023392108269035816, 0.040283866226673126, -0.007017632480710745, -0.05705660581588745, -0.014575435779988766, -0.033106014132499695, 0.004055853001773357, -0.0008783485391177237, 0.053687408566474915, -0.0043740039691329, -0.037610482424497604, -0.046143338084220886, 0.01170063205063343, -0.015884660184383392, -0.0009561696206219494, -0.030286142602562904, -0.02061801590025425, -0.040283866226673126, 0.04442211985588074, -0.04237130284309387, -0.02775924652814865, -0.05423673242330551, -0.008271926082670689, -0.026129581034183502, -0.01768827997148037, 0.03403986617922783, 0.037354130297899246, -0.019702473655343056, 0.025946471840143204, -0.009292755275964737 ]
44,102
dataclass_array.array_dataclass
to
Move the dataclass array to the device.
def to(self: _DcT, device, **kwargs) -> _DcT: """Move the dataclass array to the device.""" if not lazy.is_torch_xnp(self.xnp): raise ValueError('`.to` can only be called when `xnp == torch`') return self.map_field(lambda f: f.to(device, **kwargs))
(self: ~_DcT, device, **kwargs) -> ~_DcT
[ -0.01204772014170885, 0.005354058928787708, 0.0015973015688359737, -0.027209579944610596, -0.03328128531575203, -0.01783236674964428, -0.028270823881030083, 0.033472657203674316, 0.050382956862449646, -0.014231097884476185, 0.003479486098513007, -0.0513572134077549, 0.03810037299990654, 0.008068058639764786, 0.023382145911455154, 0.03966614231467247, -0.013387322425842285, 0.05104405805468559, 0.019641699269413948, 0.08712632954120636, 0.021920761093497276, -0.03027152828872204, -0.015083571895956993, -0.024478184059262276, -0.01182155404239893, 0.05998633801937103, -0.004351532086730003, 0.01289149560034275, 0.015622892417013645, -0.04843444377183914, -0.024199824780225754, 0.012882797047495842, 0.037717629224061966, 0.033020321279764175, 0.036151859909296036, 0.02272104285657406, 0.018041135743260384, 0.024652158841490746, 0.004271069075912237, 0.0016168736619874835, -0.05045254901051521, -0.07160782068967819, -0.020720338448882103, 0.039283398538827896, 0.03921380639076233, 0.023155979812145233, 0.0017005987465381622, 0.012134707532823086, -0.006084751337766647, 0.004247147589921951, -0.005976017098873854, -0.02921028435230255, 0.033420462161302567, 0.04130150005221367, -0.01625789888203144, 0.03921380639076233, 0.0018484769389033318, 0.026009157299995422, -0.04874759912490845, 0.016736328601837158, 0.016066526994109154, 0.005362757947295904, 0.008842243812978268, -0.04641634225845337, 0.019763480871915817, -0.00679369643330574, 0.003494708798825741, 0.017901955172419548, -0.011978130787611008, 0.055323828011751175, -0.037439268082380295, -0.009933932684361935, 0.017005987465381622, 0.004323261324316263, 0.045511677861213684, 0.01608392409980297, -0.0022420939058065414, 0.04008368030190468, -0.02016362175345421, -0.04050121828913689, 0.0036969538778066635, 0.05803782492876053, -0.0704943835735321, 0.04422426596283913, -0.03206346184015274, -0.00024696195032447577, -0.003794814459979534, 0.042554114013910294, -0.09206719696521759, -0.048295266926288605, -0.0232255682349205, -0.006902430206537247, -0.029018912464380264, 0.05257503315806389, 0.007711410988122225, 0.031158797442913055, -0.005806392058730125, 0.013535200618207455, -0.017145168036222458, 0.04885198548436165, 0.024078043177723885, 0.019328543916344643, -0.0008111551869660616, 0.013787463307380676, 0.00492347264662385, -0.030741259455680847, -0.00630221888422966, 0.03997929394245148, -0.00876830518245697, 0.010473253205418587, -0.06771079450845718, 0.13020236790180206, -0.024252017959952354, 0.014483360573649406, -0.02381708100438118, -0.08100243657827377, 0.020528968423604965, 0.0018756603822112083, -0.054975878447294235, 0.03594309091567993, -0.014587745070457458, 0.04171903803944588, -0.011308329179883003, 0.002513928571715951, -0.04077957570552826, 0.02235569804906845, 0.03256798908114433, 0.023730095475912094, 0.04290206357836723, -0.07425223290920258, -0.06210882589221001, -0.07453059405088425, -0.03201127052307129, -0.00238779722712934, 0.029227683320641518, 0.017667090520262718, 0.022668851539492607, -0.048016905784606934, -0.07132946699857712, 0.001376571599394083, -0.000006549521003762493, -0.00521053047850728, 0.06938095390796661, -0.009455502964556217, 0.046729497611522675, -0.005214879754930735, 0.025835184380412102, 0.040396831929683685, -0.06036908179521561, -0.029836593195796013, -0.06482282280921936, 0.052470650523900986, 0.058803312480449677, -0.016170911490917206, -0.03375101462006569, 0.013691777363419533, -0.04432865232229233, -0.04902595654129982, 0.032550591975450516, 0.025348056107759476, -0.06993766874074936, -0.039109423756599426, -0.045685652643442154, 0.057759467512369156, -0.0006132593844085932, -0.026618067175149918, -0.009525093249976635, -0.02567860670387745, -0.028879733756184578, 0.03425553813576698, 0.02677464485168457, -0.042554114013910294, 0.09297186881303787, 0.025765594094991684, -0.06325705349445343, 0.05100926384329796, 0.001869136351160705, -0.012430463917553425, 0.04913034290075302, 0.036499809473752975, 0.032028667628765106, 0.06155210733413696, 0.028879733756184578, 0.053862445056438446, 0.009098855778574944, 0.03378580883145332, -0.03768283501267433, 0.022320901975035667, 0.016231801360845566, 0.027905477210879326, 0.09888698905706406, 0.03373361751437187, 0.008155045099556446, -0.025174081325531006, 0.010360169224441051, -0.024373799562454224, -0.04060560092329979, -0.018771827220916748, -0.015944745391607285, 0.05911646783351898, -0.025574222207069397, -0.03977052494883537, 0.05876851826906204, 0.008703064173460007, -0.0669105127453804, -0.009351118467748165, 0.06137813255190849, 0.02317337691783905, 0.0011221342720091343, -0.037613242864608765, 0.04467660188674927, -0.003864404046908021, -0.03222003951668739, -0.060264699161052704, 0.044989753514528275, -0.04561606049537659, 0.0034294684883207083, -0.007450449280440807, 0.010621131397783756, 0.012952386401593685, 0.031454551964998245, 0.011517099104821682, -0.056193698197603226, -0.004142763093113899, -0.0462423674762249, -0.0026966016739606857, -0.04418947175145149, -0.07056397944688797, 0.01344821322709322, -0.04596401005983353, 0.02172939106822014, -0.00833336915820837, -0.05765508487820625, -0.005123543087393045, 0.07453059405088425, 0.018667442724108696, 0.0024660855997353792, -0.01553590502589941, 0.0003074452106375247, 0.025121888145804405, 0.014526854269206524, -0.020337596535682678, 0.008311621844768524, 0.0023399542551487684, 0.022686248645186424, 0.027853285893797874, 0.025539427995681763, -0.012134707532823086, -0.005488889291882515, 0.0090292664244771, -0.023068992421030998, -0.034586090594530106, -0.004836485721170902, 0.03827434778213501, -0.024843530729413033, -0.04398070275783539, 0.03357703983783722, -0.01249135471880436, -0.0015211878344416618, -0.026670260354876518, -0.038135167211294174, -0.017232155427336693, 0.03820475563406944, -0.007724458817392588, -0.001931114704348147, -0.001049282494932413, -0.04519852250814438, 0.00609779916703701, 0.034586090594530106, 0.026096144691109657, -0.017388731241226196, 0.04791252315044403, -0.047425393015146255, 0.007959323935210705, 0.019641699269413948, 0.005862934049218893, -0.047599367797374725, 0.0073591130785644054, 0.075713612139225, -0.0036121413577347994, 0.0053671072237193584, -0.056541647762060165, -0.07766212522983551, -0.03747406601905823, -0.02520887553691864, -0.056367672979831696, 0.0001586156286066398, 0.026618067175149918, 0.043180420994758606, -0.029888784512877464, -0.012656630016863346, 0.012447861023247242, -0.03747406601905823, 0.014700828120112419, -0.04422426596283913, -0.044119883328676224, -0.09610340744256973, 0.015361931174993515, 0.04752977937459946, -0.018493467941880226, 0.01899799332022667, -0.023451736196875572, -0.04314562678337097, 0.0652751550078392, -0.0011438810033723712, 0.03258538618683815, -0.006141292862594128, 0.003951391205191612, -0.044572215527296066, -0.000277135637588799, 0.040396831929683685, -0.040048882365226746, -0.0513572134077549, -0.007289523258805275, 0.03858749940991402, -0.003103266702964902, 0.011160450987517834, 0.026844235137104988, 0.018684839829802513, 0.06600584834814072, -0.0412319079041481, -0.022616658359766006, -0.0334552563726902, 0.04070998728275299, -0.013282937929034233, 0.0028249076567590237, 0.03300292417407036, -0.02252967283129692, 0.01179545745253563, 0.008516041561961174, 0.013865752145648003, 0.03422074392437935, 0.01986786536872387, 0.0004172664775978774, 0.017171263694763184, 0.0034512151032686234, -0.012639232911169529, -0.0196938905864954, 0.03855270519852638, 0.03677816689014435, -0.05187913775444031, 0.05076570063829422, -0.045859627425670624, 0.013256841339170933, 0.030567284673452377, -0.002413893351331353, -0.01962430030107498, 0.010908188298344612, 0.0005768335540778935, 0.03547336161136627, 0.01425719354301691, -0.005458443891257048, 0.0010857083834707737, 0.0413362942636013, 0.036673784255981445, -0.009203240275382996, -0.013396020978689194, 0.0022083863150328398, -0.030114950612187386, -0.012813207693397999, 0.00582378963008523, 0.018075929954648018, 0.0013580869417637587, -0.02155541628599167, 0.04217137023806572, 0.017849763855338097, -0.09067540615797043, -0.029436452314257622, 0.008942279033362865, 0.027279170230031013, 0.0035860452335327864, -0.0006654516910202801, 0.011151752434670925, 0.031002219766378403, 0.014048424549400806, 0.007881036028265953, -0.0632222592830658, 0.02381708100438118, -0.018284698948264122, 0.024008452892303467, 0.020424582064151764, -0.05612410977482796, 0.0010248173493891954, 0.030515091493725777, 0.037717629224061966, 0.04606839641928673, 0.0004373822594061494, -0.008559535257518291, -0.0038252598606050014, -0.01650146208703518, -0.007211234886199236, 0.04540729150176048, -0.015953443944454193, -0.0188762117177248, -0.03456869348883629, 0.029436452314257622, -0.04530290886759758, 0.009351118467748165, 0.027679311111569405, -0.058698929846286774, -0.07508730888366699, -0.039700936526060104, 0.003979661967605352, 0.07244289666414261, -0.0023682252503931522, -0.013491706922650337, 0.01986786536872387, -0.015553302131593227, 0.010334073565900326, 0.039874911308288574, 0.04293685778975487, 0.07613115757703781, -0.008633474819362164, 0.018963199108839035, 0.03816996142268181, 0.050800494849681854, 0.025887375697493553, 0.018597852438688278, 0.04502454772591591, 0.025887375697493553, -0.04363275319337845, 0.03230702877044678, -0.004671209957450628, -0.047842931002378464, 0.03858749940991402, -0.03228963166475296, 0.0076548694632947445, -0.015170559287071228, 0.018615249544382095, 0.06757161766290665, -0.04008368030190468, 0.01251745130866766, -0.06471844017505646, 0.006167388986796141, 0.03576911613345146, 0.011899841949343681, 0.05006980523467064, -0.0026422347873449326, 0.01553590502589941, 0.024199824780225754, -0.0010128566063940525, 0.0071938373148441315, 0.014648635871708393, -0.0735563337802887, -0.08990991860628128, -0.015753373503684998, -0.042832471430301666, -0.011717169545590878, -0.04857362434267998, 0.00589337944984436, 0.08315971493721008, -0.025817785412073135, 0.07543525844812393, 0.0017669264925643802, 0.017562706023454666, -0.04906075447797775, -0.01661454513669014, -0.0944332480430603, 0.060891006141901016, -0.015022681094706059, -0.024147633463144302, -0.01847607083618641, -0.02707040123641491, -0.06492720544338226, 0.004034029319882393, 0.06781518459320068, -0.028323017060756683, -0.033838000148534775, 0.025348056107759476, -0.010890791192650795, 0.06590146571397781, -0.03594309091567993, 0.03451650217175484, -0.04349357634782791, -0.005240975879132748, 0.03223743662238121, -0.018719634041190147, 0.015527206473052502, -0.03984011337161064, -0.02446078695356846, -0.02399105578660965, -0.06447487324476242, 0.033072516322135925, -0.015040078200399876, 0.0036186655052006245, 0.032620180398225784, 0.03663898631930351, 0.026618067175149918, 0.021451031789183617, 0.04384152218699455, -0.009733862243592739, 0.04095355048775673, 0.0033250837586820126, -0.04544208571314812, 0.02543504349887371, 0.025469837710261345, 0.022842826321721077, 0.01126483641564846, 0.013396020978689194, 0.0017962846904993057, -0.019032789394259453, -0.0020191892981529236, -0.06221320852637291, -0.039109423756599426, -0.038065578788518906, -0.006189135834574699, -0.006445747800171375, 0.037787217646837234, -0.028096849098801613, 0.030393309891223907, -0.005184434354305267, 0.03096742555499077, -0.04895636811852455, -0.02016362175345421, -0.008850942365825176, -0.037369679659605026, -0.06350062042474747, 0.05163557082414627, -0.060786619782447815, -0.015666386112570763, 0.006754552014172077, 0.07633992284536362, -0.0024486882612109184, 0.03206346184015274, -0.01656235381960869, 0.035055819898843765, 0.015727275982499123, -0.001205859356559813, 0.03698693588376045, 0.0008502993732690811, -0.019502518698573112, -0.043945908546447754, 0.05702877417206764, 0.060786619782447815, 0.039283398538827896, -0.003794814459979534, 0.009333721362054348, 0.0360126793384552, 0.00742000387981534, -0.015527206473052502, -0.04060560092329979, -0.029523439705371857, -0.02359091490507126, -0.04610319063067436, -0.02016362175345421, -0.033611834049224854, -0.042554114013910294, 0.010890791192650795, -0.013169854879379272, 0.008350766263902187, -0.06426610797643661, -0.03147195279598236, 0.038309141993522644, 0.056193698197603226, 0.007863637991249561, 0.0175975002348423, -0.026792041957378387, 0.0030771703459322453, -0.001523362472653389, -0.033838000148534775, -0.03618665412068367, -0.016005635261535645, 0.04930431768298149, 0.042136576026678085, 0.012743617407977581, 0.02190336398780346, -0.019554711878299713, 0.028844939544796944, -0.04561606049537659, -0.041788626462221146, 0.04906075447797775, 0.021503223106265068, -0.08302053809165955, 0.04676429182291031, 0.023730095475912094, -0.0053062159568071365, 0.033472657203674316, 0.02985399030148983, 0.0031402360182255507, -0.06569269299507141, -0.013970136642456055, 0.06579708307981491, -0.013891847804188728, -0.012934989295899868, 0.031732913106679916, -0.07974982261657715, -0.011021272279322147, -0.0006616460159420967, 0.04241493344306946, -0.11043888330459595, 0.05302736535668373, 0.023904068395495415, -0.07125987112522125, 0.01619700714945793, 0.003422944340854883, -0.04857362434267998, -0.04373713955283165, 0.008502993732690811, 0.0651707723736763, -0.03872667998075485, -0.03295073285698891, 0.03646501526236534, 0.01870223693549633, -0.0462423674762249, 0.015092270448803902, -0.08740469068288803, -0.06325705349445343, -0.0020920410752296448, 0.045511677861213684, 0.010925586335361004, 0.022564467042684555, 0.01934594288468361, -0.032968129962682724, 0.04154506325721741, -0.0038296093698590994, -0.07000725716352463, -0.014805212616920471, -0.02421722188591957, 0.012934989295899868, 0.0025661210529506207, 0.014613841660320759, -0.00879875011742115, 0.015788167715072632, 0.005123543087393045, -0.010986477136611938, 0.0055497800931334496, 0.001445073983632028, -0.02456517145037651, 0.020998697727918625, 0.005936873145401478, 0.02096390351653099, -0.05403641611337662, 0.07320838421583176, -0.026618067175149918, -0.09276309609413147, -0.07132946699857712, -0.06054305657744408, 0.0222513135522604, 0.01321334857493639, -0.00998612493276596, 0.0106907207518816, 0.03643021732568741, 0.05598492920398712, -0.024530377238988876, -0.004118841607123613, -0.1262357532978058, 0.02520887553691864, -0.003655635053291917, -0.06276992708444595, 0.0016168736619874835, -0.023451736196875572, 0.01917196810245514, -0.07404346019029617, 0.013230745680630207, 0.04589442163705826, 0.05434957146644592, 0.01484000775963068, 0.039283398538827896, 0.023904068395495415, 0.007628772873431444, -0.004175383131951094, 0.04130150005221367, 0.02533065900206566, -0.06750202924013138, 0.058003030717372894, -0.0004661967686843127, 0.016344886273145676, 0.009307624772191048, -0.07209494709968567, 0.005528033245354891, -0.07153823226690292, 0.012430463917553425, -0.03462088480591774, -0.04895636811852455, 0.052122700959444046, -0.07620074599981308, 0.059568800032138824, -0.03095002844929695, -0.024617362767457962, -0.018075929954648018, -0.015875155106186867, -0.0026661562733352184, 0.017501814290881157, 0.047842931002378464, -0.024756543338298798, 0.02369529940187931, 0.01609262265264988, 0.03903983160853386, -0.00798976980149746, -0.0529925711452961, 0.078984335064888, 0.05542821064591408, 0.018597852438688278, -0.01830209605395794, -0.010334073565900326, -0.012447861023247242, -0.029836593195796013, 0.012021624483168125, -0.02113787829875946, 0.023556120693683624, 0.009072760120034218, 0.013413419015705585, -0.046451136469841, -0.01553590502589941, 0.04290206357836723, -0.016457969322800636, -0.021677197888493538, 0.006654516793787479, 0.007254728116095066, 0.015196654945611954, 0.06325705349445343, 0.04711224138736725, -0.009107554331421852, -0.02125965990126133, -0.011134355328977108, -0.010273182764649391, -0.02456517145037651, 0.026165734976530075, -0.037717629224061966, 0.05859454348683357, -0.004055775701999664, -0.03183729574084282, 0.06454446911811829, 0.005889030173420906, -0.007950625382363796, -0.0020344119984656572, 0.021920761093497276, -0.010238387621939182, 0.0335596427321434, -0.0044928863644599915, 0.002842305228114128, -0.005623719189316034, -0.0025595969054847956, 0.00879875011742115, -0.018093327060341835, -0.004679908510297537, -0.031628526747226715, -0.052122700959444046, -0.02811424620449543, 0.059325236827135086, -0.04878239333629608, 0.02590477280318737, 0.02153801918029785, 0.0037774171214550734, 0.006093449890613556, -0.009072760120034218, 0.009203240275382996, 0.009638176299631596, -0.00915104802697897, -0.014004930853843689, 0.04540729150176048, 0.056889597326517105, 0.01992005668580532, -0.007172090467065573, 0.06871984899044037, -0.01701468601822853, 0.039179012179374695, -0.025991760194301605, 0.007124247495085001, -0.07209494709968567, -0.04251931980252266, 0.018319493159651756, -0.040675193071365356, 0.03223743662238121, 0.03587350249290466, 0.026618067175149918, 0.029940977692604065, -0.006684962660074234 ]
44,103
dataclass_array.array_dataclass
tree_flatten
`jax.tree_utils` support.
def tree_flatten(self) -> tuple[tuple[DcOrArray, ...], _TreeMetadata]: """`jax.tree_utils` support.""" # We flatten all values (and not just the non-None ones) array_field_values = tuple(f.value for f in self._all_array_fields.values()) metadata = _TreeMetadata( array_field_names=list(self._all_array_fields.keys()), non_array_field_kwargs={ f.name: getattr(self, f.name) for f in dataclasses.fields(self) # pytype: disable=wrong-arg-types # re-none if f.name not in self._all_array_fields # pylint: disable=unsupported-membership-test }, ) return (array_field_values, metadata)
(self) -> 'tuple[tuple[DcOrArray, ...], _TreeMetadata]'
[ -0.01225884910672903, -0.04327081888914108, 0.08544709533452988, 0.012796998023986816, 0.009385681711137295, -0.02026723511517048, 0.02074153535068035, -0.05739038810133934, 0.07625295966863632, 0.0035230510402470827, 0.009869103319942951, -0.02313128113746643, 0.022018497809767723, -0.03929398953914642, 0.0344962552189827, 0.017412308603525162, -0.04133713245391846, 0.051078539341688156, 0.02511969581246376, 0.11587531119585037, 0.0016190072055906057, -0.019245663657784462, -0.013070633634924889, 0.004138730000704527, 0.00038907481939531863, 0.005185383837670088, 0.009768771007657051, -0.015423894859850407, -0.019501056522130966, -0.002563048154115677, -0.06600076705217361, -0.0188808161765337, -0.012979421764612198, -0.03885617479681969, -0.04367215186357498, -0.06009025126695633, -0.023295462131500244, 0.05104205384850502, 0.003897018963471055, -0.0044876146130263805, -0.016883281990885735, -0.08092299848794937, -0.10507585108280182, -0.011410580947995186, 0.025904115289449692, -0.003931223414838314, 0.0621698796749115, -0.060017284005880356, -0.08982525765895844, 0.015761377289891243, 0.035317160189151764, 0.026542598381638527, -0.0010825685458257794, 0.024371759966015816, -0.025885874405503273, 0.008081354200839996, 0.011191672645509243, 0.02123407833278179, -0.021817833185195923, 0.011839275248348713, 0.045131538063287735, 0.06815336644649506, 0.013490206561982632, 0.018671030178666115, -0.03300038352608681, 0.015132017433643341, -0.03746975585818291, 0.03188760206103325, -0.0324895977973938, 0.03646642714738846, -0.09048198163509369, 0.0022210043389350176, -0.0028503648936748505, 0.013216571882367134, 0.02771010808646679, -0.003381673013791442, 0.03205178305506706, 0.0029164934530854225, 0.024171093478798866, -0.024371759966015816, -0.07800422608852386, 0.02116110920906067, 0.003468323964625597, 0.09128464758396149, 0.03356589749455452, 0.00845988281071186, -0.01733933947980404, 0.08668757975101471, -0.010936279781162739, -0.00506680877879262, -0.02362382411956787, 0.018807847052812576, -0.031431544572114944, 0.07205722481012344, -0.04564232379198074, 0.045824747532606125, -0.023496128618717194, 0.029552582651376724, -0.035992126911878586, 0.033620625734329224, 0.02183607593178749, -0.055748578161001205, -0.0014947314048185945, 0.03108493983745575, -0.006986814551055431, 0.005021202843636274, -0.0017467036377638578, -0.005002960562705994, 0.047320619225502014, 0.028950586915016174, -0.06260769814252853, 0.014785412698984146, 0.03783460333943367, 0.055055368691682816, -0.024280548095703125, -0.05954298377037048, 0.022656980901956558, -0.007825962267816067, -0.04644498601555824, -0.009595468640327454, 0.05680663138628006, 0.03453274071216583, -0.0020077971275895834, -0.024590667337179184, -0.08427958935499191, 0.05542021617293358, 0.06490623205900192, -0.004957354627549648, -0.03398546949028969, -0.011319369077682495, -0.020522627979516983, 0.024864302948117256, -0.03889266029000282, 0.012049062177538872, 0.024280548095703125, -0.023605581372976303, 0.09128464758396149, -0.018935544416308403, -0.02183607593178749, -0.03694072738289833, -0.05950649827718735, -0.03568200767040253, 0.052391987293958664, -0.019190937280654907, -0.0406804084777832, -0.0017603853484615684, 0.03194233030080795, 0.0060610161162912846, -0.028074953705072403, -0.00004557021020445973, -0.05034884437918663, -0.038783203810453415, 0.008774563670158386, 0.021726621314883232, 0.019318632781505585, 0.011063976213335991, -0.027947258204221725, -0.08398771286010742, 0.008441640995442867, 0.0005176262930035591, -0.05720796436071396, -0.02362382411956787, -0.017001856118440628, -0.00779403792694211, -0.001779767801053822, -0.007520402781665325, -0.012231485918164253, -0.08909556269645691, -0.05472700670361519, 0.0027363502886146307, 0.022310376167297363, -0.044839661568403244, -0.03690424561500549, 0.025977086275815964, -0.00744287297129631, 0.025666965171694756, 0.031723421066999435, 0.012696665711700916, -0.027272291481494904, 0.05790117383003235, -0.02344140037894249, 0.006544437725096941, 0.0006059875595383346, -0.006234318017959595, 0.0264149010181427, -0.005641442257910967, -0.015651924535632133, -0.015578954480588436, 0.022967100143432617, 0.025593996047973633, -0.000040582071960670874, -0.02355085499584675, -0.007588811684399843, 0.025977086275815964, -0.004040677100419998, 0.0023156364914029837, -0.00937656033784151, -0.0074930391274392605, 0.07307879626750946, 0.0028207211289554834, -0.045131538063287735, -0.028841132298111916, 0.06227933242917061, 0.023751521483063698, -0.05264737829566002, 0.016700858250260353, 0.019792933017015457, 0.0028298422694206238, -0.012851725332438946, 0.007575129624456167, 0.050093453377485275, 0.0023920261301100254, -0.044839661568403244, -0.0328909307718277, 0.005030323751270771, -0.040862832218408585, -0.0009828058537095785, -0.023952186107635498, -0.03929398953914642, 0.0027614335995167494, 0.006124863866716623, -0.030355246737599373, 0.006234318017959595, -0.020522627979516983, 0.006097500678151846, 0.0012575809378176928, -0.0250102411955595, -0.0585578978061676, 0.041847918182611465, -0.04286948963999748, -0.012833482585847378, -0.04498559981584549, -0.10310567915439606, -0.02263873815536499, -0.017503520473837852, 0.02026723511517048, 0.09500608593225479, -0.052793316543102264, 0.07180183380842209, -0.004553743172436953, -0.03466043621301651, -0.023806247860193253, 0.008806487545371056, -0.008811048232018948, 0.01236830372363329, -0.048013824969530106, -0.004925430752336979, 0.021106382831931114, -0.0017740670591592789, -0.026341931894421577, -0.06435895711183548, -0.025539269670844078, 0.07008705288171768, 0.010881553404033184, 0.058229535818099976, -0.04421941936016083, 0.01776803471148014, 0.05235550180077553, 0.006106621585786343, -0.03526243567466736, 0.0678979754447937, -0.0703059583902359, 0.0223468616604805, 0.04075337573885918, -0.029570825397968292, -0.01414693146944046, 0.06512513756752014, -0.0540337972342968, -0.021288804709911346, -0.017357582226395607, 0.0302822757512331, 0.05104205384850502, -0.011602125130593777, 0.0024057079572230577, 0.008560216054320335, -0.009787012822926044, 0.009741406887769699, -0.017156915739178658, 0.0010346825001761317, -0.0019382481696084142, -0.02282116189599037, -0.044255904853343964, -0.019829418510198593, 0.007821401581168175, -0.0012210963759571314, -0.02223740704357624, -0.062425270676612854, -0.025758177042007446, -0.059433527290821075, -0.005290277302265167, 0.019428087398409843, 0.03632048889994621, -0.016810312867164612, -0.012687544338405132, 0.019501056522130966, -0.023897459730505943, -0.07566920667886734, 0.021325290203094482, 0.02918773703277111, -0.03048294223845005, 0.004984718281775713, 0.05191768705844879, 0.06359278410673141, -0.0009001452126540244, 0.029862703755497932, 0.012195001356303692, 0.0010010481346398592, 0.012906452640891075, 0.009549862705171108, 0.05647826939821243, -0.036393459886312485, 0.028166165575385094, 0.02840331569314003, -0.017685944214463234, -0.02563048154115677, -0.02741822972893715, 0.06351981312036514, 0.004590227734297514, 0.03881968930363655, 0.04491262882947922, -0.02431703358888626, -0.05910516530275345, -0.02015778049826622, 0.01752176322042942, 0.038381874561309814, 0.006986814551055431, 0.05155283957719803, -0.03363886475563049, 0.010443736799061298, -0.006453226320445538, -0.002233545994386077, -0.005810183938592672, 0.024006912484765053, 0.04367215186357498, 0.020595597103238106, 0.019300390034914017, 0.05253792554140091, -0.04535044729709625, -0.0075523266568779945, -0.0662926435470581, -0.0540337972342968, -0.010097132995724678, 0.004847900476306677, 0.0050850510597229, 0.003773883217945695, 0.015204986557364464, 0.033401716500520706, -0.03165045008063316, 0.0728234052658081, 0.07107213884592056, 0.012669301591813564, -0.07771234959363937, -0.05629584565758705, 0.011729821562767029, 0.01792309433221817, 0.009686680510640144, -0.05910516530275345, 0.018069032579660416, 0.02699865587055683, 0.04323433339595795, 0.06935735791921616, 0.009969436563551426, 0.027564167976379395, 0.01255984790623188, 0.06505216658115387, -0.04286948963999748, -0.08369583636522293, 0.017758913338184357, 0.006471468601375818, -0.01886257529258728, -0.0002700720797292888, -0.0270168986171484, -0.0019701721612364054, -0.05111502483487129, 0.009549862705171108, -0.00483877956867218, -0.020522627979516983, -0.0056688059121370316, 0.008779123425483704, -0.009914709255099297, -0.00011657992581604049, 0.014657716266810894, 0.021763106808066368, -0.030428215861320496, -0.00548638217151165, 0.023696793243288994, 0.059141650795936584, 0.029935672879219055, -0.06680343300104141, -0.017375824972987175, -0.006726861000061035, 0.013535812497138977, -0.024681879207491875, -0.03871023654937744, -0.05104205384850502, 0.01305239088833332, -0.009230622090399265, -0.025101453065872192, -0.0027614335995167494, -0.038673751056194305, -0.010151859372854233, -0.0654899850487709, -0.04020610824227333, -0.013791205361485481, 0.014192536473274231, -0.03984126076102257, 0.009098364971578121, -0.01997535675764084, 0.035408373922109604, 0.023514369502663612, 0.07975549250841141, 0.0467003770172596, 0.061622608453035355, 0.051990654319524765, 0.08238238841295242, -0.010553191415965557, 0.028020227327942848, 0.0955168679356575, 0.05950649827718735, 0.0023133561480790377, 0.011045734398066998, 0.01057143323123455, -0.0669858530163765, 0.024244064465165138, -0.018269699066877365, 0.01776803471148014, -0.03445976972579956, 0.013709114864468575, -0.0217448640614748, 0.016007648780941963, 0.04834218695759773, 0.0008710715337656438, -0.025758177042007446, -0.03819945082068443, -0.03980477526783943, 0.005573033355176449, -0.012842603959143162, -0.006444104947149754, -0.005828426219522953, 0.0033406277652829885, 0.018306182697415352, 0.011684215627610683, 0.0532311350107193, -0.090992771089077, 0.03633873164653778, -0.022310376167297363, -0.03373007848858833, 0.0731152817606926, -0.022967100143432617, -0.03577322140336037, 0.04586122930049896, 0.02938840165734291, 0.059433527290821075, -0.005550230387598276, -0.02719932235777378, 0.012058183550834656, 0.006352893076837063, -0.01032516174018383, 0.016372496262192726, 0.004448849707841873, -0.005417973734438419, -0.027929015457630157, 0.019336875528097153, -0.007091708015650511, 0.05352301150560379, -0.06144018471240997, 0.013763842172920704, -0.06643858551979065, -0.052866287529468536, -0.032635536044836044, 0.06891953945159912, -0.031431544572114944, 0.01470332220196724, 0.026469629257917404, 0.03761569410562515, -0.0021753984037786722, -0.0028024788480252028, -0.06206042319536209, -0.03998719900846481, -0.038491327315568924, -0.0005991467041894794, -0.012094668112695217, 0.0026018130593001842, -0.06727772951126099, -0.011593003757297993, 0.02809319645166397, -0.0027956378180533648, -0.011000128462910652, 0.012769634835422039, -0.0034204379189759493, -0.04753952473402023, 0.05841195583343506, -0.02044965699315071, 0.017996063455939293, 0.02670677937567234, 0.04239518567919731, -0.00289369048550725, -0.022967100143432617, -0.030957242473959923, 0.04338027164340019, -0.00722852535545826, -0.028731677681207657, 0.026560841128230095, -0.0013408116064965725, 0.014931351877748966, -0.0008779123891144991, 0.014712443575263023, -0.011045734398066998, 0.003988230600953102, -0.00212067156098783, -0.07118159532546997, -0.03841835632920265, 0.0063802567310631275, 0.029935672879219055, -0.003404475748538971, -0.014201657846570015, -0.016810312867164612, 0.008961547166109085, 0.041556041687726974, -0.01102749165147543, -0.035390131175518036, 0.051808230578899384, -0.04892594367265701, -0.006293605547398329, -0.0071145109832286835, 0.019738206639885902, -0.017649458721280098, 0.04038853198289871, 0.005440776702016592, -0.02431703358888626, 0.0524284727871418, -0.05315816402435303, 0.018789606168866158, -0.016308648511767387, -0.028074953705072403, -0.0060518947429955006, 0.011647731065750122, 0.053668949753046036, 0.03577322140336037, 0.006617407314479351, 0.042358703911304474, 0.035992126911878586, -0.04122767597436905, 0.04578826203942299, 0.005750896409153938, -0.008172566071152687, 0.011802790686488152, 0.0434897281229496, 0.026360174641013145, 0.026360174641013145, 0.004460250958800316, -0.005463579203933477, 0.0406804084777832, 0.02026723511517048, 0.01861630380153656, -0.00650795316323638, -0.02086923085153103, -0.007675462402403355, -0.006790709216147661, -0.052866287529468536, 0.03363886475563049, 0.018452122807502747, -0.06479677557945251, -0.00014636623382102698, 0.019719963893294334, 0.026652051135897636, 0.0016178671503439546, 0.07107213884592056, -0.036101583391427994, 0.002387465676292777, -0.03686776012182236, 0.020540868863463402, -0.02066856622695923, 0.037287332117557526, 0.08610381931066513, 0.02134353294968605, -0.039366960525512695, -0.004385001491755247, -0.041264161467552185, -0.035317160189151764, 0.024663636460900307, 0.0018185328226536512, -0.01812376081943512, -0.014876624569296837, 0.018488606438040733, -0.03467867895960808, 0.05151635408401489, -0.011483550071716309, -0.04272354766726494, -0.043562695384025574, 0.005687048193067312, 0.007921733893454075, 0.023076554760336876, 0.011875760741531849, 0.02632368914783001, -0.019428087398409843, -0.06439544260501862, -0.008081354200839996, 0.021088140085339546, -0.048415157943964005, 0.01166597381234169, -0.019829418510198593, -0.013636145740747452, 0.04786788672208786, -0.04571529105305672, -0.06818985193967819, 0.0033862334676086903, -0.019391601905226707, 0.030720092356204987, 0.03922102227807045, 0.012760513462126255, 0.01301590632647276, 0.036192793399095535, -0.024663636460900307, 0.001041523297317326, -0.004442008677870035, -0.056149907410144806, 0.04013313725590706, -0.03230717405676842, -0.014165173284709454, -0.03188760206103325, -0.003769322531297803, -0.006945769302546978, 0.023477885872125626, -0.06403059512376785, 0.007296934258192778, 0.0010033284779638052, -0.010680886916816235, 0.028531013056635857, -0.007005056831985712, 0.04834218695759773, -0.07315176725387573, 0.02969852276146412, -0.028822889551520348, -0.06089291349053383, -0.020030084997415543, -0.007825962267816067, 0.01906323991715908, -0.008551094681024551, 0.03343820199370384, -0.010699129663407803, -0.0018504569306969643, -0.039184536784887314, 0.021982014179229736, 0.008624063804745674, -0.07161940634250641, -0.034824617207050323, -0.05819305032491684, -0.009714043699204922, 0.005322201177477837, -0.0784420445561409, 0.045131538063287735, -0.03030051849782467, 0.010826826095581055, -0.002230125479400158, 0.06527107208967209, -0.02750944159924984, -0.0007074605673551559, -0.04633553326129913, 0.02780131809413433, -0.0005675076390616596, -0.05293925851583481, 0.02661556750535965, -0.025046726688742638, 0.05910516530275345, 0.006900163367390633, 0.008377792313694954, 0.04465723782777786, 0.06683991849422455, -0.008441640995442867, -0.041081737726926804, 0.06027267500758171, 0.03626576438546181, 0.0022221445105969906, 0.003048750339075923, 0.03464219346642494, 0.0320882685482502, 0.06786148995161057, 0.016162708401679993, -0.027564167976379395, -0.008537412621080875, 0.05520130693912506, -0.026633810251951218, 0.046517953276634216, -0.028166165575385094, -0.0829661414027214, -0.012085546739399433, 0.0308842733502388, 0.010097132995724678, -0.013836811296641827, 0.03487934544682503, -0.034313831478357315, 0.04031556099653244, -0.04695577174425125, -0.020522627979516983, 0.03380304574966431, 0.049509696662425995, -0.017731549218297005, -0.008008385077118874, 0.007301494479179382, 0.01660052500665188, -0.026943929493427277, -0.06366574764251709, 0.021088140085339546, 0.059834860265254974, -0.0012438992271199822, 0.03922102227807045, 0.024244064465165138, 0.000013824269444739912, 0.05965243652462959, -0.01977469213306904, 0.05031236261129379, -0.0052036261186003685, -0.03473340719938278, -0.017667701467871666, -0.04089931398630142, 0.03632048889994621, 0.02006656862795353, -0.00958634726703167, 0.014511778019368649, -0.01182103343307972, 0.04089931398630142, 0.07395442575216293, 0.07566920667886734, 0.030446456745266914, 0.08063112199306488, 0.07610702514648438, -0.04330730438232422, -0.05293925851583481, -0.044839661568403244, 0.03635697439312935, 0.008934183977544308, 0.05607694014906883, 0.027564167976379395, -0.009549862705171108, -0.023806247860193253, -0.016062377020716667, 0.020632080733776093, -0.04735710099339485, 0.03812647983431816, 0.015223228372633457, -0.006462347228080034, -0.009349197149276733, 0.04597068578004837, 0.0034546421375125647, -0.09945721179246902, 0.04418293759226799, 0.022401588037610054, -0.021763106808066368, -0.05213659256696701, 0.024791333824396133, 0.03617455065250397, 0.019683480262756348, -0.012851725332438946, 0.008988910354673862, -0.0008499788236804307, 0.04823273420333862, -0.051771748811006546, -0.0060564554296433926, -0.0763259306550026, 0.05928758904337883, -0.0015562992775812745, -0.04987454414367676, 0.008592139929533005, 0.01136497501283884, 0.019245663657784462, 0.005942440591752529, 0.006079258397221565 ]
44,105
dataclass_array.ops
concat
Concatenate dataclasses together.
def concat(arrays: Iterable[DcT], *, axis: int = 0) -> DcT: """Concatenate dataclasses together.""" return _ops_base( arrays, axis=axis, array_fn=lambda xnp, axis, f: xnp.concatenate( # pylint: disable=g-long-lambda [getattr(arr, f.name) for arr in arrays], axis=axis ), dc_fn=lambda xnp, axis, f: concat( # pylint: disable=g-long-lambda [getattr(arr, f.name) for arr in arrays], axis=axis, ), )
(arrays: Iterable[~DcT], *, axis: int = 0) -> ~DcT
[ -0.0893087163567543, 0.006219103001058102, -0.009093406610190868, -0.004824724048376083, 0.003650622209534049, -0.009820536710321903, -0.027357211336493492, -0.043662041425704956, 0.09327799081802368, -0.011736739426851273, 0.013096900656819344, -0.02384987659752369, 0.0351075641810894, 0.03185686469078064, 0.030060425400733948, -0.031446248292922974, -0.015278291888535023, 0.03305448964238167, 0.016005422919988632, 0.000477713969303295, 0.012634959071874619, 0.01917913183569908, -0.02314840815961361, 0.004790505860000849, -0.02116377092897892, 0.03955589234828949, 0.028811471536755562, -0.008015543222427368, -0.06412434577941895, -0.01633049175143242, -0.013173891231417656, -0.01895671710371971, -0.042498629540205, -0.05560408532619476, -0.024517124518752098, -0.03134359419345856, 0.02886279858648777, 0.015808669850230217, 0.01584288664162159, 0.060257721692323685, 0.05030031129717827, -0.060565680265426636, 0.004022741690278053, -0.06234501302242279, 0.05006078630685806, 0.020393868908286095, 0.0015034489333629608, -0.028315311297774315, -0.08527100831270218, 0.011608422733843327, 0.00725847203284502, -0.04369625821709633, 0.017588000744581223, 0.0074423933401703835, -0.01658712700009346, 0.030744783580303192, 0.039487455040216446, 0.034645624458789825, -0.08219139277935028, 0.027836261317133904, -0.0030197296291589737, -0.009991626255214214, 0.0018798458622768521, 0.020564958453178406, -0.0033661858178675175, 0.007493719924241304, -0.06508244574069977, -0.021488841623067856, 0.0067665898241102695, -0.03228458762168884, -0.016202175989747047, 0.04831567406654358, -0.015184192918241024, -0.03093298152089119, 0.00003538745659170672, -0.005042863078415394, 0.00171838013920933, -0.004799060523509979, 0.015902768820524216, -0.03048814833164215, -0.03291761875152588, 0.00621482590213418, -0.05775981396436691, 0.042259104549884796, 0.041506312787532806, -0.030984308570623398, -0.07213133573532104, 0.03062501922249794, -0.10292743891477585, -0.01304557453840971, -0.007224253844469786, 0.0027246002573519945, -0.02499617636203766, 0.01834079436957836, 0.04321720823645592, 0.03784499689936638, -0.04212223365902901, 0.01606530323624611, -0.019966144114732742, 0.04390156641602516, 0.03444031625986099, -0.047802407294511795, 0.050266094505786896, -0.010607548989355564, -0.023507697507739067, -0.0037211966700851917, -0.012703395448625088, -0.005975300911813974, -0.023901203647255898, -0.004354227799922228, 0.010966836474835873, 0.01346474327147007, 0.10155872255563736, -0.04451748728752136, 0.037776559591293335, -0.05608313903212547, 0.005932528525590897, 0.04968439042568207, -0.06508244574069977, 0.009692220017313957, 0.044106870889663696, 0.03129227086901665, 0.011531432159245014, 0.0064329649321734905, -0.027203230187296867, 0.015389500185847282, 0.04294346272945404, 0.024311818182468414, -0.02446579746901989, -0.046844303607940674, -0.01839212141931057, -0.02001747116446495, -0.045612458139657974, -0.007557878736406565, 0.030590802431106567, -0.022891774773597717, 0.02653598040342331, 0.012883039191365242, -0.03835826367139816, -0.022754903882741928, -0.004636525176465511, -0.007617759983986616, 0.02306286431849003, 0.04068508371710777, -0.004215217661112547, 0.014636706560850143, -0.0016488750698044896, -0.02001747116446495, -0.014166210778057575, 0.02645043656229973, -0.028520619496703148, 0.037639688700437546, 0.005953914485871792, -0.004918823018670082, -0.019384440034627914, 0.0023802826181054115, -0.05847838893532753, -0.018375011160969734, -0.018648754805326462, -0.027305884286761284, -0.05649375170469284, 0.0005263675120659173, -0.05293508991599083, 0.012455315329134464, -0.01531250961124897, -0.009581011720001698, -0.05406428128480911, -0.023678787052631378, -0.0695992037653923, -0.02337082475423813, 0.07254194468259811, -0.06460339576005936, 0.06994138658046722, -0.02015434205532074, -0.002795174717903137, -0.025817405432462692, -0.018272358924150467, 0.042840808629989624, -0.04396999999880791, -0.003280641045421362, 0.017280038446187973, 0.024876412004232407, -0.003109551500529051, -0.014200428500771523, -0.005641676019877195, -0.018357902765274048, 0.002797313267365098, -0.02099268138408661, 0.08027519285678864, 0.019641073420643806, 0.03129227086901665, 0.043764691799879074, -0.04017181321978569, 0.048555199056863785, 0.035141780972480774, -0.038084521889686584, -0.04636525362730026, 0.010795746929943562, 0.057794030755758286, 0.09122491627931595, -0.06128425896167755, 0.06515087932348251, 0.07062574476003647, -0.022908883169293404, 0.015569143928587437, -0.015226964838802814, -0.026689961552619934, 0.03678424283862114, -0.0739106610417366, -0.03137781471014023, 0.10402241349220276, -0.013259436003863811, -0.03479960188269615, 0.000538129941560328, -0.00469640688970685, 0.042395979166030884, 0.019777946174144745, -0.04403843730688095, -0.02107822522521019, -0.05314039811491966, 0.044859666377305984, -0.036373626440763474, -0.004379891324788332, 0.03921371325850487, -0.024807976558804512, -0.02337082475423813, 0.003002620767802, 0.0009046357008628547, 0.00599668687209487, -0.023353716358542442, 0.0194015484303236, -0.009093406610190868, -0.0314120315015316, -0.03524443507194519, 0.035141780972480774, 0.020872918888926506, 0.02886279858648777, -0.0026925208512693644, 0.049034249037504196, 0.01711750403046608, -0.05885478854179382, -0.01698063313961029, -0.02001747116446495, -0.03291761875152588, 0.02511593885719776, -0.013584505766630173, 0.015090093947947025, 0.04431217908859253, -0.04465435817837715, 0.014876231551170349, -0.01675821654498577, -0.0006095063290558755, 0.03866622596979141, -0.027066359296441078, -0.04739179089665413, -0.008370554074645042, -0.012001927942037582, -0.033242687582969666, -0.010342360474169254, -0.047494444996118546, 0.01741691119968891, 0.01555203553289175, 0.005436368752270937, 0.05793090537190437, -0.08732408285140991, 0.026347782462835312, 0.05259291082620621, -0.00829356350004673, -0.02718612179160118, 0.03471405804157257, 0.014876231551170349, 0.09122491627931595, -0.026501763612031937, -0.0023182625882327557, -0.0026497486978769302, 0.04975282400846481, 0.009076298214495182, -0.008691346272826195, -0.029803790152072906, -0.0468100868165493, 0.02917075902223587, -0.05283243581652641, -0.04386734589934349, -0.05782825127243996, -0.03266098350286484, -0.012001927942037582, -0.017100395634770393, -0.04910268634557724, -0.02838374674320221, 0.019812162965536118, 0.04646790772676468, 0.00008340612839674577, 0.03750281780958176, -0.02670706994831562, -0.003237868659198284, -0.05971023440361023, -0.04335407912731171, 0.012960029765963554, -0.0015857857652008533, 0.007985602132976055, -0.03312292695045471, 0.012403988279402256, 0.035141780972480774, 0.027648063376545906, -0.03177132084965706, -0.054132718592882156, 0.007865839637815952, -0.020616283640265465, 0.0008116058306768537, 0.04923955723643303, -0.008468929678201675, 0.014422844164073467, -0.027562517672777176, 0.03541552647948265, -0.004653634503483772, 0.021454622969031334, 0.016125185415148735, 0.020359650254249573, 0.02200211025774479, 0.019589748233556747, -0.016698334366083145, -0.039008405059576035, -0.01476502325385809, 0.022344287484884262, -0.036099884659051895, 0.052353385835886, 0.023131299763917923, -0.04123256728053093, 0.011420223861932755, -0.01567179709672928, 0.038084521889686584, -0.012788940221071243, 0.03303738310933113, 0.057657159864902496, 0.05971023440361023, 0.012480978854000568, 0.04646790772676468, -0.053619448095560074, 0.0004846644587814808, -0.02354191429913044, -0.022994428873062134, 0.03300316259264946, -0.02287466637790203, 0.027921805158257484, -0.017793307080864906, -0.03712642192840576, -0.02521859109401703, 0.010128498077392578, 0.008879545144736767, 0.023114191368222237, 0.020530739799141884, -0.037639688700437546, -0.05878635123372078, 0.021488841623067856, 0.06607476621866226, 0.05170324444770813, -0.03067634627223015, 0.07589530199766159, 0.03317425400018692, -0.015629025176167488, 0.040411338210105896, -0.015389500185847282, 0.051463719457387924, 0.017656436190009117, 0.045509807765483856, 0.04540715366601944, -0.0009693289175629616, -0.05875213444232941, -0.055946264415979385, -0.0295642651617527, -0.013336426578462124, 0.005030031315982342, 0.040993042290210724, 0.009341486729681492, -0.050574056804180145, -0.009495466947555542, -0.027870479971170425, -0.0023781440686434507, -0.002949155168607831, 0.0011099431430920959, -0.012070364318788052, -0.04629681631922722, 0.03811873868107796, 0.004867495968937874, -0.010308141820132732, 0.01654435507953167, -0.008054038509726524, -0.017083285376429558, -0.039795417338609695, 0.009786318987607956, 0.07028356194496155, -0.025098828598856926, -0.037639688700437546, -0.04602307453751564, -0.1553492695093155, -0.011693967506289482, -0.01839212141931057, -0.02169414795935154, -0.05663062259554863, -0.03182264789938927, -0.03180553764104843, -0.03189108148217201, 0.06032615527510643, 0.05030031129717827, -0.010042953304946423, -0.007160095497965813, -0.0011356065515428782, -0.05098466947674751, -0.03216482698917389, 0.054406460374593735, -0.0172458216547966, 0.04417530819773674, 0.030419712886214256, 0.06918859481811523, 0.04078773781657219, -0.004910268355160952, -0.04260128363966942, 0.006189162377268076, 0.04831567406654358, 0.0613526925444603, 0.012104582041501999, 0.00904207956045866, -0.038563571870326996, 0.004649356938898563, -0.010744420811533928, -0.0044526043348014355, 0.009820536710321903, 0.03832404688000679, -0.00928160548210144, -0.007934275083243847, -0.012284225784242153, 0.010932618752121925, -0.09327799081802368, -0.025492334738373756, -0.00877689104527235, 0.0030689178965985775, 0.020821591839194298, 0.004027019254863262, 0.05447489768266678, 0.021232206374406815, -0.03692111372947693, 0.003808879991993308, 0.013721377588808537, -0.049787044525146484, -0.07274725288152695, -0.026056930422782898, -0.015783006325364113, -0.033157143741846085, -0.05923118442296982, -0.02776782587170601, 0.06665647029876709, 0.0326438769698143, 0.02530413679778576, -0.002589867217466235, 0.055775176733732224, -0.010778638534247875, 0.03760547190904617, -0.05095045268535614, -0.040240250527858734, 0.012352662160992622, -0.03811873868107796, -0.00615922175347805, 0.0644323080778122, -0.038084521889686584, 0.010684539563953876, -0.010573331266641617, -0.0044654360972344875, -0.04013759642839432, -0.02253248728811741, 0.04222488775849342, 0.02894834242761135, -0.02595427632331848, 0.0016360433073714375, -0.0033105816692113876, -0.018101269379258156, 0.024311818182468414, 0.0016445977380499244, 0.01772487163543701, -0.024568451568484306, -0.009632338769733906, -0.0187856275588274, 0.02018856070935726, 0.010239706374704838, -0.04304611682891846, -0.002120440360158682, 0.08499725908041, 0.024653997272253036, 0.024534234777092934, 0.07534781098365784, 0.032096389681100845, 0.007686195895075798, 0.050402965396642685, -0.0351075641810894, -0.03709220141172409, 0.04027446731925011, 0.027442755177617073, -0.0375712551176548, 0.006060845218598843, -0.00588547857478261, 0.02292599342763424, -0.004863218870013952, -0.036373626440763474, 0.005034308414906263, -0.007921443320810795, 0.02670706994831562, -0.041780054569244385, 0.04335407912731171, 0.030779000371694565, -0.01645880937576294, -0.022344287484884262, -0.029598483815789223, -0.07110479474067688, -0.029016777873039246, 0.02995777130126953, 0.03784499689936638, -0.03651049733161926, -0.02877725288271904, 0.02468821406364441, 0.022515377029776573, 0.02547522634267807, 0.029632700607180595, 0.039145275950431824, -0.07911178469657898, 0.03661315143108368, -0.040993042290210724, 0.026330674067139626, 0.004384168423712254, -0.0016210729954764247, -0.043182987719774246, 0.025851622223854065, -0.025851622223854065, -0.013533179648220539, 0.020736046135425568, 0.008212296292185783, -0.008682792074978352, 0.031617339700460434, -0.004764842335134745, 0.012925811111927032, 0.05738341808319092, 0.013610169291496277, 0.04171162098646164, 0.02670706994831562, 0.096083864569664, -0.010025844909250736, -0.03675002232193947, -0.01998325251042843, 0.004050543997436762, -0.0056031811982393265, 0.04646790772676468, 0.026416217908263206, -0.055946264415979385, -0.03544974327087402, -0.03158312290906906, 0.06679333746433258, -0.004275098908692598, -0.00783589854836464, -0.05584361031651497, 0.01178806647658348, -0.026416217908263206, 0.016843760386109352, 0.05043718218803406, 0.0068307481706142426, 0.02595427632331848, 0.01702340506017208, 0.020958462730050087, 0.012138799764215946, 0.016997741535305977, 0.02195078320801258, -0.026604417711496353, -0.04876050725579262, -0.07247351109981537, 0.024311818182468414, -0.06155800074338913, -0.026655742898583412, 0.033721741288900375, 0.01150576863437891, -0.020667610689997673, 0.038700442761182785, -0.032096389681100845, -0.022515377029776573, -0.04513340815901756, 0.04691274091601372, -0.014191873371601105, -0.04047977551817894, 0.07226820290088654, -0.011454441584646702, -0.025184374302625656, -0.042703937739133835, 0.03384150192141533, -0.09143022447824478, -0.014585379511117935, 0.01905936934053898, -0.025047501549124718, 0.04201957955956459, 0.0652877539396286, 0.011274797841906548, -0.06532196700572968, 0.031172506511211395, -0.04383312910795212, -0.030111750587821007, 0.049615953117609024, 0.024517124518752098, 0.0351075641810894, 0.029752463102340698, -0.0071216002106666565, -0.03413235396146774, -0.02768228016793728, -0.0025364018511027098, 0.011907828971743584, 0.017040513455867767, 0.06316624581813812, 0.03278074786067009, -0.006492846645414829, 0.005034308414906263, 0.03497069329023361, -0.05587783083319664, -0.07261038571596146, 0.01693785935640335, 0.01614229381084442, 0.032489895820617676, 0.025577880442142487, 0.039316367357969284, -0.012036146596074104, 0.016561463475227356, -0.02891412563621998, 0.043627820909023285, -0.026826832443475723, -0.007934275083243847, 0.029752463102340698, 0.008083978667855263, 0.01742546446621418, -0.01517563872039318, 0.06761457026004791, -0.03173710033297539, -0.019504202529788017, -0.04629681631922722, -0.03084743581712246, 0.05307196080684662, 0.005385041702538729, -0.04622838273644447, 0.01953842118382454, 0.013755595311522484, -0.02472243271768093, -0.01777619868516922, 0.017357029020786285, -0.08540787547826767, -0.05081358179450035, -0.06378216296434402, 0.013875357806682587, -0.01408066600561142, 0.01706617698073387, 0.016706889495253563, -0.020650502294301987, 0.036715805530548096, 0.009007861837744713, 0.03180553764104843, -0.02256670407950878, 0.00044215942034497857, 0.03705798462033272, 0.01003439910709858, 0.03709220141172409, -0.04222488775849342, 0.05803355574607849, -0.02018856070935726, 0.01097539160400629, 0.015372391790151596, 0.02723744884133339, -0.012506642378866673, 0.03551818057894707, 0.014790686778724194, -0.06672490388154984, 0.026056930422782898, -0.016698334366083145, 0.0034902256447821856, 0.01926467753946781, -0.004991536028683186, 0.018682973459362984, 0.013293653726577759, 0.017100395634770393, -0.056870147585868835, 0.037776559591293335, 0.0022647972218692303, 0.016783880069851875, -0.009495466947555542, -0.021813910454511642, -0.09334643185138702, 0.04756287857890129, 0.00490599125623703, 0.007275580894201994, -0.05574095994234085, 0.05214807763695717, 0.05724654719233513, 0.051326848566532135, -0.028041569516062737, -0.00242519355379045, 0.022378506138920784, 0.05324305221438408, -0.050710927695035934, -0.029495829716324806, 0.018426338210701942, 0.015030212700366974, 0.007613482419401407, -0.0346798412501812, -0.01408066600561142, 0.040993042290210724, 0.0437304750084877, 0.018186813220381737, 0.017040513455867767, 0.03158312290906906, 0.018648754805326462, 0.002577035455033183, 0.04112991690635681, 0.02511593885719776, 0.03736594691872597, -0.007181481458246708, -0.0689832866191864, 0.05064249038696289, 0.037297509610652924, -0.023678787052631378, 0.043935783207416534, -0.016963522881269455, 0.04051399230957031, 0.09567324817180634, 0.03014596924185753, 0.03568926826119423, 0.05977867171168327, 0.06847001612186432, -0.02054784819483757, -0.016783880069851875, -0.019247569143772125, 0.034474533051252365, 0.02032543160021305, 0.0314120315015316, 0.017844634130597115, 0.016125185415148735, -0.012848821468651295, 0.0006121796322986484, -0.011035272851586342, -0.015030212700366974, 0.048247236758470535, -0.044551704078912735, -0.037297509610652924, 0.0517374649643898, -0.0338757187128067, -0.00561173539608717, -0.08629754185676575, 0.03488514944911003, 0.01948709413409233, -0.012788940221071243, 0.00801126565784216, 0.05293508991599083, 0.032096389681100845, -0.051463719457387924, -0.005928250961005688, 0.0687437579035759, 0.029803790152072906, 0.0022327180486172438, -0.04694695770740509, -0.03392704576253891, -0.1288646161556244, 0.0344916433095932, -0.005231061484664679, 0.00179857830516994, 0.0012821019627153873, 0.06532196700572968, -0.0034004037734121084, 0.03158312290906906, 0.0006164568476378918 ]
44,106
dataclass_array.array_dataclass
dataclass_array
Optional decorator to customize `dca.DataclassArray` params. Usage: ```python @dca.dataclass_array() class MyDataclass(dca.DataclassArray): ... ``` This decorator has to be added in addition of inheriting from `dca.DataclassArray`. Args: broadcast: If `True`, enable input broadcasting cast_dtype: If `True`, auto-cast inputs `dtype` cast_list: If `True`, auto-cast lists to `xnp.ndarray` Returns: decorator: The decorator which will apply the options to the dataclass
def dataclass_array( *, # If modifying this, make sure to modify `DataclassParams` too! broadcast: bool = False, cast_dtype: bool = False, cast_list: bool = True, ) -> Callable[[type[_DcT]], type[_DcT]]: """Optional decorator to customize `dca.DataclassArray` params. Usage: ```python @dca.dataclass_array() class MyDataclass(dca.DataclassArray): ... ``` This decorator has to be added in addition of inheriting from `dca.DataclassArray`. Args: broadcast: If `True`, enable input broadcasting cast_dtype: If `True`, auto-cast inputs `dtype` cast_list: If `True`, auto-cast lists to `xnp.ndarray` Returns: decorator: The decorator which will apply the options to the dataclass """ def decorator(cls): if not issubclass(cls, DataclassArray): raise TypeError( '`@dca.dataclass_array` can only be applied on `dca.DataclassArray`. ' f'Got: {cls}' ) cls.__dca_params__ = DataclassParams( broadcast=broadcast, cast_dtype=cast_dtype, cast_list=cast_list, ) return cls return decorator
(*, broadcast: bool = False, cast_dtype: bool = False, cast_list: bool = True) -> Callable[[type[~_DcT]], type[~_DcT]]
[ 0.005512726027518511, 0.007268795743584633, 0.017409544438123703, -0.04008285328745842, -0.030533388257026672, -0.00553940050303936, -0.09026644378900528, -0.02688787505030632, 0.04456416517496109, -0.014235280454158783, -0.008455810137093067, -0.0425369031727314, 0.033111922442913055, -0.023242363706231117, -0.0015237797051668167, -0.016253650188446045, 0.02907518297433853, 0.057474613189697266, -0.0232067983597517, 0.021784158423542976, 0.013301674276590347, -0.015604570508003235, -0.04748057574033737, 0.009442766197025776, 0.007802285254001617, 0.03608167916536331, 0.009291610680520535, 0.034587908536195755, -0.018689919263124466, -0.02745693176984787, 0.0038900284562259912, -0.008153499104082584, -0.04033181443810463, 0.06344969570636749, 0.011541157960891724, 0.0012170231202617288, 0.02925301343202591, -0.020148124545812607, -0.03080013208091259, 0.06320073455572128, 0.02142849937081337, -0.05580301210284233, -0.028257165104150772, 0.0077933939173817635, 0.010020713321864605, 0.01669822447001934, -0.003518808400258422, -0.026781177148222923, -0.062453851103782654, -0.014537591487169266, 0.011354437097907066, -0.05320669710636139, 0.03007103130221367, 0.010696466080844402, -0.006072890013456345, 0.033858805894851685, 0.014519808813929558, 0.06046215444803238, -0.017142798751592636, -0.007082074414938688, 0.028701741248369217, -0.0052682096138596535, 0.055198390036821365, -0.042003415524959564, -0.004761394578963518, 0.012012407183647156, -0.047622837126255035, 0.02786594070494175, 0.013043820858001709, -0.006432995665818453, -0.04378171265125275, 0.03830455243587494, 0.03282739222049713, -0.01858322136104107, 0.015320043079555035, -0.02606985904276371, -0.039869457483291626, -0.00005973971929051913, -0.04107869789004326, 0.03962049260735512, -0.02786594070494175, -0.002420709002763033, -0.006228491198271513, 0.04082973673939705, 0.03769993036985397, -0.018191995099186897, -0.04726717993617058, 0.027901506051421165, -0.04303482919931412, 0.01694718562066555, -0.0055038342252373695, -0.01165674813091755, -0.007277687080204487, 0.07397722452878952, -0.03848238289356232, 0.016022471711039543, 0.03334309905767441, 0.029768720269203186, 0.0232067983597517, 0.0746174156665802, 0.02665669657289982, -0.015604570508003235, 0.11793676763772964, -0.018529871478676796, -0.00692647323012352, -0.05882611870765686, -0.043390486389398575, 0.0146709643304348, -0.018209777772426605, 0.027581412345170975, -0.012919340282678604, -0.003481019753962755, 0.05548292025923729, 0.019258974120020866, 0.03965606167912483, -0.010865405201911926, -0.014688747003674507, 0.00523264380171895, -0.045168787240982056, -0.012794858776032925, 0.05541178584098816, 0.036704085767269135, -0.0033698759507387877, 0.02606985904276371, -0.0500413253903389, 0.006650837138295174, 0.012510331347584724, 0.05612310767173767, 0.030924614518880844, 0.016191409900784492, 0.010607551783323288, -0.04189671576023102, -0.03298744186758995, -0.01768518052995205, 0.06657950580120087, -0.011354437097907066, 0.06512130051851273, -0.03225833922624588, -0.06874902546405792, -0.026745611801743507, 0.03755766898393631, 0.013701790943741798, 0.03883804380893707, 0.042074546217918396, 0.03380545601248741, -0.009122672490775585, 0.0035477059427648783, -0.0013548412825912237, -0.03368097543716431, 0.005308221559971571, 0.010518636554479599, -0.010278566740453243, -0.02281557209789753, -0.00030592293478548527, 0.01564902812242508, -0.03716644272208214, -0.05939517542719841, -0.033040788024663925, -0.0074466257356107235, 0.017622940242290497, -0.019845813512802124, -0.02109062299132347, -0.06344969570636749, 0.007259904406964779, -0.023349061608314514, -0.06092451140284538, -0.008811470121145248, -0.04164775460958481, -0.03439229726791382, 0.026870092377066612, 0.029128532856702805, -0.07497306913137436, 0.030373340472579002, 0.030568953603506088, -0.004965899046510458, 0.0013804043410345912, 0.0007152095204219222, 0.008931505493819714, 0.044350769370794296, 0.005179294850677252, 0.05452263727784157, 0.030533388257026672, -0.001593800145201385, 0.005041476804763079, 0.01686716265976429, 0.03096017986536026, -0.001180345774628222, 0.033609844744205475, 0.04008285328745842, 0.04918774217367172, -0.028399430215358734, 0.00023187347687780857, 0.0077800569124519825, -0.002887512557208538, 0.035245880484580994, -0.04317709058523178, -0.06042658910155296, 0.022513261064887047, -0.04979236423969269, 0.04342605173587799, 0.00038566853618249297, 0.008358003571629524, 0.08628305047750473, -0.05679886043071747, 0.019863596186041832, -0.0074599627405405045, 0.034250032156705856, -0.005397136323153973, -0.017142798751592636, -0.08094815909862518, 0.043461620807647705, 0.012732618488371372, 0.03199159353971481, -0.02486061491072178, 0.029466409236192703, -0.03873134404420853, 0.12092430889606476, -0.03225833922624588, -0.02288670465350151, -0.0055971951223909855, 0.041185397654771805, -0.0072065554559230804, -0.011016560718417168, 0.04627133160829544, -0.025714198127388954, -0.04075860604643822, -0.03430338203907013, -0.012821533717215061, 0.04676925390958786, -0.045097652822732925, -0.024149296805262566, -0.009300502017140388, -0.03848238289356232, -0.014430893585085869, 0.050148021429777145, -0.02697679027915001, 0.0065130190923810005, 0.02459387108683586, 0.007922320626676083, 0.049899060279130936, 0.03485465422272682, 0.010411938652396202, 0.021944206207990646, 0.018885532394051552, 0.013266107998788357, 0.006344080436974764, 0.03151145204901695, 0.04676925390958786, -0.014688747003674507, -0.022673308849334717, -0.07490193843841553, -0.02598094381392002, -0.021713025867938995, 0.0022139819338917732, -0.02509179338812828, 0.04132766276597977, -0.02711905539035797, 0.0013148295693099499, -0.00688646174967289, -0.021375149488449097, -0.034250032156705856, -0.024700568988919258, 0.02558971755206585, 0.025376321747899055, 0.0012181345373392105, 0.022780006751418114, 0.013186085037887096, -0.01703610084950924, -0.03508583456277847, 0.043461620807647705, -0.02736801654100418, 0.08059249818325043, 0.034338947385549545, -0.012910448014736176, -0.014119691215455532, 0.034996919333934784, 0.03569045290350914, -0.08422022312879562, 0.039976153522729874, -0.021624112501740456, -0.0038811368867754936, -0.029928766191005707, -0.038091156631708145, -0.032702911645174026, 0.059430740773677826, -0.027225753292441368, -0.0029653131496161222, 0.08692324161529541, 0.005712784361094236, 0.04772953689098358, -0.001810530317015946, -0.04470643028616905, 0.06761091202497482, 0.004281254019588232, 0.009727293625473976, -0.05359792336821556, -0.003703306894749403, -0.00994068942964077, -0.008953733369708061, -0.04918774217367172, -0.011132149957120419, 0.020237039774656296, 0.07618231326341629, 0.029519757255911827, -0.07031393051147461, -0.02158854529261589, -0.03937153145670891, 0.0029164098668843508, -0.011861252598464489, 0.009798425249755383, 0.04918774217367172, 0.028559476137161255, -0.034819088876247406, 0.02233543060719967, -0.012216911651194096, 0.013781814835965633, 0.016751574352383614, -0.006135130301117897, 0.0466269925236702, 0.030497822910547256, -0.02420264482498169, -0.030764566734433174, 0.00321872066706419, -0.03177819773554802, 0.021784158423542976, 0.026176556944847107, 0.06956704705953598, -0.03869577869772911, 0.032222770154476166, 0.01744510978460312, 0.012341393157839775, 0.04033181443810463, 0.011176607571542263, -0.008780349977314472, 0.01564902812242508, 0.02183750830590725, -0.006801992189139128, -0.027065705507993698, 0.012617029249668121, -0.018725484609603882, -0.06487233191728592, 0.016582634299993515, -0.021126188337802887, 0.03280961140990257, -0.05029028654098511, -0.021410716697573662, -0.07902759313583374, 0.06366309523582458, 0.027403581887483597, 0.02418486215174198, 0.07490193843841553, -0.026674479246139526, 0.0012025744654238224, 0.10086510330438614, 0.031422536820173264, -0.052353113889694214, 0.04676925390958786, -0.019685765728354454, 0.003827787935733795, -0.03576158732175827, 0.02274443954229355, 0.013141627423465252, -0.020076991990208626, -0.003356538712978363, 0.02452273853123188, 0.04719604551792145, -0.01784522645175457, -0.06963817775249481, 0.03521031513810158, 0.013230541720986366, -0.01580907590687275, -0.029466409236192703, 0.023349061608314514, 0.004025623667985201, 0.06206262484192848, -0.059857532382011414, -0.03826898708939552, -0.008900384418666363, 0.012243586592376232, 0.039300400763750076, -0.044777560979127884, -0.05011245608329773, 0.038340117782354355, -0.024913964793086052, 0.0016671549528837204, 0.036455124616622925, 0.01653817854821682, 0.04271473363041878, -0.014804336242377758, 0.010652009397745132, -0.0007352153770625591, -0.014484242536127567, -0.05921734496951103, -0.06088894605636597, -0.07525759935379028, 0.020574916154146194, -0.018440958112478256, 0.07440401613712311, 0.01826312765479088, -0.033947721123695374, -0.03112022764980793, -0.03855351358652115, 0.03883804380893707, 0.0014026330318301916, 0.016155842691659927, 0.012385849840939045, 0.04812076315283775, -0.08350890874862671, -0.007015388458967209, 0.009789533913135529, 0.06537026166915894, 0.01703610084950924, 0.02711905539035797, 0.0627739429473877, 0.05224641412496567, 0.05783027410507202, -0.0884881392121315, 0.016840487718582153, 0.032382819801568985, -0.018618786707520485, 0.052602075040340424, -0.0233134962618351, 0.001294823712669313, -0.04043851047754288, 0.027474714443087578, 0.04360388219356537, 0.008153499104082584, 0.011061017401516438, -0.03787776082754135, 0.008984854444861412, -0.013915186747908592, -0.013141627423465252, -0.08066362887620926, 0.009513897821307182, -0.024558303877711296, -0.011416677385568619, 0.007522203493863344, 0.006882016081362963, 0.012510331347584724, -0.0022606621496379375, -0.016351455822587013, -0.024238210171461105, 0.01979246363043785, -0.02249547839164734, -0.06561922281980515, -0.057403482496738434, -0.011354437097907066, -0.026585565879940987, 0.024327125400304794, -0.09090662747621536, 0.05135726556181908, 0.013995210640132427, 0.06935364753007889, 0.04630689695477486, 0.0005696113221347332, -0.021197320893406868, -0.006508572958409786, -0.06921138614416122, 0.0452754832804203, -0.010776489973068237, -0.02078831195831299, -0.06860676407814026, -0.006850895471870899, -0.06721968948841095, -0.01417304016649723, 0.02176637575030327, -0.01744510978460312, -0.039229270070791245, -0.014919925481081009, -0.03186711296439171, 0.03681078180670738, -0.022708874195814133, 0.016751574352383614, -0.02558971755206585, 0.016911620274186134, 0.048227459192276, -0.009256044402718544, 0.028452778235077858, -0.039869457483291626, 0.012359175831079483, 0.014715421944856644, -0.023011185228824615, -0.003907811362296343, -0.027065705507993698, -0.027065705507993698, -0.010171868838369846, 0.019828030839562416, 0.006744197569787502, -0.008651423268020153, 0.026265472173690796, -0.03858908265829086, 0.04050964489579201, 0.04040294513106346, 0.001852764980867505, 0.06067555025219917, 0.02973315306007862, 0.04577340930700302, 0.03837568685412407, 0.03446342796087265, -0.016840487718582153, -0.010420829989016056, -0.02745693176984787, -0.039158135652542114, -0.037095312029123306, 0.026336602866649628, -0.0413987934589386, 0.00028355527319945395, 0.014804336242377758, -0.03876690939068794, 0.035548191517591476, -0.04972122982144356, 0.017080558463931084, -0.03071121871471405, 0.052993301302194595, 0.017880793660879135, -0.018183104693889618, -0.03521031513810158, -0.014653180725872517, -0.013746248558163643, 0.017791878432035446, 0.02891513705253601, 0.11139263212680817, -0.032044943422079086, 0.014742095954716206, -0.029519757255911827, 0.026105424389243126, 0.06494347006082535, -0.024789484217762947, 0.014573157764971256, 0.05114386975765228, -0.02484283223748207, -0.0466269925236702, 0.037202008068561554, 0.08180174231529236, -0.0005284881335683167, 0.023580240085721016, -0.011176607571542263, 0.08407796174287796, 0.0575457438826561, 0.0025074011646211147, 0.04018954932689667, 0.03812672197818756, 0.05925291031599045, -0.04378171265125275, 0.02526962384581566, -0.017489567399024963, 0.014573157764971256, -0.0232067983597517, 0.006695294287055731, 0.03560153767466545, -0.016653766855597496, -0.0019805801566690207, 0.004021177999675274, 0.037593234330415726, 0.007046508602797985, -0.029875418171286583, 0.01250144001096487, -0.009922906756401062, -0.022584393620491028, 0.005650544073432684, -0.04804962873458862, -0.0006879792781546712, 0.001648260629735887, -0.05971527099609375, -0.006055106874555349, 0.021819723770022392, 0.05711895227432251, 0.07376383244991302, -0.05825706571340561, -0.03769993036985397, -0.02697679027915001, -0.02004142664372921, -0.06850006431341171, 0.056514330208301544, 0.00855361670255661, 0.061813659965991974, 0.009931798093020916, -0.006481898482888937, -0.02941305935382843, -0.1044216975569725, 0.011212172918021679, 0.008215740323066711, -0.07241231948137283, -0.039727192372083664, -0.01573794335126877, -0.025518586859107018, 0.02395368367433548, -0.02516292594373226, -0.014208606444299221, -0.08606965839862823, -0.00028897353331558406, 0.050396982580423355, 0.008380232378840446, 0.03876690939068794, -0.004623576533049345, 0.008998190984129906, -0.03368097543716431, 0.06085338070988655, 0.018761051818728447, 0.011149932630360126, -0.025074010714888573, 0.056656595319509506, -0.01988137885928154, 0.015693485736846924, 0.0005343231605365872, -0.04780066758394241, -0.040865302085876465, -0.04563114419579506, -0.012759293429553509, -0.04097200185060501, -0.037842195481061935, 0.03403663635253906, -0.012848207727074623, 0.03455234318971634, 0.017907466739416122, -0.033111922442913055, -0.06078225001692772, 0.03983388841152191, -0.000751331215724349, 0.07180769741535187, 0.013141627423465252, 0.00962059572339058, 0.06031988933682442, 0.016840487718582153, -0.057154517620801926, -0.022708874195814133, 0.00859362818300724, -0.05032585188746452, 0.0107498150318861, -0.005272655747830868, 0.05882611870765686, 0.03659738600254059, 0.04815632849931717, -0.009513897821307182, -0.047622837126255035, -0.06753978133201599, -0.029395276680588722, 0.03937153145670891, 0.0418611504137516, -0.04417293891310692, -0.017907466739416122, 0.014973274432122707, 0.04114983230829239, 0.013488395139575005, 0.0235446747392416, -0.08215739578008652, 0.010705358348786831, -0.02557193487882614, -0.0030942396260797977, -0.017534025013446808, -0.023935901001095772, 0.015400066040456295, -0.03243616595864296, 0.027083488181233406, -0.00016449262329842895, 0.021570762619376183, -0.02663891389966011, 0.03144032135605812, -0.007975669577717781, -0.010909861885011196, 0.02681674435734749, 0.028061553835868835, -0.01160339917987585, -0.06999383866786957, 0.007282133214175701, -0.011799011379480362, -0.018689919263124466, 0.016760464757680893, 0.03428559750318527, -0.018058622255921364, -0.051926322281360626, 0.07173656672239304, -0.06896242499351501, -0.0006574147846549749, 0.04669812321662903, -0.051677361130714417, -0.023900333791971207, -0.06590374559164047, 0.003269846783950925, -0.03586828336119652, -0.009593921713531017, 0.021037273108959198, 0.013950753025710583, 0.03391215577721596, -0.060284323990345, -0.04214567691087723, 0.024255994707345963, -0.04488425701856613, 0.01883218251168728, -0.05537622049450874, 0.04676925390958786, 0.04861868545413017, 0.022175384685397148, -0.05263764038681984, 0.030853481963276863, -0.0648367702960968, -0.040687475353479385, 0.021819723770022392, -0.020308170467615128, -0.009522789157927036, -0.040865302085876465, 0.0002560472348704934, -0.07116751372814178, 0.0630229040980339, 0.003407664829865098, 0.022513261064887047, 0.036775216460227966, 0.004450192209333181, 0.05790140479803085, 0.012590354308485985, 0.029928766191005707, 0.006023986730724573, 0.02142849937081337, -0.004390174988657236, -0.019454587250947952, -0.03373432531952858, 0.029839850962162018, -0.002936415607109666, -0.0008485818980261683, 0.0037877762224525213, 0.020806094631552696, 0.07739155739545822, 0.02918188087642193, 0.049401137977838516, -0.0027207969687879086, -0.03220498934388161, 0.025785330682992935, -0.04356831684708595, 0.009762859903275967, -0.05751017853617668, 0.036953046917915344, -0.04463529586791992, -0.016991643235087395, -0.012403633445501328, 0.0013748471392318606, 0.009051539935171604, -0.03691748157143593, -0.05427367612719536, -0.05125056952238083, 0.05590971186757088, -0.06312960386276245, -0.0023517999798059464, -0.010714249685406685, -0.0015982459299266338, 0.003136474173516035, -0.028826221823692322, -0.000928605324588716, -0.007215446792542934, 0.06565478444099426, -0.053491223603487015, 0.0015804629074409604, 0.03606389835476875, -0.030853481963276863, 0.0024407149758189917, 0.059181779623031616, -0.022708874195814133, 0.035068050026893616, -0.04456416517496109, 0.01548008993268013, -0.0805213674902916, -0.00014393104356713593, 0.002927524270489812, 0.0014070788165554404, -0.05018358677625656, 0.018369825556874275, 0.00010322468006052077, 0.016804922372102737, -0.014626506716012955 ]
44,107
dataclass_array.array_dataclass
array_field
Dataclass array field. See `dca.DataclassArray` for example. Args: shape: Inner shape of the field dtype: Type of the field **field_kwargs: Args forwarded to `dataclasses.field` Returns: The dataclass field.
def array_field( shape: Shape, dtype: DTypeArg = float, **field_kwargs, ) -> dataclasses.Field[DcOrArray]: """Dataclass array field. See `dca.DataclassArray` for example. Args: shape: Inner shape of the field dtype: Type of the field **field_kwargs: Args forwarded to `dataclasses.field` Returns: The dataclass field. """ # TODO(epot): Validate shape, dtype dca_field = _ArrayFieldMetadata( inner_shape_non_static=shape, dtype=dtype, ) return dataclasses.field(**field_kwargs, metadata={_METADATA_KEY: dca_field})
(shape: 'Shape', dtype: 'DTypeArg' = <class 'float'>, **field_kwargs) -> 'dataclasses.Field[DcOrArray]'
[ 0.025362148880958557, 0.0013706479221582413, 0.00969891157001257, 0.058982592076063156, -0.009162121452391148, -0.01884726993739605, -0.01915924996137619, -0.029895035549998283, 0.043640512973070145, -0.03349198400974274, 0.008478518575429916, -0.008707915432751179, 0.03732750192284584, -0.027399195358157158, 0.06184547021985054, -0.004310372285544872, -0.0014715826837345958, 0.03382231667637825, -0.03589606657624245, 0.011479033157229424, -0.003943337127566338, 0.06257954239845276, 0.0015335199423134327, -0.06254284083843231, 0.05101792514324188, 0.04459480568766594, 0.020535632967948914, 0.017948033288121223, -0.02339850924909115, -0.05065089091658592, 0.034281108528375626, 0.03061075508594513, -0.04184203967452049, 0.06698396801948547, 0.018828917294740677, -0.07230597734451294, 0.03640991449356079, 0.01700291596353054, -0.009533745236694813, 0.025086872279644012, -0.004599412903189659, -0.06441471725702286, -0.026224682107567787, -0.018406827002763748, -0.011433153413236141, 0.017351599410176277, 0.02396741323173046, -0.025674128904938698, -0.11664386093616486, 0.01879221387207508, 0.051458366215229034, -0.011818541213870049, 0.013919818215072155, -0.006404768209904432, 0.008584041148424149, 0.0011596025433391333, -0.002085220068693161, 0.021104536950588226, -0.06092788279056549, -0.007808678783476353, -0.04932956025004387, -0.04257610812783241, 0.021398166194558144, -0.009070362895727158, -0.03000514581799507, 0.01025864016264677, 0.01817742921411991, 0.019746506586670876, 0.02870217151939869, -0.006629577372223139, -0.019251007586717606, 0.04749438539147377, 0.03277626261115074, -0.020186949521303177, 0.008749207481741905, 0.04030048847198486, -0.051274850964546204, 0.0458427257835865, 0.016599176451563835, 0.009152946062386036, -0.03253769129514694, 0.020792556926608086, 0.0072627137415111065, 0.03596947342157364, 0.037474315613508224, -0.0037804648745805025, 0.007166366558521986, 0.05391750484704971, -0.027399195358157158, -0.015158562920987606, 0.05068759247660637, -0.01576417125761509, -0.04011697322130203, 0.08038076013326645, -0.08104142546653748, -0.003018866525962949, 0.016030272468924522, 0.03540056571364403, -0.03894245997071266, 0.09513558447360992, 0.023618729785084724, -0.04969659820199013, 0.07781150937080383, 0.018746335059404373, -0.018067318946123123, -0.04158511385321617, -0.00501920934766531, 0.011130349710583687, 0.006556170526891947, -0.03971323370933533, 0.06122151017189026, 0.024995112791657448, 0.08544585108757019, 0.04969659820199013, -0.029583055526018143, 0.029307778924703598, 0.03000514581799507, -0.007611397188156843, -0.041107967495918274, -0.029050854966044426, 0.04195214807987213, 0.04940296709537506, -0.02605951577425003, 0.02371048927307129, 0.01731489598751068, -0.006670868955552578, -0.012717777863144875, -0.0032895549666136503, 0.010937655344605446, 0.007895849645137787, 0.01003841869533062, -0.017892977222800255, 0.002853700425475836, -0.040263786911964417, 0.03696046769618988, 0.05149507150053978, 0.08368407934904099, -0.04375062137842178, -0.04661349952220917, -0.00473016919568181, 0.03448297828435898, -0.05043066665530205, 0.05465157702565193, -0.025710832327604294, 0.006101964041590691, 0.06048743799328804, 0.025398852303624153, 0.012561787851154804, -0.01866375096142292, 0.02002178318798542, -0.04184203967452049, -0.007226009853184223, 0.04349369928240776, 0.020792556926608086, 0.03325340896844864, -0.045365579426288605, -0.062359318137168884, -0.060267217457294464, -0.012359918095171452, 0.020865963771939278, 0.01823248527944088, 0.03558408468961716, -0.06074436381459236, -0.02156333066523075, -0.03240922838449478, 0.005317425820976496, -0.0004874689329881221, -0.10071451961994171, -0.04305325448513031, 0.007950904779136181, 0.012809536419808865, -0.052816398441791534, 0.0320238396525383, 0.0013935876777395606, -0.03209724649786949, 0.014497899450361729, 0.018957380205392838, 0.01564488559961319, -0.003741467371582985, 0.0013568841386586428, 0.01601191982626915, 0.07861898839473724, 0.01693868450820446, 0.03875894099473953, 0.012882943265140057, 0.0690026581287384, -0.02237080968916416, 0.024059172719717026, 0.053807392716407776, 0.03251934051513672, -0.022591030225157738, 0.029895035549998283, -0.02148992381989956, -0.055165424942970276, 0.01525032240897417, -0.015984393656253815, -0.02932613156735897, 0.0010649762116372585, -0.010478861629962921, 0.07193894684314728, 0.018682103604078293, 0.021544979885220528, 0.0068497988395392895, -0.014140039682388306, -0.04576931893825531, 0.0422457791864872, 0.06606637686491013, -0.003704763948917389, -0.021104536950588226, -0.05483509227633476, 0.05692719668149948, 0.01651659421622753, -0.020737500861287117, -0.03406088799238205, 0.046723611652851105, -0.056817084550857544, 0.04220907390117645, -0.0068314471282064915, -0.027123918756842613, 0.06254284083843231, 0.04474161937832832, 0.026408199220895767, 0.0036772361490875483, -0.038171686232089996, 0.014158391393721104, -0.05439465120434761, -0.017626876011490822, -0.027123918756842613, -0.012671898119151592, -0.06874573230743408, -0.04969659820199013, 0.00024846577434800565, -0.04015367478132248, -0.05296321213245392, 0.08471177518367767, 0.03540056571364403, 0.03679530322551727, -0.04184203967452049, 0.015800874680280685, 0.025545665994286537, -0.03351033478975296, -0.023820599541068077, -0.006308421492576599, -0.0036221807822585106, -0.010221936739981174, 0.02961975894868374, 0.012194751761853695, 0.030574051663279533, -0.005863390862941742, -0.03253769129514694, -0.08706080168485641, -0.032978132367134094, 0.03453803434967995, 0.009735614992678165, 0.01266272272914648, -0.00014645574265159667, 0.08016053587198257, -0.017755338922142982, 0.01023111306130886, 0.018590344116091728, -0.01983826421201229, -0.018278364092111588, 0.002658712910488248, 0.004163558129221201, 0.04488843306899071, -0.0032436756882816553, 0.057184118777513504, -0.03971323370933533, 0.006689220666885376, 0.011534088291227818, 0.05648675188422203, 0.06720418483018875, -0.01692950911819935, -0.0408877469599247, 0.01071743480861187, -0.03191373124718666, 0.005450475960969925, 0.04279633238911629, 0.04525546729564667, 0.009689735248684883, -0.005762456450611353, -0.024536319077014923, -0.02002178318798542, 0.008528986014425755, 0.00578998401761055, -0.011378098279237747, -0.055715978145599365, 0.03367549926042557, -0.0617353580892086, 0.019177600741386414, -0.014470371417701244, -0.030720865353941917, -0.0033056128304451704, 0.02433444932103157, -0.03879564628005028, -0.00843722652643919, -0.027142269536852837, 0.04004356637597084, -0.00418879184871912, -0.021655090153217316, -0.02734413929283619, 0.08977686613798141, 0.05883577838540077, -0.007276477292180061, -0.07612314820289612, -0.0030762157402932644, -0.015158562920987606, -0.022003773599863052, -0.008547337725758553, 0.03351033478975296, -0.04030048847198486, 0.012332390062510967, -0.07351719588041306, 0.04466821253299713, -0.01670011132955551, 0.05413772538304329, 0.001768652000464499, -0.0015610475093126297, 0.05986347794532776, -0.02051728032529354, -0.010148529894649982, -0.031198011711239815, -0.01978321000933647, -0.025545665994286537, -0.02961975894868374, 0.03547397255897522, -0.006294657476246357, -0.05105462670326233, 0.02235245704650879, 0.028041506186127663, 0.03666684031486511, 0.03240922838449478, 0.010396278463304043, 0.039896752685308456, -0.018452705815434456, -0.02963811159133911, 0.019232656806707382, -0.10034748911857605, 0.0014509368920698762, -0.01308481302112341, -0.07759129256010056, 0.024866649881005287, -0.036299802362918854, 0.017351599410176277, 0.02187531068921089, -0.023196639493107796, -0.0024958408903330564, -0.015874281525611877, 0.07920624315738678, 0.044191066175699234, 0.10511894524097443, -0.0825829729437828, -0.03875894099473953, 0.005895506590604782, 0.0060606724582612514, -0.06558923423290253, 0.01065320335328579, 0.026775235310196877, -0.01749841496348381, 0.0277111753821373, -0.012855416163802147, 0.00022724654991179705, 0.03184032440185547, -0.0060882000252604485, 0.02352697029709816, 0.0576612651348114, -0.04874230548739433, -0.06680044531822205, 0.03303318843245506, 0.0308676790446043, -0.004103914834558964, -0.02198542281985283, 0.02167344279587269, -0.014130864292383194, 0.04896252602338791, -0.010176056995987892, 0.0018466470064595342, 0.012332390062510967, 0.05259617790579796, -0.023380156606435776, -0.06019381061196327, -0.04132818803191185, 0.031326472759246826, -0.03288637474179268, -0.00994666013866663, 0.047457680106163025, -0.04477832093834877, 0.037290800362825394, -0.022279050201177597, -0.01836094819009304, 0.0012880649883300066, -0.014864934608340263, -0.03776794672012329, -0.06951650977134705, -0.07597633451223373, 0.03318000212311745, -0.006689220666885376, -0.007937140762805939, 0.03653837740421295, -0.041621819138526917, -0.05351376533508301, -0.029527999460697174, -0.022444216534495354, 0.03257439285516739, 0.0020966900046914816, -0.007781151216477156, 0.029362834990024567, -0.009937483817338943, -0.0013247685274109244, 0.042098965495824814, 0.06713078171014786, 0.06885584443807602, 0.024811595678329468, 0.004200261551886797, 0.025215333327651024, -0.004977918229997158, -0.014993397518992424, -0.020407170057296753, 0.023086529225111008, -0.002392612164840102, 0.012561787851154804, 0.013791356235742569, -0.025582369416952133, -0.018883973360061646, 0.016213789582252502, 0.03374890610575676, 0.04558579996228218, 0.037657834589481354, 0.023013120517134666, 0.02365543320775032, 0.016213789582252502, 0.0640476793050766, -0.05186210572719574, 0.022260699421167374, -0.049990225583314896, -0.030262071639299393, 0.02809656225144863, 0.0011240460444241762, 0.0007248949841596186, -0.04386073350906372, 0.012203928083181381, 0.01109364628791809, 0.03171186149120331, -0.019195953384041786, 0.016957037150859833, -0.047347571700811386, 0.02389400638639927, -0.00969891157001257, 0.01191947516053915, -0.06081777065992355, 0.07861898839473724, 0.07021387666463852, 0.09381425380706787, 0.03139987960457802, 0.02760106511414051, 0.00329414289444685, 0.03850201517343521, -0.04921945184469223, 0.0490359328687191, -0.06720418483018875, -0.0517519973218441, 0.019269360229372978, -0.016112854704260826, -0.09954001009464264, -0.024352800101041794, -0.07340708374977112, -0.03220735862851143, -0.012965526431798935, 0.008515221998095512, -0.026885345578193665, 0.07091124355792999, -0.014525427483022213, 0.044631507247686386, -0.006248778197914362, 0.013451848179101944, 0.04301655292510986, 0.0014578189002349973, -0.0043768975883722305, -0.05369728431105614, -0.022811252623796463, 0.0060514966025948524, -0.023453563451766968, -0.08023394644260406, -0.022499272599816322, 0.05843203887343407, 0.016232142224907875, -0.014112512581050396, 0.03666684031486511, -0.029895035549998283, 0.04705394059419632, -0.0412914864718914, 0.07021387666463852, 0.026389846578240395, 0.0065882857888937, 0.04870560020208359, -0.022572679445147514, 0.05402761697769165, 0.02783963643014431, 0.005133908241987228, 0.02033376321196556, -0.027692822739481926, -0.002236622152850032, -0.019085843116044998, -0.044007547199726105, -0.00007089805149007589, -0.11216602474451065, 0.03743761405348778, 0.021104536950588226, 0.04279633238911629, 0.0467970184981823, -0.08214253187179565, 0.006964497268199921, 0.013516079634428024, -0.05178869888186455, 0.020480576902627945, 0.008492282591760159, -0.01543383952230215, 0.007180130574852228, -0.05046737194061279, 0.005354129243642092, -0.005308249965310097, 0.0412914864718914, -0.038648832589387894, 0.047200758010149, -0.04830186441540718, 0.05061418563127518, 0.007588457316160202, -0.02783963643014431, 0.01447954773902893, 0.03499682992696762, 0.012525084428489208, -0.051641885191202164, 0.01871880702674389, 0.05388079956173897, -0.02396741323173046, 0.016002744436264038, -0.0014589658239856362, 0.0844181478023529, -0.000800596026238054, 0.040190380066633224, 0.025086872279644012, 0.04837527126073837, 0.040814340114593506, -0.010910128243267536, 0.00014373165322467685, 0.008024311624467373, 0.029986795037984848, -0.006037733051925898, 0.034281108528375626, 0.008483106270432472, 0.0247565396130085, 0.03318000212311745, 0.050724297761917114, -0.02543555572628975, 0.022003773599863052, 0.011479033157229424, -0.023196639493107796, -0.020902667194604874, -0.02444455958902836, -0.03406088799238205, -0.03211560100317001, -0.02802315540611744, 0.008106894791126251, 0.009166710078716278, 0.05013703927397728, 0.024352800101041794, 0.046283166855573654, 0.04705394059419632, -0.01003841869533062, -0.03679530322551727, -0.015984393656253815, -0.02961975894868374, -0.0704341009259224, 0.02783963643014431, 0.06371735036373138, 0.02161838673055172, -0.05872566998004913, -0.0017594761447981, -0.02593105286359787, -0.022334106266498566, -0.02512357570230961, -0.035510677844285965, -0.031381528824567795, 0.01527784951031208, -0.024114226922392845, -0.01719561032950878, 0.027509305626153946, -0.010781665332615376, -0.03598782420158386, -0.020976074039936066, 0.004581060726195574, -0.018149901181459427, -0.004530593752861023, 0.032317470759153366, -0.04521876573562622, 0.04342029243707657, -0.054541464895009995, 0.020278707146644592, 0.03824509307742119, -0.03288637474179268, 0.01749841496348381, 0.020297059789299965, -0.006767215672880411, 0.02914261259138584, 0.005395420826971531, -0.056890491396188736, -0.011139525100588799, -0.011011063121259212, 0.032372523099184036, -0.03184032440185547, -0.04169522598385811, -0.01493834238499403, -0.049182746559381485, 0.008556513115763664, 0.017700282856822014, 0.005005445796996355, -0.07604973763227463, -0.005624818149954081, -0.0399334542453289, -0.01939782314002514, -0.008785910904407501, -0.004677407909184694, 0.0399334542453289, 0.008450990542769432, -0.037419263273477554, 0.0033836078364402056, -0.007047080434858799, -0.04932956025004387, -0.005950561724603176, 0.03356539085507393, 0.03356539085507393, 0.024719836190342903, -0.004058035556226969, -0.0281516183167696, -0.018645400181412697, -0.07773810625076294, -0.04687042534351349, 0.04830186441540718, 0.03176691755652428, -0.008749207481741905, -0.04022708162665367, 0.02218729257583618, -0.013928994536399841, 0.012919646687805653, -0.0009216030011884868, -0.07333368062973022, 0.017819570377469063, -0.044264473021030426, -0.015305377542972565, 0.020095190033316612, -0.029307778924703598, -0.025288742035627365, -0.021104536950588226, -0.011552440002560616, 0.016057800501585007, -0.02185695990920067, 0.021728496998548508, -0.018406827002763748, -0.010313695296645164, 0.007212246302515268, -0.015690764412283897, -0.0322624146938324, -0.015222794376313686, -0.07773810625076294, 0.012589314952492714, -0.032482635229825974, 0.03376726061105728, 0.02284795604646206, 0.04984341189265251, 0.028481949120759964, -0.07883921265602112, 0.06496527045965195, -0.0060056173242628574, -0.03850201517343521, 0.013873939402401447, -0.008579453453421593, 0.046540092676877975, -0.0034111356362700462, 0.057184118777513504, -0.018828917294740677, 0.026022812351584435, 0.02420598641037941, -0.00735906045883894, 0.04529217258095741, 0.030812624841928482, -0.06217580288648605, 0.05197221785783768, -0.00264036119915545, 0.03604288026690483, -0.04665020480751991, 0.052449364215135574, 0.051091331988573074, 0.03283131867647171, -0.052082326263189316, -0.001664276234805584, -0.09131841361522675, 0.029307778924703598, 0.032739561051130295, -0.032996486872434616, 0.04297984763979912, -0.041475001722574234, 0.028445245698094368, -0.02655501291155815, 0.04349369928240776, 0.04275962710380554, 0.0150943323969841, 0.01996672712266445, -0.011901123449206352, -0.005468827672302723, -0.0035189522895962, -0.04132818803191185, 0.01595686562359333, -0.007446231320500374, -0.01023111306130886, -0.02378389611840248, 0.000713425106368959, -0.012864591553807259, 0.023985765874385834, -0.02789469249546528, 0.013561959378421307, -0.012561787851154804, 0.05846874415874481, -0.0015805463772267103, 0.024683132767677307, -0.04778801277279854, -0.04782471805810928, 0.012038761749863625, -0.02598610892891884, -0.018939027562737465, -0.0376945398747921, 0.025710832327604294, -0.004753108602017164, 0.02446291223168373, -0.03189538046717644, -0.03824509307742119, -0.026499958708882332, -0.039272792637348175, -0.05795489251613617, -0.00911624263972044, 0.036244750022888184, -0.035272106528282166, -0.031142955645918846, 0.006207486614584923, -0.01848023384809494, -0.01176348514854908, -0.031124604865908623, -0.020737500861287117, 0.01191947516053915, -0.012589314952492714, -0.032372523099184036, -0.037107281386852264, 0.029307778924703598, 0.002534838393330574, 0.018645400181412697, -0.03334517031908035, -0.02875722572207451, 0.007244361564517021, -0.04331018030643463, -0.0172506645321846, -0.04492513835430145, -0.010983535088598728, 0.0039754523895680904, 0.0025141926016658545, 0.012937999330461025, 0.04958648607134819, -0.05061418563127518, 0.009152946062386036, -0.037731241434812546 ]
44,111
dataclass_array.ops
stack
Stack dataclasses together.
def stack( arrays: Iterable[DcT], # list[_DcT['*shape']] *, axis: int = 0, ) -> DcT: # _DcT['len(arrays) *shape']: """Stack dataclasses together.""" return _ops_base( arrays, axis=axis, array_fn=lambda xnp, axis, f: xnp.stack( # pylint: disable=g-long-lambda [getattr(arr, f.name) for arr in arrays], axis=axis ), dc_fn=lambda xnp, axis, f: stack( # pylint: disable=g-long-lambda [getattr(arr, f.name) for arr in arrays], axis=axis, ), )
(arrays: Iterable[~DcT], *, axis: int = 0) -> ~DcT
[ -0.055934514850378036, -0.014498909004032612, -0.015955906361341476, -0.021108705550432205, -0.0028184920083731413, 0.026723477989435196, -0.04868506267666817, -0.05522378534078598, 0.07231686264276505, 0.005876855459064245, 0.012215686030685902, -0.03281799703836441, 0.009612634778022766, -0.009976884350180626, 0.04818755015730858, -0.020646730437874794, 0.004062270745635033, -0.008493233472108841, 0.009648171253502369, 0.029655244201421738, 0.02231694757938385, 0.045202478766441345, -0.003100563306361437, -0.013281782157719135, 0.026314808055758476, 0.055792368948459625, 0.03226717934012413, -0.007782502565532923, -0.030792413279414177, -0.013708220794796944, -0.02883790247142315, -0.00509949354454875, -0.03848607465624809, -0.015733802691102028, -0.0011144037125632167, -0.03837946429848671, 0.000441708107246086, 0.0242359209805727, 0.024768969044089317, 0.048258621245622635, 0.018656684085726738, -0.05799563601613045, -0.0007307201158255339, -0.027736270800232887, 0.03409731015563011, 0.042643848806619644, 0.052913907915353775, -0.06279306858778, -0.04932471737265587, -0.0007595935603603721, 0.042004190385341644, -0.03025936521589756, 0.027576355263590813, -0.016169127076864243, -0.021019864827394485, 0.0280738677829504, 0.054797347635030746, 0.04754789173603058, -0.08585628122091293, -0.028784599155187607, 0.0011815900215879083, 0.020788876339793205, 0.007906880229711533, 0.006352156866341829, -0.06226002052426338, 0.03386632353067398, -0.06453435868024826, -0.025586308911442757, -0.010136798024177551, -0.05067510902881622, -0.005939044523984194, 0.0433545783162117, -0.0051705664955079556, -0.016089169308543205, -0.01656891219317913, 0.012295642867684364, 0.020700035616755486, 0.008293339982628822, -0.00382239930331707, -0.017146380618214607, -0.08251585066318512, -0.0029983955901116133, -0.04996437579393387, 0.06947393715381622, 0.0343993715941906, 0.0021133136469870806, -0.041009169071912766, 0.08877027779817581, -0.08372408896684647, -0.045344624668359756, 0.01129173580557108, 0.03089902177453041, -0.03130769357085228, 0.03610512614250183, 0.030916791409254074, 0.026616869494318962, -0.001347057055681944, 0.0035625381860882044, -0.025533005595207214, 0.05888404697179794, 0.015733802691102028, -0.03546546772122383, 0.016639985144138336, -0.010172334499657154, -0.06794586777687073, 0.03866375610232353, -0.02167728915810585, 0.023720640689134598, -0.05458412691950798, -0.018319087103009224, 0.03271138668060303, 0.011664869263768196, 0.09701475501060486, -0.016284620389342308, 0.03802409768104553, -0.024520212784409523, -0.0025986095424741507, 0.05753365904092789, -0.04250170290470123, -0.014800969511270523, 0.01816805638372898, 0.0035225595347583294, 0.008111215196549892, 0.0074226949363946915, -0.032675851136446, 0.01345946453511715, 0.05632541701197624, 0.006969604175537825, -0.054797347635030746, -0.032338254153728485, -0.03514564037322998, -0.012837575748562813, -0.06019889935851097, 0.003980092704296112, 0.02834039181470871, 0.006210010498762131, 0.014436719939112663, -0.030508119612932205, -0.07619034498929977, -0.028180476278066635, 0.017404021695256233, -0.019100891426205635, 0.0007179491803981364, 0.05021313205361366, -0.05060403421521187, 0.02322313003242016, 0.04235955700278282, -0.009701475501060486, -0.0019322994630783796, 0.031236618757247925, -0.023933859542012215, 0.018781062215566635, 0.024928882718086243, 0.002108871703967452, 0.0016024758806452155, 0.017954837530851364, -0.04989330470561981, -0.012100191786885262, 0.010820876806974411, -0.009052934125065804, -0.10476171970367432, -0.013024142012000084, -0.07441351562738419, -0.007191707380115986, -0.024218153208494186, -0.022672312334179878, -0.04914703592658043, -0.042004190385341644, -0.03820178285241127, 0.005326039157807827, 0.07690107822418213, -0.0510304719209671, 0.07231686264276505, -0.03534109145402908, -0.0280738677829504, -0.050355277955532074, 0.019083121791481972, 0.0007351621752604842, -0.03423945605754852, 0.0027385347057133913, -0.008799736388027668, 0.011602680198848248, -0.003453707555308938, -0.02386278659105301, -0.01853230595588684, -0.011309504508972168, 0.014943115413188934, -0.022565703839063644, 0.049715619534254074, 0.03628280758857727, 0.011273968033492565, 0.0523097887635231, -0.012864227406680584, 0.00779138645157218, 0.02263677679002285, -0.03271138668060303, -0.040547192096710205, 0.009959115646779537, 0.06741281598806381, 0.05056849867105484, -0.043745480477809906, 0.0691896453499794, 0.08201833814382553, -0.03226717934012413, -0.008315550163388252, 0.00931057333946228, -0.029815157875418663, -0.0011232878314331174, -0.060909632593393326, -0.022938836365938187, 0.04577106609940529, -0.025302017107605934, -0.0155383525416255, 0.003953440114855766, 0.030472584068775177, 0.04445621371269226, 0.014774316921830177, -0.030099449679255486, 0.004846295807510614, -0.05973692610859871, 0.055472541600465775, -0.042430631816387177, -0.07668785750865936, 0.025248711928725243, -0.03610512614250183, -0.01715526543557644, 0.010838644579052925, -0.020557889714837074, 0.020238060504198074, -0.006498744711279869, -0.02290330082178116, -0.024022702127695084, -0.010056841187179089, -0.062224484980106354, 0.052096568048000336, 0.0027785133570432663, 0.06037658452987671, -0.036993540823459625, 0.056751854717731476, 0.0369580015540123, -0.024342531338334084, -0.01966947503387928, -0.02272561751306057, -0.02866022102534771, 0.02665240503847599, 0.02190827764570713, 0.008813061751425266, 0.0280738677829504, -0.006125611253082752, 0.01216238085180521, -0.02979739010334015, -0.008124541491270065, 0.005063957069069147, -0.00857763271778822, -0.012988605536520481, -0.038592685014009476, 0.04289260506629944, -0.05874190106987953, 0.01102521177381277, -0.021783899515867233, -0.009754780679941177, -0.0025564099196344614, 0.03491465002298355, 0.011194010265171528, -0.0347902737557888, 0.04737021028995514, 0.03191181272268295, -0.045664455741643906, 0.0011827005073428154, 0.02528424933552742, 0.013646031729876995, 0.07874897122383118, 0.0006024554022587836, 0.0028073866851627827, -0.013725988566875458, 0.045024797320365906, 0.0000974478607531637, 0.00174017995595932, -0.033475421369075775, -0.04370994493365288, 0.04079594835639, -0.048116475343704224, -0.06364594399929047, -0.05202549695968628, 0.016026979312300682, -0.0034470444079488516, -0.00857763271778822, -0.048578452318906784, 0.004557561594992876, -0.014143543317914009, 0.030632497742772102, 0.046304114162921906, 0.016311272978782654, -0.04072487726807594, -0.029548633843660355, -0.04562892019748688, -0.06201126426458359, 0.03326220065355301, 0.017039772123098373, -0.0030428164172917604, -0.000588573981076479, -0.022938836365938187, 0.07292098551988602, 0.06421452760696411, 0.013077447190880775, -0.005143914371728897, 0.02272561751306057, 0.005721383262425661, -0.052771762013435364, 0.03448821231722832, 0.004137786105275154, 0.06606242805719376, -0.030650267377495766, 0.0010494384914636612, -0.01578710786998272, 0.026599101722240448, 0.026705710217356682, -0.0034470444079488516, 0.03622950240969658, 0.02944202348589897, 0.00588573981076479, -0.07718537002801895, -0.03157421573996544, 0.019918231293559074, 0.016213547438383102, 0.09978660941123962, 0.021304156631231308, -0.07675892859697342, 0.017546167597174644, -0.00031205525738187134, 0.029868463054299355, -0.011735942214727402, 0.052416399121284485, 0.06353933364152908, 0.03125438839197159, 0.007031793240457773, 0.007809154689311981, -0.014090238139033318, 0.0038645989261567593, -0.057071685791015625, -0.03866375610232353, 0.019083121791481972, -0.03207172825932503, -0.018727757036685944, 0.020291365683078766, -0.019598402082920074, -0.0025564099196344614, -0.009057375602424145, 0.007356063928455114, 0.07363171130418777, 0.010243408381938934, -0.02016698755323887, -0.021926045417785645, 0.05124369263648987, 0.032480400055646896, 0.04097363352775574, -0.03724229335784912, 0.1046195775270462, 0.04363887384533882, -0.022530166432261467, 0.03272915259003639, -0.016080284491181374, 0.06705745309591293, 0.001650228165090084, 0.058848511427640915, -0.013477233238518238, 0.0076492405496537685, -0.021464070305228233, -0.057853490114212036, 0.004302142653614283, 0.02610158920288086, -0.03660263866186142, -0.0012870890786871314, 0.03610512614250183, -0.0638236254453659, 0.000029498105504899286, -0.03374194726347923, -0.0030183850321918726, 0.016035864129662514, -0.01643565110862255, 0.004151112399995327, -0.006827457807958126, 0.053233738988637924, -0.006529839243739843, 0.035945210605859756, 0.041186850517988205, -0.01748397760093212, 0.004717475734651089, -0.03702907636761665, -0.02176613174378872, 0.05689400061964989, -0.04331904277205467, -0.029033353552222252, -0.04097363352775574, -0.12736296653747559, -0.016444534063339233, -0.0382373183965683, 0.005517047829926014, -0.05245193466544151, -0.003755768295377493, -0.050639569759368896, -0.05238085985183716, 0.08450589329004288, -0.0014358983607962728, 0.014578865841031075, 0.0012770944740623236, -0.015502816066145897, -0.03852161020040512, -0.060269974172115326, 0.0683012306690216, 0.029086658731102943, 0.03139653429389, 0.011051864363253117, 0.0025297575630247593, 0.04061826691031456, -0.003971208352595568, -0.024680128321051598, 0.04982222989201546, 0.04562892019748688, -0.0017834901809692383, 0.023258665576577187, 0.027967257425189018, -0.03873483091592789, 0.007560398895293474, -0.03002837672829628, 0.00258972542360425, -0.03884143754839897, 0.006534281652420759, -0.011931393295526505, 0.021019864827394485, 0.0141968484967947, -0.010358901694417, -0.06080302223563194, -0.009905810467898846, 0.03381301835179329, -0.041684363037347794, -0.014383414760231972, -0.013583842664957047, 0.004344342276453972, 0.01702200248837471, -0.03756212443113327, 0.004444288555532694, 0.037313368171453476, -0.04481157660484314, -0.055010564625263214, -0.02519540674984455, -0.009692591615021229, 0.005010652355849743, -0.04203972965478897, -0.017146380618214607, 0.06990037858486176, 0.02587060257792473, 0.05970139056444168, 0.020966559648513794, 0.043425653129816055, -0.008066794835031033, 0.037348903715610504, -0.030472584068775177, -0.0465528704226017, 0.004983999766409397, -0.03084571845829487, -0.04417192190885544, 0.015760455280542374, -0.021002095192670822, -0.004142228048294783, -0.005374901928007603, -0.03820178285241127, -0.04886274412274361, -0.006227778736501932, -0.0012115739518776536, 0.019385183230042458, -0.017270758748054504, 0.0038357253652065992, 0.007960185408592224, -0.038770366460084915, 0.0446338951587677, 0.021357461810112, -0.01761724054813385, -0.05600558966398239, 0.018008142709732056, -0.026314808055758476, 0.0009195079910568893, 0.007866901345551014, -0.024129310622811317, -0.008484349586069584, 0.0783936083316803, 0.034843578934669495, 0.019243037328124046, 0.0446338951587677, 0.06201126426458359, -0.003980092704296112, 0.020469047129154205, -0.03116554580628872, 0.005756919737905264, 0.031467605382204056, 0.027078844606876373, -0.04157775267958641, -0.002905112225562334, -0.042714923620224, -0.03141430392861366, -0.013752641156315804, -0.04211080074310303, 0.02237025275826454, -0.019083121791481972, 0.03310228884220123, -0.05351803079247475, 0.09417183697223663, 0.022192569449543953, 0.018656684085726738, -0.015076377429068089, -0.01476543303579092, -0.032515935599803925, -0.017599472776055336, 0.012375600636005402, 0.00958598218858242, 0.022761154919862747, -0.022157033905386925, 0.019474023953080177, 0.01715526543557644, 0.013859250582754612, 0.06627564877271652, 0.020735571160912514, -0.03578529506921768, 0.06545830518007278, -0.012126844376325607, -0.007675892673432827, 0.050497423857450485, 0.005445974878966808, -0.003686916083097458, 0.026599101722240448, 0.006001233588904142, -0.011727058328688145, 0.010163450613617897, 0.010136798024177551, 0.00455311918631196, 0.009337225928902626, -0.007276106625795364, 0.015076377429068089, 0.07654570788145065, 0.010705382563173771, 0.029868463054299355, 0.03182297199964523, 0.012189033441245556, -0.012695428915321827, -0.04431406781077385, -0.010847529396414757, -0.015342901460826397, -0.05184781178832054, 0.02514210343360901, 0.024857809767127037, -0.055472541600465775, -0.036265041679143906, -0.004295479506254196, 0.06325504183769226, 0.046659477055072784, 0.007964626885950565, -0.04452728480100632, 0.010776456445455551, -0.0356786884367466, 0.0038645989261567593, 0.044420674443244934, 0.04644626006484032, 0.014960884116590023, 0.0008195614791475236, 0.019331878051161766, -0.008888577111065388, 0.007409368641674519, 0.012722081504762173, -0.04637518525123596, -0.03299567848443985, -0.04140007123351097, 0.0433545783162117, 0.0008712005219422281, -0.002030025003477931, 0.09090247005224228, -0.0019156417110934854, -0.01775938645005226, 0.030472584068775177, -0.014552213251590729, -0.02109093777835369, -0.02336527593433857, 0.01844346523284912, -0.04189758002758026, -0.045344624668359756, 0.02149960771203041, 0.0059079499915242195, -0.0538378581404686, -0.01949179358780384, -0.018869902938604355, -0.05415768921375275, -0.010341132991015911, 0.01501418836414814, -0.017377369105815887, 0.032658081501722336, 0.02979739010334015, -0.016737710684537888, -0.03116554580628872, -0.0006835231324657798, -0.02615489438176155, -0.029264342039823532, 0.04083148390054703, 0.042821530252695084, 0.015094146132469177, 0.021250851452350616, 0.01321070920675993, -0.07803824543952942, -0.01289087999612093, 0.008608726784586906, 0.02848253771662712, -0.003971208352595568, 0.0551171749830246, 0.016737710684537888, -0.0046419608406722546, -0.01300637423992157, 0.028713524341583252, -0.022796690464019775, -0.0751953199505806, 0.06862106174230576, -0.007613704074174166, 0.013983628712594509, 0.03550100326538086, 0.006618680898100138, -0.034808043390512466, 0.022014888003468513, 0.0023343064822256565, 0.06393023580312729, -0.01811475120484829, -0.01728852652013302, 0.02176613174378872, -0.002669682726264, 0.04690823331475258, -0.005947928410023451, 0.07039789110422134, -0.05909726768732071, -0.021428534761071205, -0.08443482220172882, -0.009568213485181332, 0.0809522420167923, -0.010172334499657154, -0.037313368171453476, -0.0026097146328538656, -0.03008168190717697, -0.013841482810676098, -0.02377394586801529, 0.012517746537923813, -0.1302058845758438, -0.0019189731683582067, -0.029086658731102943, 0.03272915259003639, 0.016026979312300682, 0.014418951235711575, 0.006476534530520439, -0.02697223424911499, 0.04083148390054703, 0.002960638143122196, 0.03784641623497009, 0.016408998519182205, 0.005437090992927551, 0.03702907636761665, -0.003913461696356535, 0.03008168190717697, -0.015405090525746346, 0.037313368171453476, 0.03423945605754852, 0.023951629176735878, 0.03194735199213028, 0.04161328822374344, -0.004515361972153187, 0.034754738211631775, 0.056574173271656036, -0.07434244453907013, 0.027078844606876373, -0.005339365452528, 0.010376670397818089, 0.015982558950781822, -0.009914695285260677, 0.008972976356744766, 0.03880590200424194, 0.007409368641674519, -0.05344695597887039, -0.0032760249450802803, 0.005210545379668474, 0.007409368641674519, 0.015680499374866486, -0.00873754732310772, -0.07960185408592224, 0.04228848218917847, -0.006387693341821432, 0.01888767071068287, -0.0523097887635231, 0.08393730968236923, 0.032675851136446, 0.06869213283061981, -0.04737021028995514, -0.08059687167406082, 0.02551523596048355, 0.03544769808650017, -0.04587767273187637, 0.012135729193687439, -0.021357461810112, -0.00548595329746604, 0.019740547984838486, -0.041968654841184616, -0.021517375484108925, 0.043105825781822205, 0.056432027369737625, -0.017723849043250084, 0.009186196140944958, 0.04612642899155617, 0.015893718227744102, -0.028500305488705635, 0.006729732267558575, 0.035394396632909775, 0.009967999532818794, -0.03706461191177368, -0.07761180400848389, 0.06759049743413925, 0.03901912271976471, -0.036531563848257065, 0.06073194742202759, -0.018061447888612747, 0.05461966246366501, 0.08038365840911865, -0.012144613079726696, 0.0043243528343737125, 0.02185497246682644, 0.07078879326581955, -0.006401019636541605, -0.003533664857968688, -0.02386278659105301, 0.009479372762143612, 0.021304156631231308, 0.04115131497383118, -0.0024919998832046986, -0.033884093165397644, -0.05995014309883118, -0.013610495254397392, -0.01665775291621685, 0.021108705550432205, 0.046339649707078934, -0.000771809252910316, -0.05493949353694916, 0.008950766175985336, -0.056574173271656036, 0.0037624312099069357, -0.058066707104444504, 0.028056100010871887, -0.012615472078323364, -0.043745480477809906, 0.0012404473964124918, 0.03788195177912712, 0.029033353552222252, -0.04832969605922699, -0.03299567848443985, 0.03457705304026604, 0.022672312334179878, 0.016026979312300682, -0.07505317777395248, -0.03217833861708641, -0.11990028619766235, -0.0018623368814587593, -0.031076705083251, 0.007453789468854666, -0.012961952947080135, 0.0484718419611454, -0.003438160289078951, 0.04612642899155617, -0.006414345465600491 ]
44,117
dataclass_array.vectorization
vectorize_method
Vectorize a `dca.DataclassArray` method. Allow to implement method in `dca.DataclassArray` assuming `shape == ()`. This is similar to `jax.vmap` but: * Only work on `dca.DataclassArray` methods * Instead of vectorizing a single axis, `@dca.vectorize_method` will vectorize over `*self.shape` (not just `self.shape[0]`). This is like if `vmap` was applied to `self.flatten()` * Axis with dimension `1` are brodcasted. For example, with `__matmul__(self, x: T) -> T`: ```python () @ (*x,) -> (*x,) (b,) @ (b, *x) -> (b, *x) (b,) @ (1, *x) -> (b, *x) (1,) @ (b, *x) -> (b, *x) (b, h, w) @ (b, h, w, *x) -> (b, h, w, *x) (1, h, w) @ (b, 1, 1, *x) -> (b, h, w, *x) ``` Example: ``` class Point3d(dca.DataclassArray): p: f32['*shape 3'] @dca.vectorize_method def first_value(self): return self.p[0] point = Point3d(p=[ # 4 points batched together [10, 11, 12], [20, 21, 22], [30, 31, 32], [40, 41, 42], ]) point.first_value() == [10, 20, 30, 40] # First value of each points ``` Args: fn: DataclassArray method to decorate static_args: If given, should be a set of the static argument names Returns: fn: Decorated function with vectorization applied to self.
def vectorize_method( fn=None, *, static_args=None, ): """Vectorize a `dca.DataclassArray` method. Allow to implement method in `dca.DataclassArray` assuming `shape == ()`. This is similar to `jax.vmap` but: * Only work on `dca.DataclassArray` methods * Instead of vectorizing a single axis, `@dca.vectorize_method` will vectorize over `*self.shape` (not just `self.shape[0]`). This is like if `vmap` was applied to `self.flatten()` * Axis with dimension `1` are brodcasted. For example, with `__matmul__(self, x: T) -> T`: ```python () @ (*x,) -> (*x,) (b,) @ (b, *x) -> (b, *x) (b,) @ (1, *x) -> (b, *x) (1,) @ (b, *x) -> (b, *x) (b, h, w) @ (b, h, w, *x) -> (b, h, w, *x) (1, h, w) @ (b, 1, 1, *x) -> (b, h, w, *x) ``` Example: ``` class Point3d(dca.DataclassArray): p: f32['*shape 3'] @dca.vectorize_method def first_value(self): return self.p[0] point = Point3d(p=[ # 4 points batched together [10, 11, 12], [20, 21, 22], [30, 31, 32], [40, 41, 42], ]) point.first_value() == [10, 20, 30, 40] # First value of each points ``` Args: fn: DataclassArray method to decorate static_args: If given, should be a set of the static argument names Returns: fn: Decorated function with vectorization applied to self. """ # Called as decorator with options (`@dca.vectorize_method(**options)`) if fn is None: return functools.partial(vectorize_method, static_args=static_args) # pytype: disable=bad-return-type # Signature util also make sure explicit error message are raised (e.g. # `Error in <fn> for arg <arg-name>` ) sig = inspect_utils.Signature(fn) if sig.has_var: raise NotImplementedError( '`@dca.vectorize_method` does not support function with variable args ' f'(`*args` or `**kwargs`). For {sig.fn_name}. Please open an issue.' ) if static_args is not None: if not isinstance(static_args, set): raise TypeError( f'Unexpected `static_args={static_args!r}`. Expected `set`.' ) map_non_static = functools.partial( _map_non_static, static_args=static_args, ) @functools.wraps(fn) @epy.maybe_reraise(prefix=lambda: f'Error in {fn.__qualname__}: ') def decorated( self: array_dataclass.DataclassArray, *args: Any, **kwargs: Any, ) -> _Out: if not isinstance(self, array_dataclass.DataclassArray): raise TypeError( 'dca.vectorize_method should be applied on DataclassArray method. ' f'Not: {type(self)}' ) if not self.shape: # No batch shape, no-need to vectorize return fn(self, *args, **kwargs) original_args = sig.bind(self, *args, **kwargs) # TODO(epot): Tree support (with masking inside args) # Validation # TODO(epot): Normalize `np`, `list` -> `xnp` assert_is_array = functools.partial(_assert_is_array, xnp=self.xnp) map_non_static(assert_is_array, original_args) # Broadcast and flatten args. Exemple: # Broadcast the batch shape when dim == 1: # (h, w), (h, w, c) -> (h, w), (h, w, c) # (h, w), (1, 1, c) -> (h, w), (h, w, c) # (1, 1), (h, w, c) -> (h, w), (h, w, c) # Flatten: # (h, w), (h, w, c) -> (b*h*w,), (b*h*w, c) flat_args, batch_shape = _broadcast_and_flatten_args( original_args, map_non_static=map_non_static, ) # Call the vectorized function out = _vmap_method( flat_args, map_non_static=map_non_static, xnp=self.xnp, ) # Unflatten the output unflatten = functools.partial(_unflatten, batch_shape=batch_shape) out = tree_utils.tree_map(unflatten, out) return out return decorated
(fn=None, *, static_args=None)
[ 0.03348209336400032, -0.05421838536858559, 0.046110961586236954, 0.01156671904027462, -0.03550894930958748, -0.027908241376280785, -0.07082300633192062, -0.005832082126289606, 0.06801659613847733, 0.05433531850576401, -0.028941158205270767, -0.03546997159719467, 0.02250978909432888, -0.013603318482637405, -0.012404745444655418, 0.02340628392994404, 0.010952815413475037, 0.04841066524386406, -0.026719413697719574, 0.03812047466635704, -0.0322347991168499, 0.043811261653900146, -0.005076883360743523, 0.013496129773557186, 0.03739938139915466, 0.08294516801834106, 0.005724892485886812, -0.043850239366292953, 0.026953279972076416, -0.04880044609308243, -0.03285844624042511, 0.060649752616882324, -0.06575587391853333, 0.001957426080480218, 0.033170271664857864, -0.03237122297286987, 0.0339498296380043, -0.0342031866312027, -0.03726295754313469, 0.011829820461571217, 0.04088791087269783, -0.05955836921930313, -0.005110988859087229, -0.012950437143445015, 0.0381789430975914, 0.009890665300190449, -0.03211786597967148, 0.0055202580988407135, -0.0735124945640564, -0.018339144065976143, 0.006743192672729492, -0.0831790342926979, 0.09806862473487854, 0.00400742469355464, 0.0055738529190421104, 0.09510629624128342, 0.005544619169086218, 0.043187614530324936, -0.01635126769542694, -0.014801892451941967, -0.0028843714389950037, -0.014187988825142384, 0.018719179555773735, -0.017773963510990143, -0.01366178598254919, -0.02675839141011238, -0.047085411846637726, 0.022022565826773643, 0.015396306291222572, 0.027557440102100372, -0.05168481543660164, 0.01635126769542694, 0.04794292896986008, 0.007361968047916889, 0.06598974019289017, 0.05593341588973999, -0.0022789943031966686, -0.02681685797870159, 0.01751086302101612, -0.021398916840553284, 0.02212001010775566, -0.07370737940073013, -0.02250978909432888, -0.04537038132548332, 0.029506338760256767, -0.007795598357915878, -0.0002670601534191519, 0.01190777588635683, -0.07546138763427734, -0.03714602440595627, -0.006026972085237503, 0.0055592358112335205, -0.022548768669366837, 0.05983121693134308, -0.05277619883418083, 0.010553291067481041, 0.07043322920799255, -0.022490300238132477, 0.015922509133815765, 0.05320495739579201, 0.07331760227680206, 0.019011514261364937, 0.08559566736221313, -0.009193933568894863, 0.001962298294529319, 0.012024709954857826, -0.04540935903787613, -0.024809490889310837, -0.06174113601446152, 0.044590823352336884, -0.00383202382363379, 0.02098964899778366, 0.021106582134962082, -0.007201184052973986, -0.022295411676168442, -0.018456079065799713, -0.06372901797294617, 0.0190894715487957, -0.08668705075979233, 0.02578394114971161, 0.030383344739675522, 0.03866616636514664, 0.01608816534280777, -0.017267249524593353, -0.07709846645593643, -0.08442632853984833, 0.02765488438308239, 0.06879615038633347, 0.004528755322098732, 0.023718107491731644, -0.023718107491731644, -0.01623433269560337, -0.033560048788785934, 0.046695634722709656, 0.04474673420190811, -0.005008671898394823, 0.0638849288225174, -0.02340628392994404, -0.04993080720305443, 0.016926191747188568, 0.04568220674991608, 0.03098750300705433, 0.02438073419034481, 0.03652237728238106, 0.0017625360051169991, -0.005359473638236523, 0.038939014077186584, 0.010475334711372852, -0.021457383409142494, -0.02227592095732689, -0.015337839722633362, -0.0006114672287367284, 0.038997478783130646, 0.023035991936922073, 0.0036688034888356924, -0.038256898522377014, 0.017033381387591362, -0.06801659613847733, 0.027459993958473206, -0.003169397823512554, -0.04700745642185211, -0.011654418893158436, -0.060493841767311096, 0.006509324535727501, -0.016107654199004173, -0.012482701800763607, 0.002335025230422616, -0.02991560846567154, -0.034300632774829865, 0.024185843765735626, 0.036171574145555496, -0.043187614530324936, -0.011050260625779629, 0.020950669422745705, 0.009871176443994045, 0.018534034490585327, 0.000277718179859221, -0.014110032469034195, 0.07893043011426926, 0.006251095328480005, 0.014158755540847778, 0.02126249484717846, -0.039055947214365005, -0.022548768669366837, -0.003210812108591199, 0.04314863681793213, -0.011157450266182423, -0.012511935085058212, 0.04817679524421692, 0.020151620730757713, -0.004582350142300129, -0.0189433041960001, -0.027908241376280785, 0.02783028595149517, 0.011790841817855835, -0.023679129779338837, -0.054997947067022324, 0.020327022299170494, 0.03348209336400032, -0.017657030373811722, 0.005452046636492014, -0.014840870164334774, 0.04494162276387215, -0.00498918304219842, -0.06793864071369171, -0.016906702890992165, 0.03626902028918266, 0.004433746449649334, -0.030909547582268715, -0.03357953950762749, 0.06856228411197662, -0.005880804266780615, 0.022100521251559258, 0.007615325041115284, 0.028746267780661583, -0.05702479928731918, 0.052620287984609604, -0.0007314463728107512, -0.014480323530733585, 0.02465358003973961, 0.05932450294494629, -0.017140571027994156, -0.06743192672729492, 0.02607627585530281, -0.033170271664857864, -0.05378962680697441, 0.022081032395362854, 0.03677573427557945, 0.017199037596583366, -0.07741028815507889, -0.017890898510813713, -0.029603784903883934, 0.027908241376280785, -0.026056786999106407, 0.00006752632179995999, -0.0678996592760086, 0.03812047466635704, 0.007128099910914898, 0.00881877075880766, 0.011800587177276611, 0.00045829592272639275, -0.02042446658015251, 0.04271987825632095, 0.02578394114971161, 0.002412981353700161, 0.03506070375442505, 0.003985499497503042, 0.11217866092920303, 0.03157217428088188, 0.003897799178957939, -0.050983212888240814, -0.038549233227968216, -0.05269824340939522, 0.04474673420190811, -0.009164700284600258, -0.042563967406749725, 0.05796027183532715, 0.026719413697719574, 0.010251211933791637, 0.013681274838745594, -0.02289956994354725, -0.0520356185734272, 0.028181087225675583, 0.012180621735751629, -0.01198573224246502, -0.004348482005298138, 0.03856872022151947, 0.013281750492751598, -0.009588586166501045, 0.03318975865840912, 0.03874412178993225, 0.036678288131952286, 0.03219582140445709, -0.0008776138420216739, -0.030792612582445145, 0.03546997159719467, -0.0381789430975914, -0.054608166217803955, 0.03808149695396423, -0.04540935903787613, 0.01263861358165741, -0.04938511550426483, -0.06567791849374771, -0.0424080528318882, -0.00996374897658825, -0.04049813374876976, 0.006129289045929909, -0.006372901611030102, 0.014840870164334774, -0.011410807259380817, 0.020502423867583275, -0.0279861968010664, 0.016604624688625336, 0.003081697504967451, 0.014441345818340778, -0.015474262647330761, -0.05207459628582001, 0.022236943244934082, 0.018183233216404915, -0.03541150316596031, -0.03827638551592827, 0.012872481718659401, 0.03410574048757553, -0.00007000051118666306, -0.048215776681900024, -0.01760830730199814, -0.013691019266843796, 0.02081424742937088, -0.020210089161992073, 0.02126249484717846, 0.011050260625779629, -0.027693862095475197, -0.07421409338712692, -0.03743835911154747, -0.016370756551623344, 0.015951743349432945, -0.026992259547114372, 0.02081424742937088, 0.061156466603279114, 0.053594738245010376, 0.005452046636492014, 0.0066262586042284966, -0.04540935903787613, -0.009515502490103245, 0.0067870425991714, 0.04061506688594818, 0.07362942397594452, -0.08762252330780029, 0.004545808304101229, 0.03749682754278183, 0.06197500601410866, 0.030071519315242767, 0.004645689390599728, 0.039328791201114655, 0.031182393431663513, 0.009700647555291653, 0.013788464479148388, -0.01724776066839695, 0.031084947288036346, 0.0048917378298938274, -0.02929195947945118, 0.07998283952474594, -0.047709062695503235, -0.02042446658015251, -0.019498739391565323, -0.035781797021627426, -0.0542963407933712, 0.019791074097156525, 0.038549233227968216, 0.03476836904883385, 0.07818984985351562, -0.06754885613918304, 0.01009529922157526, 0.046188920736312866, -0.01394437626004219, -0.017462139949202538, 0.026388099417090416, -0.0678996592760086, 0.002925785491243005, -0.004687103442847729, 0.020210089161992073, 0.0015530292876064777, -0.009515502490103245, -0.03026640973985195, 0.09760089218616486, -0.018845858052372932, -0.02566700614988804, -0.060883622616529465, 0.01829042285680771, -0.012511935085058212, 0.02108709327876568, -0.03541150316596031, -0.019976221024990082, -0.0010932108853012323, 0.009096488356590271, -0.03726295754313469, -0.003992808051407337, 0.027284594252705574, -0.04201827570796013, 0.05394554138183594, -0.008326672948896885, -0.04529242590069771, 0.039562661200761795, -0.01643896847963333, 0.04556526988744736, 0.053750649094581604, 0.037360403686761856, 0.028999624773859978, -0.017384184524416924, 0.0020305097568780184, -0.02584240771830082, -0.01757907308638096, -0.03482683375477791, -0.05527079105377197, -0.04700745642185211, -0.02510182559490204, -0.034924279898405075, 0.06318332254886627, 0.029038602486252785, -0.026115253567695618, -0.05137299373745918, -0.005398451816290617, 0.019284360110759735, 0.03137728199362755, 0.017686262726783752, -0.03527508303523064, 0.02839546650648117, -0.01309660542756319, -0.009047766216099262, 0.11514098197221756, 0.012404745444655418, 0.03948470577597618, 0.015191672369837761, -0.003944085445255041, 0.0008629970834590495, 0.03469041362404823, -0.03202041983604431, 0.002536005573347211, 0.0189433041960001, 0.00878953654319048, 0.05741458013653755, 0.017023637890815735, 0.005315623711794615, -0.00469197565689683, -0.007605580613017082, -0.009749369695782661, 0.008170761168003082, -0.034592967480421066, 0.015337839722633362, 0.02539416030049324, 0.02533569373190403, -0.030968014150857925, -0.06509324163198471, 0.020950669422745705, -0.02964276261627674, 0.01632203347980976, -0.0322347991168499, -0.0049404604360461235, 0.0214963611215353, 0.0542963407933712, -0.0268558356910944, -0.0008185378392226994, 0.00792714860290289, -0.02381555177271366, -0.08388063311576843, -0.03743835911154747, -0.008526435121893883, -0.028025176376104355, 0.027362549677491188, -0.05792129412293434, 0.06294945627450943, 0.0509052574634552, -0.010309678502380848, 0.000365114159649238, 0.01026095636188984, -0.002613961463794112, -0.014236710965633392, -0.07257702201604843, -0.01906023733317852, 0.008643369190394878, -0.016097910702228546, -0.0060464609414339066, -0.02408839762210846, -0.03556741774082184, -0.03658084571361542, 0.0002708665851969272, -0.008467968553304672, 0.001236333162523806, -0.01156671904027462, -0.040186308324337006, 0.06404083967208862, -0.0020487806759774685, 0.0014628927456215024, -0.02256825752556324, 0.04143360257148743, 0.07031629234552383, -0.06294945627450943, -0.008419246412813663, -0.05456918850541115, 0.019976221024990082, 0.01906023733317852, -0.0139930984005332, 0.03381340578198433, -0.01552298478782177, 0.014860359020531178, -0.01733546145260334, 0.07401920855045319, 0.05944143608212471, 0.022158987820148468, 0.02001519873738289, -0.03059772215783596, 0.06735397130250931, 0.028804736211895943, 0.04899533465504646, 0.019108960404992104, 0.015630174428224564, 0.02759641781449318, 0.00881877075880766, 0.044980600476264954, -0.004857632331550121, 0.006455729715526104, -0.04665665701031685, -0.04342148080468178, -0.00332287373021245, 0.006246223114430904, -0.011751864105463028, -0.004475160501897335, 0.059012677520513535, -0.017657030373811722, 0.019157683476805687, -0.04614994302392006, -0.03235173225402832, -0.018534034490585327, -0.021301472559571266, 0.044980600476264954, 0.06252069771289825, -0.04439593106508255, -0.006480090785771608, -0.06068873032927513, -0.006182883866131306, 0.0034373716916888952, -0.00007571018068119884, -0.03170859441161156, -0.03714602440595627, -0.019401295110583305, 0.06517120450735092, 0.0022071287967264652, -0.03381340578198433, 0.04116075858473778, 0.04174542799592018, -0.096119724214077, -0.0638849288225174, 0.019108960404992104, 0.046695634722709656, 0.00759096397086978, 0.01932333968579769, 0.02108709327876568, -0.006611641496419907, 0.02052191272377968, 0.02443920075893402, 0.03584026172757149, 0.018309911713004112, -0.001466546906158328, -0.028005685657262802, -0.03821792080998421, -0.039621129631996155, -0.010611757636070251, -0.008994171395897865, 0.013934631831943989, 0.016984660178422928, -0.021535340696573257, 0.012745803222060204, 0.01575685292482376, 0.03556741774082184, 0.020794758573174477, 0.0015676460461691022, -0.022470811381936073, -0.013739741407334805, -0.020229578018188477, 0.02726510539650917, -0.05301006883382797, 0.0424080528318882, 0.03428114205598831, -0.058116186410188675, -0.050593432039022446, 0.04700745642185211, 0.05476407706737518, 0.035606395453214645, -0.005646936595439911, -0.038549233227968216, 0.006158522795885801, -0.005749253556132317, -0.10001752525568008, -0.007396074011921883, -0.04739723727107048, 0.04856657609343529, 0.0055202580988407135, -0.027869263663887978, -0.006933209951967001, -0.08614136278629303, -0.04162849485874176, -0.0006632348522543907, 0.03886105865240097, -0.016926191747188568, -0.021223515272140503, -0.01561068557202816, -0.03303384780883789, 0.02459511160850525, 0.0015603377250954509, -0.03087056800723076, -0.04774804040789604, 0.012706825509667397, -0.047085411846637726, -0.02165227383375168, -0.017832430079579353, 0.0336574949324131, 0.010553291067481041, 0.044473886489868164, 0.043187614530324936, -0.010251211933791637, 0.00936933420598507, 0.02030753344297409, -0.020346511155366898, 0.0214963611215353, -0.004358226433396339, -0.056011371314525604, -0.058856766670942307, -0.022470811381936073, 0.0028502654749900103, -0.02393248677253723, -0.010650736279785633, 0.02245132252573967, 0.034144721925258636, 0.005193817429244518, 0.023035991936922073, -0.010027088224887848, -0.053984519094228745, 0.05757049098610878, 0.021788697689771652, 0.04049813374876976, -0.05694684386253357, -0.028687801212072372, 0.000989675521850586, -0.04135564714670181, -0.014158755540847778, 0.012570401653647423, 0.025881385430693626, -0.03143575042486191, 0.012151388451457024, 0.01823195442557335, 0.02907758206129074, 0.025822918862104416, 0.05866187810897827, 0.002606653142720461, 0.008092805743217468, -0.07433103024959564, -0.049346137791872025, 0.04591607302427292, -0.03244917839765549, 0.010952815413475037, 0.021398916840553284, -0.015094227157533169, 0.007415562868118286, 0.01748162880539894, 0.02449766732752323, -0.07651379704475403, 0.013700763694941998, -0.021593807265162468, 0.0401473306119442, 0.026329632848501205, -0.01983005367219448, -0.049112267792224884, -0.05351678282022476, 0.05858391895890236, 0.028980135917663574, 0.021632784977555275, -0.03603515401482582, 0.028531888499855995, 0.0036858562380075455, 0.015396306291222572, -0.003783301217481494, 0.01801757700741291, -0.04373330622911453, -0.07877451926469803, 0.00135326711460948, -0.01379820890724659, 0.043070681393146515, -0.012745803222060204, 0.040186308324337006, 0.029623273760080338, 0.007917404174804688, 0.06474244594573975, -0.06353412568569183, -0.0062803286127746105, 0.05741458013653755, -0.05012569576501846, 0.01674104668200016, -0.036912158131599426, -0.009228039532899857, 0.0058954209089279175, 0.008277950808405876, 0.030071519315242767, -0.013535107485949993, 0.06415777653455734, -0.042213164269924164, -0.058895744383335114, 0.019186915829777718, -0.019011514261364937, 0.009749369695782661, -0.020911691710352898, 0.019011514261364937, 0.009929643012583256, 0.0588177889585495, -0.02738203853368759, -0.01170314196497202, -0.01787140965461731, 0.021165048703551292, -0.0061390334740281105, 0.0010091644944623113, -0.00939856842160225, -0.034592967480421066, -0.014529046602547169, -0.05959734693169594, 0.02539416030049324, 0.018992025405168533, 0.05757049098610878, -0.009145211428403854, -0.011654418893158436, 0.054491233080625534, 0.022704679518938065, 0.0316891074180603, -0.013671530410647392, 0.0627935454249382, -0.021691251546144485, -0.00878953654319048, 0.013788464479148388, -0.0038807461969554424, -0.028921669349074364, 0.0018344017444178462, 0.07140768319368362, 0.0007460631313733757, 0.0127263143658638, 0.00868234783411026, -0.011654418893158436, -0.04802088439464569, 0.012979671359062195, 0.027245616540312767, -0.032488156110048294, 0.022042054682970047, -0.005398451816290617, 0.009106232784688473, 0.018241699784994125, 0.0005298570613376796, 0.005807720590382814, -0.032488156110048294, -0.009267017245292664, -0.044590823352336884, -0.054997947067022324, -0.0785796269774437, 0.0695757120847702, -0.07651379704475403, 0.014314667321741581, -0.015094227157533169, -0.012745803222060204, 0.01971311867237091, 0.047202348709106445, -0.0024190715048462152, 0.012843248434364796, 0.01906023733317852, -0.07440898567438126, 0.03163063898682594, 0.04739723727107048, -0.09284557402133942, -0.003873437875881791, 0.041082803159952164, -0.012443723157048225, 0.07573423534631729, -0.06809455156326294, -0.013369451276957989, -0.0757732167840004, -0.031240860000252724, -0.006124416831880808, 0.025861896574497223, 0.003137728199362755, 0.043460458517074585, 0.01697491481900215, 0.010455845855176449, 0.06793864071369171 ]
44,118
gwcs.coordinate_frames
CelestialFrame
Celestial Frame Representation Parameters ---------- axes_order : tuple of int A dimension in the input data that corresponds to this axis. reference_frame : astropy.coordinates.builtin_frames A reference frame. unit : str or units.Unit instance or iterable of those Units on axes. axes_names : list Names of the axes in this frame. name : str Name of this frame.
class CelestialFrame(CoordinateFrame): """ Celestial Frame Representation Parameters ---------- axes_order : tuple of int A dimension in the input data that corresponds to this axis. reference_frame : astropy.coordinates.builtin_frames A reference frame. unit : str or units.Unit instance or iterable of those Units on axes. axes_names : list Names of the axes in this frame. name : str Name of this frame. """ def __init__(self, axes_order=None, reference_frame=None, unit=None, axes_names=None, name=None, axis_physical_types=None): naxes = 2 if reference_frame is not None: if not isinstance(reference_frame, str): if reference_frame.name.upper() in STANDARD_REFERENCE_FRAMES: _axes_names = list(reference_frame.representation_component_names.values()) if 'distance' in _axes_names: _axes_names.remove('distance') if axes_names is None: axes_names = _axes_names naxes = len(_axes_names) _unit = list(reference_frame.representation_component_units.values()) if unit is None and _unit: unit = _unit if axes_order is None: axes_order = tuple(range(naxes)) if unit is None: unit = tuple([u.degree] * naxes) axes_type = ['SPATIAL'] * naxes super(CelestialFrame, self).__init__(naxes=naxes, axes_type=axes_type, axes_order=axes_order, reference_frame=reference_frame, unit=unit, axes_names=axes_names, name=name, axis_physical_types=axis_physical_types) @property def _default_axis_physical_types(self): if isinstance(self.reference_frame, coord.Galactic): return "pos.galactic.lon", "pos.galactic.lat" elif isinstance(self.reference_frame, (coord.GeocentricTrueEcliptic, coord.GCRS, coord.PrecessedGeocentric)): return "pos.bodyrc.lon", "pos.bodyrc.lat" elif isinstance(self.reference_frame, coord.builtin_frames.BaseRADecFrame): return "pos.eq.ra", "pos.eq.dec" elif isinstance(self.reference_frame, coord.builtin_frames.BaseEclipticFrame): return "pos.ecliptic.lon", "pos.ecliptic.lat" else: return tuple("custom:{}".format(t) for t in self.axes_names) @property def _world_axis_object_classes(self): return {'celestial': ( coord.SkyCoord, (), {'frame': self.reference_frame, 'unit': self.unit})} @property def _world_axis_object_components(self): return [('celestial', 0, 'spherical.lon'), ('celestial', 1, 'spherical.lat')] def coordinates(self, *args): """ Create a SkyCoord object. Parameters ---------- args : float inputs to wcs.input_frame """ if isinstance(args[0], coord.SkyCoord): return args[0].transform_to(self.reference_frame) return coord.SkyCoord(*args, unit=self.unit, frame=self.reference_frame) def coordinate_to_quantity(self, *coords): """ Convert a ``SkyCoord`` object to quantities.""" if len(coords) == 2: arg = coords elif len(coords) == 1: arg = coords[0] else: raise ValueError("Unexpected number of coordinates in " "input to frame {} : " "expected 2, got {}".format(self.name, len(coords))) if isinstance(arg, coord.SkyCoord): arg = arg.transform_to(self._reference_frame) try: lon = arg.data.lon lat = arg.data.lat except AttributeError: lon = arg.spherical.lon lat = arg.spherical.lat return lon, lat elif all(isinstance(a, u.Quantity) for a in arg): return tuple(arg) else: raise ValueError("Could not convert input {} to lon and lat quantities.".format(arg))
(axes_order=None, reference_frame=None, unit=None, axes_names=None, name=None, axis_physical_types=None)
[ 0.03737233579158783, -0.06391440331935883, -0.023281127214431763, 0.04509977251291275, -0.029012473300099373, -0.023142782971262932, -0.0732426643371582, 0.02215461991727352, -0.003085539909079671, 0.0019120959332212806, 0.013201861642301083, -0.0027767387218773365, -0.005988269578665495, 0.048459526151418686, -0.01739167422056198, 0.021818645298480988, 0.004772828426212072, 0.007717554923146963, -0.012065473943948746, -0.0405542217195034, -0.0016749367350712419, -0.017450964078307152, 0.001669995952397585, -0.016986526548862457, -0.008942877873778343, 0.04130522534251213, 0.0105437021702528, 0.01101802010089159, -0.039783451706171036, -0.04521835222840309, -0.06166138872504234, 0.004745654296129942, -0.02877531386911869, -0.015632743015885353, 0.021344326436519623, -0.05237265303730965, -0.013794759288430214, 0.010622755624353886, -0.05778778716921806, 0.025099346414208412, -0.03349873423576355, -0.0520564429461956, 0.056167200207710266, -0.05071254074573517, -0.013577363453805447, 0.03509955853223801, -0.07257071137428284, 0.025316743180155754, -0.04423018917441368, 0.015000318177044392, 0.04249102249741554, -0.10063454508781433, 0.028380049392580986, 0.050238221883773804, -0.013923220336437225, 0.05834116041660309, 0.006151316221803427, 0.10687974095344543, 0.030949274078011513, -0.020375926047563553, -0.052214547991752625, 0.04308391734957695, -0.005410193931311369, -0.04857810586690903, -0.026067746803164482, -0.028241707012057304, 0.017579425126314163, -0.010850032791495323, 0.008424092084169388, 0.02482266165316105, -0.0008072058553807437, 0.008863824419677258, 0.003567269304767251, -0.011215653270483017, 0.03253033384680748, -0.009901395998895168, -0.050475381314754486, 0.003579621436074376, 0.025217926129698753, -0.028024310246109962, -0.057906366884708405, -0.00010885235678870231, 0.0172039233148098, 0.0052619692869484425, 0.013587244786322117, 0.02792549319565296, 0.06442824751138687, 0.06786705553531647, 0.02019805647432804, -0.008834179490804672, -0.03547506034374237, -0.011561510153114796, 0.0009819872211664915, 0.02023758366703987, -0.007332171313464642, -0.018982617184519768, -0.015553689561784267, -0.023735681548714638, -0.0192691832780838, 0.01198642048984766, -0.0020467331632971764, 0.016650551930069923, -0.06845995038747787, 0.03472405672073364, -0.046285565942525864, 0.056918203830718994, -0.03523790091276169, -0.032036252319812775, 0.00452578766271472, 0.008868765085935593, -0.06130564957857132, 0.00763356126844883, -0.000828204327262938, 0.02970418706536293, -0.0200794767588377, -0.01724344864487648, -0.014190024696290493, 0.03563316911458969, -0.03189790993928909, -0.012549673207104206, 0.028340522199869156, 0.07901353389024734, 0.03266867622733116, 0.007638501934707165, 0.038736000657081604, 0.03946724161505699, 0.024210000410676003, 0.014190024696290493, -0.0266408808529377, -0.030040163546800613, 0.06367724388837814, -0.03136430308222771, -0.000601235602516681, 0.044585928320884705, 0.06142422929406166, 0.030059926211833954, 0.01640351116657257, -0.028300996869802475, -0.10261087119579315, 0.05573240667581558, 0.050396326929330826, 0.038736000657081604, 0.05921074375510216, 0.007939891889691353, -0.08221518248319626, 0.09573325514793396, -0.020672375336289406, -0.05917121842503548, -0.07114775478839874, -0.028024310246109962, -0.04430923983454704, -0.01642327383160591, -0.04430923983454704, 0.007663206197321415, -0.02788596786558628, -0.09359882771968842, 0.0061414348892867565, 0.006709628738462925, 0.04980342835187912, 0.10640542209148407, -0.06098943576216698, -0.013636653311550617, -0.012431093491613865, -0.014199906028807163, -0.02958560921251774, 0.014960791915655136, -0.01636398397386074, -0.10182034224271774, -0.01396274659782648, 0.03255009651184082, 0.03138406574726105, 0.015444992110133171, 0.01633433811366558, 0.007544626481831074, -0.02596893161535263, 0.012352040968835354, -0.013083281926810741, -0.02213485725224018, -0.0018182203639298677, -0.03936842456459999, 0.020494505763053894, -0.034111395478248596, -0.045455511659383774, -0.008794653229415417, 0.00547936512157321, 0.07201734185218811, 0.0249214768409729, -0.006798563525080681, 0.08814416080713272, 0.017648596316576004, -0.015692032873630524, 0.036799199879169464, -0.009239326231181622, 0.014555645175278187, 0.039625346660614014, -0.00667998380959034, 0.013073399662971497, 0.00008615548722445965, -0.01627504825592041, 0.027431411668658257, -0.06711605191230774, 0.018913444131612778, 0.06197759881615639, -0.0399613231420517, -0.02282657101750374, 0.03075164183974266, 0.035949379205703735, 0.0028533213771879673, -0.07695815712213516, 0.0028730847407132387, 0.033004652708768845, -0.02116645686328411, -0.03316275775432587, -0.04047516733407974, 0.018735576421022415, -0.023755444213747978, -0.04284675791859627, -0.015365938656032085, 0.03675967454910278, 0.032174594700336456, 0.10355950891971588, 0.009501189924776554, -0.008997226133942604, -0.041779544204473495, -0.014427184127271175, -0.037925705313682556, 0.06853900104761124, 0.024427395313978195, 0.0043454477563500404, -0.057115837931632996, -0.02861720882356167, -0.03063306212425232, -0.046285565942525864, -0.016937118023633957, 0.0030830693431198597, -0.028380049392580986, 0.021403616294264793, -0.0017984571168199182, -0.024210000410676003, -0.004286158364266157, -0.026561828330159187, -0.030119216069579124, -0.016650551930069923, 0.024585502222180367, -0.02867649868130684, -0.04770852252840996, 0.04102854058146477, 0.04320249706506729, -0.04703657329082489, -0.0018676285399124026, -0.016551734879612923, -0.0010091617004945874, -0.015257241204380989, 0.0100644426420331, 0.013695943169295788, -0.10324329882860184, -0.04703657329082489, -0.047510888427495956, 0.03154217079281807, -0.06106849014759064, -0.009698822163045406, -0.04426971450448036, 0.010247252881526947, 0.06743226200342178, 0.0006466293125413358, 0.020751427859067917, 0.009377669543027878, -0.02505982108414173, -0.010682044550776482, 0.01055358350276947, 0.023478759452700615, 0.045534562319517136, -0.05747157707810402, 0.012569436803460121, 0.002516110660508275, -0.047471363097429276, 0.03168051317334175, -0.03934866189956665, 0.013646534644067287, 0.028281232342123985, 0.011660326272249222, -0.030356375500559807, -0.017618950456380844, 0.014051681384444237, -0.013587244786322117, -0.03911150246858597, -0.0011363878147676587, -0.003997120540589094, 0.03751067817211151, -0.025534138083457947, -0.0193185918033123, 0.024545975029468536, 0.015751322731375694, 0.020514270290732384, 0.036799199879169464, -0.009486366994678974, -0.06865758448839188, 0.006763977464288473, 0.02203604020178318, -0.024447159841656685, 0.0192691832780838, 0.034980978816747665, 0.041660964488983154, -0.005415134597569704, 0.0021257861517369747, -0.07367745041847229, -0.0010036033345386386, -0.008433973416686058, 0.014150498434901237, 0.02980300411581993, 0.034941453486680984, 0.028360286727547646, -0.03391376510262489, -0.03940794989466667, 0.0008146170875988901, 0.04434876888990402, 0.016116943210363388, -0.0382419191300869, 0.07047580182552338, 0.08632594347000122, 0.025494612753391266, -0.06138470396399498, -0.0297634769231081, 0.006759036798030138, 0.023458996787667274, -0.006996195763349533, 0.001598354079760611, -0.015178187750279903, 0.05723441764712334, -0.016907474026083946, -0.048538580536842346, -0.004182401113212109, -0.03770831227302551, -0.004814825486391783, 0.03371613100171089, -0.04292581230401993, -0.0066108121536672115, 0.030870219692587852, 0.04976390302181244, -0.042767707258462906, -0.0067046876065433025, 0.010425122454762459, -0.05102875083684921, 0.021640775725245476, -0.02219414710998535, -0.05652293935418129, 0.026166563853621483, -0.005558418575674295, 0.04889431968331337, 0.013636653311550617, -0.04758994281291962, -0.002128256717696786, 0.005103863310068846, 0.0019380352459847927, 0.0002751417050603777, 0.07205686718225479, -0.02588987722992897, -0.0460088811814785, -0.02300444059073925, 0.010276897810399532, 0.05011964216828346, -0.041621435433626175, -0.019407527521252632, -0.01905178837478161, -0.07075248658657074, -0.04415113478899002, 0.03363707661628723, -0.023735681548714638, 0.01807350665330887, -0.003745138878002763, -0.01439753919839859, -0.03893363103270531, 0.0002729801053646952, -0.01060299202799797, -0.04972437396645546, 0.07241260260343552, 0.05193786323070526, 0.007920128293335438, -0.07217544317245483, -0.13929149508476257, 0.05102875083684921, -0.023142782971262932, -0.04122617095708847, 0.035079795867204666, 0.007183947134763002, -0.013211742974817753, -0.00017910459428094327, 0.010257135145366192, -0.010859914124011993, 0.028142889961600304, 0.02972395159304142, -0.048301421105861664, 0.02393331378698349, -0.01445682905614376, -0.047431837767362595, -0.0009535775752738118, -0.008740304037928581, 0.08885563910007477, -0.009807520546019077, -0.013735469430685043, 0.0010882148053497076, -0.055930040776729584, -0.009194859303534031, 0.015504281967878342, -0.004701186902821064, -0.005133508238941431, 0.07968548685312271, 0.001001750468276441, -0.0008300571353174746, 0.041660964488983154, -0.011620800010859966, 0.035969141870737076, -0.0014377775369212031, 0.006200724747031927, -0.054981403052806854, 0.015168306417763233, -0.05826210603117943, 0.0044022672809660435, 0.040909960865974426, 0.03136430308222771, -0.03452642634510994, 0.04723420366644859, 0.022411543875932693, 0.057866841554641724, 0.04679941385984421, 0.00185280607547611, -0.025257453322410583, 0.005341022275388241, 0.02887413091957569, 0.06011985242366791, -0.03385447338223457, -0.02010912261903286, -0.05766920745372772, -0.04434876888990402, 0.0034486898221075535, -0.00960988737642765, -0.004678952973335981, 0.018715811893343925, -0.03365683928132057, 0.045376457273960114, 0.008878647349774837, 0.01100813876837492, 0.016858065500855446, 0.027134964242577553, -0.04952674359083176, -0.015909427776932716, -0.04849905148148537, 0.008908292278647423, -0.034170687198638916, 0.028399812057614326, 0.04130522534251213, 0.04494166374206543, -0.010395477525889874, -0.042728178203105927, 0.013587244786322117, -0.023498522117733955, 0.013933101668953896, -0.029210105538368225, -0.008725482039153576, -0.061740439385175705, 0.02120598405599594, -0.007964596152305603, 0.03173980489373207, -0.024407632648944855, -0.006309422664344311, 0.03739209845662117, 0.039882268756628036, -0.058973584324121475, -0.03928937017917633, -0.0172039233148098, 0.060712751001119614, 0.05743204802274704, 0.023399706929922104, -0.046522725373506546, 0.03150264546275139, 0.026225853711366653, -0.04790615662932396, 0.01244097575545311, -0.031245723366737366, -0.08332192897796631, -0.04608793556690216, -0.05000106245279312, 0.030198270455002785, -0.036917779594659805, -0.009249208495020866, 0.04446734860539436, 0.02302420511841774, -0.036957304924726486, 0.022747518494725227, 0.02588987722992897, -0.06359818577766418, 0.08284761011600494, -0.008503144606947899, 0.03733280673623085, -0.0365225151181221, 0.03816286474466324, 0.06201712787151337, -0.0498429536819458, -0.025336505845189095, 0.011215653270483017, 0.02215461991727352, 0.007653324399143457, 0.00524714682251215, -0.022648701444268227, 0.05015916749835014, -0.05102875083684921, -0.015286886133253574, -0.015168306417763233, -0.005914157256484032, 0.009219563566148281, -0.04486261308193207, -0.01737190969288349, 0.08561446517705917, -0.0554952509701252, 0.020889772102236748, 0.02312302030622959, -0.015563571825623512, 0.04126570001244545, 0.020889772102236748, 0.013162334449589252, -0.009130628779530525, 0.012678135186433792, 0.06162186339497566, 0.048301421105861664, 0.013784877955913544, 0.015988482162356377, -0.022628938779234886, 0.0026309846434742212, 0.034961216151714325, -0.007653324399143457, 0.008676073513925076, -0.03851860389113426, -0.05051490664482117, 0.0520564429461956, 0.05826210603117943, 0.0348031111061573, 0.010770979337394238, -0.020375926047563553, 0.005153271369636059, -0.0036389112938195467, 0.008295631036162376, -0.003994650207459927, 0.008740304037928581, -0.02885436825454235, -0.016996407881379128, -0.06118706986308098, 0.03371613100171089, -0.0027273306623101234, 0.06996195763349533, 0.0249214768409729, 0.012846122495830059, 0.005232324358075857, 0.041740015149116516, 0.02094906195998192, 0.029289159923791885, 0.020553795620799065, -0.009209681302309036, 0.029921583831310272, -0.039664871990680695, 0.00697149196639657, 0.029131053015589714, 0.03666085749864578, 0.04664130508899689, -0.021561723202466965, 0.0014970673946663737, 0.007015959359705448, 0.023221837356686592, 0.011294705793261528, 0.016709841787815094, 0.02760928124189377, 0.01641339249908924, 0.030000636354088783, 0.010395477525889874, -0.0037377276457846165, 0.012648490257561207, -0.03555411472916603, -0.032016489654779434, 0.006788681726902723, -0.017816584557294846, -0.06774847209453583, 0.05838068574666977, -0.010435003787279129, 0.012836241163313389, -0.0635586604475975, 0.043755870312452316, 0.05762968212366104, 0.0069122021086514, 0.03521813824772835, 0.04502071812748909, -0.02094906195998192, -0.004350388888269663, -0.0021714887116104364, 0.02381473407149315, 0.015237477608025074, 0.0015822964487597346, 0.029111290350556374, -0.05925026908516884, -0.012006184086203575, 0.03628535568714142, 0.0051680938340723515, -0.03055400773882866, 0.0035820917692035437, -0.0023950606118887663, -0.01001997571438551, -0.009234385564923286, -0.04565314203500748, 0.014031918719410896, 0.0005796195473521948, -0.03316275775432587, -0.019871963188052177, 0.06711605191230774, 0.011630681343376637, -0.017441080883145332, -0.05683915317058563, -0.021818645298480988, -0.07126633822917938, -0.04589030146598816, 0.021660538390278816, 0.014190024696290493, -0.009851987473666668, 0.0015304178232327104, -0.015731560066342354, -0.08806511014699936, -0.03743162378668785, -0.053123656660318375, -0.00072135915979743, 0.04672035947442055, -0.029269395396113396, 0.014170261099934578, 0.0012660841457545757, 0.07478419691324234, 0.00046783353900536895, -0.006615753285586834, -0.10387572646141052, 0.0005079776747152209, -0.004856822546571493, -0.03422997519373894, 0.00035295955603942275, -0.0006985079380683601, 0.07095012068748474, 0.004908700939267874, 0.017875874415040016, 0.007391461171209812, 0.027036147192120552, -0.05272839218378067, -0.016729604452848434, 0.0114528127014637, -0.020474743098020554, 0.0297634769231081, 0.007055485621094704, -0.017994452267885208, 0.057906366884708405, 0.04668083414435387, -0.024190237745642662, 0.05268886685371399, -0.003406692761927843, -0.07680004835128784, 0.015800731256604195, 0.05083112046122551, 0.011689971201121807, 0.03377541899681091, -0.011215653270483017, 0.03741186112165451, 0.0005820899386890233, -0.009219563566148281, -0.05687867850065231, 0.03956605866551399, 0.009980449452996254, 0.030969036743044853, 0.017628833651542664, -0.013271032832562923, -0.05067301169037819, 0.03385447338223457, -0.014446946792304516, -0.024387869983911514, 0.02000042423605919, 0.015425228513777256, 0.015761204063892365, 0.059764113277196884, 0.004051469266414642, -0.008824298158288002, 0.06968527287244797, -0.045692671090364456, -0.005044573452323675, 0.029190342873334885, -0.009753171354532242, 0.02671993523836136, 0.020909534767270088, -0.0006700982339680195, -0.07719531655311584, 0.07000148296356201, 0.00673927366733551, 0.036977071315050125, -0.022273199632763863, -0.00027761212550103664, -0.02205580472946167, -0.03857789561152458, 0.006383534520864487, 0.0033226991072297096, 0.009323320351541042, -0.0004381886392366141, 0.0021356679499149323, -0.025415560230612755, 0.0637562945485115, 0.039882268756628036, 0.059843167662620544, -0.0021121990866959095, 0.011946894228458405, 0.028577681630849838, -0.029348449781537056, 0.0005228001391515136, 0.03822215646505356, 0.01729285717010498, -0.019862081855535507, -0.04332107678055763, 0.009832224808633327, 0.00950613059103489, 0.07640478760004044, 0.007796608377248049, -0.006042618304491043, -0.00011857959179906175, 0.07996217161417007, 0.03339991718530655, 0.02984253130853176, 0.019437171518802643, 0.024723844602704048, 0.006996195763349533, -0.023379942402243614, -0.024150710552930832, -0.007915187627077103, -0.009352965280413628, 0.0956542044878006, -0.03415092080831528, 0.06905285269021988, -0.01493114698678255, -0.010326306335628033, -0.0200794767588377, -0.011907367035746574, -0.03650275245308876, 0.0130141107365489, -0.020474743098020554, -0.002516110660508275, -0.010968612506985664, -0.013695943169295788, -0.013913339003920555, 0.05664151906967163, -0.028478864580392838, 0.009570361115038395, 0.015741441398859024, 0.0008553788065910339, 0.026403723284602165, 0.011304588057100773, -0.019605159759521484, -0.029091525822877884, 0.031127143651247025, -0.05948742851614952, -0.009772934950888157, 0.007964596152305603, -0.024565739557147026, -0.06652314960956573, -0.0552976168692112, -0.0033375213388353586, 0.014150498434901237, 0.06351913511753082, 0.00956542044878006, 0.03950676694512367, -0.06624646484851837, 0.018636759370565414 ]
44,119
gwcs.coordinate_frames
__init__
null
def __init__(self, axes_order=None, reference_frame=None, unit=None, axes_names=None, name=None, axis_physical_types=None): naxes = 2 if reference_frame is not None: if not isinstance(reference_frame, str): if reference_frame.name.upper() in STANDARD_REFERENCE_FRAMES: _axes_names = list(reference_frame.representation_component_names.values()) if 'distance' in _axes_names: _axes_names.remove('distance') if axes_names is None: axes_names = _axes_names naxes = len(_axes_names) _unit = list(reference_frame.representation_component_units.values()) if unit is None and _unit: unit = _unit if axes_order is None: axes_order = tuple(range(naxes)) if unit is None: unit = tuple([u.degree] * naxes) axes_type = ['SPATIAL'] * naxes super(CelestialFrame, self).__init__(naxes=naxes, axes_type=axes_type, axes_order=axes_order, reference_frame=reference_frame, unit=unit, axes_names=axes_names, name=name, axis_physical_types=axis_physical_types)
(self, axes_order=None, reference_frame=None, unit=None, axes_names=None, name=None, axis_physical_types=None)
[ -0.004482384771108627, -0.0396667942404747, -0.0007480268832296133, -0.0012777107767760754, -0.05918596312403679, -0.02255055494606495, -0.036339666694402695, 0.019870366901159286, -0.033973705023527145, 0.016090376302599907, 0.013927740044891834, 0.014851943589746952, -0.01780015043914318, 0.03613634034991264, 0.005221747327595949, 0.005374240688979626, 0.02898300811648369, -0.012134786695241928, -0.012864906340837479, -0.05293835327029228, -0.012227206490933895, -0.012208722531795502, -0.008040566928684711, 0.003948657773435116, 0.004008730873465538, 0.054269205778837204, -0.04033222049474716, 0.015351013280451298, -0.017060788348317146, -0.03293859586119652, -0.033751897513866425, 0.0077771688811481, -0.07415805757045746, 0.011737379245460033, 0.00997215136885643, -0.017874088138341904, -0.020591244101524353, -0.022347230464220047, -0.024195635691285133, 0.06328942626714706, -0.001664720824919641, -0.04033222049474716, 0.04702345281839371, -0.02728247456252575, -0.012116302736103535, 0.05478675663471222, -0.02571132965385914, -0.01682973839342594, -0.02728247456252575, -0.001955844694748521, 0.01256916206330061, -0.055045533925294876, 0.028816651552915573, 0.007920420728623867, -0.0281881932169199, 0.04565563052892685, 0.0021845849696546793, 0.10166233777999878, 0.02206997014582157, -0.007278099190443754, -0.05903809145092964, 0.023530209437012672, 0.0028349929489195347, -0.06750379502773285, -0.038151104003190994, -0.0074490769766271114, 0.015748420730233192, -0.0024144805502146482, 0.02378898672759533, 0.005027664825320244, 0.036801766604185104, 0.028890587389469147, -0.035452429205179214, -0.014962847344577312, 0.01194994617253542, -0.014787249267101288, -0.04495323821902275, 0.046025313436985016, -0.01722714491188526, 0.01722714491188526, -0.07009156048297882, 0.02829909883439541, -0.005027664825320244, 0.0032139162067323923, 0.015314045362174511, 0.029592981562018394, 0.0242141205817461, 0.0349348746240139, 0.023179013282060623, 0.012384321540594101, -0.03327130898833275, -0.04676467552781105, -0.017726214602589607, 0.009288241155445576, 0.014537714421749115, -0.019907334819436073, -0.008401005528867245, 0.011099678464233875, -0.0010795847047120333, 0.02343779057264328, -0.031127160415053368, -0.019888849928975105, -0.05948171019554138, 0.011275277473032475, -0.054823726415634155, 0.04417690634727478, -0.03889046609401703, -0.051903244107961655, -0.006839102599769831, -0.014805733226239681, -0.030461734160780907, 0.024509865790605545, 0.04144126549363136, 0.041182488203048706, -0.0028488559182733297, 0.006723577156662941, -0.016256732866168022, -0.000019476858142297715, -0.034546710550785065, -0.004218987189233303, 0.03704205900430679, 0.037818390876054764, 0.04362238571047783, 0.006852965801954269, 0.0054158298298716545, 0.050313614308834076, -0.01806817017495632, -0.028668779879808426, 0.006649641320109367, -0.02571132965385914, 0.07622826844453812, -0.038927432149648666, -0.006229128688573837, 0.02410321682691574, 0.03288314491510391, 0.02186664380133152, 0.0067836507223546505, -0.007005459163337946, -0.09707829356193542, 0.032162267714738846, 0.03541546314954758, 0.0245653185993433, 0.08229104429483414, 0.0307574775069952, -0.0637330412864685, 0.10846447199583054, -0.04025828465819359, -0.08162561804056168, -0.10816872864961624, -0.002749504055827856, -0.03022143989801407, -0.0028049563989043236, -0.0466168038547039, -0.04351148009300232, 0.008183818310499191, -0.07545194029808044, 0.0035096611827611923, 0.021108798682689667, 0.03389976918697357, 0.11053469032049179, -0.015110719949007034, 0.03144138678908348, -0.02717157080769539, -0.01054515689611435, -0.009168094024062157, 0.01115513127297163, 0.001900392584502697, -0.13596875965595245, -0.017726214602589607, 0.01684822142124176, 0.034879423677921295, 0.0052125053480267525, 0.024620769545435905, 0.006751303561031818, -0.03807716816663742, -0.020424887537956238, 0.005979593843221664, 0.0055267345160245895, 0.0005712730344384909, -0.010951806791126728, 0.02635827101767063, 0.006487905513495207, -0.01905706711113453, -0.00884462334215641, 0.020369436591863632, 0.04195882007479668, 0.002287402516230941, 0.03447277471423149, 0.07911178469657898, 0.02206997014582157, 0.022957203909754753, 0.06510086357593536, -0.0005415252526290715, 0.011293761432170868, 0.038372911512851715, -0.04081280902028084, 0.02175574004650116, -0.03212529793381691, -0.027541251853108406, 0.05352984368801117, -0.032846178859472275, 0.03641360253095627, 0.03959285840392113, -0.03288314491510391, 0.01589629240334034, 0.05948171019554138, 0.0341770313680172, 0.010674545541405678, -0.03456519544124603, 0.0002658527810126543, 0.041626106947660446, -0.03685721755027771, -0.03484245762228966, -0.02940814197063446, -0.011681926436722279, 0.012541435658931732, -0.09042403101921082, -0.026894308626651764, 0.026228882372379303, 0.003472693031653762, 0.08894530683755875, 0.04746707156300545, 0.020831536501646042, -0.04495323821902275, -0.05319713056087494, -0.02715308591723442, 0.05589580163359642, -0.006732819601893425, -0.0289460401982069, -0.008576604537665844, -0.08132986724376678, -0.014999816194176674, -0.04654286801815033, -0.02378898672759533, 0.0060119410045444965, -0.022458134219050407, -0.0028141983784735203, 0.00647866353392601, -0.05186627805233002, -0.021607868373394012, 0.031293515115976334, -0.003872410859912634, 0.012707792222499847, -0.021552415564656258, 0.008516531437635422, -0.037578098475933075, 0.025970106944441795, 0.035655755549669266, -0.06650565564632416, -0.018095895648002625, -0.05486069619655609, -0.009288241155445576, -0.025970106944441795, 0.007823378778994083, -0.0009727237629704177, -0.0768197625875473, -0.0563763864338398, -0.0815516784787178, 0.031496841460466385, -0.041515201330184937, -0.00007444166840286925, -0.02151544764637947, 0.044250842183828354, 0.08569210767745972, -0.0027079149149358273, -0.004175087437033653, -0.010517431423068047, -0.028742715716362, -0.0017351913265883923, -0.022106938064098358, 0.0760064572095871, 0.036801766604185104, 0.01837315782904625, 0.029463594779372215, -0.02715308591723442, -0.08036869764328003, -0.0035327663645148277, -0.06047984957695007, -0.0018299220828339458, 0.034657616168260574, 0.03402915596961975, -0.0311086755245924, -0.008174575865268707, 0.03389976918697357, -0.020461855456233025, -0.029888726770877838, -0.03064657375216484, -0.013687447644770145, 0.018456336110830307, -0.03412157669663429, -0.02312356047332287, 0.05848357081413269, 0.005688469856977463, 0.025600425899028778, 0.005730058997869492, -0.04890882596373558, -0.021718772128224373, 0.00855812057852745, 0.01171889528632164, 0.03378886356949806, -0.0039602103643119335, 0.010803934186697006, 0.04657983407378197, -0.017375018447637558, -0.02524922788143158, -0.08591391891241074, -0.006316928192973137, 0.013881530612707138, 0.020794568583369255, 0.0502396784722805, 0.062032509595155716, 0.062143415212631226, -0.05097904056310654, 0.011857525445520878, 0.0007151021272875369, 0.027984868735074997, 0.01600719802081585, -0.04724526032805443, 0.053936492651700974, 0.06713411211967468, 0.030258407816290855, -0.07426895946264267, -0.0311086755245924, -0.023604147136211395, -0.022273294627666473, 0.018280737102031708, 0.01499057374894619, -0.03676479682326317, 0.06184766814112663, 0.017060788348317146, -0.03086838312447071, -0.018253011628985405, -0.008230028674006462, -0.02511983923614025, 0.009852005168795586, -0.0567830353975296, -0.0075830863788723946, 0.02206997014582157, 0.03772597014904022, -0.03767051547765732, -0.004787371959537268, -0.0011408132268115878, -0.026875825598835945, -0.009833520278334618, -0.02264297567307949, -0.03741174191236496, 0.009916698560118675, -0.010674545541405678, 0.05486069619655609, -0.032180752605199814, -0.07205086946487427, -0.006922280881553888, -0.005346514750272036, 0.009426871314644814, -0.023936860263347626, 0.09301179647445679, -0.04746707156300545, -0.0001299660507356748, -0.01994430273771286, -0.0016878258902579546, 0.0545649491250515, -0.01768924668431282, -0.047504037618637085, -0.024824094027280807, -0.06184766814112663, -0.027319442480802536, 0.03685721755027771, -0.00813760794699192, -0.021016377955675125, 0.004279060289263725, 0.03042476437985897, -0.009283619932830334, -0.0030591122340410948, 0.04011041298508644, -0.0155543377622962, 0.03456519544124603, 0.028483938425779343, 0.003990246914327145, -0.007985114119946957, -0.10868628323078156, -0.000334734795615077, -0.005637638736516237, -0.037929292768239975, -0.007629296276718378, -0.034879423677921295, -0.011894493363797665, -0.020258530974388123, 0.034546710550785065, -0.013927740044891834, 0.05242079868912697, 0.025323163717985153, -0.05293835327029228, 0.001432514749467373, -0.03269830346107483, -0.06436150521039963, -0.007416729815304279, 0.01658020354807377, 0.05375165119767189, -0.026007074862718582, -0.006714335177093744, 0.030628090724349022, -0.025655876845121384, -0.01746743731200695, 0.005730058997869492, -0.0070978794246912, 0.05249473452568054, 0.02876119874417782, 0.005882552359253168, 0.02029549889266491, 0.008553499355912209, 0.027097634971141815, 0.04306786507368088, -0.026099495589733124, 0.023382337763905525, -0.0854703038930893, 0.02772609144449234, -0.030794447287917137, -0.03822503983974457, 0.05097904056310654, 0.0026131842751055956, -0.042661212384700775, 0.062254320830106735, -0.008678266778588295, 0.01682973839342594, 0.05467585474252701, 0.04022131860256195, -0.00603042496368289, -0.010656061582267284, 0.06931523233652115, 0.01002760324627161, -0.08303040266036987, 0.01649702526628971, -0.06794741004705429, -0.01813286356627941, 0.03042476437985897, 0.011219825595617294, -0.004403827711939812, 0.02142302691936493, -0.04521201550960541, 0.023622630164027214, -0.010914837941527367, -0.04462052509188652, 0.00841486919671297, 0.01560978963971138, -0.08983253687620163, -0.026894308626651764, -0.03595149889588356, 0.010711513459682465, -0.026783404871821404, 0.0061182244680821896, 0.06794741004705429, 0.07371443510055542, -0.02805880457162857, -0.052790477871894836, -0.024269573390483856, -0.01598871313035488, 0.023400822654366493, 0.0025646635331213474, 0.047725845128297806, -0.013280797749757767, -0.024879546836018562, -0.023955343291163445, 0.04314180091023445, -0.037226900458335876, -0.03321585804224014, 0.040517061948776245, 0.05260564014315605, -0.040627967566251755, -0.01144163403660059, -0.015258592553436756, 0.07426895946264267, 0.0585944764316082, 0.01600719802081585, -0.027522766962647438, 0.010055329650640488, 0.025618908926844597, -0.018539514392614365, -0.018299220129847527, 0.0131883779540658, -0.07190299779176712, -0.04066493362188339, -0.02173725701868534, 0.003962520509958267, -0.04572956636548042, -0.0042374711483716965, 0.020221563056111336, -0.010147749446332455, -0.0370975099503994, 0.021774224936962128, 0.03153380751609802, -0.06354819983243942, 0.05242079868912697, -0.030738994479179382, 0.025951622053980827, 0.017901813611388206, 0.044250842183828354, 0.04428781196475029, -0.001087093842215836, -0.025748297572135925, 0.03992557153105736, 0.0200367234647274, -0.028132742270827293, 0.01233811117708683, -0.040960680693387985, 0.007467560935765505, -0.04443568363785744, -0.011349213309586048, -0.04314180091023445, -0.005147811025381088, -0.0060165622271597385, -0.013262313790619373, -0.025304680690169334, 0.05016574263572693, -0.03772597014904022, 0.005309546831995249, 0.01560054812580347, -0.050424519926309586, 0.03704205900430679, 0.02232874557375908, 0.058668412268161774, 0.04358541592955589, 0.032513465732336044, 0.0604059137403965, 0.052568670362234116, 0.0015503506874665618, -0.002973623340949416, -0.005230989307165146, 0.02288326807320118, 0.045914407819509506, 0.002941276179626584, 0.011885251849889755, -0.05242079868912697, -0.0640287920832634, 0.05083116888999939, 0.025655876845121384, 0.02964843437075615, -0.033086471259593964, 0.04380722716450691, 0.005425071809440851, -0.00855812057852745, -0.010175475850701332, -0.004884413443505764, 0.03007356822490692, -0.02748579904437065, -0.02491651475429535, -0.10498946905136108, 0.03585907816886902, -0.007310446351766586, 0.08288253098726273, 0.03221771866083145, 0.006788271479308605, -0.02434350922703743, -0.0021533931139856577, 0.024842578917741776, 0.035988468676805496, 0.022106938064098358, 0.023622630164027214, 0.026081010699272156, -0.01171889528632164, -0.016543235629796982, 0.016940642148256302, 0.05016574263572693, 0.04125642403960228, -0.011746620759367943, 0.05715271830558777, 0.002687120344489813, 0.034306418150663376, 0.01865966059267521, 0.0008444905397482216, -0.012273416854441166, -0.026302820071578026, 0.03316040709614754, 0.015508127398788929, 0.02545255236327648, 0.03066505864262581, -0.015480401925742626, -0.011552538722753525, 0.04724526032805443, -0.031737133860588074, -0.04055403172969818, 0.011349213309586048, -0.041737012565135956, -0.03552636504173279, -0.029592981562018394, 0.01144163403660059, 0.01751364767551422, 0.007176436949521303, -0.0005100445705465972, 0.031737133860588074, -0.035563334822654724, 0.022716911509633064, -0.054823726415634155, 0.034213997423648834, 0.043104831129312515, -0.0011217514984309673, 0.03489790856838226, -0.0407758392393589, -0.021663319319486618, 0.017901813611388206, 0.021885128691792488, -0.002037867670878768, 0.004385343752801418, 0.017328808084130287, 0.03053566999733448, -0.030018115416169167, -0.0185487549751997, 0.031256549060344696, -0.002617805264890194, -0.023936860263347626, -0.008220786228775978, 0.06014713644981384, 0.0200367234647274, -0.029371174052357674, -0.0028303719591349363, -0.007458318956196308, -0.06029500812292099, -0.04303089529275894, 0.005817858502268791, 0.018049685284495354, 0.010092297568917274, 0.014639376662671566, -0.023197496309876442, -0.07205086946487427, -0.002154548419639468, -0.0698697492480278, -0.002270073862746358, 0.054823726415634155, -0.05700484663248062, 0.007800274062901735, 0.04628409072756767, 0.08687508851289749, 0.0014070991892367601, -0.05585883557796478, -0.08354795724153519, 0.007379761431366205, -0.016127344220876694, -0.019519168883562088, 0.011626474559307098, 0.03571120649576187, 0.051644466817379, -0.021275155246257782, 0.031127160415053368, 0.0342324823141098, -0.000021715162802138366, -0.0400734469294548, -0.02005520649254322, -0.020129142329096794, -0.055600058287382126, 0.037799905985593796, 0.004773508757352829, -0.018742838874459267, 0.034639131277799606, 0.04133035987615585, -0.028668779879808426, 0.03245801106095314, 0.009842762723565102, -0.07120060175657272, 0.013345492072403431, 0.04543382301926613, 0.015193898230791092, -0.006095119286328554, -0.0065017687156796455, 0.07585858553647995, 0.007874210365116596, 0.008114502765238285, -0.02007369138300419, 0.020591244101524353, -0.017569100484251976, -0.020203080028295517, 0.027670640498399734, -0.02761518768966198, -0.021164249628782272, 0.023585662245750427, -0.0320143960416317, -0.028872104361653328, 0.09907457232475281, -0.0005675184656865895, -0.0032531947363168, 0.10425010323524475, 0.011404666118323803, -0.011275277473032475, 0.0801468938589096, -0.02794790081679821, -0.042883023619651794, 0.029666919261217117, -0.01020320225507021, -0.0006417435361072421, 0.041515201330184937, -0.003918621223419905, -0.0854703038930893, 0.043326638638973236, 0.02286478318274021, 0.0011633406393229961, -0.035563334822654724, -0.0056006708182394505, 0.024528348818421364, -0.025637393817305565, -0.05360377952456474, 0.0041358089074492455, 0.047947656363248825, -0.006127466447651386, 0.029500562697649002, -0.03929711505770683, 0.052346862852573395, 0.030055083334445953, 0.039481956511735916, 0.028539391234517097, 0.04195882007479668, -0.0013135236222296953, -0.060701657086610794, -0.006714335177093744, 0.05186627805233002, 0.02998114749789238, -0.011644958518445492, -0.0400734469294548, 0.01268006581813097, 0.0024606906808912754, 0.07330778986215591, -0.021552415564656258, -0.028668779879808426, 0.035452429205179214, 0.06436150521039963, 0.027763061225414276, 0.004200502764433622, 0.06206947937607765, -0.007643159478902817, 0.004151982255280018, 0.003752264427021146, -0.026654016226530075, -0.02996266447007656, 0.030276892706751823, 0.06491602212190628, -0.03164471313357353, 0.06731895357370377, -0.043104831129312515, -0.04081280902028084, 0.004667225293815136, 0.005762406159192324, 0.008913938887417316, 0.03389976918697357, -0.02434350922703743, -0.0007896160241216421, -0.0120053980499506, -0.007010080385953188, -0.008937044069170952, 0.05585883557796478, -0.04765190929174423, -0.004512421321123838, 0.03595149889588356, 0.022014517337083817, -0.034213997423648834, -0.006224507931619883, -0.004614084027707577, -0.00935293547809124, -0.0006567618111148477, -0.07090485841035843, -0.0009207373368553817, 0.01937129721045494, -0.013844561763107777, -0.050646327435970306, -0.02094244211912155, -0.013225345872342587, 0.009108020924031734, 0.031016254797577858, 0.000454592372989282, 0.04820643365383148, 0.0165617186576128, 0.009403766132891178 ]
44,120
gwcs.coordinate_frames
__repr__
null
def __repr__(self): fmt = '<{0}(name="{1}", unit={2}, axes_names={3}, axes_order={4}'.format( self.__class__.__name__, self.name, self.unit, self.axes_names, self.axes_order) if self.reference_position is not None: fmt += ', reference_position="{0}"'.format(self.reference_position) if self.reference_frame is not None: fmt += ", reference_frame={0}".format(self.reference_frame) fmt += ")>" return fmt
(self)
[ 0.02895868755877018, -0.039767470210790634, 0.06079480051994324, -0.004795706365257502, 0.03039740025997162, -0.028350001201033592, -0.020861322060227394, -0.027446195483207703, 0.011555807664990425, -0.0026583890430629253, -0.003617530222982168, -0.014894356951117516, 0.004768038634210825, 0.03663181886076927, -0.013999773189425468, 0.02030797116458416, 0.02147000841796398, -0.11059636622667313, -0.003691310528665781, 0.016120951622724533, 0.020381752401590347, 0.05190429836511612, 0.00384117616340518, -0.05795426666736603, 0.020658425986766815, 0.027483085170388222, -0.016821861267089844, -0.017495105043053627, -0.027409305796027184, -0.010624334216117859, -0.0735587552189827, -0.052752766758203506, -0.012441168539226055, -0.03895588964223862, -0.0032255735713988543, 0.012690176256000996, -0.044636957347393036, -0.01738443598151207, -0.004655063152313232, -0.020049741491675377, 0.06876304745674133, -0.02147000841796398, -0.0014698378508910537, -0.04341958463191986, -0.046407680958509445, 0.026966625824570656, 0.03449219465255737, 0.035322219133377075, -0.033385492861270905, -0.04035771265625954, 0.05160917714238167, 0.02652394399046898, -0.021248668432235718, 0.014571568928658962, -0.07418588548898697, -0.0008628812502138317, 0.047514382749795914, 0.0330350361764431, 0.048510413616895676, 0.012330498546361923, -0.036226026713848114, 0.07108712196350098, 0.03504554554820061, -0.0488424226641655, -0.0228164941072464, -0.042239103466272354, -0.0004769767983816564, -0.002902785548940301, -0.006137581542134285, 0.028940241783857346, 0.031614769250154495, 0.00008674925629748031, -0.03277680650353432, -0.0032278792932629585, -0.03200211748480797, -0.02351740561425686, -0.026062818244099617, 0.011767925694584846, 0.03032361902296543, -0.035285331308841705, -0.019016819074749947, 0.024328986182808876, 0.0007026401581242681, 0.0032255735713988543, 0.05511373281478882, -0.04865797236561775, -0.006769323721528053, 0.022853383794426918, -0.013547870330512524, -0.018564917147159576, -0.003308576066046953, -0.004878708627074957, -0.00963752530515194, 0.027077294886112213, -0.05574086308479309, -0.028147106990218163, -0.012090712785720825, -0.03690849244594574, 0.03216812014579773, 0.001364931813441217, -0.005035491660237312, -0.03712983429431915, -0.05378568917512894, -0.00693994015455246, -0.06289753317832947, 0.012579506263136864, -0.022023359313607216, -0.0025361909065395594, -0.020916657522320747, 0.003924178890883923, 0.012164493091404438, 0.047071702778339386, 0.048584192991256714, 0.0010974789038300514, 0.044636957347393036, -0.010052538476884365, -0.04209154471755028, -0.015051139518618584, 0.03961991146206856, -0.027907321229577065, 0.007963638752698898, 0.00277597620151937, 0.011814038269221783, 0.01162036508321762, -0.07075510919094086, 0.030987640842795372, -0.0398043617606163, 0.009619079530239105, -0.00046544865472242236, -0.1159823089838028, 0.056294213980436325, -0.026376383379101753, -0.05267898738384247, 0.0074333446100354195, 0.0778380036354065, 0.021728238090872765, 0.05017046630382538, -0.00036832407931797206, -0.030471179634332657, 0.12099935859441757, 0.004260800313204527, -0.0424235537648201, -0.007304229307919741, 0.03393884375691414, -0.024033866822719574, 0.024790111929178238, 0.0026468608994036913, 0.05570397153496742, -0.0062620858661830425, -0.03987814113497734, 0.011694145388901234, 0.010568998754024506, 0.019145935773849487, -0.03277680650353432, 0.022724268957972527, -0.0013580148806795478, 0.001865253085270524, -0.020455531775951385, 0.03646581247448921, 0.03436307981610298, -0.030065389350056648, -0.010937899351119995, 0.0180023442953825, -0.00792674906551838, 0.026468608528375626, 0.05271587893366814, -0.013944437727332115, -0.06466825306415558, 0.00038503986434079707, 0.026874400675296783, 0.0015828135656192899, -0.0579911544919014, -0.049543336033821106, 0.037461843341588974, -0.03170699626207352, 0.025970593094825745, -0.026265714317560196, 0.09997203201055527, -0.054228369146585464, -0.028811126947402954, 0.03694538399577141, -0.023701855912804604, -0.046112559735774994, -0.0036498091649264097, 0.0166374109685421, -0.05378568917512894, 0.019385719671845436, 0.0017199984285980463, 0.05891340598464012, -0.0029950106982141733, 0.031172091141343117, 0.04478451982140541, -0.00160702271386981, 0.02348051592707634, -0.0004795706190634519, -0.0494326651096344, 0.006926106289029121, -0.08182212710380554, 0.06330332159996033, -0.023554295301437378, -0.02187579870223999, 0.010707336477935314, -0.013298862613737583, 0.004230827558785677, -0.005150773096829653, -0.004673507995903492, 0.02574925310909748, -0.035654231905937195, -0.002561552682891488, 0.009858865290880203, 0.009236345998942852, -0.0063312542624771595, -0.018601806834340096, -0.020252635702490807, 0.013003742322325706, 0.012063045985996723, -0.052051857113838196, 0.0036936160176992416, -0.05397013947367668, 0.03716672211885452, 0.03567267581820488, -0.02541724219918251, 0.029272252693772316, -0.0521625280380249, -0.06400423496961594, 0.006308197975158691, 0.06068412959575653, 0.013520202599465847, -0.025786142796278, 0.008111199364066124, 0.02265048958361149, -0.030249839648604393, -0.051055826246738434, 0.012662508524954319, -0.0456329882144928, 0.03275836259126663, -0.054929282516241074, -0.003829648019745946, 0.012653286568820477, 0.02067687176167965, -0.023498959839344025, 0.029032466933131218, 0.04873175173997879, -0.008369429968297482, 0.05640488490462303, -0.08130566775798798, 0.026597725227475166, 0.036392033100128174, -0.034381523728370667, -0.0020646897610276937, -0.02818399667739868, 0.011168462224304676, -0.027501530945301056, 0.007534792181104422, 0.027409305796027184, -0.043013796210289, -0.04032082110643387, -0.023000944405794144, 0.03039740025997162, 0.01324352715164423, 0.014341006055474281, 0.010808783583343029, 0.0007960180519148707, 0.0018249045824632049, 0.06075790897011757, 0.023498959839344025, -0.04386226832866669, -0.022115584462881088, -0.014424008317291737, 0.02689284458756447, 0.13420599699020386, 0.029530484229326248, -0.06075790897011757, 0.03914033994078636, -0.018057677894830704, -0.08248614519834518, 0.016628189012408257, -0.02685595490038395, -0.006432702299207449, -0.00844320934265852, 0.014534679241478443, -0.04983845353126526, -0.026745283976197243, 0.008111199364066124, 0.018675586208701134, -0.011445137672126293, -0.004366859328001738, 0.006916883867233992, 0.016914086416363716, 0.025325017049908638, 0.025435687974095345, 0.01721842959523201, -0.031374987214803696, 0.004396832548081875, 0.01102090161293745, -0.03130120411515236, 0.030950749292969704, 0.02739086002111435, -0.02360963076353073, 0.034990210086107254, -0.0007383773918263614, -0.014165778644382954, 0.07411210983991623, 0.034916430711746216, -0.029917828738689423, -0.005219941958785057, -0.018140681087970734, 0.004094795323908329, 0.03270302712917328, -0.010024870745837688, 0.002448576968163252, 0.01481135468930006, 0.022668935358524323, 0.016056394204497337, 0.03773852065205574, 0.050613146275281906, -0.0392141193151474, -0.04969089478254318, 0.050022903829813004, 0.07378009706735611, 0.0016588993603363633, 0.002566163893789053, -0.046776581555604935, 0.0016554408939555287, 0.029548928141593933, -0.0279257670044899, -0.0440836064517498, -0.005007823929190636, 0.05533507093787193, 0.019182825461030006, -0.025029897689819336, -0.06293442100286484, 0.003497637575492263, 0.024660997092723846, 0.03735117241740227, -0.01581660844385624, 0.02290871925652027, 0.00986808817833662, -0.034252408891916275, -0.031006084755063057, 0.04839974269270897, 0.024292096495628357, -0.024328986182808876, -0.005708734970539808, -0.04445250704884529, 0.01202615536749363, -0.022834939882159233, 0.016369959339499474, 0.02344362623989582, 0.010264655575156212, -0.05688445270061493, 0.013925992883741856, 0.0032094342168420553, -0.0007718089618720114, -0.021802017465233803, 0.024107646197080612, -0.021359337493777275, 0.02381252683699131, -0.0424235537648201, 0.06581184267997742, 0.03452908620238304, 0.002261820947751403, -0.007866802625358105, 0.009978758171200752, -0.03589401766657829, -0.03133809566497803, 0.019182825461030006, -0.028110217303037643, 0.03152254596352577, 0.01655440963804722, -0.048547301441431046, 0.00019842811161652207, -0.013326529413461685, -0.04489518702030182, -0.04898998513817787, 0.0697590783238411, -0.001163765788078308, 0.0023840193171054125, -0.01542926300317049, -0.19389408826828003, 0.016425292938947678, 0.0005573855596594512, -0.0012727066641673446, 0.025195902213454247, -0.01696942187845707, 0.010984011925756931, -0.011260687373578548, 0.03580179065465927, -0.006358921993523836, 0.014968137256801128, -0.03273991867899895, -0.019348829984664917, 0.01446089893579483, -0.00978508498519659, -0.07145602256059647, -0.04268178716301918, 0.039398569613695145, 0.020750651136040688, -0.07440722733736038, -0.03229723870754242, 0.023259175941348076, -0.04448939859867096, -0.05441281944513321, -0.01910904422402382, 0.003082624636590481, -0.018546471372246742, 0.025029897689819336, 0.03626291826367378, 0.006690932437777519, 0.015715161338448524, -0.0008138866978697479, -0.014221113175153732, -0.05647866427898407, -0.007603961043059826, 0.04880553483963013, 0.000025127743356279097, -0.06581184267997742, -0.011343689635396004, 0.014608458615839481, -0.018149903044104576, -0.05400703102350235, 0.03836565092206001, 0.02187579870223999, 0.0488424226641655, 0.03443685919046402, 0.03266613557934761, -0.06138503924012184, 0.012330498546361923, 0.056294213980436325, 0.06835725903511047, -0.04294001683592796, 0.00918562151491642, 0.009434630163013935, 0.018149903044104576, 0.047440603375434875, -0.07215693593025208, 0.016379181295633316, 0.0027114185504615307, -0.03447375074028969, 0.03473198041319847, 0.04522719979286194, -0.01763344369828701, 0.012044600211083889, 0.0015263257082551718, -0.04902687296271324, 0.031577881425619125, -0.047145482152700424, -0.01750432699918747, 0.0008842083625495434, 0.023591184988617897, 0.06503715366125107, 0.03452908620238304, -0.019385719671845436, -0.035488225519657135, 0.014866689220070839, -0.05363813042640686, 0.009480742737650871, -0.0537119098007679, 0.00045305589446797967, -0.047182369977235794, -0.008217258378863335, 0.019422609359025955, -0.00629436457529664, 0.049580223858356476, -0.026173489168286324, -0.033754393458366394, 0.08366663008928299, -0.018509581685066223, -0.07363253831863403, -0.019182825461030006, 0.05282654985785484, 0.019182825461030006, -0.024790111929178238, 0.005805571097880602, -0.030969195067882538, 0.060499679297208786, -0.020123520866036415, 0.02962270937860012, -0.04246044531464577, -0.045079637318849564, -0.08691295236349106, -0.06998042017221451, -0.030176058411598206, 0.004332275129854679, -0.0161025058478117, 0.05219941958785057, 0.003488415153697133, 0.028331557288765907, -0.002589220181107521, -0.006045356392860413, -0.014626904390752316, 0.04803084209561348, -0.0799776241183281, 0.028147106990218163, 0.015392372384667397, 0.022134028375148773, -0.0016542880330234766, -0.034916430711746216, -0.07178803533315659, 0.01977306604385376, 0.04017326235771179, -0.019182825461030006, 0.04474762827157974, 0.0002282571658724919, 0.03821808844804764, -0.03698227182030678, 0.052420757710933685, -0.0014260308817029, 0.009356237947940826, -0.012948406860232353, 0.022466039285063744, -0.0623810701072216, 0.027575310319662094, 0.003078013425692916, -0.02862667664885521, -0.031614769250154495, -0.005902407690882683, 0.02030797116458416, 0.011712590232491493, 0.02314850501716137, 0.042866237461566925, 0.009337793104350567, -0.06492648273706436, 0.0005723721696995199, -0.027058850973844528, 0.036521147936582565, -0.002095815958455205, 0.030249839648604393, -0.04282934591174126, 0.026726840063929558, 0.02434743195772171, -0.026505500078201294, 0.014765242114663124, -0.017578108236193657, -0.03539600223302841, 0.06562739610671997, -0.03821808844804764, 0.043235134333372116, -0.013529425486922264, 0.013704652898013592, 0.02397853136062622, -0.002370185684412718, 0.007484068628400564, -0.08027274161577225, 0.0030411232728511095, -0.020031295716762543, 0.06843104213476181, -0.018149903044104576, 0.06872615963220596, -0.023572741076350212, 0.028147106990218163, -0.03427085280418396, 0.01419344637542963, -0.006418868433684111, -0.009365460835397243, 0.0768788605928421, 0.022115584462881088, 0.026929734274744987, 0.010476773604750633, 0.0021499982103705406, 0.01573360525071621, 0.04375159740447998, 0.05035491660237312, -0.020658425986766815, 0.02294560894370079, 0.03720361366868019, 0.0282208863645792, -0.00805586390197277, -0.02722485549747944, 0.005169217940419912, 0.004781872499734163, 0.015742827206850052, 0.05053936690092087, -0.008599992841482162, -0.015355482697486877, 0.00004092489689355716, 0.03333015739917755, 0.06035211682319641, 0.010891786776483059, -0.009849642403423786, 0.009951090440154076, 0.0011043958365917206, -0.013640095479786396, -0.06064723804593086, 0.015669047832489014, 0.022687379270792007, -0.017476661130785942, 0.005289110820740461, 0.021156443282961845, -0.04091106355190277, -0.014202668331563473, -0.05688445270061493, 0.015152587555348873, 0.004832596052438021, 0.05607287213206291, 0.0025016064755618572, -0.00520149664953351, -0.018813924863934517, 0.014783686958253384, 0.06514782458543777, 0.038328759372234344, 0.02785198576748371, 0.030618740245699883, 0.037424951791763306, -0.009282458573579788, -0.02034486085176468, 0.06245484948158264, 0.006746267434209585, -0.03126431629061699, 0.00988653302192688, 0.0018894621171057224, 0.04659213125705719, -0.03914033994078636, -0.08492089062929153, -0.03836565092206001, -0.0725996121764183, -0.041169293224811554, 0.025896813720464706, -0.05253142863512039, 0.025066787376999855, 0.003645197954028845, 0.031577881425619125, -0.09864398837089539, 0.014018218033015728, 0.011500472202897072, 0.00006841230788268149, 0.016425292938947678, -0.03650270402431488, 0.04987534508109093, -0.03677937760949135, 0.077469103038311, 0.03342238441109657, 0.004011792596429586, -0.0908970758318901, -0.07658374309539795, -0.01619473099708557, -0.018196016550064087, 0.036890048533678055, -0.03106142021715641, 0.02508523315191269, 0.018979929387569427, -0.02731708064675331, -0.042866237461566925, 0.01606561616063118, 0.0068154362961649895, 0.0026330272667109966, -0.01862025260925293, -0.07909226417541504, 0.03393884375691414, -0.011233019642531872, -0.017808670178055763, 0.006529538426548243, 0.021396227180957794, -0.016010280698537827, 0.0026537778321653605, 0.06311887502670288, -0.05334300920367241, 0.030969195067882538, -0.03323793411254883, -0.01511569693684578, -0.030913859605789185, -0.03567267581820488, 0.0007533639436587691, -0.03102453052997589, 0.0634508803486824, 0.005422837100923061, -0.0041293795220553875, 0.044231168925762177, -0.006986052729189396, -0.027372416108846664, -0.0478832833468914, 0.010781116783618927, -0.024734776467084885, -0.02591525949537754, -0.07112400978803635, 0.03316415473818779, 0.020935101434588432, 0.005132327787578106, 0.03456597402691841, -0.024660997092723846, 0.013409532606601715, 0.010670446790754795, -0.07171425223350525, -0.0322050116956234, 0.026560833677649498, 0.02978871390223503, 0.0050816042348742485, 0.046075668185949326, 0.001499810954555869, -0.040025703608989716, -0.02879268303513527, -0.020123520866036415, 0.028940241783857346, -0.027962656691670418, 0.046813469380140305, -0.02023419179022312, 0.07057066261768341, -0.053158558905124664, 0.0434933677315712, -0.035654231905937195, 0.037959858775138855, 0.021101107820868492, 0.018564917147159576, 0.02718796581029892, 0.04526408761739731, 0.022927165031433105, 0.0693901777267456, 0.007401065900921822, -0.002432437613606453, -0.013464867137372494, 0.0036359752994030714, 0.12704932689666748, 0.040431492030620575, -0.02034486085176468, -0.03554356098175049, -0.028073325753211975, 0.02475322224199772, 0.0271510761231184, -0.01569671556353569, -0.011592697352170944, -0.025159012526273727, 0.08285504579544067, 0.031006084755063057, -0.022521374747157097, 0.010476773604750633, 0.09429096430540085, -0.03273991867899895, -0.022890275344252586, -0.0408741720020771, -0.024292096495628357, 0.01718153990805149, 0.06998042017221451, -0.02661616913974285, -0.00211080233566463, 0.012911517173051834, 0.012016933411359787, -0.005146161653101444, -0.012810069136321545, 0.004800317343324423, 0.020363306626677513, 0.017061647027730942, 0.03836565092206001, 0.014396341517567635, 0.006381978280842304, 0.03607846796512604, 0.010006425902247429, 0.001314207911491394, 0.0602414496243, -0.010605888441205025, 0.0064465356990695, 0.03292436897754669, 0.005482783541083336, -0.04876864328980446, 0.003167932853102684, 0.03773852065205574, -0.04637078940868378, 0.03543289005756378, -0.0020370222628116608, 0.019588615745306015, -0.06042589992284775, -0.03690849244594574, -0.04068972170352936, 0.02648705430328846, 0.054597269743680954, -0.037019163370132446, 0.044341836124658585, -0.05179362744092941, -0.014414786361157894 ]
44,121
gwcs.coordinate_frames
__str__
null
def __str__(self): if self._name is not None: return self._name return self.__class__.__name__
(self)
[ 0.010761821642518044, -0.01107990462332964, 0.025464342907071114, -0.0057122474536299706, 0.015550743788480759, -0.07443151623010635, 0.04707634076476097, -0.012564294040203094, 0.07174547761678696, -0.06199092045426369, -0.05630075931549072, -0.013474365696310997, -0.028115037828683853, 0.0005665860371664166, 0.02297268994152546, 0.010373053140938282, -0.009613187052309513, -0.040750015527009964, -0.0056062196381390095, 0.003973833285272121, 0.012308060191571712, 0.03827603533864021, 0.04078536108136177, -0.049161557108163834, -0.002374580828472972, 0.0769054964184761, 0.0010923071531578898, -0.0022111213766038418, -0.02666599117219448, 0.00431842403486371, -0.03610246628522873, -0.0638640746474266, 0.01973884180188179, -0.015939511358737946, -0.03422930836677551, 0.014949919655919075, -0.05255444347858429, 0.04142152518033981, -0.03721575811505318, -0.03127820044755936, 0.026312565430998802, 0.022636935114860535, -0.049302924424409866, -0.03564301133155823, -0.028857233002781868, -0.024085981771349907, 0.025252286344766617, 0.03700369969010353, -0.007868146523833275, -0.01407518982887268, 0.008950512856245041, 0.006233551073819399, -0.040891386568546295, -0.010443737730383873, -0.042729202657938004, -0.011972305364906788, 0.02261926420032978, -0.017962876707315445, -0.03979576751589775, 0.05075197294354439, -0.03173765540122986, 0.006419099401682615, 0.04852538928389549, -0.034370679408311844, -0.02576475404202938, -0.03848809003829956, 0.0008029396994970739, 0.017777327448129654, -0.012104840017855167, 0.04693497344851494, 0.026188865303993225, -0.04626346379518509, 0.001842233003117144, 0.04788922145962715, 0.00770910456776619, -0.03845274820923805, -0.0634046196937561, 0.0008128797635436058, 0.0071126981638371944, -0.02707243151962757, 0.012785185128450394, 0.009471816942095757, -0.06375804543495178, -0.022548578679561615, -0.01272333599627018, -0.06980163604021072, -0.0444963313639164, -0.05372074991464615, -0.05463965982198715, 0.00021509284852072597, -0.029475728049874306, 0.013810120522975922, -0.0036049450282007456, 0.05255444347858429, -0.042022351175546646, -0.04976237937808037, 0.010222846642136574, -0.057078298181295395, 0.024068310856819153, 0.02387392520904541, 0.02256624959409237, 0.012564294040203094, -0.02185939811170101, 0.035678353160619736, -0.047500453889369965, -0.0276555847376585, -0.03323971480131149, 0.016672872006893158, -0.0006886284681968391, -0.003448112402111292, -0.009383460506796837, 0.021099532023072243, -0.005637144669890404, 0.005835946649312973, 0.055735278874635696, -0.08256030827760696, -0.021240901201963425, 0.02984682470560074, 0.03375218063592911, -0.039901793003082275, 0.0025490850675851107, 0.033204372972249985, -0.05372074991464615, -0.01200764812529087, -0.006313071586191654, 0.03728644177317619, -0.030235594138503075, -0.037922609597444534, 0.03781658038496971, -0.046510860323905945, 0.032391492277383804, -0.0012049617944285274, -0.057431723922491074, 0.019031990319490433, 0.09775763005018234, 0.036897674202919006, -0.014676013961434364, 0.06838793307542801, 0.0031035218853503466, 0.12645581364631653, -0.007541227154433727, -0.0023480739910155535, 0.00998428463935852, 0.023679541423916817, 0.010638122446835041, 0.009144897572696209, 0.0033133686520159245, 0.05930488184094429, -0.024032967165112495, -0.028627505525946617, 0.02364419959485531, 0.022460222244262695, 0.002644068095833063, 0.012414087541401386, -0.00011500150139909238, 0.03255053237080574, -0.05407417565584183, -0.009816407226026058, -0.027973666787147522, -0.06471230089664459, -0.025694070383906364, -0.04838401824235916, -0.0017174293752759695, -0.051458824425935745, 0.01682307757437229, 0.0043272594921290874, 0.03438834846019745, 0.00010402597399661317, 0.03749849647283554, 0.0036248252727091312, -0.06131941080093384, -0.02917531505227089, -0.045662637799978256, 0.05407417565584183, -0.018148424103856087, 0.0714627355337143, -0.004996560048311949, 0.06934218108654022, 0.005805022083222866, -0.016116226091980934, 0.024651462212204933, -0.03097778744995594, -0.045344553887844086, 0.0064500244334340096, 0.05994104966521263, -0.02526995912194252, 0.03817000612616539, 0.0007775371777825058, 0.05983502045273781, 0.02945805713534355, -0.02364419959485531, 0.018219109624624252, -0.03483013063669205, 0.012670321390032768, 0.0341586209833622, -0.034105610102415085, 0.0024298036005347967, -0.052130334079265594, 0.026383250951766968, 0.01396032702177763, 0.011910456232726574, 0.051282111555337906, -0.0377812385559082, 0.017229517921805382, 0.02288433350622654, 0.010646957904100418, 0.059057481586933136, -0.00017105265578720719, 0.023944610729813576, 0.004141710698604584, -0.0023701630998402834, 0.012325731106102467, -0.013067926280200481, 0.037569183856248856, 0.04279988631606102, -0.04481441527605057, -0.02072843536734581, -0.06011776253581047, -0.007351260632276535, 0.051953621208667755, 0.04198700934648514, 0.006935985293239355, 0.027213800698518753, -0.014684850350022316, -0.060718584805727005, -0.02198309637606144, 0.010054969228804111, -0.0043471395038068295, 0.020198294892907143, -0.010399559512734413, 0.027902981266379356, -0.0292283296585083, -0.027355171740055084, 0.03475944697856903, -0.01272333599627018, 0.05661884322762489, -0.057219669222831726, -0.022283509373664856, -0.055240482091903687, -0.04417824745178223, -0.03613780811429024, -0.005327896680682898, 0.0002979270648211241, 0.021435286849737167, 0.047995250672101974, -0.05919885262846947, -0.008521984331309795, 0.018360480666160583, -0.02701941691339016, -0.03384053707122803, 0.07086191326379776, -0.022371865808963776, -0.020763777196407318, -0.0204633641988039, -0.012997240759432316, -0.09302172064781189, -0.06729231029748917, 0.000897370686288923, 0.010169832967221737, 0.008075783960521221, -0.07026108354330063, -0.0009708169964142144, 0.0036314520984888077, 0.025729412212967873, -0.0013452277053147554, -0.030536005273461342, -0.024333380162715912, 0.0019659320823848248, -0.016761228442192078, -0.0024982800241559744, 0.1178322285413742, -0.0011011428432539105, -0.0714627355337143, 0.050327859818935394, -0.024616120383143425, -0.08354990184307098, -0.012210868299007416, 0.0141635462641716, -0.09457679837942123, -0.03498917445540428, 0.012776349671185017, -0.022513234987854958, 0.022848989814519882, 0.0018024725141003728, 0.011283124797046185, -0.05647747218608856, 0.023432143032550812, -0.03951302543282509, 0.021523643285036087, 0.03170230984687805, 0.06273311376571655, 0.015179646201431751, -0.022407207638025284, 0.01699979044497013, -0.008623594418168068, -0.014154710806906223, 0.010169832967221737, 0.028945589438080788, -0.0002962703874800354, -0.018731577321887016, 0.0005580264842137694, 0.017750820145010948, 0.026241879910230637, -0.011698400601744652, -0.040891386568546295, -0.018537193536758423, -0.040750015527009964, -0.0072187259793281555, 0.0073777674697339535, 0.01677889935672283, -0.022513234987854958, 0.02855682000517845, -0.005314643494784832, 0.09111321717500687, 0.02396228164434433, 0.0889926627278328, -0.014260739088058472, 0.0038170006591826677, 0.025482013821601868, 0.10595711320638657, -0.04131549969315529, 0.02148829959332943, -0.03951302543282509, 0.005588548723608255, 0.009356953203678131, -0.007916742004454136, -0.07471425831317902, 0.054109521210193634, 0.0045724487863481045, 0.028168052434921265, -0.05202430486679077, -0.0530492402613163, 0.01784801296889782, 0.01544471550732851, -0.03767520934343338, -0.0003575677110347897, 0.040891386568546295, 0.0016588933067396283, -0.01573629304766655, -0.048313334584236145, 0.06262708455324173, 0.016566842794418335, -0.02451009303331375, 0.012555458582937717, -0.03543095663189888, 0.04410756379365921, 0.0003802090650424361, 0.01645197905600071, 0.04803059250116348, -0.007996262982487679, -0.027708597481250763, -0.054604314267635345, 0.004448749590665102, 0.0012911093654111028, -0.01605437509715557, 0.014181218110024929, 0.008336436003446579, 0.041704267263412476, -0.02608283795416355, 0.020746106281876564, 0.025340642780065536, -0.058067891746759415, 0.00766492635011673, 0.006648826412856579, -0.020375007763504982, 0.013527380302548409, 0.009913599118590355, 0.009692708030343056, 0.05333198234438896, -0.06736299395561218, -0.055417194962501526, 0.02648927830159664, -0.013120939955115318, -0.02998819574713707, -0.07054382562637329, 0.06450024247169495, 0.07008437067270279, 0.020763777196407318, -0.030765732750296593, -0.07227561622858047, 0.04131549969315529, -0.0067371828481554985, 0.028044352307915688, 0.04958566650748253, -0.032568205147981644, 0.011291960254311562, -0.001327556325122714, 0.017096983268857002, 0.013677585870027542, 0.005398582201451063, -0.016690542921423912, -0.032356150448322296, -0.018625549972057343, 0.01915568858385086, 0.006149612367153168, -0.050469230860471725, -0.00818622950464487, -0.038558777421712875, -0.08552908897399902, 0.03323971480131149, 0.00005049435640103184, -0.030518334358930588, -0.01032003853470087, 0.010850178077816963, -0.03007655218243599, 0.045167841017246246, 0.02104651741683483, -0.005738754756748676, -0.0024982800241559744, -0.035802051424980164, 0.0005284823128022254, -0.026135852560400963, -0.060577213764190674, -0.07831919938325882, 0.08941677957773209, 0.02401529625058174, -0.014013340696692467, 0.007717940025031567, 0.06722162663936615, -0.008592669852077961, -0.056760214269161224, 0.08008632808923721, 0.01708814688026905, 0.06421750038862228, -0.030412307009100914, 0.027902981266379356, -0.014720192179083824, 0.0566541850566864, 0.06354599446058273, 0.021028846502304077, -0.050151146948337555, -0.0031719983089715242, 0.0065781413577497005, 0.010267024859786034, 0.0413508415222168, -0.04905552789568901, 0.017141161486506462, -0.008862156420946121, -0.06471230089664459, 0.04580400884151459, -0.0028119455091655254, -0.03355779871344566, -0.020975831896066666, 0.01492341235280037, 0.00887982826679945, -0.0054515958763659, -0.05184759199619293, 0.02009226754307747, 0.01722068153321743, 0.004110786132514477, -0.005919885355979204, 0.03170230984687805, -0.02175336889922619, -0.048984844237565994, 0.00575642567127943, -0.03926562890410423, -0.019756512716412544, -0.020834462717175484, 0.03862946107983589, -0.013562722131609917, -0.08128798007965088, 0.06792847812175751, 0.011839770711958408, 0.02297268994152546, -0.004515016917139292, 0.02454543486237526, 0.039901793003082275, 0.024898860603570938, -0.0314725860953331, -0.01537403091788292, 0.04887881502509117, 0.03537794202566147, -0.02099350467324257, -0.03126052767038345, -0.062026262283325195, 0.06852930039167404, -0.034459035843610764, -0.005676905158907175, -0.007391021121293306, -0.015798142179846764, -0.04297659918665886, -0.04969169571995735, 0.010214011184871197, 0.04679360240697861, 0.01487923413515091, 0.020127609372138977, -0.021700356155633926, 0.03901822865009308, 0.008592669852077961, -0.010920863598585129, 0.018731577321887016, 0.030854089185595512, -0.05863337218761444, 0.004426660481840372, -0.0024386392906308174, 0.028521478176116943, -0.008645683526992798, -0.0028229900635778904, -0.0723816454410553, 0.046369489282369614, 0.013942655175924301, -0.026383250951766968, 0.05297855660319328, -0.025428999215364456, 0.05647747218608856, -0.042375776916742325, 0.027761612087488174, 0.01400450523942709, -0.016443144530057907, -0.03196737915277481, 0.028539149090647697, -0.02944038435816765, 0.048560731112957, -0.017158832401037216, 0.0014667179202660918, -0.01350970845669508, -0.011936962604522705, -0.012714499607682228, 0.00430296128615737, 0.06711559742689133, 0.020392680540680885, -0.007996262982487679, -0.046864286065101624, 0.032797932624816895, -0.029475728049874306, 0.03908891603350639, -0.008212736807763577, 0.05089334398508072, -0.046828944236040115, 0.09747488796710968, 0.019191032275557518, 0.027902981266379356, -0.018307466059923172, 0.029793811962008476, -0.005977317225188017, 0.05930488184094429, -0.1191752478480339, 0.005305807571858168, 0.017962876707315445, 0.02253090776503086, 0.021028846502304077, -0.038417406380176544, 0.030147237703204155, -0.026047496125102043, 0.004135084338486195, -0.07202821969985962, -0.017971711233258247, 0.030359292402863503, 0.00890191737562418, -0.016310609877109528, 0.03877083212137222, -0.034688759595155716, -0.019173359498381615, -0.06548983603715897, -0.021028846502304077, 0.04820730537176132, 0.0014114950317889452, 0.03606712073087692, 0.023626526817679405, 0.024333380162715912, 0.0018897246336564422, 0.03454739227890968, 0.0705791711807251, 0.014870398677885532, 0.05633610486984253, 0.0030019120313227177, -0.013810120522975922, 0.011274289339780807, 0.02436872199177742, -0.024845847859978676, -0.009507158771157265, -0.035713694989681244, 0.05432157590985298, 0.05198896303772926, -0.026772018522024155, 0.05516979843378067, 0.041209470480680466, 0.05142348259687424, -0.038063980638980865, -0.009772229008376598, -0.0018002636497840285, 0.017017461359500885, -0.020657749846577644, -0.02891024574637413, -0.06715093553066254, -0.01650499366223812, -0.03560766950249672, -0.020799119025468826, 0.012776349671185017, -0.049302924424409866, -0.04067933186888695, 0.005553205963224173, -0.0010332188103348017, -0.01677889935672283, 0.06269776821136475, -0.03071271814405918, 0.01938541606068611, -0.053296640515327454, 0.011857441626489162, 0.009043287485837936, 0.039406999945640564, 0.0017549809999763966, 0.04513249918818474, 0.044531673192977905, 0.05714898183941841, 0.01573629304766655, -0.02265460602939129, 0.03223245218396187, -0.012131347320973873, 0.027461199089884758, -0.023573514074087143, 0.004055563360452652, 0.00994010642170906, 0.009701543487608433, -0.014357930980622768, -0.04527387022972107, 0.025959139689803123, -0.026312565430998802, -0.004466420970857143, 0.006542798597365618, 0.008438045158982277, 0.07344192266464233, 0.006516291759908199, 0.027620241045951843, -0.043188657611608505, 0.0004531031590886414, -0.008393866941332817, -0.03217943757772446, 0.03728644177317619, -0.05488705635070801, -0.012414087541401386, -0.005526699125766754, -0.008844485506415367, -0.09231486916542053, -0.053791437298059464, 0.01135381031781435, 0.012290389277040958, -0.010399559512734413, -0.053084585815668106, 0.015745127573609352, -0.015179646201431751, -0.004333886317908764, -0.03323971480131149, 0.020021582022309303, -0.06015310436487198, 0.008826814591884613, -0.011928127147257328, -0.05336732417345047, 0.016204582527279854, -0.0494442954659462, -0.04923224076628685, 0.018060067668557167, 0.003964997828006744, 0.010823670774698257, 0.05785583332180977, 0.0021525851916521788, -0.026047496125102043, -0.00316978944465518, -0.028256408870220184, -0.030942445620894432, -0.006454442162066698, -0.07421945780515671, 0.0133771738037467, -0.042517147958278656, 0.06032981723546982, 0.015895333141088486, -0.045379895716905594, -0.02212446741759777, -0.002690455410629511, -0.046510860323905945, -0.031861353665590286, 0.052625130861997604, 0.01236107386648655, -0.09337514638900757, -0.07004903256893158, 0.00966620072722435, 0.0400078222155571, 0.031985051929950714, 0.046687573194503784, -0.07386603206396103, 0.02495187520980835, -0.02413899451494217, -0.015427044592797756, -0.035095199942588806, 0.057078298181295395, 0.06750436127185822, -0.012537786737084389, -0.01573629304766655, 0.048560731112957, -0.05647747218608856, -0.02864517644047737, -0.017158832401037216, -0.01240525208413601, 0.042552489787340164, 0.060718584805727005, 0.015630263835191727, 0.05156485363841057, -0.02405063807964325, -0.008380614221096039, -0.00160698383115232, 0.02405063807964325, 0.012175525538623333, 0.02571174129843712, -0.018713906407356262, 0.025800097733736038, -0.0007847161614336073, 0.026012152433395386, 0.03682698681950569, 0.04343605414032936, -0.023591184988617897, 0.03862946107983589, 0.027991337701678276, 0.003969415556639433, 0.008124380372464657, 0.025393657386302948, -0.056724872440099716, -0.018996646627783775, 0.06241502985358238, -0.009374624118208885, 0.045379895716905594, 0.014561151154339314, 0.009957777336239815, 0.025976810604333878, 0.0025446671061217785, 0.07344192266464233, 0.05881008505821228, -0.030553676187992096, -0.04474373161792755, -0.038594119250774384, 0.01770664192736149, 0.014578822068870068, 0.04605140537023544, -0.024474749341607094, 0.0319320373237133, 0.061213381588459015, -0.014711356721818447, 0.056406788527965546, 0.003180833999067545, 0.02693106047809124, 0.050964027643203735, -0.02392693981528282, 0.01988021284341812, -0.0014821802033111453, 0.03827603533864021, 0.017909862101078033, 0.02329077199101448, 0.044673044234514236, 0.03232080861926079, -0.014508136548101902, 0.0030968952924013138, 0.054392259567976, 0.018086574971675873, -0.012396416626870632, 0.00838503148406744, 0.006061255931854248, -0.047677166759967804, 0.010912027209997177, 0.02323775924742222, 0.033345744013786316, 0.004943545907735825, -0.011760249733924866, -0.026277221739292145, 0.007660508155822754, 0.007735611405223608, -0.0068343752063810825, 0.042870573699474335, -0.006980163510888815, -0.03557232767343521 ]
44,122
gwcs.coordinate_frames
_set_axis_physical_types
Set the physical type of the coordinate axes using VO UCD1+ v1.23 definitions.
def _set_axis_physical_types(self, pht): """ Set the physical type of the coordinate axes using VO UCD1+ v1.23 definitions. """ if pht is not None: if isinstance(pht, str): pht = (pht,) elif not isiterable(pht): raise TypeError("axis_physical_types must be of type string or iterable of strings") if len(pht) != self.naxes: raise ValueError('"axis_physical_types" must be of length {}'.format(self.naxes)) ph_type = [] for axt in pht: if axt not in VALID_UCDS and not axt.startswith("custom:"): ph_type.append("custom:{}".format(axt)) else: ph_type.append(axt) validate_physical_types(ph_type) return tuple(ph_type)
(self, pht)
[ -0.02429463528096676, 0.03462031111121178, 0.012870481237769127, 0.017566466704010963, -0.011213612742722034, -0.029109623283147812, -0.04961451515555382, -0.002553957514464855, 0.0014234422706067562, -0.00006661657971562818, 0.057230617851018906, 0.005487804766744375, 0.03224027901887894, 0.0001913751766551286, -0.017786161974072456, 0.02737036906182766, -0.010105982422828674, 0.02738867700099945, -0.00831638090312481, -0.06924062222242355, -0.009323317557573318, 0.01753900572657585, -0.001865121303126216, -0.003824070794507861, 0.017465773969888687, -0.018765637651085854, 0.0052040317095816135, -0.004036900587379932, -0.03410768881440163, -0.09168615937232971, -0.05309302359819412, 0.004810411017388105, -0.03330213949084282, -0.021877987310290337, 0.0558025985956192, 0.030684106051921844, 0.019314875826239586, 0.01838117092847824, 0.0004528354329522699, 0.1036229357123375, -0.012870481237769127, -0.03958176448941231, 0.038190361112356186, 0.021017514169216156, -0.02191460318863392, 0.024367867037653923, -0.04998067393898964, 0.025063568726181984, 0.00843080598860979, 0.005675461143255234, 0.008174494840204716, -0.04558676853775978, 0.008687117137014866, 0.0021122784819453955, -0.04946805164217949, 0.03315567597746849, 0.0036798957735300064, 0.10040073841810226, -0.01567159593105316, 0.04917512461543083, -0.03326552361249924, 0.07579486817121506, -0.013575336895883083, -0.06561565399169922, 0.0408267043530941, -0.036817263811826706, 0.007565755862742662, 0.0065725501626729965, -0.021694907918572426, 0.03485831618309021, -0.06946031749248505, -0.010673528537154198, -0.02398340031504631, -0.03485831618309021, 0.07594133168458939, 0.027480216696858406, -0.024587562307715416, 0.06070912629365921, 0.00016434236022178084, 0.022225838154554367, -0.005217762663960457, 0.09666591882705688, 0.018097396939992905, 0.054484426975250244, -0.015763135626912117, 0.07011940330266953, -0.007492524106055498, 0.07363452762365341, -0.013264101929962635, -0.0064535485580563545, 0.02824915014207363, -0.05862202122807503, -0.0008833580650389194, 0.04694155603647232, 0.011277690529823303, 0.0012861327268183231, -0.03797066584229469, -0.051774851977825165, -0.050273600965738297, -0.0064947414211928844, -0.048552654683589935, 0.006833438295871019, 0.0007088605198077857, -0.007062287535518408, -0.017447466030716896, -0.03143472969532013, 0.005350495222955942, -0.006201814394444227, -0.0114882318302989, 0.004869911819696426, -0.04895542934536934, -0.044122133404016495, 0.019259952008724213, -0.011497385799884796, 0.010691836476325989, -0.006526780314743519, -0.010481295175850391, -0.01833540014922619, -0.01029821578413248, 0.016239142045378685, -0.01868325099349022, 0.06290607899427414, 0.02669297531247139, 0.039545148611068726, -0.0114882318302989, 0.016550377011299133, 0.06535933911800385, 0.03994792327284813, -0.0767468810081482, -0.058585405349731445, 0.0339612253010273, -0.013584490865468979, 0.0005652576219290495, 0.009240931831300259, -0.007300290744751692, -0.0007100047660060227, 0.0015126934740692377, -0.05576598271727562, -0.030043328180909157, -0.024422790855169296, -0.023214466869831085, 0.07916352897882462, 0.03454707935452461, 0.010829146020114422, -0.027626680210232735, 0.1138753816485405, -0.03778758645057678, -0.011726235039532185, -0.04199841246008873, 0.021639984101057053, -0.10809007287025452, -0.023177850991487503, -0.02127382531762123, -0.03363168239593506, -0.01936979964375496, -0.05777985602617264, 0.00019151820742990822, -0.017566466704010963, 0.02006550133228302, 0.050932686775922775, -0.05001728981733322, -0.041412558406591415, 0.01975426636636257, -0.0050072213634848595, -0.025026952847838402, 0.004309230949729681, -0.02515510842204094, -0.0646270215511322, 0.023177850991487503, 0.012431090697646141, 0.04756402596831322, -0.04415874928236008, -0.04269411414861679, 0.001963526476174593, 0.013108484447002411, -0.0677027553319931, -0.0022358570713549852, 0.0003673030296340585, 0.0004908816190436482, 0.022555381059646606, 0.05884171649813652, 0.02162167616188526, -0.051774851977825165, 0.018152320757508278, 0.0020665086340159178, 0.035261090844869614, 0.041742101311683655, 0.01940641552209854, -0.020980898290872574, 0.0199007298797369, 0.00658628111705184, 0.02074289508163929, -0.017795316874980927, 0.009314163587987423, 0.09080737829208374, 0.017950933426618576, 0.06909415870904922, -0.015506824478507042, -0.07616102695465088, 0.04265749827027321, 0.015296283178031445, 0.011945930309593678, 0.06491994857788086, 0.04730771481990814, 0.005002644378691912, -0.0018147744704037905, 0.04148579016327858, 0.0007294569513760507, -0.003824070794507861, -0.028798388317227364, 0.08780487626791, -0.01471042912453413, -0.06949693709611893, -0.0013536432525143027, -0.03026302345097065, 0.011524847708642483, -0.06034296751022339, -0.02330600656569004, -0.027608372271060944, -0.019626110792160034, 0.02705913409590721, 0.036817263811826706, 0.02381862886250019, -0.0312882661819458, 0.06136821210384369, -0.027974531054496765, -0.03028133139014244, -0.007794605102390051, -0.010664374567568302, 0.03300921246409416, 0.018234707415103912, -0.0005163410678505898, -0.012614170089364052, 0.01766716130077839, 0.004970605485141277, 0.03582863509654999, -0.005121645983308554, -0.041595637798309326, -0.02718728967010975, 0.03687218949198723, -0.02823084220290184, 0.009446896612644196, -0.013895725831389427, -0.01868325099349022, -0.05386195704340935, 0.0005741255008615553, 0.016687685623764992, 0.05712077021598816, -0.043939054012298584, -0.007249943912029266, -0.03145303949713707, -0.022372301667928696, 0.01505827996879816, -0.015433592721819878, 0.04646554961800575, 0.011277690529823303, -0.02328769862651825, -0.030537642538547516, 0.04214487597346306, -0.05898818001151085, -0.02960393764078617, 0.06543257087469101, 0.05492381751537323, 0.04708801954984665, 0.029164547100663185, -0.048552654683589935, 0.04705140367150307, 0.05225085839629173, -0.047710489481687546, 0.03225858882069588, -0.01444496400654316, 0.03028133139014244, -0.04181533306837082, 0.02940255030989647, 0.04009438678622246, 0.02140198089182377, 0.015882136300206184, -0.027992838993668556, -0.0008089820621535182, 0.04935820400714874, 0.016211679205298424, -0.012614170089364052, 0.03372322395443916, 0.03789743408560753, -0.015708211809396744, -0.006348277907818556, 0.005103338044136763, -0.026601435616612434, -0.01597367599606514, -0.021017514169216156, -0.03841005638241768, 0.028670232743024826, -0.03910575807094574, 0.006265892181545496, 0.004460271447896957, 0.026491587981581688, 0.01343802735209465, -0.048369575291872025, 0.03557232394814491, -0.000053600782848661765, 0.008092109113931656, 0.05419149994850159, 0.022061066702008247, 0.009410280734300613, 0.002638631733134389, -0.02127382531762123, 0.026967594400048256, -0.03161780908703804, 0.010536218993365765, 0.003132946090772748, -0.029896864667534828, 0.06312577426433563, -0.06283284723758698, 0.006609166041016579, 0.04181533306837082, 0.07429361343383789, 0.0046685244888067245, 0.008073801174759865, 0.031215036287903786, 0.05459427461028099, -0.02330600656569004, -0.032899364829063416, 0.014847738668322563, -0.061990682035684586, 0.009977826848626137, -0.004611311946064234, -0.03346691280603409, -0.04511076211929321, 0.03888606280088425, -0.01750238984823227, -0.056717995554208755, 0.011524847708642483, -0.011991700157523155, 0.049907442182302475, 0.06755629181861877, -0.07257267087697983, 0.020468275994062424, -0.007671026512980461, 0.009126507677137852, -0.013795032165944576, -0.005075876135379076, 0.04335319995880127, 0.010801684111356735, 0.006201814394444227, 0.023342622444033623, 0.013749262318015099, -0.025026952847838402, 0.007076018489897251, 0.017465773969888687, 0.05001728981733322, -0.03624971956014633, -0.042584266513586044, 0.02414817176759243, -0.006439817603677511, 0.059098027646541595, -0.0010183791164308786, -0.008018877357244492, -0.0009623110527172685, -0.0139506496489048, 0.027278829365968704, 0.08377712965011597, -0.04075347259640694, 0.030006712302565575, 0.02365385740995407, -0.05327610298991203, -0.0408267043530941, 0.019992269575595856, -0.02381862886250019, 0.035810329020023346, -0.0044900220818817616, -0.03451046347618103, -0.035114627331495285, -0.04401228576898575, -0.022646920755505562, 0.01495758630335331, 0.09966842085123062, -0.0032794096041470766, 0.00484244991093874, -0.07484285533428192, -0.10267092287540436, 0.03330213949084282, -0.04459813982248306, -0.005236070603132248, 0.04763725772500038, -0.00325194769538939, -0.04928497225046158, 0.003940783906728029, 0.015323745086789131, -0.03235012665390968, 0.04796680063009262, 0.02654651179909706, 0.027443600818514824, 0.03145303949713707, -0.06005004048347473, -0.00018965880735777318, 0.003432738594710827, -0.04371935874223709, 0.017456619068980217, -0.038007281720638275, -0.06221037730574608, -0.010618604719638824, -0.07114464789628983, -0.014060497283935547, 0.0650297999382019, -0.011186150833964348, -0.007995991967618465, 0.008636769838631153, -0.0008301506168209016, -0.007144673261791468, -0.027406984940171242, 0.02905469946563244, 0.03399784117937088, 0.04218149185180664, -0.0512988455593586, -0.05320287123322487, 0.045293841511011124, -0.00960251409560442, -0.017099615186452866, 0.051591772586107254, 0.05199454724788666, 0.02229906991124153, -0.008778656832873821, -0.01870155893266201, 0.04807664826512337, 0.06005004048347473, 0.030665798112750053, 0.009057852439582348, 0.031013648957014084, -0.02548465132713318, 0.04196179658174515, 0.027150673791766167, 0.06631135195493698, -0.06206391379237175, -0.026912670582532883, 0.004524349234998226, 0.00611485168337822, -0.005135376937687397, 0.020120425149798393, -0.02960393764078617, 0.002794249216094613, 0.005794462747871876, -0.002123720943927765, -0.034400615841150284, -0.02705913409590721, 0.030354563146829605, -0.016916535794734955, -0.08582761883735657, -0.01505827996879816, -0.050749607384204865, -0.0455501526594162, -0.0023457047063857317, 0.050236985087394714, 0.04459813982248306, -0.03841005638241768, 0.09791085869073868, 0.018069935962557793, -0.026107121258974075, -0.04196179658174515, -0.0010292493971064687, -0.015918752178549767, 0.02650989592075348, -0.0005329326377250254, -0.0020356138702481985, 0.0021305864211171865, 0.022024450823664665, 0.015891291201114655, 0.016449682414531708, -0.05902479588985443, 0.01716369204223156, 0.0459529273211956, 0.031233344227075577, -0.03760450705885887, 0.0629793107509613, -0.014902662485837936, -0.02142028883099556, 0.021676599979400635, 0.011396692134439945, 0.05020036920905113, -0.007103480398654938, -0.060635894536972046, 0.014838584698736668, -0.0025310725905001163, 0.018390323966741562, 0.00599127309396863, -0.024367867037653923, 0.07154742628335953, 0.00014918109809514135, -0.02467910200357437, -0.060269735753536224, 0.011836082674562931, 0.033942919224500656, 0.013200024142861366, -0.03592017665505409, -0.00757033284753561, 0.07268251478672028, -0.006517626345157623, 0.029329318553209305, -0.03965499624609947, -0.010673528537154198, 0.03634125739336014, 0.023727089166641235, -0.04507414624094963, -0.00388814858160913, -0.08260542154312134, 0.07238958775997162, -0.029512397944927216, 0.04745417833328247, 0.037348195910453796, -0.04968774691224098, -0.011772004887461662, -0.05554628744721413, -0.06978986412286758, 0.019644418731331825, -0.04756402596831322, 0.03906914219260216, 0.013749262318015099, 0.018097396939992905, 0.03756789118051529, -0.035389244556427, 0.037824202328920364, -0.01716369204223156, -0.021200593560934067, 0.010206676088273525, 0.005002644378691912, 0.0077030654065310955, 0.031892430037260056, -0.09791085869073868, -0.04587969556450844, 0.022994771599769592, -0.01971765048801899, 0.039032526314258575, -0.013081022538244724, -0.029384242370724678, 0.00705771055072546, 0.024038324132561684, 0.026107121258974075, -0.039178989827632904, 0.019314875826239586, 0.06334546953439713, 0.007941068150103092, -0.014820276759564877, -0.04236457124352455, 0.0011677031870931387, -0.02431294322013855, 0.047856952995061874, -0.02757175639271736, 0.024697409942746162, -0.034272462129592896, 0.04723448306322098, -0.004998067393898964, -0.031196728348731995, -0.038153745234012604, 0.010581988841295242, 0.0459529273211956, -0.018582558259367943, -0.0005028962041251361, 0.04935820400714874, -0.0025081876665353775, -0.030720721930265427, -0.0014051343314349651, -0.024221403524279594, -0.030025020241737366, 0.007011940702795982, -0.0056800381280481815, -0.032588131725788116, -0.011753696948289871, -0.05748692899942398, 0.014664659276604652, -0.026290200650691986, -0.0014314519939944148, 0.023507393896579742, 0.007382676471024752, -0.03617648780345917, -0.026656359434127808, -0.013227486051619053, -0.011826928704977036, 0.010261599905788898, -0.00642150966450572, -0.03315567597746849, -0.0312882661819458, -0.03429076820611954, 0.04727109894156456, -0.013465489260852337, -0.041046399623155594, 0.03667080029845238, -0.008568115532398224, 0.07952968776226044, 0.040716856718063354, -0.025905733928084373, -0.022152606397867203, -0.07542870938777924, 0.0114882318302989, 0.05342256650328636, -0.00040735164657235146, -0.03524278104305267, -0.0013593644835054874, -0.002556246006861329, -0.019516263157129288, -0.00040906801586970687, 0.023928476497530937, -0.014307654462754726, 0.050749607384204865, 0.004098689649254084, 0.006998209748417139, 0.03553570806980133, -0.07630749046802521, 0.032386742532253265, 0.008439959958195686, -0.0046570817939937115, -0.05693769082427025, 0.06719013303518295, 0.04426859691739082, 0.02347077801823616, 0.038519904017448425, 0.025393111631274223, -0.0330275222659111, -0.06532272696495056, -0.001544732367619872, -0.00039447887684218585, 0.026235276833176613, -0.045330457389354706, 0.005556459538638592, -0.04946805164217949, -0.021054130047559738, -0.06264976412057877, -0.043609511107206345, 0.02973209321498871, -0.04364612698554993, 0.049065276980400085, -0.05459427461028099, 0.04232795536518097, -0.018463555723428726, 0.029713785275816917, -0.08311804383993149, -0.06122174859046936, 0.014518195763230324, -0.060965437442064285, -0.007135519292205572, 0.030134867876768112, 0.03300921246409416, 0.04891881346702576, 0.07246281951665878, 0.048186495900154114, -0.010517911054193974, 0.08070139586925507, 0.03229520469903946, -0.04126609489321709, -0.033064138144254684, 0.02143859677016735, 0.020138733088970184, 0.010087674483656883, -0.0030208099633455276, -0.00455409986898303, -0.006746475584805012, 0.0015950792003422976, 0.041925180703401566, -0.07334160059690475, -0.022170914337038994, -0.02480725757777691, -0.050932686775922775, -0.02603388950228691, -0.016074370592832565, 0.04031408205628395, 0.018674097955226898, 0.06264976412057877, -0.004036900587379932, 0.016934843733906746, 0.037146806716918945, -0.014811122789978981, -0.05748692899942398, 0.023434162139892578, -0.060782358050346375, 0.01095730159431696, -0.04558676853775978, -0.026601435616612434, -0.014234422706067562, 0.011680465191602707, -0.0006230420549400151, 0.04917512461543083, 0.00798683799803257, -0.04489106684923172, 0.02669297531247139, -0.05012713745236397, -0.01889379322528839, -0.013859109953045845, -0.0129254050552845, 0.030574258416891098, -0.009483512490987778, -0.0445249080657959, -0.05836571007966995, -0.02279338426887989, -0.0035631826613098383, -0.0023548586759716272, -0.005757846869528294, 0.03709188476204872, -0.08963567018508911, -0.010481295175850391, -0.03299090638756752, 0.029970096424221992, 0.051591772586107254, 0.02671128325164318, -0.06576211750507355, -0.08070139586925507, 0.05646168440580368, 0.019681034609675407, 0.005446611903607845, 0.014911816455423832, 0.016898227855563164, 0.01548851653933525, -0.016074370592832565, -0.03553570806980133, 0.03473015874624252, 0.015003356151282787, -0.03352183476090431, 0.012293781153857708, -0.010783376172184944, -0.034931547939777374, 0.06883785128593445, 0.012550092302262783, -0.023360930383205414, 0.010023596696555614, 0.04551353678107262, 0.04009438678622246, 0.029109623283147812, 0.045660000294446945, 0.00590888736769557, 0.04009438678622246, 0.0004199383547529578, -0.017108768224716187, -0.01817062869668007, -0.00361124100163579, 0.010325677692890167, -0.030684106051921844, 0.0024738602805882692, -0.03165442496538162, 0.017566466704010963, 0.006174352485686541, 0.020266888663172722, -0.048735734075307846, -0.012092393822968006, -0.033576760441064835, 0.012129009701311588, -0.016550377011299133, -0.05649830028414726, 0.008156186901032925, -0.010334831662476063, 0.05203116312623024, 0.0020516333170235157, 0.021841371431946754, 0.01505827996879816, 0.051262229681015015, 0.00866423174738884, -0.020816126838326454, -0.00046284758718684316, 0.0687279999256134, -0.042437803000211716, 0.051628388464450836, 0.03689049556851387, -0.013154254294931889, -0.016788380220532417, -0.03432738408446312, -0.0016362720634788275, -0.0038721291348338127, 0.015918752178549767, 0.0340527668595314, -0.016184218227863312, -0.006815130356699228, 0.006654935888946056 ]
44,123
gwcs.coordinate_frames
coordinate_to_quantity
Convert a ``SkyCoord`` object to quantities.
def coordinate_to_quantity(self, *coords): """ Convert a ``SkyCoord`` object to quantities.""" if len(coords) == 2: arg = coords elif len(coords) == 1: arg = coords[0] else: raise ValueError("Unexpected number of coordinates in " "input to frame {} : " "expected 2, got {}".format(self.name, len(coords))) if isinstance(arg, coord.SkyCoord): arg = arg.transform_to(self._reference_frame) try: lon = arg.data.lon lat = arg.data.lat except AttributeError: lon = arg.spherical.lon lat = arg.spherical.lat return lon, lat elif all(isinstance(a, u.Quantity) for a in arg): return tuple(arg) else: raise ValueError("Could not convert input {} to lon and lat quantities.".format(arg))
(self, *coords)
[ 0.010042011737823486, -0.03456064686179161, -0.026167869567871094, 0.02248457819223404, -0.013981852680444717, -0.011663760058581829, -0.017445247620344162, 0.06197460740804672, 0.009583890438079834, 0.010435995645821095, 0.03402922675013542, 0.042990073561668396, -0.02413381263613701, -0.007751407101750374, -0.021531686186790466, 0.0095655657351017, 0.016199158504605293, -0.02037722058594227, -0.023125946521759033, 0.0026479391381144524, -0.02860507369041443, 0.02387726493179798, 0.05163939669728279, 0.004210131708532572, -0.01226847991347313, -0.006766446866095066, 0.07454544305801392, 0.01144386176019907, -0.009730489924550056, -0.0019172362517565489, -0.0709904283285141, 0.04694823920726776, 0.029557965695858, 0.043026722967624664, -0.00967551488429308, -0.014302536845207214, -0.01717037335038185, 0.025269953534007072, -0.006354137789458036, -0.04694823920726776, -0.06805845350027084, -0.04500580579042435, 0.03362607955932617, 0.013532893732190132, 0.02440868504345417, 0.0012667045230045915, -0.04104764014482498, -0.04416286200284958, -0.05032000690698624, -0.014247562736272812, 0.04929381608963013, -0.024683557450771332, 0.030034411698579788, 0.022246355190873146, 0.010738356038928032, 0.05350853130221367, 0.029429690912365913, 0.08634664118289948, -0.02087199129164219, 0.040974341332912445, -0.036319829523563385, 0.07828371226787567, -0.03593501076102257, -0.03718109801411629, -0.012094393372535706, -0.045848745852708817, 0.0019275440135970712, -0.026607666164636612, -0.034982118755578995, 0.03661302849650383, -0.02024894766509533, -0.01184700895100832, 0.00048560823779553175, -0.006899301894009113, 0.05200589448213577, 0.0012483797036111355, -0.00696343882009387, 0.03800571709871292, 0.015850985422730446, -0.00029176578391343355, -0.0366496779024601, -0.036228206008672714, 0.026607666164636612, 0.0018565352074801922, -0.019332705065608025, 0.058309637010097504, 0.0231625959277153, 0.046288542449474335, -0.006780190393328667, -0.004732389934360981, -0.04493250697851181, -0.01428421214222908, -0.04845087602734566, 0.008411101065576077, -0.026296144351363182, -0.003623737022280693, -0.017894204705953598, -0.04449271038174629, -0.03043755702674389, 0.031537048518657684, 0.014760658144950867, -0.027835430577397346, -0.09133099764585495, -0.014549922198057175, -0.013597030192613602, 0.0023112203925848007, 0.01276325061917305, -0.05189594626426697, 0.047278083860874176, 0.029228119179606438, 0.007549833506345749, 0.024775182828307152, -0.009249462746083736, 0.01620832085609436, -0.07887011021375656, -0.02145838737487793, 0.0175735205411911, -0.0065419673919677734, -0.039141856133937836, 0.008681392297148705, 0.00148087611887604, 0.09932062774896622, 0.049367114901542664, 0.07326270639896393, 0.014760658144950867, 0.039801549166440964, 0.04496915638446808, 0.008919615298509598, -0.010399346239864826, -0.007783475331962109, 0.08751942962408066, -0.0797497034072876, 0.024958431720733643, 0.04141413792967796, 0.02499508112668991, 0.05273888632655144, 0.0215500108897686, -0.030565831810235977, -0.029979437589645386, 0.016034234315156937, 0.07304280996322632, 0.0709904283285141, 0.04815767705440521, -0.0018771507311612368, -0.03021766059100628, 0.03338785842061043, -0.01229596696794033, -0.03718109801411629, -0.05863948538899422, -0.03657637909054756, -0.05251898989081383, 0.026497717946767807, 0.014769820496439934, 0.021256813779473305, -0.06728880852460861, -0.0343957245349884, 0.03653972968459129, -0.01788504235446453, 0.08898542076349258, 0.03459729626774788, 0.01215853076428175, 0.01605255901813507, 0.017555195838212967, -0.003914643544703722, -0.06530972570180893, 0.026699289679527283, -0.05130954831838608, -0.02807365357875824, -0.04331991821527481, -0.02891659550368786, 0.0048927320167422295, 0.02735898457467556, 0.06659246236085892, -0.0129648232832551, -0.0463251918554306, -0.03089567832648754, -0.04412621259689331, -0.029759539291262627, 0.00744446599856019, 0.0024761438835412264, 0.022136405110359192, -0.07806381583213806, -0.006436599884182215, 0.03991150110960007, 0.023529093712568283, 0.03432242199778557, -0.0009133787243627012, -0.005144698545336723, 0.055011168122291565, -0.009950387291610241, 0.009418967179954052, 0.050356656312942505, -0.04456600919365883, 0.009932062588632107, 0.012818224728107452, 0.02387726493179798, 0.03666800260543823, 0.009373155422508717, -0.045079104602336884, 0.07996959984302521, -0.05592741072177887, -0.05350853130221367, -0.000581813626922667, 0.0018301933305338025, 0.018343163654208183, 0.018114103004336357, 0.013652005232870579, -0.07230981439352036, -0.017087912186980247, -0.008928777649998665, 0.04027799516916275, -0.006331231910735369, -0.05735674500465393, 0.003213718766346574, 0.005781486630439758, 0.047314733266830444, 0.034982118755578995, -0.013899390585720539, 0.07659782469272614, 0.008644742891192436, 0.1323053389787674, -0.033058010041713715, 0.033424507826566696, 0.01052762009203434, 0.00022977629851084203, -0.006848908495157957, 0.027285685762763023, 0.062341101467609406, -0.01971752755343914, 0.008974590338766575, -0.01066505629569292, 0.0187554731965065, -0.013038123026490211, 0.010536782443523407, -0.02891659550368786, -0.020340571179986, 0.02686421386897564, -0.06204790621995926, -0.010390183888375759, -0.015566950663924217, -0.06640921533107758, 0.007274961099028587, 0.009359411895275116, 0.029118169099092484, -0.024078838527202606, -0.038921959698200226, -0.002893033903092146, 0.002444075420498848, -0.054021626710891724, 0.03379100188612938, 0.007613970432430506, 0.07879681140184402, 0.04071779176592827, -0.03135380148887634, 0.018315676599740982, -0.04823097586631775, 0.02772548235952854, -0.05097970366477966, 0.017527708783745766, -0.022008132189512253, -0.004251362755894661, -0.04013139754533768, 0.026974163949489594, 0.009794626384973526, 0.016593141481280327, 0.005731093231588602, 0.030455881729722023, -0.0011264049680903554, -0.03782246634364128, 0.034578971564769745, 0.032654862850904465, -0.004423158243298531, -0.000152754713781178, 0.0017065006541088223, 0.01392687764018774, -0.0726030096411705, 0.05288548395037651, -0.005213416647166014, -0.02186153270304203, 0.02297934889793396, 0.0006316343205980957, 0.020047374069690704, -0.027615532279014587, -0.011782871559262276, 0.003916934132575989, -0.02620452083647251, 0.06721550971269608, 0.015347052365541458, -0.013148072175681591, -0.0227044764906168, -0.01828818954527378, 0.048744071274995804, -0.013743629679083824, 0.009134932421147823, 0.015539463609457016, -0.010555107146501541, -0.08209528028964996, 0.029246443882584572, 0.06036201864480972, 0.06285420060157776, -0.007618552073836327, 0.041963882744312286, -0.04009474813938141, -0.02968623861670494, 0.02745060808956623, -0.009556403383612633, 0.027194060385227203, -0.01577768661081791, -0.05409492552280426, 0.043393220752477646, 0.02611289545893669, 0.005790648981928825, -0.028586748987436295, -0.03932510316371918, -0.014064313843846321, 0.047058187425136566, -0.017738444730639458, -0.013239696621894836, 0.00924030039459467, 0.04764458164572716, 0.052958786487579346, -0.051932595670223236, 0.014467460103332996, 0.02118351310491562, -0.015292078256607056, 0.04408956319093704, -0.10643066465854645, 0.005891435779631138, 0.03544024005532265, -0.030859028920531273, -0.029521316289901733, 0.014934743754565716, -0.01909448206424713, 0.003520659636706114, 0.05504781752824783, -0.013981852680444717, 0.0027693412266671658, 0.012277642264962196, 0.02297934889793396, 0.007572739850729704, -0.021201839670538902, -0.06681236624717712, -0.05834628641605377, 0.07040403038263321, -0.056257255375385284, -0.03128049895167351, 0.024756858125329018, -0.09074459969997406, 0.07586483657360077, 0.025453202426433563, -0.08348796516656876, -0.01343210693448782, 0.017252836376428604, -0.034267447888851166, 0.002741853939369321, 0.0622311532497406, -0.005772324278950691, -0.05783319100737572, -0.04515240341424942, -0.005763161927461624, -0.008951683528721333, -0.05493786931037903, 0.05303208529949188, -0.03531196340918541, -0.031060602515935898, -0.03778581693768501, 0.036997850984334946, -0.02114686369895935, -0.026277819648385048, 0.0455189011991024, 0.002620452083647251, 0.007334516849368811, -0.0462152436375618, 0.043246619403362274, -0.05512111634016037, 0.07872351258993149, 0.05130954831838608, 0.020633768290281296, -0.04167068377137184, -0.10386519134044647, -0.05145614966750145, -0.07047732919454575, 0.00926778744906187, 0.005369178019464016, 0.04082773998379707, 0.03807901591062546, -0.022906048223376274, -0.06003217399120331, -0.039948150515556335, 0.01059175655245781, 0.026186194270849228, -0.0004658517718780786, 0.026919187977910042, -0.058712784200906754, 0.010930766351521015, -0.02391391433775425, 0.04141413792967796, 0.0042559439316391945, 0.004409414250403643, 0.03325958177447319, -0.05570751056075096, -0.056660402566194534, -0.012928173877298832, 0.01903950795531273, -0.03228836506605148, -0.04086438938975334, 0.017289485782384872, -0.01654732972383499, 0.013752792030572891, -0.028055328875780106, 0.02484848164021969, -0.002084450563415885, 0.05119960010051727, 0.020230622962117195, -0.05101635307073593, 0.026186194270849228, -0.02900822088122368, -0.05636720359325409, 0.0013434397988021374, 0.05493786931037903, -0.007233730051666498, 0.003786369925364852, 0.005543263629078865, -0.009895413182675838, 0.04093769192695618, -0.02963126450777054, -0.01608920842409134, -0.015117992646992207, 0.061314910650253296, 0.0606185682117939, -0.06201125681400299, -0.04573879763484001, 0.002773922635242343, -0.05171269550919533, 0.020578794181346893, 0.03738267347216606, 0.005886854603886604, 0.02937471680343151, -0.046435143798589706, 0.03040090762078762, 0.03307633474469185, 0.028018679469823837, 0.008296570740640163, 0.04053454473614693, -0.039581652730703354, -0.07527843862771988, 0.003371770493686199, 0.013239696621894836, -0.008163715712726116, 0.020175646990537643, 0.013587867841124535, 0.0074948593974113464, 0.013734467327594757, -0.09177079796791077, 0.06347724050283432, -0.018581386655569077, -0.006344975437968969, -0.037712518125772476, -0.004613278433680534, -0.058456238359212875, 0.025947973132133484, -0.045042455196380615, 0.04779117926955223, -0.05475461855530739, -0.004251362755894661, -0.004278849810361862, -0.05413157492876053, -0.049513716250658035, 0.03635648265480995, -0.02655269205570221, 0.034945469349622726, 0.06182800605893135, 0.013743629679083824, -0.019735852256417274, 0.018764635547995567, -0.003229752881452441, 0.0050851427949965, 0.04009474813938141, 0.007687270175665617, -0.04698488861322403, -0.03008938580751419, -0.0502467080950737, 0.055194415152072906, -0.002345579443499446, 0.025105029344558716, 0.058053091168403625, -0.026222845539450645, -0.052372388541698456, 0.026534367352724075, 0.055414315313100815, -0.02024894766509533, 0.05537766218185425, 0.05695360153913498, -0.01615334488451481, -0.028458476066589355, 0.02217305451631546, 0.04764458164572716, -0.02816527709364891, -0.08304817229509354, 0.05446142330765724, 0.014064313843846321, 0.026296144351363182, 0.0422937273979187, 0.0015679190400987864, 0.003669549012556672, -0.03800571709871292, 0.007852193899452686, -0.015814336016774178, 0.0141742629930377, 0.0036031214985996485, -0.08348796516656876, 0.04002144932746887, 0.040974341332912445, -0.027377309277653694, 0.02056046947836876, 0.015227940864861012, -0.029887812212109566, 0.03818896412849426, -0.03778581693768501, -0.014898094348609447, -0.008007954806089401, 0.022246355190873146, 0.03021766059100628, 0.01629994437098503, -0.0022081430070102215, 0.002920521190389991, -0.04819432646036148, -0.017738444730639458, 0.04353981837630272, -0.0018416463863104582, 0.005648631602525711, 0.01614418253302574, -0.02338249422609806, -0.00181644968688488, 0.019790826365351677, -0.030107710510492325, 0.04801107943058014, -0.02145838737487793, 0.01325802132487297, 0.008067510090768337, 0.02614954486489296, 0.011901983059942722, -0.008049185387790203, -0.016657277941703796, -0.008488981984555721, -0.00030579575104638934, -0.03379100188612938, 0.010252747684717178, 0.046471793204545975, 0.005126373842358589, -0.014659871347248554, -0.0259296465665102, 0.022337978705763817, -0.021531686186790466, 0.05856618657708168, 0.013248858973383904, -0.034267447888851166, 0.004572047386318445, -0.05984892323613167, 0.030455881729722023, 0.044675957411527634, 0.0066564977169036865, 0.035696785897016525, 0.04269687458872795, -0.07370249927043915, -0.0318119190633297, -0.006826002616435289, -0.02937471680343151, 0.06226780265569687, 0.005506614223122597, 0.051529448479413986, -0.013807766139507294, 0.01838897541165352, 0.02682756446301937, 0.01640073023736477, -0.08451415598392487, -0.02838517539203167, -0.06648251414299011, -0.0056898626498878, 0.0007186773000285029, 0.03674130141735077, 0.028824971988797188, -0.029539640992879868, -0.020780367776751518, 0.0382622629404068, 0.0883990228176117, -0.034047551453113556, 0.008915034122765064, 0.07157681882381439, 0.012103556655347347, 0.039984799921512604, 0.015319565311074257, 0.004304046742618084, 0.013908552937209606, -0.00961137842386961, -0.029448015615344048, -0.029924461618065834, 0.001964193768799305, -0.006001384928822517, -0.07469204068183899, -0.016290782019495964, 0.008621837012469769, 0.011498836800456047, -0.009409804828464985, 0.009359411895275116, -0.03983819857239723, -0.0471314862370491, 0.00902040209621191, -0.019057832658290863, 0.00726579874753952, 0.07132027298212051, -0.022026456892490387, -0.01030772179365158, -0.012479215860366821, -0.01984580047428608, -0.017903367057442665, -0.04801107943058014, 0.0013583287363871932, -0.06530972570180893, 0.015365377999842167, -0.04108428955078125, -0.037712518125772476, -0.015438676811754704, -0.015704387798905373, -0.014962230809032917, -0.004501038696616888, 0.007059644442051649, 0.026002947241067886, 0.002586093032732606, -0.03822561353445053, 0.015585275366902351, -0.00950142927467823, 0.07077053189277649, -0.07821041345596313, -0.02695583924651146, -0.024023864418268204, -0.04394296556711197, 0.013056447729468346, -0.03316795825958252, 0.01783006824553013, 0.033461157232522964, 0.07465539127588272, -0.03258156403899193, 0.0009889686480164528, -0.027505584061145782, -0.06391704082489014, -0.015722712501883507, -0.011956957168877125, 0.03465227037668228, -0.004865244962275028, 0.014476622454822063, 0.007962143048644066, 0.003669549012556672, 0.018269864842295647, 0.039801549166440964, 0.0661526694893837, -0.06241440027952194, -0.00124036252964288, 0.0017992701614275575, 0.016464868560433388, 0.014293374493718147, 0.016977963969111443, -0.013166396878659725, 0.009057051502168179, -0.0077743129804730415, -0.019277730956673622, -0.04559220001101494, 0.013981852680444717, 0.01592428609728813, -0.018874583765864372, 0.023235896602272987, -0.023034323006868362, 0.06182800605893135, -0.015273753553628922, -0.02037722058594227, 0.03089567832648754, 0.01618083380162716, -0.005075980443507433, 0.029557965695858, -0.0020821597427129745, -0.04009474813938141, -0.047058187425136566, 0.03375435248017311, 0.044639308005571365, 0.018947884440422058, -0.014183425344526768, 0.014833956956863403, 0.06574952602386475, -0.04368641600012779, -0.012928173877298832, 0.07564493268728256, -0.009950387291610241, 0.01191114541143179, -0.014128451235592365, -0.021623309701681137, -0.012259317561984062, -0.03468891978263855, 0.06300079822540283, 0.03247161582112312, 0.005305041093379259, -0.031170550733804703, -0.007412397302687168, 0.009950387291610241, 0.06039866805076599, 0.015099667012691498, -0.0004080139915458858, -0.010042011737823486, -0.042220428586006165, 0.009102864190936089, -0.04779117926955223, -0.014055151492357254, -0.04295342415571213, -0.037895768880844116, -0.0026914607733488083, -0.044052913784980774, 0.0743255466222763, 0.058272987604141235, 0.05951907858252525, 0.04331991821527481, -0.005355434026569128, -0.03630150482058525, -0.009794626384973526, -0.023364169523119926, -0.014439973048865795, -0.025233304128050804, 0.029173143208026886, 0.024555284529924393, 0.009913737885653973, 0.0026708452496677637, -0.0085989311337471, -0.0479377806186676, 0.025856347754597664, -0.01695963926613331, 0.0019172362517565489, -0.001262123347260058, 0.004585790913552046, -0.012360104359686375, -0.0077651506289839745, 0.01191114541143179, 0.010243585333228111, -0.0023318356834352016, 0.04691158980131149, 0.026717616245150566, 0.017087912186980247, -0.030144359916448593, -0.013001473620533943, -0.038152314722537994, 0.03098730370402336, -0.020487170666456223, -0.07403235137462616, 0.06410028785467148, 0.08656653761863708, 0.030290959402918816, -0.07117367535829544, 0.031720295548439026, -0.05721014738082886, -0.0019722108263522387, -0.007229148875921965, -0.024023864418268204, 0.014000177383422852, -0.03263653814792633, 0.016043396666646004, -0.002182946540415287, 0.0032709836959838867, -0.02642441727221012, 0.013441269285976887, -0.0382622629404068, 0.002757888287305832 ]
44,124
gwcs.coordinate_frames
coordinates
Create a SkyCoord object. Parameters ---------- args : float inputs to wcs.input_frame
def coordinates(self, *args): """ Create a SkyCoord object. Parameters ---------- args : float inputs to wcs.input_frame """ if isinstance(args[0], coord.SkyCoord): return args[0].transform_to(self.reference_frame) return coord.SkyCoord(*args, unit=self.unit, frame=self.reference_frame)
(self, *args)
[ 0.02242148108780384, -0.04860948771238327, 0.01872602291405201, 0.0020997929386794567, -0.04406123235821724, -0.004423889797180891, -0.07447769492864609, 0.04658409208059311, 0.0002791303559206426, 0.03940637409687042, 0.03738097846508026, 0.011157440952956676, -0.009291945025324821, 0.01268537063151598, -0.021266650408506393, 0.009922659955918789, -0.0011970263440161943, 0.0001213821378769353, -0.04459422826766968, -0.0224925484508276, -0.00009445459727430716, -0.035053551197052, 0.0449850969016552, 0.00182107905857265, -0.002858205931261182, -0.010882058180868626, 0.044736362993717194, 0.039619576185941696, -0.03734544664621353, -0.037985045462846756, -0.06275171786546707, 0.06154359132051468, -0.0015978858573362231, 0.04935568571090698, 0.03780737891793251, -0.02382504567503929, -0.027111871168017387, 0.022705746814608574, -0.06598524749279022, -0.032228659838438034, -0.03617284819483757, -0.016496311873197556, 0.028568733483552933, 0.038802310824394226, -0.03073626197874546, -0.02036055363714695, -0.057954732328653336, -0.057528331875801086, -0.057990264147520065, 0.011219624429941177, 0.020804718136787415, -0.04121857136487961, 0.01597219705581665, 0.01530594751238823, 0.01876155659556389, 0.027342837303876877, 0.038446977734565735, 0.10219363123178482, 0.016913827508687973, -0.0038242661394178867, -0.030451996251940727, 0.010206926614046097, 0.019596587866544724, -0.00810158159583807, 0.0017022647662088275, -0.005951819475740194, 0.00954067800194025, 0.007897265255451202, 0.009975960478186607, 0.043421633541584015, 0.0009882685262709856, 0.022634681314229965, 0.0008816687623038888, -0.011992472223937511, 0.04065003991127014, 0.03349008783698082, -0.03752311319112778, 0.021355483680963516, 0.0028448808006942272, -0.014346550218760967, -0.09103618562221527, -0.03272612392902374, -0.0387667752802372, 0.04335056617856026, 0.000007386856395896757, 0.04939121752977371, 0.024766676127910614, -0.0048547303304076195, -0.03158906102180481, 0.022741280496120453, -0.040578972548246384, 0.03476928547024727, -0.050954680889844894, 0.011592723429203033, -0.00004927462578052655, -0.004241781774908304, 0.02156868390738964, -0.005743061657994986, 0.007692948915064335, 0.0724167674779892, 0.033898722380399704, -0.0012580992188304663, -0.0319443941116333, 0.03752311319112778, 0.008816688321530819, 0.012312271632254124, 0.01779327541589737, -0.024340277537703514, 0.009709460660815239, 0.04171603545546532, -0.0012270075967535377, 0.0599801279604435, 0.016816111281514168, 0.0229189470410347, -0.054259274154901505, -0.07398022711277008, -0.03213982656598091, 0.03155352547764778, -0.03912210837006569, 0.0030247680842876434, -0.012543237768113613, 0.06285832077264786, 0.02611693926155567, 0.030132196843624115, 0.01145947352051735, 0.032814957201480865, 0.01674504391849041, -0.02043161913752556, -0.014728532172739506, -0.01338715199381113, 0.0540105402469635, -0.06324918568134308, 0.005498770624399185, -0.004939122125506401, 0.0390155091881752, 0.00947849452495575, 0.09139151871204376, -0.040578972548246384, -0.04420336335897446, 0.031144894659519196, 0.049675483256578445, 0.08151327818632126, 0.08599046617746353, 0.03231749311089516, -0.06300045549869537, 0.07703609019517899, 0.010517842136323452, -0.01659402810037136, 0.01775774173438549, 0.014906198717653751, 0.001018249779008329, 0.016682861372828484, -0.01410670019686222, 0.04271096736192703, -0.10752362012863159, -0.11015307903289795, 0.02362961135804653, -0.010082559660077095, 0.12614303827285767, 0.0788838192820549, -0.03260175883769989, 0.02716517075896263, -0.002340752864256501, -0.019436689093708992, 0.017731092870235443, 0.015705697238445282, -0.02393164485692978, -0.013822434470057487, 0.0030491971410810947, 0.010748808272182941, 0.014488683082163334, 0.0062982686795294285, -0.0025250816252082586, 0.031020527705550194, -0.011495006270706654, -0.021746350452303886, 0.00024095985281746835, 0.008830012753605843, 0.018601657822728157, 0.018619423732161522, 0.02995453029870987, -0.04025917500257492, -0.02700527012348175, 0.017846575006842613, 0.020964618772268295, 0.05582273751497269, 0.013094003312289715, 0.04708155617117882, 0.05116788297891617, -0.002409598557278514, 0.03109159506857395, 0.05148768052458763, 0.0009238645434379578, -0.030043363571166992, -0.00582745298743248, 0.009451844729483128, -0.000529389944858849, 0.0001390099641866982, -0.05056381598114967, 0.05699533596634865, -0.05365521088242531, -0.025033175945281982, 0.008634580299258232, -0.0707111731171608, 0.00880336295813322, 0.024802209809422493, 0.0027382811531424522, -0.0373099148273468, -0.057173002511262894, 0.007737365551292896, 0.05280240997672081, -0.023203212767839432, -0.04061450436711311, -0.024375809356570244, 0.03416522219777107, -0.005885194521397352, -0.00560537027195096, -0.013227252289652824, 0.05855879932641983, 0.0529090091586113, 0.07767568528652191, -0.02625907212495804, -0.015510263852775097, -0.022243814542889595, 0.021941782906651497, -0.054685674607753754, 0.035497717559337616, 0.022741280496120453, -0.061330392956733704, -0.08542193472385406, 0.00028426601784303784, -0.025868207216262817, -0.06481265276670456, -0.03027432970702648, 0.0011837014462798834, -0.0336499884724617, 0.03293932229280472, -0.04445209726691246, -0.03587081655859947, -0.017615608870983124, -0.021391017362475395, 0.035764217376708984, 0.053761810064315796, 0.03855357691645622, -0.027218470349907875, 0.006875684019178152, -0.02510424144566059, 0.03263729065656662, 0.007803990039974451, 0.03770077973604202, 0.02435804344713688, 0.05774153396487236, -0.023363113403320312, 0.03441395238041878, -0.026756538078188896, -0.053051143884658813, 0.03290379047393799, -0.06761977821588516, 0.026472272351384163, -0.015981080010533333, -0.02654333785176277, -0.015048331581056118, 0.006693575996905565, 0.03826931118965149, 0.023380879312753677, 0.017615608870983124, -0.023789511993527412, -0.0325484573841095, -0.015590214170515537, 0.02238594740629196, 0.03508908674120903, 0.03185556083917618, -0.008692321367561817, 0.008412497118115425, 0.0012636511819437146, -0.0822950080037117, 0.027289537712931633, -0.030594129115343094, 0.006475935224443674, 0.04765009135007858, 0.042995233088731766, -0.015679046511650085, -0.06737104058265686, 0.009798293933272362, 0.026596639305353165, -0.0514521487057209, 0.06026439368724823, 0.04189370200037956, 0.03473375365138054, -0.04491402953863144, -0.010588908568024635, 0.05116788297891617, 0.003129146993160248, -0.04690388962626457, 0.04729475826025009, -0.013564818538725376, -0.06154359132051468, 0.0017344668740406632, -0.0016434128629043698, 0.007768456824123859, 0.02252808026969433, 0.038162712007761, 0.008456913754343987, 0.0056897616013884544, 0.008341430686414242, 0.007008933927863836, -0.026045873761177063, -0.023718444630503654, 0.0011381744407117367, 0.004974655341356993, 0.008687879890203476, -0.011832572519779205, -0.046761758625507355, -0.019720954820513725, -0.06673144549131393, 0.010908707976341248, 0.016620678827166557, -0.02579713985323906, 0.015687929466366768, 0.062076590955257416, 0.02991899661719799, -0.08734072744846344, 0.0056631118059158325, 0.013271668925881386, 0.020804718136787415, 0.0373099148273468, -0.05319327861070633, 0.0010537829948589206, 0.047614555805921555, 0.0017011543968692422, -0.027307303622364998, 0.00947849452495575, -0.012907453812658787, 0.009798293933272362, 0.026934204623103142, -0.03341902419924736, -0.002224159426987171, 0.02949259802699089, 0.028586501255631447, -0.03812718018889427, -0.01615874655544758, -0.026721004396677017, -0.06573651731014252, 0.031304795295000076, -0.031304795295000076, -0.01678946055471897, 0.0031646802090108395, -0.021266650408506393, 0.07447769492864609, -0.007599674165248871, -0.02782253548502922, -0.010979774408042431, 0.036155082285404205, 0.017224743962287903, 0.018779322504997253, 0.09274178743362427, -0.02252808026969433, -0.002238594926893711, -0.02844436652958393, -0.04370589926838875, -0.003255734220147133, -0.056320201605558395, -0.009522911161184311, -0.03119819425046444, -0.07099543511867523, -0.02782253548502922, 0.03166012838482857, -0.031215960159897804, -0.04477189481258392, 0.025210842490196228, -0.023682910948991776, 0.0023207655176520348, -0.01368030160665512, -0.0009349686442874372, -0.02995453029870987, 0.04320843145251274, 0.027644868940114975, -0.0022297115065157413, -0.05489887297153473, -0.057954732328653336, -0.015563564375042915, -0.045447029173374176, 0.005303337704390287, 0.013147302903234959, 0.02210168167948723, 0.058345597237348557, -0.03784291073679924, -0.03659924864768982, -0.010535608977079391, -0.010126976296305656, 0.021977316588163376, -0.028799699619412422, 0.0641375184059143, -0.0458378940820694, 0.013609235174953938, -0.012019122019410133, 0.019756488502025604, 0.07234569638967514, 0.02176411636173725, 0.033898722380399704, -0.035764217376708984, -0.01682499423623085, 0.0024540151935070753, 0.0021786324214190245, -0.06808170676231384, -0.047117091715335846, 0.04061450436711311, 0.016025496646761894, 0.012250088155269623, -0.0030380929820239544, -0.03201545774936676, -0.03329465538263321, -0.0252996739000082, 0.0023807277902960777, -0.02933269925415516, 0.05056381598114967, -0.02537074126303196, 0.01248993817716837, -0.008963262662291527, 0.023363113403320312, -0.017464593052864075, -0.008790037594735622, -0.025583941489458084, 0.016061030328273773, 0.07597009092569351, 0.0002973133814521134, -0.007479749154299498, -0.01615874655544758, 0.08201074600219727, 0.0591273307800293, -0.056249137967824936, -0.07845741510391235, -0.029439298436045647, -0.021710816770792007, 0.02808903530240059, 0.03260175883769989, 0.02412707731127739, 0.013440452516078949, 0.007430891040712595, 0.05106128007173538, -0.008909963071346283, 0.01885038986802101, 0.008989912457764149, 0.022634681314229965, -0.0737670287489891, -0.05706639960408211, -0.02458900958299637, -0.036279451102018356, 0.009220878593623638, 0.006156135816127062, 0.05969586223363876, 0.06531011313199997, -0.006209435407072306, -0.0641375184059143, 0.0720614343881607, -0.0469394251704216, -0.07305636256933212, -0.03528451919555664, 0.021586449816823006, -0.08023408055305481, -0.01741129346191883, -0.035053551197052, 0.08343207091093063, -0.045447029173374176, -0.015945546329021454, -0.023398645222187042, -0.009824943728744984, -0.055041007697582245, -0.005747503135353327, -0.06971623748540878, 0.02863980084657669, 0.033827655017375946, -0.0070133754052221775, -0.037629712373018265, 0.09032552689313889, -0.012090188451111317, -0.044629763811826706, 0.02016511932015419, -0.022990012541413307, -0.059269461780786514, -0.10020376741886139, -0.024500176310539246, 0.051736414432525635, -0.004024140536785126, 0.0016733939992263913, 0.02176411636173725, -0.0043728104792535305, -0.04903588816523552, 0.015199348330497742, 0.03555101901292801, -0.025086475536227226, 0.08122900873422623, -0.025637241080403328, -0.033863186836242676, -0.08101581037044525, 0.012543237768113613, 0.07184823602437973, -0.005152321420609951, -0.07575689256191254, 0.0373099148273468, -0.012640953995287418, 0.010109209455549717, 0.012996286153793335, -0.0452338270843029, 0.0013802447356283665, -0.030256563797593117, -0.01270313747227192, -0.033898722380399704, -0.003293488174676895, 0.048431821167469025, -0.04065003991127014, -0.028124568983912468, 0.007737365551292896, -0.04487849771976471, 0.050883617252111435, 0.024215910583734512, -0.0520562119781971, 0.02704080380499363, -0.06317812204360962, 0.0017833249876275659, -0.0046326476149261, 0.008159322664141655, 0.03905104473233223, 0.05354860797524452, 0.04246223345398903, 0.02124888449907303, -0.0036177290603518486, 0.005441029090434313, 0.07554369419813156, 0.04786328971385956, -0.01239222101867199, -0.04455869644880295, -0.05703086778521538, 0.04946228489279747, 0.007008933927863836, -0.031144894659519196, -0.01772220805287361, -0.033276889473199844, -0.02956366539001465, -0.02176411636173725, 0.025779373943805695, -0.014044517651200294, -0.015679046511650085, -0.03014996275305748, 0.0037820704746991396, -0.060406528413295746, -0.015536913648247719, -0.025743840262293816, 0.019596587866544724, 0.004175156820565462, 0.0014457592042163014, -0.05074148252606392, 0.03453832119703293, 0.026880905032157898, 0.020911317318677902, 0.07056903839111328, -0.017704442143440247, -0.0008422490791417658, -0.0994931012392044, 0.039690639823675156, 0.0179531741887331, -0.01892145536839962, 0.056711070239543915, 0.040507905185222626, -0.09686364233493805, 0.01790875941514969, 0.02281234785914421, 0.018797090277075768, 0.030558595433831215, 0.007750690449029207, 0.01694047823548317, 0.011770389042794704, 0.044238898903131485, 0.034325119107961655, -0.03755864500999451, -0.007701832335442305, 0.018077541142702103, -0.002507315017282963, 0.002722735283896327, -0.027129637077450752, 0.06054865941405296, -0.0028981808573007584, -0.021941782906651497, -0.02618800662457943, -0.0005457685329020023, 0.05870093032717705, -0.014115584082901478, -0.003857578616589308, 0.04086323827505112, -0.003981945104897022, 0.059233929961919785, 0.007875056937336922, -0.014675232581794262, 0.06243192031979561, -0.04363483190536499, -0.03189109265804291, -0.05692426860332489, -0.015572447329759598, 0.052589211612939835, -0.044629763811826706, -0.02894183248281479, 0.026365673169493675, 0.018441757187247276, 0.005587603896856308, -0.0008605709299445152, -0.05560953915119171, 0.003204655135050416, -0.029901230707764626, -0.04907141998410225, 0.0005277242744341493, 0.06936090439558029, -0.03897997736930847, -0.005272245965898037, -0.04171603545546532, 0.009069862775504589, 0.006236085668206215, 0.010402359068393707, 0.002840439323335886, -0.03423628583550453, -0.012276737950742245, 0.013813551515340805, 0.0035799751058220863, -0.054259274154901505, -0.0033223589416593313, 0.0076352073810994625, -0.010793224908411503, 0.048822686076164246, 0.0007339837029576302, 0.03166012838482857, 0.010979774408042431, 0.038873378187417984, -0.002587264869362116, -0.004712597467005253, -0.07774675637483597, -0.012676487676799297, 0.03667031601071358, -0.025210842490196228, -0.0009915997507050633, -0.022314881905913353, 0.020680351182818413, -0.031997691839933395, 0.06708677858114243, 0.012045771814882755, 0.04082770645618439, -0.05528973788022995, -0.042106904089450836, -0.02117781713604927, 0.018832623958587646, 0.012765320017933846, -0.000623497529886663, 0.003255734220147133, -0.011566073633730412, 0.030842861160635948, 0.07220356911420822, 0.014808482490479946, 0.018477290868759155, -0.07056903839111328, -0.0014413174940273166, 0.045518092811107635, -0.01918795518577099, -0.0041596111841499805, 0.03295709192752838, -0.03313475474715233, -0.001136508770287037, -0.021462082862854004, -0.0636400505900383, -0.012107955291867256, 0.006769084371626377, -0.025868207216262817, 0.026045873761177063, -0.010588908568024635, -0.03947744145989418, 0.004528268706053495, -0.0021986200008541346, 0.0017788833938539028, -0.040969837456941605, 0.02556617371737957, -0.02059151977300644, 0.04160943627357483, 0.031144894659519196, -0.052091747522354126, 0.023984944447875023, 0.015572447329759598, -0.0074486578814685345, 0.010553375817835331, -0.003171342657878995, 0.012614304199814796, 0.053051143884658813, 0.03018549643456936, 0.0015867816982790828, 0.014319900423288345, -0.017064843326807022, 0.044238898903131485, 0.00003771937917917967, 0.021515384316444397, -0.0435282327234745, -0.038837842643260956, 0.013786901719868183, 0.007088883779942989, 0.026827605441212654, -0.0540105402469635, 0.04455869644880295, -0.026134707033634186, 0.05973139405250549, 0.026703238487243652, -0.006142810918390751, 0.04534042999148369, -0.030256563797593117, 0.06801064312458038, -0.04708155617117882, 0.002208613557741046, -0.02020065300166607, 0.014586399309337139, 0.020271720364689827, -0.02252808026969433, 0.032459624111652374, -0.005934053100645542, 0.06989390403032303, 0.05724406614899635, -0.003026988822966814, 0.0014968381728976965, 0.005774153396487236, 0.0010188049636781216, -0.011335107497870922, -0.031837791204452515, 0.027538269758224487, -0.0224925484508276, -0.0048414054326713085, -0.03205099329352379, -0.02386057749390602, -0.0324951596558094, 0.024020478129386902, -0.003153576049953699, 0.037949513643980026, -0.0009488488431088626, 0.002157534472644329, -0.0466906912624836, -0.02474891021847725, -0.02618800662457943, -0.005418820772320032, -0.031766727566719055, 0.018548356369137764, 0.013857968151569366, -0.020236186683177948, -0.02517530880868435, 0.021693048998713493, -0.028231168165802956, -0.01966765522956848, 0.038873378187417984, -0.021462082862854004, 0.04811202362179756, 0.08122900873422623, 0.038873378187417984, -0.04935568571090698, 0.019259022548794746, -0.017322460189461708, -0.02354077808558941, 0.0047348057851195335, -0.02412707731127739, -0.01876155659556389, -0.03866017609834671, 0.06182785704731941, -0.013786901719868183, 0.013706951402127743, 0.009096512570977211, 0.02183518186211586, -0.006369335111230612, 0.021888483315706253 ]
44,125
gwcs.coordinate_frames
CompositeFrame
Represents one or more frames. Parameters ---------- frames : list List of frames (TemporalFrame, CelestialFrame, SpectralFrame, CoordinateFrame). name : str Name for this frame.
class CompositeFrame(CoordinateFrame): """ Represents one or more frames. Parameters ---------- frames : list List of frames (TemporalFrame, CelestialFrame, SpectralFrame, CoordinateFrame). name : str Name for this frame. """ def __init__(self, frames, name=None): self._frames = frames[:] naxes = sum([frame._naxes for frame in self._frames]) axes_type = list(range(naxes)) unit = list(range(naxes)) axes_names = list(range(naxes)) axes_order = [] ph_type = list(range(naxes)) for frame in frames: axes_order.extend(frame.axes_order) for frame in frames: for ind, axtype, un, n, pht in zip(frame.axes_order, frame.axes_type, frame.unit, frame.axes_names, frame.axis_physical_types): axes_type[ind] = axtype axes_names[ind] = n unit[ind] = un ph_type[ind] = pht if len(np.unique(axes_order)) != len(axes_order): raise ValueError("Incorrect numbering of axes, " "axes_order should contain unique numbers, " "got {}.".format(axes_order)) super(CompositeFrame, self).__init__(naxes, axes_type=axes_type, axes_order=axes_order, unit=unit, axes_names=axes_names, name=name) self._axis_physical_types = tuple(ph_type) @property def frames(self): return self._frames def __repr__(self): return repr(self.frames) def coordinates(self, *args): coo = [] if len(args) == len(self.frames): for frame, arg in zip(self.frames, args): coo.append(frame.coordinates(arg)) else: for frame in self.frames: fargs = [args[i] for i in frame.axes_order] coo.append(frame.coordinates(*fargs)) return coo def coordinate_to_quantity(self, *coords): if len(coords) == len(self.frames): args = coords elif len(coords) == self.naxes: args = [] for _frame in self.frames: if _frame.naxes > 1: # Collect the arguments for this frame based on axes_order args.append([coords[i] for i in _frame.axes_order]) else: args.append(coords[_frame.axes_order[0]]) else: raise ValueError("Incorrect number of arguments") qs = [] for _frame, arg in zip(self.frames, args): ret = _frame.coordinate_to_quantity(arg) if isinstance(ret, tuple): qs += list(ret) else: qs.append(ret) return qs @property def _wao_classes_rename_map(self): mapper = defaultdict(dict) seen_names = [] for frame in self.frames: # ensure the frame is in the mapper mapper[frame] for key in frame._world_axis_object_classes.keys(): if key in seen_names: new_key = f"{key}{seen_names.count(key)}" mapper[frame][key] = new_key seen_names.append(key) return mapper @property def _wao_renamed_components_iter(self): mapper = self._wao_classes_rename_map for frame in self.frames: renamed_components = [] for comp in frame._world_axis_object_components: comp = list(comp) rename = mapper[frame].get(comp[0]) if rename: comp[0] = rename renamed_components.append(tuple(comp)) yield frame, renamed_components @property def _wao_renamed_classes_iter(self): mapper = self._wao_classes_rename_map for frame in self.frames: for key, value in frame._world_axis_object_classes.items(): rename = mapper[frame].get(key) if rename: key = rename yield key, value @property def _world_axis_object_components(self): """ We need to generate the components respecting the axes_order. """ out = [None] * self.naxes for frame, components in self._wao_renamed_components_iter: for i, ao in enumerate(frame.axes_order): out[ao] = components[i] if any([o is None for o in out]): raise ValueError("axes_order leads to incomplete world_axis_object_components") return out @property def _world_axis_object_classes(self): return dict(self._wao_renamed_classes_iter)
(frames, name=None)
[ -0.004077299498021603, -0.052653662860393524, -0.08164779096841812, 0.04784845933318138, -0.02188812382519245, -0.037077464163303375, -0.05448615923523903, 0.03958187252283096, 0.024433255195617676, 0.011483630165457726, 0.002579489955678582, 0.0029625322204083204, 0.017805734649300575, 0.048825789242982864, -0.013041249476373196, 0.007818642072379589, 0.048947952687740326, 0.022030651569366455, 0.015433672815561295, -0.041516173630952835, 0.00028219138039276004, -0.010781173594295979, 0.0072230808436870575, 0.0061795772053301334, 0.005405857693403959, 0.024311088025569916, -0.0010937699116766453, 0.017653027549386024, -0.02938098832964897, -0.04137364402413368, -0.06776156276464462, 0.003545367158949375, -0.0033493919763714075, -0.04414274916052818, 0.005863981321454048, -0.025268057361245155, -0.021603070199489594, 0.01373352576047182, -0.05953569710254669, 0.006876943167299032, 0.042106643319129944, -0.06743578612804413, 0.04214736446738243, -0.04045739769935608, 0.018630357459187508, 0.046015962958335876, -0.054771214723587036, 0.05102477967739105, -0.041862308979034424, 0.0031254205387085676, 0.04226953163743019, -0.1094609797000885, 0.04520152136683464, 0.058232590556144714, -0.01480248011648655, 0.07867508381605148, 0.011921392753720284, 0.08380606770515442, 0.036690603941679, -0.011890850961208344, -0.02799643762409687, 0.03831948712468147, -0.02978821098804474, -0.03693493828177452, 0.001162488479167223, -0.07977458089590073, 0.00216972385533154, -0.008164779283106327, -0.032272256910800934, 0.00007261575956363231, -0.008826513774693012, 0.006602068897336721, 0.041271839290857315, -0.004232552368193865, -0.011432726867496967, -0.007864453829824924, -0.014364717528223991, 0.029991820454597473, 0.04715618118643761, -0.028444381430745125, -0.03274056315422058, 0.027304163202643394, -0.00124075124040246, -0.004693221300840378, 0.012807098217308521, 0.04143472760915756, 0.04874434322118759, 0.07175232470035553, -0.033473558723926544, -0.01877288520336151, -0.04528296738862991, -0.017622485756874084, 0.030439764261245728, 0.035753995180130005, -0.03610013425350189, -0.021358737722039223, -0.05432327091693878, -0.024555420503020287, -0.015118076466023922, -0.01686912588775158, -0.013204137794673443, 0.015433672815561295, -0.06979766488075256, 0.024555420503020287, -0.03219081461429596, 0.04866290092468262, -0.0533459410071373, -0.05078044906258583, -0.023394841700792313, 0.012756194919347763, -0.011890850961208344, 0.014873743988573551, 0.018538732081651688, 0.006887123920023441, 0.014262912794947624, -0.058599088340997696, -0.022621121257543564, 0.03153926134109497, -0.011229116469621658, -0.025492029264569283, 0.014883924275636673, 0.06747650355100632, 0.020635919645428658, 0.0212772935628891, 0.0065969787538051605, 0.018060248345136642, 0.04027414694428444, 0.024433255195617676, -0.010984783992171288, -0.032638754695653915, 0.026693331077694893, -0.029177378863096237, -0.001992837293073535, 0.028871962800621986, 0.05635937675833702, -0.015118076466023922, 0.00612867483869195, -0.049721673130989075, -0.11907139420509338, 0.027426328510046005, 0.032577674835920334, 0.009045395068824291, 0.05815114825963974, 0.0391542911529541, -0.053020164370536804, 0.0480927899479866, 0.03626302257180214, -0.0369960218667984, -0.0447128564119339, -0.023781701922416687, -0.05436399206519127, 0.0053651356138288975, -0.007625211495906115, -0.011392004787921906, -0.022132456302642822, -0.07427709549665451, -0.006912575103342533, -0.019373534247279167, 0.0003359572438057512, 0.06886105984449387, -0.05082117021083832, -0.023598453029990196, -0.04801134765148163, -0.03166142478585243, -0.026693331077694893, 0.016828404739499092, 0.005248059518635273, -0.06991983205080032, -0.029095934703946114, 0.007070373278111219, 0.03367716819047928, 0.013916774652898312, 0.032333340495824814, -0.0025973059237003326, -0.03351427987217903, 0.03398258611559868, -0.025817805901169777, -0.006647881586104631, 0.011982475407421589, -0.03231297805905342, 0.011168033815920353, -0.038848876953125, -0.039724402129650116, -0.024657227098941803, -0.02433145046234131, 0.04483502358198166, 0.03418619558215141, 0.004420891869813204, 0.08828549832105637, 0.01751049980521202, -0.03518388792872429, 0.012878361158072948, -0.004665224812924862, 0.025736361742019653, 0.035998329520225525, 0.006749686785042286, -0.02762993983924389, 0.02433145046234131, 0.025247696787118912, 0.04059992730617523, -0.07289254665374756, 0.00829203613102436, 0.0773719772696495, -0.005405857693403959, -0.03451197221875191, 0.003840602235868573, 0.02380206249654293, -0.0004043576482217759, -0.052246443927288055, -0.016828404739499092, 0.026713691651821136, -0.042350973933935165, -0.005578926764428616, -0.051228392869234085, 0.025736361742019653, 0.03758649155497551, -0.002219354035332799, -0.02109404280781746, 0.040131621062755585, 0.00010069173731608316, 0.03998909518122673, 0.06169397011399269, -0.047441236674785614, -0.021053321659564972, -0.016299016773700714, -0.04288036376237869, 0.04878506436944008, 0.02746705152094364, 0.02084971033036709, -0.023720618337392807, -0.028627630323171616, -0.04662679508328438, -0.02901449054479599, -0.014140746556222439, 0.019770575687289238, -0.018864508718252182, 0.009478067047894001, -0.00803243275731802, -0.03842129185795784, -0.015433672815561295, -0.02740596793591976, -0.033534642308950424, -0.018050067126750946, 0.018324941396713257, -0.009111568331718445, -0.07562092691659927, 0.07252604514360428, 0.046545349061489105, -0.05692948400974274, 0.02247859537601471, -0.014140746556222439, 0.02176595851778984, -0.026774775236845016, 0.0019432073459029198, -0.012929264456033707, -0.0921948179602623, -0.05640009790658951, -0.0416179783642292, 0.013580817729234695, -0.037077464163303375, 0.025288419798016548, -0.03990764915943146, 0.01208428107202053, 0.02626574970781803, 0.0025247696321457624, 0.01884414814412594, 0.0373014360666275, 0.01618703082203865, -0.03662952035665512, 0.040070537477731705, 0.0009283364634029567, -0.005451669916510582, -0.04898867756128311, 0.038747068494558334, -0.00889777671545744, -0.014303634874522686, 0.035937245935201645, -0.042350973933935165, 0.007859364151954651, 0.011850128881633282, 0.03620193898677826, -0.01865071803331375, -0.04740051552653313, -0.012491501867771149, 0.027283800765872, -0.008969040587544441, -0.003876234171912074, -0.008775610476732254, 0.027283800765872, -0.014313815161585808, 0.013020888902246952, -0.001795589691027999, 0.016024142503738403, -0.012155544012784958, -0.0028556366451084614, -0.013570637442171574, -0.06641773134469986, -0.006429000291973352, 0.011229116469621658, -0.011290200054645538, 0.019251368939876556, 0.05599287524819374, 0.06633628904819489, -0.009686767123639584, -0.015291145071387291, -0.04927372932434082, -0.0057519953697919846, 0.008612722158432007, 0.010954243130981922, 0.018518371507525444, 0.036690603941679, 0.060390863567590714, -0.015739088878035545, -0.026448998600244522, 0.018416566774249077, 0.018976494669914246, 0.006673332769423723, -0.0245146993547678, 0.053916048258543015, 0.09007726609706879, 0.016299016773700714, -0.041862308979034424, -0.029157018288969994, 0.018538732081651688, 0.016604432836174965, 0.0212772935628891, 0.013988038524985313, -0.016970932483673096, 0.032883089035749435, -0.07228171080350876, -0.06169397011399269, -0.010811715386807919, -0.029279183596372604, 0.03907284885644913, 0.028077881783246994, -0.07118221372365952, -0.0030057993717491627, 0.030948789790272713, 0.0582733117043972, -0.030948789790272713, -0.002924355212599039, 0.006805679760873318, -0.0665806233882904, 0.01884414814412594, 0.004481975454837084, -0.053264494985342026, 0.015779810026288033, 0.030480485409498215, 0.024188922718167305, -0.00353773171082139, -0.007894995622336864, -0.009350810199975967, -0.01034341100603342, 0.01995382457971573, -0.0012426601024344563, 0.05741814896464348, -0.012715472839772701, -0.0687388926744461, -0.001135128317400813, 0.039724402129650116, 0.08763394504785538, -0.017907539382576942, -0.0023644263856112957, -0.02500336430966854, -0.043124694377183914, -0.030785901471972466, 0.013662261888384819, -0.036548078060150146, -0.006525715347379446, -0.03487847000360489, -0.012613668106496334, 0.009722399525344372, 0.03471558168530464, -0.015352228656411171, -0.05790681391954422, 0.05342738330364227, 0.03990764915943146, 0.014721035957336426, -0.03147817775607109, -0.09569691866636276, 0.060879528522491455, -0.03744396194815636, -0.029401350766420364, 0.013814969919621944, 0.0019762939773499966, -0.00446415925398469, 0.05664442852139473, -0.006871853023767471, -0.012695112265646458, 0.00331121520139277, -0.010465577244758606, -0.025268057361245155, 0.002191357547417283, -0.04165869951248169, -0.05460832640528679, -0.023028342053294182, -0.013438289985060692, 0.09488247334957123, -0.022885816171765327, -0.05297944322228432, -0.011198575608432293, -0.07248532027006149, 0.0043165418319404125, 0.038523100316524506, -0.010307779535651207, -0.027283800765872, 0.07472503930330276, 0.0511876679956913, -0.008668715134263039, 0.039113570004701614, -0.013743706047534943, 0.03398258611559868, 0.0026749323587864637, -0.013336485251784325, -0.020452670753002167, 0.01772429049015045, -0.03196684271097183, -0.029808571562170982, 0.032150089740753174, 0.04825567826628685, -0.025430945679545403, 0.0638115182518959, 0.03284236788749695, 0.060268696397542953, 0.012033377774059772, -0.021623430773615837, -0.03379933536052704, 0.007635392248630524, -0.0003614085726439953, 0.050861891359090805, -0.0339215025305748, -0.05330521985888481, -0.06739506125450134, -0.05375315994024277, 0.0007858091266825795, -0.04585307464003563, -0.0033850239124149084, 0.018884869292378426, -0.033534642308950424, 0.07142654806375504, 0.014466523192822933, 0.03567255288362503, 0.02648972161114216, 0.009976912289857864, -0.013611359521746635, -0.009070846252143383, -0.044387079775333405, 0.019628047943115234, -0.04304325208067894, 0.020462851971387863, 0.015179160051047802, 0.06772083789110184, 0.015382770448923111, -0.07366626709699631, 0.031559620052576065, -0.002789463382214308, -0.010185613296926022, -0.04021306708455086, -0.015382770448923111, -0.03369753062725067, 0.019719673320651054, 0.008505826815962791, 0.04027414694428444, -0.014497064985334873, -0.029747487977147102, 0.054526880383491516, 0.04520152136683464, -0.06666206568479538, -0.03555038571357727, 0.008948680013418198, 0.07211882621049881, 0.02001490816473961, 0.03758649155497551, -0.06776156276464462, -0.0066275205463171005, 0.018609995022416115, -0.021297654137015343, 0.009238824248313904, -0.009579871781170368, -0.06055375188589096, -0.008022252470254898, -0.024127839133143425, 0.03296453505754471, -0.026001054793596268, -0.007294344715774059, 0.06226407736539841, 0.03907284885644913, -0.0403963141143322, 0.03750504553318024, -0.005833439528942108, -0.05399749428033829, 0.020157435908913612, -0.0006429636268876493, 0.04483502358198166, -0.017439235001802444, 0.024127839133143425, 0.036364827305078506, -0.034206558018922806, -0.013519734144210815, -0.04279891774058342, 0.027833549305796623, -0.005370225757360458, 0.027609577402472496, -0.027324523776769638, 0.038339849561452866, -0.04886651039123535, 0.020951516926288605, -0.01822313666343689, -0.013570637442171574, -0.010043085552752018, -0.055300600826740265, -0.028994129970669746, 0.024473976343870163, -0.05900631099939346, 0.016533169895410538, 0.01435453724116087, -0.03805479407310486, 0.02846474200487137, 0.023578090593218803, 0.02734488435089588, 0.024657227098941803, -0.040131621062755585, 0.05672587454319, 0.054771214723587036, -0.017215264961123466, 0.028688713908195496, -0.0025973059237003326, 0.006632610689848661, 0.045771632343530655, -0.02109404280781746, -0.015484575182199478, -0.01384551078081131, -0.028037160634994507, 0.0441020242869854, 0.03860454261302948, 0.014100024476647377, 0.03343283757567406, -0.02445361576974392, 0.028200048953294754, 0.05534132197499275, 0.03831948712468147, 0.03272020071744919, 0.02673405408859253, -0.013743706047534943, -0.015769630670547485, -0.007945897988975048, 0.027894632890820503, -0.025878889486193657, 0.03805479407310486, 0.016288837417960167, 0.009676586836576462, 0.024412894621491432, 0.01370298396795988, 0.024535059928894043, 0.039480067789554596, -0.015219882130622864, -0.0011993928346782923, -0.009350810199975967, -0.05143200233578682, 0.009569691494107246, 0.032333340495824814, 0.05399749428033829, 0.04243241995573044, -0.08396895229816437, -0.006775137968361378, 0.009488247334957123, 0.014161107130348682, 0.014945007860660553, 0.01054702140390873, 0.04218808561563492, 0.02750777266919613, 0.013143055140972137, -0.0005465668509714305, -0.041149672120809555, 0.007701565511524677, -0.02978821098804474, -0.02272292785346508, -0.004036577418446541, -0.019465159624814987, -0.09048448503017426, 0.05664442852139473, -0.01939389668405056, 0.00376170314848423, -0.05965786427259445, 0.03603905066847801, 0.012094461359083652, -0.022804372012615204, 0.03632410615682602, 0.061897579580545425, -0.030012181028723717, -0.03943934664130211, 0.032516591250896454, 0.040131621062755585, -0.0020628285128623247, 0.019648408517241478, 0.05000672861933708, -0.036466632038354874, -0.028688713908195496, -0.02962532266974449, -0.01250168215483427, 0.018599815666675568, 0.025084808468818665, 0.03703674301505089, 0.0403963141143322, 0.0154947554692626, -0.07496937364339828, 0.016604432836174965, -0.007671024184674025, -0.017500318586826324, 0.02109404280781746, 0.05297944322228432, 0.05407893657684326, 0.030704457312822342, -0.06368935108184814, -0.013743706047534943, -0.0795302465558052, -0.06226407736539841, 0.03133564814925194, 0.04406130313873291, 0.006999109406024218, 0.0024076937697827816, -0.017612304538488388, -0.0783085823059082, -0.012969986535608768, -0.0644630715250969, -0.0017408693674951792, 0.04797062277793884, -0.03212973102927208, 0.03200756385922432, -0.017408695071935654, 0.06702855974435806, -0.00636791717261076, 0.040681369602680206, -0.1196415051817894, -0.021745596081018448, -0.020829349756240845, -0.04206592217087746, 0.0007406330551020801, -0.02889232337474823, 0.041516173630952835, 0.044631414115428925, -0.048052068799734116, 0.0035199157427996397, 0.014334176667034626, -0.03939862549304962, -0.017805734649300575, 0.017194902524352074, -0.04035559296607971, 0.03805479407310486, 0.010903339833021164, 0.009208283387124538, 0.023455925285816193, -0.01034341100603342, -0.022315707057714462, 0.03675168752670288, 0.0397651232779026, -0.0480927899479866, 0.016818223521113396, 0.022885816171765327, 0.005675641354173422, 0.05534132197499275, -0.039948370307683945, 0.03724035248160362, -0.007385969161987305, 0.004425982479006052, -0.02571600116789341, 0.056685153394937515, 0.02059519849717617, 0.06124602630734444, 0.01738833263516426, 0.0030108897481113672, -0.02703946828842163, 0.02013707347214222, -0.0030108897481113672, -0.04890723153948784, 0.02121620997786522, -0.002548948395997286, 0.024555420503020287, 0.0610424168407917, -0.030317597091197968, -0.01569836586713791, 0.05159489065408707, -0.06295635551214218, -0.015179160051047802, 0.029421711340546608, -0.01534204836934805, 0.04569018632173538, -0.01016016211360693, 0.026937663555145264, -0.08926282823085785, 0.04292108491063118, 0.03907284885644913, 0.037627212703228, -0.006566437426954508, -0.03536713495850563, 0.02799643762409687, 0.013112513348460197, -0.02004544995725155, 0.01902739703655243, -0.009625684469938278, -0.002303343266248703, -0.019831659272313118, -0.04332830384373665, 0.053630996495485306, 0.020249059423804283, 0.07940807938575745, -0.030948789790272713, 0.02398531138896942, 0.05717381834983826, -0.02247859537601471, -0.05220572277903557, 0.03952078893780708, 0.02793535403907299, -0.005706183146685362, -0.02541058510541916, -0.019862201064825058, 0.031437456607818604, 0.08486483991146088, 0.02469794824719429, 0.007085644174367189, -0.003206864697858691, 0.11540640890598297, 0.0397651232779026, 0.05065828189253807, -0.013896414078772068, 0.009213373064994812, 0.03292381018400192, -0.02091079391539097, -0.03758649155497551, -0.014222190715372562, -0.003219590289518237, 0.06311924010515213, -0.04874434322118759, 0.05139128118753433, 0.0074725039303302765, -0.011514171026647091, 0.005304052494466305, -0.03316814452409744, -0.05473048985004425, 0.02852582558989525, -0.011147672310471535, -0.03062301315367222, -0.015087534673511982, 0.022437872365117073, -0.022498955950140953, 0.027304163202643394, 0.007803370710462332, 0.02028978243470192, 0.029767848551273346, -0.02500336430966854, 0.05762175843119621, -0.020462851971387863, -0.06287491321563721, -0.023130148649215698, 0.012684931978583336, -0.040966425091028214, 0.0022295345552265644, 0.007635392248630524, -0.008404022082686424, -0.08844838291406631, -0.04369480535387993, 0.0014379988424479961, 0.026102861389517784, 0.06849455833435059, 0.029808571562170982, 0.03831948712468147, -0.025675278156995773, 0.0005437035579234362 ]
44,126
gwcs.coordinate_frames
__init__
null
def __init__(self, frames, name=None): self._frames = frames[:] naxes = sum([frame._naxes for frame in self._frames]) axes_type = list(range(naxes)) unit = list(range(naxes)) axes_names = list(range(naxes)) axes_order = [] ph_type = list(range(naxes)) for frame in frames: axes_order.extend(frame.axes_order) for frame in frames: for ind, axtype, un, n, pht in zip(frame.axes_order, frame.axes_type, frame.unit, frame.axes_names, frame.axis_physical_types): axes_type[ind] = axtype axes_names[ind] = n unit[ind] = un ph_type[ind] = pht if len(np.unique(axes_order)) != len(axes_order): raise ValueError("Incorrect numbering of axes, " "axes_order should contain unique numbers, " "got {}.".format(axes_order)) super(CompositeFrame, self).__init__(naxes, axes_type=axes_type, axes_order=axes_order, unit=unit, axes_names=axes_names, name=name) self._axis_physical_types = tuple(ph_type)
(self, frames, name=None)
[ -0.04036108776926994, -0.051752448081970215, -0.038614168763160706, 0.023001087829470634, -0.0671471655368805, 0.001020172843709588, -0.01313827931880951, 0.03397391736507416, -0.03541148453950882, 0.039887964725494385, 0.0032822953071445227, 0.025657858699560165, 0.010945533402264118, 0.05815781280398369, -0.0010946671245619655, 0.0061005656607449055, 0.07053181529045105, 0.0034665404818952084, 0.009817315265536308, -0.05946800485253334, 0.00895750429481268, -0.0246388241648674, -0.030334504321217537, 0.0013795648701488972, 0.030352702364325523, 0.043309010565280914, -0.022000249475240707, -0.003810010151937604, -0.02471161261200905, -0.014475763775408268, -0.07089576125144958, 0.005777567625045776, 0.007583626080304384, -0.012182934209704399, 0.010772661305963993, -0.021836476400494576, -0.052735090255737305, -0.016422849148511887, -0.08399764448404312, 0.06707437336444855, 0.07693718373775482, -0.07533584535121918, 0.006409915629774332, -0.04036108776926994, 0.004913207143545151, 0.05732075124979019, -0.003791813040152192, 0.013493122532963753, -0.019598238170146942, -0.008802829310297966, -0.04159848764538765, -0.01845182292163372, 0.038504987955093384, 0.013693289831280708, -0.040979787707328796, 0.07428041100502014, 0.026767879724502563, 0.10452393442392349, -0.005463668145239353, 0.0005052528576925397, -0.047931063920259476, 0.028824148699641228, 0.02886054292321205, -0.047712698578834534, 0.024948174133896828, -0.019015930593013763, 0.023237649351358414, -0.009544359520077705, -0.026403939351439476, -0.014903394505381584, 0.012774338945746422, 0.027331989258527756, -0.04021551087498665, 0.013110984116792679, 0.014293793588876724, -0.01845182292163372, -0.021800082176923752, 0.08727311342954636, -0.0037372219376266003, -0.010545197874307632, -0.005832158960402012, 0.05120653659105301, -0.0006238180794753134, 0.011809893883764744, -0.0029911422170698643, 0.03180846571922302, -0.0023929139133542776, 0.05309903249144554, -0.004690293222665787, 0.010799957439303398, -0.020872032269835472, -0.04210800305008888, -0.0014682755572721362, 0.03481098264455795, -0.0066965194419026375, -0.029461044818162918, -0.03191765025258064, 0.0027977984864264727, 0.02134515531361103, -0.013156476430594921, -0.041343726217746735, -0.011373165063560009, -0.07256989181041718, -0.036758068948984146, -0.044801171869039536, 0.026058195158839226, -0.050587836652994156, -0.03279110789299011, -0.04520150646567345, -0.008620859123766422, 0.03966959938406944, 0.023637985810637474, 0.044000498950481415, 0.03390112891793251, 0.010254045017063618, -0.030789431184530258, -0.016259076073765755, 0.006177903153002262, -0.00037474578130058944, -0.012046456336975098, 0.019816601648926735, 0.05368133634328842, 0.027568550780415535, -0.0021779609378427267, 0.003446068847551942, 0.06299823522567749, 0.003075303742662072, -0.042326368391513824, -0.005627441685646772, -0.011455051600933075, 0.02957022748887539, -0.04123454540967941, 0.01426649745553732, 0.027004441246390343, 0.010545197874307632, -0.04702121019363403, 0.03015253320336342, 0.003966959659010172, -0.10597969591617584, 0.015285532921552658, -0.0005976597894914448, 0.025712450966238976, 0.06540024280548096, 0.042617522180080414, -0.04199882224202156, 0.0632529929280281, 0.015913331881165504, -0.057830266654491425, -0.033173248171806335, -0.0038327565416693687, -0.052917059510946274, 0.006792054045945406, -0.04640251025557518, -0.020635470747947693, 0.021381549537181854, -0.061069343239068985, -0.0009553458075970411, -0.02731379307806492, 0.015867838636040688, 0.050478652119636536, -0.03581181913614273, 0.0037667921278625727, -0.034101296216249466, -0.04673006013035774, -0.02886054292321205, 0.011182095855474472, -0.025967208668589592, -0.09695395082235336, -0.021417943760752678, 0.023292241618037224, 0.03164469450712204, -0.019234295934438705, 0.023929137736558914, 0.00013996100460644811, -0.06587336957454681, -0.031444527208805084, -0.009057587943971157, 0.02105400152504444, -0.01874297484755516, -0.016795890405774117, 0.0077064563520252705, -0.00655094301328063, -0.045492660254240036, -0.02139974571764469, -0.0038486788980662823, 0.024857189506292343, 0.015512996353209019, 0.03581181913614273, 0.08232351392507553, 0.014539453200995922, -0.009726330637931824, 0.023092074319720268, -0.0000036518520118988818, -0.017159830778837204, 0.007601823192089796, -0.029006119817495346, 0.001500120386481285, 0.010454213246703148, 0.03963320329785347, 0.03191765025258064, -0.04647529870271683, 0.03371915966272354, 0.05779387429356575, -0.013957147486507893, -0.00003175600795657374, 0.021654505282640457, 0.0007449422846548259, 0.004808573983609676, -0.008639056235551834, -0.009325995109975338, 0.03926926106214523, -0.04432804509997368, -0.008912011981010437, -0.03164469450712204, -0.023801758885383606, 0.05964997410774231, -0.06707437336444855, -0.060887373983860016, 0.0344652384519577, 0.03872334957122803, 0.07358892261981964, 0.07700997591018677, -0.05790305510163307, -0.02858758717775345, -0.03464720770716667, -0.00519526144489646, 0.03251815214753151, -0.0035984693095088005, -0.001332934945821762, 0.00946247298270464, -0.0556466206908226, -0.00014714032295159996, -0.06026867404580116, -0.04061584547162056, -0.01791500858962536, 0.01130947470664978, 0.03934204950928688, 0.00837519858032465, -0.076136514544487, -0.03066205233335495, 0.033355217427015305, -0.005604695528745651, -0.004990544635802507, -0.01081815455108881, 0.04250834137201309, -0.08487110584974289, 0.02134515531361103, 0.03604838252067566, -0.08865609019994736, 0.006655575707554817, -0.03186305984854698, 0.022837314754724503, -0.040579453110694885, 0.006682871375232935, 0.013784275390207767, -0.04967798292636871, -0.0916404128074646, -0.0696219652891159, 0.029643015936017036, -0.04309064522385597, 0.024274881929159164, -0.035957396030426025, 0.028569389134645462, 0.05550104379653931, -0.01600431650876999, 0.013065491802990437, 0.008034003898501396, -0.00047255499521270394, -0.03814104571938515, -0.010072074830532074, 0.04691202938556671, -0.010790858417749405, -0.002492997795343399, 0.028569389134645462, -0.009162221103906631, -0.01967102475464344, 0.028132660314440727, -0.05095177888870239, 0.0037736159283667803, 0.021781884133815765, 0.07519026845693588, -0.01627727411687374, -0.018169768154621124, -0.004349098075181246, 0.060669008642435074, -0.013620502315461636, -0.029060710221529007, -0.03299127519130707, -0.023237649351358414, -0.021163184195756912, 0.007529035210609436, 0.04993274062871933, 0.016468342393636703, 0.015321927145123482, -0.007811089511960745, 0.00040516897570341825, -0.045856598764657974, 0.025621464475989342, -0.009307797998189926, 0.005004192236810923, -0.008302410133183002, 0.014821507968008518, 0.0833425521850586, 0.019015930593013763, -0.012037357315421104, -0.09542539715766907, -0.042726702988147736, 0.034283269196748734, 0.025949012488126755, 0.017514673992991447, 0.05957718566060066, 0.08865609019994736, 0.0018583751516416669, 0.0029797691386193037, -0.007974863052368164, 0.05721156671643257, 0.0437457412481308, -0.07256989181041718, 0.003964685369282961, 0.05015110597014427, 0.04050666466355324, -0.06343496590852737, -0.04036108776926994, -0.04108896851539612, 0.00946247298270464, 0.017796728760004044, 0.03279110789299011, -0.0656186118721962, -0.01823345758020878, -0.010836351662874222, -0.05073341354727745, -0.0038736998103559017, 0.010581592097878456, 0.0019732441287487745, 0.011100208386778831, -0.058812908828258514, -0.02840561605989933, 0.03981517627835274, 0.03273651748895645, -0.02500276453793049, 0.012710648588836193, -0.01630456931889057, -0.03573903068900108, -0.018096979707479477, 0.013520417734980583, -0.030516475439071655, -0.001116276136599481, 0.010881843976676464, 0.041744064539670944, -0.019179705530405045, -0.006023228168487549, -0.02036251313984394, -0.019762011244893074, -0.0027409326285123825, 0.008875617757439613, 0.05393609404563904, -0.04833139851689339, 0.00043473922414705157, -0.002483899239450693, -0.006923982407897711, 0.12359445542097092, 0.02915169484913349, -0.028150856494903564, -0.01828804798424244, -0.06467236578464508, 0.003926016390323639, 0.006400817073881626, -0.004173951223492622, -0.07999429106712341, -0.024857189506292343, -0.00037247114232741296, 0.0011441403767094016, 0.013211067765951157, 0.007315219379961491, -0.02724100463092327, 0.013493122532963753, 0.02627655863761902, 0.005026938859373331, -0.002282594097778201, -0.0942607894539833, 0.028605783358216286, -0.005904946941882372, -0.02158171683549881, -0.03484737500548363, -0.018306246027350426, -0.013756980188190937, -0.008871068246662617, 0.022000249475240707, 0.00991739984601736, 0.02887873910367489, 0.004931404255330563, -0.0239473357796669, -0.030825825408101082, -0.04421886429190636, -0.060596220195293427, -0.00495869992300868, 0.043818529695272446, 0.06438121199607849, -0.018115175887942314, -0.0577210858464241, -0.013502220623195171, -0.03195404261350632, -0.002436131937429309, 0.02216402254998684, -0.009935596957802773, 0.020380711182951927, 0.06678321957588196, 0.02593081444501877, 0.008152284659445286, 0.02134515531361103, 0.06449039280414581, 0.05240754410624504, -0.0010525863617658615, 0.014130019582808018, -0.009598950855433941, 0.022527964785695076, -0.017978698015213013, -0.08152284473180771, 0.01627727411687374, -0.006187001708894968, -0.0451287180185318, 0.07511747628450394, 0.009589852765202522, 0.030334504321217537, 0.010918238200247288, 0.04884091764688492, -0.04662087559700012, -0.003860051976516843, 0.010708971880376339, -0.016677608713507652, -0.07377089560031891, -0.00893475767225027, -0.03299127519130707, -0.02673148550093174, 0.014830606989562511, -0.02500276453793049, -0.012173835188150406, -0.0071423472836613655, -0.04796746000647545, 0.0508062019944191, 0.028569389134645462, -0.04967798292636871, 0.02673148550093174, 0.028241842985153198, -0.05699320137500763, -0.03726758435368538, -0.040470268577337265, 0.027059033513069153, -0.03886892646551132, -0.00408751517534256, 0.034046705812215805, 0.08836493641138077, -0.007315219379961491, -0.06794783473014832, 0.022600753232836723, 0.004444632679224014, -0.02163630910217762, 0.023965531960129738, 0.016768593341112137, -0.0012783437268808484, -0.04436444118618965, 0.008475282229483128, 0.009689936414361, -0.05255311727523804, -0.029533833265304565, 0.0712960958480835, 0.07147806137800217, -0.07005869597196579, 0.0034028508234769106, 0.015212745405733585, 0.018197063356637955, 0.0422171875834465, 0.02336503006517887, -0.02174548991024494, -0.04309064522385597, -0.01802419126033783, 0.0003087814257014543, -0.01310188602656126, -0.030006958171725273, -0.019234295934438705, -0.03442884236574173, -0.012273918837308884, -0.0016616194043308496, -0.01595882512629032, -0.011955470778048038, 0.04269031062722206, 0.003744045738130808, -0.02105400152504444, 0.025676056742668152, 0.009753625839948654, -0.015494799241423607, -0.012182934209704399, -0.02973400242626667, 0.037340372800827026, -0.004926854744553566, 0.04345458745956421, 0.04319982975721359, 0.009744527749717236, -0.02702263928949833, -0.03264553099870682, -0.013966246508061886, -0.02585802786052227, 0.007629118859767914, -0.030698446556925774, -0.01174620445817709, -0.04207161068916321, 0.04192603379487991, -0.052625905722379684, 0.005745722912251949, -0.028442010283470154, -0.014657734893262386, -0.062161169946193695, -0.010072074830532074, -0.029406454414129257, 0.016532031819224358, -0.0006022090674377978, -0.043818529695272446, -0.012446790933609009, -0.008570817299187183, 0.050078317523002625, 0.05670205131173134, -0.0478946715593338, 0.04178045690059662, 0.050478652119636536, -0.03655790165066719, 0.01061798632144928, 0.016422849148511887, 0.026513122022151947, 0.026531318202614784, -0.022709935903549194, 0.007497190032154322, -0.019288886338472366, -0.0613241046667099, 0.03215420991182327, -0.0013590931193903089, 0.043418195098638535, -0.023801758885383606, 0.01241039764136076, 0.015749558806419373, 0.036940038204193115, -0.007952116429805756, 0.037522345781326294, 0.06532745808362961, -0.0039715091697871685, -0.03084402158856392, -0.07173282653093338, 0.008420690894126892, -0.009257756173610687, 0.08254188299179077, 0.01802419126033783, 0.03652150556445122, -0.007847483269870281, -0.011045617051422596, -0.02551228366792202, 0.03901450335979462, -0.012446790933609009, 0.04560184106230736, -0.012401298619806767, -0.024274881929159164, 0.006974024698138237, 0.03912368789315224, 0.058630939573049545, 0.06110573932528496, -0.049095675349235535, 0.012237525545060635, -0.01414821669459343, -0.010445114225149155, 0.006214297376573086, -0.010363227687776089, 0.011445952579379082, -0.011837190017104149, 0.012374003417789936, 0.020762849599123, 0.010017483495175838, 0.038759745657444, -0.027841506525874138, 0.022309599444270134, 0.06263428926467896, -0.052625905722379684, -0.038323014974594116, 0.026294756680727005, -0.0186883844435215, -0.055464647710323334, -0.03162649646401405, 0.004258112981915474, 0.01669580489397049, -0.0014569023624062538, 0.019179705530405045, 0.042326368391513824, -0.03956041485071182, -0.008070397190749645, 0.012073751538991928, 0.037631526589393616, 0.036994628608226776, 0.024456853047013283, 0.03781349956989288, -0.03240897133946419, -0.06212477385997772, -0.02110859379172325, 0.019707418978214264, 0.01691417023539543, 0.0010724894236773252, 0.00946247298270464, 0.019252493977546692, -0.0026704189367592335, -0.06681961566209793, 0.015085365623235703, 0.008993898518383503, -0.0016729924827814102, 0.011464149691164494, 0.08137726783752441, 0.06030506640672684, -0.013538614846765995, -0.040652237832546234, 0.02221861481666565, -0.06248871609568596, -0.04494674503803253, 0.03373735398054123, 0.055391859263181686, 0.0075563304126262665, 0.0005851493333466351, -0.021417943760752678, -0.081668421626091, 0.03652150556445122, -0.06605534255504608, -0.028733162209391594, 0.025839829817414284, -0.038213834166526794, 0.006227944977581501, 0.01948905549943447, 0.10197634249925613, 0.005918595008552074, -0.014848804101347923, -0.0696219652891159, -0.02349240891635418, -0.013702388852834702, 0.005832158960402012, -0.004476477392017841, 0.03679446130990982, 0.08669081330299377, 0.050587836652994156, -0.04884091764688492, 0.02957022748887539, -0.009175869636237621, -0.013329348526895046, -0.02261894941329956, -0.02181827835738659, -0.05349936708807945, 0.03755873814225197, -0.02412930689752102, 0.012583269737660885, 0.03209961950778961, 0.02633115090429783, -0.034556224942207336, 0.015467504039406776, 0.019762011244893074, -0.038395803421735764, 0.024620626121759415, 0.019925784319639206, 0.013665994629263878, 0.018096979707479477, -0.032663729041814804, 0.07504469156265259, 0.02678607776761055, 0.034283269196748734, 0.014384778216481209, 0.04658448323607445, -0.035720836371183395, -0.0024293079040944576, 0.04356376826763153, -0.021090395748615265, -0.01733270287513733, 0.002706813160330057, 0.012819831259548664, -0.01616809144616127, 0.06081458553671837, 0.0019539096392691135, -0.016586624085903168, 0.06791143864393234, -0.016095302999019623, -0.03905089944601059, 0.03905089944601059, -0.021490732207894325, -0.06401726603507996, 0.024693414568901062, 0.01685957983136177, 0.02500276453793049, 0.013329348526895046, 0.0016036161687225103, -0.09629885852336884, 0.019816601648926735, 0.056483685970306396, 0.021836476400494576, 0.013120083138346672, -0.06550943106412888, 0.05542825534939766, 0.024274881929159164, -0.07315219193696976, -0.003129894845187664, 0.034974757581949234, -0.0012226152466610074, 0.027805112302303314, -0.05611974373459816, 0.03865056112408638, -0.00016903366486076266, 0.0508062019944191, 0.013292955234646797, 0.054991524666547775, 0.015449306927621365, -0.04778548702597618, -0.05004192516207695, 0.06678321957588196, 0.04385492205619812, -0.00797941256314516, -0.009871906600892544, 0.004694842267781496, 0.04967798292636871, 0.07453516870737076, 0.008488929830491543, 0.0038327565416693687, 0.01061798632144928, 0.10095730423927307, 0.02412930689752102, 0.03255454823374748, 0.007579077035188675, -0.012947211042046547, 0.03066205233335495, -0.009881005622446537, -0.01003568060696125, -0.047821883112192154, 0.03442884236574173, 0.06510909646749496, -0.005777567625045776, 0.05248033255338669, -0.018761172890663147, -0.029024315997958183, 0.06958556920289993, -0.011546037159860134, -0.017023352906107903, 0.010363227687776089, 0.02500276453793049, -0.02296469360589981, 0.003375555155798793, 0.020762849599123, -0.029024315997958183, 0.019252493977546692, -0.021381549537181854, 0.001411409699358046, 0.034046705812215805, 0.05415445938706398, 0.006760208867490292, -0.01059069111943245, -0.03615756332874298, 0.018815763294696808, -0.028769556432962418, -0.06110573932528496, -0.014339285902678967, 0.025676056742668152, -0.008457085117697716, -0.05935882031917572, -0.03901450335979462, -0.008607210591435432, 0.014430271461606026, 0.051352113485336304, 0.01948905549943447, 0.04472838342189789, 0.023801758885383606, -0.004383217543363571 ]
44,127
gwcs.coordinate_frames
__repr__
null
def __repr__(self): return repr(self.frames)
(self)
[ 0.009010088630020618, -0.03977884352207184, -0.03722092881798744, 0.023857468739151955, -0.02326717972755432, -0.0022545717656612396, -0.03094092383980751, 0.056142937391996384, 0.0036052651703357697, 0.010534998960793018, -0.026759717613458633, -0.032842960208654404, 0.01222387794405222, 0.059586282819509506, -0.017528271302580833, 0.019233547151088715, 0.03567962348461151, -0.0637182965874672, 0.011723773553967476, 0.023660706356167793, -0.01230586227029562, 0.03420390188694, 0.004738700110465288, -0.015462263487279415, -0.016036154702305794, 0.034597430378198624, -0.017692239955067635, -0.03420390188694, -0.015142523683607578, 0.03810636326670647, -0.08244354277849197, -0.0555526502430439, -0.00040428570355288684, -0.04020516201853752, -0.01219108421355486, 0.03085893951356411, -0.07850828766822815, -0.02444775588810444, -0.08290265500545502, -0.03092452697455883, 0.007202331908047199, -0.05260121077299118, -0.019463103264570236, -0.014175107702612877, 0.016634641215205193, -0.008854318410158157, 0.053257085382938385, -0.0021172477863729, 0.01710195094347, -0.07883622497320175, 0.05381457880139351, 0.03590917959809303, -0.012920745648443699, 0.019102372229099274, -0.032842960208654404, 0.051519013941287994, 0.03571241721510887, 0.020430520176887512, 0.022234177216887474, 0.017790621146559715, -0.03217069059610367, 0.024218199774622917, 0.06906367838382721, -0.029907919466495514, 0.027251623570919037, -0.00693998159840703, -0.02466091513633728, 0.02926843985915184, -0.02454613707959652, -0.002525120275095105, 0.0116007961332798, -0.004804287571460009, -0.034597430378198624, 0.04276307672262192, -0.0496169775724411, -0.050371233373880386, -0.044074829667806625, 0.03282656520605087, -0.0046157231554389, -0.056306906044483185, 0.010321839712560177, 0.05191253870725632, 0.003117457963526249, 0.022234177216887474, 0.024988854303956032, -0.0550607405602932, 0.005300293210893869, -0.0024677312467247248, -0.09464282542467117, 0.02338195964694023, -0.02144712582230568, 0.007354003377258778, -0.026808908209204674, 0.038007982075214386, -0.0553886778652668, -0.03859826922416687, -0.03377758339047432, -0.04430438578128815, 0.017725033685564995, -0.05122387036681175, 0.0016601847019046545, 0.012158290483057499, -0.07850828766822815, -0.013166699558496475, -0.059487901628017426, 0.029809538275003433, -0.03264619782567024, -0.020496107637882233, -0.005193713586777449, 0.03079335205256939, 0.026776114478707314, 0.0550607405602932, 0.005119927693158388, 0.0059397718869149685, 0.06335756927728653, -0.030219459906220436, -0.0079647870734334, 0.006066847592592239, 0.045583341270685196, -0.00998570304363966, 0.007755727041512728, 0.02641538344323635, 0.0033716096077114344, -0.03223627805709839, -0.022873654961586, 0.056339699774980545, -0.0031789462082087994, 0.007710635662078857, 0.011977924965322018, -0.07942651212215424, 0.029743950814008713, -0.00851818174123764, -0.047026269137859344, 0.06375109404325485, 0.0462392158806324, -0.019987802952528, 0.040762659162282944, -0.019561484456062317, 0.004767394624650478, 0.04020516201853752, -0.0229556392878294, 0.0043943654745817184, 0.06158670410513878, 0.05670043081045151, -0.031580403447151184, 0.011395835317671299, 0.037450484931468964, 0.05122387036681175, -0.005132225342094898, -0.0013599166413769126, 0.018741639330983162, 0.007698338013142347, 0.010280847549438477, -0.033285677433013916, 0.011772964149713516, -0.004824783653020859, 0.011690979823470116, 0.014822784811258316, 0.021955430507659912, -0.013527430593967438, -0.05260121077299118, -0.01984023116528988, -0.03954928740859032, -0.04151691496372223, -0.0035765706561505795, 0.037712838500738144, 0.028464993461966515, 0.017429890111088753, -0.02459532767534256, 0.031793560832738876, 0.0027956690173596144, -0.028464993461966515, -0.04338615760207176, 0.043812479823827744, 0.02013537473976612, 0.02915366180241108, -0.03813915699720383, 0.09136344492435455, -0.02762875147163868, 0.014183306135237217, 0.008878913708031178, -0.034990955144166946, -0.06722722947597504, -0.01880722865462303, 0.047091856598854065, -0.02798948436975479, 0.01070716604590416, 0.011059699580073357, 0.03836871311068535, 0.00247797928750515, 0.03266259655356407, 0.030137475579977036, -0.01851208321750164, -0.01987302489578724, -0.0006097591831348836, -0.04118897765874863, -0.01226487010717392, -0.027366401627659798, 0.03813915699720383, 0.004129965789616108, -0.020561695098876953, 0.00017805992683861405, -0.030481809750199318, -0.038073569536209106, 0.005255201831459999, 0.014994951896369457, -0.012543617747724056, -0.00033126832568086684, 0.015437668189406395, -0.018184145912528038, -0.015691818669438362, -0.027399195358157158, 0.05260121077299118, -0.07227747142314911, 0.050305645912885666, -0.014404663816094398, -0.10054570436477661, -0.002924794564023614, -0.026562955230474472, 0.009805337525904179, 0.036368291825056076, 0.0016755567630752921, -0.08198443055152893, -0.048567574471235275, -0.09431488811969757, 0.011658186092972755, 0.028760137036442757, 0.019266340881586075, -0.03686019778251648, -0.024103421717882156, 0.006833401974290609, -0.00021892404765821993, -0.05204371362924576, 0.0002628625661600381, 0.00033152452670037746, 0.09483958780765533, 0.008333717472851276, 0.006439876742660999, -0.028514184057712555, -0.031350843608379364, -0.00420580105856061, 0.029645569622516632, 0.03843430057168007, -0.0024554335977882147, 0.06762075424194336, -0.03558124229311943, 0.04745258763432503, 0.03715534135699272, -0.054667215794324875, 0.04174647107720375, 0.0260054599493742, -0.03853268176317215, -0.05561823770403862, -0.003080564783886075, 0.017249522730708122, -0.05384737253189087, -0.03423669561743736, -0.0275303702801466, 0.03836871311068535, 0.02033213898539543, 0.012100901454687119, -0.03886061906814575, 0.014183306135237217, 0.03663064166903496, 0.02131595090031624, 0.09064198285341263, -0.034499045461416245, -0.00837060995399952, -0.03249862790107727, 0.013543827459216118, 0.06860456615686417, -0.03892620652914047, -0.07509773969650269, 0.025546347722411156, -0.037450484931468964, -0.029989903792738914, -0.0025866087526082993, -0.03220348432660103, -0.01231406070291996, -0.05083034560084343, 0.064702108502388, -0.04322218894958496, -0.025070838630199432, -0.00992831401526928, 0.031678784638643265, -0.00498465308919549, 0.011035104282200336, 0.062406547367572784, 0.029776744544506073, -0.02184065245091915, 0.050371233373880386, 0.057717036455869675, 0.000242878872086294, -0.021233966574072838, 0.06516122072935104, 0.00614473270252347, 0.0006948180380277336, 0.04801008105278015, -0.011928734369575977, 0.08933023363351822, 0.00025825094780884683, -0.045452166348695755, 0.01311750803142786, 0.07076895982027054, -0.05230606347322464, 0.01005948893725872, -0.0018466992769390345, 0.05440486595034599, 0.027218829840421677, -0.03515492379665375, 0.04191043972969055, 0.051617395132780075, 0.025283997878432274, 0.03430228307843208, 0.01382257416844368, 0.03413831442594528, -0.005263400264084339, 0.02000419981777668, 0.013158501125872135, 0.0934622511267662, 0.014699808321893215, -0.00843619741499424, 0.00154130719602108, 0.04627200961112976, 0.07149042189121246, -0.025775903835892677, -0.0011979974806308746, 0.01715114153921604, 0.00925604160875082, -0.02034853585064411, -0.02938321977853775, -0.046927887946367264, 0.005542147438973188, 0.008960898034274578, 0.02172587253153324, 0.020660076290369034, -0.03971325606107712, 0.04181205853819847, -0.018003780394792557, -0.04010678082704544, 0.03413831442594528, -0.004828882869333029, -0.028153453022241592, -0.005218308884650469, 0.0396476686000824, 0.012059909291565418, -0.00841980054974556, 0.04266469553112984, 0.04935462400317192, 0.0116007961332798, -0.034695811569690704, 0.00914126355201006, 0.028710946440696716, 0.05427369102835655, -0.030285047367215157, 0.0099529093131423, -0.013568422757089138, 0.010297244414687157, -0.010231656953692436, 0.04830522462725639, 0.06971956044435501, 0.0215127132833004, -0.023939453065395355, -0.011207271367311478, -0.00006763715646229684, -0.013478239998221397, -0.005181415937840939, -0.014642419293522835, 0.0036647040396928787, 0.006673532538115978, -0.051617395132780075, 0.02805507183074951, -0.050076089799404144, -0.027038464322686195, -0.031678784638643265, 0.034466251730918884, 0.0007378598675131798, 0.024136215448379517, -0.00134659418836236, -0.07955768704414368, 0.02917005866765976, 0.008329617790877819, -0.019200753420591354, 0.011207271367311478, 0.032924946397542953, 0.014421060681343079, -0.016134535893797874, -0.009780742228031158, -0.00006629209383390844, -0.002699337201192975, -0.029711157083511353, -0.02029934525489807, -0.05745468661189079, -0.018118558451533318, -0.05407692864537239, -0.056241318583488464, 0.034990955144166946, 0.04374689236283302, -0.018544876947999, -0.026595748960971832, 0.02177506498992443, 0.008600166067481041, -0.06952279806137085, -0.01161719299852848, -0.004886271897703409, 0.025267601013183594, 0.030481809750199318, 0.0525028258562088, -0.013150302693247795, -0.04669833183288574, 0.029907919466495514, -0.021955430507659912, -0.09818454831838608, -0.05388016626238823, 0.042467933148145676, -0.010928524658083916, -0.03413831442594528, -0.022496527060866356, 0.003076465567573905, 0.0430254265666008, -0.04732141271233559, 0.0587664395570755, 0.018184145912528038, 0.042500726878643036, 0.0004977991920895875, 0.0007347854552790523, -0.0430254265666008, 0.022496527060866356, 0.05522470921278, 0.0550607405602932, -0.045452166348695755, -0.0122812669724226, -0.0004283686284907162, -0.028104262426495552, 0.03836871311068535, -0.04505864158272743, -0.00726382015272975, -0.04459952935576439, -0.028874915093183517, 0.11661464720964432, 0.05430648475885391, -0.012150092050433159, 0.02936682291328907, 0.024250993505120277, 0.0187088456004858, -0.01984023116528988, -0.06345594674348831, -0.015109729953110218, 0.04194323346018791, 0.014683411456644535, -0.040861040353775024, 0.024234596639871597, 0.004041832406073809, -0.07627831399440765, 0.03558124229311943, -0.01387176476418972, -0.025267601013183594, 0.0170199666172266, -0.019249944016337395, -0.05706116184592247, -0.02621861919760704, 0.01451124344021082, -0.02598906308412552, -0.015199912711977959, -0.014904769137501717, 0.01687239482998848, 0.0642102062702179, -0.00268908916041255, -0.06637459248304367, 0.00309491204097867, 0.02953079156577587, 0.025054441764950752, -0.023988643661141396, -0.07234305888414383, 0.026874495670199394, 0.037844013422727585, -0.04925624281167984, 0.0063332971185445786, -0.017610255628824234, -0.04433717951178551, -0.0995618924498558, -0.0928063690662384, -0.01233045756816864, 0.008009878918528557, -0.030399825423955917, 0.030039094388484955, -0.024169009178876877, 0.007899199612438679, 0.028104262426495552, -0.01374058984220028, -0.007833612151443958, 0.004914966411888599, -0.09051080793142319, -0.036302704364061356, -0.040959421545267105, 0.033006928861141205, 0.01073995977640152, -0.022021017968654633, -0.06158670410513878, -0.013265080749988556, 0.0031830454245209694, -0.009829932823777199, 0.010543197393417358, -0.0338759645819664, -0.007604055572301149, -0.01843009889125824, 0.0828370675444603, -0.03103930503129959, -0.0091494619846344, -0.007140843663364649, 0.03092452697455883, -0.013912757858633995, 0.00462802080437541, -0.002935042604804039, -0.019528690725564957, -0.034794192761182785, -0.0065628532320261, 0.037483278661966324, 0.012674792669713497, 0.02156190387904644, 0.03205591067671776, -0.04430438578128815, 0.030399825423955917, 0.0057594059035182, -0.034990955144166946, 0.01710195094347, -0.015601636841893196, 0.044206004589796066, -0.029711157083511353, 0.03535168617963791, 0.042205583304166794, 0.011920535936951637, 0.013912757858633995, 0.016265710815787315, -0.00426319008693099, 0.0841488167643547, 0.014363671652972698, -0.03823753818869591, -0.0375816635787487, 0.04764935001730919, 0.025825094431638718, -0.06109479442238808, 0.00500514917075634, -0.03827033191919327, -0.03056379407644272, -0.049453005194664, -0.004488647449761629, 0.013379858806729317, 0.09431488811969757, -0.010616983287036419, 0.0145276403054595, -0.02444775588810444, 0.005882382858544588, -0.02284086123108864, 0.04033633694052696, 0.06493166834115982, 0.04991212114691734, 0.031236067414283752, 0.0037917797453701496, 0.004353373311460018, 0.019561484456062317, 0.025070838630199432, 0.02957998216152191, -0.0550607405602932, -0.02297203615307808, 0.028809327632188797, 0.011953329667448997, 0.07713095098733902, 0.00690718786790967, -0.02308681420981884, 0.021020807325839996, 0.02034853585064411, 0.04942021146416664, -0.02649736776947975, 0.008673952892422676, 0.01836451143026352, 0.025808697566390038, 0.07378598302602768, -0.0026214520912617445, -0.03849988803267479, 0.03590917959809303, 0.0070875538513064384, -0.009780742228031158, -0.022447336465120316, -0.040861040353775024, 0.027251623570919037, -0.044206004589796066, -0.01298633310943842, 0.020463313907384872, -0.023447547107934952, -0.015609835274517536, -0.011740170419216156, -0.024218199774622917, 0.02325078286230564, 0.066768117249012, -0.02152911014854908, 0.003047771053388715, 0.007882802747189999, -0.052338857203722, 0.03849988803267479, 0.05043682083487511, 0.009018287062644958, 0.039483699947595596, 0.013888162560760975, 0.0041176676750183105, -0.03581079840660095, 0.04771493747830391, 0.024037834256887436, -0.006591548211872578, 0.030383428558707237, -0.01235505286604166, 0.034794192761182785, 0.014847380109131336, -0.08834642171859741, -0.0036175628192722797, -0.030104681849479675, 0.007751627825200558, 0.0491250678896904, -0.0068497988395392895, 0.03590917959809303, 0.034367870539426804, 0.013150302693247795, -0.10192304104566574, 0.025579141452908516, 0.014019337482750416, -0.03551565483212471, 0.018840022385120392, -0.01695437915623188, 0.02639898657798767, -0.042238377034664154, 0.09044522047042847, 0.010616983287036419, -0.012510824017226696, -0.08375529199838638, -0.04204161465167999, -0.02493966370820999, -0.02307041734457016, 0.01155160553753376, -0.03567962348461151, 0.06670252978801727, 0.02318519540131092, -0.04164808988571167, -0.05889761447906494, -0.0430254265666008, -0.022037414833903313, -0.009436408057808876, -0.04741979390382767, -0.03508933633565903, 0.0036093643866479397, -0.028530580922961235, 0.00016038204194046557, -0.0033777584321796894, -0.0010068712290376425, 0.013486438430845737, -0.0108383409678936, 0.02780911885201931, 0.017626652494072914, 0.042271170765161514, -0.03133444860577583, 0.007407293189316988, -0.05260121077299118, -0.012125496752560139, -0.00654645636677742, -0.050207264721393585, 0.05584779381752014, 0.04145132750272751, 0.007505674380809069, 0.04650156572461128, 0.024283787235617638, -0.04676391929388046, -0.03840150684118271, 0.00008800515934126452, -0.04210720211267471, -0.01869244873523712, -0.025267601013183594, 0.03430228307843208, 0.00230786157771945, -0.0033695599995553493, 0.060898032039403915, -0.04312380775809288, -0.010953119955956936, 0.027300814166665077, -0.04204161465167999, -0.06020936369895935, 0.031777165830135345, 0.034958161413669586, 0.00727611780166626, 0.03731931000947952, 0.027366401627659798, -0.06030774489045143, -0.04732141271233559, -0.0020742060150951147, -0.002521021058782935, 0.041090596467256546, -0.005546246655285358, 0.034597430378198624, 0.04512422904372215, -0.09516752511262894, 0.027104051783680916, -0.021971827372908592, -0.010157871060073376, 0.02462812140583992, 0.009575781412422657, 0.00363805890083313, 0.05850408598780632, 0.031596798449754715, 0.053388260304927826, -0.0031625493429601192, -0.02946520410478115, -0.0017073256894946098, -0.00464031845331192, 0.08447675406932831, -0.039418112486600876, -0.00400698883458972, -0.023923056200146675, -0.015216309577226639, 0.010969516821205616, 0.027054861187934875, -0.012748578563332558, 0.05997980758547783, -0.0496169775724411, 0.06361991912126541, 0.025087235495448112, 0.03689299151301384, -0.03866385668516159, 0.05719233676791191, -0.02938321977853775, 0.0016161180101335049, -0.04371409863233566, -0.007325308863073587, -0.011658186092972755, 0.02908807434141636, -0.01451944187283516, 0.0077229333110153675, -0.01688879169523716, -0.0170199666172266, 0.01298633310943842, -0.03571241721510887, 0.04505864158272743, 0.006308701820671558, 0.03827033191919327, 0.001979924039915204, 0.020627282559871674, 0.0022873654961586, -0.0024185406509786844, -0.002350903581827879, -0.017249522730708122, 0.023955849930644035, 0.0009540937608107924, 0.0034044033382087946, 0.05975025147199631, 0.02761235460639, -0.039319731295108795, -0.006017656996846199, 0.0404675118625164, -0.014273488894104958, -0.017774224281311035, 0.02641538344323635, 0.01528189703822136, -0.02615303173661232, -0.07293334603309631, -0.0012246423866599798, 0.030317841097712517, 0.04801008105278015, -0.062439341098070145, 0.09044522047042847, -0.031186876818537712, -0.017593858763575554 ]
44,130
gwcs.coordinate_frames
coordinate_to_quantity
null
def coordinate_to_quantity(self, *coords): if len(coords) == len(self.frames): args = coords elif len(coords) == self.naxes: args = [] for _frame in self.frames: if _frame.naxes > 1: # Collect the arguments for this frame based on axes_order args.append([coords[i] for i in _frame.axes_order]) else: args.append(coords[_frame.axes_order[0]]) else: raise ValueError("Incorrect number of arguments") qs = [] for _frame, arg in zip(self.frames, args): ret = _frame.coordinate_to_quantity(arg) if isinstance(ret, tuple): qs += list(ret) else: qs.append(ret) return qs
(self, *coords)
[ -0.026276864111423492, -0.015462785959243774, -0.04296913370490074, 0.014717916026711464, 0.002267142292112112, -0.011953819543123245, -0.0036503123119473457, 0.04271785169839859, 0.03139223903417587, 0.01997687853872776, 0.015112786553800106, 0.022202514111995697, -0.02484096959233284, -0.006923702545464039, -0.00809036660939455, -0.006946138106286526, 0.055281925946474075, -0.046522971242666245, -0.009629465639591217, 0.017374319955706596, 0.01242048479616642, 0.04745630547404289, 0.036471713334321976, 0.008018571883440018, -0.007246778812259436, 0.018899958580732346, 0.05596397817134857, -0.015812784433364868, -0.01696150004863739, -0.009086518548429012, -0.03629222512245178, 0.03934350237250328, 0.010060233995318413, 0.0004618980165105313, -0.03173326328396797, 0.004105760250240564, -0.023135846480727196, 0.0018722714157775044, -0.006273062899708748, -0.04702553525567055, -0.03686658293008804, -0.043184518814086914, 0.08766134083271027, 0.001039901515468955, 0.020120467990636826, 0.01027561817318201, -0.03444351255893707, -0.01644996367394924, -0.05599987506866455, 0.006528831552714109, 0.07294342666864395, -0.06181524693965912, 0.0545639805495739, -0.007641649805009365, 0.03263069689273834, 0.0837126299738884, 0.028933268040418625, 0.09017416089773178, 0.016073040664196014, 0.021071746945381165, -0.0018588099628686905, 0.07638957351446152, -0.03272043913602829, -0.042538367211818695, 0.0029503139667212963, -0.07660495489835739, 0.001029244507662952, -0.02756916917860508, -0.025325585156679153, 0.027425579726696014, -0.02478712424635887, -0.014951248653233051, -0.012528177350759506, -0.013712789863348007, 0.03600504621863365, -0.008637800812721252, 0.005514731165021658, 0.06023576110601425, 0.010455104522407055, 0.023225588724017143, -0.037440940737724304, -0.04673835635185242, 0.024769175797700882, 0.018244830891489983, -0.01970764808356762, 0.06346652656793594, 0.011235872283577919, 0.08119981735944748, 0.003762491513043642, -0.02029995433986187, -0.037728119641542435, -0.035592228174209595, -0.04878450557589531, 0.010257669724524021, -0.025253789499402046, 0.008507673628628254, -0.04612810164690018, -0.03636402264237404, -0.034569151699543, 0.010858950205147266, -0.02424866333603859, -0.021143542602658272, -0.04907168447971344, -0.03275633603334427, -0.023710204288363457, 0.0026967888697981834, 0.0019249956822022796, -0.06917420774698257, 0.01911534182727337, 0.05090244859457016, 0.028610192239284515, 0.06231781095266342, 0.02275892347097397, -0.011083308607339859, -0.07588700950145721, -0.013246124610304832, -0.010499976575374603, -0.011648692190647125, -0.01852303557097912, 0.01015895139425993, -0.006430113688111305, 0.088451087474823, 0.05714859068393707, 0.04296913370490074, -0.030512752011418343, 0.058010127395391464, 0.00918523594737053, 0.02243584766983986, -0.003603197168558836, -0.0479588657617569, 0.0964202955365181, -0.059158843010663986, 0.01031151507049799, 0.04932296648621559, 0.030674289911985397, 0.01755380630493164, 0.013057663105428219, -0.06256908923387527, -0.025864044204354286, 0.007439726963639259, 0.04853322356939316, 0.033474285155534744, 0.06436395645141602, 0.043758876621723175, -0.038015298545360565, 0.029489677399396896, 0.03031531721353531, -0.012483305297791958, -0.08306647837162018, -0.03124864771962166, -0.0394870899617672, 0.05582038685679436, 0.012187152169644833, -0.030530700460076332, -0.017580730840563774, -0.025379430502653122, 0.017320474609732628, -0.024158921092748642, 0.06231781095266342, 0.006896779406815767, -0.016090989112854004, 0.004108003806322813, -0.03126659616827965, -0.00029222690500319004, -0.055246029049158096, -0.005519218277186155, -0.04077939689159393, -0.012061511166393757, -0.05538962036371231, -0.009441004134714603, 0.03578966483473778, 0.020999953150749207, 0.057363975793123245, -0.02028200589120388, -0.036794789135456085, -0.0357537679374218, -0.05470757186412811, -0.020443543791770935, -0.0002546468749642372, -0.015938425436615944, 0.014125609770417213, -0.06432805955410004, 0.013228175230324268, 0.012779458425939083, 0.027030708268284798, -0.0037714659702032804, -0.017338423058390617, -0.015983298420906067, 0.04357938840985298, -0.02638455666601658, -0.017356371507048607, 0.04487169533967972, -0.033456336706876755, 0.022166617214679718, -0.010894847102463245, 0.03180505707859993, -0.010078182443976402, 0.018576880916953087, -0.019025597721338272, 0.034407615661621094, -0.027317887172102928, -0.03266659379005432, 0.013676892966032028, 0.026133274659514427, -0.007201906759291887, 0.007152548059821129, -0.004864091519266367, -0.04207170009613037, -0.025181995704770088, -0.03534094616770744, 0.05908704921603203, -0.02509225159883499, -0.056789617985486984, -0.060451146215200424, -0.00941408146172762, 0.0959177315235138, 0.04332811012864113, 0.001258651027455926, 0.0593024305999279, -0.021987130865454674, 0.10194849222898483, 0.008687159977853298, 0.005200629588216543, -0.005698705092072487, -0.026474300771951675, -0.008723057806491852, 0.06518959999084473, 0.03367171809077263, -0.01707816682755947, 0.05215885862708092, -0.04207170009613037, -0.0022794820833951235, 0.023405075073242188, 0.02358456328511238, -0.006784600205719471, -0.0033855694346129894, -0.0005732359131798148, -0.029130704700946808, 0.0011060872348025441, 0.0063897292129695415, -0.03394094854593277, 0.010347412899136543, 0.013587148860096931, 0.029740959405899048, 0.02667173556983471, -0.042574264109134674, 0.043435800820589066, 0.016665346920490265, -0.04810245707631111, 0.042215291410684586, 0.013282021507620811, 0.04742040857672691, 0.0034035181161016226, -0.033797360956668854, -0.005644859280437231, -0.009952541440725327, 0.025487123057246208, -0.027981989085674286, 0.006923702545464039, -0.01451150607317686, 0.03937939926981926, -0.03884093835949898, 0.021717900410294533, -0.02148456685245037, 0.003161210799589753, 0.02004867233335972, 0.021305080503225327, -0.008081392385065556, -0.04749220237135887, 0.07423572987318039, -0.02817942388355732, -0.001940700807608664, 0.011262794956564903, 0.03674094378948212, 0.011002539657056332, -0.02484096959233284, 0.03991786018013954, 0.010212797671556473, -0.041928112506866455, 0.0020842901431024075, 0.023225588724017143, 0.034964025020599365, -0.010778181254863739, -0.02573840320110321, 0.0030580060556530952, -0.016799962148070335, 0.04365118592977524, 0.013739712536334991, -0.013623046688735485, -0.007834597490727901, 0.00004311889279051684, 0.06867164373397827, 0.0006971939583308995, -0.03394094854593277, -0.013299969956278801, -0.04149734228849411, -0.04637938365340233, 0.021861489862203598, 0.07183060795068741, 0.07954853773117065, -0.004211208317428827, 0.02782045118510723, -0.022902512922883034, -0.0303332656621933, 0.0018341304967179894, -0.02484096959233284, 0.020353801548480988, 0.00849869940429926, -0.059553712606430054, 0.00956664513796568, 0.025020457804203033, 0.04016914218664169, -0.019510213285684586, -0.07064599543809891, -0.0049987067468464375, 0.05147680640220642, -0.01286022737622261, -0.007699982728809118, 0.04357938840985298, 0.051297321915626526, 0.04734861105680466, -0.012932022102177143, 0.002941339509561658, 0.029238395392894745, -0.046522971242666245, 0.08888185024261475, -0.08364083617925644, -0.01799354888498783, 0.050363991409540176, -0.06648190319538116, -0.003975632134824991, 0.02570250630378723, -0.016055092215538025, -0.0015570478281006217, 0.053451161831617355, -0.028340961784124374, -0.012851253151893616, 0.039199911057949066, 0.02573840320110321, 0.0007112163584679365, -0.02209482155740261, -0.05065117031335831, -0.0647229328751564, 0.052266549319028854, -0.04821014776825905, -0.01364996936172247, 0.01439483929425478, -0.047097329050302505, 0.05485115945339203, -0.020946107804775238, -0.07233317196369171, -0.027981989085674286, -0.02333328127861023, -0.03474863991141319, -0.02178969420492649, 0.06971266120672226, -0.005712166894227266, -0.06170755624771118, -0.030046086758375168, 0.0008116167737171054, 0.0357537679374218, -0.041066575795412064, 0.04544605314731598, -0.025792250409722328, -0.006412165239453316, -0.030405059456825256, 0.05442039296030998, -0.06019986420869827, -0.0046621691435575485, 0.05668192356824875, 0.02453584223985672, 0.02817942388355732, -0.03451530635356903, 0.04670245945453644, -0.08385622501373291, 0.08579467982053757, 0.02749737538397312, 0.006448062602430582, -0.03180505707859993, -0.10460489243268967, -0.042574264109134674, -0.07168702036142349, 0.02448199689388275, -0.008009597659111023, 0.026420453563332558, 0.022848667576909065, 0.005021142773330212, -0.03632812574505806, -0.03945119306445122, 0.0032150568440556526, 0.02572045475244522, -0.023117896169424057, -0.0056628077290952206, -0.04325631260871887, -0.040707603096961975, -0.06583575159311295, 0.050435785204172134, 0.04813835397362709, -0.02089226059615612, 0.001738778199069202, -0.043148621916770935, -0.060989607125520706, -0.004318900406360626, 0.013623046688735485, -0.03415633365511894, -0.025038406252861023, -0.012923047877848148, 0.005788448732346296, -0.004520823247730732, -0.006546780467033386, 0.03544864058494568, 0.01031151507049799, 0.04207170009613037, 0.028053782880306244, -0.028305064886808395, 0.007013445720076561, -0.04117426648736, -0.05553320795297623, 0.005806397181004286, 0.027964040637016296, 0.00016756773402448744, 0.035322997719049454, 0.010194849222898483, 0.02178969420492649, 0.04691784456372261, 0.0017398999771103263, -0.03815888985991478, -0.030117880553007126, 0.020515339449048042, 0.056753721088171005, -0.06375370174646378, -0.0418563149869442, -0.019169187173247337, -0.032846082001924515, 0.02302815392613411, 0.019761493429541588, 0.018101241439580917, 0.05004091560840607, -0.03819478675723076, 0.03751273825764656, 0.017123037949204445, 0.015399965457618237, 0.00971920881420374, 0.0165217574685812, -0.012851253151893616, -0.06985625624656677, -0.009593568742275238, -0.00704485597088933, -0.034712743014097214, 0.010060233995318413, -0.007403829600661993, 0.045553743839263916, 0.03289992734789848, -0.08306647837162018, 0.023781998082995415, 0.012061511166393757, -0.00822498183697462, -0.044692207127809525, -0.013165355660021305, -0.019869185984134674, 0.05499475076794624, -0.06457934528589249, 0.03182300552725792, -0.05115373060107231, -0.00704485597088933, 0.02336917817592621, -0.03959478437900543, -0.02417686954140663, 0.0018980726599693298, -0.010571771301329136, 0.062281910330057144, 0.04720502346754074, 0.009997413493692875, -0.025666609406471252, -0.006802549120038748, 0.01181023009121418, 0.02150251530110836, 0.015184581279754639, 0.02245379611849785, -0.036435816437006, -0.031338389962911606, -0.05937422811985016, 0.03898452967405319, 0.03184095397591591, -0.00710318936035037, 0.05050757899880409, -0.00249710981734097, -0.06518959999084473, 0.034371718764305115, 0.046810150146484375, -0.022651230916380882, 0.03866145387291908, 0.056753721088171005, -0.005182680673897266, 0.029166601598262787, 0.0174550898373127, 0.044117849320173264, -0.0479588657617569, -0.08191776275634766, 0.051333218812942505, 0.01799354888498783, 0.03844606876373291, 0.06615882366895676, 0.016001246869564056, -0.002663135062903166, -0.03333069384098053, 0.025325585156679153, 0.019905082881450653, -0.017464064061641693, -0.006349344737827778, -0.09448184072971344, 0.02209482155740261, 0.021574310958385468, -0.020946107804775238, 0.010517925024032593, 0.017176885157823563, -0.03279223293066025, 0.056466542184352875, -0.010526899248361588, 0.0053890906274318695, 0.02995634265244007, -0.006492934189736843, 0.014583300799131393, 0.03552043437957764, -0.01679098792374134, -0.0007443092181347311, -0.0349101796746254, 0.0045006307773292065, 0.01843329146504402, -0.013910225592553616, 0.017634576186537743, 0.040707603096961975, 0.014017917215824127, 0.005101911723613739, 0.007080753333866596, 0.0071794711984694, 0.03272043913602829, 0.0016860539326444268, 0.029758907854557037, 0.03704607114195824, 0.037405043840408325, 0.013820481486618519, 0.004177554976195097, 0.00007459919288521633, -0.051620397716760635, 0.0014044840354472399, -0.010410233400762081, 0.002215540036559105, 0.08069725334644318, 0.01088587287813425, -0.03641786798834801, -0.01012305449694395, 0.003199351718649268, 0.017796114087104797, 0.07796905934810638, -0.04627169296145439, -0.013075611554086208, -0.0035740304738283157, -0.06949727982282639, -0.014035865664482117, 0.04368708282709122, 0.01106536015868187, 0.02387174218893051, -0.011235872283577919, -0.07258445024490356, -0.01911534182727337, 0.02484096959233284, -0.030153779312968254, 0.01514868438243866, 0.0003275633789598942, 0.0169435515999794, -0.028035834431648254, -0.00941408146172762, -0.028951216489076614, 0.017697395756840706, -0.07272804528474808, -0.008269852958619595, -0.10202028602361679, 0.001811694703064859, 0.01121792383491993, 0.04085119068622589, 0.0021572066470980644, -0.04401015862822533, -0.03485633060336113, 0.04885629937052727, 0.08622545003890991, -0.038338374346494675, 0.015498683787882328, 0.07452291250228882, -0.003401274560019374, 0.015785861760377884, 0.00883523654192686, 0.023746101185679436, -0.006394216325134039, 0.012043562717735767, -0.004895501770079136, -0.009808951988816261, -0.00831921212375164, -0.03564607352018356, -0.06565626710653305, 0.0029278781730681658, 0.02455379068851471, 0.03934350237250328, 0.035592228174209595, 0.007219855673611164, -0.04365118592977524, -0.05179988592863083, 0.022633282467722893, -0.046451177448034286, 0.048928096890449524, 0.049215275794267654, -0.004029478412121534, 0.006380754988640547, 0.0020741941407322884, -0.030099932104349136, -0.0011543243890628219, -0.06565626710653305, 0.04418964311480522, -0.00886216014623642, 0.029238395392894745, -0.0320204421877861, -0.030728137120604515, -0.039199911057949066, -0.023458922281861305, -0.03552043437957764, 0.01714996248483658, -0.009907670319080353, 0.014161506667733192, 0.017939703539013863, 0.0009327703737653792, 0.037081968039274216, -0.004626271780580282, 0.11982537060976028, -0.07430752366781235, -0.005712166894227266, -0.059517815709114075, -0.08234853297472, 0.000646713306196034, -0.062246013432741165, -0.014601249247789383, 0.056502439081668854, 0.02397943288087845, -0.04142554849386215, -0.04426144063472748, -0.025810198858380318, -0.03564607352018356, -0.02123328670859337, -0.02121533639729023, 0.024464048445224762, 0.0012373370118439198, 0.025576865300536156, -0.00651088310405612, -0.022651230916380882, 0.023997383192181587, 0.042502470314502716, 0.07875879853963852, -0.048928096890449524, 0.028394808992743492, -0.00032531979377381504, 0.008251904509961605, 0.03358197584748268, 0.010230746120214462, 0.01031151507049799, 0.008705108426511288, -0.04781527817249298, -0.01938457228243351, -0.029561473056674004, 0.011756383813917637, 0.034623000770807266, -0.017625601962208748, 0.037728119641542435, -0.011801255866885185, 0.019492264837026596, 0.021699951961636543, -0.022651230916380882, 0.03237941488623619, 0.0021482324227690697, 0.02117943949997425, 0.04138965159654617, -0.0242307148873806, -0.0731947049498558, -0.030656341463327408, 0.008485237136483192, 0.03747683763504028, 0.009782029315829277, -0.02058713324368, 0.039810165762901306, 0.07581521570682526, -0.04415374621748924, -0.02848455123603344, 0.07660495489835739, 0.023099947720766068, 0.018630728125572205, -0.024356355890631676, -0.0056942179799079895, 0.02482302114367485, -0.011567923240363598, 0.0021437453106045723, 0.049538351595401764, 0.0012900612782686949, -0.01852303557097912, -0.002979480428621173, -0.0054205008782446384, 0.05815371498465538, 0.016090989112854004, 0.01378458458930254, -0.014978171326220036, -0.010069208219647408, -0.017544832080602646, -0.005505756940692663, -0.028251219540834427, -0.035269152373075485, -0.004666656255722046, 0.020084571093320847, -0.05775884538888931, 0.049538351595401764, 0.08084084838628769, 0.07358957827091217, 0.0287178847938776, -0.009889721870422363, -0.0642203688621521, 0.03060249611735344, -0.003710889257490635, -0.04989732429385185, 0.009171774610877037, 0.020515339449048042, 0.03539479151368141, 0.015292273834347725, 0.001902559888549149, -0.029902497306466103, -0.07157932966947556, -0.02001277543604374, -0.0037961453199386597, -0.006699344143271446, 0.013793558813631535, -0.014807659201323986, -0.020353801548480988, -0.035538382828235626, -0.02545122429728508, -0.009584593586623669, 0.0021818862296640873, 0.04426144063472748, 0.016862783581018448, 0.03571786731481552, 0.005308321677148342, -0.009476901963353157, -0.03837427496910095, -0.003230761969462037, -0.02509225159883499, -0.08974339067935944, 0.059481918811798096, 0.07696393132209778, 0.003755760844796896, -0.05291270092129707, -0.0018173035932704806, -0.06156396493315697, 0.035233255475759506, -0.023512767627835274, -0.02631276100873947, -0.027066607028245926, -0.037728119641542435, 0.012205100618302822, 0.009764080867171288, 0.030117880553007126, -0.012779458425939083, 0.01046407874673605, -0.005258962512016296, -0.012653818354010582 ]
44,131
gwcs.coordinate_frames
coordinates
null
def coordinates(self, *args): coo = [] if len(args) == len(self.frames): for frame, arg in zip(self.frames, args): coo.append(frame.coordinates(arg)) else: for frame in self.frames: fargs = [args[i] for i in frame.axes_order] coo.append(frame.coordinates(*fargs)) return coo
(self, *args)
[ -0.010113110765814781, -0.017691224813461304, -0.01416193787008524, 0.0229134950786829, -0.018264509737491608, 0.02336137555539608, -0.0046221124939620495, 0.012576445937156677, 0.04335469752550125, 0.035310789942741394, 0.0032986297737807035, -0.04317554831504822, 0.015012907795608044, -0.011205935850739479, 0.001287652412429452, -0.008872485719621181, 0.02269851416349411, -0.010668480768799782, -0.0017870377050712705, 0.0019493938889354467, 0.011205935850739479, 0.00040477074799127877, 0.014484411105513573, -0.035866159945726395, -0.0034531480632722378, 0.024705011397600174, 0.03629612550139427, -0.009629401378333569, -0.0014208965003490448, -0.026711510494351387, -0.04579116031527519, 0.014224641025066376, 0.004966979380697012, -0.02638903819024563, -0.008787387982010841, 0.010148940607905388, -0.01817493513226509, 0.03418213501572609, -0.02087116613984108, 0.014170895330607891, 0.006892859470099211, -0.06263141334056854, 0.053530510514974594, 0.0012820539996027946, 0.001241744845174253, 0.010319135151803493, -0.050771575421094894, -0.015326423570513725, -0.02622780203819275, -0.000840333173982799, 0.061054881662130356, -0.08111986517906189, 0.0414198599755764, -0.02352261170744896, 0.04170650243759155, 0.09588196128606796, 0.027589352801442146, 0.0988917127251625, 0.03384174779057503, -0.005262579768896103, 0.016705891117453575, 0.011259680613875389, 0.0030209445394575596, -0.02269851416349411, 0.03430753946304321, -0.06012329086661339, 0.01755686104297638, -0.0030007900204509497, -0.044537100940942764, -0.0016526739345863461, -0.01954544521868229, -0.0014544874429702759, -0.028843415901064873, -0.04794098064303398, 0.018918413668870926, 0.003574075410142541, -0.00031435515847988427, 0.0816931501030922, 0.033483441919088364, 0.02877175435423851, -0.09179730713367462, -0.0033546146005392075, -0.01543391402810812, 0.07947167009115219, 0.023379290476441383, 0.029004652053117752, 0.003186659887433052, 0.065139539539814, -0.0024946867488324642, 0.05406796559691429, -0.016051987186074257, -0.0033994026016443968, -0.02988249436020851, 0.010050407610833645, -0.06660858541727066, -0.014323174022138119, -0.015550362877547741, 0.006082198582589626, 0.005074470303952694, 0.025797836482524872, -0.009002369828522205, 0.012030033394694328, -0.0002547312469687313, 0.011698602698743343, -0.009405461139976978, -0.01563098095357418, -0.010390795767307281, -0.047690168023109436, -0.0185063648968935, 0.05550118163228035, 0.005387985613197088, 0.029954155907034874, 0.049015890806913376, 0.00018894900858867913, -0.030563270673155785, -0.06492456048727036, -0.027302710339426994, 0.019079649820923805, -0.018139103427529335, -0.0007591550820507109, -0.03505997732281685, 0.0811915248632431, 0.059120044112205505, 0.013606567867100239, -0.023164307698607445, 0.05826011672616005, -0.003007508348673582, 0.004429524298757315, -0.055644501000642776, -0.08262474089860916, 0.08563448488712311, -0.06191480904817581, -0.00014724026550538838, 0.0032695175614207983, 0.030778253450989723, -0.019670851528644562, 0.061484843492507935, -0.061556506901979446, -0.04041661322116852, -0.017691224813461304, -0.0058896103873848915, 0.04385632276535034, 0.050664085894823074, 0.04002247750759125, -0.06972581893205643, 0.07689188420772552, 0.04815596342086792, -0.00018530998204369098, -0.01349907647818327, -0.026604019105434418, -0.005943356081843376, 0.04704522341489792, -0.013266179710626602, -0.030133306980133057, -0.04328303784132004, -0.09344550222158432, 0.01176130585372448, 0.0031978569459170103, 0.05306471884250641, 0.054032135754823685, -0.048621758818626404, 0.01093720830976963, -0.020082900300621986, -0.04235145077109337, 0.004711688496172428, 0.018264509737491608, -0.013911125250160694, -0.022823920473456383, -0.03595573455095291, 0.02590532787144184, 0.02766101434826851, -0.0022259592078626156, 0.012585403397679329, 0.026962323114275932, -0.01727917604148388, -0.030527440831065178, -0.06058908626437187, 0.037084389477968216, 0.00396149093285203, 0.00218900921754539, -0.002270747208967805, -0.02710564434528351, -0.0033299813512712717, -0.02529621310532093, 0.010148940607905388, 0.034791249781847, 0.029237547889351845, -0.0009282294777221978, 0.02010081522166729, -0.015595151111483574, 0.010534116998314857, 0.03325054422020912, -0.012540615163743496, 0.007797575555741787, -0.009548782370984554, 0.050341613590717316, -0.042494770139455795, 0.02203565277159214, 0.008657502941787243, 0.0033568539656698704, -0.010301219299435616, -0.012442082166671753, 0.015398084186017513, -0.020136645063757896, 0.0031642660032957792, 0.052921395748853683, -0.007349696476012468, 0.015012907795608044, -0.03473750501871109, -0.0342537946999073, 0.08756932616233826, -0.03584824502468109, -0.04152735322713852, -0.09502203017473221, 0.010122068226337433, 0.10233142226934433, -0.0006958922022022307, -0.018192850053310394, 0.034038811922073364, 0.03970000520348549, 0.0469377301633358, 0.0320323146879673, -0.04976832866668701, 0.006646526046097279, -0.010704310610890388, 0.003576314775273204, 0.09079405665397644, -0.008612715639173985, -0.01286308839917183, -0.04231561720371246, -0.0018878105329349637, -0.04098989814519882, -0.055966973304748535, -0.02418547309935093, 0.019921662285923958, 0.030079562216997147, 0.007425835821777582, -0.018972160294651985, -0.04679441079497337, 0.025797836482524872, -0.023164307698607445, 0.029577936977148056, 0.0464002750813961, 0.02545744925737381, 0.033429697155952454, -0.018210764974355698, 0.0016425966750830412, 0.037800997495651245, -0.006812241394072771, 0.052921395748853683, -0.005361113231629133, 0.05732852593064308, -0.009459206834435463, 0.015980327501893044, -0.040129970759153366, -0.02749977819621563, 0.013884252868592739, -0.030957404524087906, 0.009942916221916676, -0.009432334452867508, 0.01584596373140812, 0.007936418056488037, 0.011313426308333874, 0.023450950160622597, 0.019724596291780472, 0.029954155907034874, -0.019061734899878502, -0.03540036454796791, -0.03991498798131943, 0.05858258903026581, 0.035042062401771545, 0.0057462891563773155, -0.005849301349371672, 0.056970223784446716, -0.007143672090023756, 0.011868796311318874, -0.005598489195108414, -0.005083427764475346, -0.03572283685207367, 0.002362562343478203, 0.08068989962339401, 0.003806972410529852, -0.07624693959951401, -0.03651110455393791, 0.011832966469228268, -0.03538244962692261, 0.03970000520348549, 0.030133306980133057, -0.006135943811386824, -0.016204265877604485, 0.007291472051292658, 0.06015912443399429, 0.031942740082740784, -0.06947501003742218, -0.00081458012573421, -0.02230438031256199, -0.019473783671855927, 0.036582767963409424, -0.008124527521431446, 0.040344949811697006, 0.027875997126102448, -0.004684815648943186, 0.022178974002599716, -0.009701061993837357, 0.04303222522139549, 0.010704310610890388, 0.0003423476009629667, 0.004868445917963982, -0.021802755072712898, -0.022734344005584717, 0.028180554509162903, 0.026102395728230476, -0.04600614309310913, -0.0767485648393631, -0.0519181489944458, 0.027589352801442146, -0.005656713154166937, -0.011492578312754631, 0.0063285320065915585, 0.03523913025856018, 0.0276072695851326, -0.03626029193401337, -0.012522700242698193, 0.038911737501621246, 0.02407798171043396, 0.12361463904380798, -0.044035475701093674, -0.012943706475198269, 0.05421128869056702, -0.02285975031554699, 0.027087729424238205, -0.003717396641150117, -0.0508074052631855, 0.027374371886253357, 0.03335803747177124, -0.04245894029736519, -0.021175725385546684, 0.07803845405578613, 0.03927003964781761, -0.031835246831178665, -0.03970000520348549, -0.04614946246147156, -0.0563252791762352, 0.027750590816140175, -0.02418547309935093, 0.021605689078569412, -0.004104812163859606, 0.04507455602288246, 0.03414630517363548, -0.013642397709190845, -0.003712917910888791, -0.009656273759901524, -0.05507121607661247, -0.02164151892066002, 0.0073362598195672035, 0.09631192684173584, -0.0013917844044044614, -0.04016580060124397, 0.011788178235292435, 0.01176130585372448, 0.07703521102666855, -0.07703521102666855, 0.019724596291780472, -0.04410713538527489, -0.029667513445019722, 0.00988021306693554, 0.06169982627034187, -0.01988583244383335, -0.02916588820517063, 0.007466144859790802, -0.02042328752577305, 0.03350135684013367, -0.019563360139727592, -0.007591551169753075, -0.062201451510190964, 0.026048649102449417, 0.01755686104297638, -0.01811223104596138, -0.0480484701693058, -0.05650442838668823, -0.00031575479079037905, -0.07459874451160431, 0.029022566974163055, -0.023450950160622597, -0.014045489020645618, 0.029631681740283966, -0.024257132783532143, -0.007793096825480461, -0.019796257838606834, 0.020011238753795624, 0.014376919716596603, -0.07044243067502975, -0.007752787321805954, -0.015586193650960922, -0.044142965227365494, -0.05571616068482399, 0.05568033084273338, 0.09215560555458069, -0.004599718376994133, -0.0767485648393631, -0.019079649820923805, -0.033985067158937454, -0.031226132065057755, 0.01239729393273592, 0.008294721134006977, 0.015810132026672363, -0.03887590765953064, 0.05507121607661247, 0.013678228482604027, 0.010041450150310993, -0.027535608038306236, 0.01695670373737812, 0.04507455602288246, -0.01712689734995365, -0.005697022192180157, 0.03980749472975731, -0.06775515526533127, 0.02606656402349472, 0.02242978662252426, 0.0006651004659943283, -0.007291472051292658, -0.0024230261333286762, -0.012648106552660465, 0.04478791356086731, 0.040058307349681854, 0.003986123949289322, -0.015299550257623196, -0.031226132065057755, 0.05241977050900459, 0.049732498824596405, -0.05589531362056732, -0.04794098064303398, -0.04532536491751671, -0.005826907232403755, 0.006525598932057619, -0.0007020505145192146, -0.003771142102777958, 0.03357302024960518, 0.010256431996822357, 0.04722437262535095, -0.0061852107755839825, 0.032838497310876846, 0.026801086962223053, -0.02081742137670517, -0.012334590777754784, -0.02230438031256199, -0.04736769571900368, -0.02036954276263714, -0.03153068944811821, 0.002010977128520608, -0.01140300277620554, 0.07108737528324127, 0.039843324571847916, -0.04468042030930519, 0.008903836831450462, 0.012173354625701904, -0.07997329533100128, -0.05123737081885338, -0.020297881215810776, -0.0039704483933746815, 0.012854130938649178, -0.028520941734313965, 0.03751435503363609, -0.06685939431190491, -0.03187107667326927, 0.019527530297636986, 0.02832387574017048, -0.038804247975349426, -0.050664085894823074, -0.015012907795608044, 0.07058575004339218, -0.010973038151860237, -0.03805181011557579, -0.06979747861623764, 0.023612186312675476, 0.021838584914803505, -0.014376919716596603, 0.008760515600442886, 0.023397205397486687, -0.04303222522139549, -0.08842924982309341, -0.05865424871444702, 0.024060066789388657, 0.0034262752160429955, -0.00961148552596569, 0.027696844190359116, 0.004895318765193224, -0.06417211890220642, -0.01751207374036312, 0.002375998767092824, 0.01662527211010456, 0.02529621310532093, -0.04829928278923035, -0.034988317638635635, -0.002260669833049178, 0.011107401922345161, 0.06865090876817703, -0.01019372884184122, -0.07209062576293945, 0.004962500650435686, 0.014788968488574028, 0.013113901019096375, 0.054032135754823685, -0.006874944549053907, -0.002115109236910939, -0.05826011672616005, 0.050449103116989136, -0.003173223463818431, -0.02683691680431366, 0.024095896631479263, -0.04507455602288246, -0.06080406904220581, -0.009692104533314705, -0.06621444970369339, 0.015281635336577892, -0.001505993539467454, -0.05836760625243187, 0.053602173924446106, 0.016096776351332664, 0.030276628211140633, 0.031781502068042755, -0.03622446209192276, 0.040237460285425186, 0.09179730713367462, -0.008657502941787243, 0.026962323114275932, 0.007613944821059704, 0.043103884905576706, 0.01976042613387108, -0.004525818396359682, 0.015514533035457134, 0.010999911464750767, -0.016759635880589485, -0.005011767148971558, -0.023397205397486687, 0.032157719135284424, 0.011519450694322586, -0.016992533579468727, -0.005034161265939474, 0.028574688360095024, 0.03661859780550003, 0.03174567222595215, -0.0009332681074738503, 0.006180732045322657, -0.018130145967006683, -0.06943918019533157, -0.00763633893802762, -0.03179941698908806, 0.06703854352235794, 0.01173443254083395, 0.03070659190416336, -0.02423921786248684, 0.00944129191339016, 0.05471291393041611, 0.0251170601695776, -0.0006986914086155593, -0.015147271566092968, -0.007027223240584135, -0.08785596489906311, -0.007685605436563492, 0.04285307228565216, 0.023110562935471535, 0.01927671767771244, -0.03905506059527397, -0.08592113107442856, 0.0033501358702778816, 0.02577992156147957, 0.014860629104077816, -0.014296301640570164, -0.0057821194641292095, -0.01838095858693123, 0.002588741248473525, -0.0097995949909091, -0.055465348064899445, 0.009181521832942963, -0.02778642065823078, 0.016428206115961075, -0.051488183438777924, -0.024758758023381233, -0.04786932095885277, 0.027696844190359116, -0.06058908626437187, -0.02380925416946411, -0.048836737871170044, 0.005876174196600914, 0.06911670416593552, -0.024310879409313202, 0.01573847234249115, 0.059836648404598236, -0.03174567222595215, 0.01618635095655918, 0.020584523677825928, 0.019617104902863503, 0.031279876828193665, 0.003206814406439662, -0.009835425764322281, -0.03826679289340973, -0.02176692523062229, -0.020118730142712593, -0.03819512948393822, 0.004501184914261103, 0.04736769571900368, 0.05009080097079277, -0.018703432753682137, -0.030079562216997147, -0.07918503135442734, 0.014618773944675922, -0.020172474905848503, -0.0541037991642952, 0.047188542783260345, 0.02810889296233654, 0.0021699743811041117, 0.04170650243759155, -0.026586104184389114, -0.025869498029351234, 0.023379290476441383, -0.02164151892066002, 0.06617861986160278, 0.030455779284238815, 0.04683024063706398, 0.006382277235388756, -0.022286465391516685, -0.0590842142701149, -0.026030734181404114, -0.00191916199401021, 0.02712355926632881, 0.0074168783612549305, -0.03160234913229942, 0.03638570010662079, 0.06109071150422096, 0.06374215334653854, 0.02577992156147957, 0.055035386234521866, -0.06897338479757309, -0.02561868540942669, -0.05263475328683853, -0.0342537946999073, -0.05482040345668793, -0.0651753693819046, -0.04274558275938034, 0.008469394408166409, 0.0019953015726059675, -0.005392464343458414, -0.01821972243487835, 0.009942916221916676, -0.012415208853781223, -0.0629538893699646, -0.02065618522465229, 0.07825344055891037, -0.006494247354567051, 0.023128477856516838, -0.013176603242754936, -0.027696844190359116, 0.07320136576890945, -0.014869586564600468, 0.06306137889623642, -0.04826345294713974, 0.0530288890004158, 0.033770084381103516, -0.022626852616667747, 0.010919292457401752, 0.013669271022081375, 0.032103974372148514, 0.007609466090798378, -0.04439377784729004, -0.04163484275341034, -0.005249143112450838, 0.015648895874619484, 0.009315885603427887, -0.002514841267839074, 0.01999332383275032, -0.004225739277899265, -0.024328794330358505, 0.04425045847892761, -0.029452530667185783, -0.0006830156780779362, 0.005576095078140497, 0.006633089855313301, 0.021677348762750626, -0.004671378992497921, -0.04865758866071701, -0.003605426987633109, -0.012934749014675617, -0.006261350121349096, 0.02689066156744957, 0.00961148552596569, 0.08097654581069946, 0.07409711927175522, 0.0270518995821476, -0.004855009727180004, 0.006915253587067127, 0.018192850053310394, 0.06868673861026764, 0.004046587739139795, 0.010247474536299706, 0.023665932938456535, -0.00005539004996535368, -0.06499622017145157, 0.04356968030333519, -0.013006409630179405, -0.032336872071027756, 0.022214803844690323, -0.04869341850280762, 0.06467374414205551, 0.018085358664393425, -0.0070406598970294, 0.015917623415589333, 0.007493017707020044, 0.020584523677825928, 0.026926493272185326, -0.04521787539124489, -0.02230438031256199, 0.03783682733774185, 0.01331096701323986, -0.03894756734371185, 0.008115570060908794, 0.044429607689380646, 0.035651177167892456, 0.030796168372035027, 0.029076311737298965, -0.0047609549947083, 0.06524702906608582, 0.007224290166050196, -0.002445420017465949, 0.038517605513334274, 0.01761060766875744, 0.013606567867100239, -0.015765344724059105, -0.05163150280714035, -0.03391340747475624, -0.027858080342411995, -0.027463948354125023, 0.021605689078569412, 0.03169192746281624, -0.03418213501572609, -0.007936418056488037, 0.002211403101682663, -0.047188542783260345, -0.08291137963533401, -0.021498197689652443, -0.0073362598195672035, -0.04399964585900307, 0.0018385438015684485, 0.033662594854831696, 0.011582153849303722, -0.024722928181290627, -0.008469394408166409, -0.03634987026453018, 0.010775971226394176, -0.01074014138430357, 0.031835246831178665, 0.08477456122636795, -0.007183981128036976, -0.05098655819892883, -0.03482707962393761, -0.023343458771705627, 0.02230438031256199, -0.014708350412547588, -0.018793007358908653, -0.057507678866386414, -0.08685272186994553, 0.044142965227365494, -0.05335136130452156, 0.06291805952787399, 0.04675858095288277, -0.005692543461918831, -0.005029682535678148, 0.03613488748669624 ]
44,132
gwcs.coordinate_frames
CoordinateFrame
Base class for Coordinate Frames. Parameters ---------- naxes : int Number of axes. axes_type : str One of ["SPATIAL", "SPECTRAL", "TIME"] axes_order : tuple of int A dimension in the input data that corresponds to this axis. reference_frame : astropy.coordinates.builtin_frames Reference frame (usually used with output_frame to convert to world coordinate objects). reference_position : str Reference position - one of ``STANDARD_REFERENCE_POSITION`` unit : list of astropy.units.Unit Unit for each axis. axes_names : list Names of the axes in this frame. name : str Name of this frame.
class CoordinateFrame: """ Base class for Coordinate Frames. Parameters ---------- naxes : int Number of axes. axes_type : str One of ["SPATIAL", "SPECTRAL", "TIME"] axes_order : tuple of int A dimension in the input data that corresponds to this axis. reference_frame : astropy.coordinates.builtin_frames Reference frame (usually used with output_frame to convert to world coordinate objects). reference_position : str Reference position - one of ``STANDARD_REFERENCE_POSITION`` unit : list of astropy.units.Unit Unit for each axis. axes_names : list Names of the axes in this frame. name : str Name of this frame. """ def __init__(self, naxes, axes_type, axes_order, reference_frame=None, reference_position=None, unit=None, axes_names=None, name=None, axis_physical_types=None): self._naxes = naxes self._axes_order = tuple(axes_order) if isinstance(axes_type, str): self._axes_type = (axes_type,) else: self._axes_type = tuple(axes_type) self._reference_frame = reference_frame if unit is not None: if astutil.isiterable(unit): unit = tuple(unit) else: unit = (unit,) if len(unit) != naxes: raise ValueError("Number of units does not match number of axes.") else: self._unit = tuple([u.Unit(au) for au in unit]) else: self._unit = tuple(u.Unit("") for na in range(naxes)) if axes_names is not None: if isinstance(axes_names, str): axes_names = (axes_names,) else: axes_names = tuple(axes_names) if len(axes_names) != naxes: raise ValueError("Number of axes names does not match number of axes.") else: axes_names = tuple([""] * naxes) self._axes_names = axes_names if name is None: self._name = self.__class__.__name__ else: self._name = name self._reference_position = reference_position if len(self._axes_type) != naxes: raise ValueError("Length of axes_type does not match number of axes.") if len(self._axes_order) != naxes: raise ValueError("Length of axes_order does not match number of axes.") super(CoordinateFrame, self).__init__() # _axis_physical_types holds any user supplied physical types self._axis_physical_types = self._set_axis_physical_types(axis_physical_types) def _set_axis_physical_types(self, pht): """ Set the physical type of the coordinate axes using VO UCD1+ v1.23 definitions. """ if pht is not None: if isinstance(pht, str): pht = (pht,) elif not isiterable(pht): raise TypeError("axis_physical_types must be of type string or iterable of strings") if len(pht) != self.naxes: raise ValueError('"axis_physical_types" must be of length {}'.format(self.naxes)) ph_type = [] for axt in pht: if axt not in VALID_UCDS and not axt.startswith("custom:"): ph_type.append("custom:{}".format(axt)) else: ph_type.append(axt) validate_physical_types(ph_type) return tuple(ph_type) def __repr__(self): fmt = '<{0}(name="{1}", unit={2}, axes_names={3}, axes_order={4}'.format( self.__class__.__name__, self.name, self.unit, self.axes_names, self.axes_order) if self.reference_position is not None: fmt += ', reference_position="{0}"'.format(self.reference_position) if self.reference_frame is not None: fmt += ", reference_frame={0}".format(self.reference_frame) fmt += ")>" return fmt def __str__(self): if self._name is not None: return self._name return self.__class__.__name__ @property def name(self): """ A custom name of this frame.""" return self._name @name.setter def name(self, val): """ A custom name of this frame.""" self._name = val @property def naxes(self): """ The number of axes in this frame.""" return self._naxes @property def unit(self): """The unit of this frame.""" return self._unit @property def axes_names(self): """ Names of axes in the frame.""" return self._axes_names @property def axes_order(self): """ A tuple of indices which map inputs to axes.""" return self._axes_order @property def reference_frame(self): """ Reference frame, used to convert to world coordinate objects. """ return self._reference_frame @property def reference_position(self): """ Reference Position. """ return getattr(self, "_reference_position", None) @property def axes_type(self): """ Type of this frame : 'SPATIAL', 'SPECTRAL', 'TIME'. """ return self._axes_type def coordinates(self, *args): """ Create world coordinates object""" coo = tuple([arg * un if not hasattr(arg, "to") else arg.to(un) for arg, un in zip(args, self.unit)]) if self.naxes == 1: return coo[0] return coo def coordinate_to_quantity(self, *coords): """ Given a rich coordinate object return an astropy quantity object. """ # NoOp leaves it to the model to handle # If coords is a 1-tuple of quantity then return the element of the tuple # This aligns the behavior with the other implementations if not hasattr(coords, 'unit') and len(coords) == 1: return coords[0] return coords @property def _default_axis_physical_types(self): """ The default physical types to use for this frame if none are specified by the user. """ return tuple("custom:{}".format(t) for t in self.axes_type) @property def axis_physical_types(self): """ The axis physical types for this frame. These physical types are the types in frame order, not transform order. """ return self._axis_physical_types or self._default_axis_physical_types @property def _world_axis_object_classes(self): return {f"{at}{i}" if i != 0 else at: (u.Quantity, (), {'unit': unit}) for i, (at, unit) in enumerate(zip(self._axes_type, self.unit))} @property def _world_axis_object_components(self): return [(f"{at}{i}" if i != 0 else at, 0, 'value') for i, at in enumerate(self._axes_type)]
(naxes, axes_type, axes_order, reference_frame=None, reference_position=None, unit=None, axes_names=None, name=None, axis_physical_types=None)
[ 0.026393989101052284, -0.03579140827059746, -0.043003834784030914, 0.033645085990428925, -0.005655854940414429, -0.03184681385755539, -0.08399669826030731, 0.017566988244652748, -0.028443632647395134, -0.006419636774808168, 0.008517621085047722, -0.013912435621023178, 0.01760566048324108, 0.04567223787307739, -0.02065112069249153, 0.050970371812582016, 0.02198532223701477, -0.00033626958611421287, 0.009658459573984146, -0.03675822168588638, -0.009977508336305618, -0.0133226802572608, 0.00148889166302979, -0.012172172777354717, 0.0011227113427594304, 0.01926857978105545, -0.012423544190824032, 0.009527940303087234, -0.030880000442266464, -0.0488433837890625, -0.06659406423568726, -0.012133500538766384, -0.014598873443901539, -0.035249993205070496, 0.017808692529797554, -0.05085435137152672, -0.02620062604546547, -0.0001330122904619202, -0.041070207953453064, 0.033857785165309906, -0.0041403756476938725, -0.05742868036031723, 0.06218539923429489, -0.024615053087472916, -0.004689041990786791, 0.03987136110663414, -0.07046131789684296, 0.03604277968406677, -0.02786354534327984, 0.011843456886708736, 0.04814727604389191, -0.08770925551652908, 0.027554163709282875, 0.050312936305999756, -0.03018389455974102, 0.0646604374051094, 0.007231759838759899, 0.10395171493291855, 0.04470542445778847, -0.01594274304807186, -0.021791961044073105, 0.06988123059272766, -0.02709009498357773, -0.06276548653841019, -0.008285585790872574, -0.041727639734745026, 0.024711735546588898, -0.007255929987877607, -0.0005160363507457078, 0.02674204111099243, -0.022004658356308937, 0.006037746090441942, 0.030164558440446854, -0.01406712643802166, 0.03495994955301285, -0.013970444910228252, -0.04335188493132591, 0.020399749279022217, 0.02973916195333004, -0.027921553701162338, -0.02825026959180832, 0.048920728266239166, 0.008493450470268726, 0.010103194043040276, 0.002687739674001932, 0.042501091957092285, 0.04281046986579895, 0.08430607616901398, 0.0064631435088813305, -0.020747803151607513, -0.027979562059044838, -0.017460638657212257, 0.0013354101683944464, 0.03579140827059746, -0.029217083007097244, -0.04362259432673454, -0.024557044729590416, -0.04652303084731102, -0.02210134081542492, -0.00844511017203331, -0.030938008800148964, -0.014144470915198326, -0.07456060498952866, 0.042501091957092285, -0.05348408222198486, 0.05255594477057457, -0.041456934064626694, -0.030551284551620483, -0.006675842218101025, 0.011389054358005524, -0.04373861104249954, 0.008411271497607231, -0.00022115842148195952, 0.01500493474304676, -0.010567263700067997, -0.0223720483481884, -0.0370095930993557, 0.009208891540765762, -0.02103784680366516, -0.005883055739104748, 0.02364824153482914, 0.07049998641014099, 0.018959198147058487, 0.0224300567060709, 0.023628905415534973, 0.02962314337491989, 0.027612173929810524, 0.011601753532886505, -0.01201748289167881, -0.06895308941602707, 0.038846537470817566, -0.05302001163363457, -0.011456731706857681, 0.05870487168431282, 0.044937457889318466, 0.02148257941007614, 0.018978534266352654, -0.04934612661600113, -0.09799614548683167, 0.03329703211784363, 0.03577207401394844, 0.04091551899909973, 0.05785407871007919, -0.005762204062193632, -0.05483762174844742, 0.07022928446531296, -0.008010043762624264, -0.03534667566418648, -0.09443827718496323, -0.03062862902879715, -0.061953362077474594, -0.012172172777354717, -0.03554003685712814, -0.026161953806877136, -0.024267001077532768, -0.08384200185537338, -0.002246631309390068, -0.02519514225423336, 0.04265578091144562, 0.08987491577863693, -0.07657157629728317, -0.03838246688246727, -0.01898820325732231, -0.02786354534327984, -0.02314549870789051, 0.021791961044073105, -0.006202104035764933, -0.08167634159326553, -0.02304881624877453, 0.03350973129272461, 0.024267001077532768, -0.016957895830273628, 0.004166963044553995, 0.007328440900892019, -0.0448601134121418, 0.005486662499606609, -0.018910858780145645, -0.002499211113899946, -0.017402630299329758, -0.01954895444214344, 0.0407608263194561, -0.02492443285882473, -0.05545638129115105, -0.007637821137905121, -0.010335228405892849, 0.049655504524707794, 0.02121187187731266, 0.006550156511366367, 0.0808255523443222, 0.02082514762878418, -0.014946925453841686, 0.01855313777923584, 0.004933162126690149, 0.018408115953207016, 0.04037410393357277, -0.00027055651298724115, 0.021637270227074623, 0.005771872587502003, 0.006545322481542826, 0.021907977759838104, -0.03859516605734825, 0.017373625189065933, 0.05464426055550575, -0.027399474754929543, -0.045440200716257095, 0.009450594894587994, 0.029816506430506706, -0.00803421437740326, -0.04586559906601906, -0.01717059500515461, 0.03024190478026867, -0.03399313613772392, -0.03350973129272461, -0.03540468588471413, 0.020921828225255013, -0.007850520312786102, -0.040683481842279434, -0.02270076423883438, 0.02370624989271164, 0.033374376595020294, 0.10627206414937973, 0.0307446476072073, -0.038575831800699234, -0.06075451523065567, -0.016416480764746666, -0.021443907171487808, 0.030377257615327835, 0.004369993694126606, 0.014917921274900436, -0.032542917877435684, -0.005467326380312443, -0.018794840201735497, -0.03662286698818207, 0.0035602881107479334, 0.01273292489349842, -0.0022840951569378376, 0.007275266107171774, 0.010364233516156673, -0.029101064428687096, -0.007724834140390158, -0.03395446389913559, -0.02186930552124977, -0.014569868333637714, 0.017702342942357063, -0.023396870121359825, -0.04420268163084984, 0.05731266364455223, 0.054025497287511826, -0.06671008467674255, -0.009672962129116058, -0.015623694285750389, 0.010567263700067997, -0.026606688275933266, 0.020921828225255013, 0.0027916720137000084, -0.07173750549554825, -0.036468178033828735, -0.04130224138498306, 0.045826926827430725, -0.056577883660793304, -0.003291997592896223, -0.03987136110663414, 0.03457322716712952, 0.041456934064626694, 0.012742592953145504, 0.009996844455599785, 0.003219486679881811, 0.0027892549987882376, -0.018640151247382164, 0.019481277093291283, 0.03294897824525833, 0.05201452970504761, -0.06384831666946411, 0.029816506430506706, 0.0015855729579925537, -0.028772348538041115, 0.03648751601576805, -0.05243992432951927, 0.030493276193737984, 0.017702342942357063, 0.010219210758805275, -0.02620062604546547, -0.0021958735305815935, 0.013922104611992836, -0.008652974851429462, -0.03190482035279274, -0.012587902136147022, -0.029004383832216263, 0.03579140827059746, -0.01800205372273922, -0.030976681038737297, 0.016542166471481323, -0.00629878556355834, 0.011031334288418293, 0.01749931089580059, -0.016329467296600342, -0.05356143042445183, 0.010760626755654812, 0.02059311233460903, -0.013419361785054207, 0.018040725961327553, 0.059400979429483414, 0.06964919716119766, 0.007647489197552204, -0.005941064562648535, -0.051086388528347015, 0.013709405437111855, -0.00629878556355834, 0.023996293544769287, 0.01312931813299656, 0.03699025884270668, 0.051975857466459274, -0.026161953806877136, -0.01617477834224701, 0.045826926827430725, 0.05085435137152672, 0.011011997237801552, -0.03240756317973137, 0.07146680355072021, 0.09490234404802322, 0.0023457296192646027, -0.06087053194642067, -0.011311709880828857, -0.016194114461541176, 0.020747803151607513, 0.0045778583735227585, 0.003456355771049857, -0.02563987486064434, 0.041456934064626694, -0.0493074506521225, -0.043274540454149246, -0.02264275588095188, -0.02005169726908207, 0.016039423644542694, 0.04961683228611946, -0.06237876042723656, -0.025021115317940712, 0.04195967689156532, 0.06485380232334137, -0.018968867138028145, 0.007091572042554617, 0.027515491470694542, -0.040180739015340805, 0.020805811509490013, -0.002888353308662772, -0.07351644337177277, 0.009324909187853336, 0.005510833114385605, 0.028656331822276115, 0.03521132096648216, -0.04721913859248161, 0.007671659346669912, -0.010286888107657433, -0.0022889291867613792, 0.0011166688054800034, 0.0343218557536602, 0.00011465795250842348, -0.044666752219200134, -0.02786354534327984, 0.025949254631996155, 0.05549505352973938, -0.019587626680731773, -0.030164558440446854, -0.014792235568165779, -0.06845034658908844, -0.04609763249754906, 0.028443632647395134, -0.03378044068813324, 0.018707826733589172, -0.011621089652180672, -0.005825046915560961, -0.023010144010186195, 0.0008973231306299567, -0.013216330669820309, -0.0446280799806118, 0.07026795297861099, 0.0447440966963768, 0.01987767033278942, -0.06450574845075607, -0.13953042030334473, 0.07448326051235199, -0.0243636816740036, -0.04950081557035446, 0.03343238681554794, 0.01882384531199932, -0.01054792758077383, 0.02270076423883438, 0.01423148438334465, -0.0367775596678257, 0.022352712228894234, 0.02126988209784031, -0.023628905415534973, 0.005003256257623434, -0.03401247411966324, -0.045942943543195724, -0.008710983209311962, -0.01811807230114937, 0.09505703300237656, -0.03329703211784363, -0.04137958586215973, -0.0044835940934717655, -0.0733230784535408, -0.010760626755654812, 0.038846537470817566, -0.011340714059770107, -0.031421415507793427, 0.07893059402704239, 0.009817983955144882, -0.007144746370613575, 0.03909790888428688, 0.021675942465662956, 0.02674204111099243, -0.02409297414124012, 0.00032690356601960957, -0.04547887295484543, 0.01295529119670391, -0.031112035736441612, -0.014714891090989113, 0.0490754172205925, 0.03190482035279274, -0.0407608263194561, 0.05781540647149086, 0.024963106960058212, 0.06798627227544785, 0.024286337196826935, 0.007710332050919533, -0.0452081672847271, 0.01259757112711668, 0.009643957950174809, 0.05240125209093094, -0.02902371995151043, -0.01047058217227459, -0.06237876042723656, -0.032542917877435684, 0.0033548404462635517, -0.03200150281190872, -0.002888353308662772, -0.007850520312786102, -0.03304566070437431, 0.07169883698225021, 0.023300187662243843, -0.0008628804353065789, 0.019693976268172264, 0.024054301902651787, -0.06825698167085648, -0.01666785217821598, -0.08345527946949005, -0.006811195984482765, -0.043003834784030914, 0.023106826469302177, 0.03834379464387894, 0.08113493025302887, 0.02709009498357773, -0.0486113466322422, 0.003966349642723799, -0.023628905415534973, -0.0027215781155973673, -0.04501480236649513, 0.001077392022125423, -0.06036778911948204, 0.013100313022732735, 0.007792511023581028, 0.008343594148755074, -0.0183307696133852, -0.003386261872947216, 0.057738058269023895, 0.056577883660793304, -0.06937848776578903, -0.018069731071591377, 0.010847639292478561, 0.04911408945918083, 0.032194867730140686, 0.026316644623875618, -0.0448601134121418, 0.015701040625572205, 0.021231207996606827, -0.03024190478026867, 0.02264275588095188, -0.04393197223544121, -0.07974272221326828, -0.015652699396014214, -0.048379313200712204, 0.015623694285750389, -0.0028013400733470917, 0.0004806872457265854, 0.06284283101558685, 0.048379313200712204, -0.0411088801920414, 0.0005414151819422841, 0.024963106960058212, -0.05858885496854782, 0.046600375324487686, -0.006656506098806858, 0.028830356895923615, -0.014753563329577446, 0.04118622466921806, 0.03461189940571785, -0.0568099208176136, -0.026490669697523117, -0.02391894906759262, 0.03849848359823227, 0.005902392324060202, 0.0018852849025279284, -0.021076519042253494, 0.03936861827969551, -0.04590427130460739, 0.005950732622295618, -0.011137682944536209, -0.025736557319760323, -0.02536916732788086, -0.05870487168431282, -0.026432661339640617, 0.05387080833315849, -0.054682932794094086, 0.012568566016852856, 0.031247388571500778, -0.020999174565076828, 0.04025808349251747, 0.0019227489829063416, 0.005017758347094059, -0.00703356321901083, -0.010296556167304516, 0.04238507151603699, 0.011398722417652607, 0.0030962179880589247, 0.030763983726501465, -0.04803125932812691, 0.0012351033510640264, 0.04188232868909836, -0.013051972724497318, 0.011766111478209496, -0.02121187187731266, -0.01583639346063137, 0.045053474605083466, 0.07046131789684296, 0.031150707975029945, 0.023744922131299973, -0.0267033688724041, 0.004469092004001141, 0.027167439460754395, 0.01201748289167881, 0.002133030677214265, -0.0012544395867735147, -0.04834064096212387, -0.01335168443620205, -0.05371611937880516, 0.05321337655186653, -0.02126988209784031, 0.051473114639520645, 0.011833788827061653, 0.025543194264173508, 0.004660037811845541, 0.045710910111665726, 0.027148103341460228, 0.034592561423778534, 0.0205544400960207, 0.00990983098745346, 0.02608460932970047, -0.02142457105219364, -0.0002989566419273615, 0.0013511208817362785, 0.03368375822901726, 0.029642479494214058, -0.04072215408086777, -0.02712876722216606, 0.029971197247505188, -0.0018067314522340894, 0.018031058833003044, 0.004038860555738211, 0.02546584978699684, 0.023802930489182472, 0.019838998094201088, -0.003603794611990452, -0.031982168555259705, 0.0037705698050558567, -0.029758498072624207, -0.015169292688369751, 0.021695278584957123, -0.028598321601748466, -0.0528266504406929, 0.0532907210290432, 0.024711735546588898, -0.0007734502432867885, -0.06798627227544785, 0.03880786523222923, 0.04304250702261925, 0.0017064246349036694, 0.03548203036189079, 0.06326822936534882, -0.02504045143723488, -0.02753482758998871, 0.013245334848761559, 0.01772167906165123, -0.0003211631265003234, 0.01195947453379631, 0.03758968040347099, -0.03323902562260628, -0.023744922131299973, 0.0242476649582386, 0.013960776850581169, 0.003081715665757656, 0.02304881624877453, 0.02215934917330742, 0.00522078899666667, 0.002598309423774481, -0.06369362771511078, 0.021308554336428642, 0.02786354534327984, -0.017421966418623924, -0.0111860241740942, 0.06729017198085785, 0.02215934917330742, -0.008082554675638676, -0.06075451523065567, -0.02337753400206566, -0.08531156182289124, -0.06423503905534744, 0.03815043345093727, 0.022352712228894234, 0.007879524491727352, -0.0012846525060012937, -0.00029623747104778886, -0.08593031764030457, -0.019084883853793144, -0.04578825458884239, -0.01649382710456848, 0.04126356914639473, -0.04358392208814621, 0.024634389206767082, -0.03229154646396637, 0.06918512284755707, -0.0004139167140237987, 0.004179048351943493, -0.11980744451284409, -0.004899323917925358, -0.01503393892198801, -0.037241630256175995, 0.008652974851429462, 0.005675191059708595, 0.07046131789684296, 0.04706444591283798, -0.005438321735709906, 0.02082514762878418, 0.032098185271024704, -0.029932523146271706, 0.02569788321852684, 0.00005494971264852211, -0.03987136110663414, 0.04277179762721062, 0.019897006452083588, -0.005810544826090336, 0.03815043345093727, 0.0029584472067654133, -0.02581390179693699, 0.04652303084731102, 0.033587075769901276, -0.08461545407772064, -0.004507764708250761, 0.01281993743032217, 0.01633913628757, 0.01201748289167881, -0.018959198147058487, 0.032813627272844315, 0.010663945227861404, 0.017479974776506424, -0.022855455055832863, 0.030280577018857002, 0.04180498421192169, 0.0411088801920414, 0.009015529416501522, -0.003473274875432253, -0.04756718873977661, 0.025059787556529045, -0.004747050814330578, -0.02442169189453125, 0.017412299290299416, 0.013525711372494698, 0.004174214322119951, 0.04188232868909836, -0.005443156231194735, -0.005119273904711008, 0.07131211459636688, -0.044280026108026505, -0.02763151004910469, 0.03573340177536011, 0.013206662610173225, 0.032252874225378036, 0.0054576583206653595, 0.005505998618900776, -0.07831183820962906, 0.05742868036031723, 0.02625863626599312, 0.0284049604088068, -0.010460914112627506, -0.0033935129176825285, -0.026123281568288803, -0.018514465540647507, -0.010721953585743904, 0.0007970163132995367, 0.012906950898468494, -0.009948503226041794, -0.025949254631996155, -0.03449587896466255, 0.0648924708366394, 0.042230382561683655, 0.06825698167085648, -0.02768951840698719, 0.02221735753118992, 0.021289218217134476, -0.030976681038737297, -0.0000852003795444034, 0.054296206682920456, 0.038962554186582565, -0.022062668576836586, -0.03149875998497009, -0.009764809161424637, 0.0008858421933837235, 0.10170870274305344, -0.009324909187853336, 0.007091572042554617, -0.007347777020186186, 0.09173119813203812, 0.04226905480027199, 0.01882384531199932, 0.018205085769295692, 0.04516949504613876, 0.011804784648120403, -0.028598321601748466, -0.02542717568576336, -0.021753286942839622, 0.009204057976603508, 0.08012944459915161, -0.029333099722862244, 0.0613732747733593, -0.0022937634494155645, -0.011205360293388367, -0.011234364472329617, 0.0022659674286842346, -0.04950081557035446, 0.02264275588095188, 0.0018260676879435778, -0.006854702718555927, -0.024325009435415268, -0.02674204111099243, -0.032929643988609314, 0.05011957511305809, -0.005887889768928289, 0.014018785208463669, 0.011118346825242043, 0.005713863763958216, 0.05549505352973938, -0.0012653162702918053, -0.03238822892308235, -0.0003124013892374933, 0.03418650105595589, -0.05700328201055527, 0.013187326490879059, 0.023242179304361343, -0.0060909204185009, -0.08268182724714279, -0.04984886571764946, -0.008851171471178532, 0.01799238659441471, 0.06895308941602707, 0.006115091033279896, 0.03699025884270668, -0.06380964070558548, 0.015285310335457325 ]
44,133
gwcs.coordinate_frames
__init__
null
def __init__(self, naxes, axes_type, axes_order, reference_frame=None, reference_position=None, unit=None, axes_names=None, name=None, axis_physical_types=None): self._naxes = naxes self._axes_order = tuple(axes_order) if isinstance(axes_type, str): self._axes_type = (axes_type,) else: self._axes_type = tuple(axes_type) self._reference_frame = reference_frame if unit is not None: if astutil.isiterable(unit): unit = tuple(unit) else: unit = (unit,) if len(unit) != naxes: raise ValueError("Number of units does not match number of axes.") else: self._unit = tuple([u.Unit(au) for au in unit]) else: self._unit = tuple(u.Unit("") for na in range(naxes)) if axes_names is not None: if isinstance(axes_names, str): axes_names = (axes_names,) else: axes_names = tuple(axes_names) if len(axes_names) != naxes: raise ValueError("Number of axes names does not match number of axes.") else: axes_names = tuple([""] * naxes) self._axes_names = axes_names if name is None: self._name = self.__class__.__name__ else: self._name = name self._reference_position = reference_position if len(self._axes_type) != naxes: raise ValueError("Length of axes_type does not match number of axes.") if len(self._axes_order) != naxes: raise ValueError("Length of axes_order does not match number of axes.") super(CoordinateFrame, self).__init__() # _axis_physical_types holds any user supplied physical types self._axis_physical_types = self._set_axis_physical_types(axis_physical_types)
(self, naxes, axes_type, axes_order, reference_frame=None, reference_position=None, unit=None, axes_names=None, name=None, axis_physical_types=None)
[ -0.01354285515844822, -0.01744980923831463, -0.014641685411334038, 0.009880085475742817, -0.019966788589954376, -0.0018372545018792152, -0.0522930771112442, 0.024925613775849342, -0.05860430747270584, 0.010819257237017155, 0.029884440824389458, 0.021300412714481354, 0.0024629775434732437, 0.04248812422156334, 0.03300249204039574, 0.023516857996582985, 0.04417863115668297, -0.007203446235507727, -0.005503545515239239, -0.05169200524687767, -0.02148824743926525, 0.011795995756983757, 0.026597339659929276, -0.02223958447575569, 0.011965046636760235, 0.01153302751481533, -0.006733860354870558, 0.009330670349299908, -0.019403286278247833, -0.03722876310348511, -0.07111407816410065, 0.008682641200721264, -0.023009704425930977, 0.014359934255480766, 0.014622902497649193, -0.039858441799879074, -0.03116171434521675, 0.01026514545083046, -0.00045168286305852234, 0.05879214406013489, 0.029640255495905876, -0.06100858747959137, 0.052931711077690125, -0.007823299616575241, -0.007738774176687002, 0.06964896619319916, -0.04485483467578888, -0.0204175915569067, -0.0526687428355217, 0.011063441634178162, 0.018069662153720856, -0.05349521338939667, 0.056801099330186844, -0.0037097278982400894, -0.030034707859158516, 0.04801045358181, 0.019497202709317207, 0.09031074494123459, 0.0030523077584803104, -0.006992132868617773, -0.04797288775444031, 0.07246648520231247, -0.023779824376106262, -0.06961140036582947, -0.023366589099168777, -0.02744259499013424, 0.010668989270925522, -0.019966788589954376, 0.016595162451267242, 0.01930936798453331, 0.048987191170454025, 0.029489988461136818, -0.01776912622153759, -0.031574949622154236, 0.03736024722456932, 0.023742258548736572, -0.04988879710435867, 0.08625352382659912, 0.0031955314334481955, 0.04169921949505806, -0.06927330046892166, 0.056613266468048096, 0.002243446186184883, 0.016914481297135353, 0.017308933660387993, 0.047334250062704086, 0.007297363597899675, 0.052030108869075775, 0.008837604895234108, -0.0005582201411016285, -0.049099892377853394, -0.048198286443948746, -0.02088717743754387, -0.016764214262366295, -0.026822742074728012, -0.03309640660881996, 0.016576379537582397, -0.03918223828077316, -0.012885434553027153, 0.006306537427008152, -0.032551687210798264, -0.04778505116701126, -0.05650056526064873, 0.007865562103688717, -0.07081353664398193, 0.022972138598561287, -0.037491731345653534, -0.03559460490942001, -0.044441599398851395, 0.011288843117654324, 0.003474934957921505, 0.023761041462421417, 0.030823612585663795, 0.05499789118766785, -0.007579114753752947, -0.003341102972626686, -0.041924621909856796, -0.002272795420140028, -0.01902761682868004, -0.009851910173892975, 0.02586478553712368, 0.06901033222675323, 0.014228450134396553, 0.03876900300383568, 0.0000973656788119115, 0.015073704533278942, -0.003573548048734665, -0.024080360308289528, 0.028212714940309525, -0.06668118387460709, 0.05770270526409149, -0.07554696500301361, -0.01595652662217617, 0.05236820876598358, 0.039670608937740326, 0.030222542583942413, -0.012444023974239826, -0.0027564687188714743, -0.12509766221046448, 0.019872872158885002, 0.0487242229282856, 0.027066925540566444, 0.07284215092658997, -0.007255100645124912, -0.07073840498924255, 0.09496903419494629, -0.017787910997867584, -0.05319467931985855, -0.10586342215538025, -0.019093358889222145, -0.04530563950538635, -0.007588506676256657, -0.031218064948916435, -0.06705685704946518, -0.0035899835638701916, -0.08707999438047409, 0.0030523077584803104, -0.02729232795536518, 0.035200152546167374, 0.09737331420183182, -0.047296684235334396, 0.009598334319889545, -0.026165321469306946, -0.04526807367801666, -0.010471763089299202, 0.039633043110370636, -0.022051749750971794, -0.1393730640411377, -0.0009573680581524968, -0.002925519598647952, 0.022803086787462234, 0.0024348024744540453, 0.02693544141948223, 0.003211966948583722, -0.05225550755858421, -0.035200152546167374, -0.022558901458978653, 0.0044422815553843975, -0.03463665023446083, -0.012115313671529293, 0.027949746698141098, 0.0015296757919713855, -0.016613945364952087, -0.025094665586948395, -0.01694265566766262, 0.05563652515411377, 0.0026860309299081564, 0.04102301597595215, 0.06314989924430847, 0.01930936798453331, 0.0064568049274384975, 0.04695858061313629, -0.014050007797777653, 0.01749676652252674, 0.034016795456409454, -0.003512501949444413, 0.007330234628170729, 0.0063441041857004166, 0.007795124314725399, 0.028062447905540466, -0.022878220304846764, 0.06108372285962105, 0.037491731345653534, -0.020661775022745132, -0.017600076273083687, 0.049700960516929626, 0.004972913768142462, -0.013880956918001175, -0.005667900666594505, 0.0015836781822144985, 0.054547086358070374, -0.04395323246717453, -0.03593270480632782, -0.019797736778855324, -0.006236099638044834, 0.039745744317770004, -0.0522930771112442, -0.020624209195375443, 0.019065184518694878, 0.01998557150363922, 0.11811022460460663, 0.06442717462778091, -0.001109983422793448, -0.01653881184756756, -0.0243621114641428, -0.012321931309998035, 0.04782261699438095, -0.009368237107992172, -0.02175121381878853, 0.01686752215027809, -0.04695858061313629, -0.007536852266639471, -0.026766391471028328, -0.00035218935227021575, 0.010377846658229828, -0.04560617357492447, -0.0031908354721963406, -0.018492288887500763, -0.062699094414711, -0.02826906554400921, -0.016886305063962936, 0.003355190623551607, -0.013289278373122215, -0.023441722616553307, -0.002516979817301035, -0.0320633202791214, 0.046620480716228485, 0.06739495694637299, -0.07472049444913864, -0.017186840996146202, -0.007170575205236673, 0.01800392009317875, -0.0261465385556221, 0.013214144855737686, 0.005541112739592791, -0.010359062813222408, -0.055824361741542816, -0.0766739696264267, 0.02034245803952217, -0.04301406070590019, 0.01574990712106228, -0.02883256785571575, 0.033227890729904175, 0.016595162451267242, 0.019891655072569847, -0.015984700992703438, -0.0035665042232722044, -0.031067797914147377, -0.004076004959642887, 0.0016869870014488697, 0.10886877030134201, 0.0691230297088623, 0.0031368331983685493, 0.04015897959470749, -0.011871129274368286, -0.05717676877975464, 0.015571465715765953, -0.07171514630317688, 0.032476555556058884, 0.028325416147708893, 0.032720740884542465, -0.023347806185483932, -0.012660033069550991, 0.02748016081750393, 0.02124406211078167, -0.027386244386434555, -0.01484830304980278, -0.03270195424556732, 0.0238173920661211, -0.016454286873340607, -0.030278893187642097, 0.028024880215525627, 0.0039022581186145544, 0.00781860388815403, -0.04038437828421593, -0.06423933804035187, -0.02843811735510826, 0.03559460490942001, 0.0022763172164559364, 0.022990921512246132, -0.007762253284454346, 0.02962147258222103, 0.03195061907172203, -0.020999876782298088, 0.0160316601395607, -0.06371340155601501, -0.00904422253370285, -0.004712293390184641, 0.04568130895495415, 0.03948277607560158, 0.05000149831175804, 0.07156487554311752, -0.08332330733537674, 0.002772904234007001, 0.03613932430744171, 0.040459513664245605, -0.006503763608634472, -0.047559648752212524, 0.0569513663649559, 0.0788152813911438, 0.01705535687506199, -0.08001742511987686, -0.03159373253583908, -0.02625923790037632, -0.027987314388155937, 0.058904845267534256, -0.01959111914038658, -0.044253766536712646, 0.05725190043449402, -0.0013042745413258672, -0.016134968027472496, -0.042826224118471146, -0.02396765910089016, 0.001211531343869865, -0.013927915133535862, -0.09729818254709244, 0.00017462721734773368, 0.044328901916742325, 0.04879935830831528, 0.0025475029833614826, -0.02550790086388588, -0.010471763089299202, -0.039858441799879074, -0.0076307691633701324, -0.02622167207300663, -0.05924294516444206, -0.0023995835799723864, -0.02980930730700493, 0.04526807367801666, 0.00876716710627079, -0.0440659336745739, 0.013580421917140484, -0.01899944245815277, -0.046733178198337555, 0.0005728946998715401, 0.061309121549129486, -0.018698906525969505, -0.025244932621717453, -0.035200152546167374, -0.00906300637871027, 0.04113571718335152, -0.030260110273957253, -0.019515985623002052, -0.02507588267326355, -0.06874736398458481, -0.023329023271799088, 0.062060460448265076, -0.05225550755858421, 0.01998557150363922, 0.02633437141776085, 0.01651063747704029, -0.03337815776467323, -0.02890770323574543, 0.029320938512682915, -0.021863915026187897, 0.056838665157556534, 0.016811171546578407, 0.0025874178390949965, -0.006954565644264221, -0.1550760120153427, -0.005029263906180859, -0.04770991951227188, -0.02148824743926525, 0.012462806887924671, -0.056613266468048096, 0.00988947693258524, 0.020361240953207016, 0.05774027109146118, -0.005287536419928074, 0.040459513664245605, 0.0029560427647083998, -0.00686064874753356, 0.0133456289768219, -0.048198286443948746, -0.03829941898584366, 0.00647558830678463, -0.008147314190864563, 0.044441599398851395, -0.045831575989723206, -0.027555294334888458, -0.008147314190864563, -0.035125017166137695, -0.016247669234871864, 0.04639507830142975, -0.006517850793898106, 0.00811444316059351, 0.01484830304980278, 0.018182363361120224, 0.01407818216830492, 0.016332194209098816, 0.05616246163845062, 0.01998557150363922, -0.007076658308506012, -0.011420327238738537, -0.05849160999059677, 0.026672473177313805, -0.022014182060956955, -0.05007662996649742, 0.06942356377840042, -0.022915787994861603, -0.06724468618631363, 0.068409264087677, 0.01257550809532404, 0.03833698481321335, 0.052743878215551376, 0.02479413151741028, -0.014190883375704288, -0.009711034595966339, 0.04639507830142975, 0.0374353788793087, -0.05484762415289879, 0.009546679444611073, -0.06784575432538986, 0.002831602469086647, 0.023648342117667198, 0.0011792473960667849, 0.0020239148288965225, 0.005038655828684568, -0.0522930771112442, 0.04451673477888107, -0.01651063747704029, -0.003425628412514925, 0.009382324293255806, 0.04553103819489479, -0.07194054871797562, -0.016717255115509033, -0.02242741733789444, 0.0011598769342526793, -0.040647346526384354, -0.004327233415096998, 0.049062326550483704, 0.09729818254709244, 0.00916161946952343, -0.083097904920578, 0.00799704622477293, -0.03435489907860756, -0.019130926579236984, -0.015346064232289791, 0.04008384421467781, -0.036233242601156235, -0.013956090435385704, -0.010593855753540993, -0.0035618082620203495, -0.04928772523999214, -0.03503110259771347, 0.07441996037960052, 0.045080237090587616, -0.0361768901348114, 0.006607072427868843, -0.019168492406606674, 0.04801045358181, 0.05071526765823364, 0.007109529338777065, -0.012490982189774513, -0.03257047012448311, 0.01619131863117218, 0.007283275946974754, -0.0034678911324590445, -0.004482196643948555, -0.05886727571487427, -0.04624481126666069, -0.005048047285526991, -0.017224406823515892, -0.010518722236156464, 0.004893084056675434, 0.031574949622154236, 0.007297363597899675, -0.049663394689559937, 0.004768643993884325, 0.058341339230537415, -0.03799888491630554, 0.033622343093156815, 0.0010536331683397293, 0.03052307665348053, 0.017196232452988625, 0.03649620711803436, 0.023948876187205315, -0.016210101544857025, -0.03290857374668121, -0.005235881544649601, 0.04030924662947655, -0.001438106526620686, 0.030147409066557884, -0.03452394902706146, 0.009767385199666023, -0.048123154789209366, -0.0014744994696229696, -0.014519592747092247, -0.022803086787462234, -0.025282500311732292, -0.016088008880615234, -0.020398806780576706, 0.06172235682606697, -0.05161687359213829, 0.007161183748394251, 0.045831575989723206, -0.0422627218067646, 0.045944277197122574, 0.00390460598282516, 0.045981843024492264, 0.044328901916742325, 0.019365718588232994, 0.03270195424556732, 0.04038437828421593, -0.01875525712966919, 0.01614435948431492, -0.007480502128601074, 0.029433637857437134, 0.051316335797309875, 0.005151356104761362, 0.00618914095684886, -0.040459513664245605, -0.053758181631565094, 0.02965904027223587, 0.023948876187205315, 0.03416706249117851, 0.01769399270415306, 0.056049760431051254, 0.03937007486820221, 0.023911308497190475, 0.003223706502467394, 0.015355455689132214, 0.02049272507429123, -0.055974628776311874, -0.024512378498911858, -0.043615128844976425, 0.058942411094903946, -0.01305448543280363, 0.0651785135269165, 0.0247189961373806, 0.0383182018995285, -0.020755693316459656, 0.030541861429810524, 0.0072738840244710445, 0.036909446120262146, -0.0025639384984970093, 0.005522328894585371, 0.00627836212515831, -0.02883256785571575, -0.013956090435385704, 0.01153302751481533, 0.05635029822587967, 0.033828962594270706, -0.003676856867969036, 0.0020485681015998125, 0.027611644938588142, 0.018295062705874443, -0.0167454294860363, 0.015825042501091957, 0.010809864848852158, -0.002925519598647952, 0.003672160906717181, 0.0042967102490365505, -0.02120649442076683, 0.010631422512233257, -0.03803645074367523, 0.003869387088343501, 0.013749472796916962, -0.04372783005237579, -0.026747606694698334, 0.011495460756123066, -0.0148670868948102, -0.04616967588663101, -0.037379030138254166, 0.012716383673250675, 0.03249533846974373, -0.011655120179057121, 0.007053178735077381, 0.052706312388181686, -0.015177013352513313, 0.0023150581400841475, -0.00781860388815403, 0.019290585070848465, 0.037529297173023224, -0.0028057752642780542, 0.015937741845846176, -0.004113571718335152, -0.052706312388181686, 0.0184453297406435, -0.008424369618296623, 0.017703384160995483, 0.02618410438299179, 0.02338537387549877, 0.03225115314126015, 0.0019100402714684606, -0.048160720616579056, 0.011176141910254955, 0.029508771374821663, -0.038994405418634415, 0.006334712728857994, 0.072015680372715, 0.007959479466080666, -0.009293103590607643, -0.05345764756202698, -0.011842953972518444, -0.06544148176908493, -0.04248812422156334, 0.042037323117256165, -0.0032659692224115133, 0.008832909166812897, 0.005545808468014002, -0.0016869870014488697, -0.04936286062002182, 0.00140406156424433, -0.07269188016653061, -0.0059966109693050385, 0.04647020995616913, -0.06480284035205841, 0.026353156194090843, -0.012847867794334888, 0.06532877683639526, 0.020398806780576706, -0.009433979168534279, -0.10751636326313019, -0.007320842705667019, -0.019685037434101105, -0.004193401429802179, 0.00628775404766202, 0.05022689700126648, 0.03876900300383568, 0.029208237305283546, -0.000013078698430035729, 0.054509520530700684, 0.016576379537582397, -0.0023890177253633738, -0.011345192790031433, 0.006531938444823027, -0.02515101619064808, 0.038956839591264725, 0.01105405017733574, 0.009654683992266655, 0.00914283562451601, 0.010443588718771935, -0.01219983957707882, 0.02764921262860298, 0.05537355691194534, -0.07276701927185059, -0.028325416147708893, 0.026127753779292107, -0.01198382955044508, 0.002491152612492442, -0.005193619057536125, 0.01852046512067318, 0.02479413151741028, 0.020117055624723434, -0.010950741358101368, 0.006423933897167444, 0.03268317133188248, 0.006921694613993168, 0.020830826833844185, -0.00408539641648531, -0.023798609152436256, 0.03933250904083252, -0.022483767941594124, -0.024700213223695755, 0.03876900300383568, 0.017365282401442528, -0.0017351196147501469, 0.04556860774755478, 0.0036463337019085884, -0.035481903702020645, 0.04327702894806862, -0.029715389013290405, -0.04955069348216057, 0.024906830862164497, 0.004773339722305536, 0.028212714940309525, 0.022258367389440536, -0.0061562699265778065, -0.07828934490680695, 0.05030203238129616, 0.04861152172088623, 0.014857694506645203, -0.03258925676345825, -0.003627550322562456, -0.027987314388155937, -0.005071526858955622, -0.04241298884153366, 0.00911935605108738, 0.045155372470617294, -0.015101879835128784, -0.010988308116793633, -0.047522082924842834, 0.03910710662603378, 0.021826349198818207, 0.02314118854701519, -0.029001619666814804, 0.031086580827832222, 0.013880956918001175, -0.03535041958093643, -0.04654534533619881, 0.0012960567837581038, 0.06810872256755829, -0.023911308497190475, -0.05507302284240723, 0.021657297387719154, 0.03696579486131668, 0.08610325306653976, -0.03302127495408058, -0.010809864848852158, 0.03142468258738518, 0.058341339230537415, 0.01998557150363922, 0.017168056219816208, 0.04876178875565529, -0.014500809833407402, -0.03371626138687134, -0.016952047124505043, -0.027273543179035187, -0.042788658291101456, 0.027818262577056885, 0.06006941571831703, -0.001114679267629981, 0.035200152546167374, -0.03506866842508316, -0.027893396094441414, -0.004287318326532841, -0.019685037434101105, -0.02984687313437462, 0.050414733588695526, -0.005348582286387682, 0.0028738651890307665, -0.02887013554573059, -0.02006070502102375, -0.022840654477477074, 0.04680831357836723, -0.009410499595105648, -0.004428194370120764, 0.021018661558628082, 0.017947569489479065, -0.00829288549721241, -0.009274319745600224, -0.009711034595966339, 0.016134968027472496, -0.01113857515156269, -0.05473492294549942, 0.031650085002183914, 0.03435489907860756, -0.0067620356567204, -0.06927330046892166, -0.020210973918437958, 0.0010818083537742496, 0.0014498461969196796, 0.04000871255993843, -0.0013042745413258672, 0.018144795671105385, 0.013364411890506744, -0.005118485074490309 ]
44,137
gwcs.coordinate_frames
coordinate_to_quantity
Given a rich coordinate object return an astropy quantity object.
def coordinate_to_quantity(self, *coords): """ Given a rich coordinate object return an astropy quantity object. """ # NoOp leaves it to the model to handle # If coords is a 1-tuple of quantity then return the element of the tuple # This aligns the behavior with the other implementations if not hasattr(coords, 'unit') and len(coords) == 1: return coords[0] return coords
(self, *coords)
[ 0.0051259915344417095, -0.019319742918014526, 0.007418307941406965, 0.034816138446331024, 0.0277108047157526, -0.04899297654628754, -0.015005790628492832, 0.02613748051226139, 0.03271837532520294, -0.02574837952852249, 0.007232215721160173, 0.01355934701859951, -0.010471910238265991, 0.004542339127510786, -0.01962425746023655, 0.035120654851198196, 0.026052894070744514, -0.034816138446331024, 0.00308320764452219, 0.04632001370191574, 0.014371385797858238, 0.02260173112154007, 0.056538164615631104, 0.015885498374700546, -0.035459004342556, 0.009101595729589462, 0.06614728271961212, -0.004660761449486017, -0.0037154979072511196, -0.05125991627573967, -0.05136141926050186, 0.00034733666689135134, 0.053696028888225555, 0.06371116638183594, -0.011080938391387463, -0.0032016299664974213, -0.009304605424404144, 0.037827447056770325, -0.017526492476463318, -0.019878020510077477, -0.06723000109195709, -0.015555608086287975, 0.06990295648574829, -0.00010057960753329098, 0.016722911968827248, 0.010751048102974892, -0.03830113634467125, -0.01972576230764389, -0.04899297654628754, 0.04547414183616638, 0.042902689427137375, -0.003679548390209675, 0.05007569119334221, 0.005988782271742821, -0.052782487124204636, 0.0558614656329155, 0.03358116373419762, 0.10387323051691055, -0.005925341509282589, 0.03549283742904663, -0.026475830003619194, 0.09412876516580582, -0.014066871255636215, -0.08912120014429092, 0.0038360347971320152, -0.07335412502288818, 0.005405129864811897, -0.0017382693476974964, 0.005481258034706116, 0.07024130970239639, -0.009296146221458912, -0.003205859335139394, 0.02011486515402794, 0.007701675407588482, 0.06381267309188843, 0.008386832661926746, -0.017391152679920197, 0.026425078511238098, 0.08133916556835175, 0.0024910965003073215, -0.023413769900798798, -0.01695975661277771, 0.052850157022476196, 0.03048526868224144, -0.026272820308804512, 0.025629958137869835, 0.02908111922442913, 0.06709466129541397, 0.01969192735850811, 0.00675429729744792, -0.04740273207426071, 0.013703146018087864, -0.05836524814367294, -0.003013423178344965, -0.008044254034757614, 0.011267030611634254, -0.020554717630147934, -0.04408691078424454, -0.018930641934275627, 0.014582853764295578, -0.01184222474694252, 0.036913905292749405, -0.043038029223680496, -0.013212539255619049, -0.032633788883686066, -0.014252963475883007, 0.013017987832427025, -0.04564331844449043, 0.026340490207076073, 0.044865112751722336, -0.025410030037164688, 0.032887548208236694, -0.041853804141283035, 0.0031106986571103334, -0.0845196470618248, -0.03637254610657692, -0.008306474424898624, -0.0018270860891789198, -0.03254919871687889, 0.007663610856980085, 0.010641084983944893, 0.045744821429252625, 0.02123141661286354, 0.04618467763066292, 0.03234618902206421, 0.034985315054655075, 0.0411432720720768, 0.020909985527396202, 0.01532722171396017, -0.029098037630319595, 0.06465854495763779, -0.07666994631290436, 0.002859051339328289, 0.05684267729520798, 0.03718458488583565, 0.05004185810685158, 0.028895027935504913, -0.017441904172301292, -0.01190989464521408, 0.04696287959814072, 0.06949693709611893, 0.03478230535984039, 0.0618840828537941, 0.010725672356784344, -0.018135521560907364, 0.030688278377056122, -0.009296146221458912, -0.017644913867115974, -0.08032412081956863, -0.035831186920404434, -0.07024130970239639, 0.042936522513628006, 0.061478063464164734, -0.017458822578191757, -0.008788621984422207, -0.013635476119816303, 0.018592292442917824, -0.06181641295552254, 0.06452320516109467, 0.006369424983859062, -0.013212539255619049, 0.020757727324962616, 0.028793523088097572, -0.017712583765387535, -0.04209065064787865, 0.02603597566485405, -0.04865462705492973, -0.04124477505683899, -0.02102840691804886, -0.017374234274029732, 0.004741119220852852, 0.013077199459075928, 0.03630487620830536, -0.01972576230764389, -0.033547330647706985, 0.017526492476463318, -0.04933132231235504, -0.007151857949793339, -0.02456415630877018, -0.005705414805561304, 0.030958957970142365, -0.04428992047905922, 0.0028252163901925087, 0.029723983258008957, 0.03104354627430439, 0.019184403121471405, 0.02119758166372776, -0.032921385020017624, 0.0357973538339138, -0.006644333712756634, 0.03742143139243126, 0.04209065064787865, -0.03725225478410721, 0.01776333712041378, 0.00856869574636221, 0.008052712306380272, 0.047876421362161636, 0.006119892466813326, -0.06191791594028473, 0.08891818672418594, -0.06496305763721466, -0.04401924088597298, 0.014083788730204105, 0.03965453431010246, -0.031517233699560165, 0.0020871921442449093, -0.00009192262223223224, -0.04019589349627495, -0.051699768751859665, -0.04107560217380524, 0.055590786039829254, 0.027423208579421043, -0.051733605563640594, 0.009220018051564693, 0.03725225478410721, 0.0271525289863348, -0.000006806635610701051, -0.03227851912379265, 0.06005699560046196, 0.01487045083194971, 0.10617399960756302, -0.027372457087039948, 0.04763957858085632, -0.004231480415910482, 0.027000272646546364, 0.0057688551023602486, 0.002804069546982646, 0.009313063696026802, 0.02473333105444908, 0.04919598251581192, -0.01059879083186388, -0.022026536986231804, 0.022466391324996948, 0.02211112529039383, -0.016071589663624763, -0.014109164476394653, -0.021925032138824463, -0.03315822780132294, -0.02123141661286354, 0.015843205153942108, -0.07193305343389511, -0.0007977641653269529, -0.012916483916342258, 0.03128039091825485, -0.008822456933557987, -0.03175408020615578, 0.016029296442866325, 0.035898856818675995, -0.05748554319143295, 0.007274509407579899, 0.01233283057808876, 0.04956816881895065, 0.018389282748103142, -0.013001070357859135, 0.044662103056907654, -0.06804203987121582, -0.033513493835926056, -0.050786226987838745, -0.009702165611088276, -0.03816579654812813, -0.027778474614024162, -0.03325973451137543, 0.019505836069583893, 0.00687694875523448, -0.015403350815176964, -0.007473289500921965, -0.0011778783518821, 0.023836705833673477, -0.009287687949836254, 0.06783902645111084, 0.007765115704387426, 0.02280474081635475, -0.018456952646374702, -0.0036013051867485046, 0.01587704010307789, -0.03221084922552109, 0.06350816041231155, 0.00035394506994634867, 0.002867510076612234, 0.020013360306620598, -0.04341021180152893, 0.03863948583602905, -0.013390172272920609, -0.005582762882113457, -0.009313063696026802, -0.017002051696181297, 0.050786226987838745, -0.01689208671450615, -0.03297213837504387, -0.012383583001792431, -0.011427747085690498, 0.05447423458099365, -0.022652484476566315, -0.000429809297202155, 0.01986110210418701, -0.016105424612760544, -0.08499334007501602, 0.007439454551786184, 0.07612858712673187, 0.05024486780166626, -0.015217258594930172, 0.01061570830643177, -0.048688460141420364, -0.044729772955179214, 0.007422537077218294, -0.009541449137032032, 0.046793702989816666, -0.007519812788814306, -0.06783902645111084, 0.04550797864794731, 0.030146921053528786, 0.007634005509316921, -0.02694951929152012, 0.003874099114909768, 0.00888166856020689, 0.03955303132534027, -0.0119860228151083, 0.030333012342453003, 0.03562817722558975, 0.06638412922620773, 0.0343424528837204, -0.022094206884503365, -0.007845473475754261, -0.007748198229819536, -0.0346807986497879, 0.027423208579421043, -0.08885052055120468, 0.018879888579249382, 0.017560327425599098, 0.00754941813647747, -0.02974090166389942, -0.003408869029954076, -0.003624566597864032, -0.01587704010307789, -0.0016959757776930928, -0.025460783392190933, 0.01661294884979725, 0.023329181596636772, 0.014515183866024017, 0.02217879518866539, 0.004102484788745642, -0.018135521560907364, -0.037150751799345016, 0.056741174310445786, -0.03371650353074074, -0.028878111392259598, 0.021502096205949783, -0.07085033506155014, 0.09074527770280838, 0.00008749500557314605, -0.06760218739509583, -0.004652302712202072, 0.0019613683689385653, -0.04046657308936119, -0.003408869029954076, 0.04652302339673042, 0.013034905306994915, -0.03968837112188339, -0.025782214477658272, 0.0022902016062289476, 0.007583253085613251, -0.07362480461597443, 0.037928953766822815, -0.015817828476428986, -0.039823710918426514, -0.030536022037267685, 0.03522215783596039, -0.03853798285126686, -0.011884517967700958, 0.023667531087994576, -0.02155284956097603, 0.008018877357244492, -0.08695576339960098, 0.0392485149204731, -0.05342534929513931, 0.05711335688829422, 0.0061917915008962154, 0.02025020308792591, -0.07673761248588562, -0.10773041099309921, -0.019353577867150307, -0.05504942685365677, -0.032819878309965134, 0.040737252682447433, 0.012442794628441334, 0.01867688074707985, -0.004026356153190136, -0.013863861560821533, -0.07788800448179245, -0.0068219671957194805, 0.016105424612760544, -0.03535749763250351, 0.013500136323273182, -0.03134806081652641, -0.01860921084880829, -0.011706884950399399, 0.050684720277786255, -0.011681508272886276, -0.0588727742433548, -0.0002952626091428101, -0.005578533746302128, -0.07051198929548264, -0.023447604849934578, 0.014532101340591908, -0.038774825632572174, -0.03134806081652641, -0.00017948371532838792, -0.009947468526661396, -0.006783903110772371, 0.015547148883342743, 0.020977655425667763, 0.01979343220591545, 0.05220729112625122, -0.006944618653506041, -0.03836880624294281, -0.030333012342453003, -0.03731992468237877, -0.06036151200532913, -0.002905574394389987, 0.04212448373436928, 0.0012836125679314137, 0.014650523662567139, 0.011723802424967289, 0.01969192735850811, 0.023329181596636772, -0.045913998037576675, 0.0023050045128911734, -0.012764226645231247, 0.04645535349845886, 0.06594427675008774, -0.06871873885393143, -0.07612858712673187, -0.011097855865955353, -0.07579023391008377, 0.040365070104599, 0.00457194447517395, 0.01059879083186388, -0.009262311272323132, -0.05153059586882591, 0.056571997702121735, 0.0512937493622303, 0.03630487620830536, 0.01986110210418701, 0.03674473240971565, -0.03146648406982422, -0.08553469926118851, -0.020199451595544815, 0.006534370128065348, -0.014142999425530434, -0.005379753652960062, 0.031449563801288605, -0.01004051510244608, 0.059515636414289474, -0.06695932149887085, 0.036846235394477844, -0.03721842169761658, -0.03752293437719345, -0.04946666210889816, 0.0033052493818104267, -0.05948180332779884, 0.018237026408314705, -0.02014870010316372, 0.0005154539830982685, -0.03422402963042259, -0.005696956068277359, 0.024090468883514404, -0.04212448373436928, -0.03051910363137722, 0.007997730746865273, -0.0018619783222675323, 0.060666024684906006, 0.020622387528419495, 0.013356337323784828, -0.043714724481105804, -0.00533323036506772, 0.031517233699560165, -0.0028188724536448717, 0.038944002240896225, 0.02568070963025093, -0.044966619461774826, 0.003269299864768982, -0.07734664529561996, 0.03620337322354317, 0.008623677305877209, -0.006348278373479843, 0.0819481909275055, -0.014988873153924942, -0.04435759037733078, 0.016917463392019272, 0.0573163665831089, -0.03368267044425011, 0.06773752719163895, 0.03830113634467125, -0.0020406690891832113, 0.014540559612214565, 0.0365755558013916, 0.02280474081635475, -0.05484641715884209, -0.053865205496549606, 0.03532366454601288, 0.052680980414152145, 0.02525777369737625, 0.037083081901073456, -0.0055573866702616215, -0.00025587662821635604, -0.03654172271490097, -0.014041494578123093, 0.009710623882710934, -0.0033919515553861856, -0.005620827432721853, -0.07964742183685303, 0.046793702989816666, 0.07213606685400009, 0.007756656967103481, 0.018000181764364243, 0.024090468883514404, -0.019032146781682968, 0.03559434413909912, -0.006508993916213512, -0.007942749187350273, 0.01835544779896736, 0.03402101993560791, 0.01010818500071764, -0.012671180069446564, -0.027778474614024162, -0.008010419085621834, -0.06672247499227524, -0.03525599464774132, 0.020554717630147934, 0.00439854059368372, 0.02070697583258152, 0.013813109137117863, -0.008171134628355503, 0.026408160105347633, 0.011334700509905815, 0.010226606391370296, 0.027879979461431503, -0.026120563969016075, 0.024682579562067986, 0.03762443736195564, 0.018490787595510483, -0.00017617952835280448, 0.03087437152862549, -0.026391243562102318, 0.012518922798335552, 0.041819971054792404, -0.02123141661286354, -0.006745838560163975, 0.0036710896529257298, 0.009803670458495617, -0.062459275126457214, -0.03840264305472374, 0.0059760939329862595, 0.024090468883514404, 0.0889858603477478, -0.0035632408689707518, -0.029216459020972252, -0.014041494578123093, -0.01759416237473488, 0.03955303132534027, 0.03265070542693138, 0.00894933845847845, 0.05711335688829422, 0.04946666210889816, -0.05105690658092499, -0.0037239566445350647, -0.002734285080805421, -0.01646915078163147, 0.057620882987976074, 0.0018799531972035766, 0.016951298341155052, -0.01881221868097782, -0.04141395166516304, 0.023295346647500992, -0.02662808820605278, -0.06543675065040588, -0.025274690240621567, -0.07707596570253372, -0.03212626278400421, -0.021011490374803543, 0.02106224186718464, 0.029165707528591156, -0.029064202681183815, -0.07200072705745697, 0.05210578814148903, 0.05403437837958336, -0.026188233867287636, 0.017441904172301292, 0.04696287959814072, -0.010471910238265991, 0.05792539566755295, -0.03660939261317253, 0.008154217153787613, 0.014007659628987312, 0.017814088612794876, -0.021451344713568687, -0.027270952239632607, -0.025240855291485786, -0.012307454831898212, -0.03419019281864166, 0.010674919933080673, 0.018304696306586266, 0.020402461290359497, 0.021705105900764465, 0.027372457087039948, -0.03126347437500954, -0.0460493378341198, 0.010277358815073967, -0.025359278544783592, -0.014159916900098324, 0.04253050312399864, -0.012696556746959686, -0.01508191879838705, -0.014955038204789162, -0.03146648406982422, -0.028370587155222893, -0.055624619126319885, 0.006327131297439337, -0.04547414183616638, 0.021383674815297127, -0.03742143139243126, -0.02348143979907036, -0.05575995892286301, -0.038808662444353104, -0.04547414183616638, -0.030434517189860344, 0.017475739121437073, -0.011216278187930584, 0.03062060847878456, -0.05007569119334221, 0.014447513967752457, -0.007384472992271185, 0.11253497004508972, -0.06797436624765396, -0.026323573663830757, -0.050549380481243134, -0.045880161225795746, 0.013643934391438961, -0.03336123749613762, 0.057553213089704514, 0.03175408020615578, 0.05640282481908798, -0.04456060007214546, 0.005553157534450293, -0.034951478242874146, -0.030400682240724564, -0.02519010379910469, -0.025308525189757347, 0.030958957970142365, 0.003539979225024581, -0.018456952646374702, 0.03214317932724953, -0.001819684635847807, -0.000030448130928562023, 0.04134628176689148, 0.06990295648574829, -0.040940262377262115, -0.018727632239460945, -0.018524622544646263, 0.007511354051530361, -0.013322502374649048, 0.017298106104135513, -0.014134541153907776, 0.050921566784381866, 0.004176498856395483, -0.03441012278199196, -0.032041676342487335, -0.030045416206121445, 0.03212626278400421, -0.017881758511066437, 0.03183866664767265, 0.016705995425581932, 0.0588727742433548, -0.017298106104135513, -0.055692289024591446, 0.01835544779896736, 0.03539133444428444, 0.0207408107817173, 0.04046657308936119, 0.007722822017967701, -0.03515448793768883, -0.038064293563365936, 0.017010509967803955, 0.03290446847677231, 0.02250022627413273, 0.007130710873752832, -0.017374234274029732, 0.03755676746368408, -0.03559434413909912, -0.056538164615631104, 0.10008371621370316, -0.028776606544852257, -0.008378373458981514, -0.019472001120448112, -0.021925032138824463, -0.018693797290325165, -0.047876421362161636, 0.05822990834712982, 0.02809990756213665, 0.00740984920412302, 0.019150568172335625, -0.02231413498520851, -0.012933401390910149, 0.04652302339673042, 0.011588462628424168, 0.015690946951508522, -0.03464696556329727, -0.019421247765421867, -0.002524931449443102, -0.044763609766960144, -0.006276378873735666, 0.037996623665094376, -0.00337714864872396, -0.04012822359800339, -0.022956999018788338, 0.07639926671981812, 0.050549380481243134, 0.07572256773710251, -0.006525911390781403, 0.0021717792842537165, -0.06320364773273468, -0.028793523088097572, 0.017644913867115974, -0.004453522153198719, -0.021992702037096024, 0.026441995054483414, 0.018000181764364243, -0.037928953766822815, -0.012028316967189312, -0.008429125882685184, -0.025900637730956078, 0.015987003222107887, -0.0017054917989298701, 0.001627248479053378, 0.018829137086868286, 0.018558457493782043, -0.020165616646409035, -0.017509574070572853, 0.009871340356767178, -0.0015743814874440432, -0.024834835901856422, 0.047741081565618515, 0.012992612086236477, 0.016596032306551933, -0.0357973538339138, -0.008149988017976284, -0.013161786831915379, 0.06861723214387894, -0.04253050312399864, -0.05501559004187584, 0.0750458687543869, 0.061444226652383804, 0.037962786853313446, -0.021349839866161346, 0.05822990834712982, -0.07186538726091385, 0.024191973730921745, 0.0015987002989277244, 0.01064954325556755, -0.002469949657097459, -0.06465854495763779, -0.03518832474946976, -0.022956999018788338, 0.04537263885140419, -0.04632001370191574, 0.04063574597239494, -0.017847923561930656, 0.024158138781785965 ]
44,138
gwcs.coordinate_frames
coordinates
Create world coordinates object
def coordinates(self, *args): """ Create world coordinates object""" coo = tuple([arg * un if not hasattr(arg, "to") else arg.to(un) for arg, un in zip(args, self.unit)]) if self.naxes == 1: return coo[0] return coo
(self, *args)
[ 0.00703125074505806, 0.004175358917564154, 0.023343045264482498, -0.015293413773179054, 0.008169179782271385, -0.013274364173412323, -0.033792510628700256, 0.01249508187174797, -0.004111156333237886, 0.016506614163517952, 0.029116816818714142, 0.006243113428354263, -0.017126498743891716, 0.009333675727248192, -0.008244452066719532, 0.04420655593276024, 0.009555062279105186, -0.026141375303268433, -0.02181990258395672, 0.01565648801624775, 0.025096429511904716, 0.0006281855748966336, 0.06747875362634659, -0.0027916899416595697, -0.008607526309788227, -0.0048439474776387215, 0.03864531219005585, 0.004702259786427021, -0.0028780309949070215, -0.07098552584648132, -0.05501024052500725, 0.03134839981794357, 0.03396962210536003, 0.018419397994875908, 0.020243626087903976, 0.0022824998013675213, -0.007509446702897549, 0.046402715146541595, -0.02695607952773571, -0.013787982054054737, -0.012114296667277813, -0.04190412908792496, 0.04296678677201271, 0.04378149285912514, 0.004640271421521902, -0.03443010523915291, -0.02608824335038662, -0.042860522866249084, -0.058304477483034134, 0.030905624851584435, 0.03651999682188034, -0.015435101464390755, 0.05476228520274162, -0.01955289952456951, -0.02702692337334156, 0.05348709598183632, 0.016302937641739845, 0.1296442300081253, -0.0006625005626119673, 0.02353786490857601, -0.03446552902460098, 0.06627441197633743, 0.008386139757931232, -0.016001852229237556, 0.017153063789010048, -0.024387991055846214, 0.004799670074135065, 0.041337378323078156, 0.006274107377976179, 0.09046757966279984, -0.010777118615806103, 0.03903495520353317, 0.005649796221405268, -0.040841471403837204, 0.06903731822967529, 0.03832651674747467, -0.00628296285867691, 0.06687658280134201, 0.08019522577524185, 0.020597845315933228, -0.1100204810500145, -0.004985635168850422, -0.022935692220926285, 0.04254172369837761, -0.0021540955640375614, 0.02428172528743744, -0.01489491667598486, 0.03528023138642311, -0.03726385906338692, -0.01638263836503029, -0.051113829016685486, 0.023343045264482498, -0.03712217137217522, 0.00952849630266428, -0.029612723737955093, 0.006601760163903236, 0.018809039145708084, 0.0072792042046785355, 0.0039473301731050014, 0.03021489642560482, -0.011166759766638279, -0.011538689956068993, -0.042718835175037384, 0.012220562435686588, -0.004294907674193382, -0.008877618238329887, 0.002083251718431711, -0.04275425523519516, -0.028798019513487816, 0.0469694659113884, -0.046473558992147446, 0.06237800046801567, 0.021997012197971344, 0.03949543833732605, -0.08090366423130035, -0.04502125829458237, -0.05876496434211731, 0.008629664778709412, -0.030923334881663322, 0.018596507608890533, -0.01612582802772522, 0.07289830595254898, 0.03101189061999321, 0.002457395661622286, 0.008253307081758976, 0.05182226747274399, -0.01770210452377796, -0.023095091804862022, -0.02963043563067913, -0.06064232438802719, 0.06818719208240509, -0.08458754420280457, 0.01021922379732132, 0.02984296716749668, 0.013398340903222561, 0.005645368248224258, 0.02840837836265564, -0.06793924421072006, -0.008350717835128307, 0.04502125829458237, 0.023165935650467873, 0.049094781279563904, 0.06956864893436432, 0.015222569927573204, -0.07792822271585464, 0.0627676397562027, 0.014939194545149803, 0.007265921216458082, 0.013203520327806473, -0.014027079567313194, -0.03524480760097504, 0.010263500735163689, 0.029736701399087906, 0.0027341293171048164, -0.08593357354402542, -0.08954661339521408, 0.026477884501218796, -0.04983863979578018, 0.09323049336671829, 0.04268341138958931, -0.05238901823759079, 0.01373484916985035, -0.0029909382574260235, -0.004728826228529215, 0.03499685600399971, 0.0068939910270273685, -0.003599752439185977, -0.04934273287653923, 0.01510744821280241, 0.0006796580855734646, -0.013486895710229874, -0.004193069878965616, -0.0021142459008842707, 0.029966942965984344, -0.04601307213306427, -0.04243545979261398, -0.02513185143470764, 0.018791327252984047, -0.018012044951319695, -0.02630077488720417, 0.014000513590872288, -0.03140152990818024, -0.016214383766055107, -0.022917982190847397, 0.02986067719757557, 0.05274323746562004, 0.012725324369966984, 0.008917467668652534, 0.0005271777627058327, -0.010281211696565151, 0.016940532252192497, 0.03740554675459862, -0.014735518023371696, 0.023449311032891273, -0.009634762071073055, 0.062271732836961746, -0.019163258373737335, 0.0065796212293207645, -0.019730009138584137, 0.03352684527635574, -0.023679552599787712, -0.00601287093013525, 0.019003858789801598, 0.01021922379732132, -0.0010975260520353913, 0.03446552902460098, -0.00523801613599062, -0.018525663763284683, -0.023059669882059097, -0.005286721512675285, 0.10151921957731247, -0.005862327758222818, -0.052141062915325165, -0.01561221107840538, 0.011866343207657337, 0.01861421763896942, 0.01710878685116768, -0.022209543734788895, 0.020013384521007538, 0.05766688287258148, 0.09833125025033951, -0.03370395675301552, 0.024299437180161476, -0.013159242458641529, -0.005388559307903051, -0.011937187053263187, 0.013628583401441574, -0.02592884562909603, -0.03630746528506279, -0.0096436170861125, 0.02281171642243862, -0.05986304208636284, -0.02355557680130005, -0.0077529726549983025, -0.024175459519028664, -0.00959934014827013, -0.009147710166871548, -0.03921206295490265, -0.026938369497656822, 0.02406919375061989, -0.05026370286941528, 0.014035935513675213, 0.021288573741912842, 0.038220249116420746, 0.024689078330993652, 0.004239561036229134, -0.028496934100985527, 0.009882715530693531, 0.00022747513139620423, 0.020987486466765404, -0.04760706052184105, 0.08664201200008392, 0.01739216223359108, 0.03349142521619797, 0.0025171700399369, -0.04463161900639534, 0.020084228366613388, -0.050972141325473785, 0.0010106316767632961, -0.030090920627117157, -0.013610872440040112, 0.0019083558581769466, 0.013424906879663467, 0.02123543992638588, 0.025202695280313492, -0.0022592542227357626, -0.036183491349220276, -0.017852647230029106, 0.005733923055231571, 0.03333202749490738, 0.04498583823442459, 0.049449000507593155, 0.010706274770200253, 0.03490830212831497, 0.02513185143470764, -0.016356071457266808, 0.0476779043674469, -0.015948718413710594, -0.012344539165496826, 0.0392829068005085, 0.010839107446372509, 0.011724655516445637, -0.08933407813310623, -0.013424906879663467, 0.009466507472097874, -0.015762753784656525, 0.02955959178507328, -0.014832928776741028, 0.024441124871373177, -0.019942540675401688, 0.007912371307611465, 0.018933014944195747, -0.03147237375378609, -0.019800852984189987, 0.030604537576436996, -0.01676342263817787, -0.055541567504405975, 0.03469577059149742, 0.053664207458496094, -0.014283888973295689, 0.009369097650051117, -0.012477370910346508, -0.011547545902431011, -0.03014405257999897, 0.057135555893182755, 0.013938524760305882, -0.0015607783570885658, -0.011087060905992985, -0.015443956479430199, 0.015196003019809723, 0.009156566113233566, -0.050476234406232834, -0.016533181071281433, -0.027487408369779587, -0.01083025150001049, 0.05929629132151604, -0.0012818307150155306, -0.03101189061999321, 0.015018893405795097, 0.05352251976728439, 0.023289911448955536, -0.04884682595729828, 0.010591153986752033, 0.011910620145499706, 0.02238665334880352, 0.06181124970316887, -0.0567813366651535, -0.028744887560606003, 0.08791720122098923, 0.010192656889557838, -0.003934046719223261, -0.015302268788218498, -0.034093596041202545, 0.013283219188451767, 0.018366264179348946, -0.044029444456100464, 0.01666601374745369, 0.057773150503635406, 0.04572969675064087, -0.040097612887620926, 0.000583354732953012, -0.005530246999114752, -0.05440806597471237, 0.058942072093486786, -0.011760077439248562, 0.009068011306226254, -0.0029068111907690763, -0.005769344978034496, 0.05433722212910652, -0.025911133736371994, -0.017640115693211555, -0.027080057188868523, -0.026265352964401245, -0.051255516707897186, 0.024689078330993652, 0.09266374260187149, 0.0002663562190718949, -0.025964265689253807, -0.018136022612452507, 0.0021596301812678576, 0.031985994428396225, -0.057135555893182755, 0.02144797146320343, -0.0283198244869709, -0.03384564444422722, -0.027664517983794212, 0.03921206295490265, -0.02231580950319767, -0.00005621154195978306, 0.014886061660945415, -0.007505019195377827, 0.004928074311465025, -0.024157749488949776, 0.03138381987810135, -0.03478432446718216, 0.057206399738788605, -0.008797919377684593, 0.02093435451388359, -0.09967727959156036, -0.09932306408882141, -0.01912783645093441, -0.07991185039281845, 0.03623662143945694, 0.026123665273189545, -0.009988981299102306, 0.04006218910217285, 0.017339028418064117, 0.007881376892328262, -0.0643262043595314, 0.01905699260532856, 0.008394994772970676, -0.03860989212989807, 0.04080605134367943, -0.028868863359093666, -0.012273695319890976, 0.00448972824960947, 0.040841471403837204, 0.038007717579603195, -0.02991381101310253, -0.0317380391061306, -0.006778869777917862, -0.05270781368017197, -0.019730009138584137, 0.027646807953715324, -0.053735051304101944, -0.04948442056775093, -0.0009038124117068946, 0.03297780826687813, 0.04544632136821747, 0.02592884562909603, -0.022404363378882408, -0.0011390360305085778, 0.052424438297748566, -0.03775976598262787, -0.018490241840481758, 0.011255314573645592, -0.03512083366513252, 0.030392006039619446, 0.024317147210240364, -0.010936517268419266, -0.017126498743891716, -0.021997012197971344, 0.019322656095027924, -0.005764917470514774, 0.07091467827558517, -0.010484888218343258, -0.001015612855553627, -0.04158533364534378, 0.058800384402275085, 0.0559312105178833, -0.07459855824708939, -0.07389011979103088, -0.027558252215385437, -0.014443287625908852, 0.03331431373953819, -0.004069093149155378, 0.010387477464973927, 0.0003619677445385605, 0.013973946683108807, 0.05440806597471237, 0.0003246086707804352, 0.039672549813985825, 0.00820460170507431, -0.005756061989814043, -0.06673489511013031, -0.052070219069719315, -0.04774874821305275, -0.06028810515999794, 0.02580486796796322, -0.005508108530193567, 0.05950882285833359, 0.06740791350603104, 0.038291092962026596, -0.06294474750757217, 0.0802660658955574, -0.04707572981715202, -0.09698521345853806, -0.05316830053925514, 0.014221900142729282, -0.040912315249443054, 0.017170775681734085, -0.04629644751548767, 0.025698602199554443, -0.03354455903172493, -0.024086905643343925, -0.026407040655612946, 0.02121772989630699, -0.07346505671739578, -0.015364257618784904, -0.03425299748778343, 0.045835964381694794, 0.03134839981794357, 0.009652473032474518, -0.05348709598183632, 0.04477330669760704, -0.008492405526340008, -0.034607212990522385, 0.0074740247800946236, -0.01290243398398161, -0.07013539969921112, -0.09415145963430405, -0.030887912958860397, 0.045835964381694794, 0.020987486466765404, -0.017728669568896294, 0.057206399738788605, 0.013982802629470825, -0.022917982190847397, -0.00035698653664439917, 0.04193955287337303, -0.00827544555068016, 0.052211906760931015, -0.013389484956860542, -0.07282746583223343, -0.038432780653238297, 0.02015507221221924, 0.02839066833257675, -0.028514644131064415, -0.08409163355827332, 0.02869175374507904, 0.011060493998229504, -0.0033606544602662325, 0.06680574268102646, -0.03122442215681076, -0.006752303335815668, -0.053876738995313644, 0.0194289218634367, -0.019517477601766586, -0.03384564444422722, 0.018809039145708084, -0.04828007519245148, -0.04870513826608658, -0.006995828822255135, -0.05922544747591019, 0.05143262818455696, 0.060819435864686966, -0.04587138444185257, 0.04562343284487724, -0.03427070751786232, -0.010945373214781284, 0.025468360632658005, 0.017879214137792587, 0.006668176036328077, 0.07424434274435043, -0.031047312542796135, 0.018091745674610138, 0.0100686801597476, -0.009865004569292068, 0.030763937160372734, 0.01934036798775196, -0.0019570610020309687, -0.02564547024667263, -0.05185769125819206, 0.028798019513487816, -0.004272769205272198, 0.030834781005978584, -0.015452812425792217, -0.006367090158164501, -0.002592441625893116, 0.039885081350803375, 0.017339028418064117, -0.031560931354761124, 0.007226071320474148, -0.039460018277168274, -0.029400192201137543, -0.05327456444501877, 0.018242288380861282, -0.034093596041202545, 0.028886575251817703, -0.011910620145499706, 0.014877205714583397, -0.04130195826292038, -0.00967018399387598, 0.054089270532131195, 0.01477979589253664, 0.011397002264857292, -0.0643262043595314, 0.00016078230692073703, -0.06691200286149979, 0.046686090528964996, 0.0032477471977472305, -0.0022105490788817406, 0.03434155136346817, 0.06383030116558075, -0.09181361645460129, 0.060961123555898666, 0.011822065338492393, -0.010785974562168121, -0.0014091281918808818, 0.019446633756160736, -0.024600522592663765, -0.003597538685426116, -0.033951908349990845, -0.0327298529446125, -0.009563918225467205, -0.044383663684129715, 0.011706944555044174, -0.0397079698741436, -0.008253307081758976, -0.013956235721707344, -0.001185527304187417, 0.02020820416510105, -0.03591782599687576, -0.044100288301706314, 0.022404363378882408, 0.05954424664378166, 0.0009392343345098197, 0.015169437043368816, 0.05904833972454071, -0.018950726836919785, 0.08664201200008392, 0.01323008630424738, 0.017879214137792587, 0.02536209486424923, -0.012132007628679276, -0.05919002741575241, -0.029825255274772644, -0.04296678677201271, 0.008749214000999928, -0.030321162194013596, -0.019960250705480576, 0.03340287134051323, 0.0003146462549921125, 0.030834781005978584, -0.008434844203293324, -0.06673489511013031, -0.0023732685949653387, -0.024299437180161476, -0.04976779595017433, 0.01029006764292717, 0.055329035967588425, -0.06740791350603104, -0.0018198010511696339, 0.01207001879811287, 0.0019614887423813343, -0.04151448979973793, -0.026796681806445122, 0.026832103729248047, -0.023272201418876648, 0.019889406859874725, -0.033951908349990845, -0.013318641111254692, -0.06280305981636047, -0.04420655593276024, -0.008031920529901981, 0.0019105697283521295, 0.04169159755110741, -0.021749058738350868, 0.041549909859895706, 0.020527001470327377, 0.018507951870560646, 0.0068585691042244434, 0.03028574027121067, -0.08727961033582687, -0.06776212900876999, -0.015789320692420006, -0.03846820443868637, -0.02166050300002098, -0.02020820416510105, 0.02224496565759182, -0.004750964697450399, 0.07424434274435043, 0.012521648779511452, 0.01054687611758709, -0.0239097960293293, -0.028674043715000153, -0.027770783752202988, 0.0007327909697778523, 0.019694587215781212, -0.023679552599787712, 0.0018319773953408003, 0.04183328524231911, 0.032924674451351166, 0.07222529500722885, -0.021483393386006355, 0.05292034521698952, -0.05848158895969391, -0.004374607000499964, 0.026973791420459747, -0.017595838755369186, -0.005370848346501589, 0.01496576052159071, 0.02210327796638012, -0.013478039763867855, -0.009431085549294949, -0.02109375223517418, -0.015691909939050674, 0.02109375223517418, -0.02406919375061989, -0.016683723777532578, 0.022563762962818146, -0.022705450654029846, 0.029807545244693756, 0.002751840278506279, -0.03733470290899277, -0.00780610553920269, 0.03435926139354706, 0.004100087098777294, 0.012415383011102676, 0.007655562367290258, -0.03737012296915054, -0.009253975935280323, -0.018667351454496384, -0.01152097899466753, -0.001871827058494091, 0.023732686415314674, 0.01926952414214611, 0.04675693437457085, 0.014080212451517582, -0.016444625332951546, 0.0549393966794014, -0.01992482878267765, 0.054656021296978, 0.017648970708251, 0.03733470290899277, -0.009820726700127125, -0.039672549813985825, -0.004715542774647474, 0.02086351066827774, 0.02217412181198597, -0.007226071320474148, -0.007071100641041994, -0.06135076284408569, 0.0772906243801117, 0.028213558718562126, -0.027806205675005913, 0.03051598370075226, 0.015125159174203873, 0.054514333605766296, 0.021412549540400505, 0.003524480853229761, 0.02594655565917492, 0.07367759197950363, -0.02259918488562107, -0.009466507472097874, 0.011414713226258755, 0.023219067603349686, 0.07194191962480545, 0.009377952665090561, -0.009333675727248192, -0.0139473807066679, 0.008651803247630596, 0.025096429511904716, -0.034093596041202545, 0.050547078251838684, 0.005906605161726475, 0.012627914547920227, -0.03138381987810135, -0.04172702133655548, -0.05529361590743065, -0.07580290734767914, 0.005986304488033056, 0.03907037526369095, 0.04427739977836609, -0.009076866321265697, 0.02587571181356907, -0.03850362449884415, -0.011760077439248562, -0.09131770581007004, -0.010653141885995865, -0.022439785301685333, 0.0040735206566751, 0.03882242366671562, 0.005818050354719162, -0.029471036046743393, -0.01870277337729931, 0.011113626882433891, 0.0020400811918079853, 0.00434804055839777, -0.0016991451848298311, 0.06202378123998642, 0.07693640887737274, 0.036980483680963516, -0.007350048050284386, -0.007571435067802668, -0.06244884431362152, 0.04870513826608658, -0.020845798775553703, -0.019659165292978287, -0.0472528412938118, -0.06085485592484474, 0.028603199869394302, -0.03581155836582184, 0.0701708197593689, 0.010484888218343258, 0.009103433229029179, 0.03195057064294815, 0.033792510628700256 ]
44,139
gwcs.coordinate_frames
Frame2D
A 2D coordinate frame. Parameters ---------- axes_order : tuple of int A dimension in the input data that corresponds to this axis. unit : list of astropy.units.Unit Unit for each axis. axes_names : list Names of the axes in this frame. name : str Name of this frame.
class Frame2D(CoordinateFrame): """ A 2D coordinate frame. Parameters ---------- axes_order : tuple of int A dimension in the input data that corresponds to this axis. unit : list of astropy.units.Unit Unit for each axis. axes_names : list Names of the axes in this frame. name : str Name of this frame. """ def __init__(self, axes_order=(0, 1), unit=(u.pix, u.pix), axes_names=('x', 'y'), name=None, axis_physical_types=None): super(Frame2D, self).__init__(naxes=2, axes_type=["SPATIAL", "SPATIAL"], axes_order=axes_order, name=name, axes_names=axes_names, unit=unit, axis_physical_types=axis_physical_types) @property def _default_axis_physical_types(self): if all(self.axes_names): ph_type = self.axes_names else: ph_type = self.axes_type return tuple("custom:{}".format(t) for t in ph_type) def coordinates(self, *args): args = [args[i] for i in self.axes_order] coo = tuple([arg * un for arg, un in zip(args, self.unit)]) return coo def coordinate_to_quantity(self, *coords): # list or tuple if len(coords) == 1 and astutil.isiterable(coords[0]): coords = list(coords[0]) elif len(coords) == 2: coords = list(coords) else: raise ValueError("Unexpected number of coordinates in " "input to frame {} : " "expected 2, got {}".format(self.name, len(coords))) for i in range(2): if not hasattr(coords[i], 'unit'): coords[i] = coords[i] * self.unit[i] return tuple(coords)
(axes_order=(0, 1), unit=(Unit("pix"), Unit("pix")), axes_names=('x', 'y'), name=None, axis_physical_types=None)
[ 0.029770007357001305, -0.054107263684272766, -0.025163181126117706, 0.03175222873687744, -0.0067083463072776794, -0.017215946689248085, -0.04966562241315842, 0.00714883953332901, -0.036744486540555954, -0.00036277607432566583, 0.03650588542222977, -0.0008047032752074301, -0.014683110639452934, 0.05678693205118179, 0.0025970751885324717, 0.0304307471960783, 0.0709928423166275, -0.018776027485728264, -0.0044852313585579395, -0.0035904794931411743, 0.01416002493351698, -0.032981935888528824, 0.026080874726176262, -0.010269000194966793, -0.026539722457528114, 0.033165477216243744, -0.025585319846868515, -0.010103815235197544, -0.009644968435168266, -0.07425983250141144, -0.08663035184144974, -0.024098655208945274, 0.01429767906665802, 0.009479783475399017, 0.017885863780975342, -0.038139380514621735, -0.03068770095705986, 0.01141611859202385, -0.059760261327028275, 0.045480936765670776, -0.0005790078430436552, -0.07345226407051086, 0.07202065736055374, -0.03964439779520035, 0.012223689816892147, 0.03672613203525543, -0.0706624686717987, -0.006855177227407694, -0.06464239209890366, 0.026796678081154823, 0.0481606051325798, -0.07870147377252579, 0.015453973785042763, 0.0361204519867897, -0.011260110884904861, 0.07209407538175583, 0.014270148240029812, 0.10160712897777557, 0.04871122166514397, -0.0018778322264552116, -0.05623631551861763, 0.04544422775506973, -0.0020040152594447136, -0.05965013802051544, -0.03364267945289612, -0.03384457156062126, 0.0092778904363513, -0.001687410636804998, -0.010149700567126274, 0.04210381954908371, -0.006056783255189657, 0.013930601067841053, -0.008029825985431671, 0.0038956128992140293, 0.03931402787566185, 0.011975912377238274, -0.015178665518760681, 0.018262119963765144, 0.05344652384519577, -0.009791799820959568, -0.04247089847922325, 0.011599657125771046, 0.02292400598526001, 0.03127502650022507, -0.011205049231648445, 0.033697739243507385, 0.05344652384519577, 0.07774706929922104, 0.003891024272888899, -0.00014310298138298094, -0.027145400643348694, -0.004868369083851576, 0.017858333885669708, 0.014976773411035538, -0.020813308656215668, -0.02938457578420639, -0.019473476335406303, -0.014710641466081142, -0.03149527311325073, 0.005510754883289337, -0.014215086586773396, 0.0027026101015508175, -0.04871122166514397, 0.02459421008825302, -0.03681790083646774, 0.06669802963733673, -0.029090913012623787, -0.0028999142814427614, -0.04056209325790405, 0.017225123941898346, -0.01234299037605524, 0.021510757505893707, -0.02545684389770031, 0.03846975043416023, -0.04452653229236603, -0.046508751809597015, -0.019748784601688385, 0.05300603061914444, -0.015747636556625366, -0.02231832779943943, 0.0012193864677101374, 0.08574936538934708, 0.035606544464826584, 0.021033557131886482, 0.01927158236503601, 0.03268827497959137, 0.015444797463715076, -0.016334960237145424, -0.01734442450106144, -0.03259650617837906, 0.018592489883303642, -0.06677144765853882, 0.0038359626196324825, 0.053299691528081894, 0.06574362516403198, -0.018675081431865692, 0.047646693885326385, -0.029421282932162285, -0.055061664432287216, 0.0561261922121048, 0.03024720773100853, 0.030650993809103966, 0.036303989589214325, 0.017023231834173203, -0.07392946630716324, 0.06794609874486923, 0.01901462860405445, -0.026264414191246033, -0.024961289018392563, -0.03241296857595444, -0.07554460316896439, -0.0012755952775478363, -0.01864755153656006, 0.003913966938853264, 0.0261542908847332, -0.0681663453578949, 0.010351592674851418, -0.0185557808727026, 0.052785784006118774, 0.1014602929353714, -0.05832865834236145, -0.046251799911260605, -0.04214052855968475, -0.013288215734064579, -0.023841701447963715, 0.024117009714245796, -0.011507888324558735, -0.05972355231642723, 0.0008546029566787183, 0.029494699090719223, 0.01892285980284214, -0.03050416335463524, 0.03854316473007202, 0.013471754267811775, -0.021694296970963478, 0.003897906979545951, -0.025126473978161812, -0.008988817222416401, 0.00501520000398159, -0.04247089847922325, 0.0526389516890049, -0.03591855987906456, -0.03347749263048172, 0.0024502440355718136, -0.005363923963159323, 0.06809292733669281, 0.03417494148015976, -0.011149987578392029, 0.06787268072366714, 0.016371669247746468, 0.007704044692218304, 0.023731578141450882, -0.014820764772593975, -0.0013616291107609868, 0.041846863925457, 0.009479783475399017, 0.01386636309325695, 0.0025351308286190033, 0.01978549174964428, 0.035349588841199875, -0.03795584291219711, 0.013802124187350273, 0.0716535821557045, -0.003381703980267048, -0.025328366085886955, 0.033973049372434616, 0.039974767714738846, -0.006263264454901218, -0.052455414086580276, -0.022355036810040474, 0.039534274488687515, -0.008474907837808132, -0.0228322371840477, -0.06442214548587799, 0.03206424415111542, 0.01168224960565567, -0.07139662653207779, -0.011764842085540295, -0.00802523735910654, 0.03810267150402069, 0.11063724011182785, 0.0307611171156168, -0.03632234409451485, -0.013288215734064579, 0.008520793169736862, -0.025658736005425453, 0.07664583623409271, -0.023951824754476547, 0.0036570122465491295, -0.007603098172694445, -0.034909095615148544, -0.02633783034980297, -0.002041870029643178, -0.011452826671302319, 0.018445657566189766, -0.011829080991446972, 0.017298540100455284, -0.01995067670941353, -0.03131173551082611, 0.009020935744047165, -0.028099803254008293, -0.024520795792341232, -0.03303699940443039, 0.010865502059459686, -0.02797132544219494, -0.05223516747355461, 0.0526389516890049, 0.046325214207172394, -0.06100832670927048, 0.006373387761414051, -0.026741616427898407, 0.009163178503513336, -0.016334960237145424, 0.035257820039987564, 0.027420708909630775, -0.08354689925909042, -0.07180041074752808, -0.04823401942849159, 0.010828793980181217, -0.05998050794005394, 0.0026957273948937654, -0.019069690257310867, -0.002303413115441799, 0.05326298624277115, 0.03219272196292877, 0.010727847926318645, -0.012866076081991196, -0.004863780457526445, -0.011058217845857143, 0.03289016708731651, 0.032468028366565704, 0.0561261922121048, -0.028815604746341705, 0.017399486154317856, 0.03784571960568428, -0.00837396178394556, 0.047830235213041306, -0.03228449076414108, 0.04103929549455643, -0.010975625365972519, 0.0003257815260440111, -0.03780901059508324, -0.015096073038876057, 0.024906227365136147, 0.016812162473797798, -0.039277322590351105, 0.010406654328107834, 0.0028081450145691633, 0.04544422775506973, -0.006391741801053286, -0.020538000389933586, 0.04742644727230072, 0.0191798135638237, 0.022079728543758392, -0.014389448799192905, 0.0070157740265131, -0.0650094747543335, 0.029329514130949974, 0.010581016540527344, -0.02764095552265644, 0.007653571665287018, 0.0469125397503376, 0.025493551045656204, 0.03164210543036461, 0.027585893869400024, -0.060641247779130936, -0.013802124187350273, 0.002199025359004736, 0.0032188131008297205, -0.0022231147158890963, 0.04173674061894417, 0.0453341044485569, -0.05891598388552666, -0.02475939504802227, 0.004409521818161011, 0.04871122166514397, 0.011792372912168503, -0.03949756920337677, 0.057667918503284454, 0.0742231234908104, 0.02982506901025772, -0.05109722539782524, -0.028797250241041183, -0.015022657811641693, 0.031164903193712234, 0.02841181866824627, 0.020978495478630066, -0.013058791868388653, 0.057337548583745956, -0.002929739421233535, -0.027659310027956963, -0.009635791182518005, -0.031605396419763565, -0.0036983084864914417, 0.026723261922597885, -0.0754711925983429, -0.010837971232831478, 0.062036141753196716, 0.06956123560667038, -0.031073132529854774, -0.023052483797073364, -0.02589733712375164, -0.03975452110171318, -0.008158303797245026, -0.004739891737699509, -0.08031661808490753, -0.025787213817238808, -0.00824089627712965, 0.04709607735276222, 0.026998570188879967, -0.018344711512327194, -0.03347749263048172, -0.0067863501608371735, -0.02422713302075863, -0.011370234191417694, 0.06199943646788597, -0.01491253450512886, -0.042581021785736084, -0.018684258684515953, 0.016234014183282852, 0.07936221361160278, 0.0012973904376849532, -0.01857413537800312, -0.03545971214771271, -0.07180041074752808, -0.030063670128583908, 0.02040952444076538, -0.01795010268688202, -0.005763120949268341, 0.018454834818840027, -0.003840551245957613, -0.019069690257310867, -0.009993691928684711, 0.0076902792789042, -0.030008608475327492, 0.04173674061894417, 0.007240608800202608, 0.005905363708734512, -0.060457710176706314, -0.13089993596076965, 0.05752108618617058, -0.040929172188043594, -0.027237171307206154, 0.02406194806098938, 0.03103642538189888, -0.012829368002712727, -0.0015944940969347954, 0.026906801387667656, -0.03191741183400154, 0.016968170180916786, -0.015031835064291954, -0.004863780457526445, 0.012572413310408592, -0.0020005737897008657, -0.050179529935121536, -0.03336736932396889, -0.002546601928770542, 0.09918441623449326, -0.0069653005339205265, -0.03566160425543785, -0.027585893869400024, -0.06732206046581268, -0.003335819346830249, 0.020519647747278214, 0.0011448238510638475, -0.026007460430264473, 0.039791230112314224, 0.009608260355889797, 0.005818182602524757, 0.03729510307312012, 0.018106110394001007, 0.045627765357494354, 0.020960140973329544, -0.002757671754807234, -0.027842849493026733, 0.015931176021695137, -0.08090393990278244, -0.00660281116142869, 0.024392317980527878, 0.04871122166514397, -0.05572240427136421, 0.055318620055913925, 0.019124751910567284, 0.04012160003185272, 0.004868369083851576, -0.024098655208945274, -0.04570118337869644, 0.021914543583989143, 0.03052251599729061, 0.0608614943921566, -0.054107263684272766, -0.016417553648352623, -0.05219845846295357, -0.04661887511610985, -0.004859191831201315, -0.05774133279919624, 0.0026223119348287582, -0.003854316659271717, -0.023676516488194466, 0.08641010522842407, 0.018078580498695374, 0.0288523118942976, 0.02057470940053463, 0.038506459444761276, -0.05381360277533531, -0.06163235753774643, -0.06295383721590042, 0.027218816801905632, -0.025089764967560768, -0.0011184400646016002, 0.04702266305685043, 0.05238199606537819, 0.03712991625070572, -0.06038429215550423, 0.011920850723981857, -0.03512934222817421, -0.006488099694252014, -0.05553886666893959, -0.011030687019228935, -0.03208259865641594, 0.016234014183282852, -0.014995126985013485, -0.005974190775305033, -0.03445024788379669, -0.006685404106974602, 0.011562949977815151, 0.056016068905591965, -0.061155155301094055, -0.005717236083000898, 0.005685117095708847, 0.02292400598526001, 0.0383596271276474, 0.020152568817138672, -0.06563350558280945, 0.016270721331238747, 0.014701465144753456, -0.056529976427555084, 0.017500432208180428, -0.045480936765670776, -0.0678359717130661, -0.05190479755401611, -0.04368225485086441, 0.0011327790562063456, -0.015637513250112534, -0.018005164340138435, 0.04768340289592743, 0.049298543483018875, -0.01621565967798233, -0.010581016540527344, 0.03371609374880791, -0.04456324130296707, 0.03724003955721855, -0.022997422143816948, 0.007997706532478333, -0.02064812369644642, 0.04614167660474777, 0.04863780364394188, -0.03434012457728386, -0.05190479755401611, -0.016490967944264412, 0.029072558507323265, -0.020244339480996132, 0.025420134887099266, -0.03408317267894745, 0.020629771053791046, -0.03601032868027687, 0.002006309339776635, 0.014517925679683685, 0.0009337540832348168, 0.00035818759351968765, -0.049995992332696915, -0.009800976142287254, 0.038836829364299774, -0.05909952148795128, 0.04940866678953171, 0.013168915174901485, -0.04166332632303238, 0.04871122166514397, 0.004207628779113293, 0.018418127670884132, -0.0008442788966931403, -0.015674220398068428, 0.06453227251768112, 0.043278470635414124, -0.0020567825995385647, 0.014995126985013485, -0.010305708274245262, 0.004303986672312021, 0.03549642115831375, -0.02527330443263054, -0.000854029378388077, 0.0025695443619042635, -0.01725265569984913, 0.04426958039402962, 0.051831379532814026, 0.032981935888528824, 0.025566967204213142, 0.006267853081226349, -0.022593636065721512, -0.012269574217498302, 0.01692228578031063, 0.011104102246463299, 0.018546603620052338, -0.02642959915101528, -0.029659884050488472, -0.036212220788002014, 0.013178091496229172, -0.026484660804271698, 0.08009637147188187, -0.016371669247746468, -0.007043304853141308, 0.013921424746513367, 0.03861658275127411, -0.007864641025662422, 0.02901749685406685, 0.012875252403318882, -0.00470777228474617, 0.020593062043190002, -0.03432177007198334, 0.014618871733546257, 0.005529108922928572, 0.04544422775506973, 0.04907829686999321, 0.0010352740064263344, -0.02389676310122013, 0.016068829223513603, 0.019381705671548843, 0.009599084034562111, -0.00915859080851078, 0.025768859311938286, 0.016867224127054214, 0.019124751910567284, 0.014976773411035538, -0.007580155972391367, 0.009755091741681099, -0.03077947162091732, 0.0015658161137253046, -0.010700317099690437, -0.008456554263830185, -0.06787268072366714, 0.02782449498772621, 0.0036294814199209213, -0.0017860627267509699, -0.049298543483018875, 0.004154861439019442, 0.03582679107785225, -0.01701405458152294, 0.043462008237838745, 0.041443079710006714, -0.015600805170834064, 0.024961289018392563, -0.018528250977396965, 0.034652139991521835, 0.006579868961125612, 0.0068001155741512775, -0.009388013742864132, -0.0675056055188179, -0.017583025619387627, 0.009034701623022556, -0.008461142890155315, -0.04129624739289284, -0.0025167770218104124, 0.0016564384568482637, -0.0034872388932853937, -0.0049509615637362, -0.09265042841434479, 0.02527330443263054, 0.02545684389770031, -0.059760261327028275, -0.007630628999322653, 0.05509837344288826, 0.03729510307312012, 0.009874392300844193, -0.04709607735276222, -0.049555499106645584, -0.04037855565547943, -0.06398165225982666, 0.040745630860328674, 0.015821052715182304, -0.006850589066743851, -0.03191741183400154, -0.004854603670537472, -0.07359909266233444, -0.029788361862301826, -0.06489934772253036, -0.01447204127907753, 0.04489361122250557, -0.02143734134733677, 0.014233440160751343, 0.0015084602637216449, 0.05194150283932686, 0.006020075641572475, 0.03356926143169403, -0.12062175571918488, -0.010828793980181217, -0.031678810715675354, -0.05719071626663208, 0.004749068524688482, 0.01185661181807518, 0.08934672921895981, 0.06937769800424576, -0.0037051911931484938, 0.005538285709917545, 0.03210094943642616, -0.025677090510725975, -0.024704333394765854, 0.004079151898622513, -0.01277430634945631, 0.023327792063355446, -0.01229710504412651, -0.009525667876005173, 0.04324176162481308, 0.0421772375702858, -0.012443936429917812, 0.06713852286338806, 0.02745741792023182, -0.0652664303779602, -0.002179524162784219, 0.02580556645989418, 0.012911960482597351, 0.05344652384519577, -0.014866650104522705, 0.053923726081848145, 0.0251998882740736, -0.006208202801644802, -0.03545971214771271, 0.03424835577607155, 0.004987669177353382, 0.01382047776132822, -0.031256671994924545, 0.03494580462574959, -0.0271086934953928, 0.0016805279301479459, 0.0002516490058042109, -0.022116435691714287, -0.006249499041587114, 0.014481217600405216, -0.021657587960362434, 0.018886150792241096, 0.02319931425154209, -0.02571379765868187, 0.056529976427555084, -0.021125325933098793, -0.015105250291526318, 0.042948100715875626, 0.0019053630530834198, 0.03990135341882706, 0.0052216812036931515, -0.03924061357975006, -0.10439691692590714, 0.06361457705497742, 0.00915400218218565, 0.035092633217573166, -0.013912247493863106, -0.02118038758635521, -0.033789508044719696, 0.0044944086112082005, 0.0011545743327587843, 0.004065386485308409, -0.008222541771829128, -0.032302845269441605, -0.018941212445497513, -0.024722687900066376, 0.0906682088971138, 0.03938744589686394, 0.0709928423166275, -0.037698887288570404, -0.0030490397475659847, 0.02982506901025772, -0.016234014183282852, -0.02292400598526001, 0.022299975156784058, 0.029843423515558243, -0.02589733712375164, -0.027769433334469795, 0.011939204297959805, -0.015141958370804787, 0.07319530844688416, 0.018977921456098557, 0.03303699940443039, -0.015178665518760681, 0.07462690770626068, 0.014270148240029812, 0.03894695267081261, -0.030283916741609573, 0.033330660313367844, -0.010535132139921188, -0.03876341134309769, -0.014637226238846779, -0.030375685542821884, -0.01856495812535286, 0.05869573354721069, -0.018693435937166214, 0.0856025367975235, -0.021290510892868042, 0.019546890631318092, -0.029402930289506912, -0.03957098349928856, -0.027090338990092278, 0.02301577664911747, 0.010140523314476013, -0.022960714995861053, 0.0021141385659575462, 0.004260396584868431, -0.054107263684272766, 0.04797706380486488, -0.02180442027747631, 0.014802411198616028, 0.0011884142877534032, 0.03228449076414108, 0.045370813459157944, 0.005584170576184988, -0.03635905310511589, -0.0019799256697297096, 0.044856902211904526, -0.07227761298418045, -0.0026016635820269585, -0.019051335752010345, -0.025566967204213142, -0.07268139719963074, -0.06735876947641373, 0.00897963996976614, 0.017592202872037888, 0.06005392223596573, 0.0036042449064552784, 0.0526389516890049, -0.04544422775506973, 0.02736564725637436 ]
44,140
gwcs.coordinate_frames
__init__
null
def __init__(self, axes_order=(0, 1), unit=(u.pix, u.pix), axes_names=('x', 'y'), name=None, axis_physical_types=None): super(Frame2D, self).__init__(naxes=2, axes_type=["SPATIAL", "SPATIAL"], axes_order=axes_order, name=name, axes_names=axes_names, unit=unit, axis_physical_types=axis_physical_types)
(self, axes_order=(0, 1), unit=(Unit("pix"), Unit("pix")), axes_names=('x', 'y'), name=None, axis_physical_types=None)
[ -0.00640644459053874, -0.035203639417886734, 0.0024853369686752558, -0.0034235857892781496, -0.06946221739053726, 0.010450229048728943, -0.04252788797020912, 0.025734825059771538, -0.0402015745639801, 0.03705741837620735, 0.0445634089410305, 0.02673441171646118, 0.0013108222046867013, 0.039074767380952835, 0.029642300680279732, 0.03047831915318966, 0.08003966510295868, -0.025698475539684296, -0.03547625616192818, -0.03095085173845291, -0.012876499444246292, -0.020864108577370644, 0.02838827297091484, -0.004118753131479025, -0.006838084664195776, 0.041401080787181854, -0.051905833184719086, -0.022245356813073158, -0.013785215094685555, -0.07923999428749084, -0.06673607230186462, -0.02960595302283764, 0.0011938250390812755, 0.039656344801187515, 0.03983809053897858, -0.0070198276080191135, -0.047362253069877625, 0.003877943614497781, -0.05514086037874222, 0.07356961071491241, 0.061647262424230576, -0.05303264036774635, 0.04369104281067848, -0.03155060485005379, -0.015675343573093414, 0.031168943271040916, -0.02311772294342518, -0.028224704787135124, -0.02315407246351242, 0.029533255845308304, 0.004720777273178101, -0.06582735478878021, 0.006638166960328817, 0.04234614595770836, -0.021482035517692566, 0.02818835712969303, 0.005870302207767963, 0.11318960785865784, 0.024789759889245033, 0.013485338538885117, -0.0465262345969677, 0.0027193312998861074, -0.0237356498837471, -0.04496324434876442, -0.03860223665833473, -0.010095830075442791, 0.02911524660885334, 0.0017640440491959453, -0.02577117271721363, 0.028606366366147995, 0.0005446613649837673, 0.032822806388139725, -0.044490713626146317, 0.02300867810845375, 0.013966958038508892, 0.009823215194046497, -0.019755475223064423, 0.058593977242708206, 0.023572081699967384, -0.0031123508233577013, -0.04452706128358841, 0.06026601418852806, -0.028842631727457047, 0.024535320699214935, -0.020028090104460716, 0.016347791999578476, 0.034276749938726425, 0.03580339252948761, 0.0009899319848045707, -0.04078315198421478, -0.033695172518491745, -0.03416770324110985, 0.038820330053567886, 0.016093352809548378, 0.0016640853136777878, -0.027116071432828903, -0.04063775762915611, -0.0010927304392680526, -0.024353576824069023, 0.0033690629061311483, -0.03314994275569916, -0.0760413184762001, -0.027497733011841774, 0.005552251823246479, -0.01933746598660946, 0.025425860658288002, -0.030551016330718994, -0.03449484333395958, -0.0741148367524147, 0.008869064040482044, 0.01991904526948929, 0.02024618163704872, 0.008769105188548565, 0.06026601418852806, -0.021391164511442184, -0.03914746642112732, -0.003603057237342, -0.00014752428978681564, -0.011159026995301247, 0.01763816922903061, -0.029678650200366974, 0.06535482406616211, 0.01675671525299549, 0.0005463652196340263, 0.0005182518507353961, 0.02175465039908886, 0.009995871223509312, -0.014612145721912384, -0.015066503547132015, -0.0489252433180809, 0.03205948323011398, -0.08047585189342499, -0.02262701652944088, 0.01845601201057434, 0.02213631011545658, -0.02751590684056282, 0.05470467731356621, 0.0019832716789096594, -0.026752585545182228, 0.052196621894836426, -0.008441967889666557, 0.03358612582087517, 0.004152830224484205, -0.004984304774552584, -0.0639372244477272, 0.08760017901659012, 0.025407686829566956, -0.025371337309479713, 0.0006133830174803734, -0.018419664353132248, -0.051433298736810684, 0.014330443926155567, -0.020482448861002922, -0.011604297906160355, 0.016974806785583496, -0.08396531641483307, 0.009568775072693825, 0.006047502160072327, 0.03191408887505531, 0.10722843557596207, -0.018810411915183067, -0.0445634089410305, -0.035439904779195786, -0.015184637159109116, 0.0033508886117488146, 0.019937219098210335, -0.006347378250211477, -0.07106155902147293, 0.024680715054273605, 0.0431094653904438, 0.009650559164583683, -0.06524577736854553, 0.013548948802053928, -0.0019719128031283617, -0.01356712356209755, -0.009341595694422722, 0.006483685225248337, 0.012785627506673336, 0.0006559790344908834, -0.0036575801204890013, 0.08825445175170898, 0.010268486104905605, -0.024735236540436745, -0.005138786509633064, -0.0017174723325297236, 0.06557291746139526, 0.030605539679527283, 0.011049981229007244, 0.03251384198665619, 0.024153659120202065, 0.06629988551139832, 0.09145313501358032, 0.0040960353799164295, -0.04220075160264969, 0.05586783215403557, -0.0005597120034508407, 0.0445634089410305, -0.04685337468981743, 0.05739447474479675, 0.035530779510736465, 0.014693930745124817, 0.028170181438326836, 0.0037757130339741707, 0.007356052286922932, 0.012331269681453705, 0.0600842721760273, 0.04470880329608917, 0.013403554446995258, -0.0011699713068082929, -0.0036484929732978344, 0.028660887852311134, -0.020664190873503685, -0.05001570284366608, -0.05503181368112564, -0.00046429684152826667, 0.02349938452243805, -0.10839159041643143, 0.003612144384533167, -0.017892608419060707, 0.04681702330708504, 0.08839984983205795, 0.041401080787181854, -0.026916153728961945, -0.04947047308087349, -0.0261528342962265, 0.010759192518889904, 0.0745873749256134, -0.03969269618391991, -0.03754812479019165, 0.013430816121399403, -0.04685337468981743, -0.004248245153576136, -0.006483685225248337, 0.004934325348585844, 0.028424622491002083, 0.02175465039908886, 0.000822955509647727, -0.021354814991354942, -0.02466253936290741, -0.011077242903411388, 0.010704669170081615, -0.022245356813073158, -0.01583891175687313, -0.017656343057751656, -0.007574144285172224, -0.035821568220853806, 0.01762908138334751, 0.011840563267469406, -0.046199098229408264, -0.020809585228562355, -0.02248162217438221, 0.03036927431821823, -0.004186906851828098, 0.038347795605659485, -0.001789033762179315, -0.0717158317565918, -0.06968031078577042, -0.0736059620976448, 0.015211897902190685, -0.056703850626945496, -0.004716233815997839, 0.026370925828814507, -0.03502189740538597, 0.05783065780997276, 0.026316402480006218, 0.026025613769888878, -0.018537797033786774, -0.0037848001811653376, -0.033458907157182693, -0.011913260444998741, 0.08607354015111923, 0.055213555693626404, -0.008292029611766338, 0.03831144794821739, 0.036693934351205826, -0.015475425869226456, 0.023135898634791374, -0.05884841829538345, 0.017220159992575645, -0.003564436687156558, 0.043291207402944565, -0.04612640291452408, -0.0017174723325297236, 0.0465262345969677, 0.009019001387059689, -0.05237836390733719, 0.011831476353108883, 0.017847172915935516, 0.009586948901414871, -0.030441971495747566, -0.022645192220807076, 0.07720447331666946, 0.031277988106012344, 0.05121520906686783, -0.05968443676829338, -0.00228314776904881, -0.05081537365913391, 0.06281042098999023, -0.02268153987824917, -0.012858324684202671, -0.027334162965416908, 0.02669806219637394, 0.04281867668032646, 0.06215614452958107, 0.05016109719872475, -0.06099298596382141, -0.008760018274188042, 0.0036871132906526327, 0.026098310947418213, -0.018628668040037155, 0.0319867879152298, 0.05644940957427025, -0.06651797890663147, 0.016266008839011192, -0.03569434583187103, 0.04289137199521065, -0.00020346709061414003, -0.027915742248296738, 0.027988439425826073, 0.0818571001291275, 0.025280466303229332, -0.0857827439904213, -0.022354401648044586, -0.06411896646022797, 0.03987443819642067, 0.01772904023528099, 0.019301118329167366, -0.0402015745639801, 0.055213555693626404, 0.07342421263456345, -0.015493599697947502, -0.028061136603355408, 0.005093350540846586, -0.017892608419060707, -0.020809585228562355, -0.0896356999874115, -0.009146221913397312, 0.054522931575775146, 0.06506403535604477, -0.024644365534186363, -0.02678893506526947, -0.08054854720830917, -0.05063363164663315, -0.01560264639556408, 0.009868650697171688, -0.04100124537944794, -0.042564235627651215, -0.02417183294892311, 0.06157456710934639, -0.026970677077770233, -0.02538951300084591, -0.04412722587585449, -0.01484841201454401, 0.026043787598609924, 0.00042113286326639354, 0.10919126123189926, -0.04172821715474129, 0.011013632640242577, -0.01157703623175621, 0.003494011238217354, 0.04201900586485863, 0.03700289875268936, -0.05586783215403557, -0.03414953127503395, -0.016674930229783058, -0.011204462498426437, 0.04296407103538513, -0.009159852750599384, -0.02326311729848385, 0.012803802266716957, -0.0055931443348526955, 0.013594384305179119, 0.001518690842203796, 0.02402643859386444, -0.016793062910437584, 0.023826520889997482, 0.01966460421681404, -0.005688559263944626, 0.02500785142183304, -0.10839159041643143, 0.025643952190876007, -0.022736063227057457, -0.020028090104460716, 0.009332508780062199, 0.0009791409829631448, 0.006583644077181816, -0.05045188590884209, 0.053068988025188446, 0.011522512882947922, -0.01725650765001774, -0.012022307142615318, 0.00414147088304162, 0.014739366248250008, -0.02257249504327774, -0.046926070004701614, -0.04688972234725952, -0.004929781891405582, 0.07582322508096695, -0.019319292157888412, -0.044454365968704224, -0.025789346545934677, -0.04485419765114784, -0.011931435205042362, 0.02344486117362976, -0.012821976095438004, -0.0036325904075056314, -0.011958696879446507, 0.05383230745792389, 0.03327716514468193, 0.03638496994972229, 0.017656343057751656, 0.021354814991354942, -0.01899215579032898, -0.016347791999578476, -0.030641887336969376, 0.04772574082016945, -0.06175630912184715, 0.0027352338656783104, 0.04398183152079582, 0.003121437970548868, -0.056703850626945496, 0.0702618882060051, -0.019301118329167366, 0.007624123245477676, 0.04848906025290489, 0.013930609449744225, -0.0421644002199173, 0.020427925512194633, 0.05346882343292236, 0.02199091576039791, -0.06640893220901489, 0.02955142967402935, -0.04325485974550247, -0.023099549114704132, 0.03802065923810005, -0.02926064096391201, 0.00576580036431551, -0.029533255845308304, -0.014521274715662003, 0.038057006895542145, 0.016393229365348816, -0.010622885078191757, -0.010650145821273327, 0.013030980713665485, -0.05197852849960327, -0.04965221881866455, -0.07582322508096695, 0.032968200743198395, -0.007578687742352486, -0.013803388923406601, 0.04187361150979996, 0.07502355426549911, 0.003557621268555522, -0.05935730040073395, 0.01966460421681404, -0.043000418692827225, -0.010159439407289028, -0.02426270581781864, 0.03225940093398094, -0.05125155672430992, -0.01213135290890932, -0.04060140997171402, -0.036330446600914, -0.024571668356657028, -0.005493185482919216, 0.039401907473802567, 0.0557224377989769, -0.05285089462995529, 0.02707972377538681, 0.002220673719421029, -0.016193311661481857, 0.040674109011888504, 0.0065791006200015545, -0.06142917275428772, 0.0076695592142641544, -0.001789033762179315, -0.03242297098040581, 0.028951676562428474, -0.029224291443824768, -0.028806282207369804, -0.06891698390245438, -0.021300291642546654, -0.012340357527136803, -0.016011567786335945, -0.008192070759832859, 0.007151591591536999, 0.013676169328391552, -0.02184552140533924, -0.008246593177318573, 0.01628418266773224, -0.0030396534129977226, 0.012213137000799179, -0.0557224377989769, 0.005438662599772215, -0.0033281706273555756, 0.04972491413354874, 0.013394467532634735, -0.0027170595712959766, -0.0503791905939579, -0.000024758948711678386, 0.00660181837156415, -0.04921603575348854, 0.011349856853485107, -0.039510950446128845, -0.007810410112142563, -0.02140933834016323, -0.011131765320897102, -0.015175549313426018, -0.0003819444973487407, 0.016693104058504105, 0.011895086616277695, -0.029805870726704597, -0.023244943469762802, -0.05514086037874222, 0.06582735478878021, 0.026716237887740135, -0.0697530061006546, 0.03273193538188934, 0.0019639614038169384, 0.0368029810488224, 0.021718300879001617, -0.03216852992773056, 0.04656258597970009, 0.04260058328509331, 0.027061548084020615, 0.01215861365199089, -0.017029330134391785, 0.024735236540436745, 0.06095663830637932, -0.017383728176355362, 0.04027427360415459, -0.03251384198665619, -0.04049236327409744, 0.03845684230327606, 0.025353163480758667, 0.019755475223064423, -0.024644365534186363, 0.0465262345969677, 0.007592318579554558, -0.02544403448700905, 0.007274267729371786, -0.0034553909208625555, 0.02786121889948845, -0.004539034329354763, -0.025789346545934677, -0.06161091476678848, 0.013258160091936588, -0.04492689669132233, 0.07691368460655212, -0.02553490735590458, -0.018156137317419052, -0.01758364588022232, 0.010286659933626652, -0.025171421468257904, 0.008387444540858269, 0.0012449403293430805, 0.0015959317097440362, 0.015211897902190685, -0.03969269618391991, -0.017556384205818176, 0.004716233815997839, 0.038057006895542145, 0.03687567636370659, 0.03047831915318966, -0.024426274001598358, -0.0032304837368428707, 0.0167112797498703, 0.015711691230535507, -0.03271375969052315, 0.020046265795826912, -0.0153845539316535, 0.017810825258493423, 0.02847914583981037, 0.010359357111155987, 0.021645603701472282, -0.004843453876674175, 0.08171170204877853, 0.06037506088614464, -0.034712933003902435, -0.04496324434876442, -0.01875588856637478, 0.02495332807302475, -0.012294921092689037, -0.0016095624305307865, -0.022099962458014488, -0.013585297390818596, 0.029787695035338402, 0.028897155076265335, 0.011395293287932873, -0.024844283238053322, 0.03484015539288521, -0.04045601561665535, 0.039220161736011505, 0.02402643859386444, -0.026679888367652893, -0.027679475024342537, -0.028133833780884743, -0.04045601561665535, 0.010023132897913456, 0.03115076944231987, 0.0002702008932828903, -0.005874846130609512, 0.012876499444246292, 0.007060719653964043, -0.024299053475260735, -0.07331517338752747, 0.04470880329608917, 0.029969438910484314, -0.06789922714233398, 0.02340851165354252, 0.059866178780794144, 0.06699050962924957, 0.0133217703551054, -0.0033599757589399815, -0.007905825041234493, -0.029733173549175262, -0.04525403305888176, 0.045035943388938904, 0.041546475142240524, 0.007233375683426857, -0.045072291046381, -0.016793062910437584, -0.03783891722559929, 0.028079310432076454, -0.07164313644170761, -0.013676169328391552, 0.04627179726958275, -0.036166880279779434, 0.035821568220853806, 0.016384141519665718, 0.027206944301724434, 0.0054886420257389545, -0.0031827762722969055, -0.11268072575330734, -0.013685256242752075, -0.02838827297091484, -0.07149773836135864, -0.019028503447771072, 0.025280466303229332, 0.06651797890663147, 0.04819827154278755, -0.00715613504871726, 0.043327558785676956, 0.04260058328509331, -0.02411731146275997, 0.00045918533578515053, -0.016075177118182182, -0.0068017360754311085, 0.024771586060523987, 0.013576210476458073, -0.014593971893191338, 0.020137136802077293, 0.03725733608007431, 0.007065263576805592, 0.03522181510925293, 0.027497733011841774, -0.06408262252807617, -0.01003221981227398, 0.03235027194023132, -0.010332095436751842, 0.03302272409200668, -0.030169356614351273, 0.0702255368232727, 0.05034284293651581, -0.008323834277689457, -0.0015073319664224982, 0.0348946787416935, -0.006633623503148556, -0.04987030848860741, -0.03135068714618683, 0.012413054704666138, -0.01484841201454401, 0.0010041306959465146, -0.02818835712969303, -0.03871128335595131, 0.02678893506526947, 0.021663779392838478, -0.04307311773300171, 0.044745154678821564, 0.03629409894347191, -0.06012061983346939, 0.01700206845998764, -0.03885667771100998, -0.045072291046381, 0.03022387996315956, 0.03347707912325859, 0.003566708415746689, 0.032968200743198395, -0.036403145641088486, -0.07058902084827423, 0.02020983397960663, -0.005788518115878105, 0.022499797865748405, -0.0020377945620566607, 0.006029327865689993, -0.02460801787674427, 0.03409500792622566, -0.02131846733391285, 0.011240811087191105, 0.02364477887749672, -0.04085585102438927, -0.020864108577370644, -0.051869481801986694, 0.06044775992631912, 0.03280463069677353, 0.051469650119543076, -0.003934738226234913, 0.010595623403787613, 0.009586948901414871, -0.023862870410084724, -0.024935154244303703, 0.009850476868450642, 0.08658241480588913, -0.013185462914407253, 0.011958696879446507, 0.01346716471016407, -0.016120614483952522, 0.06052045524120331, 0.001274473499506712, 0.03367699682712555, 0.0019991742447018623, 0.06746304035186768, -0.0029783151112496853, -0.005924825556576252, 0.024880630895495415, 0.0054159448482096195, -0.023572081699967384, -0.006969848182052374, -0.025716649368405342, -0.04823462292551994, 0.006092937663197517, 0.0426369346678257, -0.04238249361515045, 0.05855762958526611, -0.07618670910596848, -0.0007973978645168245, -0.0011137444525957108, -0.015484512783586979, -0.007151591591536999, 0.02306320145726204, -0.005470467731356621, -0.024735236540436745, 0.01637505367398262, 0.013921522535383701, -0.03852953761816025, 0.012640233151614666, -0.022754237055778503, -0.004634449258446693, 0.009895912371575832, 0.09007188677787781, 0.04688972234725952, -0.013385379686951637, -0.02170012705028057, 0.026425447314977646, -0.004843453876674175, -0.07618670910596848, 0.02862454019486904, -0.015375467017292976, -0.023572081699967384, -0.06746304035186768, -0.03464023768901825, -0.0042346143163740635, 0.011404380202293396, 0.03351343050599098, 0.016256920993328094, 0.05256010591983795, -0.0022751966025680304, 0.013930609449744225 ]
44,144
gwcs.coordinate_frames
coordinate_to_quantity
null
def coordinate_to_quantity(self, *coords): # list or tuple if len(coords) == 1 and astutil.isiterable(coords[0]): coords = list(coords[0]) elif len(coords) == 2: coords = list(coords) else: raise ValueError("Unexpected number of coordinates in " "input to frame {} : " "expected 2, got {}".format(self.name, len(coords))) for i in range(2): if not hasattr(coords[i], 'unit'): coords[i] = coords[i] * self.unit[i] return tuple(coords)
(self, *coords)
[ -0.0070497156120836735, 0.0002666471409611404, -0.009971695020794868, 0.022196482867002487, 0.003139807842671871, -0.03780971094965935, -0.011089440435171127, 0.048617515712976456, 0.006732874549925327, 0.019573742523789406, 0.024889633059501648, 0.025382496416568756, -0.02112274430692196, 0.009663655422627926, -0.008994768373668194, 0.015349194407463074, 0.049779266119003296, -0.06347384303808212, -0.03085680864751339, 0.049180787056684494, 0.0015115963760763407, 0.04087251052260399, 0.05847479775547981, 0.006107993423938751, -0.033725980669260025, 0.005799953360110521, 0.06861371546983719, 0.005733944941312075, -0.004444577265530825, -0.03703521192073822, -0.04002759978175163, 0.03819696232676506, 0.009725263342261314, 0.022055665031075478, -0.005342293996363878, 0.006464439909905195, -0.042949579656124115, 0.015692438930273056, -0.004420374054461718, -0.024449575692415237, -0.039816372096538544, -0.03840819001197815, 0.040907714515924454, 0.02830447629094124, 0.03173692151904106, 0.005747146438807249, -0.029219795018434525, -0.04245671629905701, -0.054637499153614044, -0.01654614880681038, 0.06245291233062744, -0.015155568718910217, 0.044111330062150955, 0.020207425579428673, -0.00012919802975375205, 0.07065557688474655, 0.023270223289728165, 0.10561372339725494, 0.006125595886260271, 0.04946242645382881, -0.01879924163222313, 0.0981503501534462, -0.013439346104860306, -0.04735014960169792, 0.005197075195610523, -0.07216937839984894, 0.012480021454393864, 0.003733885008841753, -0.014970744960010052, 0.051961950957775116, -0.01245361752808094, 0.0035204573068767786, -0.014425073750317097, -0.009434825740754604, 0.06463559716939926, 0.02033064141869545, 0.014733114279806614, 0.05882684141397476, 0.04351285099983215, 0.02272455208003521, -0.047385357320308685, -0.021738823503255844, 0.054426271468400955, 0.032793059945106506, -0.004481982439756393, 0.06819126009941101, 0.022777358070015907, 0.06079829856753349, -0.04347764700651169, 0.0035358592867851257, -0.020348243415355682, -0.030152717605233192, -0.06178402528166771, -0.0059495726600289345, -0.03108563832938671, 0.011335873045027256, -0.03214177489280701, -0.048969563096761703, -0.03717602789402008, 0.018253570422530174, -0.006732874549925327, -0.013166510500013828, -0.06674787402153015, -0.017619889229536057, -0.002108973916620016, 0.003709681797772646, 0.026403430849313736, -0.05153949558734894, 0.03640152886509895, 0.04749096930027008, 0.005421504378318787, 0.044392965734004974, -0.01782231591641903, 0.017276644706726074, -0.09146147966384888, -0.00236090668477118, -0.0017536277882754803, -0.02105233445763588, -0.019573742523789406, 0.022249290719628334, 0.023058995604515076, 0.07167650759220123, 0.04333683103322983, 0.07695719599723816, -0.015454807318747044, 0.05407422408461571, 0.023780688643455505, 0.010332542471587658, -0.002154079731553793, -0.026315419003367424, 0.07878783345222473, -0.08082970231771469, 0.02918459102511406, 0.0709020122885704, 0.011599906720221043, 0.04037964716553688, 0.01960894651710987, -0.053405337035655975, -0.0007618489908054471, -0.0014334862353280187, 0.04995528981089592, 0.03333872929215431, 0.07843578606843948, 0.020735492929816246, -0.016422932967543602, 0.01768149621784687, -0.01909848116338253, -0.0022882972843945026, -0.08188583701848984, -0.02802284061908722, -0.08301238715648651, 0.0406612828373909, 0.04699810594320297, -0.016968604177236557, -0.0053730979561805725, -0.013632970862090588, 0.015137966722249985, -0.024449575692415237, 0.09012370556592941, 0.009320410899817944, 0.0010126815177500248, -0.0046073985286056995, 0.0015115963760763407, 0.02091151662170887, -0.04333683103322983, 0.008779140189290047, -0.04372407868504524, -0.014759517274796963, -0.04720933362841606, -0.03251142427325249, 0.019151287153363228, 0.01974976621568203, 0.07977356016635895, 0.0029109781607985497, -0.031912945210933685, -0.04703330993652344, -0.04981447011232376, -0.012876072898507118, 0.004928640089929104, -0.0342540480196476, 0.023569460958242416, -0.05375738441944122, 0.01274405512958765, 0.03207136690616608, 0.010825405828654766, 0.030187921598553658, -0.004451178014278412, -0.004572194069623947, 0.034588493406772614, -0.0355566181242466, 0.013342533260583878, 0.050201721489429474, -0.06005900353193283, 0.028269272297620773, 0.011168651282787323, 0.024590393528342247, 0.019133685156702995, 0.013694578781723976, -0.046857286244630814, 0.06079829856753349, -0.06812085211277008, -0.032845865935087204, 0.006939701735973358, 0.03798573464155197, 0.0177783090621233, 0.011300668120384216, -0.0028647722210735083, -0.06086870655417442, -0.013324931263923645, -0.03055756911635399, 0.049849674105644226, 0.028374886140227318, -0.04661085456609726, -0.01547241024672985, -0.000616080011241138, 0.052525222301483154, 0.018183162435889244, -0.012497623451054096, 0.05273644998669624, -0.006688869092613459, 0.12455377727746964, -0.016317319124937057, 0.04467460513114929, -0.022090869024395943, 0.007771409582346678, 0.0075953868217766285, 0.018482400104403496, 0.018253570422530174, -0.028938159346580505, 0.07766129076480865, -0.02026023156940937, -0.022566132247447968, 0.01874643564224243, 0.01626451313495636, -0.03643673285841942, -0.007032113615423441, -0.000291812903014943, -0.0665014386177063, -0.012101572006940842, 0.013368936255574226, -0.0682968720793724, 0.00751617643982172, -0.0008097051759250462, 0.00716853141784668, 0.014363465830683708, -0.022689348086714745, 0.011283066123723984, -0.0038527005817741156, -0.05924929678440094, 0.0503777451813221, -0.00844469666481018, 0.0827307477593422, 0.02811085246503353, -0.013474550098180771, 0.020084209740161896, -0.020999528467655182, -0.00009461228910367936, -0.03964034840464592, 0.005302689038217068, -0.016070887446403503, 0.016748575493693352, -0.03731684759259224, 0.02309419959783554, 0.004713012371212244, 0.01895766332745552, 0.0069264997728168964, 0.004787821788340807, 0.02707231603562832, -0.030469557270407677, 0.03893625736236572, 0.002050666371360421, -0.002666746499016881, 0.016255712136626244, 0.019362514838576317, 0.03592626750469208, -0.0354510061442852, 0.058122750371694565, 0.014636301435530186, -0.01568363793194294, 0.002510526217520237, -0.0030517964623868465, 0.03858421370387077, -0.01858801394701004, -0.002693149959668517, -0.0065172468312084675, -0.008303878828883171, 0.0451674684882164, 0.012004759162664413, -0.017883922904729843, -0.007789012044668198, -0.011151048354804516, 0.05182113125920296, -0.012031163088977337, 0.0005539219710044563, 0.0008944161818362772, -0.009021172299981117, -0.07568982988595963, 0.04013321176171303, 0.07745005935430527, 0.07385919243097305, -0.029607046395540237, 0.031613707542419434, -0.052102766931056976, -0.023903904482722282, 0.019943390041589737, -0.023639870807528496, 0.016343723982572556, -0.007802213542163372, -0.07079640030860901, 0.035398200154304504, 0.04080209881067276, 0.012242390774190426, -0.037211235612630844, -0.03402521833777428, 0.03406042605638504, 0.05974216014146805, -0.02084110677242279, 0.005997979082167149, 0.033937208354473114, 0.053405337035655975, 0.03893625736236572, -0.03668316453695297, 0.009672456420958042, 0.023921508342027664, -0.03316270932555199, 0.06674787402153015, -0.0690009668469429, -0.0041497391648590565, 0.04435776174068451, -0.03520457446575165, -0.029536636546254158, -0.019204095005989075, -0.033215515315532684, -0.013307328335940838, 0.039816372096538544, -0.013870601542294025, -0.013201715424656868, 0.01902807131409645, 0.04682208225131035, 0.0013179712696000934, -0.01673097349703312, -0.05234920233488083, -0.03427165374159813, 0.0573834553360939, -0.031983353197574615, -0.013553760945796967, 0.01289367489516735, -0.06544530391693115, 0.07864701747894287, -0.0010907916584983468, -0.08667366206645966, -0.027248339727520943, 0.012295196764171124, -0.03671836853027344, -0.01779591105878353, 0.04791342467069626, -0.010367746464908123, -0.06755757331848145, -0.025646531954407692, -0.0088627515360713, 0.014609897509217262, -0.05241961032152176, 0.0676983967423439, -0.029219795018434525, -0.019063277170062065, -0.03406042605638504, 0.03252902626991272, -0.04509705677628517, -0.031613707542419434, 0.06005900353193283, 0.0033884402364492416, 0.034095630049705505, -0.05671456828713417, 0.03847859799861908, -0.049920085817575455, 0.07787251472473145, 0.011951952241361141, 0.0254881102591753, -0.060164615511894226, -0.11124645173549652, -0.04749096930027008, -0.07759088277816772, 0.011987157166004181, 0.042667943984270096, 0.03858421370387077, 0.033444344997406006, -0.0019274504156783223, -0.04270314797759056, -0.0651988685131073, 0.020735492929816246, 0.016669364646077156, -0.006081589963287115, 0.0018328380538150668, -0.0638962984085083, -0.019063277170062065, -0.03548621013760567, 0.04263273999094963, 0.0021078737918287516, -0.01295528281480074, -0.007472170516848564, -0.020735492929816246, -0.05643293261528015, -0.022090869024395943, 0.014495482668280602, -0.04942722246050835, -0.031472887843847275, -0.012462418526411057, -0.003579864976927638, 0.0036898793186992407, -0.015137966722249985, 0.02453758753836155, 0.030117511749267578, 0.08118174970149994, 0.005302689038217068, -0.04407612606883049, 0.004136537201702595, -0.06002379581332207, -0.05882684141397476, -0.01412583515048027, 0.034746915102005005, -0.012277594767510891, 0.0018328380538150668, 0.012620839290320873, -0.0025567321572452784, 0.035609424114227295, -0.0412597581744194, -0.01582445576786995, -0.029747864231467247, 0.023710280656814575, 0.04935681074857712, -0.06576213985681534, -0.02295338176190853, 0.008840748108923435, -0.04935681074857712, 0.05023692548274994, 0.012444816529750824, 0.006583255250006914, 0.02888535149395466, -0.03173692151904106, 0.024924837052822113, 0.03182493522763252, 0.051433879882097244, 0.015771647915244102, 0.03506375476717949, -0.015604427084326744, -0.08751857280731201, -0.051222655922174454, -0.013016890734434128, -0.022601336240768433, 0.005720742978155613, 0.01916889101266861, 0.013668175786733627, 0.056890591979026794, -0.08540629595518112, 0.03749287128448486, -0.0024687207769602537, -0.015877261757850647, -0.05153949558734894, 0.001814135699532926, -0.035767845809459686, 0.033725980669260025, -0.05344054102897644, 0.01623811013996601, -0.039323508739471436, -0.006085990462452173, -0.01828877627849579, -0.028058044612407684, -0.02687869220972061, 0.03215937688946724, 0.0009774769423529506, 0.052173178642988205, 0.02635062299668789, 0.027107521891593933, -0.019292106851935387, -0.002972586080431938, -0.005830757319927216, 0.02629781700670719, 0.016924599185585976, 0.018552809953689575, -0.04819506034255028, -0.011283066123723984, -0.051961950957775116, 0.03268744796514511, 0.005043054930865765, 0.00017230988305527717, 0.06477641314268112, -0.018464798107743263, -0.048335880041122437, 0.002807564800605178, 0.05527117848396301, -0.057172227650880814, 0.042808759957551956, 0.05069458484649658, -0.027318749576807022, -0.0016777178971096873, 0.026843486353754997, 0.04470980912446976, -0.05611608922481537, -0.08533588796854019, 0.0464700385928154, 0.02795243076980114, 0.030399149283766747, 0.07449287921190262, -0.018904855474829674, 0.015560421161353588, -0.014557091519236565, 0.002961584832519293, -0.013932209461927414, -0.015454807318747044, 0.0017481270479038358, -0.09209516644477844, 0.0425623282790184, 0.04784301668405533, -0.01140628196299076, 0.018940061330795288, 0.015085159800946712, -0.021545199677348137, 0.039393916726112366, -0.022742154076695442, -0.021439585834741592, 0.018323980271816254, 0.002836168510839343, 0.0006870392244309187, 0.026949100196361542, -0.01081660483032465, -0.011811134405434132, -0.04016841948032379, -0.02818126045167446, 0.019784970209002495, -0.025241678580641747, 0.009285205975174904, 0.03421884402632713, -0.0006760378018952906, -0.0030451954808086157, -0.0019208495505154133, -0.006442436948418617, 0.03826737031340599, 0.006028783041983843, 0.011626310646533966, 0.019151287153363228, 0.028638919815421104, 0.001979157095775008, 0.0021947850473225117, -0.02599857747554779, -0.034746915102005005, 0.01735585555434227, -0.023252621293067932, 0.0008476601215079427, 0.04133016988635063, 0.000011972649190283846, -0.023323029279708862, -0.010904616676270962, -0.010754996910691261, 0.011054236441850662, 0.06569173187017441, -0.02569933794438839, -0.026456236839294434, 0.0007381959003396332, -0.028427692130208015, 0.02869172766804695, 0.014002619311213493, 0.0003204166132491082, 0.018464798107743263, 0.021527595818042755, -0.043160807341337204, -0.016018081456422806, 0.00025784599711187184, -0.042069464921951294, 0.020858708769083023, 0.007969435304403305, 0.038302574306726456, -0.018623219802975655, -0.0032256189733743668, -0.010534968227148056, -0.0046514044515788555, -0.08871552348136902, -0.025963373482227325, -0.06688868999481201, -0.0034654501359909773, 0.007111323997378349, 0.004602998029440641, 0.05770029500126839, -0.047244537621736526, -0.03266984224319458, 0.054567087441682816, 0.0678040087223053, -0.026174601167440414, -0.008167460560798645, 0.05344054102897644, 0.004836228210479021, 0.03462369740009308, -0.016951002180576324, 0.020348243415355682, 0.013333732262253761, 0.0017712301341816783, -0.022671746090054512, -0.0022354903630912304, 0.00017010960436891764, -0.034588493406772614, -0.04133016988635063, 0.004713012371212244, 0.009408421814441681, 0.03770409896969795, 0.04932160675525665, 0.02758278325200081, -0.05234920233488083, -0.04189344123005867, -0.004858231171965599, -0.03511656075716019, 0.04122455418109894, 0.05896766111254692, 0.004226749297231436, 0.005386299919337034, 0.011344674043357372, -0.029712660238146782, -0.024660803377628326, -0.06805043667554855, 0.02070028893649578, -0.05481351912021637, 0.02330542728304863, -0.06836728006601334, -0.02242531254887581, -0.0458715595304966, -0.022319698706269264, -0.024414371699094772, -0.020577073097229004, 0.009144388139247894, 0.008127856068313122, 0.02737155556678772, -0.03173692151904106, 0.021950051188468933, -0.012849668972194195, 0.09653093665838242, -0.0974462553858757, -0.02432635985314846, -0.04147098585963249, -0.05111704021692276, -0.0020297637674957514, -0.030909614637494087, 0.025030450895428658, 0.04858231171965599, 0.0380561426281929, -0.04228069260716438, -0.015736443921923637, -0.020717890933156013, -0.06361466646194458, -0.020418653264641762, -0.021316369995474815, 0.018693627789616585, 0.019714560359716415, 0.005425904877483845, 0.027107521891593933, 0.004389570094645023, 0.0058043538592755795, 0.021034732460975647, 0.07963274419307709, -0.055517613887786865, -0.007001309655606747, -0.03696480020880699, 0.008880353532731533, -0.0018130355747416615, 0.015278784558176994, -0.008198264986276627, 0.03710561990737915, -0.029061375185847282, -0.014557091519236565, -0.039393916726112366, 0.02751237340271473, 0.014609897509217262, -0.028498101979494095, 0.03749287128448486, -0.0009246701374650002, 0.0445689894258976, -0.008158659562468529, -0.024361563846468925, 0.0177255030721426, 0.03312750533223152, -0.02272455208003521, 0.024854429066181183, 0.0023939108941704035, -0.06206566095352173, -0.03703521192073822, 0.014680307358503342, 0.009690058417618275, -0.002840569010004401, -0.00929400697350502, 0.016132496297359467, 0.06526927649974823, -0.049708858132362366, -0.04182303324341774, 0.09547480195760727, 0.015269983559846878, -0.006033183541148901, -0.022548528388142586, -0.03847859799861908, -0.0012123575434088707, -0.01997859589755535, 0.04372407868504524, 0.03585585951805115, -0.0002838368818629533, -0.020084209740161896, -0.029659852385520935, -0.0026029380969703197, 0.07128926366567612, 0.03573264181613922, 0.00973406434059143, -0.019644152373075485, -0.02962464839220047, -0.00865592435002327, -0.03369077667593956, -0.01561322808265686, -0.007172931917011738, -0.028058044612407684, -0.01982017420232296, -0.0361550971865654, 0.06974025815725327, 0.04428735375404358, 0.0438648983836174, 0.026843486353754997, 0.0038130953907966614, -0.06414273381233215, -0.0017437265487387776, -0.010279735550284386, -0.03406042605638504, -0.030451955273747444, 0.019256900995969772, 0.04368887469172478, -0.011362276040017605, -0.004858231171965599, -0.015137966722249985, -0.06276975572109222, 0.019362514838576317, -0.0038218963891267776, 0.006565652787685394, 0.008959563449025154, 0.0060155815444886684, -0.04365367069840431, -0.014521886594593525, -0.010262133553624153, 0.0006694369367323816, 0.01161750964820385, 0.027283543720841408, 0.028920557349920273, 0.032793059945106506, -0.06738155335187912, -0.015903666615486145, -0.023411041125655174, 0.028269272297620773, -0.02962464839220047, -0.0787174254655838, 0.05044815316796303, 0.07202855497598648, 0.014829926192760468, -0.028568511828780174, 0.032000958919525146, -0.08399811387062073, 0.0361550971865654, -0.016396529972553253, -0.03303949162364006, -0.012031163088977337, -0.028339682146906853, 0.011388679035007954, 0.013747385703027248, 0.02745956741273403, -0.055588021874427795, 0.026755476370453835, -0.006732874549925327, 0.009874883107841015 ]
44,145
gwcs.coordinate_frames
coordinates
null
def coordinates(self, *args): args = [args[i] for i in self.axes_order] coo = tuple([arg * un for arg, un in zip(args, self.unit)]) return coo
(self, *args)
[ -0.00875638984143734, 0.012250361032783985, 0.03282787650823593, 0.007575994357466698, 0.02450072206556797, -0.0019004370551556349, -0.0033136927522718906, -0.0010376751888543367, 0.006292582489550114, 0.008387248031795025, 0.031093768775463104, -0.0010119210928678513, 0.023195849731564522, -0.018474265933036804, -0.02062044106423855, 0.02465524710714817, 0.022903969511389732, -0.04931049421429634, -0.0055542984046041965, 0.03373785689473152, 0.012155929580330849, -0.002659109653905034, 0.0383220836520195, -0.029342491179704666, -0.009692122228443623, 0.012782612815499306, 0.028466852381825447, -0.018319740891456604, 0.008361494168639183, -0.08873142302036285, -0.062153201550245285, 0.026681235060095787, -0.0006894583930261433, 0.0034682173281908035, 0.00934873428195715, 0.008807898499071598, -0.008168338797986507, 0.028243649750947952, 0.006653139367699623, 0.023642253130674362, 0.01152066234499216, -0.05281304940581322, 0.058753661811351776, 0.01752994954586029, 0.003783704712986946, 0.002687009982764721, -0.048623718321323395, -0.034373123198747635, -0.046563390642404556, 0.02420884370803833, 0.06575877219438553, -0.0701884776353836, 0.03609006106853485, -0.018216725438833237, 0.003058298025280237, 0.08584696054458618, 0.026612557470798492, 0.10844188183546066, 0.0022899676114320755, 0.021272877231240273, -0.012250361032783985, 0.07630077749490738, 0.005326803773641586, -0.025067312642931938, -0.00033990031806752086, -0.06191282719373703, 0.017092129215598106, 0.02714480832219124, -0.003644203534349799, 0.050100285559892654, -0.011108596809208393, 0.015332267619669437, -0.012490732595324516, -0.06211886182427406, 0.05810122191905975, 0.016534125432372093, 0.003923206124454737, 0.06874624639749527, 0.06208452209830284, 0.02985757403075695, -0.1162024438381195, 0.006060795392841101, 0.0016718695405870676, 0.08989893645048141, 0.028552699834108353, 0.01668006367981434, 0.007073789834976196, 0.06421352922916412, -0.026183323934674263, 0.037807002663612366, -0.033634837716817856, -0.019109534099698067, -0.03578101471066475, 0.01461973786354065, -0.04100050777196884, 0.012636672705411911, -0.004148554522544146, -0.0041228001937270164, -0.0012490733060985804, 0.024603739380836487, -0.006451399065554142, -0.014018808491528034, -0.0009137336164712906, -0.014585399068892002, -0.003493971424177289, -0.030681703239679337, 0.007820658385753632, -0.04251141473650932, -0.015503961592912674, 0.04199633374810219, -0.024586569517850876, 0.03368634730577469, 0.03815038874745369, 0.03746361285448074, -0.07080657035112381, -0.04422835633158684, -0.04512116312980652, -0.008614742197096348, -0.004056268837302923, 0.02626916952431202, -0.02434619888663292, 0.06534671038389206, 0.04659773036837578, 0.03612440079450607, -0.02180512808263302, 0.06393881887197495, 0.007271237671375275, 0.021118352189660072, -0.06177547201514244, -0.05267569422721863, 0.09868966788053513, -0.08206969499588013, 0.02583993598818779, 0.01671440340578556, 0.022337378934025764, 0.012902798131108284, 0.05659031867980957, -0.04762789234519005, -0.006597339175641537, 0.010971241630613804, 0.02613181434571743, 0.06067663058638573, 0.022766614332795143, 0.019538767635822296, -0.06328637897968292, 0.07025714963674545, 0.01929839700460434, -0.005829008761793375, -0.013615327887237072, -0.010344558395445347, -0.041790299117565155, 0.0337035171687603, 0.013503726571798325, -0.04258009418845177, -0.024552231654524803, -0.0951184332370758, 0.01357240416109562, -0.015495376661419868, 0.05538845807313919, 0.06393881887197495, -0.030200960114598274, 0.011555001139640808, 0.013048738241195679, -0.008382955566048622, 0.02345339022576809, 0.04203067347407341, -0.030853398144245148, -0.03523159399628639, 0.0034059782046824694, -0.017787490040063858, 0.006524369120597839, -0.013426464982330799, -0.003296523354947567, 0.02834666706621647, -0.044777773320674896, -0.06672025471925735, -0.042408399283885956, 0.029033442959189415, -0.02199399098753929, -0.024569399654865265, 0.016628555953502655, -0.022062668576836586, -0.012155929580330849, -0.006760448217391968, 0.014636906795203686, 0.021736450493335724, 0.0373949371278286, -0.01040465198457241, 0.003493971424177289, -0.04072579741477966, -0.008485971949994564, 0.0290849506855011, -0.018920671194791794, 0.027539705857634544, 0.006060795392841101, 0.05281304940581322, -0.021049674600362778, -0.013821360655128956, 0.016336677595973015, 0.023367542773485184, -0.03643345087766647, -0.013769852928817272, 0.03921489045023918, 0.020860811695456505, 0.03135130926966667, 0.023110002279281616, 0.011391892097890377, -0.023195849731564522, -0.01840558834373951, -0.013486557640135288, 0.09237132966518402, 0.007498732302337885, -0.07286690175533295, -0.03205525502562523, -0.001991649391129613, 0.0952557846903801, 0.012731104157865047, -0.01916104182600975, 0.004773091059178114, 0.03219261020421982, 0.09436298161745071, 0.016585633158683777, 0.03133413940668106, -0.006790494546294212, 0.02556522563099861, -0.006361259613186121, 0.07321029156446457, -0.010696531273424625, -0.021118352189660072, 0.021204199641942978, 0.008425879292190075, -0.07087524980306625, -0.01218168344348669, 0.0032042379025369883, -0.018972178921103477, -0.01201857440173626, -0.03681117668747902, -0.04233971983194351, -0.02628633938729763, 0.03336012735962868, -0.03784134238958359, 0.019813477993011475, 0.016645725816488266, 0.031402818858623505, 0.032759200781583786, -0.01209583692252636, 0.0032106763683259487, 0.02551371604204178, -0.018062200397253036, 0.01912670210003853, -0.026372186839580536, 0.0658617913722992, 0.026904437690973282, 0.0044855037704110146, -0.007451516110450029, -0.01856011338531971, 0.015984704717993736, -0.03591836988925934, 0.010936902835965157, -0.048795413225889206, -0.0025346316397190094, 0.017924845218658447, 0.01144339982420206, 0.016585633158683777, 0.024912787601351738, 0.004365317989140749, -0.01419050246477127, -0.02704179286956787, -0.031385648995637894, 0.05037499591708183, 0.009254302829504013, 0.03976431116461754, 0.005150817800313234, 0.05020330473780632, 0.013435049913823605, 0.017856167629361153, 0.028861748054623604, -0.011778202839195728, -0.02080930396914482, 0.023401882499456406, 0.013795606791973114, 0.012104421854019165, -0.06967339664697647, -0.01811370812356472, 0.00005952279389020987, -0.02613181434571743, 0.035540640354156494, -0.011889804154634476, 0.00824130792170763, -0.007739103399217129, -0.024311859160661697, 0.016439693048596382, -0.0063483826816082, -0.030681703239679337, 0.006077964790165424, -0.026646897196769714, -0.03248449042439461, 0.025032974779605865, 0.027093300595879555, 0.025771258398890495, 0.0063698445446789265, -0.005185156594961882, -0.016602803021669388, -0.022509073838591576, 0.051748547703027725, 0.027058962732553482, 0.030475670471787453, -0.02999492920935154, -0.028896087780594826, 0.010018340311944485, 0.008563234470784664, -0.0014175479300320148, -0.0450868234038353, -0.02551371604204178, -0.019864987581968307, 0.058891016989946365, -0.007932259701192379, -0.02170211263000965, 0.02434619888663292, 0.04934483394026756, 0.02001951076090336, -0.04642603546380997, -0.012087251991033554, 0.014293518848717213, 0.013143169693648815, 0.1238943338394165, -0.08021540194749832, -0.026166154071688652, 0.09779685735702515, -0.013795606791973114, -0.0011063526617363095, -0.01358957402408123, -0.06352674961090088, 0.016748741269111633, 0.010756623931229115, -0.044777773320674896, 0.02508448250591755, 0.06366410851478577, 0.03389238193631172, -0.024140166118741035, -0.013477972708642483, -0.04161860793828964, -0.0584789514541626, 0.048761073499917984, -0.044022321701049805, 0.01514340378344059, -0.008498849347233772, 0.003058298025280237, 0.052366647869348526, -0.00402836874127388, -0.0004496234469115734, -0.03876848891377449, -0.02032856084406376, -0.05895969271659851, 0.030647365376353264, 0.09614859521389008, -0.02110118232667446, -0.04635735973715782, -0.0037858509458601475, -0.004421118646860123, 0.06411051005125046, -0.09106645733118057, 0.03499121963977814, -0.013718344271183014, -0.026938777416944504, -0.018937839195132256, 0.058753661811351776, -0.02001951076090336, -0.009185625240206718, 0.027986109256744385, 0.005434112623333931, 0.017152223736047745, -0.025754088535904884, 0.029462676495313644, -0.035849690437316895, 0.07444648444652557, -0.027659891173243523, -0.004464041907340288, -0.09429430216550827, -0.0837179571390152, -0.012387716211378574, -0.08220705389976501, 0.026252001523971558, 0.03639911115169525, -0.0383220836520195, 0.02834666706621647, -0.01856011338531971, 0.007275530137121677, -0.033480316400527954, 0.03208959475159645, 0.0055156671442091465, -0.03845943883061409, 0.03918055444955826, -0.034235768020153046, -0.01706637628376484, -0.030647365376353264, 0.05789519101381302, 0.024569399654865265, -0.03921489045023918, -0.05449565127491951, -0.02183946780860424, -0.055766187608242035, -0.014585399068892002, 0.021581925451755524, -0.020105358213186264, -0.02599445916712284, -0.042717449367046356, 0.05435829609632492, 0.03825340420007706, 0.034836698323488235, -0.050718385726213455, 0.016044797375798225, 0.100956030189991, -0.051164787262678146, -0.0450868234038353, -0.0016793812392279506, -0.09704140573740005, 0.019246889278292656, 0.01811370812356472, -0.03791001811623573, -0.011323214508593082, -0.02463807724416256, 0.006666016764938831, 0.005949194543063641, 0.06991376727819443, -0.012542241252958775, 0.007988059893250465, -0.04000468552112579, 0.06009287387132645, 0.06435088068246841, -0.0647972896695137, -0.03969563543796539, -0.04230538383126259, -0.006292582489550114, 0.02863854542374611, 0.0017426933627575636, -0.011005580425262451, 0.023264527320861816, -0.0011342529905959964, 0.01144339982420206, -0.018748976290225983, 0.06060795485973358, 0.019092364236712456, -0.02183946780860424, -0.031248293817043304, -0.04151558876037598, -0.0543239563703537, -0.039420925080776215, -0.01625083014369011, -0.027264995500445366, 0.03088773600757122, 0.06253092736005783, 0.04999727010726929, -0.06620517373085022, 0.04258009418845177, -0.03284504637122154, -0.08406134694814682, -0.0715620294213295, -0.0025861395988613367, -0.015229251235723495, 0.038528114557266235, -0.043129514902830124, -0.004979123827069998, -0.06174113601446152, -0.015323682688176632, 0.0058204238303005695, 0.025273345410823822, -0.03196940943598747, -0.018594451248645782, 0.0016707965405657887, 0.05521676689386368, 0.002270652214065194, -0.02403714880347252, -0.037703987210989, -0.011486323550343513, 0.01959027722477913, -0.01673157326877117, 0.032879386097192764, 0.020311390981078148, -0.049962930381298065, -0.04244273900985718, -0.047147151082754135, 0.0380130335688591, 0.012919967994093895, -0.0057989624328911304, 0.0667889341711998, 0.01055059116333723, -0.036330435425043106, -0.018319740891456604, 0.024689586833119392, 0.00015170767437666655, 0.036605145782232285, -0.009400242008268833, -0.03849377855658531, 0.008928083814680576, 0.00904827006161213, 0.04659773036837578, -0.04560190439224243, -0.08948687463998795, 0.027694229036569595, 0.017718812450766563, -0.00994966272264719, 0.076644167304039, -0.02080930396914482, 0.013194678351283073, -0.06641121208667755, 0.02467241697013378, 0.005889101419597864, -0.04450306296348572, 0.0010768427746370435, -0.04882975295186043, -0.05271003395318985, 0.009005346335470676, -0.0664798840880394, 0.0457049235701561, 0.01737542450428009, -0.04622000455856323, 0.042236704379320145, -0.006301166955381632, 0.011469153687357903, 0.03643345087766647, -0.007468685507774353, -0.004356733523309231, 0.07060053944587708, -0.018233895301818848, 0.01728099398314953, -0.014087486080825329, -0.006447106599807739, 0.028174972161650658, 0.011906973086297512, 0.004837476182729006, -0.025050142779946327, -0.019658954814076424, 0.01842275820672512, -0.034682173281908035, 0.021753620356321335, -0.024002810940146446, 0.0034446092322468758, 0.023384712636470795, 0.03997034579515457, 0.02970304898917675, 0.024586569517850876, 0.01454247534275055, -0.029342491179704666, 0.005112186539918184, -0.013915792107582092, 0.0164654478430748, -0.032759200781583786, 0.04302649572491646, -0.006945019122213125, 0.014078902080655098, -0.03519725427031517, 0.008567526936531067, 0.05092441663146019, -0.00015854860248509794, 0.0026183323934674263, -0.03969563543796539, -0.0012973621487617493, -0.05707105994224548, 0.017169391736388206, 0.014250596053898335, 0.021444570273160934, 0.04051976650953293, 0.01768447458744049, -0.04707847535610199, 0.019264057278633118, 0.020002342760562897, -0.009331564418971539, -0.015366606414318085, 0.00904827006161213, -0.03234713524580002, -0.04251141473650932, -0.024552231654524803, -0.03222694993019104, -0.022217193618416786, -0.06119171530008316, 0.02556522563099861, -0.06026456877589226, -0.02599445916712284, -0.0335489921271801, -0.014576814137399197, 0.019092364236712456, -0.06373278051614761, -0.054873377084732056, 0.05507941171526909, 0.05418660119175911, 0.014516721479594707, 0.01873180642724037, 0.04422835633158684, -0.035574980080127716, 0.021410232409834862, 0.01418191846460104, 0.0059234402142465115, 0.018955009058117867, -0.002093592658638954, -0.049104463309049606, -0.026801422238349915, -0.029960589483380318, -0.011632263660430908, -0.029205136001110077, -0.005412650760263205, 0.03459632396697998, 0.032295625656843185, 0.019349904730916023, -0.024758264422416687, -0.05240098387002945, 0.023092832416296005, -0.028707223013043404, -0.068952277302742, 0.026646897196769714, 0.053087759763002396, -0.03519725427031517, 0.01698911376297474, 0.01337495632469654, -0.0175471194088459, -0.020843641832470894, -0.03873414918780327, 0.030801890417933464, -0.020105358213186264, 0.04347290098667145, -0.04412533715367317, -0.003493971424177289, -0.05102743208408356, -0.02820931188762188, -0.012842705473303795, 0.024311859160661697, 0.030046436935663223, -0.029445508494973183, 0.04292348027229309, -0.0028329496271908283, 0.04855504259467125, 0.03835642337799072, 0.08028408139944077, -0.08859406411647797, -0.058307256549596786, -0.04409100115299225, -0.024998635053634644, -0.03619308024644852, -0.02479260228574276, -0.04395364597439766, 0.02329886518418789, 0.0540149062871933, 0.004137823358178139, 0.013048738241195679, 0.011451984755694866, -0.01797635294497013, -0.056349944323301315, -0.03327428176999092, 0.048314668238162994, -0.002850119024515152, 0.02007102034986019, 0.03523159399628639, -0.0003468753711786121, 0.055903542786836624, -0.026011629030108452, 0.0667889341711998, -0.0463230200111866, 0.024861279875040054, 0.0037815587129443884, -0.023264527320861816, -0.007683303207159042, 0.03255316615104675, 0.019229719415307045, 0.020397238433361053, -0.017366839572787285, -0.02228587120771408, -0.009820892475545406, 0.021118352189660072, -0.024981465190649033, -0.045533228665590286, 0.05748312547802925, 0.0013917938340455294, 0.0005013999179936945, -0.00913411658257246, -0.036330435425043106, 0.0026698405854403973, 0.034956883639097214, 0.004494088236242533, 0.008988176472485065, -0.002908065915107727, -0.04927615448832512, -0.009880985133349895, -0.010301635600626469, -0.00883365236222744, 0.018457096070051193, -0.004974831361323595, 0.028861748054623604, 0.06098568066954613, -0.020122528076171875, -0.03821906819939613, 0.04896710813045502, -0.010258711874485016, 0.03193506971001625, -0.021942483261227608, 0.015452452935278416, -0.015091896057128906, -0.02541070058941841, -0.017581457272171974, 0.06390447914600372, -0.005451282020658255, -0.014078902080655098, -0.03358333185315132, -0.04316385090351105, 0.07121863961219788, 0.02834666706621647, -0.0196246150881052, 0.017426934093236923, -0.015340851619839668, 0.04948218911886215, 0.01765013486146927, -0.012980060651898384, -0.0004574033373501152, 0.04127521812915802, -0.03643345087766647, -0.019727632403373718, 0.02717914804816246, 0.018663128837943077, 0.058891016989946365, 0.01247356366366148, 0.006189566105604172, -0.02036289870738983, 0.05597221851348877, 0.01929839700460434, -0.012628087773919106, 0.048932768404483795, 0.014817185699939728, 0.0412408821284771, -0.020414408296346664, -0.0453958734869957, -0.0603332445025444, -0.044777773320674896, 0.009803722612559795, 0.030183792114257812, 0.042820464819669724, -0.025032974779605865, 0.03791001811623573, -0.025805596262216568, -0.04872673377394676, -0.055148087441921234, -0.009786553680896759, -0.005026339553296566, -0.017384009435772896, 0.01783899776637554, 0.004725875332951546, -0.03753229230642319, -0.012379132211208344, 0.017323916777968407, 0.007923674769699574, 0.011185859329998493, -0.026509542018175125, 0.03384087234735489, 0.07643813639879227, -0.004700121004134417, -0.02063760906457901, -0.025771258398890495, -0.05995551869273186, 0.0703258290886879, -0.029050610959529877, -0.033051081001758575, -0.04086315259337425, -0.06280563771724701, 0.03279354050755501, -0.03962695598602295, 0.07952862232923508, 0.029153628274798393, -0.003206383902579546, 0.021908145397901535, 0.05319077894091606 ]
44,146
gwcs.selector
LabelMapper
Maps inputs to regions. Returns the region labels corresponding to the inputs. Labels are strings or numbers which uniquely identify a location. For example, labels may represent slices of an IFU or names of spherical polygons. Parameters ---------- mapper : `~astropy.modeling.Model` A function which returns a region. no_label : str or int "" or 0 A return value for a location which has no corresponding label. inputs_mapping : `~astropy.modeling.mappings.Mapping` or tuple An optional Mapping model to be prepended to the LabelMapper with the purpose to filter the inputs or change their order. If tuple, a `~astropy.modeling.mappings.Mapping` model will be created from it. name : str The name of this transform.
class LabelMapper(_LabelMapper): """ Maps inputs to regions. Returns the region labels corresponding to the inputs. Labels are strings or numbers which uniquely identify a location. For example, labels may represent slices of an IFU or names of spherical polygons. Parameters ---------- mapper : `~astropy.modeling.Model` A function which returns a region. no_label : str or int "" or 0 A return value for a location which has no corresponding label. inputs_mapping : `~astropy.modeling.mappings.Mapping` or tuple An optional Mapping model to be prepended to the LabelMapper with the purpose to filter the inputs or change their order. If tuple, a `~astropy.modeling.mappings.Mapping` model will be created from it. name : str The name of this transform. """ n_outputs = 1 def __init__(self, inputs, mapper, no_label=np.nan, inputs_mapping=None, name=None, **kwargs): self._no_label = no_label self._inputs = inputs self._n_inputs = len(inputs) self._outputs = tuple(['x{0}'.format(ind) for ind in list(range(mapper.n_outputs))]) if isinstance(inputs_mapping, tuple): inputs_mapping = astmodels.Mapping(inputs_mapping) elif inputs_mapping is not None and not isinstance(inputs_mapping, astmodels.Mapping): raise TypeError("inputs_mapping must be an instance of astropy.modeling.Mapping.") self._inputs_mapping = inputs_mapping self._mapper = mapper self._input_units_strict = {key: False for key in self._inputs} self._input_units_allow_dimensionless = {key: False for key in self._inputs} super(_LabelMapper, self).__init__(name=name, **kwargs) self.outputs = ('label',) @property def inputs(self): """ The name(s) of the input variable(s) on which a model is evaluated. """ return self._inputs @inputs.setter def inputs(self, val): """ The name(s) of the input variable(s) on which a model is evaluated. """ self._inputs = val @property def n_inputs(self): return self._n_inputs @property def mapper(self): return self._mapper @property def inputs_mapping(self): return self._inputs_mapping @property def no_label(self): return self._no_label def evaluate(self, *args): if self.inputs_mapping is not None: args = self.inputs_mapping(*args) if self.n_outputs == 1: args = [args] res = self.mapper(*args) if np.isscalar(res): res = np.array([res]) return np.array(res)
(inputs, mapper, no_label=nan, inputs_mapping=None, name=None, **kwargs)
[ 0.062494415789842606, -0.08655942976474762, 0.014121872372925282, -0.02066979557275772, -0.026751341298222542, -0.009915159083902836, -0.052084896713495255, -0.03772050887346268, 0.04133959114551544, -0.04383936524391174, -0.0013163469266146421, -0.021658511832356453, 0.04951050132513046, 0.03828016296029091, 0.011845956556499004, 0.04764499515295029, 0.008688589558005333, 0.008455401286482811, 0.025632038712501526, 0.03275826573371887, 0.014476318843662739, -0.014821437187492847, 0.04111573100090027, 0.009765918366611004, 0.001972771482542157, -0.007611260283738375, 0.0204459335654974, -0.06324061751365662, 0.0087538817897439, -0.04510790854692459, -0.04984629154205322, -0.020222073420882225, -0.013067862018942833, -0.01455093827098608, -0.0014026265125721693, -0.05025670304894447, 0.008861148729920387, 0.05469660460948944, -0.013795409351587296, -0.05286841094493866, 0.032553061842918396, -0.07954513281583786, -0.009560712613165379, 0.008072972297668457, 0.005265387706458569, 0.00863262452185154, -0.08357462286949158, -0.03287019580602646, 0.0022397718857973814, 0.007177530322223902, -0.026415551081299782, -0.0010435167932882905, 0.01785288192331791, 0.04633914306759834, -0.0358550064265728, 0.07282931357622147, 0.024624666199088097, 0.03600424528121948, 0.043727435171604156, -0.006440655793994665, -0.03225458040833473, 0.06051697954535484, -0.019196046516299248, -0.025128351524472237, 0.004090119618922472, -0.03370967507362366, -0.003845272120088339, -0.023915773257613182, 0.00037893070839345455, 0.03943677619099617, -0.023729223757982254, -0.04477211833000183, 0.04854043945670128, 0.027366958558559418, 0.0708518773317337, -0.0010452657006680965, -0.043727435171604156, -0.002802921226248145, 0.10775156319141388, -0.04738382622599602, -0.0475330650806427, -0.016910802572965622, -0.013049207627773285, -0.07969437539577484, -0.0342133603990078, -0.03134048357605934, 0.02309495210647583, 0.019028151407837868, 0.037160858511924744, -0.01966242305934429, -0.05059249326586723, 0.04611528292298317, 0.008245531469583511, 0.06879982352256775, -0.030575625598430634, 0.023579983040690422, 0.007760500535368919, -0.037477996200323105, 0.013851374387741089, 0.0020578850526362658, 0.05361461266875267, -0.01876698061823845, -0.03794437274336815, 0.05312957987189293, -0.012638796120882034, 0.007984361611306667, -0.037739165127277374, 0.0023528682067990303, 0.008581322617828846, -0.011939231306314468, -0.03296347334980965, 0.04204848036170006, -0.03266499191522598, -0.003082746872678399, -0.05637555941939354, -0.015548983588814735, 0.017815573140978813, -0.003138712141662836, -0.053577303886413574, -0.03887712210416794, 0.006538595072925091, 0.054584674537181854, -0.062494415789842606, -0.039212916046381, 0.04316778481006622, 0.017694314941763878, 0.054584674537181854, 0.01908411644399166, 0.009681970812380314, -0.00754596758633852, 0.00347217102535069, -0.03199341148138046, -0.023300157859921455, 0.06122587248682976, 0.06297944486141205, 0.008763209916651249, 0.007448028773069382, -0.0212667565792799, -0.021695822477340698, 0.06805361807346344, 0.0750306099653244, -0.020912310108542442, 0.040071047842502594, 0.011929904110729694, 0.02934439294040203, -0.01785288192331791, 0.06477033346891403, 0.008767873048782349, 0.021863717585802078, -0.04320509359240532, -0.03486628830432892, 0.007196185179054737, -0.024717940017580986, 0.021378686651587486, -0.013478273525834084, 0.012536193244159222, 0.047085344791412354, -0.06510612368583679, 0.05234606936573982, 0.001002125907689333, -0.035314008593559265, -0.031881481409072876, -0.01041884534060955, -0.016985422000288963, -0.011248994618654251, 0.002415828872472048, -0.02650882489979267, 0.0002563611778896302, 0.004794347565621138, -0.021453307941555977, -0.03695565462112427, -0.10036416351795197, -0.021546581760048866, 0.027087131515145302, 0.02968018315732479, 0.04462287947535515, -0.01217241957783699, 0.01869235932826996, -0.05178641900420189, 0.009182948619127274, 0.07790348678827286, -0.008147592656314373, -0.06271827965974808, -0.008791192434728146, -0.024624666199088097, 0.031806860119104385, -0.009173620492219925, 0.02376653254032135, 0.009043035097420216, 0.0055405497550964355, 0.034399911761283875, -0.03285154327750206, -0.002611706964671612, 0.0825299397110939, 0.006272760219871998, -0.03745933994650841, -0.008114947006106377, 0.018636394292116165, 0.009103664197027683, 0.030874107033014297, -0.02544548735022545, -0.010260277427732944, 0.020800380036234856, 0.06898637115955353, -0.09290214627981186, 0.015287812799215317, 0.03240382298827171, 0.014364387840032578, -0.0350155271589756, -0.08857417851686478, 0.020800380036234856, -0.022889746353030205, -0.02434483915567398, 0.005367990583181381, 0.03857864439487457, 0.02509104087948799, 0.014448336325585842, 0.031153932213783264, -0.007592605426907539, -0.010903876274824142, 0.07961975038051605, -0.0034884943161159754, 0.012107127346098423, -0.031079312786459923, 0.0018060420406982303, -0.014672196470201015, 0.008558004163205624, 0.014224475249648094, 0.0550323948264122, 0.001343163545243442, 0.0023528682067990303, -0.05387578159570694, 0.017367850989103317, -0.02960556373000145, 0.0006628372357226908, -0.006585232447832823, 0.04294392466545105, -0.029530944302678108, -0.025072386488318443, 0.007088918704539537, -0.04809271916747093, -0.011155719868838787, -0.04760768637061119, -0.05059249326586723, 0.01567024178802967, -0.027497543022036552, 0.028411639854311943, 0.04133959114551544, -0.04854043945670128, -0.04077993705868721, 0.00648262957111001, 0.01650971919298172, 0.0019004831556230783, 0.028038538992404938, 0.03525804355740547, -0.06193476542830467, -0.015651587396860123, -0.027087131515145302, 0.05645018070936203, 0.008777201175689697, -0.06723280251026154, -0.02260991930961609, -0.021714476868510246, -0.030724866315722466, 0.011817974038422108, 0.0008044990245252848, -0.01196721475571394, 0.05633825063705444, 0.00883316621184349, 0.026732686907052994, -0.00009961504838429391, 0.0858878493309021, -0.06361372023820877, -0.01400061510503292, 0.03186282515525818, 0.010260277427732944, 0.049995534121990204, -0.04279468208551407, 0.07812734693288803, 0.010913204401731491, 0.013301050290465355, -0.038989052176475525, -0.03434394672513008, 0.00005694891297025606, 0.01633249595761299, -0.0416753813624382, 0.005675798747688532, -0.015987377613782883, 0.01968107745051384, -0.06260634958744049, 0.006925687193870544, 0.03962332382798195, -0.0060162534937262535, -0.018235310912132263, 0.0006401013815775514, -0.04279468208551407, -0.03695565462112427, -0.020240729674696922, -0.02568800374865532, -0.057420242577791214, -0.04477211833000183, -0.02102424018085003, 0.054248884320259094, -0.0055871871300041676, -0.03736606612801552, -0.01650971919298172, 0.004915605764836073, 0.010680016130208969, -0.002384348539635539, 0.0009916324634104967, 0.007601932622492313, 0.055405497550964355, 0.04242158308625221, -0.026471516117453575, -0.01492404006421566, 0.05686059221625328, 0.037645891308784485, 0.047421135008335114, 0.09320063143968582, 0.03270230069756508, -0.01859908364713192, 0.0033742322120815516, -0.03576172888278961, 0.02992269955575466, 0.00502753583714366, 0.02525893785059452, 0.06868789345026016, -0.003560782643035054, 0.028411639854311943, -0.041824620217084885, 0.012853329069912434, -0.03758992627263069, 0.009784573689103127, -0.0350155271589756, -0.05130138620734215, -0.027497543022036552, 0.01927066594362259, 0.0120884720236063, -0.011500838212668896, 0.004290661308914423, 0.009663315489888191, 0.009201603010296822, -0.061002012342214584, 0.016295185312628746, 0.007951715029776096, -0.004362949635833502, -0.012685433961451054, -0.01442968100309372, 0.0009164293296635151, 0.04980898275971413, -0.0019098107004538178, 0.06365103274583817, 0.03186282515525818, 6.649505053246685e-7, 0.010064398869872093, 0.012125782668590546, 0.034325290471315384, 0.0028122486546635628, -0.02900860272347927, 0.004612461198121309, 0.01800212264060974, -0.09215594828128815, -0.008427418768405914, -0.06320330500602722, 0.006468638312071562, -0.044585566967725754, -0.0001944206014741212, 0.026378240436315536, 0.015446380712091923, -0.001958780223503709, -0.023225536569952965, -0.00997112412005663, -0.023057641461491585, -0.009406808763742447, -0.020222073420882225, 0.03803764656186104, 0.015987377613782883, -0.023057641461491585, -0.10111036896705627, -0.05738293379545212, 0.016304513439536095, -0.01129563245922327, -0.032720956951379776, 0.07536640018224716, 0.014625558629631996, -0.0079283956438303, 0.0667477697134018, 0.001834024558775127, -0.018552446737885475, -0.00783978495746851, 0.04943588003516197, -0.006594560109078884, 0.02626631036400795, -0.015287812799215317, -0.015959395095705986, -0.03395219147205353, -0.021565238013863564, 0.015119917690753937, -0.0015518669970333576, -0.029792115092277527, -0.05271917209029198, -0.04876429960131645, -0.020371314138174057, 0.04294392466545105, 0.0027912617661058903, -0.012592158280313015, 0.024624666199088097, -0.0246060099452734, -0.011360925622284412, -0.00179205066524446, -0.000111784553155303, 0.024475425481796265, 0.038989052176475525, -0.03777647390961647, -0.04544370248913765, 0.020613830536603928, -0.026210345327854156, -0.02984808012843132, 0.002644353313371539, -0.03910098224878311, -0.010232294909656048, 0.03208668529987335, 0.07200849056243896, 0.0005307944375090301, 0.08364924043416977, -0.03643331304192543, 0.009775245562195778, 0.015707552433013916, 0.0208376906812191, 0.06678507477045059, -0.08245532214641571, -0.04768230766057968, -0.06413605809211731, -0.06827747821807861, -0.0011268815724179149, -0.027814678847789764, 0.037645891308784485, -0.003411542158573866, 0.00842275470495224, 0.0676058977842331, 0.0399964265525341, 0.03725413233041763, 0.04880160838365555, 0.026247654110193253, -0.08946961909532547, -0.0007158875232562423, -0.05887533724308014, 0.033392537385225296, -0.048913538455963135, -0.01583813689649105, 0.05010746419429779, 0.022908400744199753, 0.0408545583486557, -0.025632038712501526, 0.04805540665984154, -0.020464589819312096, -0.010763963684439659, -0.06685969978570938, -0.04764499515295029, 0.001746579073369503, -0.011472855694591999, 0.04204848036170006, 0.05988270789384842, 0.030836796388030052, 0.011957886628806591, 0.02475525066256523, 0.04327971488237381, -0.005414627958089113, 0.0009018550626933575, 0.020147453993558884, 0.008404100313782692, -0.01775027997791767, 0.029232462868094444, -0.00043343842844478786, -0.011612768284976482, 0.0039572021923959255, -0.017237266525626183, 0.0283370204269886, -0.03695565462112427, -0.02852357178926468, 0.01530646812170744, -0.0350155271589756, 0.036992963403463364, 0.026378240436315536, -0.004577482584863901, 0.06980719417333603, 0.0875294953584671, -0.028635501861572266, -0.011062444187700748, 0.024717940017580986, -0.0942453071475029, 0.0508909747004509, 0.030146559700369835, -0.018813617527484894, -0.08872341364622116, 0.006902368273586035, 0.05805451422929764, -0.02785198949277401, 0.0008779532508924603, -0.049323949962854385, 0.013105172663927078, 0.0006803263677284122, -0.025501452386379242, -0.025818588212132454, 0.019737042486667633, 0.012648123316466808, -0.012470901012420654, -0.008166247978806496, -0.016071325168013573, -0.021285410970449448, -0.07745576649904251, -0.038242850452661514, 0.02635958604514599, 0.04883892089128494, -0.008926440961658955, 0.009616677649319172, 0.008530021645128727, 0.008180239237844944, -0.015315795317292213, 0.008217548951506615, 0.01142621785402298, 0.0058996593579649925, -0.02475525066256523, -0.08991733938455582, -0.013226429931819439, 0.05764410272240639, 0.02544548735022545, -0.03777647390961647, 0.00850203912705183, -0.01983031816780567, -0.06156166270375252, -0.04701072350144386, -0.0025487460661679506, 0.0649941936135292, 0.002574396785348654, 0.06775514036417007, 0.02869146689772606, -0.04126496985554695, -0.02244202420115471, 0.036153487861156464, -0.0031480395700782537, 0.025706658139824867, 0.03536997362971306, -0.00043693624320439994, 0.11125871539115906, 0.025949174538254738, 0.01129563245922327, 0.015287812799215317, 0.01743314415216446, 0.007942387834191322, -0.02275916002690792, -0.01509193517267704, 0.008492711000144482, -0.0058203754015266895, 0.04738382622599602, 0.09558847546577454, -0.022628575563430786, 0.015231847763061523, -0.02393442951142788, 0.05518163740634918, 0.0026140387635678053, 0.04063069820404053, 0.09267828613519669, -0.06626273691654205, -0.012321660295128822, 0.0699937492609024, -0.03359774500131607, -0.01593141257762909, 0.008455401286482811, -0.001343163545243442, 0.0034162059891968966, -0.011454200372099876, -0.016323167830705643, -0.016304513439536095, -0.025949174538254738, -0.0013781418092548847, 0.032235924154520035, -0.022740505635738373, -0.016640303656458855, -0.03992180526256561, -0.03809361159801483, 0.04652569442987442, -0.0004136174393352121, -0.02561338245868683, 0.0683521032333374, 0.007732518017292023, -0.030892761424183846, 0.04447363689541817, 0.0028122486546635628, 0.0022432697005569935, -0.018729669973254204, 0.014700178988277912, -0.01784355565905571, 0.05353999137878418, 0.01025095023214817, -0.04521983861923218, -0.048988159745931625, -0.014821437187492847, 0.011584785766899586, -0.03675044700503349, -0.020483244210481644, -0.016882820054888725, -0.00475470582023263, 0.0333738848567009, 0.04178731143474579, -0.014476318843662739, -0.01925201155245304, -0.00033753979369066656, -0.013058534823358059, -0.0023004007525742054, 0.007205512840300798, 0.0025230953469872475, 0.014271113090217113, -0.03988449648022652, -0.014998659491539001, -0.08476854860782623, -0.044809430837631226, 0.00710757402703166, 0.04029490798711777, -0.017526419833302498, 0.009579367935657501, -0.023710567504167557, -0.05260723829269409, -0.021304067224264145, -0.04436170682311058, 0.029213808476924896, 0.024326184764504433, -0.02134137600660324, 0.04604066163301468, -0.0026303620543330908, -0.007046944927424192, -0.018822945654392242, 0.024531390517950058, -0.06144973263144493, 0.05592783913016319, -0.021714476868510246, 0.010987823829054832, 0.009588695131242275, -0.02826240099966526, 0.046749554574489594, -0.06648659706115723, -0.07947050780057907, 0.006911695934832096, 0.05294303223490715, 0.008128938265144825, -0.04130227863788605, -0.043242406100034714, 0.0007613592315465212, 0.047906167805194855, -0.018738998100161552, 0.0002632110845297575, 0.052495308220386505, 0.007723190356045961, 0.0014364388771355152, 0.053651921451091766, 0.026788651943206787, -0.05872609466314316, -0.03635869175195694, -0.011071772314608097, -0.0030314456671476364, -0.0625690370798111, -0.004162407945841551, -0.0007741845329292119, 0.003700695466250181, 0.013375670649111271, -0.02669537626206875, -0.004864304326474667, -0.01800212264060974, -0.030146559700369835, -0.0035561188124120235, 0.005041527096182108, -0.0558905303478241, -0.008343471214175224, -0.008571995422244072, -0.011566130444407463, -0.03928753361105919, 0.06555384397506714, -0.00017372514412272722, 0.01005507167428732, -0.013468945398926735, 0.012237712740898132, -0.006394018419086933, 0.013114499859511852, 0.03395219147205353, 0.02124810218811035, -0.01616460084915161, -0.009644661098718643, -0.03591097146272659, 0.04854043945670128, 0.000958403164986521, 0.07909741252660751, 0.02027803845703602, 0.047980789095163345, 0.00338822347112, -0.04492136090993881, 0.015334450639784336, -0.039138294756412506, -0.03988449648022652, -0.020539209246635437, 0.026284964755177498, 0.03984718769788742, -0.03857864439487457, -0.052569929510354996, -0.012946604751050472, -0.021042896434664726, 0.04686148464679718, -0.06626273691654205, 0.012163092382252216, -0.010596068575978279, -0.007448028773069382, 0.053913094103336334, 0.0592111274600029, 0.039735253900289536, -0.04126496985554695, 0.03234785422682762, -0.028952637687325478, 0.0026303620543330908, 0.06279289722442627, -0.0175077635794878, 0.009537394158542156, 0.016957439482212067, -0.025296246632933617, 0.049323949962854385, 0.0275161974132061, -0.06268096715211868, 0.025706658139824867, -0.029288427904248238, -0.03557518124580383, 0.005839030724018812, 0.03820554167032242, -0.006431328132748604, 0.08879803866147995, -0.06712086498737335, -0.011360925622284412, 0.007690544240176678, -0.0035397957544773817, -0.012461572885513306, -0.022050268948078156, -0.012750726193189621, -0.010577413253486156, 0.041824620217084885, -0.002448475221171975, 0.019121425226330757, 0.004535508807748556, -0.02193833887577057, 0.05768141523003578, 0.03721682354807854, 0.06824017316102982, -0.001199752907268703, -0.01567956991493702, 0.05988270789384842, 0.042309653013944626, -0.005125475116074085, -0.01121168490499258, 0.08812645077705383, -0.06447184830904007, 0.0483911968767643, 0.0067671192809939384, -0.017237266525626183, 0.01567024178802967, -0.030202524736523628, 0.008278178051114082, -0.013627513311803341, 0.04813002794981003, 0.048913538455963135, 0.052569929510354996, -0.043391644954681396, 0.030874107033014297 ]
44,147
astropy.modeling.core
<lambda>
null
def _model_oper(oper, **kwargs): """ Returns a function that evaluates a given Python arithmetic operator between two models. The operator should be given as a string, like ``'+'`` or ``'**'``. """ return lambda left, right: CompoundModel(oper, left, right, **kwargs)
(left, right)
[ -0.007749207783490419, -0.09150458127260208, 0.0628921240568161, 0.05781237408518791, 0.008099088445305824, -0.03158428519964218, -0.02869885042309761, -0.01570575311779976, -0.0034232146572321653, -0.0007429564138874412, 0.03600746765732765, 0.003341143950819969, 0.055151551961898804, 0.015066464431583881, -0.01878124661743641, 0.03345031663775444, 0.0023433363530784845, -0.0751940980553627, 0.018487518653273582, -0.03904840722680092, -0.008712459355592728, -0.03201623633503914, 0.022236857563257217, 0.033346645534038544, 0.041536446660757065, 0.05594634264707565, -0.027575775980949402, -0.017096636816859245, 0.024621229618787766, -0.020906446501612663, 0.03391682356595993, -0.03545457124710083, -0.019126808270812035, -0.054114870727062225, 0.018021011725068092, -0.04979535564780235, 0.010073106735944748, 0.07097825407981873, -0.05432220548391342, -0.046996310353279114, 0.0308067724108696, -0.061993662267923355, 0.030029261484742165, 0.0014513566857203841, -0.018884913995862007, -0.016077231615781784, -0.02469034120440483, -0.030184762552380562, 0.06880121678113937, -0.00035366020165383816, -0.055047884583473206, 0.01609450951218605, 0.04682353138923645, -0.010919731110334396, -0.06137165427207947, 0.004773062653839588, -0.005360516719520092, 0.04226212576031685, -0.023791883140802383, 0.03395137935876846, -0.030029261484742165, 0.024051053449511528, -0.04589051753282547, 0.014988712966442108, 0.013649663887917995, 0.005468504503369331, -0.08666672557592392, 0.002272064331918955, -0.007718971464782953, 0.03251729905605316, -0.049691688269376755, -0.04070710018277168, 0.025830693542957306, 0.013260907493531704, 0.011230736039578915, -0.035299066454172134, -0.012258780188858509, 0.007204949390143156, 0.06316857039928436, 0.016465986147522926, -0.03980863839387894, -0.0629957914352417, 0.011256652884185314, -0.008509442210197449, -0.011170263402163982, -0.0644817054271698, -0.030720382928848267, -0.030357543379068375, 0.03922118619084358, -0.01211191713809967, -0.06358324736356735, -0.00711855897679925, -0.035627350211143494, -0.01619817689061165, 0.027644889429211617, 0.03407232463359833, -0.03284558281302452, 0.006742761004716158, 0.023878272622823715, -0.022305969148874283, 0.029269026592373848, 0.07588522136211395, -0.06074964255094528, -0.027195660397410393, 0.018954027444124222, -0.06379058212041855, -0.0026780986227095127, -0.05767415091395378, -0.05473687872290611, 0.010263165459036827, -0.006595897953957319, 0.029199913144111633, -0.009261038154363632, -0.008366898633539677, -0.03289741650223732, 0.032638248056173325, -0.020025266334414482, 0.00255067297257483, 0.019627870991826057, 0.0006679048528894782, -0.04015420004725456, 0.03545457124710083, 0.0013304102467373013, 0.02493223361670971, 0.04236579313874245, 0.05960929021239281, 0.06005852296948433, -0.02930358238518238, 0.006695246323943138, 0.015498415566980839, 0.017260776832699776, -0.05739770084619522, 0.02925174869596958, 0.0037990123964846134, -0.02781767025589943, 0.028318732976913452, 0.013839722611010075, 0.037942610681056976, 0.005654243752360344, 0.06126798689365387, 0.014919601380825043, 0.04958802089095116, 0.013122683390974998, 0.029735533520579338, -0.041121773421764374, 0.04844766855239868, -0.051695942878723145, 0.02982192486524582, 0.013304103165864944, 0.00940790120512247, -0.02507045865058899, 0.06137165427207947, 0.05850349739193916, 0.00640583923086524, 0.021545736119151115, 0.05097026377916336, 0.022720642387866974, -0.04830944165587425, -0.007926307618618011, -0.015083742327988148, 0.008639027364552021, 0.04278046637773514, 0.021269286051392555, 0.0010609806049615145, 0.05442587658762932, 0.006211461033672094, -0.010194052942097187, -0.059747517108917236, -0.012595702894032001, -0.00577950943261385, 0.02125200815498829, -0.028474235907197, 0.015723031014204025, -0.014850488863885403, -0.01993887685239315, 0.003053896361961961, 0.01146398950368166, 0.011135706678032875, -0.05929828807711601, 0.006034360732883215, 0.07132381200790405, 0.02282431162893772, -0.016872020438313484, 0.0025225961580872536, 0.003235315904021263, 0.027143824845552444, 0.002956707263365388, -0.034642502665519714, -0.00637128297239542, -0.04063798859715462, -0.015221967361867428, -0.02958003059029579, 0.005796787794679403, -0.018366573378443718, -0.020629998296499252, -0.013589190319180489, -0.011498546227812767, 0.016362318769097328, 0.038219060748815536, 0.0861138328909874, -0.05114304646849632, -0.011101150885224342, 0.009649793617427349, 0.05508244037628174, -0.019178641960024834, -0.023515433073043823, -0.0003687785065267235, 0.02875068411231041, -0.0048248968087136745, -0.061751771718263626, 0.05269806832075119, 0.025087736546993256, 0.0009546125656925142, 0.0861138328909874, 0.035299066454172134, 0.08984588831663132, 0.03034026548266411, 0.025467853993177414, 0.013926113024353981, 0.0073431734926998615, 0.03490167111158371, -0.007537551689893007, 0.03548912703990936, -0.03548912703990936, 0.06676241010427475, -0.064689040184021, -0.01603403501212597, -0.013088126666843891, 0.00838849600404501, 0.032309964299201965, 0.017424918711185455, -0.030495768412947655, -0.027921337634325027, -0.03412415832281113, -0.032638248056173325, -0.02595163881778717, -0.04824033007025719, 0.014530844986438751, -0.022755200043320656, -0.03158428519964218, -0.00952884741127491, 0.009036422707140446, -0.04616696387529373, -0.0005140221328474581, 0.041536446660757065, -0.042987801134586334, 0.07180760055780411, -0.024707619100809097, -0.04630519077181816, -0.02971825562417507, 0.040879879146814346, 0.02353271096944809, 0.009883048012852669, 0.03386498987674713, -0.0008406853885389864, 0.024500282481312752, -0.027316605672240257, -0.014712264761328697, 0.022496027871966362, -0.001989136217162013, -0.04506116732954979, 0.042331237345933914, -0.008336661383509636, -0.011844106949865818, -0.007299978286027908, -0.044611938297748566, -0.004665074869990349, 0.002362774219363928, 0.05760503560304642, 0.03308747708797455, 0.06603673100471497, -0.016569655388593674, -0.022841589525341988, -0.0009292354225181043, -0.007965183816850185, -0.027143824845552444, 0.02795589342713356, 0.026901932433247566, -0.024517560377717018, -0.06216644495725632, -0.0008293466526083648, -0.005377794615924358, -0.07830414921045303, -0.03600746765732765, -0.03991230949759483, 0.05273262411355972, -0.010798784904181957, -0.06911221891641617, 0.020629998296499252, -0.032638248056173325, 0.04191656410694122, -0.011360321193933487, 0.04965713247656822, 0.04519939422607422, 0.027921337634325027, 0.004600282292813063, 0.022841589525341988, -0.012552507221698761, 0.057846929877996445, 0.017511310055851936, -0.034642502665519714, -0.00040009498479776084, 0.03835728392004967, 0.004932885058224201, 0.002779607195407152, -0.02082005701959133, 0.02837056666612625, 0.009045061655342579, -0.019783373922109604, -0.009261038154363632, -0.02194313146173954, -0.002710494911298156, -0.003757977159693837, 0.04132910817861557, -0.02633175626397133, 0.05739770084619522, -0.01682882569730282, 0.0461324080824852, 0.06116431578993797, 0.024621229618787766, 0.04164011403918266, 0.041156329214572906, -0.04723820462822914, 0.08030840009450912, -0.045683179050683975, -0.007749207783490419, -0.015291078947484493, -0.0231180377304554, -0.016275929287075996, 0.07146203517913818, -0.0354200154542923, 0.043126028031110764, 0.04824033007025719, 0.0035398416221141815, -0.04692719876766205, -0.023930106312036514, 0.0673498585820198, 0.038841068744659424, 0.0015237085754051805, 0.016673322767019272, 0.046892642974853516, 0.028577903285622597, -0.00045813844189979136, 0.036180246621370316, -0.040741655975580215, -0.03481528162956238, -0.02501862496137619, 0.03946308046579361, 0.03422782942652702, -0.05003724992275238, -0.017424918711185455, -0.0050970264710485935, -0.023826438933610916, -0.0675572007894516, 0.018954027444124222, 0.04944979399442673, -0.042884133756160736, 0.03256913647055626, 0.004431821405887604, -0.07567788660526276, 0.055186111479997635, -0.0252950731664896, 0.012612980790436268, 0.007731929887086153, -0.008284827694296837, -0.005105665419250727, 0.019074972718954086, 0.012129195034503937, -0.03573101758956909, -0.05660291016101837, -0.0014232798712328076, -0.03051304630935192, 0.06693518906831741, 0.03256913647055626, -0.029528196901082993, 0.04495749995112419, -0.019627870991826057, -0.007697373628616333, -0.023515433073043823, -0.016051312908530235, 0.017614977434277534, 0.009537486359477043, 0.0445428267121315, 0.027800392359495163, 0.08265821635723114, 0.00873405672609806, -0.02880251780152321, 0.004049544222652912, 0.006613175850361586, 0.008751335553824902, -0.015662556514143944, -0.043540701270103455, -0.024534838274121284, -0.0002440525422571227, -0.057190362364053726, -0.021182896569371223, -0.011498546227812767, -0.027696723118424416, -0.08784163743257523, -0.03134239464998245, 0.00635832455009222, 0.004289277363568544, -0.0002259645698359236, 0.014263034798204899, -0.019178641960024834, -0.012751204892992973, -0.017062079161405563, 0.06748808175325394, -0.020284436643123627, 0.018021011725068092, -0.060369525104761124, -0.014867766760289669, -0.014479010365903378, 0.030720382928848267, -0.016483265906572342, 0.022979814559221268, 0.04440460354089737, -0.03763160482048988, -0.011040677316486835, -0.012898068875074387, 0.04678897559642792, 0.03770071640610695, 0.04430093616247177, -0.027644889429211617, 0.030081095173954964, 0.0038746038917452097, 0.04872411862015724, 0.026521814987063408, 0.0016738115809857845, 0.0615098774433136, -0.03424510732293129, -0.07982461899518967, -0.002870317082852125, -0.02394738420844078, 0.014219840057194233, -0.0038810833357274532, 0.04865500330924988, -0.018090123310685158, 0.030720382928848267, 0.011550379917025566, -0.0025722705759108067, 0.023083481937646866, -0.006427436601370573, -0.022616975009441376, -0.1259915828704834, -0.06551838666200638, 0.027610333636403084, -0.010548252612352371, -0.046996310353279114, -0.032638248056173325, 0.07567788660526276, 0.048758674412965775, 0.04412815347313881, 0.04502661153674126, 0.09910693019628525, -0.012630258686840534, 0.014988712966442108, -0.027593055739998817, -0.02786950394511223, 0.033623095601797104, -0.015299717895686626, 0.019074972718954086, 0.018003733828663826, -0.012898068875074387, -0.058123379945755005, 0.06444714963436127, 0.036836814135313034, 0.01661285012960434, 0.004932885058224201, 0.026660040020942688, -0.017286695539951324, -0.026487259194254875, -0.04264223948121071, 0.03410688042640686, -0.044093597680330276, 0.048758674412965775, -0.012820317409932613, -0.06645140051841736, 0.002632743678987026, -0.07187671214342117, -0.0382881723344326, -0.04278046637773514, -0.04053431749343872, 0.015748947858810425, 0.00887228175997734, 0.0366985909640789, 0.020284436643123627, -0.02767944522202015, 0.02633175626397133, -0.04858589172363281, 0.0075591495260596275, 0.0769910141825676, 0.07035624235868454, -0.02227141335606575, -0.038841068744659424, 0.020560886710882187, -0.07491765171289444, -0.006552702747285366, -0.004060342907905579, 0.0062200999818742275, 0.033985935151576996, 0.04198567569255829, -0.02902713418006897, -0.011222097091376781, 0.03611113503575325, -0.0016306164907291532, -0.02356726862490177, -0.04257312789559364, -0.05200694873929024, -0.018573909997940063, -0.028958020731806755, -0.038564618676900864, 0.01318315602838993, 0.0446464940905571, -0.023705491796135902, -0.007213588338345289, 0.06282301247119904, 0.01697568967938423, -0.02954547479748726, 0.012440199963748455, 0.08321111649274826, -0.05511699616909027, -0.05712125077843666, -0.046097852289676666, -0.0030409377068281174, -0.01064328197389841, -0.05577356368303299, -0.044888388365507126, 0.032638248056173325, -0.026349034160375595, 0.001155469915829599, 0.011429433710873127, -0.03353670611977577, 0.03023659810423851, -0.04965713247656822, 0.05829615890979767, -0.054529543966054916, -0.007420924957841635, 0.010090384632349014, 0.04174378141760826, -0.009494291618466377, 0.0429532453417778, 0.03355398401618004, 0.04989902302622795, 0.04830944165587425, 0.03028843179345131, -0.018971305340528488, -0.0075591495260596275, -0.029130801558494568, 0.027333883568644524, -0.025416020303964615, -0.02664276212453842, -0.028733406215906143, 0.025105014443397522, 0.037527937442064285, 0.02660820633172989, -0.03970497101545334, -0.016379596665501595, -0.004518211353570223, 0.020837334915995598, -0.009641154669225216, -0.04267679899930954, 0.06202821806073189, 0.03191256895661354, 0.00639288080856204, 0.02139023318886757, 0.020664554089307785, -0.011057955212891102, 0.024621229618787766, -0.028577903285622597, -0.031376950442790985, -0.03317386656999588, 0.02482856623828411, -0.05549711361527443, -0.015662556514143944, -0.016440069302916527, -0.03186073526740074, 0.014263034798204899, -0.051557719707489014, 0.006012763362377882, -0.051937833428382874, -0.01642279140651226, -0.05321641266345978, -0.005969568155705929, 0.0103927506133914, -0.030184762552380562, 0.03141150623559952, 0.054391320794820786, 0.014954157173633575, 0.0176322553306818, 0.010841979645192623, 0.011420794762670994, -0.00449661398306489, 0.003399457549676299, -0.007978142239153385, -0.053147297352552414, -0.11175446212291718, 0.021839462220668793, -0.041398219764232635, -0.025657912716269493, -0.02823234349489212, -0.019455090165138245, 0.019213197752833366, -0.04544128477573395, -0.008004059083759785, 0.02935541607439518, -0.07180760055780411, 0.010159497149288654, -0.0337786003947258, -0.05781237408518791, 0.03108322247862816, 0.015723031014204025, -0.02608986385166645, 0.07353540509939194, 0.05687936022877693, -0.010790145955979824, -0.038979291915893555, 0.004403744358569384, -0.0354200154542923, 0.017347168177366257, -0.006790275685489178, 0.026521814987063408, -0.052110616117715836, 0.007299978286027908, -0.05072836950421333, 0.06019674614071846, 0.03586924448609352, -0.028474235907197, 0.046063296496868134, -0.0022591056767851114, -0.016379596665501595, 0.017321251332759857, 0.08251999318599701, -0.007144475821405649, 0.04119088500738144, -0.0843169093132019, 0.010764229111373425, 0.027057435363531113, -0.010816062800586224, -0.00899322796612978, 0.011524463072419167, -0.01853935420513153, -0.02194313146173954, -0.04813666269183159, 0.00047946604900062084, 0.029752811416983604, -0.05373475328087807, -0.006496549118310213, 0.023100759834051132, -0.0012083840556442738, -0.022841589525341988, 0.00009921383752953261, 0.016180898994207382, 0.0001999125088332221, -0.02018076926469803, -0.03146333992481232, 0.007179032079875469, -0.0675572007894516, 0.05909094959497452, -0.020422661677002907, -0.05777781829237938, -0.04029242694377899, -0.0033605818171054125, 0.056948471814394, -0.027696723118424416, 0.011844106949865818, -0.03443516418337822, -0.025053180754184723, 0.013494161888957024, -0.0268328208476305, 0.03374404087662697, -0.020094377920031548, -0.012258780188858509, 0.012025526724755764, -0.03666403517127037, 0.004012828227132559, 0.08715051412582397, 0.009978077374398708, -0.011196180246770382, -0.01881580241024494, 0.004146733321249485, 0.0016381756868213415, 0.03749338164925575, -0.04101810231804848, 0.005645604804158211, -0.04322969540953636, -0.024914955720305443, 0.0811377465724945, 0.026158975437283516, -0.06109520420432091, 0.002162996679544449, 0.026176253333687782, 0.020474495366215706, -0.04198567569255829, -0.05107393115758896, -0.030184762552380562, -0.029286304488778114, -0.015057825483381748, -0.06116431578993797, 0.060645975172519684, 0.011498546227812767, 0.008846364915370941, -0.03028843179345131, -0.0553588904440403, 0.035385459661483765, 0.024897677823901176, -0.0023994899820536375, -0.04222756624221802, 0.022150468081235886, -0.0658639445900917, -0.011351682245731354, 0.038219060748815536, 0.0006392880459316075, -0.031204167753458023, 0.08279643952846527, 0.05508244037628174, 0.02031899429857731, 0.09261038154363632, -0.03548912703990936, 0.005909095052629709, -0.030063817277550697, -0.04278046637773514, 0.0902605652809143, -0.05173049867153168, 0.0010339836589992046, -0.0246039517223835, 0.00976210180670023, -0.013407771475613117, -0.03908296301960945, 0.018280182033777237, 0.002168396022170782, 0.05404575914144516, 0.04924245923757553, 0.02128656394779682, 0.010919731110334396, 0.002178114838898182, 0.00003168768307659775, -0.052767183631658554, -0.01798645593225956, 0.014271673746407032, 0.019921598955988884, 0.007032168563455343, 0.022150468081235886, -0.04191656410694122, -0.03894473612308502, 0.012733926996588707, 0.014271673746407032, 0.03206807002425194, 0.017813675105571747, 0.02963186614215374, 0.013165878131985664, 0.017278054729104042, 0.10131851583719254, -0.011057955212891102, -0.0022785435430705547, 0.027886781841516495, 0.013995224609971046, 0.011135706678032875, -0.022444194182753563, 0.00777080561965704, -0.05307818576693535, 0.0025290753692388535, 0.0032547537703067064, 0.007235185708850622, 0.04720364883542061, -0.019973432645201683, 0.022392360493540764, 0.06030041351914406 ]
44,149
astropy.modeling.core
__call__
Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
def __call__(self, *args, **kwargs): """ Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. """ # Turn any keyword arguments into positional arguments. args, kwargs = self._get_renamed_inputs_as_positional(*args, **kwargs) # Read model evaluation related parameters with_bbox = kwargs.pop("with_bounding_box", False) fill_value = kwargs.pop("fill_value", np.nan) # prepare for model evaluation (overridden in CompoundModel) evaluate, inputs, broadcasted_shapes, kwargs = self._pre_evaluate( *args, **kwargs ) outputs = self._generic_evaluate(evaluate, inputs, fill_value, with_bbox) # post-process evaluation results (overridden in CompoundModel) return self._post_evaluate( inputs, outputs, broadcasted_shapes, with_bbox, **kwargs )
(self, *args, **kwargs)
[ 0.03214498981833458, -0.0835769772529602, -0.013626680709421635, 0.032634153962135315, -0.012543534860014915, -0.026414796710014343, -0.06680567562580109, -0.06956595182418823, 0.05506576597690582, -0.020055679604411125, 0.0163956917822361, 0.0037691749166697264, 0.006249929778277874, 0.04898617044091225, -0.018902651965618134, 0.03696674108505249, 0.046365655958652496, -0.00801004283130169, 0.013976083137094975, -0.02840638905763626, -0.02573346346616745, -0.07033463567495346, -0.030135929584503174, 0.046959638595581055, 0.04213789105415344, -0.014945673756301403, 0.030170869082212448, -0.029838936403393745, 0.022571373730897903, -0.005118740256875753, -0.017601128667593002, 0.00765627296641469, 0.000991428387351334, 0.017042085528373718, 0.03497514873743057, -0.07693833857774734, 0.008538513444364071, 0.06883221119642258, -0.049929555505514145, -0.030083518475294113, -0.02451055496931076, -0.06310201436281204, 0.041543908417224884, 0.018605660647153854, -0.023549700155854225, -0.021034004166722298, 0.00780040118843317, 0.059188712388277054, 0.005572963040322065, -0.03326307609677315, -0.08141068369150162, 0.007184579968452454, 0.03518478944897652, 0.015862854197621346, -0.06816834211349487, 0.019950859248638153, 0.0045990049839019775, 0.046260833740234375, 0.013312218710780144, -0.023374998942017555, -0.011591413989663124, -0.00391767080873251, 0.0077523584477603436, -0.01822131872177124, -0.010115190409123898, -0.016911059617996216, -0.039552316069602966, 0.007398589048534632, -0.027969636023044586, 0.033210668712854385, -0.04580661281943321, -0.028022047132253647, 0.01275317557156086, 0.008280829526484013, 0.026869019493460655, -0.03401429206132889, -0.010586882941424847, 0.029210014268755913, 0.042417410761117935, -0.0036097601987421513, -0.0019020575564354658, 0.009416385553777218, -0.02084183320403099, -0.09126382321119308, -0.06673579663038254, -0.04909099265933037, -0.029769057407975197, 0.03756072372198105, 0.05031389743089676, 0.022781014442443848, 0.018832771107554436, 0.06554783135652542, -0.0106829684227705, 0.058489907532930374, 0.034084171056747437, 0.024353325366973877, 0.004284542985260487, -0.018133968114852905, -0.003900200594216585, -0.0353420190513134, -0.023968981578946114, 0.06327671557664871, -0.023270178586244583, -0.02910519205033779, -0.005406997166574001, -0.022728605195879936, -0.020999064669013023, -0.02770758420228958, -0.024353325366973877, 0.03139377757906914, -0.01070917397737503, 0.0192171148955822, -0.055869393050670624, 0.014543861150741577, -0.06977559626102448, 0.00868700910359621, -0.06932137161493301, 0.021226176992058754, -0.02236173301935196, 0.03109678439795971, -0.035953473299741745, 0.07505156844854355, 0.0015351853799074888, 0.009905548766255379, -0.015059229917824268, 0.07547084987163544, 0.009154334664344788, 0.027043720707297325, -0.000656220770906657, -0.053353697061538696, 0.0001759294100338593, -0.04772832244634628, 0.022676194086670876, 0.01085766963660717, 0.00939891580492258, 0.04692469909787178, 0.03563901036977768, -0.036477576941251755, -0.030729912221431732, 0.09762293845415115, 0.10048803687095642, 0.049580153077840805, 0.05363321676850319, -0.007184579968452454, 0.012150457128882408, 0.02038761042058468, 0.023968981578946114, -0.017889386042952538, 0.003959162160754204, 0.0004239229892846197, -0.006612434051930904, 0.036477576941251755, 0.03516731783747673, -0.005035757552832365, 0.0003368454345036298, 0.021103885024785995, 0.046610236167907715, -0.07477204501628876, 0.030467860400676727, -0.008145435713231564, -0.0646393820643425, -0.003068187041208148, 0.039796896278858185, 0.0022907673846930265, 0.025017188861966133, 0.03853904828429222, -0.04769338294863701, -0.050977762788534164, -0.021103885024785995, 0.0059529379941523075, 0.0033826488070189953, -0.049056053161621094, -0.04185836762189865, 0.009695908054709435, -0.02625756524503231, 0.018203848972916603, -0.012054371647536755, 0.018553249537944794, -0.029664237052202225, 0.0027799303643405437, 0.040845103561878204, -0.043046336621046066, -0.02782987616956234, -0.030118459835648537, -0.018326139077544212, 0.09147346019744873, -0.022746074944734573, -0.0028956697788089514, -0.010167600587010384, -0.008429325185716152, -0.0025964942760765553, 0.00019053331925533712, 0.013478185050189495, 0.016980940476059914, -0.048881351947784424, -0.025995515286922455, 0.005511817522346973, 0.03471309691667557, 0.032704032957553864, 0.029664237052202225, -0.04088004305958748, -0.04884640872478485, 0.030118459835648537, 0.02206474170088768, -0.06334659457206726, -0.02440573461353779, 0.02073701284825802, 0.021121354773640633, -0.006730357650667429, -0.06911172717809677, -0.046086132526397705, 0.023899102583527565, 0.00958235189318657, 0.05786098539829254, 0.04664517566561699, 0.03881857171654701, 0.022379202768206596, -0.014115843921899796, 0.007206417620182037, 0.01498934905976057, 0.04489816725254059, -0.007372383959591389, 0.05897907167673111, -0.028808200731873512, 0.018483370542526245, -0.04961509630084038, 0.017732154577970505, 0.014901998452842236, 0.022676194086670876, -0.04926569387316704, -0.0073330760933458805, -0.0654430091381073, 0.014622476883232594, -0.00480427872389555, -0.06673579663038254, 0.0077872988767921925, -0.008857342414557934, -0.0035966576542705297, -0.056323613971471786, 0.0283539779484272, -0.005035757552832365, -0.014840853400528431, -0.054576605558395386, -0.04199812933802605, 0.0077523584477603436, -0.035656481981277466, 0.0627526119351387, 0.05296935513615608, -0.005957305431365967, -0.03177811950445175, -0.007477204315364361, 0.05600915104150772, -0.038294468075037, 0.042522232979536057, 0.00037942882045172155, 0.002463284647092223, -0.0023475452326238155, -0.0010667681926861405, 0.0628923699259758, 0.03162088617682457, -0.010621823370456696, 0.024790076538920403, 0.036058295518159866, 0.05153680592775345, -0.013373364694416523, 0.010211275890469551, -0.04594637453556061, 0.04245235398411751, 0.04996449500322342, 0.03832940757274628, 0.01194081548601389, 0.045212630182504654, 0.0036403329577296972, 0.0021400877740234137, -0.0163956917822361, 0.010840198956429958, -0.018256258219480515, 0.03899327293038368, 0.00469945790246129, -0.02131352573633194, 0.08141068369150162, -0.027847345918416977, -0.04664517566561699, -0.004502919036895037, 0.018727950751781464, -0.029664237052202225, 0.004577167332172394, -0.0165267176926136, 0.012805585749447346, -0.035848651081323624, 0.025453941896557808, -0.010062780231237411, 0.08336733281612396, -0.009267889894545078, -0.00587868969887495, -0.07414311915636063, -0.005551125388592482, -0.02445814572274685, 0.01974121667444706, 0.000989790540188551, -0.008564718067646027, 0.006000980734825134, 0.026746729388833046, -0.03142871707677841, 0.038923390209674835, -0.015426102094352245, 0.020055679604411125, 0.039622195065021515, -0.026624437421560287, -0.014561331830918789, 0.018710481002926826, 0.009451325982809067, 0.0024676520843058825, -0.023951511830091476, -0.02440573461353779, -0.00396789750084281, 0.04846206679940224, -0.033804651349782944, 0.06876232475042343, -0.0029939389787614346, -0.01386252697557211, 0.006428997963666916, -0.000573237775824964, 0.030345570296049118, -0.04475840553641319, -0.011434182524681091, 0.01463994663208723, 0.02760276384651661, -0.068797267973423, 0.026711788028478622, 0.021558107808232307, 0.01470109261572361, 0.04458370432257652, 0.04594637453556061, -0.024423204362392426, -0.0697406530380249, 0.03672215715050697, 0.045387331396341324, 0.025820814073085785, -0.03301849588751793, 0.026851549744606018, 0.046016253530979156, -0.009023308753967285, 0.009538676589727402, -0.03436369448900223, 0.0033804650884121656, -0.01939181610941887, 0.03329801931977272, 0.06062126159667969, -0.0270786602050066, -0.040845103561878204, -0.006970571354031563, 0.003961346112191677, -0.01289293635636568, 0.004284542985260487, 0.03798000514507294, -0.01709449663758278, -0.03427634388208389, 0.009425121359527111, -0.07763714343309402, 0.051851268857717514, -0.018361078575253487, -0.036232996731996536, 0.036232996731996536, 0.04011135920882225, -0.020300259813666344, -0.028773261234164238, 0.025995515286922455, 0.03464321419596672, -0.026100335642695427, -0.04283669590950012, -0.04776326194405556, -0.012150457128882408, 0.006931263487786055, -0.018099026754498482, 0.04168366640806198, -0.050523541867733, -0.021924979984760284, 0.028249157592654228, -0.009136863984167576, 0.008970898576080799, -0.009241685271263123, 0.006948733702301979, -0.013172457925975323, 0.031009433791041374, -0.013687826693058014, -0.010962489992380142, 0.004470163024961948, 0.012744440697133541, 0.004520389251410961, 0.057616401463747025, -0.037875186651945114, -0.008866077288985252, -0.017740890383720398, -0.08811920136213303, 0.010595617815852165, 0.09028549492359161, 0.030066048726439476, -0.09147346019744873, -0.04500298574566841, -0.04926569387316704, -0.004498551599681377, -0.0030550844967365265, 0.027061190456151962, 0.007682478055357933, -0.0384342297911644, 0.02323523722589016, 0.03474803641438484, 0.005179885774850845, 0.0409848652780056, 0.008202213793992996, 0.007691213395446539, -0.02992628701031208, 0.03965713456273079, -0.04685482010245323, 0.02980399690568447, 0.011739909648895264, -0.042068008333444595, 0.02498224750161171, -0.0032057641074061394, 0.037001680582761765, 0.036826979368925095, 0.05681277811527252, 0.010351036675274372, 0.044863227754831314, 0.0062324595637619495, 0.010621823370456696, -0.005468142684549093, 0.03317572548985481, -0.009460060857236385, -0.08679147809743881, -0.06334659457206726, -0.08427578210830688, 0.020038209855556488, -0.006586228962987661, -0.014316749759018421, 0.019112292677164078, -0.0015275422483682632, 0.0035791874397546053, 0.0003357535460963845, -0.034905266016721725, 0.015557127073407173, 0.05932847410440445, -0.024493085220456123, -0.08686135709285736, -0.027567824348807335, 0.00006158893665997311, 0.01600261591374874, -0.11649065464735031, -0.02573346346616745, 0.08860836923122406, 0.03387453034520149, 0.058489907532930374, 0.005206090863794088, 0.007101597264409065, -0.03284379467368126, -0.034608274698257446, -0.01275317557156086, 0.04821748659014702, -0.016290871426463127, -0.027480473741889, 0.014867058023810387, -0.003611943917348981, -0.02770758420228958, -0.0674695372581482, -0.006184416823089123, 0.04475840553641319, 0.006835178006440401, -0.03336789831519127, -0.005101270508021116, 0.03247692435979843, -0.02166292816400528, -0.005337116774171591, 0.004542226903140545, -0.04266199469566345, 0.04510780796408653, -0.004116393160074949, 0.0066255368292331696, -0.023724401369690895, -0.03204017132520676, -0.0023562803398817778, -0.05506576597690582, -0.01944422535598278, 0.059363413602113724, -0.005551125388592482, 0.03406670317053795, 0.05083800107240677, 0.004179722163826227, 0.017304137349128723, 0.011879670433700085, -0.03930773213505745, 0.07609977573156357, 0.08839872479438782, 0.03156847879290581, -0.06359117478132248, -0.01886771246790886, 0.025366591289639473, 0.0019107925472781062, 0.028196748346090317, -0.022920776158571243, 0.014316749759018421, 0.011189601384103298, 0.01569688878953457, -0.019409285858273506, 0.009556146338582039, -0.00016037009481806308, -0.00541573204100132, -0.008769991807639599, -0.017539983615279198, -0.021435817703604698, -0.0627526119351387, -0.039272792637348175, 0.03885351121425629, -0.0006594964070245624, 0.014011023566126823, -0.020771954208612442, 0.04615601524710655, 0.00009635854075895622, -0.04779820516705513, 0.001503520761616528, 0.06516348570585251, 0.025314180180430412, -0.008429325185716152, -0.030415451154112816, 0.011870935559272766, 0.07009005546569824, 0.014430305920541286, 0.0022973185405135155, 0.029507005587220192, 0.0012687662383541465, 0.016989676281809807, -0.0192171148955822, 0.0022536434698849916, 0.059712816029787064, -0.008516675792634487, -0.002878199564293027, -0.027987105771899223, -0.022553903982043266, -0.07064910233020782, 0.04360537976026535, -0.015434836968779564, 0.036023352295160294, 0.033035967499017715, 0.014211929403245449, 0.038573987782001495, 0.008250256069004536, 0.0314461849629879, -0.02073701284825802, -0.012622149661183357, -0.0051929885521531105, -0.008774359710514545, -0.026414796710014343, 0.004419936332851648, 0.04056558012962341, 0.03609323501586914, 0.016264665871858597, -0.03509743884205818, 0.004913466516882181, -0.04489816725254059, 0.05111752450466156, 0.005328381434082985, 0.015364956110715866, 0.11984491348266602, -0.017784565687179565, -0.016282137483358383, 0.03177811950445175, -0.043745141476392746, -0.0042954618111252785, -0.04332585632801056, -0.026572028174996376, -0.023549700155854225, 0.015504716895520687, -0.000909537251573056, 0.003321503521874547, 0.012901671230793, 0.008206581696867943, -0.001452202326618135, -0.02590816468000412, -0.08476494252681732, 0.0017994206864386797, 0.009425121359527111, -0.044688526540994644, -0.0137402368709445, -0.0770082175731659, 0.00462957751005888, 0.0035704525653272867, -0.035848651081323624, 0.04790302366018295, -0.03062509186565876, 0.0054987152107059956, -0.006105801090598106, 0.04126438498497009, -0.025104539468884468, 0.03149859607219696, 0.00928536057472229, -0.01225527748465538, -0.09923019260168076, -0.028214218094944954, -0.00418627355247736, -0.047658443450927734, -0.054576605558395386, -0.005939835216850042, 0.04978979751467705, 0.034555863589048386, -0.026222625747323036, -0.03696674108505249, -0.06670085340738297, 0.04465358704328537, -0.014159519225358963, -0.014605007134377956, 0.024790076538920403, -0.005210458301007748, -0.01702461577951908, 0.07288527488708496, 0.011276951991021633, -0.009294095449149609, -0.06998523324728012, 0.060167036950588226, 0.048182547092437744, 0.020405082032084465, 0.01705082133412361, 0.002651088172569871, -0.06659603863954544, -0.012919141910970211, -0.029559414833784103, 0.005594800692051649, 0.0227111354470253, -0.094338558614254, 0.03418899327516556, 0.03132389485836029, 0.032179929316043854, 0.05083800107240677, 0.02423103339970112, -0.03527214005589485, 0.046086132526397705, -0.04371019825339317, 0.02870338037610054, 0.023025596514344215, -0.061389945447444916, -0.053178995847702026, -0.005756399128586054, -0.020632192492485046, 0.016928531229496002, -0.009791993536055088, 0.015155315399169922, -0.002847626805305481, -0.06152970716357231, -0.00773052079603076, 0.10544954985380173, 0.029489535838365555, -0.0192171148955822, 0.016212256625294685, 0.010106454603374004, 0.008189111016690731, 0.025419000536203384, 0.022728605195879936, -0.007857179269194603, -0.02725336141884327, 0.010517002083361149, -0.011224541813135147, -0.0767286941409111, -0.010176335461437702, -0.006525083910673857, -0.016692684963345528, -0.00209313677623868, 0.0011530268238857388, -0.05558986961841583, 0.0054987152107059956, -0.011539003811776638, 0.013355894014239311, -0.022798486053943634, -0.0058655873872339725, -0.04213789105415344, 0.024772606790065765, -0.042941514402627945, -0.0365474559366703, 0.013644151389598846, -0.043570440262556076, -0.009442591108381748, -0.02451055496931076, 0.022693665698170662, -0.030607622116804123, -0.03832940757274628, 0.046784937381744385, 0.0751214474439621, -0.0705442801117897, -0.011119721457362175, 0.027987105771899223, 0.023549700155854225, -0.05188620835542679, 0.006359117571264505, -0.01706829108297825, 0.037001680582761765, -0.040495701134204865, -0.02445814572274685, -0.05600915104150772, -0.05268983170390129, -0.03387453034520149, -0.03780530393123627, 0.03696674108505249, -0.002417425625026226, 0.02865096926689148, -0.053074173629283905, -0.006817707791924477, 0.024265974760055542, 0.09692413359880447, -0.026397326961159706, 0.027148541063070297, 0.01706829108297825, -0.07435276359319687, 0.026921430602669716, 0.03756072372198105, 0.022431613877415657, -0.015146579593420029, 0.03050280176103115, 0.04720421880483627, 0.021575577557086945, 0.0454222708940506, -0.03544684126973152, -0.008652068674564362, -0.01781950518488884, 0.02451055496931076, 0.03410164266824722, -0.06851774454116821, 0.008516675792634487, -0.0009745042189024389, -0.006197519134730101, -0.041194505989551544, 0.06083090230822563, 0.020457491278648376, 0.03745590150356293, 0.0343986339867115, -0.013976083137094975, 0.006311074830591679, 0.005743296816945076, 0.006498878821730614, 0.032407041639089584, -0.059817634522914886, -0.04650541767477989, -0.03777036443352699, 0.01229021791368723, -0.022029800340533257, -0.022868365049362183, -0.051327165216207504, 0.004334769677370787, 0.06767918169498444, -0.0019348140340298414, -0.006918161176145077, 0.0714876651763916, -0.02573346346616745, 0.04524756968021393, 0.08050224184989929, 0.06565265357494354, 0.0066604772582650185, 0.10922309011220932, -0.00975705310702324, 0.02718348056077957, -0.029769057407975197, -0.019129764288663864, -0.020282790064811707, -0.01741769351065159, -0.017976736649870872, -0.011766115203499794, 0.032634153962135315, 0.021208705380558968, 0.019461695104837418, 0.03598841279745102, 0.034258872270584106 ]
44,150
gwcs.selector
__init__
null
def __init__(self, inputs, mapper, no_label=np.nan, inputs_mapping=None, name=None, **kwargs): self._no_label = no_label self._inputs = inputs self._n_inputs = len(inputs) self._outputs = tuple(['x{0}'.format(ind) for ind in list(range(mapper.n_outputs))]) if isinstance(inputs_mapping, tuple): inputs_mapping = astmodels.Mapping(inputs_mapping) elif inputs_mapping is not None and not isinstance(inputs_mapping, astmodels.Mapping): raise TypeError("inputs_mapping must be an instance of astropy.modeling.Mapping.") self._inputs_mapping = inputs_mapping self._mapper = mapper self._input_units_strict = {key: False for key in self._inputs} self._input_units_allow_dimensionless = {key: False for key in self._inputs} super(_LabelMapper, self).__init__(name=name, **kwargs) self.outputs = ('label',)
(self, inputs, mapper, no_label=nan, inputs_mapping=None, name=None, **kwargs)
[ 0.015219110995531082, -0.05309879779815674, 0.04841040074825287, -0.02487756684422493, -0.04899190738797188, -0.006878129672259092, -0.05124524608254433, 0.025986064225435257, -0.004479415714740753, -0.014419539831578732, -0.0007785597117617726, 0.007300630211830139, 0.02077067829668522, 0.06650978326797485, 0.02840294875204563, 0.023987136781215668, 0.004197748843580484, 0.014619432389736176, -0.00535167520865798, 0.0014889742014929652, -0.006287537049502134, 0.03334575146436691, 0.0456119030714035, 0.06127622723579407, 0.0016627446748316288, -0.009585767984390259, 0.006660064682364464, -0.046956636011600494, -0.010494371876120567, -0.02307853288948536, -0.055824607610702515, 0.0011323472717776895, -0.001203899853862822, 0.006632806733250618, -0.023187564685940742, -0.02269691787660122, -0.03129230812191963, 0.04404910281300545, -0.01960766687989235, -0.027621550485491753, 0.07334248721599579, -0.07465087622404099, -0.08126550912857056, 0.007841248996555805, 0.021624766290187836, 0.023096704855561256, -0.05102717876434326, -0.05669686570763588, -0.002680380828678608, -0.01256598811596632, -0.05513406917452812, 0.027857787907123566, 0.03819769620895386, 0.04648416116833687, -0.043358564376831055, 0.07559581845998764, 0.03372736647725105, 0.0340726375579834, -0.018499169498682022, 0.03754350170493126, -0.09035154432058334, 0.06847237050533295, -0.0030960668809711933, -0.05429815128445625, 0.02153390645980835, -0.048046961426734924, -0.021297669038176537, -0.026513053104281425, 0.013011204078793526, 0.038415759801864624, 0.02280595153570175, -0.032945968210697174, 0.00029558013193309307, 0.030292844399809837, 0.07239753752946854, 0.005374390631914139, -0.020788850262761116, 0.03301865607500076, 0.06727301329374313, -0.020861539989709854, -0.032110054045915604, -0.005565197207033634, -0.0514269657433033, -0.053898368030786514, -0.03154671937227249, -0.013420075178146362, -0.01948046125471592, -0.010185446590185165, -0.008195605129003525, 0.0029779484029859304, -0.05586095154285431, 0.000973909511230886, -0.0027235394809395075, 0.06469257920980453, -0.04463060945272446, 0.024714019149541855, 0.012120772153139114, -0.02031637728214264, 0.003920624498277903, 0.04492136463522911, 0.04902825132012367, -0.06331150233745575, -0.056914933025836945, 0.05091814696788788, -0.03163757920265198, -0.013074805960059166, -0.030092952772974968, -0.04005124792456627, -0.004620249383151531, -0.02249702624976635, -0.02115229330956936, 0.038015976548194885, 0.013056633993983269, 0.01697271503508091, -0.054407186806201935, 0.015246368944644928, 0.02229713276028633, -0.020334549248218536, -0.021970035508275032, -0.023296596482396126, 0.01314749475568533, 0.049137283116579056, -0.04016027972102165, -0.03325489163398743, 0.0353446826338768, 0.012484214268624783, 0.03156489133834839, -0.018989816308021545, 0.011630126275122166, 0.008981547318398952, 0.05971343070268631, -0.02049809880554676, -0.0050745513290166855, 0.07432377338409424, 0.0340544655919075, 0.00806840043514967, -0.009540338069200516, 0.012556902132928371, -0.018281105905771255, 0.04095984995365143, 0.07857604324817657, -0.045030396431684494, 0.03603522107005119, -0.00700533390045166, -0.004252265207469463, -0.028748219832777977, 0.034799519926309586, -0.01889895461499691, 0.004463515244424343, -0.030056608840823174, -0.01304754801094532, -0.019244225695729256, -0.03581715375185013, 0.024659503251314163, -0.03419984132051468, 0.01594599336385727, 0.04982782155275345, -0.07410570979118347, 0.056406114250421524, 0.015082820318639278, -0.012120772153139114, -0.05037298426032066, 0.01575518772006035, -0.017363416031003, -0.029856715351343155, -0.005342589225620031, -0.018099384382367134, -0.045030396431684494, 0.015146422199904919, -0.021624766290187836, -0.0069099306128919125, -0.09405864775180817, 0.022860467433929443, 0.024059824645519257, 0.03656221181154251, -0.012311579659581184, -0.007882136851549149, 0.02782144397497177, -0.03123779222369194, -0.01411061454564333, 0.07537775486707687, 0.02340563014149666, -0.0546252503991127, -0.014156044460833073, -0.019425945356488228, 0.010294479317963123, -0.032618869096040726, 0.07661345601081848, -0.0034208926372230053, 0.018217502161860466, 0.03805232048034668, -0.021115947514772415, -0.026658430695533752, 0.0713072121143341, 0.017381587997078896, -0.006301166024059057, 0.010294479317963123, 0.02327842451632023, 0.022787779569625854, 0.054152775555849075, -0.023569177836179733, 0.020461753010749817, 0.0027258109766989946, 0.05945902317762375, -0.07214313000440598, 0.013756259344518185, 0.004997320007532835, 0.008677165023982525, 0.011030447669327259, -0.09616661071777344, 0.016990887001156807, -0.025749826803803444, -0.023950790986418724, 0.018808094784617424, -0.004997320007532835, 0.03696199506521225, -0.027076387777924538, 0.0019103391095995903, -0.02396896295249462, -0.0005582233425229788, 0.0880982056260109, 0.009494908154010773, 0.0029643194284290075, -0.036798447370529175, -0.0046088919043540955, 0.03014746867120266, 0.02416885644197464, 0.014737551100552082, 0.015309970825910568, 0.03505392745137215, -0.03192833065986633, -0.0340544655919075, 0.01664561778306961, 0.000573272118344903, -0.003956968896090984, -0.029584133997559547, 0.04575727880001068, -0.0713072121143341, -0.03732543811202049, -0.03310951590538025, -0.011193996295332909, 0.01813572831451893, -0.04106888547539711, -0.06607365608215332, 0.03118327632546425, -0.027476172894239426, -0.00854996033012867, 0.05244460329413414, -0.019062504172325134, -0.012138944119215012, 0.008340981788933277, 0.01619131676852703, 0.0026553941424936056, 0.020134655758738518, 0.030510909855365753, -0.04448523372411728, -0.02184283174574375, -0.05393471196293831, 0.030947038903832436, 0.032800592482089996, -0.05920461192727089, 0.005678772926330566, -0.02771241031587124, -0.0005482854903675616, 0.04441254585981369, -0.01056706067174673, -0.00013032784045208246, 0.01619131676852703, 0.013819861225783825, 0.0017967637395486236, 0.08242852240800858, 0.06574656069278717, -0.005583369173109531, 0.01070335041731596, 0.01819933019578457, -0.03458145260810852, 0.027857787907123566, -0.09093305468559265, 0.0546252503991127, 0.007564125116914511, 0.028457466512918472, -0.04833771288394928, -0.021243153139948845, -0.007595926523208618, 0.04197748750448227, -0.02242433838546276, 0.01330195739865303, 0.016164058819413185, -0.01857185736298561, -0.06265730410814285, 0.004150046966969967, 0.08642637729644775, -0.007995711639523506, 0.0022681017871946096, -0.018499169498682022, -0.0050336639396846294, -0.04506674036383629, 0.02102508768439293, -0.03494489565491676, -0.041432324796915054, -0.032564353197813034, -0.06527408212423325, 0.04811964929103851, -0.009313187561929226, -0.06334784626960754, -0.03614425286650658, -0.010367167182266712, 0.048046961426734924, 0.00974023062735796, 0.028366604819893837, 0.02687649615108967, 0.07639539241790771, -0.0026690231170505285, 0.0032073708716779947, 0.0007876457530073822, 0.05713299661874771, 0.04593899846076965, 0.013874377124011517, 0.09224144369363785, 0.03227360174059868, -0.034363389015197754, -0.018662719056010246, -0.023242080584168434, -0.008359153755009174, -0.041941143572330475, 0.009122380055487156, 0.06396569311618805, -0.02867553010582924, 0.025295525789260864, -0.034490592777729034, 0.03877920284867287, -0.03683479130268097, 0.011193996295332909, -0.0546252503991127, -0.0854814276099205, -0.02351466193795204, 0.002709910273551941, 0.005497051868587732, -0.0366167277097702, -0.0043385825119912624, 0.01459217444062233, 0.01587330549955368, -0.049464382231235504, 0.007836706005036831, -0.00957668200135231, -0.01102136168628931, -0.012129858136177063, -0.06258461624383926, -0.00819106213748455, 0.04288609325885773, 0.0026576656382530928, 0.054225463420152664, 0.031146932393312454, -0.0025963347870856524, 0.049791477620601654, 0.012438783422112465, 0.023242080584168434, -0.006773639936000109, -0.03698016703128815, -0.006096730474382639, 0.01702723279595375, -0.06411106884479523, 0.007082565221935511, -0.04484867677092552, -0.008027513511478901, -0.023441974073648453, 0.028711874037981033, -0.010121844708919525, 0.0021897347178310156, 0.03376371040940285, -0.012211632914841175, -0.017781373113393784, -0.045212116092443466, -0.004824685398489237, -0.021497562527656555, 0.03979684039950371, -0.003938796930015087, -0.00010484433732926846, -0.09325907379388809, -0.0584777295589447, -0.03805232048034668, -0.01153926644474268, -0.02160659432411194, 0.06643709540367126, -0.008136545307934284, 0.006423827726393938, 0.03476317599415779, 0.022006379440426826, 0.02660391479730606, 0.016291262581944466, 0.020970571786165237, 0.01522819697856903, 0.014764809049665928, -0.04070544242858887, -0.020552614703774452, -0.01690002717077732, 0.025495417416095734, 0.030692631378769875, 0.0078003620728850365, -0.049900513142347336, -0.028003163635730743, -0.05346223711967468, -0.015537122264504433, 0.03387274220585823, 0.016890941187739372, 0.020225517451763153, -0.01272953674197197, -0.03485403582453728, 0.013510935939848423, 0.006800898350775242, 0.042777057737112045, 0.04473964124917984, 0.017581479623913765, -0.023060360923409462, -0.05982246249914169, 0.007945738732814789, -0.014882927760481834, -0.056333426386117935, 0.00951308012008667, -0.04768351837992668, -0.0077867330983281136, 0.01063974853605032, 0.05437084287405014, -0.03285510838031769, 0.09144186973571777, -0.005915009416639805, 0.011711901053786278, 0.006605548318475485, 0.03360016271471977, 0.026640258729457855, -0.0867898166179657, 0.01330195739865303, -0.0366167277097702, -0.04448523372411728, 0.01575518772006035, 0.00440445588901639, 0.03627145662903786, -0.034490592777729034, -0.0032209998462349176, 0.03349113091826439, 0.03554457426071167, -0.008340981788933277, 0.07236119359731674, 0.03721640631556511, -0.0610581636428833, 0.01665470376610756, -0.03425435721874237, 0.03180112689733505, -0.018753578886389732, -0.0018660447094589472, 0.04314050078392029, 0.013447334058582783, 0.06382031738758087, -0.0314740315079689, 0.025695310905575752, -0.04128694906830788, -0.03997856006026268, -0.04968244582414627, -0.034617796540260315, 0.02113412134349346, -0.038415759801864624, 0.005042750388383865, 0.03683479130268097, 0.033509302884340286, -0.004220463801175356, 0.05746009200811386, 0.044376201927661896, 0.009522166103124619, 0.0035821697674691677, 0.027657894417643547, 0.010030983947217464, 0.01631852053105831, 0.031019728630781174, 0.0036344146355986595, -0.050736427307128906, -0.034617796540260315, 0.016681963577866554, 0.00673275301232934, -0.030619941651821136, -0.013765345327556133, 0.0074051194824278355, -0.00999464001506567, 0.039106301963329315, 0.03305500000715256, -0.026712946593761444, 0.054988693445920944, 0.05538847669959068, -0.04154135659337044, -0.00999464001506567, 0.03523564711213112, -0.0739603340625763, 0.03078349120914936, 0.03787060081958771, -0.03289145231246948, -0.05066373944282532, -0.007850334979593754, 0.06113085150718689, 0.00013387706712819636, 0.00518812658265233, -0.03928802162408829, -0.013865291140973568, 0.038270384073257446, -0.042704369872808456, -0.03874285891652107, 0.030892523005604744, 0.02404165267944336, -0.015428089536726475, -0.03445424884557724, -0.02847563847899437, -0.01362905465066433, -0.06625537574291229, -0.0443398579955101, 0.0170363187789917, 0.053898368030786514, -0.014083356596529484, -0.005656057503074408, -0.0004395370197016746, -0.0010897564934566617, -0.029547790065407753, 0.009867435321211815, 0.04030565544962883, 0.030492737889289856, -0.049464382231235504, -0.11303029209375381, -0.02333294041454792, 0.03797963261604309, 0.03979684039950371, -0.010185446590185165, 0.012856741435825825, -0.014446797780692577, -0.05186309665441513, -0.06974441558122635, -0.023223908618092537, 0.05240825563669205, -0.03946974128484726, 0.08729863911867142, 0.03797963261604309, 0.034872207790613174, -0.03946974128484726, 0.028312088921666145, -0.0028939025942236185, 0.013992495834827423, 0.05778719112277031, 0.0031006098724901676, 0.07872141897678375, 0.028839079663157463, -0.021897347643971443, 0.038597483187913895, 0.02173379808664322, 0.022860467433929443, -0.01671830751001835, -0.044521577656269073, -0.03668941557407379, 0.0018569587264209986, 0.04659319296479225, 0.07574120163917542, -0.011221255175769329, 0.01807212643325329, -0.008513616397976875, 0.058841172605752945, 0.0064147417433559895, 0.039687804877758026, 0.05887751653790474, -0.055897295475006104, 0.006024042144417763, 0.02840294875204563, -0.04833771288394928, -0.04292243719100952, -0.012120772153139114, 0.04597534239292145, 0.006546488963067532, 0.00990377925336361, -0.03516295924782753, 0.0039592403918504715, -0.01394706591963768, -0.01459217444062233, 0.04960975795984268, 0.00563788553699851, -0.02776692621409893, -0.033327579498291016, -0.04597534239292145, 0.08940659463405609, -0.045866310596466064, -0.004152318462729454, 0.044194482266902924, -0.03452693670988083, -0.036544039845466614, -0.013919807970523834, -0.02158842235803604, 0.0029098030645400286, -0.02840294875204563, -0.018144814297556877, -0.020661646500229836, 0.08431841433048248, -0.026767462491989136, -0.051136210560798645, -0.018008524551987648, -0.04543018341064453, 0.03997856006026268, -0.01394706591963768, -0.012266148813068867, 0.01336555927991867, -0.024913910776376724, 0.05702396482229233, 0.06843602657318115, 0.009949210099875927, -0.03347295895218849, 0.0012300221715122461, -0.05487965792417526, 0.01986207626760006, 0.022606058046221733, -0.0005082501447759569, 0.01909884810447693, -0.02416885644197464, -0.027276281267404556, -0.08671712875366211, -0.026149611920118332, -0.003593527479097247, 0.056151703000068665, -0.00825466401875019, -0.00120957859326154, -0.047283731400966644, -0.04339490830898285, 0.012965774163603783, -0.06378397345542908, 0.00673275301232934, 0.007882136851549149, -0.004792883992195129, 0.05756912752985954, 0.023423802107572556, 0.0005096698296256363, -0.0018365151481702924, -0.003077894914895296, -0.03972415253520012, 0.033454786986112595, 0.0034822234883904457, 0.0052153849974274635, 0.003920624498277903, 0.021224981173872948, 0.06654612720012665, -0.0693809762597084, -0.06927194446325302, 0.0032505295239388943, 0.008218320086598396, 0.05513406917452812, -0.054407186806201935, -0.02718542143702507, 0.028639186173677444, 0.05731471627950668, 0.00174338323995471, -0.008227406069636345, 0.04375835135579109, -0.0053289602510631084, 0.01102136168628931, 0.03819769620895386, 0.02822122909128666, -0.09871070086956024, -0.03427252918481827, -0.0010534123284742236, -0.028184885159134865, -0.091223806142807, -0.01761782355606556, 0.03396360203623772, -0.0170363187789917, -0.010367167182266712, 0.0007586840074509382, -0.010548887774348259, -0.04968244582414627, -0.04266802594065666, 0.026385849341750145, -0.03877920284867287, -0.040269311517477036, 0.005106352269649506, -0.03118327632546425, -0.011584696359932423, -0.03516295924782753, 0.06512870639562607, 0.005715116858482361, 0.012275234796106815, 0.0030983383767306805, -0.010176360607147217, -0.011802760884165764, -0.005247185938060284, -0.0005420388770289719, 0.007114366628229618, 0.012765880674123764, -0.015537122264504433, -0.02326025255024433, 0.04826502501964569, 0.02589520439505577, 0.047719862312078476, 0.028966283425688744, 0.04197748750448227, 0.009722058661282063, -0.060185905545949936, 0.007100737188011408, -0.02353283390402794, -0.0745781883597374, -0.020716162398457527, 0.02404165267944336, 0.01652750000357628, -0.031001556664705276, -0.058768484741449356, 0.009685714729130268, -0.008877057582139969, 0.019462289288640022, -0.05200847238302231, 0.03490855172276497, 0.000832508085295558, -0.0020023351535201073, 0.036471348255872726, 0.01545534748584032, 0.05091814696788788, -0.012747708708047867, 0.020334549248218536, -0.022733263671398163, 0.02834843285381794, 0.05200847238302231, -0.00870442297309637, -0.008032056502997875, 0.034290701150894165, -0.04910093918442726, 0.03716188669204712, 0.03676210343837738, -0.048810187727212906, -0.026585742831230164, -0.07152527570724487, -0.05309879779815674, 0.0334002710878849, 0.04215920716524124, 0.004377197939902544, 0.07403302192687988, -0.0797390565276146, -0.029965747147798538, -0.010694264434278011, -0.028184885159134865, 0.022587886080145836, -0.007400576490908861, 0.038597483187913895, 0.04208651930093765, 0.019007988274097443, 0.014419539831578732, 0.0449940524995327, 0.02898445539176464, 0.013510935939848423, 0.04906459525227547, 0.03456328064203262, 0.03965146094560623, 0.006596462335437536, -0.002673566108569503, 0.038088664412498474, -0.010757867246866226, -0.0321463979780674, 0.016491156071424484, 0.05109986662864685, -0.04710201174020767, 0.04935535043478012, 0.015918735414743423, -0.030347362160682678, 0.0006189862033352256, 0.004379469435662031, 0.012220718897879124, 0.003434521611779928, 0.018162986263632774, 0.04321318864822388, 0.06247558444738388, -0.015782445669174194, 0.02242433838546276 ]
44,151
astropy.modeling.core
__len__
null
def __len__(self): return self._n_models
(self)
[ -0.008418061770498753, 0.0018566204234957695, -0.051080916076898575, 0.02155754156410694, 0.023017944768071175, 0.03498329222202301, -0.010073462501168251, -0.04128957912325859, 0.061071403324604034, -0.0013141552917659283, -0.015218064188957214, -0.04095766693353653, -0.0037256875075399876, 0.0005282033234834671, 0.035215627402067184, 0.005688104312866926, 0.028079569339752197, -0.0214911587536335, 0.04586993530392647, -0.012264067307114601, -0.03244418278336525, 0.05383576825261116, 0.03060208261013031, -0.03601221367716789, -0.010322394780814648, 0.022154979407787323, 0.02595534548163414, 0.00925198569893837, 0.0955900177359581, 0.03667603060603142, -0.11125615984201431, -0.001947895623743534, 0.0008987495093606412, 0.02140818163752556, 0.026187682524323463, 0.006252350751310587, 0.017491646111011505, 0.030303364619612694, 0.0075716921128332615, -0.024395368993282318, 0.026370232924818993, -0.05416767671704292, 0.010139844380319118, 0.002027761423960328, -0.008052960969507694, -0.03461819142103195, 0.027117030695080757, 0.007857964374125004, -0.0013380113523453474, -0.03342331573367119, -0.04507334902882576, 0.05795145034790039, 0.00881220493465662, 0.020229902118444443, -0.03753899782896042, 0.025706414133310318, -0.007683711592108011, 0.03899940103292465, -0.022735821083188057, 0.003512020455673337, -0.033622462302446365, -0.005003540311008692, 0.04417719319462776, -0.04128957912325859, 0.0328756645321846, -0.021009890362620354, -0.022868584841489792, 0.06744407117366791, 0.017558028921484947, 0.03237780183553696, -0.034153517335653305, -0.02394729107618332, 0.01223087590187788, 0.0824463963508606, -0.010413669981062412, -0.027996590360999107, -0.003138622036203742, 0.017740579321980476, 0.04613546282052994, -0.04069213941693306, 0.03926492854952812, 0.0030141558963805437, 0.0017300797626376152, 0.022669438272714615, 0.03478414565324783, -0.03518243879079819, -0.012089814059436321, -0.005497255828231573, -0.0011585726169869304, 0.009882614016532898, -0.07335206121206284, 0.09519173204898834, 0.033539485186338425, 0.022304337471723557, -0.025905558839440346, -0.010131546296179295, -0.026585973799228668, -0.06608323752880096, -0.0034850528463721275, -0.07859624177217484, -0.024677492678165436, 0.027299581095576286, -0.023283472284674644, 0.02560684084892273, -0.018006106838583946, -0.03558072820305824, -0.03435266390442848, -0.03224503621459007, -0.055561698973178864, 0.015359126031398773, 0.007032338995486498, 0.06734449416399002, 0.019068216904997826, 0.016022944822907448, -0.008119343779981136, -0.019167790189385414, 0.03023698180913925, 0.00404722522944212, 0.029589757323265076, -0.00881220493465662, -0.017823556438088417, 0.06890447437763214, -0.0666806772351265, -0.03823600709438324, 0.0815834254026413, 0.04812692105770111, 0.007758391555398703, -0.029307635501027107, 0.005920440889894962, -0.0473303385078907, 0.03133228421211243, -0.022735821083188057, -0.010961321182549, -0.004771203268319368, 0.04955413192510605, -0.02716681733727455, 0.04716438055038452, -0.02560684084892273, -0.05290642008185387, 0.05566127225756645, -0.02998805046081543, 0.08105237036943436, 0.046766091138124466, 0.01989799179136753, -0.026453210040926933, 0.03216205909848213, 0.01367468386888504, 0.013492133468389511, 0.0009454243117943406, -0.009044541977345943, 0.0025930453557521105, -0.008837098255753517, 0.045471642166376114, -0.02656937949359417, -0.08921734988689423, 0.05293961241841316, -0.007945090532302856, -0.08722589164972305, 0.010247714817523956, -0.08636292815208435, -0.07434779405593872, 0.012040027417242527, -0.04351337254047394, -0.025656627491116524, -0.044575486332178116, 0.017475049942731857, -0.04394485801458359, -0.04175425320863724, -0.050981342792510986, 0.06435731053352356, 0.011168764904141426, -0.007679563015699387, -0.016164006665349007, -0.025407694280147552, -0.006198415532708168, 0.0797911137342453, 0.008032216690480709, 0.016305068507790565, 0.015616355463862419, -0.0018555831629782915, 0.011650034226477146, -0.04460867494344711, -0.028743388131260872, -0.031182924285531044, 0.022387316450476646, 0.020130328834056854, -0.012512999586760998, 0.02919146604835987, -0.00006271928577916697, 0.02910848893225193, 0.0026158641558140516, -0.026552783325314522, 0.02129201404750347, -0.007405737414956093, -0.04577036201953888, -0.010944725945591927, 0.027117030695080757, 0.006331179291009903, -0.016736552119255066, 0.01025601290166378, -0.055030643939971924, -0.02157413586974144, -0.0307016558945179, -0.024063460528850555, -0.0037464317865669727, 0.01320171169936657, -0.021474564447999, 0.0008292558486573398, -0.019864801317453384, -0.047927774488925934, -0.005215132609009743, -0.024428561329841614, 0.04042661190032959, 0.05629190057516098, 0.07222357392311096, -0.03667603060603142, 0.017475049942731857, -0.037472616881132126, -0.007804029155522585, -0.028444670140743256, 0.05672338232398033, -0.009990484453737736, -0.0030245280358940363, -0.018437588587403297, -0.0293740164488554, -0.05542893707752228, -0.017242714762687683, 0.05201026424765587, -0.002802563365548849, -0.04357975721359253, 0.013450643979012966, 0.03963002935051918, -0.005285663530230522, 0.047927774488925934, 0.031879935413599014, 0.015508485026657581, -0.0013079320779070258, 0.020113732665777206, -0.05406810715794563, -0.03753899782896042, -0.04709799960255623, -0.028610624372959137, -0.03219525143504143, -0.007903601974248886, -0.013060650788247585, -0.012371937744319439, 0.02603832259774208, 0.00798243097960949, 0.008111045695841312, -0.0517447367310524, 0.021889451891183853, -0.0386011078953743, -0.047562673687934875, -0.006654791533946991, 0.023200495168566704, -0.07859624177217484, -0.048093728721141815, -0.02832850068807602, 0.005978525150567293, -0.01930055394768715, -0.01629677042365074, 0.02585577219724655, -0.04454229399561882, 0.06004248186945915, -0.02339963987469673, 0.024677492678165436, 0.006318732630461454, 0.04321465641260147, -0.02920806221663952, 0.038634300231933594, 0.07321929931640625, 0.01372446957975626, -0.05330471321940422, -0.05181111767888069, -0.03302502632141113, -0.0517115443944931, -0.016388045623898506, 0.01772398315370083, -0.055362552404403687, -0.004829287528991699, 0.010894939303398132, -0.03641050308942795, -0.010928129777312279, -0.013309583067893982, -0.03999513015151024, 0.000953722046688199, -0.004460037685930729, -0.004825138486921787, -0.04709799960255623, -0.009044541977345943, 0.016180602833628654, 0.01719292812049389, 0.03402075543999672, 0.007662967313081026, 0.0050325822085142136, -0.0779988020658493, -0.025673221796751022, 0.04085809737443924, 0.06166883930563927, 0.039596837013959885, -0.04504016041755676, -0.013600003905594349, -0.012620870023965836, -0.00572129525244236, -0.00840146653354168, -0.00341037311591208, 0.06588409096002579, -0.008459551259875298, 0.05725444108247757, 0.002883466426283121, -0.026104705408215523, 0.05025114119052887, 0.011591949500143528, 0.09406323730945587, 0.07056402415037155, 0.029423803091049194, -0.046600136905908585, 0.026104705408215523, -0.011898966506123543, 0.07693669199943542, -0.030801229178905487, 0.05357024073600769, 0.011650034226477146, -0.004084564745426178, -0.022553270682692528, -0.02096010372042656, 0.037472616881132126, -0.002953997114673257, -0.035282012075185776, -0.012172792106866837, -0.025988537818193436, -0.040824905037879944, 0.04102405160665512, 0.011766201816499233, -0.07653839886188507, -0.013226605020463467, 0.051943883299827576, -0.005613424349576235, 0.003872972447425127, 0.012703847140073776, 0.056325092911720276, -0.01578231155872345, -0.05015157163143158, 0.01543380506336689, 0.006762661971151829, -0.02333325892686844, 0.049487750977277756, -0.016985483467578888, 0.03352288901805878, -0.013384262099862099, -0.02333325892686844, 0.038534726947546005, 0.051346443593502045, 0.026967670768499374, 0.018371207639575005, -0.0131602231413126, -0.011674926616251469, 0.07527714222669601, 0.011550460942089558, 0.03909897431731224, -0.009003053419291973, 0.008530082181096077, -0.013658087700605392, 0.0029062852263450623, 0.025391099974513054, 0.013068947941064835, 0.010073462501168251, 0.004043076187372208, 0.003810739377513528, -0.053271520882844925, -0.05891398712992668, -0.02534131333231926, -0.0019323372980579734, 0.0002580080181360245, 0.04444272071123123, 0.0403602309525013, -0.03707432374358177, 0.03999513015151024, -0.030485915020108223, -0.020827339962124825, -0.02218816988170147, -0.015707630664110184, 0.0008608910138718784, -0.010488349944353104, 0.010944725945591927, 0.016811231151223183, -0.030535701662302017, -0.023117518052458763, -0.024511538445949554, -0.001964491093531251, 0.010397074744105339, -0.01565784402191639, -0.09811253845691681, -0.03551434725522995, -0.032908856868743896, 0.005530446767807007, 0.00929347425699234, -0.009003053419291973, -0.022686034440994263, -0.018470780923962593, 0.022138383239507675, -0.010314096696674824, 0.047927774488925934, 0.06950191408395767, -0.04348018392920494, -0.006447347812354565, 0.02481025643646717, 0.05104772746562958, -0.0649215579032898, -0.02419622428715229, 0.028560837730765343, 0.023831123486161232, -0.026668952777981758, -0.04517292231321335, 0.014844665303826332, -0.03216205909848213, 0.03604540228843689, -0.029058702290058136, 0.08603101968765259, 0.03541477397084236, 0.040824905037879944, 0.06535303592681885, 0.051512401551008224, 0.07441417872905731, 0.0031738874968141317, 0.028610624372959137, -0.01989799179136753, 0.051080916076898575, 0.0368087962269783, -0.003180110827088356, -0.05187750235199928, 0.00020510988542810082, 0.039132166653871536, -0.015973158180713654, -0.031182924285531044, -0.040194276720285416, 0.014214036986231804, -0.06591728329658508, -0.044243574142456055, 0.05058305338025093, 0.05672338232398033, 0.010695792734622955, 0.00576278381049633, 0.024793662130832672, 0.041422341018915176, -0.053437475115060806, 0.018786095082759857, -0.014852963387966156, -0.00999878253787756, -0.030187195166945457, -0.05357024073600769, -0.015500187873840332, 0.04742990806698799, -0.03128249943256378, 0.03710751608014107, -0.007144358474761248, -0.04095766693353653, -0.03133228421211243, -0.05210983753204346, -0.04689885303378105, -0.03171398118138313, 0.06389263272285461, -0.019864801317453384, -0.0034809040371328592, -0.0030266023240983486, -0.014255525544285774, -0.0005735816084779799, -0.008376573212444782, -0.019400127232074738, 0.029141679406166077, 0.050649434328079224, -0.007463821675628424, -0.021441372111439705, -0.0850352868437767, -0.02087712660431862, 0.03498329222202301, 0.0337386317551136, 0.014330205507576466, 0.014778283424675465, -0.050815388560295105, 0.02753191813826561, -0.011334719136357307, 0.0021698602940887213, 0.031514834612607956, -0.006385114509612322, -0.006152777932584286, -0.053171947598457336, -0.03314119204878807, -0.008310191333293915, -0.04311508312821388, 0.0023710806854069233, -0.042052969336509705, 0.006090544629842043, 0.007916048169136047, 0.05031752586364746, 0.008870289660990238, 0.04281636327505112, -0.006434901151806116, -0.017906533554196358, 0.012844908982515335, 0.004041001666337252, 0.003673826577141881, 0.022686034440994263, -0.05094815418124199, -0.0473303385078907, -0.01156705617904663, 0.004285785369575024, -0.038534726947546005, -0.016943994909524918, -0.04069213941693306, 0.025291526690125465, -0.011425994336605072, 0.026071514934301376, 0.04567078873515129, 0.040725331753492355, -0.0019572305027395487, 0.020910317078232765, -0.017508242279291153, 0.027415748685598373, 0.09140795469284058, 0.04314827173948288, -0.03989555686712265, -0.014620626345276833, -0.051512401551008224, -0.03264332935214043, 0.026984266936779022, -0.053271520882844925, -0.03647688776254654, 0.05911313369870186, 0.09771424531936646, 0.0552297905087471, -0.002640757244080305, -0.005447469651699066, 0.07574181258678436, -0.005600977689027786, -0.024395368993282318, -0.025108976289629936, -0.03202929347753525, 0.05045028775930405, 0.08370765298604965, -0.0059702275320887566, -0.03929812088608742, 0.02857743389904499, -0.001962416572496295, 0.002265284303575754, 0.01660378836095333, 0.016678467392921448, -0.028096163645386696, -0.0006124773062765598, -0.010347288101911545, -0.05313875898718834, 0.016471022740006447, 0.03405394405126572, -0.048790737986564636, 0.09592193365097046, 0.04968689754605293, 0.011915561743080616, -0.046434178948402405, 0.047562673687934875, 0.015516783110797405, 0.012205982580780983, -0.051412828266620636, 0.06777597963809967, 0.016595490276813507, -0.000436409522080794, 0.04374571144580841, -0.009393047541379929, 0.006642344873398542, -0.00018890334467869252, 0.025391099974513054, -0.04251764342188835, -0.027681276202201843, -0.06581771373748779, 0.009243687614798546, 0.026270659640431404, -0.011027703061699867, -0.02374814637005329, 0.020827339962124825, -0.03465138375759125, -0.054234061390161514, -0.010504945181310177, 0.024777065962553024, 0.04723076522350311, 0.011807691305875778, 0.00814838521182537, -0.017674196511507034, -0.025125570595264435, 0.013517026789486408, -0.026967670768499374, 0.026851503178477287, -0.04321465641260147, 0.05662381276488304, -0.0249928068369627, -0.011807691305875778, 0.034750957041978836, 0.013907019980251789, -0.0700993463397026, -0.0263204462826252, -0.025225143879652023, 0.02210519276559353, 0.050383906811475754, 0.01921757683157921, 0.00040399644058197737, 0.029788903892040253, 0.041190005838871, -0.045637596398591995, -0.024428561329841614, 0.0851016715168953, 0.01823844388127327, 0.02481025643646717, -0.012878100387752056, -0.014438075944781303, -0.011102383024990559, -0.08835438638925552, -0.0455712154507637, -0.03936450183391571, -0.015184872783720493, 0.024445155635476112, 0.06897085905075073, 0.026801716536283493, 0.006513729691505432, 0.03929812088608742, 0.013243201188743114, 0.02298475243151188, -0.06113778427243233, 0.031182924285531044, -0.02051202580332756, -0.01717633195221424, 0.011575354263186455, -0.04500696808099747, 0.03438585624098778, -0.03899940103292465, 0.05735401436686516, -0.03614497557282448, 0.024660898372530937, -0.040725331753492355, -0.026502996683120728, -0.010928129777312279, 0.006447347812354565, 0.026668952777981758, -0.005053326487541199, -0.0032651626970618963, -0.03916535526514053, 0.010380478575825691, -0.014222335070371628, 0.025922155007719994, -0.031249307096004486, 0.0009355707443319261, 0.03428628295660019, -0.03624454885721207, -0.019051622599363327, -0.028527647256851196, 0.010272608138620853, -0.01772398315370083, -0.010181332938373089, -0.058781225234270096, 0.007318610791116953, -0.023366449400782585, -0.02683490701019764, -0.11543822288513184, -0.03733985126018524, -0.05045028775930405, 0.030917396768927574, -0.05217621847987175, 0.08317659795284271, 0.00453471764922142, 0.0015195244923233986, -0.03641050308942795, -0.005547042470425367, 0.021258821710944176, -0.013185116462409496, 0.0170933548361063, 0.010372181423008442, 0.029523376375436783, -0.01627187803387642, 0.01674484834074974, -0.013832340948283672, 0.02866041101515293, 0.020395856350660324, -0.003161440836265683, 0.019765228033065796, -0.0034788295160979033, -0.03727347031235695, -0.01719292812049389, 0.05021795257925987, 0.014396587386727333, -0.07388312369585037, 0.03524881973862648, 0.09784700721502304, -0.01319341454654932, -0.03541477397084236, -0.0342198982834816, 0.02411324717104435, 0.015558271668851376, -0.0020308729726821184, -0.02436217851936817, -0.0016730327624827623, 0.010330691933631897, -0.007048934232443571, 0.013143627904355526, 0.03780452534556389, 0.03541477397084236, -0.023548999801278114, -0.04162148758769035, -0.027681276202201843, 0.06040758267045021, -0.07295377552509308, 0.0060241627506911755, -0.05828335881233215, -0.04401123896241188, -0.002003905363380909, 0.11198636144399643, 0.027117030695080757, -0.08476976305246353, -0.01702697202563286, 0.009351558052003384, 0.05821697786450386, 0.08131790161132812, -0.015027215704321861, 0.03435266390442848, 0.026868097484111786, 0.0166452769190073, 0.03342331573367119, 0.019964374601840973, -0.015715928748250008, 0.02437877468764782, -0.03171398118138313, 0.009351558052003384, 0.023565595969557762, -0.001828615553677082, 0.027200007811188698, -0.05446639657020569, -0.029971454292535782, -0.024494942277669907, 0.015276147983968258, 0.01858694851398468, 0.04145553335547447, -0.004655034746974707, -0.004298232030123472, -0.03763857111334801, 0.07965835183858871, -0.022204766049981117, 0.028726791962981224, -0.0035452113952487707, 0.018736308440566063, 0.010139844380319118, 0.02087712660431862, 0.04162148758769035, -0.013351071625947952, -0.05181111767888069, 0.05848250538110733, 0.033722035586833954, 0.057221248745918274, -0.07082954794168472, -0.010662602260708809, 0.026901287958025932, 0.02032947540283203, -0.028195736929774284, -0.03491691127419472, -0.0022964009549468756, -0.006152777932584286, -0.037837717682123184, 0.004854180850088596, 0.04480782151222229, 0.015317637473344803, 0.06113778427243233, 0.02753191813826561, -0.003321172436699271 ]
44,155
astropy.modeling.core
__repr__
null
def __repr__(self): return self._format_repr()
(self)
[ 0.027743486687541008, -0.05817074328660965, 0.06776522845029831, 0.03426840528845787, 0.03529159352183342, -0.0640750378370285, -0.011531829833984375, -0.02126888744533062, 0.059177156537771225, -0.029303427785634995, -0.02804541029036045, -0.013167252764105797, 0.007711649406701326, 0.04689890518784523, -0.03498966991901398, 0.03723732754588127, 0.00454983115196228, -0.09044309705495834, -0.0018671081634238362, 0.020849548280239105, 0.00454983115196228, 0.021470170468091965, 0.04844207316637039, -0.027173185721039772, -0.002230884972959757, 0.014022705145180225, -0.009133209474384785, -0.020849548280239105, -0.012546630576252937, -0.0061559006571769714, -0.06092160940170288, -0.0561579167842865, 0.013167252764105797, 0.00626073544844985, 0.008034540340304375, 0.010609284043312073, -0.045557018369436264, 0.016857439652085304, -0.032238803803920746, -0.0075564938597381115, 0.017016787081956863, -0.010231878608465195, 0.0008827091660350561, -0.04642924293875694, -0.02526099793612957, -0.013225960545241833, 0.07729261368513107, 0.019759265705943108, -0.03495611995458603, -0.07541397213935852, 0.036331553012132645, 0.04840852692723274, -0.025495827198028564, 0.0075564938597381115, -0.0844046100974083, 0.014249148778617382, 0.051494862884283066, 0.030209200456738472, 0.01888704113662243, 0.026669977232813835, -0.06729556620121002, 0.03532513976097107, 0.03356391564011574, -0.04652988538146019, -0.002564259571954608, -0.023600414395332336, -0.039921097457408905, 0.017360646277666092, -0.002593613462522626, 0.03093046508729458, 0.016270363703370094, 0.0007495689205825329, -0.03519095107913017, 0.026451921090483665, -0.01808190904557705, -0.020765680819749832, -0.014836223796010017, 0.02968922071158886, 0.01622004248201847, -0.04562411457300186, -0.0032058486249297857, 0.02182241529226303, 0.016630996018648148, 0.006407503969967365, 0.013276281766593456, -0.08789350837469101, -0.006025905255228281, 0.00869709625840187, -0.046697620302438736, 0.033513594418764114, -0.018954135477542877, 0.016958080232143402, -0.03166850283741951, 0.020077964290976524, -0.05136067420244217, -0.02708931639790535, -0.00126954959705472, -0.064276322722435, 0.056392744183540344, -0.025747431442141533, 0.011791820637881756, 0.017696117982268333, -0.03403357416391373, -0.02947116456925869, -0.05337350070476532, -0.018333513289690018, -0.034251630306243896, 0.03030984289944172, -0.038679853081703186, 0.01944056898355484, -0.018870268017053604, 0.06964386999607086, -0.00018254363385494798, -0.027139637619256973, 0.043443549424409866, -0.03052789904177189, -0.02826346643269062, 0.0035455136094242334, 0.05696304515004158, -0.011682792566716671, -0.019121870398521423, 0.0028347335755825043, -0.02368428185582161, -0.015456845983862877, -0.033547140657901764, 0.045926038175821304, -0.04616086557507515, 0.003656638553366065, -0.005422056652605534, -0.08541101962327957, 0.03475483879446983, 0.0010703634470701218, -0.04146426543593407, 0.017712891101837158, 0.05699659511446953, -0.003163914894685149, 0.02361718751490116, -0.007942285388708115, 0.015423298813402653, 0.12969325482845306, 0.022862376645207405, -0.04089396446943283, 0.03492257371544838, 0.05656048282980919, -0.03240653872489929, -0.003925015684217215, 0.030041465535759926, 0.09950082004070282, 0.0035308366641402245, -0.024338452145457268, 0.032825879752635956, 0.03176914155483246, 0.07809774577617645, -0.00909966230392456, -0.0025118421763181686, 0.030225975438952446, 0.008957087062299252, -0.019054776057600975, 0.033731650561094284, -0.015163308009505272, -0.03455355763435364, -0.04049139842391014, 0.03649929165840149, -0.016538741067051888, -0.007028126157820225, 0.049951694905757904, 0.0075564938597381115, -0.06991223990917206, 0.0034889027010649443, 0.0115653770044446, -0.011598924174904823, -0.09540807455778122, -0.07481012493371964, 0.03968627005815506, -0.0009539968450553715, 0.0662556067109108, 0.00722940918058157, 0.12459408491849899, -0.030108559876680374, 0.001559942145831883, 0.0482407882809639, -0.06759749352931976, -0.07970800995826721, 0.007086833473294973, 0.04938139393925667, -0.04639569669961929, 0.03030984289944172, -0.020564397796988487, 0.022677868604660034, 0.01330982893705368, 0.019423795863986015, 0.008999020792543888, -0.014257535338401794, 0.009493840858340263, -0.03176914155483246, -0.05521859601140022, -0.010584123432636261, -0.051125843077898026, 0.01046670787036419, 0.019373474642634392, -0.009586095809936523, 0.00946029368788004, -0.016538741067051888, 0.010877660475671291, 0.025797752663493156, -0.008755804039537907, -0.01609424129128456, -0.03349681943655014, 0.034721292555332184, -0.05330640822649002, -0.005346575751900673, -0.003067466663196683, 0.005661080125719309, 0.0030402096454054117, 0.035492874681949615, -0.03445291519165039, -0.04206811636686325, -0.018652210012078285, -0.07870159298181534, 0.03559351712465286, 0.04569120705127716, -0.0319368802011013, -0.0140059320256114, -0.04938139393925667, -0.055990178138017654, -0.0042101661674678326, 0.02079922705888748, 0.0009602869395166636, -0.011540216393768787, -0.018350286409258842, 0.015381364151835442, -0.050689730793237686, -0.019759265705943108, 0.02284560352563858, -0.009653190150856972, 0.0381430983543396, -0.040256571024656296, 0.01789740100502968, -0.02687126025557518, 0.028531843796372414, -0.028934409841895103, 0.019725719466805458, 0.03888113796710968, -0.0031723016873002052, 0.030041465535759926, -0.040256571024656296, 0.01484461035579443, 0.076017826795578, -0.008554521016776562, -0.018031587824225426, 0.0015547003131359816, -0.04944848641753197, -0.02591516636312008, -0.01561619434505701, 0.04042430594563484, -0.05495021864771843, -0.031282708048820496, 0.01072669867426157, 0.03485548123717308, 0.062095757573843, -0.008432912640273571, -0.00047070832806639373, -0.002139678690582514, 0.037103138864040375, 0.052769653499126434, 0.03136657923460007, -0.06712783128023148, 0.026384826749563217, 0.0231307540088892, 0.032423313707113266, 0.10641153156757355, -0.004256293643265963, -0.07165669649839401, 0.039518531411886215, -0.04099460691213608, -0.02829701453447342, 0.003092627041041851, 0.0030297262128442526, -0.05847266688942909, -0.06102225184440613, 0.02210756577551365, -0.021252114325761795, -0.005283674690872431, 0.005589792504906654, 0.014207214117050171, -0.014483978040516376, 0.0001235740346601233, 0.021587586030364037, 0.011087330058217049, 0.011674405075609684, 0.06467889249324799, 0.03659993037581444, 0.009695123881101608, 0.03129948303103447, 0.06964386999607086, -0.01566651463508606, 0.022342396900057793, 0.012722753919661045, -0.030980786308646202, 0.01674840971827507, -0.022543679922819138, -0.04488607496023178, 0.05203161761164665, 0.05484957620501518, -0.03155108541250229, -0.000025209497835021466, 0.000821380817797035, 0.0521322600543499, 0.017880626022815704, 0.005061424802988768, 0.0028557004407048225, 0.032087840139865875, 0.03683476150035858, 0.06249832361936569, 0.008747417479753494, 0.021537264809012413, -0.009124822914600372, -0.014584619551897049, 0.0360296294093132, 0.07118703424930573, -0.032742008566856384, 0.02720673196017742, -0.015842637047171593, 0.03881404176354408, 0.021537264809012413, -0.04733501747250557, -0.04059204086661339, 0.04166555032134056, 0.021990152075886726, 0.03287619724869728, -0.00883967150002718, -0.058372028172016144, 0.01590973138809204, 0.03378197178244591, 0.002245561685413122, -0.011942782439291477, 0.020446982234716415, -0.011246679350733757, -0.04183328524231911, -0.05223289877176285, 0.059579722583293915, 0.035459328442811966, -0.021738547831773758, -0.023046886548399925, -0.01940702088177204, 0.03339618071913719, -0.02511003613471985, 0.026233864948153496, 0.03317812457680702, 0.0005755431484431028, -0.045926038175821304, -0.0021742740646004677, 0.023264942690730095, 0.009225464425981045, -0.04720082879066467, -0.02331526391208172, -0.011053782887756824, 0.029051825404167175, -0.04720082879066467, 0.04300743713974953, 0.04455060511827469, -0.005963004659861326, -0.016236817464232445, 0.02244303748011589, -0.03074595518410206, -0.006747168954461813, -0.018786398693919182, -0.001010083477012813, 0.045557018369436264, -0.003920822404325008, -0.0521322600543499, -0.010911207646131516, -0.04300743713974953, -0.04495317116379738, -0.030477577820420265, 0.051125843077898026, -0.024371998384594917, 0.02653578855097294, -0.034654196351766586, -0.06652398407459259, 0.056392744183540344, 0.003950175829231739, 0.0013984964461997151, 0.020480530336499214, -0.003841147758066654, -0.007917125709354877, 0.019121870398521423, 0.03250718116760254, -0.015272336080670357, -0.00476788729429245, -0.06581949442625046, -0.011548603884875774, -0.0006122353370301425, 0.01151505671441555, -0.05763398855924606, -0.047905318439006805, 0.06212930753827095, -0.006713621784001589, -0.07756099104881287, -0.013083385303616524, 0.04860980808734894, 0.004566604737192392, -0.013771101832389832, -0.008806124329566956, -0.012714366428554058, 0.0009031519293785095, 0.0339832529425621, 0.025965487584471703, -0.011078943498432636, -0.019088324159383774, 0.0028305400628596544, -0.009342879056930542, -0.08608196675777435, -0.05344059690833092, 0.06763103604316711, -0.016647769138216972, -0.03844502568244934, 0.008898379281163216, 0.005539471749216318, -0.00047149459715001285, -0.027340920642018318, 0.03955208137631416, 0.03740506246685982, 0.052736107259988785, -0.00037321195122785866, 0.024908753111958504, -0.022711414843797684, 0.023449452593922615, 0.061156440526247025, 0.027374466881155968, -0.039082419127225876, -0.021520491689443588, 0.015809090808033943, -0.004034043755382299, 0.037472158670425415, -0.07950672507286072, 0.0018513828981667757, -0.046731170266866684, -0.03138335049152374, 0.07038190215826035, 0.05307157710194588, -0.02287914976477623, 0.01965862512588501, -0.012764687649905682, 0.01860189065337181, -0.02178886905312538, -0.037136685103178024, -0.015406524762511253, 0.03676766902208328, -0.005220774095505476, 0.027877675369381905, 0.037908270955085754, 0.02049730345606804, -0.041933927685022354, -0.02262754738330841, -0.04136362671852112, -0.009770604781806469, -0.04904592037200928, -0.008059700950980186, -0.003956465981900692, -0.033144574612379074, 0.04146426543593407, -0.03918306156992912, 0.01501234620809555, -0.012068584561347961, -0.035895440727472305, 0.04126298427581787, 0.013704007491469383, -0.0881618857383728, -0.004289840813726187, 0.03346327319741249, 0.015331043861806393, -0.040256571024656296, -0.03027629479765892, -0.02947116456925869, 0.05803655460476875, -0.03938434273004532, -0.006151706911623478, -0.040357209742069244, -0.037874724715948105, -0.07158960402011871, -0.07326696068048477, -0.024103621020913124, -0.008378398604691029, -0.01866898499429226, 0.024321677163243294, 0.02225852943956852, 0.04062558710575104, 0.020665040239691734, -0.0018576729344204068, 0.008772577159106731, 0.06696009635925293, -0.0723276361823082, -0.002964728744700551, -0.005237547680735588, 0.024187488481402397, -0.01684066466987133, -0.03198720142245293, -0.04975041002035141, -0.010609284043312073, 0.0074810124933719635, -0.006587820127606392, 0.02653578855097294, -0.010777018964290619, 0.0329936146736145, -0.010936368256807327, 0.07454174757003784, 0.03559351712465286, 0.010206717997789383, -0.025210676714777946, 0.024556508287787437, -0.033144574612379074, 0.0381430983543396, 0.0051494864746928215, -0.01427430845797062, -0.033077482134103775, 0.0001571211905684322, 0.014601393602788448, -0.01445881836116314, 0.004751114174723625, 0.03914951533079147, -0.0032100421376526356, -0.053943805396556854, -0.028364108875393867, -0.04887818545103073, 0.053910255432128906, -0.015591033734381199, 0.014593007043004036, -0.039921097457408905, 0.05347414314746857, 0.024657148867845535, 0.01065121777355671, 0.020379887893795967, 0.001449865521863103, -0.0541115403175354, 0.0963473916053772, -0.07407208532094955, 0.02984018251299858, -0.027475109323859215, 0.04330936074256897, 0.02178886905312538, -0.03210461512207985, -0.029756315052509308, -0.047435659915208817, 0.01180859375745058, -0.02569711022078991, 0.013880129903554916, -0.01405625231564045, 0.018501248210668564, -0.02492552623152733, 0.020916642621159554, -0.03774053603410721, 0.029051825404167175, 0.005853976123034954, 0.035526424646377563, 0.0764874815940857, 0.021738547831773758, 0.045154452323913574, 0.01445881836116314, 0.029924049973487854, -0.0031513345893472433, 0.020228926092386246, 0.05169614404439926, -0.037941817194223404, 0.026451921090483665, 0.053172219544649124, 0.005690434016287327, 0.04283969849348068, -0.0360296294093132, -0.026233864948153496, 0.0022623352706432343, -0.0054346369579434395, 0.04622796177864075, 0.007917125709354877, -0.022711414843797684, 0.03696895018219948, -0.00652491906657815, 0.042302947491407394, -0.011758273467421532, -0.021772095933556557, -0.024170715361833572, 0.0005818332429043949, -0.00988802034407854, -0.052702561020851135, -0.03262459486722946, 0.008915153332054615, -0.05461474508047104, 0.006831036880612373, 0.0280118640512228, -0.040726229548454285, -0.024724243208765984, -0.030779503285884857, -0.002769735874608159, -0.015205241739749908, 0.06528273969888687, -0.03925015404820442, -0.01171633880585432, -0.01544845849275589, 0.006038485560566187, 0.02646869421005249, 0.026854487136006355, 0.03938434273004532, 0.022392716258764267, 0.02613322250545025, 0.044751886278390884, -0.004621118772774935, 0.05176324024796486, 0.026418374851346016, -0.025177130475640297, -0.0022623352706432343, -0.03763989359140396, 0.03034338913857937, -0.005136906169354916, -0.08876574039459229, -0.009477067738771439, -0.04361128434538841, -0.007711649406701326, 0.018333513289690018, -0.04522154852747917, 0.0520651638507843, 0.01596844010055065, 0.04146426543593407, -0.07185797393321991, 0.040726229548454285, -0.0045707980170845985, 0.004208069760352373, 1.4742396103883948e-7, -0.027357693761587143, 0.05495021864771843, -0.022677868604660034, 0.04371192678809166, 0.031802691519260406, -0.0034322920255362988, -0.05535278469324112, -0.05689595267176628, -0.03198720142245293, -0.00485175522044301, 0.04206811636686325, -0.014307855628430843, 0.06112289056181908, 0.02653578855097294, -0.02240949124097824, -0.06877163797616959, -0.018618663772940636, -0.02346622571349144, 0.003759376471862197, -0.04884463921189308, -0.05968036502599716, 0.026082903146743774, -0.02232562191784382, -0.04324226453900337, 0.028213147073984146, 0.010877660475671291, -0.0014551072381436825, -0.0290350504219532, 0.014593007043004036, -0.014064638875424862, 0.02854861691594124, -0.052367087453603745, 0.006357183214277029, -0.04602667689323425, -0.01885349303483963, -0.03181946277618408, -0.045489925891160965, 0.05867395177483559, 0.046362150460481644, -0.0440138503909111, 0.026334505528211594, 0.007388758007436991, -0.04854271560907364, -0.007380370981991291, 0.03690185770392418, -0.03361423686146736, -0.007862611673772335, -0.07125412672758102, 0.0056065660901367664, 0.00850000698119402, -0.0011762466747313738, 0.03185301274061203, -0.014760741963982582, 0.024187488481402397, 0.0105086425319314, -0.0582042895257473, -0.04002173990011215, 0.016480034217238426, 0.0422358512878418, -0.027810581028461456, 0.03566061332821846, -0.005082392133772373, -0.0881618857383728, -0.048710450530052185, -0.03844502568244934, -0.01757870241999626, -0.0023084627464413643, 0.03841147571802139, 0.008206469938158989, 0.024690696969628334, -0.09352943301200867, 0.05045489966869354, -0.01445881836116314, 0.02693835459649563, 0.04458415135741234, 0.027558976784348488, 0.011791820637881756, 0.04847561940550804, 0.03975336253643036, 0.03555997088551521, -0.0005288916290737689, 0.012496310286223888, -0.010307359509170055, 0.021570812910795212, 0.13734199106693268, 0.003272942965850234, -0.042302947491407394, -0.002530712401494384, -0.008353237994015217, 0.02383524365723133, 0.021587586030364037, -0.015289110131561756, 0.01925605908036232, -0.03277555853128433, 0.007673908490687609, 0.04978395998477936, 0.0039082420989871025, 0.004352741874754429, 0.1003730446100235, -0.064276322722435, -0.04857626184821129, -0.02349977195262909, -0.01823287084698677, 0.004017270170152187, 0.044282227754592896, -0.03690185770392418, -0.006403310690075159, 0.013418857008218765, -0.016798730939626694, 0.013133705593645573, -0.005656886845827103, 0.037069592624902725, 0.02247658558189869, 0.007791323587298393, 0.012513084337115288, 0.003426001872867346, -0.005157873034477234, 0.02361718751490116, 0.02358364127576351, 0.007011352572590113, 0.07111994177103043, -0.012412442825734615, 0.0421016626060009, 0.03475483879446983, 0.028867315500974655, -0.011724726296961308, 0.018736079335212708, 0.06518209725618362, -0.008386785164475441, 0.004390482325106859, 0.03891468420624733, 0.020262474194169044, -0.030846597626805305, -0.0721934512257576, -0.022459810599684715, 0.024908753111958504, 0.036298006772994995, -0.05478248372673988, 0.07850030809640884, -0.01720968447625637, 0.013427243568003178 ]
44,156
astropy.modeling.core
__setattr__
null
def __setattr__(self, attr, value): if isinstance(self, CompoundModel): param_names = self._param_names param_names = self.param_names if param_names is not None and attr in self.param_names: param = self.__dict__[attr] value = _tofloat(value) if param._validator is not None: param._validator(self, value) # check consistency with previous shape and size eshape = self._param_metrics[attr]["shape"] if eshape == (): eshape = (1,) vshape = np.array(value).shape if vshape == (): vshape = (1,) esize = self._param_metrics[attr]["size"] if np.size(value) != esize or self._strip_ones(vshape) != self._strip_ones( eshape ): raise InputParameterError( f"Value for parameter {attr} does not match shape or size\nexpected" f" by model ({vshape}, {np.size(value)}) vs ({eshape}, {esize})" ) if param.unit is None: if isinstance(value, Quantity): param._unit = value.unit param.value = value.value else: param.value = value else: if not isinstance(value, Quantity): raise UnitsError( f"The '{param.name}' parameter should be given as a" " Quantity because it was originally " "initialized as a Quantity" ) param._unit = value.unit param.value = value.value else: if attr in ["fittable", "linear"]: self.__dict__[attr] = value else: super().__setattr__(attr, value)
(self, attr, value)
[ 0.05160689353942871, -0.01206656638532877, 0.03317585960030556, 0.04876543954014778, -0.03935793414711952, -0.00399819016456604, -0.008169171400368214, -0.026686599478125572, -0.004434967413544655, -0.0024814698845148087, 0.010809033177793026, -0.02685939148068428, 0.04937980696558952, 0.020734911784529686, 0.002786253811791539, 0.07241860032081604, 0.03809080272912979, 0.002117888769134879, 0.009973876178264618, -0.011624990031123161, 0.011087418533861637, -0.004156582057476044, -0.029297662898898125, 0.03855157643556595, 0.031774330884218216, -0.00922031607478857, 0.014293650165200233, -0.0019174993503838778, 0.05752018094062805, -0.028990479186177254, -0.020062947645783424, -0.0012563341297209263, 0.034423794597387314, 0.03169753775000572, 0.0733017548918724, -0.033463843166828156, -0.022405223920941353, 0.022616412490606308, -0.055485088378190994, -0.0016487134853377938, 0.010242662392556667, -0.039261940866708755, -0.0038445983082056046, -0.004408568609505892, 0.027108976617455482, 0.04158501699566841, -0.017816664651036263, 0.09230875968933105, -0.029009677469730377, 0.009297112002968788, -0.03409741073846817, 0.00645566126331687, 0.04726792126893997, 0.02046612650156021, -0.05667542666196823, 0.011164214462041855, 0.012546541169285774, 0.019419781863689423, 0.004067786503583193, 0.004655755590647459, 0.0005825694533996284, 0.02607223205268383, 0.03233110159635544, -0.0866258516907692, -0.037495631724596024, -0.0607072152197361, -0.03018081560730934, 0.024248328059911728, -0.011999370530247688, 0.050608545541763306, 0.016933511942625046, -0.022539617493748665, 0.0036790070589631796, 0.025361869484186172, 0.016117554157972336, 0.027742544189095497, -0.029220866039395332, 0.04815107211470604, -0.007852387614548206, -0.016971908509731293, 0.029412856325507164, 0.05556188523769379, 0.010453851893544197, -0.041661813855171204, -0.09430544823408127, -0.01137540303170681, -0.08301644027233124, 0.005745298694819212, 0.031524743884801865, 0.021042095497250557, -0.04104744642972946, 0.027742544189095497, 0.0337902270257473, 0.052106067538261414, 0.0527588315308094, 0.022789204493165016, 0.03651648387312889, -0.06082240864634514, 0.007962781935930252, -0.023921944200992584, -0.015925563871860504, -0.004538161680102348, 0.03993390500545502, -0.012508143670856953, -0.017778266221284866, -0.07526005059480667, -0.00005167229028302245, -0.03544133901596069, -0.008562751114368439, 0.0038685970939695835, 0.006023684050887823, -0.006282870192080736, -0.06251192092895508, 0.042698558419942856, -0.03187032788991928, -0.008634747005999088, -0.05160689353942871, -0.0024814698845148087, 0.004223778378218412, 0.019928554072976112, 0.000011033795999537688, 0.05106931924819946, -0.009925879538059235, 0.007775592152029276, 0.048304665833711624, 0.03547973930835724, 0.032446298748254776, 0.03181273117661476, 0.010002675466239452, -0.0253426693379879, -0.0324270986020565, -0.051798880100250244, -0.011221811175346375, 0.028875283896923065, 0.023441970348358154, 0.0035494137555360794, -0.027800140902400017, 0.022846801206469536, -0.037975605577230453, 0.042506568133831024, 0.06957715004682541, 0.0681564211845398, 0.04473365098237991, -0.034673381596803665, 0.053910769522190094, 0.061897553503513336, 0.01629994437098503, 0.005610905587673187, -0.06566055119037628, -0.006081280764192343, -0.04338972270488739, 0.018402233719825745, 0.01841183379292488, -0.005591706372797489, -0.00010034473234554753, -0.02179085649549961, -0.0024046737235039473, -0.06516137719154358, 0.027800140902400017, -0.01342969574034214, -0.04761350154876709, -0.0016559130745008588, 0.008313164114952087, -0.04266016185283661, 0.006954835262149572, 0.06923156976699829, -0.103520967066288, 0.003069438971579075, -0.0178262647241354, -0.00010176966316066682, -0.0019054999575018883, -0.07940703630447388, 0.021022897213697433, 0.06320308148860931, 0.03630529344081879, 0.011768982745707035, 0.01420725416392088, -0.013074513524770737, -0.00926351360976696, -0.00886993482708931, 0.06765724718570709, 0.014716028235852718, 0.016712723299860954, -0.025131480768322945, -0.019438980147242546, 0.041853804141283035, -0.021406875923275948, 0.0216564629226923, 0.0021142889745533466, 0.03501896187663078, 0.08532032370567322, -0.000983948353677988, -0.04127783328294754, -0.026782594621181488, -0.048496656119823456, 0.0016451136907562613, 0.04634636640548706, -0.044503264129161835, 0.05498591437935829, 0.09753087908029556, 0.0018587025115266442, -0.03160154074430466, 0.02046612650156021, 0.020600518211722374, -0.030679989606142044, -0.0612063892185688, 0.0029806436505168676, -0.003014241810888052, -0.022155636921525, -0.02334597520530224, -0.018315838649868965, -0.004598158877342939, 0.031159965321421623, 0.02697458490729332, 0.04127783328294754, -0.020178141072392464, 0.0041757808066904545, -0.0178262647241354, 0.010953024961054325, -0.003285427577793598, 0.1277884989976883, 0.026782594621181488, 0.04761350154876709, -0.029969627037644386, 0.050838932394981384, -0.06205114349722862, 0.0383019894361496, -0.06132158264517784, -0.02311558648943901, 0.03824439272284508, -0.011058619245886803, 0.0007187622832134366, -0.0048429458402097225, 0.022194035351276398, -0.044925641268491745, 0.0496101975440979, 0.033579036593437195, -0.033214256167411804, -0.10114029049873352, -0.020427728071808815, -0.017250293865799904, 0.008797938004136086, -0.04834306240081787, 0.029585648328065872, -0.020235737785696983, -0.033943817019462585, -0.02173325978219509, 0.09699331223964691, -0.06312628835439682, -0.0159639623016119, 0.03638209030032158, 0.07426170259714127, -0.05920969322323799, 0.01146179810166359, 0.0016607128782197833, 0.0001391926925862208, -0.050954125821590424, -0.02939365804195404, 0.02522747591137886, 0.014956015162169933, -0.07668077945709229, -0.02806892618536949, 0.036478087306022644, 0.05782736465334892, -0.007535604760050774, -0.017979856580495834, 0.00924911443144083, 0.013564088381826878, -0.00867314450442791, 0.050493352115154266, -0.03158234432339668, 0.021406875923275948, 0.0027814540080726147, 0.007857187651097775, 0.014312849380075932, -0.024229127913713455, -0.00245987088419497, -0.017547879368066788, 0.014620033092796803, 0.006402864120900631, 0.049264613538980484, -0.0607072152197361, 0.026110630482435226, -0.014274450950324535, -0.02413313277065754, -0.008481155149638653, 0.013410496525466442, 0.03595971316099167, -0.005942088086158037, 0.009801086038351059, -0.01624234765768051, 0.01919899322092533, -0.0027742544189095497, 0.01706790365278721, -0.004230977967381477, -0.03839798644185066, -0.060975998640060425, 0.03413580730557442, 0.0491110235452652, -0.016175150871276855, -0.009657093323767185, 0.008577150292694569, -0.026456212624907494, 0.008740341290831566, 0.02263561263680458, -0.049034226685762405, 0.03770682215690613, -0.007492406759411097, -0.039626721292734146, 0.016875915229320526, 0.048381462693214417, 0.10620882362127304, -0.05682901665568352, 0.006527657620608807, 0.1108933836221695, 0.05264363810420036, 0.0422377847135067, -0.01616555079817772, 0.0020674914121627808, 0.06354866176843643, 0.005178928375244141, -0.02564985491335392, -0.05982406064867973, -0.049456603825092316, -0.011356203816831112, -0.016712723299860954, 0.029835233464837074, 0.02123408578336239, -0.05394916981458664, 0.020293334499001503, -0.04473365098237991, 0.024152332916855812, 0.036113303154706955, -0.0013955268077552319, -0.04542481526732445, -0.015925563871860504, -0.0009425505413673818, 0.02829931490123272, 0.022462820634245872, 0.014831221662461758, 0.028318513184785843, 0.011183412745594978, -0.017135100439190865, -0.03206231817603111, -0.042813751846551895, -0.04346651956439018, -0.026705797761678696, 0.010962625034153461, 0.07595121115446091, -0.011001022532582283, -0.07303296774625778, 0.017471082508563995, 0.010636242106556892, -0.006950035225600004, 0.005730899050831795, 0.00792438443750143, -0.02063891664147377, -0.037860412150621414, -0.022194035351276398, -0.062012746930122375, 0.03125596046447754, -0.018402233719825745, 0.02250121906399727, 0.02250121906399727, 0.025361869484186172, 0.029470453038811684, -0.01675112172961235, -0.039626721292734146, 0.04231457784771919, 0.01629994437098503, -0.004830946680158377, -0.03185112774372101, -0.020139742642641068, -0.013564088381826878, 0.011692186817526817, 0.05644503980875015, -0.024113934487104416, 0.008932331576943398, -0.0110778184607625, -0.0485350526869297, 0.030852781608700752, -0.024363521486520767, 0.04193060100078583, 0.05264363810420036, 0.024843497201800346, -0.03578692302107811, 0.04554000869393349, -0.016664724797010422, 0.027723345905542374, 0.009724290110170841, -0.03924274072051048, 0.006614053156226873, -0.0022414824925363064, -0.0045333621092140675, -0.02461310848593712, 0.0010247462196275592, 0.03417420759797096, -0.0061820754781365395, -0.06105279549956322, -0.020984498783946037, -0.04246817156672478, -0.055600281804800034, -0.00015359194367192686, 0.06984593719244003, 0.015867967158555984, -0.012364150956273079, -0.017970256507396698, 0.08171091228723526, -0.019275788217782974, 0.020485324785113335, -0.006047682836651802, -0.008058777078986168, 0.0011399402283132076, -0.015004012733697891, 0.01171138510107994, -0.009493901394307613, 0.018565425649285316, -0.06504618376493454, 0.011356203816831112, 0.008509953506290913, 0.013228106312453747, 0.0301040206104517, -0.004372570663690567, 0.05160689353942871, 0.03935793414711952, 0.027627350762486458, 0.030564796179533005, -0.005793295800685883, 0.026053033769130707, 0.03023841232061386, -0.02528507262468338, 0.01788386143743992, -0.004024588968604803, -0.007401211652904749, -0.003822999307885766, -0.028702493757009506, -0.01143299974501133, -0.046615153551101685, -0.013304902240633965, 0.008135573007166386, -0.016962310299277306, -0.04315933585166931, 0.007185223046690226, 0.038474779576063156, -0.08900652825832367, -0.05563868209719658, -0.007252419367432594, 0.051261309534311295, -0.055907465517520905, -0.03711165115237236, 0.06869399547576904, 0.006311669014394283, 0.010098669677972794, -0.010319458320736885, 0.04235297814011574, -0.05237485095858574, -0.02829931490123272, -0.054102759808301926, 0.05629144608974457, -0.02280840277671814, -0.008490754291415215, 0.055254701524972916, -0.028376111760735512, -0.04158501699566841, -0.049034226685762405, 0.04834306240081787, 0.058748915791511536, -0.011423400603234768, 0.012383350171148777, -0.0036142102908343077, 0.009906680323183537, -0.02630261890590191, 0.008437957614660263, -0.028376111760735512, -0.060438428074121475, -0.0023362773936241865, 0.010386655107140541, 0.02052372321486473, -0.06519977748394012, -0.04047147557139397, 0.008471555076539516, -0.023249980062246323, 0.010578644461929798, 0.027665747329592705, 0.02703218162059784, 0.019717365503311157, -0.022232433781027794, 0.026475410908460617, 0.0253426693379879, 0.061782356351614, -0.046807143837213516, 0.027377763763070107, 0.04546321555972099, 0.04676874727010727, -0.024401919916272163, -0.0001515670446678996, 0.007367613259702921, -0.03158234432339668, -0.003052639774978161, 0.02207884192466736, -0.018431032076478004, -0.042506568133831024, -0.026398614048957825, -0.014591234736144543, 0.011941773816943169, -0.008145172148942947, -0.029124870896339417, 0.012604138813912868, -0.023998741060495377, -0.029604846611618996, -0.0022570814471691847, 0.008164371363818645, 0.007770792115479708, 0.03711165115237236, 0.010617042891681194, -0.06135997921228409, -0.005927688907831907, -0.0010421453043818474, -0.046077582985162735, -0.008135573007166386, 0.0395883210003376, -0.015138405375182629, -0.006388464942574501, -0.0665053129196167, -0.007324415724724531, 0.002127488376572728, -0.012152962386608124, -0.06934676319360733, 0.018095050007104874, -0.005322920624166727, 0.026648201048374176, -0.022654810920357704, 0.004259776324033737, 0.08601148426532745, 0.019582971930503845, 0.042621761560440063, 0.028030529618263245, -0.0062012746930122375, 0.007559603080153465, -0.026398614048957825, -0.021579667925834656, 0.039857108145952225, 0.01962137036025524, 0.05080053582787514, 0.04146982356905937, -0.007386812474578619, -0.02365315891802311, 0.00793878361582756, -0.013304902240633965, -0.053258005529642105, -0.08424518257379532, -0.006086080800741911, -0.03882036358118057, 0.008380359970033169, 0.027800140902400017, 0.014408843591809273, 0.05613785237073898, 0.0007331615197472274, 0.0024814698845148087, 0.07222660630941391, 0.0019858956802636385, -0.0007817589794285595, 0.09253914654254913, 0.006657250691205263, 0.01852702721953392, -0.00678684376180172, -0.025803446769714355, -0.015781572088599205, 0.001238335040397942, -0.02643701247870922, -0.007703595794737339, 0.004254976753145456, -0.06101439893245697, -0.010789833962917328, -0.002354276366531849, 0.010991423390805721, -0.01798945665359497, 0.020792508497834206, -0.11903375387191772, -0.02040852978825569, -0.013141710311174393, 0.02384514920413494, -0.07618160545825958, -0.01224895752966404, 0.03200472146272659, -0.009479502215981483, -0.008908332325518131, 0.05279722809791565, -0.06589094549417496, 0.03519175201654434, -0.07053709775209427, -0.01759587600827217, -0.045040834695100784, 0.009129120968282223, 0.002452671295031905, 0.01580077037215233, -0.04400409013032913, -0.07691116631031036, 0.021618066355586052, 0.005034935660660267, -0.006705248262733221, -0.0422377847135067, -0.0016955110477283597, 0.05533149465918541, 0.006618852727115154, -0.010213864035904408, -0.02576504833996296, 0.04346651956439018, -0.045348022133111954, -0.00014106759044807404, 0.05237485095858574, 0.06504618376493454, -0.024248328059911728, -0.03210071474313736, -0.014159256592392921, -0.013583287596702576, -0.049341410398483276, 0.040586668998003006, 0.0522596575319767, -0.014312849380075932, 0.013064914382994175, -0.037860412150621414, -0.03018081560730934, -0.027569754049181938, -0.05886411294341087, -0.010213864035904408, 0.020984498783946037, -0.07399291545152664, -0.007094027940183878, -0.08309324085712433, 0.022040443494915962, 0.00892753154039383, 0.04170021042227745, -0.03761082515120506, 0.00016634126950521022, -0.03194712474942207, 0.019755763933062553, -0.00490534259006381, -0.005164529196918011, -0.011087418533861637, 0.04834306240081787, -0.01502321194857359, 0.030852781608700752, -0.018690219148993492, 0.03162074089050293, -0.019189393147826195, -0.03396301716566086, -0.03206231817603111, 0.03640129044651985, 0.01607915572822094, -0.009599496610462666, -0.0007157624349929392, -0.03638209030032158, -0.04050987586379051, 0.1002955362200737, -0.04907262325286865, -0.009225116111338139, 0.0029422456864267588, 0.04338972270488739, -0.012450546957552433, -0.08839216083288193, 0.007458808366209269, 0.016818316653370857, -0.0007961582159623504, 0.025438664481043816, 0.015263198874890804, -0.04446486756205559, -0.026993783190846443, -0.005774097051471472, -0.012652136385440826, -0.055677078664302826, 0.005318121053278446, -0.05867212265729904, 0.01541679073125124, -0.01502321194857359, -0.03071838803589344, 0.033579036593437195, -0.041968997567892075, -0.0012779328972101212, 0.03686206415295601, -0.020734911784529686, 0.011423400603234768, -0.0068396409042179585, 0.05014776811003685, 0.05122291296720505, -0.02432512305676937, 0.02891368232667446, -0.007775592152029276, 0.028222519904375076, -0.021579667925834656, -0.02981603518128395, -0.03970351815223694, -0.020850105211138725, -0.03728444501757622, -0.04757510498166084, -0.10797513276338577, -0.012296955101191998, -0.01559918187558651, -0.0030910377390682697, 0.07303296774625778, 0.02432512305676937, 0.02993122860789299, -0.048496656119823456, 0.012738531455397606, 0.027723345905542374, 0.01877661421895027, -0.02244362235069275, -0.005010936874896288, 0.037380438297986984, -0.06220473721623421, 0.021157288923859596, -0.002810252597555518, -0.010914627462625504, -0.07767912745475769, 0.004564560484141111, 0.08386120200157166, -0.007645998615771532, 0.006738846190273762, -0.007055629976093769, 0.02480509877204895, -0.012517742812633514, 0.006470060441643, 0.056329842656850815, -0.023749154061079025, -0.04719112440943718, -0.03905075043439865, 0.006974034011363983, 0.005246124695986509, 0.0433129258453846, -0.003808600129559636, 0.049034226685762405, 0.07886946201324463, -0.030161617323756218, 0.006969234440475702, 0.0075980015099048615, -0.03747643157839775, 0.009642694145441055, -0.018536627292633057, 0.017547879368066788, 0.02069651335477829, 0.01164418924599886, 0.06673569977283478, 0.0037414035759866238, -0.03855157643556595, -0.003059839364141226, 0.04976378753781319, -0.007454008795320988, 0.009287512861192226, 0.04792068526148796, 0.005313321016728878, 0.02376835234463215, -0.01638633944094181, 0.01357368752360344, 0.07019151747226715, 0.11665307730436325, -0.059286490082740784, 0.03269588574767113, 0.015080808661878109, 0.035882916301488876, -0.027550553902983665, -0.03663167729973793, -0.02069651335477829, 0.0282417181879282, 0.044618457555770874, -0.0051597291603684425, 0.05694421008229256, -0.002135887974873185, 0.02221323363482952 ]
44,157
astropy.modeling.core
__str__
null
def __str__(self): return self._format_str()
(self)
[ -0.0015823128633201122, -0.03062756545841694, 0.04642564430832863, 0.00900123082101345, 0.01494638528674841, -0.0686698704957962, 0.006158077623695135, -0.01920485310256481, 0.07374663650989532, -0.06549689918756485, -0.037741709500551224, -0.021910231560468674, -0.013844193890690804, 0.020507441833615303, -0.00034600048093125224, 0.029575472697615623, -0.0261686984449625, -0.08877652138471603, 0.028874078765511513, 0.019138053059577942, 0.0043711913749575615, 0.021425936371088028, 0.042284075170755386, -0.014437039382755756, -0.000534134975168854, 0.03593812510371208, -0.006917921826243401, -0.042284075170755386, -0.007681941147893667, -0.00890103168785572, -0.021476035937666893, -0.05186980217695236, 0.02252812683582306, 0.014236641116440296, -0.013376597315073013, -0.0072310445830225945, -0.06245752051472664, 0.007431442849338055, -0.06128852814435959, -0.002317107282578945, -0.0015937939751893282, 0.0012013469822704792, -0.03162955865263939, -0.04515645280480385, -0.017184168100357056, -0.01920485310256481, 0.040914684534072876, 0.06606469303369522, -0.027688387781381607, -0.03760811313986778, 0.03343314304947853, 0.04609164595603943, -0.02969237230718136, -0.02269512601196766, -0.08623813837766647, 0.02403111569583416, 0.056779563426971436, 0.010170222260057926, 0.015205233357846737, 0.031746454536914825, -0.04819583147764206, 0.02530030533671379, 0.04983241856098175, -0.039946094155311584, -0.029909471049904823, -0.0152469826862216, -0.03680651634931564, 0.027855386957526207, 0.041983477771282196, 0.04936482012271881, 0.06325911730527878, -0.03520333021879196, -0.02219413034617901, 0.039678893983364105, 0.0024131315294653177, -0.009535626508295536, -0.0680018812417984, 0.01209905743598938, 0.007402217946946621, -0.027654986828565598, 0.018319759517908096, 0.0019309226190671325, -0.012090707197785378, -0.013284748420119286, -0.01853685826063156, -0.1026708111166954, -0.037741709500551224, -0.01513008400797844, -0.03223075345158577, 0.032648250460624695, -0.015113383531570435, 0.011481162160634995, -0.0350029319524765, 0.04696004092693329, -0.04883042350411415, -0.031713057309389114, 0.011806809343397617, -0.06826907396316528, 0.042918670922517776, 0.004325266927480698, 0.009510576725006104, 0.0023922566324472427, -0.04422125965356827, -0.013217948377132416, -0.04956521838903427, -0.04592464864253998, -0.027504688128829002, 0.012408005073666573, -0.01776866428554058, 0.029709072783589363, -0.019321750849485397, 0.02179333195090294, 0.004997436422854662, -0.027521388605237007, 0.04889722540974617, -0.040881287306547165, -0.029759172350168228, 0.0035570727195590734, 0.04809563234448433, -0.018971053883433342, 0.02299572341144085, -0.005932629574090242, -0.040480490773916245, -0.013994492590427399, 0.0032564750872552395, 0.04949842020869255, -0.058282554149627686, -0.028690379112958908, 0.06563049554824829, -0.07722020894289017, 0.024014415219426155, 0.015439031645655632, -0.03019336797297001, -0.0034380860161036253, 0.0946548730134964, -0.013092699460685253, -0.005181135144084692, 0.014754336327314377, 0.023680418729782104, 0.16886910796165466, 0.02336312085390091, -0.02680329419672489, 0.04873022437095642, 0.018971053883433342, 0.013827493414282799, 0.015480780974030495, 0.039344899356365204, 0.09318528324365616, -0.02413131482899189, -0.009335228241980076, 0.055911172181367874, 0.033616840839385986, 0.05437478423118591, 0.017008818686008453, -0.01746806502342224, 0.016407623887062073, -0.006467025261372328, -0.018319759517908096, 0.031412459909915924, -0.039645496755838394, -0.006667423993349075, -0.05083440989255905, 0.029976269230246544, -0.013977793045341969, 0.014645787887275219, 0.06168932467699051, 0.0027012042701244354, -0.007080745417624712, 0.025951601564884186, -0.0007979407673701644, -0.0316629558801651, -0.06756768375635147, -0.07074065506458282, 0.06042013689875603, 0.016749970614910126, 0.06355971097946167, 0.014954735524952412, 0.09258408844470978, -0.019956346601247787, 0.0021375836804509163, 0.02202713117003441, -0.040179893374443054, -0.04716043919324875, 0.020173445343971252, 0.0680018812417984, -0.028456581756472588, 0.020106645300984383, -0.012825501151382923, 0.009218329563736916, 0.008491884917020798, 0.021526135504245758, 0.013301447965204716, -0.030510665848851204, 0.007105795666575432, -0.03169635683298111, -0.0356709249317646, -0.009393678046762943, -0.07909059524536133, 0.014278390444815159, 0.015113383531570435, -0.016340823844075203, 0.0360049232840538, -0.027087192982435226, -0.002475755987688899, 0.041115082800388336, -0.004809563048183918, 0.012007207609713078, -0.02236112765967846, 0.005690481513738632, -0.03086136281490326, 0.007732040714472532, -0.0022503077052533627, -0.016257325187325478, 0.008546159602701664, 0.0456574484705925, -0.038576703518629074, 0.00898453127592802, -0.012249356135725975, -0.05394058674573898, 0.04408766329288483, 0.06469530612230301, -0.017250968143343925, -0.011088714934885502, -0.04816243052482605, -0.03547052666544914, 0.006304201669991016, 0.029241476207971573, -0.026836693286895752, -0.01136426255106926, -0.010721317492425442, 0.010754717513918877, -0.0669998824596405, -0.023446619510650635, 0.05056721344590187, -0.011239013634622097, 0.05023321509361267, -0.03737431392073631, -0.024014415219426155, -0.054408181458711624, -0.021142037585377693, -0.019872847944498062, 0.013944393023848534, 0.017551565542817116, 0.0018129798118025064, 0.0516694039106369, -0.0520034022629261, -0.01716746762394905, 0.06439470499753952, -0.015422331169247627, -0.017751963809132576, 0.03724071383476257, -0.008567034266889095, -0.037107113748788834, -0.012942400760948658, 0.0060411784797906876, -0.07174264639616013, -0.018586957827210426, 0.027087192982435226, 0.013384947553277016, 0.03690671548247337, -0.039211299270391464, -0.01318454835563898, -0.01756826601922512, 0.02453211136162281, 0.016808420419692993, -0.0010197359370067716, -0.04508965462446213, 0.02496630884706974, 0.027371089905500412, 0.03647252172231674, 0.08757412433624268, -0.01696706935763359, -0.06887026876211166, 0.04726063832640648, -0.055610574781894684, -0.04368686303496361, -0.011122114956378937, 0.004043456632643938, -0.07107465714216232, -0.039144501090049744, 0.01231615524739027, -0.010938416235148907, 0.006237402092665434, -0.004229242447763681, 0.029191376641392708, -0.026819994673132896, 0.020507441833615303, 0.013927693478763103, 0.013568646274507046, 0.03386734053492546, 0.04846302792429924, 0.009493877179920673, -0.008137012831866741, 0.010011573322117329, 0.03156275674700737, -0.010604418814182281, 0.05340619012713432, 0.009218329563736916, -0.016282375901937485, -0.025717802345752716, -0.056746166199445724, -0.0008746557869017124, 0.024448612704873085, 0.015647780150175095, -0.022311028093099594, -0.021943630650639534, -0.028924178332090378, -0.0007342724711634219, 0.013685544952750206, 0.010537618771195412, -0.0019069166155532002, 0.0224947277456522, 0.03450193628668785, 0.055142976343631744, 0.019655749201774597, 0.07802180200815201, -0.040513888001441956, 0.010712968185544014, 0.013401647098362446, 0.07254423946142197, -0.041014883667230606, 0.016223926097154617, -0.020607640966773033, 0.024248214438557625, 0.01830305904150009, -0.02972577139735222, -0.06058713421225548, 0.07528302073478699, 0.0012389217736199498, 0.03159615769982338, -0.006133027840405703, -0.05257119610905647, 0.03380054235458374, 0.007155895233154297, -0.005986904259771109, -0.023246221244335175, 0.03450193628668785, -0.042117077857255936, -0.0366729199886322, -0.013409997336566448, 0.07414743304252625, 0.02636909671127796, -0.013142799027264118, 0.004093556199222803, -0.0380089096724987, 0.040246691554784775, -0.03283194825053215, 0.0226617269217968, 0.038342904299497604, -0.01910465396940708, -0.029308274388313293, -0.028489980846643448, 0.026185398921370506, 0.010579369030892849, -0.0076026166789233685, -0.03289874643087387, 0.003131225937977433, 0.055176377296447754, -0.033216044306755066, 0.023780617862939835, 0.015906628221273422, -0.05163600295782089, 0.0040184068493545055, 0.009702625684440136, 0.008011763915419579, 0.028656980022788048, 0.0018808230524882674, -0.01191535871475935, 0.04976561665534973, -0.031980253756046295, -0.03770831227302551, 0.004231330007314682, -0.02536710537970066, -0.04375366494059563, -0.05270479619503021, 0.07762100547552109, 0.008441785350441933, 0.040914684534072876, -0.06072073429822922, -0.07241064310073853, 0.04669284075498581, -0.003024764358997345, 0.008675583638250828, 0.04913102462887764, 0.0038305330090224743, 0.008842581883072853, 0.029391774907708168, 0.008308186195790768, -0.008909381926059723, 0.003095738822594285, -0.03182995691895485, -0.029775870963931084, -0.0054316334426403046, 0.005293859168887138, -0.042751673609018326, -0.056178368628025055, 0.029074477031826973, -0.014286740683019161, -0.06068733334541321, 0.011005215346813202, 0.04478905722498894, -0.032581448554992676, -0.008420910686254501, -0.000663819897454232, -0.04458865895867348, 0.026903493329882622, 0.03102836199104786, 0.01134756300598383, -0.029391774907708168, 0.016015177592635155, 0.00229623238556087, -0.028105884790420532, -0.07715340703725815, -0.05130200460553169, 0.08650533854961395, 0.014420338906347752, -0.04619184508919716, 0.0005239584716036916, 0.0004446340899448842, -0.005707181058824062, -0.05230399966239929, 0.057080160826444626, 0.01174835953861475, 0.07695300877094269, 0.007899039424955845, 0.018770655617117882, -0.01633247546851635, 0.03714051470160484, 0.08957811444997787, 0.02489950880408287, -0.025350404903292656, -0.0030164143536239862, -0.019421949982643127, -0.012224306352436543, 0.04338626563549042, -0.06235732138156891, 0.006604799069464207, -0.025584204122424126, -0.03440173715353012, 0.0456574484705925, 0.04288526996970177, -0.05030001327395439, 0.02186013199388981, 0.016925320029258728, 0.010086722671985626, -0.04996601492166519, -0.06272471696138382, -0.0018714293837547302, 0.02406451478600502, 0.006771798245608807, 0.026686394587159157, 0.0579819530248642, -0.013652144931256771, -0.05096800997853279, 0.013602045364677906, -0.04876362532377243, 0.024816010147333145, -0.055376775562763214, 0.003024764358997345, -0.010395670309662819, -0.0530053935945034, 0.05938474461436272, -0.04235087335109711, 0.03630552068352699, -0.005544357467442751, -0.027922185137867928, 0.011798459105193615, 0.014094691723585129, -0.09846244752407074, -0.010888316668570042, 0.024816010147333145, 0.0014288828242570162, -0.06489570438861847, -0.014420338906347752, -0.04542365297675133, 0.05985233932733536, -0.03313254565000534, -0.024081215262413025, -0.02566770277917385, -0.026018399745225906, -0.057514358311891556, -0.06810207664966583, -0.01134756300598383, 0.053773585706949234, -0.0019319663988426328, 0.027721786871552467, 0.039411697536706924, 0.039946094155311584, -0.014069641940295696, 0.0223277285695076, 0.024148015305399895, 0.06312551349401474, -0.06259112060070038, -0.029191376641392708, -0.01171496044844389, 0.039478495717048645, -0.04685984179377556, -0.03673971816897392, -0.07989218831062317, 0.024047816172242165, 0.009343578480184078, -0.005360658746212721, 0.017952362075448036, 0.0037971334531903267, 0.041282083839178085, -0.027621587738394737, 0.06853627413511276, 0.043352868407964706, 0.0037971334531903267, -0.03346654400229454, 0.020223544910550117, -0.027053792029619217, 0.017317766323685646, 0.011422712355852127, -0.002813928294926882, -0.023747216910123825, -0.008437610231339931, -0.004433815833181143, -0.02630229853093624, 0.03810910880565643, 0.006788497790694237, 0.001050526276230812, -0.05006621405482292, -0.03683991730213165, -0.0356709249317646, 0.028640279546380043, -0.00011044094571843743, 0.028540080413222313, -0.04662604257464409, 0.06412750482559204, 0.01629907451570034, 0.03670631721615791, 0.030343666672706604, 0.02196033112704754, -0.02982597053050995, 0.1023368164896965, -0.08216337114572525, -0.00916822999715805, -0.024916209280490875, 0.029876070097088814, 0.017885562032461166, -0.021476035937666893, -0.016758320853114128, -0.07080745697021484, 0.020273644477128983, -0.038443103432655334, 0.017083968967199326, 0.0016125813126564026, 0.018787356093525887, -0.02219413034617901, -0.0016042314236983657, -0.04575764760375023, 0.017250968143343925, 0.008028463460505009, 0.013936042785644531, 0.03683991730213165, -0.004513140302151442, 0.03690671548247337, 0.03179655596613884, 0.020657740533351898, -0.03380054235458374, 0.010671217925846577, 0.05293859541416168, 0.012566653080284595, -0.005849129986017942, 0.05350638926029205, 0.005306384060531855, 0.04378706216812134, -0.026252198964357376, -0.029324974864721298, 0.014887935481965542, -0.04245107248425484, 0.02456551231443882, 0.021342435851693153, -0.04552385210990906, 0.05086781084537506, 0.008270611055195332, 0.028757179155945778, -0.022578226402401924, 0.031178660690784454, -0.01521358359605074, 0.020891539752483368, -0.003081126371398568, -0.04769483208656311, -0.03480253368616104, 0.0154139818623662, -0.042016878724098206, -0.012524903751909733, 0.03059416450560093, -0.028322981670498848, -0.031445857137441635, -0.031612858176231384, -0.001369389472529292, 0.00006200479401741177, 0.06556369364261627, -0.04542365297675133, 0.0037595585454255342, -0.03436833620071411, 0.00918492954224348, -0.007815539836883545, 0.038877300918102264, 0.05414098501205444, 0.020173445343971252, 0.06796848028898239, 0.056512366980314255, 0.03480253368616104, 0.03714051470160484, 0.041783079504966736, -0.029408473521471024, 0.028506681323051453, -0.04248447343707085, 0.020240245386958122, -0.009802824817597866, -0.04722723737359047, -0.009969823062419891, -0.024548811838030815, 0.021442634984850883, -0.014253340661525726, -0.04762803390622139, 0.003402598900720477, 0.015647780150175095, 0.07147545367479324, -0.06352631002664566, 0.055844370275735855, -0.01486288569867611, 0.0007483630324713886, -0.0006142421625554562, -0.02196033112704754, 0.028540080413222313, -0.08476854860782623, 0.015589330345392227, 0.009577376767992973, 0.0011230664094910026, -0.04973221942782402, -0.04903082177042961, -0.00918492954224348, 0.0038910701405256987, 0.03760811313986778, -0.03787530958652496, 0.03724071383476257, 0.01773526333272457, -0.011773409321904182, -0.05310559272766113, -0.005874179769307375, -0.055510375648736954, -0.009460477158427238, -0.06840267777442932, -0.07608461380004883, 0.005799030419439077, -0.040447089821100235, -0.052337396889925, 0.0024945433251559734, -0.0038200956769287586, 0.02426491305232048, -0.009351927787065506, 0.004129043314605951, 0.005732230842113495, 0.027220791205763817, -0.020407242700457573, -0.005331433843821287, -0.022244229912757874, -0.021342435851693153, -0.017651764675974846, -0.05153580382466316, 0.04716043919324875, 0.009869623929262161, -0.04418786242604256, 0.003210550406947732, 0.014954735524952412, -0.021091938018798828, -0.013760694302618504, 0.03012656792998314, -0.010462469421327114, -0.019121352583169937, -0.06469530612230301, 0.00878413300961256, 0.03770831227302551, 0.009460477158427238, 0.04395406320691109, -0.027938885614275932, 0.041048284620046616, -0.004273079801350832, -0.040213290601968765, -0.032715048640966415, 0.014094691723585129, 0.056478966027498245, -0.03406773880124092, 0.02925817482173443, 0.029675671830773354, -0.07401382923126221, -0.040513888001441956, -0.06486230343580246, -0.0453234538435936, -0.006195652298629284, 0.07040666043758392, 0.01089666597545147, 0.018920954316854477, -0.059518344700336456, 0.021643033251166344, -0.018503457307815552, 0.019054554402828217, 0.05156920477747917, 0.02962557226419449, 0.004467215854674578, 0.0373409129679203, -0.011856908909976482, 0.03032696805894375, 0.003703196533024311, 0.019071253016591072, -0.039578694850206375, 0.05250439792871475, 0.09919723868370056, -0.009209979325532913, -0.000666951120365411, 0.011840209364891052, -0.042384274303913116, 0.019138053059577942, 0.023079222068190575, 0.023847416043281555, 0.01790226250886917, -0.020390544086694717, -0.008036813698709011, 0.008153712376952171, -0.007882339879870415, 0.03780851140618324, 0.08790812641382217, -0.03523673117160797, -0.04372026398777962, -0.019305052235722542, -0.03550392761826515, 0.027504688128829002, 0.040847886353731155, -0.023914216086268425, 0.004559065215289593, 0.039077699184417725, -0.015948377549648285, 0.014729286544024944, 0.02306252345442772, 0.04709363728761673, 0.038376305252313614, -0.005394058767706156, 0.04756123572587967, 0.007502417545765638, -0.0034213862381875515, 0.020507441833615303, 0.027588188648223877, 0.054808977991342545, 0.04308566823601723, -0.040747687220573425, 0.033884041011333466, 0.0224947277456522, 0.02426491305232048, -0.013359897769987583, 0.02566770277917385, 0.0439874641597271, -0.026986991986632347, -0.020039845257997513, 0.04696004092693329, 0.014136441051959991, -0.0022210830356925726, -0.053973983973264694, -0.032214052975177765, 0.0436534658074379, 0.03547052666544914, -0.025684403255581856, 0.0730118378996849, -0.013593696057796478, 0.003461048472672701 ]
44,160
astropy.modeling.core
_array_to_parameters
null
def _array_to_parameters(self): param_metrics = self._param_metrics for name in self.param_names: param = getattr(self, name) value = self._parameters[param_metrics[name]["slice"]] value.shape = param_metrics[name]["shape"] param.value = value
(self)
[ 0.014935735613107681, -0.035760365426540375, -0.027060456573963165, -0.014313042163848877, -0.05778590589761734, 0.019926175475120544, -0.004643510561436415, -0.04586578533053398, 0.010843752883374691, 0.053053438663482666, -0.00026645141770131886, -0.03449719026684761, 0.0636925920844078, -0.006854070350527763, -0.0008617625571787357, 0.02828805148601532, 0.06137973442673683, 0.03764623776078224, -0.030013801530003548, 0.04504738748073578, 0.0031290322076529264, -0.02462305873632431, -0.011875644326210022, 0.009785175323486328, 0.0026597885880619287, -0.002513010986149311, 0.05771474167704582, -0.029284359887242317, 0.03170396760106087, -0.014295251108705997, -0.0580349825322628, 0.019516976550221443, 0.004054176155477762, 0.06753549724817276, 0.013396793976426125, -0.0322377048432827, -0.007619093172252178, 0.020086295902729034, -0.03771740198135376, 0.026526719331741333, 0.018485086038708687, -0.07262378931045532, -0.026099730283021927, -0.003604947356507182, 0.012720727361738682, 0.0021160440519452095, 0.0026041909586638212, -0.008891166187822819, -0.04316151887178421, 0.027416281402111053, -0.013574706390500069, -0.05664726719260216, 0.04583020135760307, 0.03545791655778885, 0.0005398525390774012, 0.06703734397888184, 0.056398190557956696, 0.04255661740899086, 0.007872617803514004, -0.034550562500953674, 0.007241029758006334, -0.022505903616547585, 0.015344933606684208, -0.023591168224811554, -0.020762361586093903, -0.01787128858268261, -0.0035449019633233547, 0.014268564060330391, -0.004639062564820051, 0.04220079258084297, 0.034675102680921555, -0.034159157425165176, -0.0010457906173542142, -0.026081940159201622, -0.029604602605104446, 0.0632656067609787, -0.02570832334458828, 0.023306507617235184, 0.0008567587938159704, -0.0017780107446014881, -0.028626084327697754, 0.06924346089363098, -0.04013700783252716, 0.00005184474866837263, -0.018022513017058372, -0.016590319573879242, -0.06454657018184662, 0.00624472089111805, -0.0013576929923146963, -0.01095939613878727, 0.0027576403226703405, 0.03565362095832825, -0.011030561290681362, 0.07785440981388092, 0.012311529368162155, -0.005110530182719231, 0.0005776589387096465, -0.007797005586326122, -0.03412357345223427, 0.011030561290681362, -0.05511722341179848, -0.06685943156480789, 0.020531076937913895, 0.01736423745751381, 0.022790562361478806, -0.04931728169322014, 0.035440124571323395, -0.021580759435892105, 0.004563449881970882, 0.008499759249389172, 0.005057156551629305, 0.09941738098859787, 0.0015767475124448538, 0.02031758241355419, -0.017986930906772614, -0.0017279729945585132, -0.0003163502551615238, -0.013894948177039623, -0.04056399688124657, 0.013165508396923542, -0.005430771969258785, 0.08689235150814056, 0.02841258980333805, 0.02220345102250576, -0.03835788741707802, 0.03860696405172348, 0.018138157203793526, 0.052448537200689316, 0.008562028408050537, -0.07707159966230392, -0.038749292492866516, -0.06027667969465256, -0.06863855570554733, 0.013592497445642948, 0.03337634354829788, -0.04383758455514908, 0.015682967379689217, -0.03472847491502762, -0.014188503846526146, -0.031081274151802063, 0.042770110070705414, 0.06735758483409882, 0.022310199216008186, -0.022381363436579704, 0.04750257730484009, -0.018609624356031418, 0.08852914720773697, 0.02086910977959633, -0.05483256280422211, 0.0038873832672834396, -0.04504738748073578, 0.03154384717345238, 0.027896644547581673, -0.04981543868780136, 0.025085629895329475, -0.043303847312927246, 0.020851317793130875, -0.054868146777153015, -0.011590984649956226, 0.007961574010550976, -0.05415649712085724, -0.02369791455566883, -0.09443583339452744, -0.019196733832359314, -0.03618735820055008, 0.047644905745983124, 0.0006032338133081794, -0.020139669999480247, -0.03316284716129303, -0.00512832123786211, 0.04689767584204674, -0.05995643511414528, -0.014624388888478279, 0.026046356186270714, 0.0034092438872903585, 0.03175733983516693, 0.011884540319442749, -0.02748744562268257, 0.006507141515612602, 0.025014465674757957, 0.03440823405981064, 0.0018536235438659787, 0.003980787005275488, -0.02038874663412571, 0.011537610553205013, -0.0002899414103012532, -0.016652589663863182, 0.036045026034116745, -0.01796024478971958, 0.009998669847846031, 0.05298227444291115, 0.0713428184390068, -0.014900152571499348, 0.07020418345928192, -0.006943026557564735, -0.014659970998764038, -0.019445812329649925, 0.027594193816184998, 0.0358671136200428, 0.08731934428215027, 0.013690349645912647, -0.026010774075984955, -0.00028577158809639513, 0.006404841784387827, -0.04319709911942482, 0.0019570349249988794, 0.03389228880405426, -0.002426278544589877, 0.005893344059586525, -0.0419161319732666, 0.008032739162445068, -0.01866299845278263, 0.041524723172187805, -0.03917628154158592, 0.04597253352403641, 0.021651923656463623, 0.013770409859716892, -0.000659943325445056, 0.03182850405573845, -0.008895614184439182, 0.06838947534561157, 0.01023885142058134, 0.0077569750137627125, -0.012071347795426846, -0.008068321272730827, -0.031205812469124794, 0.010087626054883003, -0.0632656067609787, -0.05710984021425247, 0.029924845322966576, 0.010158791206777096, -0.011884540319442749, -0.05070499703288078, -0.003969667479395866, 0.005475250072777271, 0.05173689126968384, 0.008455281145870686, -0.052199460566043854, -0.015620697289705276, -0.0008106128079816699, 0.003306944388896227, 0.003789531532675028, -0.04159589111804962, 0.029960427433252335, -0.026242060586810112, -0.03608061000704765, 0.021082604303956032, 0.08895613998174667, -0.014108443632721901, -0.009802966378629208, 0.020851317793130875, -0.014695554040372372, 0.004463374149054289, 0.008713253773748875, -0.038464635610580444, -0.035760365426540375, 0.030476372689008713, 0.043979912996292114, 0.02006850391626358, -0.005564206279814243, -0.019926175475120544, -0.02417827770113945, 0.0041253408417105675, 0.005426324438303709, 0.013227777555584908, 0.025441454723477364, 0.018840909004211426, 0.007832587696611881, -0.05650493875145912, 0.010443450883030891, 0.013272255659103394, 0.08739051222801208, -0.033394135534763336, 0.011359699070453644, 0.02841258980333805, 0.009553888812661171, 0.05074058100581169, -0.023466629907488823, 0.008197307586669922, 0.019001031294465065, 0.07600412517786026, -0.07522130757570267, 0.0007889297557994723, -0.004736914299428463, 0.04444248601794243, -0.006373707205057144, 0.014277460053563118, 0.017728958278894424, 0.004307700786739588, -0.0247831791639328, -0.0358671136200428, 0.01962372474372387, -0.008010500110685825, -0.001503358711488545, -0.03953210636973381, 0.02631322480738163, -0.0709158331155777, 0.006142421159893274, 0.04024375602602959, -0.016652589663863182, 0.0014455372001975775, 0.016332346946001053, 0.0027331772726029158, 0.021901000291109085, -0.03191746026277542, -0.013049865141510963, 0.0009195840684697032, 0.010185477323830128, -0.03348309174180031, -0.011617671698331833, 0.03552908077836037, 0.03634747862815857, -0.0459369495511055, -0.0007116490742191672, 0.06760666519403458, -0.029835889115929604, 0.04775165393948555, 0.01269404124468565, 0.035440124571323395, 0.07764091342687607, 0.015122543089091778, -0.03433706983923912, -0.04490505903959274, -0.04220079258084297, 0.027184994891285896, 0.04042166844010353, 0.015362724661827087, -0.030565328896045685, -0.015656279399991035, -0.009687323123216629, 0.014695554040372372, 0.03170396760106087, 0.027789896354079247, 0.03896278887987137, 0.02990705333650112, 0.03170396760106087, -0.04739582911133766, 0.01577192358672619, 0.020762361586093903, 0.005408532917499542, -0.02147401124238968, -0.042129628360271454, -0.06782016158103943, 0.008108352310955524, -0.03449719026684761, 0.0039007265586405993, -0.06988394260406494, 0.002888850634917617, 0.023591168224811554, -0.024534102529287338, -0.004083086736500263, -0.02337767370045185, 0.0006099055171944201, 0.10482591390609741, 0.014063965529203415, 0.009598366916179657, 0.004701331723481417, -0.04145355895161629, -0.03689900413155556, -0.03650759905576706, 0.05070499703288078, 0.013592497445642948, 0.01930348202586174, -0.029124239459633827, 0.09336835891008377, 0.02732732519507408, -0.01130632497370243, -0.04743141308426857, 0.03421252965927124, -0.00447449367493391, 0.007752527482807636, -0.003678336273878813, 0.010158791206777096, 0.0070097437128424644, -0.031010109931230545, 0.006075704004615545, -0.05896012857556343, 0.010567989200353622, 0.007000848185271025, -0.024729806929826736, -0.010221060365438461, -0.04344617575407028, 0.07828140258789062, 0.01602100022137165, -0.010585780255496502, -0.01656363345682621, 0.03771740198135376, -0.04383758455514908, 0.001386603806167841, -0.0019336839905008674, -0.02583286166191101, 0.004425568040460348, -0.039033953100442886, -0.007552376016974449, -0.008659879676997662, -0.017310865223407745, -0.004759153351187706, 0.037503909319639206, -0.04170263558626175, -0.02159854955971241, -0.052412956953048706, -0.11457550525665283, -0.031330350786447525, 0.05084732919931412, 0.005110530182719231, -0.06575637310743332, 0.033394135534763336, 0.11706627905368805, 0.01263177115470171, 0.04494063928723335, 0.021171560510993004, -0.001568963867612183, 0.051558978855609894, -0.023644540458917618, 0.04159589111804962, 0.008971226401627064, 0.0008834456093609333, -0.022096704691648483, 0.05326693505048752, 0.003068986814469099, 0.054014164954423904, 0.01789797469973564, -0.01714184693992138, 0.02216786891222, 0.04067074507474899, -0.013841575011610985, 0.011297428980469704, 0.008508654311299324, 0.022666024044156075, 0.035564664751291275, -0.0491749532520771, -0.004367746412754059, -0.04896145686507225, -0.0419161319732666, -0.009002361446619034, 0.04056399688124657, 0.017470985651016235, 0.03494197130203247, 0.037895314395427704, 0.012000182643532753, 0.018787536770105362, 0.012302633374929428, 0.03924744948744774, -0.036934588104486465, -0.06351467967033386, -0.05287552624940872, -0.05661168694496155, 0.02965797670185566, -0.10952279716730118, -0.060845997184515, 0.06632569432258606, 0.03960327059030533, 0.07351335138082504, -0.09130457788705826, 0.05622027814388275, 0.00365164945833385, 0.047538161277770996, -0.07386917620897293, 0.07579062879085541, -0.015878669917583466, 0.02220345102250576, 0.008682118728756905, -0.02771873213350773, -0.039425358176231384, -0.01819152943789959, -0.04380200058221817, -0.005724327638745308, -0.010381180793046951, 0.006969713140279055, -0.010069834999740124, 0.05508163943886757, 0.026170896366238594, 0.036970172077417374, -0.014775614254176617, -0.025957399979233742, 0.013530228286981583, -0.004781392402946949, 0.06678827106952667, -0.06995510309934616, 0.020335372537374496, -0.04266336187720299, -0.0802028551697731, 0.015878669917583466, 0.019410228356719017, -0.0036605449859052896, 0.03627631440758705, -0.016866084188222885, 0.03307389095425606, -0.05084732919931412, 0.017470985651016235, -0.06764224916696548, 0.020121878013014793, 0.019730471074581146, 0.06426191329956055, 0.0014900153037160635, 0.018138157203793526, 0.04896145686507225, 0.04262778162956238, -0.019516976550221443, 0.03179292380809784, -0.03337634354829788, -0.018467294052243233, -0.006627232301980257, -0.03197083622217178, -0.002546369330957532, -0.03675667569041252, -0.01543388981372118, 0.01390384417027235, -0.046399522572755814, 0.011946809478104115, -0.04020817577838898, -0.021064814180135727, -0.10802832990884781, 0.018431711941957474, -0.013494646176695824, -0.014597701840102673, -0.04380200058221817, 0.002083797473460436, -0.03711250051856041, -0.013032074086368084, 0.02727395109832287, 0.03778856620192528, -0.023964783176779747, -0.003306944388896227, -0.02127830870449543, 0.02764756791293621, -0.05863988399505615, -0.05988527089357376, 0.010665840469300747, 0.0048881396651268005, 0.0019081091741099954, -0.032219912856817245, 0.042165208607912064, 0.04159589111804962, 0.030565328896045685, 0.0024885479360818863, 0.07550597190856934, -0.013948322273790836, 0.02325313352048397, 0.05508163943886757, -0.00019806639465969056, 0.06547171622514725, 0.011377490125596523, 0.005239516496658325, 0.0060668084770441055, 0.0021293875761330128, -0.009491619653999805, -0.00813948642462492, 0.030031591653823853, -0.01962372474372387, -0.010265538468956947, -0.009971982799470425, -0.013788200914859772, 0.0066005452536046505, -0.009042391553521156, -0.012880848720669746, 0.02611752226948738, -0.06497356295585632, -0.017880182713270187, 0.01176889706403017, 0.0025730563793331385, -0.014277460053563118, 0.053338099271059036, 0.024996673688292503, -0.07543480396270752, 0.03433706983923912, -0.015967626124620438, 0.04736024886369705, -0.08134149014949799, -0.02277277037501335, 0.04052841663360596, -0.008295159786939621, -0.05291111022233963, -0.020851317793130875, 0.06959927827119827, -0.022274617105722427, 0.01656363345682621, -0.02175867184996605, -0.0785660594701767, 0.01156429760158062, 0.023039638996124268, 0.05710984021425247, -0.07226796448230743, -0.047004424035549164, -0.004941513296216726, 0.03992351517081261, -0.015318246558308601, -0.011484237387776375, 0.01889428310096264, -0.01627897284924984, -0.029248777776956558, -0.003629410406574607, -0.039069537073373795, 0.016483571380376816, -0.0136992447078228, 0.00766801880672574, -0.04017259180545807, -0.03536896035075188, -0.020904691889882088, -0.06643244624137878, 0.00009083255281439051, -0.0029266569763422012, 0.014410894364118576, 0.04657743498682976, -0.017257491126656532, -0.03825113922357559, -0.01710626482963562, 0.05291111022233963, -0.011875644326210022, 0.04451365023851395, 0.015140334144234657, -0.017061786726117134, 0.03022729605436325, -0.02914203144609928, 0.00267535587772727, 0.014544328674674034, -0.0636570081114769, 0.05056266859173775, 0.03058312088251114, 0.0064092897810041904, -0.007797005586326122, 0.010781483724713326, -0.00815283041447401, 0.034799639135599136, -0.07244587689638138, -0.02933773398399353, 0.02437398210167885, -0.0894542932510376, 0.008037187159061432, -0.0544055737555027, 0.018840909004211426, -0.024409564211964607, 0.07401150465011597, -0.06497356295585632, -0.004194281995296478, -0.03300272673368454, -0.025797279551625252, -0.010087626054883003, -0.001685718772932887, -0.007992709055542946, 0.04561670869588852, 0.0009774055797606707, 0.01796024478971958, -0.005092738661915064, 0.029871471226215363, -0.038784876465797424, -0.028145721182227135, -0.07006185501813889, 0.026544511318206787, 0.025210170075297356, 0.003858472453430295, 0.02127830870449543, -0.06831831485033035, 0.028145721182227135, 0.029764723032712936, 0.042734529823064804, -0.04099098965525627, 0.01570965349674225, 0.00047118953079916537, -0.006965265609323978, -0.04476272687315941, 0.009482724592089653, -0.0021805372089147568, -0.0821954682469368, 0.028519337996840477, 0.03472847491502762, -0.04387316852807999, 0.03127697855234146, 0.0251923780888319, 0.04953077808022499, -0.03689900413155556, 0.014980213716626167, -0.015362724661827087, -0.004905931185930967, 0.03595606982707977, -0.00038112144102342427, 0.008895614184439182, -0.03385670483112335, 0.0017524359282106161, -0.003302496625110507, -0.06746433675289154, 0.0034514982253313065, 0.024516310542821884, 0.07806790620088577, 0.022221243008971214, -0.051879219710826874, 0.017702272161841393, 0.0036605449859052896, 0.014464267529547215, 0.021776461973786354, 0.024569684639573097, 0.007334433495998383, 0.03458614647388458, -0.04625719040632248, -0.029551228508353233, 0.022541485726833344, 0.015095856040716171, -0.08781749755144119, 0.010265538468956947, 0.02997821755707264, -0.04611486196517944, -0.057643577456474304, -0.053409263491630554, -0.004414448514580727, 0.004372193943709135, 0.01767558418214321, 0.023786870762705803, -0.006702844984829426, 0.0009090205421671271, -0.018805326893925667, -0.021794253960251808, -0.03433706983923912, 0.01901882141828537, -0.02695371024310589, -0.004905931185930967, 0.05166572332382202, -0.018680788576602936, 0.010176582261919975, 0.0025930714327841997, 0.053195770829916, 0.055473048239946365, 0.021936584264039993, 0.06821156293153763, 0.04679092764854431, -0.048143062740564346, 0.022025540471076965, 0.03501313552260399, 0.018751954659819603, 0.034159157425165176, -0.06280303001403809, -0.01237379852682352, 0.013432377018034458, -0.027789896354079247, -0.014055069535970688, -0.022150078788399696, -0.022541485726833344, 0.04369525611400604, -0.042414285242557526, -0.02047770284116268, 0.03245119750499725, -0.012622876092791557, 0.0324334092438221, -0.015006900765001774, 0.021491803228855133, -0.03421252965927124, 0.00452341977506876, 0.023946993052959442, -0.05230620875954628, 0.01774675026535988, -0.07529247552156448, 0.034034617245197296, 0.05654051899909973, -0.045189715921878815, 0.01714184693992138, 0.01873416267335415, -0.06696618348360062, 0.08717701584100723, -0.012658458203077316, -0.007797005586326122, -0.05504605919122696, -0.08191081136465073, 0.033554255962371826, 0.017728958278894424, 0.05995643511414528, 0.022256825119256973, 0.01047903299331665, 0.03985235095024109, -0.03853579983115196 ]
44,161
astropy.modeling.core
_calculate_separability_matrix
This is a hook which customises the behavior of modeling.separable. This allows complex subclasses to customise the separability matrix. If it returns `NotImplemented` the default behavior is used.
def _calculate_separability_matrix(self): """ This is a hook which customises the behavior of modeling.separable. This allows complex subclasses to customise the separability matrix. If it returns `NotImplemented` the default behavior is used. """ return NotImplemented
(self)
[ -0.021681319922208786, 0.004841707646846771, 0.009632361121475697, 0.04387319087982178, -0.012984966859221458, -0.046221718192100525, -0.036929722875356674, 0.011768157593905926, -0.051463354378938675, 0.041456591337919235, 0.0029505486600100994, 0.005233129020780325, 0.015861060470342636, 0.007777365390211344, -0.03281129151582718, -0.0058755697682499886, 0.06950275599956512, 0.0023889446165412664, 0.021187789738178253, -0.014882507734000683, -0.014235812239348888, -0.029390612617135048, 0.014644251205027103, 0.01882224529981613, -0.04874042421579361, 0.0563986636698246, -0.030615931376814842, -0.028403552249073982, 0.05837278813123703, -0.0045396327041089535, -0.06511203199625015, 0.0616743378341198, -0.027654746547341347, 0.07113651931285858, 0.04652804508805275, -0.02511901780962944, 0.039142102003097534, 0.05129317194223404, -0.06820936501026154, 0.03357711434364319, -0.0430222749710083, -0.028607770800590515, 0.07855650037527084, -0.026922957971692085, -0.02801213040947914, -0.008194314315915108, -0.00890057347714901, 0.042375579476356506, -0.020711276680231094, -0.00012431340292096138, -0.0021336700301617384, -0.0186180267482996, 0.04792354628443718, 0.026497501879930496, -0.018941374495625496, 0.028267404064536095, 0.08291318267583847, -0.012389326468110085, 0.011844740249216557, -0.005156546365469694, -0.022310998290777206, 0.024046864360570908, 0.027790892869234085, -0.05837278813123703, -0.0021230336278676987, -0.047276850789785385, -0.04091200605034828, 0.046119607985019684, 0.022685401141643524, 0.06422708183526993, -0.03584055230021477, -0.04754914343357086, 0.0035717168357223272, 0.058781225234270096, 0.021664302796125412, -0.01877119019627571, 0.07569742202758789, -0.06712019443511963, 0.0681072548031807, -0.026344336569309235, -0.03567036613821983, -0.017358671873807907, 0.005058691371232271, 0.027535617351531982, -0.010747060179710388, -0.05231427028775215, 0.01635459065437317, 0.010542839765548706, 0.04172888398170471, 0.01049178559333086, -0.08318547904491425, 0.009428140707314014, -0.0076539828442037106, 0.03597669675946236, -0.06027883663773537, 0.06936661154031754, -0.030105382204055786, -0.03733815997838974, 0.00439072260633111, -0.05374380946159363, 0.0018539315788075328, 0.12185106426477432, 0.02785896509885788, 0.010023782029747963, -0.013418933376669884, -0.09407719224691391, -0.03512578085064888, -0.02103462442755699, -0.05850893259048462, -0.003107968019321561, -0.05490105226635933, 0.09434948116540909, -0.0563986636698246, 0.003971647005528212, -0.01963912509381771, -0.0546627976000309, -0.05616040527820587, -0.02935657650232315, -0.030207492411136627, 0.03362816944718361, -0.06773285567760468, 0.016763031482696533, -0.03190932050347328, -0.02814827673137188, -0.003965265117585659, 0.012227652594447136, 0.032981473952531815, 0.05486701428890228, 0.025102000683546066, -0.018703117966651917, -0.015044181607663631, -0.02983308956027031, -0.011487356387078762, -0.005475639831274748, 0.02882900834083557, 0.019554032012820244, 0.05731765180826187, 0.007666746620088816, 0.016158880665898323, 0.08965243399143219, 0.031977396458387375, -0.025272183120250702, 0.05051032826304436, 0.03536403924226761, -0.000508953700773418, 0.062184888869524, 0.03498963639140129, 0.019383849576115608, -0.02140902727842331, -0.000026508005248615518, 0.021766413003206253, 0.048093728721141815, 0.03041171096265316, -0.056943248957395554, -0.03357711434364319, 0.03638513758778572, -0.008968646638095379, -0.028369514271616936, 0.024183012545108795, 0.010789605788886547, -0.04652804508805275, -0.03323674947023392, 0.030207492411136627, -0.016397137194871902, 0.01415072102099657, 0.038325224071741104, 0.018345732241868973, -0.08332162350416183, -0.0057096416130661964, -0.0032547509763389826, -0.013155150227248669, -0.011963868513703346, -0.0020698513835668564, 0.03556825965642929, 0.0017443762626498938, 0.04812776669859886, 0.009326031431555748, 0.038325224071741104, -0.0032419872004538774, -0.002231525257229805, 0.08093906193971634, -0.006760521791875362, -0.03383238986134529, 0.009317521937191486, 0.02127288095653057, 0.02169833891093731, 0.01621844433248043, -0.036555320024490356, -0.013495516031980515, 0.041796956211328506, 0.011640520766377449, -0.00921541266143322, 0.016635393723845482, -0.01511225476861, -0.0009812116622924805, -0.015401566401124, 0.02435319498181343, -0.014065628871321678, -0.009104792959988117, 0.016184408217668533, 0.008185804821550846, -0.02127288095653057, -0.008181550540030003, 0.02656557410955429, -0.007968821562826633, 0.024676542729139328, -0.055649857968091965, 0.010789605788886547, -0.02111971750855446, 0.011087425984442234, 0.000002264398517581867, -0.023740535601973534, 0.038903847336769104, 0.06106168031692505, 0.05547967553138733, 0.00892610102891922, 0.017128923907876015, 0.010636440478265285, 0.013461478985846043, 0.012210633605718613, 0.017818165943026543, 0.009794034995138645, 0.00522036524489522, 0.02714419737458229, -0.01549516711384058, -0.03689568489789963, 0.01008334569633007, -0.04659612104296684, 0.017145942896604538, -0.04373704269528389, -0.05034014582633972, -0.06579276919364929, -0.07195339351892471, 0.01953701488673687, 0.08999279886484146, 0.008351732976734638, -0.025969933718442917, -0.013325332663953304, -0.015810005366802216, 0.0326070711016655, -0.04469006881117821, -0.013036021962761879, 0.028948137536644936, 0.03093927912414074, 0.012959439307451248, 0.00018467519839759916, 0.0017092759953811765, 0.047957584261894226, 0.01666942983865738, -0.0017326761735603213, -0.03624898940324783, -0.021477101370692253, -0.039346322417259216, 0.012593545950949192, 0.014423013664782047, -0.06358038634061813, -0.03444505110383034, 0.034087665379047394, 0.026361355558037758, -0.02069425955414772, -0.03989090770483017, -0.08556804060935974, 0.00568836834281683, -0.010355638340115547, 0.013129622675478458, -0.0022251433692872524, 0.0045098508708179, 0.05034014582633972, 0.062184888869524, 0.02425108477473259, 0.02843758836388588, 0.042511727660894394, -0.05653480812907219, -0.009691924788057804, -0.011368228122591972, 0.009989744983613491, -0.020762331783771515, 0.02472759783267975, -0.02098357118666172, 0.049727488309144974, 0.012414854019880295, -0.033475007861852646, -0.06460148841142654, 0.006607356946915388, -0.060517095029354095, 0.00510123698040843, -0.004777889233082533, -0.04724281653761864, 0.007164706476032734, 0.022634346038103104, -0.0046672699972987175, 0.06562258303165436, 0.003661062801256776, 0.013495516031980515, 0.06582680344581604, -0.05724957957863808, -0.029220430180430412, -0.007190234027802944, 0.029220430180430412, 0.009402613155543804, -0.027263324707746506, 0.00884951837360859, 0.044009335339069366, -0.002168770181015134, -0.026667684316635132, -0.009794034995138645, 0.07665044814348221, 0.0017635219264775515, 0.036214955151081085, -0.0016529029235243797, 0.03281129151582718, 0.05585407838225365, 0.014414504170417786, 0.030820149928331375, 0.05439050495624542, -0.011895795352756977, -0.011529901996254921, 0.025527458637952805, 0.04183099418878555, 0.09523443877696991, -0.018124494701623917, 0.06695001572370529, -0.08631684631109238, 0.019809307530522346, 0.016048261895775795, -0.04206924885511398, 0.06313791126012802, -0.007041323930025101, -0.027654746547341347, 0.04850216954946518, -0.04149062931537628, 0.006879650056362152, -0.0007121097296476364, 0.0028037657029926777, -0.05456068739295006, -0.05707939714193344, 0.04428163170814514, -0.02554447576403618, 0.01378482673317194, 0.008789954707026482, 0.05102087929844856, -0.018839264288544655, -0.037133943289518356, 0.019741233438253403, 0.0028633298352360725, -0.005177819170057774, 0.03614687919616699, 0.0651460736989975, 0.03022450953722, 0.052722711116075516, -0.026106080040335655, 0.020575130358338356, -0.0018103221664205194, 0.05677306652069092, 0.0010891715064644814, -0.00696474127471447, -0.05428839474916458, -0.05970021337270737, -0.01407413836568594, -0.01848187856376171, 0.05895140767097473, -0.028369514271616936, -0.005952152423560619, 0.048672351986169815, 0.021068662405014038, -0.054016102105379105, -0.06191259250044823, -0.03041171096265316, 0.05537756532430649, -0.023059803992509842, -0.046494010835886, -0.0026612374931573868, 0.004167357459664345, 0.0036355354823172092, 0.027246305719017982, 0.03903999179601669, -0.011555429548025131, 0.04002705216407776, -0.017145942896604538, 0.03381537273526192, -0.0018741408130154014, -0.012151069939136505, -0.015452621504664421, 0.01795431226491928, -0.0070157963782548904, 0.023655444383621216, 0.06443130224943161, 0.03761045262217522, -0.005926624871790409, -0.05551370978355408, -0.0046672699972987175, -0.04513254389166832, -0.010534331202507019, 0.006109571550041437, -0.07610586285591125, -0.021085679531097412, 0.0033653697464615107, 0.0336962454020977, -0.04928501322865486, -0.04989767074584961, 0.006730739492923021, -0.04254576191306114, 0.002335762372240424, 0.026106080040335655, -0.034189775586128235, -0.006832849700003862, 0.023127876222133636, 0.0523483082652092, 0.017001286149024963, -0.00568836834281683, -0.025527458637952805, 0.01600571535527706, 0.005271419882774353, -0.006615865975618362, 0.03046276606619358, 0.0028548208065330982, 0.04230750724673271, -0.007607182487845421, 0.030241528525948524, 0.043192457407712936, 0.043532826006412506, -0.009589814580976963, 0.04782143607735634, 0.02030283771455288, 0.003901446470990777, 0.032079506665468216, -0.025765713304281235, 0.022242924198508263, -0.0057479324750602245, -0.04057164117693901, -0.04009512811899185, -0.019673161208629608, -0.009402613155543804, -0.06592891365289688, 0.005803241860121489, -0.036929722875356674, 0.028760936111211777, -0.0018496770644560456, -0.030037308111786842, 0.03478541597723961, 0.005318220239132643, -0.010764078237116337, -0.012525472790002823, -0.009249448776245117, 0.03502367064356804, -0.014550650492310524, 0.012304234318435192, -0.014644251205027103, -0.0161418616771698, -0.032845329493284225, -0.002542109228670597, 0.029033228754997253, 0.03873366117477417, -0.015912115573883057, -0.03415573760867119, 0.0028356751427054405, -0.0014508104650303721, -0.07569742202758789, 0.026888921856880188, 0.03873366117477417, 0.03733815997838974, 0.031007351353764534, -0.06906028091907501, 0.02127288095653057, -0.001734803430736065, 0.03968668729066849, 0.004090775270015001, -0.02251521684229374, -0.03921017423272133, -0.006215936038643122, 0.06684790551662445, -0.01982632465660572, 0.033032529056072235, -0.06116379052400589, -0.06317194551229477, 0.04816180467605591, 0.02385966293513775, 0.013376387767493725, -0.0186180267482996, -0.010049309581518173, -0.01780114695429802, -0.07174917310476303, -0.018737154081463814, -0.019417885690927505, -0.02670172043144703, -0.015682367607951164, -0.05085069686174393, 0.0073816897347569466, 0.045745205134153366, -0.039822835475206375, -0.03604476898908615, -0.011606483720242977, 0.04281805455684662, -0.0038397551979869604, 0.054969124495983124, 0.05823663994669914, 0.04441777616739273, -0.02796107530593872, 0.01523138303309679, -0.02738245390355587, 0.03262409195303917, -0.01729910634458065, -0.015631312504410744, -0.007662491872906685, -0.013444460928440094, -0.01664390228688717, -0.018992427736520767, -0.004235430620610714, -0.05163353681564331, -0.002240034518763423, -0.020575130358338356, 0.0284886434674263, 0.023978792130947113, 0.0020985696464776993, 0.011019352823495865, -0.0037674272898584604, -0.05707939714193344, -0.020915497094392776, 0.0206432044506073, 0.010432220995426178, 0.049148865044116974, -0.027688782662153244, 0.012057469226419926, -0.0009913162793964148, -0.02944166772067547, 0.05905351787805557, -0.031075425446033478, -0.02111971750855446, 0.050169963389635086, -0.004858726169914007, 0.011495864950120449, 0.0011189535725861788, 0.0028718390967696905, 0.11647327989339828, -0.0038355004508048296, 0.0644993782043457, -0.031739138066768646, -0.022872602567076683, 0.015120764262974262, 0.02920341119170189, 0.0048842537216842175, -0.05197390541434288, -0.012168087996542454, -0.026072043925523758, 0.03325376659631729, 0.0015018654521554708, -0.030666986480355263, 0.017214015126228333, -0.01395501010119915, -0.029577814042568207, -0.027654746547341347, 0.06432919204235077, 0.0023804353550076485, -0.03764449059963226, 0.1233486756682396, 0.012602055445313454, 0.01885628141462803, 0.004705561324954033, 0.025136036798357964, 0.03641917183995247, -0.04046953096985817, -0.038767699152231216, 0.03699779510498047, -0.04254576191306114, 0.026922957971692085, 0.011274627409875393, -0.022532235831022263, 0.025238147005438805, -0.039720725268125534, -0.0349215604364872, -0.03849540650844574, -0.03614687919616699, -0.014286867342889309, 0.06715422868728638, -0.052041977643966675, 0.021392010152339935, 0.01837977021932602, -0.0200645811855793, -0.08747408539056778, -0.09523443877696991, -0.01624397188425064, -0.021664302796125412, -0.03248794376850128, 0.009138830006122589, -0.0033866427838802338, -0.06824340671300888, -0.052041977643966675, 0.005296947434544563, 0.055071234703063965, -0.02169833891093731, -0.028114240616559982, 0.0076539828442037106, 0.006666921079158783, -0.04663015529513359, -0.03265812620520592, 0.028692862018942833, -0.09788928925991058, -0.04441777616739273, 0.02954377792775631, 0.007049832958728075, -0.017835183069109917, 0.007032814435660839, 0.03536403924226761, 0.03941439464688301, 0.05105491727590561, -0.022787511348724365, -0.016439683735370636, -0.014865489676594734, -0.02059214934706688, -0.04196714237332344, -0.05387995392084122, 0.02699103206396103, 0.018396787345409393, -0.0721576139330864, -0.0009812116622924805, -0.06255929172039032, 0.0011391628067940474, -0.029390612617135048, 0.0755612775683403, 0.010381165891885757, -0.01523138303309679, -0.003978028893470764, -0.02775685489177704, -0.019945453852415085, -0.05384591594338417, -0.012100014835596085, 0.02482970803976059, -0.07467631995677948, 0.05071454867720604, -0.03662339225411415, 0.00824111420661211, 0.03512578085064888, 0.020524075254797935, -0.023519298061728477, 0.0023144895676523447, -0.028590751811861992, -0.022396089509129524, -0.011146989651024342, 0.0011891541071236134, -0.006764776539057493, 0.027875984087586403, -0.020660221576690674, 0.009411122649908066, 0.0008546379976905882, -0.05398206412792206, -0.03903999179601669, -0.01020247396081686, -0.0032738964073359966, 0.057760126888751984, 0.013001984916627407, -0.07984989136457443, 0.03218161687254906, -0.017358671873807907, -0.03624898940324783, 0.0007823102059774101, -0.039924945682287216, -0.028607770800590515, 0.049965742975473404, 0.01706085167825222, -0.028846027329564095, -0.037167977541685104, 0.012151069939136505, -0.012236161157488823, -0.0070157963782548904, 0.034291885793209076, 0.021885540336370468, -0.006369100883603096, -0.021000588312745094, -0.007832675240933895, -0.03761045262217522, 0.006598847918212414, 0.0418650321662426, 0.015997206792235374, -0.018686098977923393, 0.0013125367695465684, 0.005169310141354799, 0.03422381356358528, -0.026072043925523758, 0.0488085001707077, -0.00797733012586832, -0.013529553078114986, 0.014440031722187996, -0.02343420684337616, 0.020813386887311935, 0.04663015529513359, 0.001331682433374226, -0.014133702032268047, -0.04091200605034828, -0.008445333689451218, -0.04125237092375755, -0.007173215504735708, -0.008692099712789059, 0.028471624478697777, 0.021000588312745094, 0.006522265262901783, -0.0015071836533024907, -0.07031963765621185, 0.00033611152321100235, -0.0034866253845393658, 0.027739837765693665, 0.04050356522202492, 0.007951803505420685, -0.04234154149889946, 0.06466955691576004, -0.00006607888644794002, 0.03441101312637329, -0.03400257229804993, -0.018124494701623917, 0.017647981643676758, -0.06259332597255707, 0.05183775722980499, 0.07821612805128098, 0.0281993318349123, -0.10020378232002258, 0.015784477815032005, 0.024029847234487534, 0.019502976909279823, 0.031500883400440216, 0.018396787345409393, -0.0035164072178304195, -0.012661619111895561, -0.060653239488601685, 0.07406366616487503, 0.009674906730651855, -0.06865184009075165, -0.014873999170958996, -0.03968668729066849, -0.042273469269275665, -0.002805893076583743, 0.007224270608276129, 0.010193964466452599, 0.047276850789785385, -0.03767852857708931, 0.07719503343105316, 0.007862457074224949, -0.03238583356142044, 0.000295427133096382, -0.010840659961104393, -0.016235463321208954, 0.005726659670472145, 0.0003576503077056259, -0.058440860360860825, 0.01848187856376171, 0.027552636340260506, 0.030241528525948524, 0.08127942681312561, -0.043090347200632095, 0.08522767573595047, 0.03825715184211731, -0.0007546554552391171, 0.045166581869125366, -0.035295963287353516, 0.000753059983253479, -0.04652804508805275, -0.0035015163011848927, -0.03536403924226761, 0.05803241953253746, -0.03825715184211731, 0.008381515741348267, -0.054492611438035965, -0.03686165064573288, -0.012304234318435192, -0.013180677779018879, 0.05340344086289406, 0.01537603884935379, 0.027790892869234085, 0.06609909981489182, 0.012568018399178982 ]
44,162
astropy.modeling.core
_check_param_broadcast
This subroutine checks that all parameter arrays can be broadcast against each other, and determines the shapes parameters must have in order to broadcast correctly. If model_set_axis is None this merely checks that the parameters broadcast and returns an empty dict if so. This mode is only used for single model sets.
def _check_param_broadcast(self, max_ndim): """ This subroutine checks that all parameter arrays can be broadcast against each other, and determines the shapes parameters must have in order to broadcast correctly. If model_set_axis is None this merely checks that the parameters broadcast and returns an empty dict if so. This mode is only used for single model sets. """ all_shapes = [] model_set_axis = self._model_set_axis for name in self.param_names: param = getattr(self, name) value = param.value param_shape = np.shape(value) param_ndim = len(param_shape) if max_ndim is not None and param_ndim < max_ndim: # All arrays have the same number of dimensions up to the # model_set_axis dimension, but after that they may have a # different number of trailing axes. The number of trailing # axes must be extended for mutual compatibility. For example # if max_ndim = 3 and model_set_axis = 0, an array with the # shape (2, 2) must be extended to (2, 1, 2). However, an # array with shape (2,) is extended to (2, 1). new_axes = (1,) * (max_ndim - param_ndim) if model_set_axis < 0: # Just need to prepend axes to make up the difference broadcast_shape = new_axes + param_shape else: broadcast_shape = ( param_shape[: model_set_axis + 1] + new_axes + param_shape[model_set_axis + 1 :] ) self._param_metrics[name]["broadcast_shape"] = broadcast_shape all_shapes.append(broadcast_shape) else: all_shapes.append(param_shape) # Now check mutual broadcastability of all shapes try: check_broadcast(*all_shapes) except IncompatibleShapeError as exc: shape_a, shape_a_idx, shape_b, shape_b_idx = exc.args param_a = self.param_names[shape_a_idx] param_b = self.param_names[shape_b_idx] raise InputParameterError( f"Parameter {param_a!r} of shape {shape_a!r} cannot be broadcast with " f"parameter {param_b!r} of shape {shape_b!r}. All parameter arrays " "must have shapes that are mutually compatible according " "to the broadcasting rules." )
(self, max_ndim)
[ 0.029783977195620537, -0.04819187521934509, -0.049112267792224884, 0.03622674196958542, -0.059347059577703476, -0.007929201237857342, -0.0382516086101532, -0.07738679647445679, 0.01811337098479271, 0.025126779451966286, -0.015775566920638084, -0.0861489549279213, 0.017763620242476463, -0.013971593230962753, -0.0029705744236707687, 0.04071826860308647, 0.0237461868673563, -0.006134431343525648, 0.06181371584534645, -0.03121979348361492, -0.003773618722334504, -0.031127752736210823, -0.04362671449780464, 0.049112267792224884, 0.04300084710121155, 0.04104961082339287, -0.007952211424708366, -0.014956415630877018, 0.08003753423690796, 0.014063633047044277, -0.05780079588294029, -0.029158107936382294, 0.07966937869787216, 0.03350237384438515, 0.029084477573633194, -0.03225063532590866, 0.05526050552725792, 0.031992923468351364, -0.09226037561893463, -0.024095937609672546, 0.024316832423210144, -0.08246737718582153, 0.08114200830459595, 0.0028992437291890383, 0.051910270005464554, 0.01381512638181448, -0.026341700926423073, 0.11265632510185242, -0.08040568977594376, 0.024408871307969093, -0.016695963218808174, -0.05334608629345894, 0.044105321168899536, 0.027998410165309906, -0.07915395498275757, 0.015784772112965584, 0.020672067999839783, 0.01609770581126213, 0.0073723625391721725, -0.06350724399089813, -0.005922740790992975, 0.02560538426041603, 0.03734962269663811, -0.053824689239263535, -0.005241648759692907, -0.04093916341662407, -0.05014311149716377, -0.003939290065318346, -0.030041687190532684, 0.0666734054684639, -0.03731280565261841, -0.008794372901320457, -0.012765876017510891, 0.01995415985584259, 0.007289526984095573, -0.029636714607477188, 0.02676508203148842, -0.0014358159387484193, -0.0014944911235943437, -0.019678041338920593, -0.001959290588274598, 0.024390462785959244, -0.015122086741030216, -0.03639241307973862, -0.04060782119631767, -0.007584053557366133, -0.050805795937776566, 0.06774105876684189, 0.0571381114423275, -0.08313006162643433, -0.021205896511673927, 0.0378466360270977, 0.05883163958787918, 0.06343360990285873, 0.032729241997003555, 0.04005558416247368, -0.03398097679018974, -0.04664561152458191, -0.0030925266910344362, -0.07278482615947723, -0.0666734054684639, -0.017874067649245262, -0.006810921709984541, -0.033778488636016846, 0.010805435478687286, -0.012738264165818691, -0.010602948255836964, -0.038104347884655, -0.08813700824975967, 0.023285988718271255, -0.01722979173064232, 0.011983540840446949, -0.05411921814084053, 0.032802872359752655, 0.01190070528537035, 0.01730342209339142, -0.035637687891721725, 0.017340239137411118, -0.02008301578462124, 0.01141289621591568, -0.0060884119011461735, 0.09859269112348557, 0.004624984227120876, -0.04119687154889107, 0.075619637966156, 0.040386926382780075, 0.022402409464120865, 0.03169839829206467, 0.012158416211605072, -0.015886014327406883, -0.05121076852083206, -0.02387504279613495, -0.05441374331712723, 0.039466530084609985, 0.04016603156924248, -0.003320324467495084, -0.05264658480882645, -0.0005427453434094787, -0.04487845301628113, -0.0013725387398153543, 0.04182274267077446, 0.05172618851065636, 0.04307447746396065, 0.031864069402217865, -0.0019753973465412855, 0.02389344945549965, 0.06089332327246666, -0.06387539952993393, 0.008550467900931835, 0.020211869850754738, 0.002220452530309558, 0.004528342746198177, -0.015812383964657784, -0.024519318714737892, -0.026139212772250175, -0.0036884823348373175, 0.012517369352281094, -0.07458879798650742, 0.0024781629908829927, -0.04495208337903023, -0.11751601099967957, -0.050768978893756866, -0.018822073936462402, -0.005255454685539007, -0.007630072999745607, 0.011983540840446949, -0.006341520231217146, 0.00780494837090373, 0.013695474714040756, 0.0040957569144666195, -0.007570247631520033, -0.022512856870889664, 0.00013956925249658525, -0.028918806463479996, -0.024905884638428688, 0.04826550558209419, -0.008467632345855236, -0.07330024242401123, 0.0011194301769137383, -0.023322805762290955, 0.03547201678156853, -0.023967081680893898, -0.008780566975474358, -0.05971521511673927, -0.035508833825588226, 0.07753405719995499, -0.03346555680036545, -0.0018764549167826772, -0.027280502021312714, 0.012959158979356289, -0.013318113051354885, 0.0005907784216105938, 0.011514139361679554, 0.05794806033372879, -0.040460556745529175, 0.008771362714469433, 0.03712872788310051, 0.04870729520916939, 0.0475291907787323, 0.0016083900118246675, 0.013575823977589607, -0.05290429666638374, 0.01993575133383274, 0.04970132187008858, -0.04116005823016167, -0.03053870052099228, 0.03304217383265495, 0.013750698417425156, 0.02479543723165989, -0.042301345616579056, -0.011679810471832752, -0.016778796911239624, 0.03718395158648491, -0.005628214217722416, 0.059567954391241074, 0.029323779046535492, 0.0381779782474041, -0.008858799934387207, -0.024390462785959244, 0.014910396188497543, 0.03987150266766548, -0.012462145648896694, 0.037515293806791306, 0.046056557446718216, -0.007436790037900209, -0.017469093203544617, 0.03206655755639076, 0.015766363590955734, 0.045136161148548126, 0.018849685788154602, 0.02753821387887001, -0.015987258404493332, -0.0004895349848084152, 0.009489270858466625, -0.06151919066905975, 0.0002518142864573747, -0.00804425124078989, -0.0666734054684639, -0.004091155249625444, -0.00857347808778286, 0.03508545085787773, -0.033778488636016846, -0.04690331965684891, -0.00908889900892973, 0.009866632521152496, -0.047050584107637405, 0.0668574795126915, 0.04557795077562332, 0.003037302987650037, -0.05242568999528885, -0.024500910192728043, 0.042448610067367554, -0.03884066268801689, 0.02763025276362896, 0.00896464567631483, -0.03600584715604782, -0.030980490148067474, 0.0057984874583780766, 0.0573590062558651, -0.016401436179876328, -0.02492429129779339, 0.060377899557352066, 0.011587770655751228, 0.06023063883185387, -0.04370034858584404, -0.015416613779962063, 0.026949161663651466, 0.047013767063617706, -0.0005502235144376755, 0.032048147171735764, 0.044252581894397736, 0.0665997713804245, -0.02172131836414337, -0.0011988142505288124, -0.013023586943745613, 0.01892331801354885, 0.036613307893276215, 0.015867607668042183, 0.04156503081321716, -0.02359892427921295, 0.0665997713804245, -0.03212178125977516, -0.007915395312011242, 0.00031782384030520916, 0.024077529087662697, 0.006884553469717503, 0.02190539799630642, -0.058573927730321884, 0.03913518786430359, -0.0018085758201777935, 0.02461135759949684, -0.06497987359762192, 0.05054808408021927, -0.014128061011433601, -0.050879426300525665, 0.011403691954910755, 0.022052660584449768, -0.009599718265235424, 0.026028765365481377, -0.05430329591035843, -0.01805814728140831, 0.02930537238717079, 0.02670985832810402, -0.004337360616773367, 0.04023966193199158, -0.07075995206832886, 0.047234661877155304, -0.006474977824836969, 0.019770080223679543, -0.004891898483037949, 0.020616844296455383, 0.002659941092133522, 0.017828047275543213, -0.03692623972892761, 0.05069534853100777, 0.018306653946638107, 0.0759878009557724, 0.01084225159138441, 0.015333778224885464, 0.06821966171264648, 0.01797531172633171, 0.028974030166864395, 0.008173106238245964, -0.003624054603278637, -0.020598435774445534, -0.013318113051354885, 0.07812311500310898, -0.0007898138137534261, -0.024335239082574844, 0.017864864319562912, -0.06026745215058327, -0.015508652664721012, -0.006263286806643009, 0.031035713851451874, 0.013511396013200283, -0.026010358706116676, -0.017340239137411118, 0.00757945142686367, 0.08872605860233307, -0.015849199146032333, 0.0076116654090583324, 0.0009876986732706428, -0.014413382858037949, -0.018904909491539, -0.04856003075838089, -0.014036021195352077, -0.04119687154889107, 0.0943956971168518, -0.02457454241812229, -0.022439226508140564, 0.014284527860581875, 0.04977495223283768, -0.010492500849068165, 0.0010987212881445885, 0.012637021020054817, 0.010556928813457489, -0.009811408817768097, -0.019622817635536194, 0.031900886446237564, 0.027869556099176407, 0.07131218910217285, 0.014036021195352077, -0.015738751739263535, 0.009719369001686573, 0.04300084710121155, 0.011652198620140553, 0.003276605624705553, -0.014284527860581875, 0.07138582319021225, -0.0763559564948082, -0.026102397590875626, -0.07050224393606186, 0.01997256837785244, 0.005204832646995783, -0.005752467550337315, 0.0856335386633873, -0.01475392933934927, 0.0142108965665102, 0.012158416211605072, -0.019309883937239647, 0.010216382332146168, -0.03539838641881943, 0.0570644810795784, -0.011210408993065357, 0.010096731595695019, -0.034864556044340134, 0.03543519973754883, -0.02586309425532818, -0.0015577682061120868, 0.02945263497531414, 0.053861506283283234, -0.054634638130664825, -0.01278428453952074, 0.0028578259516507387, -0.0476028211414814, 0.04031329229474068, -0.0036217537708580494, 0.05246250703930855, -0.05997292697429657, -0.02197902835905552, -0.02376459538936615, -0.039540160447359085, -0.06350724399089813, 0.026010358706116676, 0.013290501199662685, -0.011155185289680958, 0.005789283663034439, 0.08467632532119751, -0.018628790974617004, 0.06442763656377792, 0.013778310269117355, 0.004291340708732605, 0.03552724048495293, 0.0035849378909915686, -0.011633791029453278, 0.028937213122844696, -0.030115319415926933, -0.0028854378033429384, 0.06788831949234009, -0.011155185289680958, 0.06207142770290375, 0.0025586977135390043, 0.07952211052179337, -0.019622817635536194, 0.031919293105602264, -0.010464888997375965, -0.050953056663274765, 0.02197902835905552, -0.019217845052480698, -0.007280323188751936, -0.026028765365481377, -0.032692424952983856, -0.042301345616579056, -0.03709191083908081, -0.03539838641881943, 0.005770875606685877, 0.014155672863125801, 0.04263268783688545, 0.005347494035959244, 0.008835790678858757, 0.021353160962462425, 0.008430816233158112, -0.019254660233855247, -0.006585425231605768, -0.08209922164678574, -0.031238200142979622, -0.008223728276789188, 0.033686451613903046, -0.05618090182542801, -0.014579053968191147, 0.04362671449780464, 0.017910882830619812, 0.02004619874060154, -0.05787442624568939, 0.06505350768566132, -0.02551334537565708, -0.018407896161079407, -0.02280738390982151, 0.011762646026909351, -0.02556856907904148, -0.0028095052111893892, -0.006838533561676741, -0.05231524258852005, -0.02389344945549965, -0.0016106909606605768, 0.008564273826777935, 0.03642922639846802, 0.0006114873103797436, 0.03598743677139282, 0.040497373789548874, 0.01892331801354885, 0.03153272718191147, 0.02867950312793255, 0.03295013681054115, -0.0664156898856163, -0.007574849296361208, 0.024979515001177788, 0.05146848037838936, -0.019181028008461, -0.019567593932151794, -0.00037649902515113354, 0.015204922296106815, -0.029066069051623344, 0.018545955419540405, -0.021261120215058327, -0.007929201237857342, -0.0004722776066046208, 0.010096731595695019, -0.010115139186382294, 0.034643661230802536, -0.0380675308406353, -0.012581797316670418, 0.06527440249919891, 0.05073216184973717, -0.017736008390784264, -0.02486906759440899, -0.008159300312399864, -0.005683437921106815, 0.08084747940301895, 0.007795744109898806, 0.021132266148924828, 0.002756582573056221, -0.007717510685324669, -0.05964158475399017, 0.018674811348319054, -0.02199743688106537, -0.02939741127192974, -0.020211869850754738, -0.03635559603571892, 0.0028647289145737886, -0.06335998326539993, -0.04373716190457344, 0.019383514299988747, 0.047234661877155304, 0.03447799012064934, -0.02091137133538723, 0.016797205433249474, -0.00640594819560647, 0.03931926563382149, 0.031772028654813766, 0.06527440249919891, 0.02676508203148842, -0.0094524547457695, -0.02277056872844696, -0.015757160261273384, 0.0189969502389431, -0.012204435653984547, -0.059531137347221375, -0.009885040111839771, -0.024261608719825745, -0.027243686839938164, -0.007630072999745607, -0.0031408474314957857, 0.045357055962085724, 0.02656259573996067, 0.011284040287137032, 0.0013541309162974358, -0.011376080103218555, -0.016889244318008423, 0.028384976089000702, -0.02277056872844696, 0.00472622737288475, 0.013539007864892483, -0.0009295987547375262, 0.018720831722021103, 0.022641712799668312, 0.01723899506032467, -0.0006621090578846633, -0.03057551570236683, 0.0007875128067098558, -0.025494936853647232, 0.008891014382243156, -0.005821497179567814, 0.02562379278242588, 0.01903376542031765, -0.061482373625040054, 0.025034738704562187, 0.010161158628761768, -0.0017015798948705196, 0.05154211074113846, -0.030612332746386528, -0.0002167242200812325, 0.0378466360270977, -0.053861506283283234, -0.05415603145956993, 0.014487015083432198, -0.03399938344955444, -0.007892386056482792, -0.03217700496315956, 0.022623304277658463, -0.03598743677139282, 0.004850480705499649, -0.051947083324193954, -0.056733138859272, 0.04399487376213074, 0.005614408291876316, -0.004891898483037949, -0.003992212470620871, -0.08047932386398315, -0.004116465803235769, 0.029158107936382294, 0.00851825438439846, 0.0035044034011662006, -0.029636714607477188, 0.011099961586296558, 0.03547201678156853, -0.023617330938577652, -0.03979787230491638, -0.028808359056711197, 0.03611629456281662, -0.04657197743654251, 0.07760769128799438, -0.016972079873085022, -0.029286963865160942, 0.012977567501366138, 0.058573927730321884, -0.02273375168442726, -0.039650607854127884, -0.03447799012064934, -0.010888271033763885, -0.0005093810032121837, -0.016907652840018272, 0.02959989756345749, 0.00346758752129972, 0.00640594819560647, -0.030998898670077324, -0.05051126703619957, 0.02551334537565708, -0.009811408817768097, -0.01819620653986931, -0.021592462435364723, -0.012351698242127895, -0.00572025403380394, -0.017828047275543213, 0.001453073346056044, -0.04392123967409134, -0.10359964519739151, 0.10838569700717926, 0.07451516389846802, 0.006967389024794102, 0.036613307893276215, 0.011569363065063953, -0.02094818651676178, -0.017717599868774414, -0.08114200830459595, 0.009691757149994373, -0.021297937259078026, -0.07521466910839081, -0.004749237559735775, -0.02186858095228672, 0.033760081976652145, -0.004647993948310614, 0.05919979512691498, -0.045209795236587524, 0.044105321168899536, -0.04071826860308647, 0.02578946389257908, -0.002466658130288124, -0.044289398938417435, 0.04266950488090515, 0.007989027537405491, -0.02669144980609417, 0.03716554492712021, -0.004063543397933245, 0.02766706794500351, 0.027446173131465912, -0.016778796911239624, -0.00858728401362896, 0.07304253429174423, -0.014974824152886868, -0.013695474714040756, -0.012802692130208015, -0.010685783810913563, -0.0377730056643486, 0.05054808408021927, -0.025421304628252983, -0.0029958852101117373, -0.002233108039945364, -0.01092508714646101, -0.03434913605451584, -0.011182797141373158, -0.003202974097803235, 0.015554673038423061, -0.040423739701509476, 0.002827913034707308, 0.003557326039299369, -0.03709191083908081, -0.027446173131465912, 0.05051126703619957, 0.01002309937030077, -0.03243471309542656, -0.015573080629110336, -0.031164569780230522, 0.021555647253990173, -0.02941581979393959, -0.0014496218645945191, -0.009774592705070972, -0.014321343973279, -0.026157621294260025, -0.05146848037838936, 0.011339263990521431, 0.0010406214278191328, -0.03924563527107239, 0.02948945015668869, 0.04093916341662407, -0.04554113745689392, 0.01600566692650318, -0.007947609759867191, -0.0010728351771831512, 0.0013069607084617019, 0.03171680495142937, 0.003693084232509136, 0.0670415610074997, 0.003918581176549196, -0.023506883531808853, -0.025844687595963478, -0.008780566975474358, -0.029176516458392143, -0.0380307137966156, 0.042338162660598755, -0.014634277671575546, -0.04543069005012512, -0.07035498321056366, 0.007022612728178501, -0.01821461319923401, 0.10109616816043854, -0.06972911208868027, 0.02856905572116375, -0.006746494211256504, -0.04690331965684891, -0.0190521739423275, -0.0059411488473415375, 0.0660843476653099, -0.05323563888669014, -0.0023021376691758633, -0.022991463541984558, 0.018822073936462402, -0.007538033649325371, -0.011790257878601551, 0.007731316611170769, -0.015591488219797611, 0.05485553294420242, -0.0029981862753629684, -0.017782028764486313, -0.010032303631305695, -0.023046687245368958, 0.04977495223283768, -0.037478476762771606, 0.056990846991539, -0.013658659532666206, 0.014542238786816597, 0.02656259573996067, -0.026912344619631767, 0.0857071653008461, 0.04686650633811951, 0.008191513828933239, 0.026967568323016167, -0.037644147872924805, -0.07539874315261841, -0.0024321433156728745, 0.05312519147992134, -0.0005364175885915756, -0.005200230982154608, -0.02845860831439495, -0.018720831722021103, 0.03530634567141533, 0.012692244723439217, -0.01997256837785244, 0.03239789977669716, -0.06840374320745468, 0.048854559659957886, 0.010658171959221363, -0.007896987721323967, -0.007114652078598738, 0.06869827210903168, -0.031864069402217865, 0.040423739701509476, -0.018343469128012657, 0.003393955994397402, -0.03906155750155449, -0.04646153002977371, -0.008835790678858757, 0.04959087446331978, 0.04822868853807449, 0.0052278428338468075, 0.016475068405270576, 0.006672862451523542, 0.00020263067563064396 ]
44,163
astropy.modeling.core
_default_inputs_outputs
null
def _default_inputs_outputs(self): if self.n_inputs == 1 and self.n_outputs == 1: self._inputs = ("x",) self._outputs = ("y",) elif self.n_inputs == 2 and self.n_outputs == 1: self._inputs = ("x", "y") self._outputs = ("z",) else: try: self._inputs = tuple("x" + str(idx) for idx in range(self.n_inputs)) self._outputs = tuple("x" + str(idx) for idx in range(self.n_outputs)) except TypeError: # self.n_inputs and self.n_outputs are properties # This is the case when subclasses of Model do not define # ``n_inputs``, ``n_outputs``, ``inputs`` or ``outputs``. self._inputs = () self._outputs = ()
(self)
[ -0.0212534349411726, -0.04181063547730446, 0.026218676939606667, -0.03266799449920654, -0.045181870460510254, -0.00828609149903059, -0.06368701905012131, 0.05093495547771454, 0.03759659454226494, 0.0047087352722883224, 0.036204125732183456, 0.04371611773967743, -0.03629573434591293, 0.04367947205901146, 0.04628118500113487, 0.019054803997278214, 0.009417470544576645, -0.010077059268951416, -0.0015527833020314574, 0.00292921788059175, 0.012660451233386993, -0.0016615696949884295, -0.01304521132260561, 0.0319717600941658, 0.00984803494066, 0.009536562487483025, 0.019329631701111794, -0.0360209085047245, 0.007786818780004978, -0.00600501149892807, -0.08457401394844055, -0.015372096560895443, 0.049505844712257385, 0.009417470544576645, 0.029901383444666862, -0.010956511832773685, -0.02028237283229828, 0.1166740283370018, -0.00488279340788722, 0.006398932542651892, 0.08171579241752625, -0.0987185388803482, -0.010470980778336525, 0.009005227126181126, -0.032924503087997437, 0.05100824311375618, -0.026108745485544205, 0.012541358359158039, -0.016709595918655396, -0.07702537626028061, 0.0400150865316391, -0.00889071449637413, 0.05808050557971001, 0.066435307264328, -0.006925688125193119, -0.024001723155379295, 0.04012501984834671, 0.029919706284999847, -0.03781645745038986, 0.005592768080532551, -0.05954626202583313, 0.05221749097108841, 0.0022581773810088634, -0.04910276085138321, -0.027794362977147102, -0.0489928312599659, -0.014868243597447872, -0.016361480578780174, 0.018963193520903587, 0.1404925286769867, 0.01965942606329918, -0.02830737642943859, -0.03486662730574608, -0.021821415051817894, 0.04448563605546951, -0.02222449705004692, 0.03558117896318436, 0.06628873199224472, 0.025723984465003014, -0.033913884311914444, -0.042763374745845795, 0.02526593580842018, -0.11220347881317139, -0.004800344817340374, 0.0016329416539520025, -0.011909252032637596, -0.04258015751838684, -0.000830212258733809, -0.028124157339334488, -0.04305652529001236, -0.056834615767002106, -0.017891360446810722, 0.005212588235735893, 0.0493592694401741, -0.019054803997278214, 0.03385892137885094, -0.04910276085138321, -0.08523359894752502, 0.0329061783850193, -0.03651559725403786, -0.05152125656604767, -0.04261679947376251, -0.06511612236499786, 0.03319932892918587, -0.03931885212659836, -0.09263566136360168, 0.015555315650999546, -0.024899497628211975, -0.0158301442861557, -0.01645308919250965, -0.006650859024375677, 0.022939052432775497, 0.02145497500896454, 0.030432719737291336, -0.0017165354220196605, -0.057384274899959564, -0.05404968187212944, 0.034921590238809586, 0.02816080115735531, -0.006856980733573437, -0.040381524711847305, 0.05789728835225105, -0.03657056391239166, 0.015399578958749771, 0.0259255263954401, 0.0483698844909668, 0.04071132093667984, 0.008043325506150723, 0.00793797429651022, -0.0369003601372242, 0.005688958335667849, -0.0193845983594656, -0.03869590908288956, 0.08083634078502655, -0.0493592694401741, 0.02971816435456276, 0.0022421458270400763, 0.03354744613170624, 0.03144042566418648, 0.055002421140670776, 0.054855845868587494, 0.018468501046299934, 0.04016166180372238, 0.025375867262482643, -0.03479333966970444, 0.015417900867760181, 0.10700005292892456, 0.01614161767065525, -0.021784771233797073, -0.049505844712257385, -0.00382699235342443, 0.019054803997278214, -0.06277091801166534, -0.030744193121790886, -0.056138381361961365, 0.01263296790421009, 0.010571751743555069, -0.02816080115735531, 0.007090585306286812, -0.01081909704953432, -0.04932262375950813, -0.0483698844909668, 0.0595829039812088, 0.0012974214041605592, 0.02449641562998295, 0.05401303991675377, -0.00531335873529315, -0.04683084413409233, 0.07885757088661194, -0.01872500777244568, -0.03319932892918587, -0.01953117363154888, -0.007356253452599049, -0.011350433342158794, 0.027482889592647552, 0.024771245196461678, 0.00017262689652852714, -0.04540173336863518, -0.016563020646572113, 0.0033323003444820642, 0.05874009430408478, -0.057970575988292694, -0.04371611773967743, 0.011900091543793678, 0.0139613077044487, 0.013805571012198925, 0.023452065885066986, 0.01942124217748642, -0.03065258264541626, -0.01060839556157589, 0.014978175051510334, 0.022371072322130203, -0.05027536675333977, 0.02315891534090042, -0.008666271343827248, 0.022994017228484154, 0.020209085196256638, -0.014153688214719296, 0.06093872711062431, -0.006261518225073814, -0.041554130613803864, -0.02827073261141777, 0.004003340844064951, 0.03697364777326584, -0.027043163776397705, -0.006527186371386051, -0.0031284689903259277, -0.06126851961016655, -0.05218084529042244, -0.004081209190189838, 0.01945788599550724, -0.0012687933631241322, 0.0016088942065835, -0.04085789620876312, -0.0015642344951629639, 0.0251193605363369, 0.03358409181237221, 0.02160155028104782, -0.04877296835184097, 0.005432451143860817, 0.09747264534235, -0.005446192808449268, 0.022132886573672295, -0.002510103862732649, 0.056724682450294495, -0.002111602108925581, -0.0010981704108417034, -0.01661798730492592, -0.04485207423567772, 0.025559086352586746, 0.0021047312766313553, -0.013741444796323776, -0.054379478096961975, 0.024203265085816383, -0.00871665682643652, 0.03556285798549652, 0.02238939329981804, -0.11396238207817078, -0.01059007365256548, -0.013145982287824154, -0.030231177806854248, -0.022939052432775497, -0.0344085767865181, -0.07907743006944656, -0.0072967070154845715, -0.005432451143860817, 0.019054803997278214, 0.031532034277915955, -0.027482889592647552, -0.019329631701111794, 0.06922023743391037, 0.03895241394639015, -0.005441612098366022, -0.008162418380379677, 0.010361049324274063, -0.0017589048948138952, -0.057384274899959564, -0.008043325506150723, 0.025650696828961372, -0.04485207423567772, 0.020483912900090218, 0.04082125052809715, -0.04316645860671997, 0.01980600319802761, 0.0533534474670887, -0.009875518269836903, -0.016544699668884277, -0.0005147316260263324, -0.044009268283843994, -0.0008410909213125706, 0.07775825262069702, 0.09908498078584671, -0.06878051161766052, -0.021198468282818794, 0.054379478096961975, 0.0139613077044487, 0.056797970086336136, -0.044009268283843994, -0.015124750323593616, 0.015958398580551147, 0.03237484395503998, -0.024771245196461678, 0.0158301442861557, -0.031880151480436325, 0.05885002762079239, -0.034060459583997726, -0.006856980733573437, -0.029003608971834183, 0.005977528635412455, -0.07775825262069702, 0.05866680666804314, 0.08567332476377487, 0.011084765195846558, -0.008606724441051483, -0.02682330086827278, -0.042287006974220276, -0.050788380205631256, -0.006572991143912077, 0.033785633742809296, -0.0026841622311621904, -0.042836662381887436, 0.011432882398366928, 0.10348223894834518, -0.014575092121958733, -0.0018115804996341467, -0.0489928312599659, 0.013228430412709713, -0.0224993247538805, 0.05408632755279541, -0.01672791875898838, 0.03145874664187431, 0.03598426282405853, -0.005043110344558954, -0.019164735451340675, 0.02834402024745941, 0.007924233563244343, 0.061048656702041626, 0.028105834499001503, 0.005620250944048166, 0.06658188253641129, -0.02554076537489891, 0.0030437300447374582, -0.06496954709291458, -0.004021662753075361, -0.029626553878188133, 0.010974833741784096, 0.009875518269836903, -0.01723177172243595, -0.008418925106525421, 0.004548418335616589, -0.04027159512042999, -0.036717139184474945, -0.03759659454226494, 0.025595730170607567, -0.02850891649723053, -0.0015791209880262613, 0.010251117870211601, 0.010470980778336525, 0.04928598180413246, 0.008950261399149895, -0.017140161246061325, -0.004530096426606178, -0.014849921688437462, 0.012239046394824982, 0.019476206973195076, 0.00030402946867980063, 0.04184728115797043, -0.02757449820637703, -0.014437678270041943, 0.0502387210726738, -0.043349675834178925, 0.031605321913957596, 0.026291964575648308, 0.006948590744286776, 0.08010346442461014, 0.009289216250181198, -0.03515977784991264, -0.031293850392103195, 0.01534461323171854, 0.0033185589127242565, 0.019512850791215897, -0.028710458427667618, 0.02315891534090042, 0.05056851729750633, 0.036955326795578, -0.009921323508024216, 0.06522605568170547, 0.01965942606329918, 0.027666108682751656, 0.000017302052583545446, -0.041700705885887146, -0.0002318868791917339, -0.06306406855583191, -0.021070215851068497, 0.006843239534646273, 0.06753461807966232, -0.009976289235055447, 0.0014783503720536828, 0.002585681853815913, -0.09007059037685394, -0.024166621267795563, -0.03704693540930748, 0.004960661754012108, 0.06973325461149216, -0.018239477649331093, -0.01844101957976818, 0.05419625714421272, 0.012861992232501507, 0.0319717600941658, 0.02211456559598446, 0.017891360446810722, 0.04247022420167923, -0.0010065608657896519, -0.03327261656522751, 0.028142478317022324, -0.024551380425691605, 0.033126041293144226, 0.050605159252882004, -0.059289753437042236, -0.047050707042217255, -0.05635824427008629, -0.01724093221127987, -0.022920729592442513, 0.0344635434448719, -0.045218512415885925, -0.00889529474079609, 0.011634423397481441, 0.025357546284794807, 0.03041439689695835, -0.04184728115797043, -0.017048552632331848, 0.011295467615127563, 0.04195721074938774, -0.04968906566500664, 0.050605159252882004, 0.047710295766592026, -0.00039420768734999, 0.032741282135248184, 0.012083310633897781, 0.0023119980469346046, -0.01969606988132, 0.07281133532524109, 0.04723392426967621, 0.04683084413409233, 0.06859729439020157, 0.0014508675085380673, -0.029425013810396194, 0.02484453283250332, -0.004296491853892803, 0.02581559494137764, -0.03514145314693451, 0.0009922467870637774, -0.03739505261182785, -0.03928221017122269, 0.017011908814311028, -0.014153688214719296, 0.06599558144807816, -0.04536508768796921, -0.002265048213303089, 0.04683084413409233, -0.025027751922607422, -0.0072921267710626125, 0.008075389079749584, 0.04503529518842697, 0.0014222395839169621, -0.001484076026827097, -0.026841621845960617, 0.03206337243318558, -0.037926387041807175, 0.02273751050233841, 0.018633399158716202, 0.010379371233284473, 0.041041113436222076, -0.07775825262069702, 0.05720105394721031, -0.041590772569179535, -0.018202833831310272, -0.026218676939606667, -0.03950207307934761, -0.02764778584241867, -0.0010454949224367738, -0.0047774421982467175, 0.029901383444666862, 0.015591959469020367, -0.042250361293554306, -0.03486662730574608, 0.028014225885272026, -0.03382227569818497, -0.009875518269836903, 0.029919706284999847, 0.00327504426240921, -0.005120978225022554, 0.0193845983594656, -0.03680875152349472, -0.05027536675333977, -0.053683243691921234, 0.07207845896482468, 0.004291911143809557, -0.04269008710980415, -0.07046613097190857, -0.006824917625635862, -0.015188876539468765, -0.019897611811757088, 0.006279840134084225, -0.02028237283229828, 0.054452765733003616, 0.012935279868543148, -0.044632211327552795, -0.028453951701521873, 0.012706255540251732, 0.0038430241402238607, 0.02215120941400528, 0.015646925196051598, -0.033400870859622955, -0.054452765733003616, 0.020062509924173355, 0.03193511813879013, -0.019567817449569702, -0.008075389079749584, 0.007150131743401289, 0.021748125553131104, -0.014904887415468693, 0.007104326970875263, -0.021821415051817894, 0.006618795916438103, 0.006188230589032173, -0.04023494943976402, -0.051338035613298416, -0.040381524711847305, -0.0028719620313495398, -0.03301611170172691, -0.03847604617476463, 0.012156598269939423, 0.0012229885905981064, 0.0088357487693429, -0.05291372165083885, -0.002913186326622963, 0.01442851684987545, -0.016398124396800995, 0.00916554406285286, 0.034371934831142426, 0.03895241394639015, -0.05654146522283554, -0.023415422067046165, -0.013200948014855385, 0.07511989772319794, -0.013686479069292545, -0.028527239337563515, 0.031092308461666107, 0.013347523286938667, -0.003568195039406419, -0.032393164932727814, -0.05573530122637749, 0.07768496870994568, -0.0714188665151596, 0.014309423975646496, 0.061598315834999084, 0.040418170392513275, -0.030835801735520363, 0.0019467046950012445, -0.013970469124615192, 0.02339709922671318, -0.0334741584956646, -0.05591851845383644, 0.06339386850595474, 0.016682114452123642, 0.010773292742669582, 0.05276714637875557, -0.0096922991797328, -0.016425607725977898, -0.055552080273628235, -0.0474904328584671, 0.007521150633692741, -0.04082125052809715, 0.0075852773152291775, -0.001673020888119936, -0.007402058225125074, 0.02194966748356819, -0.012651289813220501, 0.05906989052891731, 0.010104542598128319, -0.010370209813117981, -0.0017199708381667733, -0.020612167194485664, -0.020245729014277458, 0.03939213976264, -0.01218408066779375, -0.022517647594213486, -0.03598426282405853, 0.04481543228030205, 0.004782022908329964, 0.007328770589083433, -0.014584253542125225, -0.06376030296087265, 0.001516139367595315, -0.01195505727082491, 0.014904887415468693, -0.009463274851441383, -0.04305652529001236, -0.0063760303892195225, 0.016938621178269386, 0.07101578265428543, 0.00033866934245452285, -0.05939968675374985, 0.0744236633181572, -0.02495446428656578, -0.037413373589515686, -0.027519533410668373, -0.013109338469803333, 0.010507624596357346, -0.03832947090268135, 0.050165433436632156, -0.017057713121175766, 0.03964864835143089, -0.010690843686461449, 0.0076494039967656136, -0.026273641735315323, -0.0243681613355875, 0.006435576826334, -0.06529934704303741, -0.006078299134969711, 0.015820983797311783, -0.011185536161065102, 0.030744193121790886, 0.0462445430457592, -0.06141509860754013, -0.012523036450147629, -0.01965942606329918, -0.030011314898729324, 0.02160155028104782, 0.04851645976305008, -0.009527401998639107, 0.034921590238809586, -0.05291372165083885, -0.05100824311375618, -0.02301234006881714, -0.014575092121958733, 0.044998649507761, 0.011707711033523083, -0.0106267174705863, -0.0035269707441329956, -0.000013007851521251723, -0.0564681775867939, 0.02409333363175392, -0.04987228289246559, 0.017598209902644157, -0.006856980733573437, 0.0072417412884533405, 0.051887694746255875, 0.03226491063833237, 0.04254351183772087, -0.03843940049409866, 0.05331680551171303, -0.02042894810438156, 0.003057471476495266, 0.017305059358477592, -0.0007157002692110837, 0.002243290888145566, 0.022554291412234306, -0.009628172032535076, 0.03759659454226494, 0.005794309079647064, 0.048223309218883514, -0.006092040333896875, 0.02429487369954586, -0.01351242046803236, 0.005208007525652647, 0.01907312497496605, 0.014675863087177277, -0.03171525523066521, -0.0344085767865181, 0.006147006060928106, -0.02581559494137764, 0.0008193336543627083, 0.01883494108915329, -0.013320039957761765, -0.0474904328584671, -0.019274666905403137, 0.025302579626441002, -0.0489928312599659, -0.06258770078420639, 0.01680120639503002, 0.051997628062963486, -0.0067149861715734005, -0.015500349923968315, 0.03193511813879013, -0.055478792637586594, -0.024038366973400116, -0.0024139138404279947, -0.01615077815949917, -0.03230155631899834, -0.055515438318252563, 0.046464405953884125, -0.005414129234850407, -0.003311688080430031, -0.031019020825624466, 0.05382981896400452, 0.050018858164548874, -0.033748988062143326, -0.018963193520903587, 0.023140592500567436, -0.0319717600941658, -0.020832030102610588, -0.014630057848989964, 0.031348817050457, -0.0381462499499321, -0.007722692098468542, 0.015161394141614437, 0.03968529403209686, 0.04983564093708992, 0.025595730170607567, -0.030707549303770065, 0.07097914069890976, -0.04840653017163277, -0.015216359868645668, -0.024624668061733246, 0.0010912996949627995, -0.012697095051407814, -0.029956350103020668, -0.009234250523149967, 0.02246268093585968, -0.025320902466773987, -0.07548633962869644, 0.04631783068180084, 0.012037505395710468, -0.00677453214302659, -0.0381462499499321, -0.00047837404417805374, 0.020337337628006935, -0.010388532653450966, 0.0006830643396824598, 0.013604030013084412, 0.017057713121175766, -0.016315674409270287, -0.03123888373374939, 0.014520126394927502, 0.06507948040962219, 0.07119900733232498, -0.029461657628417015, 0.021070215851068497, -0.016398124396800995, -0.041517484933137894, 0.003911731299012899, 0.00799294002354145, -0.04602468013763428, 0.013741444796323776, -0.05591851845383644, -0.08640620112419128, 0.056834615767002106, 0.03574607893824577, 0.0053545827977359295, 0.033089399337768555, -0.010773292742669582, 0.020575523376464844, 0.03451851010322571, -0.019989222288131714, 0.0946144238114357, -0.023855147883296013, -0.04367947205901146, 0.018532628193497658, 0.0033826855942606926, -0.02581559494137764, 0.06661852449178696, 0.03755994886159897, -0.00630732299759984, 0.033785633742809296, 0.06027913838624954, 0.01840437576174736, -0.03880583867430687, 0.005281295161694288, 0.040308237075805664, 0.016434768214821815, 0.03717518970370293, -0.019238023087382317, 0.04118768870830536, -0.009582367725670338, 0.023891791701316833, -0.026182033121585846, -0.019292987883090973, -0.01300856750458479, -0.00871665682643652, 0.008281510323286057, 0.028362341225147247, 0.030909089371562004, 0.028637170791625977, 0.035196419805288315, 0.024203265085816383, 0.015546154230833054 ]
44,165
astropy.modeling.core
_format_repr
Internal implementation of ``__repr__``. This is separated out for ease of use by subclasses that wish to override the default ``__repr__`` while keeping the same basic formatting.
def _format_repr(self, args=[], kwargs={}, defaults={}): """ Internal implementation of ``__repr__``. This is separated out for ease of use by subclasses that wish to override the default ``__repr__`` while keeping the same basic formatting. """ parts = [repr(a) for a in args] parts.extend( f"{name}={param_repr_oneline(getattr(self, name))}" for name in self.param_names ) if self.name is not None: parts.append(f"name={self.name!r}") for kwarg, value in kwargs.items(): if kwarg in defaults and defaults[kwarg] == value: continue parts.append(f"{kwarg}={value!r}") if len(self) > 1: parts.append(f"n_models={len(self)}") return f"<{self.__class__.__name__}({', '.join(parts)})>"
(self, args=[], kwargs={}, defaults={})
[ 0.026985008269548416, -0.043401189148426056, 0.06079798564314842, 0.003788524540141225, 0.03773542866110802, -0.06653638929128647, -0.0013562871608883142, -0.04289272427558899, 0.05930890887975693, -0.00882551446557045, -0.02010256052017212, 0.03653690218925476, -0.018459126353263855, 0.05335259437561035, -0.006977785844355822, 0.037263281643390656, 0.009606372565031052, -0.08912679553031921, 0.01427336223423481, -0.0012076064012944698, 0.057202406227588654, 0.025840960443019867, 0.014582074247300625, -0.013220111839473248, 0.047941066324710846, 0.02081078104674816, -0.0022188632283359766, -0.014536675065755844, -0.02240881510078907, 0.03254181519150734, 0.0010288488119840622, -0.02832881174981594, -0.020701823756098747, 0.03368586301803589, 0.015907716006040573, -0.0062695653177797794, -0.06784386932849884, 0.05789246782660484, -0.09740752726793289, -0.04576192423701286, 0.05171823874115944, -0.04943014308810234, 0.007345515303313732, -0.05266253277659416, -0.0429653637111187, -0.017632868140935898, 0.04993860796093941, 0.01750575192272663, -0.04434548318386078, -0.04706940799951553, 0.01657053828239441, 0.04666990041732788, 0.009733488783240318, 0.00044036773033440113, -0.0651925802230835, -0.0026353965513408184, 0.012530051171779633, 0.05186351388692856, 0.028183534741401672, -0.02233617752790451, -0.052771490067243576, 0.0560401976108551, 0.041258372366428375, -0.007785883266478777, -0.040096163749694824, -0.046815175563097, -0.05102817714214325, -0.003625089069828391, 0.0005615255795419216, 0.015099619515240192, -0.0032074206974357367, -0.0050574191845953465, -0.04173051565885544, 0.036264508962631226, 0.005797418300062418, 0.03791702538728714, -0.019775688648223877, -0.009615452028810978, 0.03973297402262688, -0.02395237237215042, 0.005002940539270639, -0.03061690740287304, -0.02424292452633381, -0.03601027652621269, 0.05095554143190384, -0.09471992403268814, -0.04329223558306694, 0.021319245919585228, 0.05633075162768364, -0.003425334580242634, -0.04543505609035492, 0.025677524507045746, 0.004757787566632032, -0.011803670786321163, -0.06951454281806946, -0.007177540101110935, -0.020520228892564774, -0.040423035621643066, 0.06130645051598549, -0.023897893726825714, 0.0074635520577430725, -0.024351881816983223, -0.04656094312667847, -0.03070770390331745, -0.035029664635658264, -0.0506286695599556, -0.02669445611536503, 0.0151540981605649, -0.04049567133188248, 0.0000783128198236227, -0.028038259595632553, 0.016597777605056763, 0.008739256300032139, -0.006437540519982576, 0.03867972269654274, -0.013528822921216488, -0.025840960443019867, 0.012639007531106472, 0.06857024878263474, -0.03473911061882973, -0.02257225103676319, 0.006573736667633057, -0.012266738340258598, -0.016071151942014694, -0.03690009191632271, 0.0009613182046450675, -0.02930942364037037, 0.005892755929380655, -0.006877908483147621, -0.059817373752593994, 0.03078034333884716, -0.0076133678667247295, -0.06479307264089584, 0.011885388754308224, 0.0851317048072815, 0.0011247536167502403, 0.034957025200128555, 0.038025978952646255, 0.006864288821816444, 0.1059061661362648, 0.02555040828883648, -0.021991146728396416, 0.02162795700132847, 0.04859480634331703, -0.05473271384835243, -0.03713616728782654, 0.030126601457595825, 0.060434795916080475, 0.052154067903757095, 0.010314593091607094, 0.04049567133188248, 0.02702132798731327, 0.04176683723926544, -0.014073607511818409, 0.019394339993596077, 0.010132997296750546, -0.0002759391791187227, -0.04049567133188248, 0.03047163039445877, 0.008112753741443157, -0.02471507154405117, -0.02831065095961094, 0.05654866620898247, -0.033812977373600006, 0.04972069337964058, 0.056512344628572464, -0.024987464770674706, -0.06936926394701004, 0.04550769180059433, 0.0414399653673172, 0.034049052745103836, -0.0598900131881237, -0.03154304251074791, -0.008525882847607136, -0.015562686137855053, 0.05433320626616478, -0.016752133145928383, 0.04427284747362137, -0.06766227632761002, -0.019303541630506516, 0.05349786952137947, -0.07434497028589249, -0.020048081874847412, -0.018704278394579887, 0.04245689883828163, -0.03490254655480385, 0.02709396556019783, -0.008580360561609268, -0.01758746989071369, 0.003463923465460539, 0.007318275980651379, 0.004249321762472391, -0.018241211771965027, 0.019703051075339317, -0.05110081657767296, -0.035647086799144745, -0.0004954137257300317, -0.06697221100330353, 0.10227426886558533, 0.025041941553354263, -0.035047825425863266, 0.0069414665922522545, -0.010024040937423706, -0.013583301566541195, 0.033486105501651764, -0.033740341663360596, 0.021282926201820374, -0.05495062842965126, -0.01910378783941269, -0.03904291242361069, 0.03285052627325058, 0.01442771777510643, 0.012003425508737564, -0.003039445262402296, 0.024061329662799835, 0.051137134432792664, 0.015235815197229385, 0.0032119604293257, -0.05513222515583038, 0.026276787742972374, 0.046706218272447586, -0.04111309349536896, -0.00389521149918437, -0.02048390917479992, -0.0020826670806854963, -0.016407102346420288, 0.06323135644197464, 0.0314885638654232, 0.0383891724050045, 0.008167232386767864, 0.006092510186135769, -0.029127828776836395, -0.04198475182056427, 0.03875236213207245, -0.01558084599673748, -0.0005141407018527389, -0.030344514176249504, -0.02088341861963272, -0.011694714426994324, 0.02019335702061653, -0.019376181066036224, 0.03190623223781586, -0.008376066572964191, -0.04721468314528465, 0.05771087110042572, -0.09602740406990051, 0.013728577643632889, -0.0019850595854222775, -0.00019578204955905676, -0.02288096211850643, 0.016906488686800003, 0.05963577702641487, -0.02086525782942772, -0.007554349489510059, 0.030108440667390823, -0.0013301828876137733, -0.027112124487757683, -0.00644662044942379, 0.032414697110652924, 0.039188187569379807, -0.003822573460638523, -0.005543185397982597, -0.02171875536441803, 0.012085143476724625, 0.0598536916077137, -0.009193243458867073, -0.028038259595632553, -0.03159752115607262, 0.026531020179390907, -0.0037317760288715363, 0.09551893919706345, 0.0030576048884540796, -0.04260217398405075, 0.02771138772368431, -0.01032367255538702, -0.043546468019485474, 0.020538387820124626, -0.03697273135185242, -0.04358278587460518, -0.04735996201634407, 0.01328366994857788, -0.05585860460996628, -0.004317419603466988, -0.011731033213436604, 0.08760140091180801, -0.004839505068957806, -0.007390914019197226, 0.021972987800836563, -0.003724966198205948, 0.040168799459934235, 0.08760140091180801, 0.03468463197350502, 0.0057837991043925285, 0.021900350227952003, 0.010777659714221954, -0.04917591065168381, 0.05389737710356712, -0.0107504203915596, -0.0011361032957211137, -0.0035547208972275257, -0.04779578745365143, -0.032033346593379974, 0.12617217004299164, 0.018468204885721207, -0.008031036704778671, -0.010296433232724667, -0.014409558847546577, 0.016842931509017944, 0.005960853770375252, -0.00009789102477952838, 0.012330296449363232, 0.011767351999878883, 0.017687346786260605, 0.03744487836956978, 0.016706734895706177, 0.04234794154763222, -0.008439624682068825, -0.028837276622653008, 0.017215199768543243, -0.0071639204397797585, 0.012484651990234852, 0.05469639599323273, -0.03546549379825592, 0.03553812950849533, 0.023062556982040405, -0.038643404841423035, -0.05513222515583038, 0.024769550189375877, 0.05516854301095009, 0.06969613581895828, 0.00003537909287842922, -0.03125248849391937, 0.006555577274411917, 0.032578133046627045, 0.001669538440182805, 0.0071639204397797585, 0.01470011007040739, -0.005833737552165985, -0.035193100571632385, -0.025150898844003677, 0.0667543038725853, 0.030362674966454506, -0.0215008407831192, -0.020756302401423454, -0.04696045070886612, 0.04031407833099365, 0.022590409964323044, 0.026058873161673546, 0.028655681759119034, -0.0036296288017183542, -0.056984491646289825, -0.02024783566594124, 0.025659365579485893, 0.002821531379595399, -0.057601913809776306, 0.018250292167067528, -0.005293492693454027, 0.017006365582346916, -0.011540358886122704, 0.0019044768996536732, 0.022535931318998337, -0.00821717083454132, 0.01926722377538681, 0.029654454439878464, -0.02502378262579441, 0.0039950888603925705, 0.00909336656332016, 0.023534703999757767, 0.03522941842675209, 0.006927846930921078, -0.06453884392976761, 0.005969933699816465, -0.0010430359980091453, -0.056294430047273636, -0.0437280610203743, 0.06697221100330353, -0.042021069675683975, 0.014128086157143116, -0.03461199626326561, -0.09631795436143875, 0.014518515206873417, -0.025114580988883972, 0.030943777412176132, 0.002372083952650428, 0.005720240529626608, -0.01189446821808815, 0.01680661179125309, 0.06606423854827881, 0.012248578481376171, 0.0020906117279082537, -0.06773491203784943, -0.016452502459287643, -0.0031257029622793198, 0.005402449518442154, -0.05789246782660484, -0.03346794843673706, 0.04405493289232254, 0.012666246853768826, -0.10292801260948181, -0.017787223681807518, 0.00932489987462759, -0.019321702420711517, -0.01972121000289917, -0.030526109039783478, -0.012121462263166904, 0.021065013483166695, 0.036645859479904175, 0.03176095336675644, 0.011912628076970577, 0.011612996459007263, -0.012466493062675, -0.002894169418141246, -0.05269885063171387, -0.015263054519891739, 0.059599459171295166, 0.014019129797816277, -0.04398229345679283, 0.03323187306523323, 0.00044859625631943345, -0.031034575775265694, 0.011458640918135643, 0.04005984589457512, 0.027057645842432976, 0.03984193131327629, 0.0161256305873394, 0.04510818421840668, -0.03482991084456444, 0.03070770390331745, 0.06163332238793373, 0.022535931318998337, -0.04888535663485527, -0.023371268063783646, 0.03038083389401436, 0.012993117794394493, 0.0637035071849823, -0.05378841981291771, 0.04819529876112938, -0.021010534837841988, -0.021827712655067444, 0.03973297402262688, 0.01078673917800188, -0.04303799942135811, 0.009147845208644867, -0.012566369958221912, -0.03677297383546829, 0.02326231263577938, -0.012802443467080593, -0.027529792860150337, 0.013828454539179802, 0.00774956401437521, 0.04351014643907547, 0.042638491839170456, -0.0017943850252777338, -0.005956314038485289, 0.01703360490500927, -0.10917487740516663, -0.007967477664351463, -0.00512097729369998, -0.03860708326101303, 0.005157296545803547, 0.006977785844355822, 0.012666246853768826, 0.01595311611890793, 0.05669394135475159, -0.021391883492469788, -0.033340830355882645, 0.06363086402416229, 0.00037879569572396576, -0.08302520960569382, -0.029418380931019783, 0.050229161977767944, 0.005910915322601795, -0.04242057725787163, 0.04706940799951553, -0.03156119957566261, 0.06490202993154526, 0.02756611257791519, -0.022971760481595993, -0.06882448494434357, -0.034720953553915024, -0.01795065961778164, -0.06076166778802872, -0.010178396478295326, -0.009887844324111938, -0.020356792956590652, 0.005284412764012814, 0.031216170638799667, 0.052989404648542404, 0.008988949470221996, -0.0038248435594141483, -0.007377294357866049, 0.0360829159617424, -0.04289272427558899, 0.027438996359705925, 0.0035093221813440323, -0.0075588892214000225, -0.01605299301445484, -0.023916054517030716, -0.027221081778407097, -0.0322149433195591, 0.04104045778512955, -0.05433320626616478, 0.07223846763372421, 0.0066236755810678005, 0.026222309097647667, -0.014954343438148499, 0.01626182720065117, 0.0637035071849823, 0.006151528563350439, -0.0155445272102952, 0.0017796304309740663, -0.076778344810009, 0.04111309349536896, 0.007250178139656782, -0.018077775835990906, -0.04874008148908615, 0.03354058414697647, -0.0029123288113623857, 0.0009147844975814223, 0.02923678606748581, 0.043183278292417526, 0.010850297287106514, -0.07823110371828079, -0.004360548686236143, -0.05102817714214325, 0.05542277544736862, 0.04096781834959984, 0.024079488590359688, -0.028437767177820206, 0.0383891724050045, 0.0006361497798934579, 0.016933728009462357, -0.014827227219939232, -0.020538387820124626, -0.03737223893404007, 0.0897805392742157, -0.07568877190351486, 0.054078973829746246, 0.02578648179769516, 0.04979333281517029, 0.05008388310670853, 0.028964392840862274, -0.0552411824464798, -0.07329171895980835, -0.0030371753964573145, -0.030435312539339066, 0.036863774061203, 0.024696912616491318, 0.03791702538728714, -0.04005984589457512, 0.0002021662367042154, -0.03159752115607262, 0.015026981011033058, 0.01972121000289917, -0.02387973479926586, 0.09275869280099869, 0.007200239226222038, 0.010296433232724667, 0.03283236548304558, 0.04238425940275192, -0.01381029561161995, 0.022971760481595993, 0.06995037198066711, -0.016833851113915443, 0.01680661179125309, 0.02694868855178356, 0.016997287049889565, 0.0010492783039808273, -0.06163332238793373, 0.014137166552245617, -0.02854672446846962, -0.004539873450994492, 0.013447104953229427, 0.01308391522616148, -0.025804640725255013, -0.0203386340290308, 0.007073123008012772, 0.016688575968146324, -0.0009108121157623827, 0.018468204885721207, -0.029963165521621704, -0.02133740484714508, -0.002131470711901784, -0.08120925724506378, 0.000039865764847490937, 0.02117397077381611, -0.005021099932491779, -0.004467235412448645, 0.008789194747805595, -0.0011168088531121612, -0.01858624257147312, 0.017986979335546494, 0.008435085415840149, 0.0015299373771995306, 0.07409073412418365, -0.0015957655850797892, -0.02324415184557438, -0.014618393033742905, -0.011576677672564983, 0.03101641684770584, -0.010369070805609226, 0.011322444304823875, 0.027221081778407097, 0.01542649045586586, 0.014818146824836731, -0.04703309014439583, 0.015362932346761227, 0.014636551961302757, -0.018849555402994156, 0.03154304251074791, -0.0010634653735905886, 0.05789246782660484, -0.004567112773656845, -0.02930942364037037, -0.03486622869968414, -0.04997492954134941, -0.046016156673431396, 0.01864979974925518, -0.014918024651706219, 0.002182544209063053, -0.021464522927999496, 0.02585911937057972, -0.07605195790529251, -0.013628700748085976, -0.006128829438239336, 0.016388943418860435, -0.029254944995045662, -0.0483405739068985, 0.042166344821453094, -0.05026547983288765, 0.044926587492227554, 0.028964392840862274, -0.0025582187809050083, -0.04750523716211319, -0.05404265597462654, -0.058146700263023376, 0.011903548613190651, 0.025804640725255013, -0.07895748317241669, 0.0176419485360384, 0.023135196417570114, -0.04481763020157814, -0.06704485416412354, 0.006700853351503611, -0.010151157155632973, 0.05854620784521103, -0.014691030606627464, -0.08556753396987915, 0.05473271384835243, -0.012693486176431179, -0.020048081874847412, 0.02088341861963272, 0.008466864004731178, -0.00667815376073122, -0.023752618581056595, 0.017324157059192657, -0.04459971934556961, 0.023080717772245407, -0.01124072726815939, -0.021591639146208763, -0.01964857243001461, -0.05872780457139015, -0.01848636567592621, -0.03766278922557831, -0.014845386147499084, 0.0022619920782744884, -0.06573736667633057, 0.013610540889203548, 0.008957170881330967, -0.013764896430075169, -0.03555629029870033, 0.010895696468651295, -0.00636944267898798, 0.009066127240657806, -0.07401809841394424, -0.00520269526168704, -0.009806127287447453, 0.027747707441449165, -0.019757529720664024, -0.025568567216396332, 0.048086341470479965, -0.01633446477353573, -0.05763823539018631, -0.030199239030480385, 0.017596550285816193, 0.017850782722234726, -0.01811409555375576, 0.04710572957992554, -0.010932015255093575, -0.0004735655675176531, -0.016525140032172203, -0.04205738753080368, 0.012284898199141026, -0.028819117695093155, 0.010024040937423706, -0.04303799942135811, 0.016379863023757935, -0.05589492246508598, 0.022426975890994072, -0.03904291242361069, -0.001181502128019929, 0.04521714150905609, 0.005052879452705383, 0.01328366994857788, 0.0035161320120096207, 0.05531381815671921, -0.0012836492387577891, 0.018232131376862526, 0.008439624682068825, -0.021918509155511856, -0.011104530654847622, 0.12784284353256226, 0.05324363708496094, -0.07648778706789017, -0.03508414328098297, 0.01047802809625864, 0.10002249479293823, 0.030453471466898918, -0.04710572957992554, -0.02471507154405117, -0.026294946670532227, 0.04917591065168381, 0.032505493611097336, -0.0345575176179409, -0.01519041694700718, 0.050701308995485306, -0.08353367447853088, -0.06635478883981705, 0.026422064751386642, -0.026149671524763107, 0.015599005855619907, 0.058836761862039566, -0.02733003906905651, -0.0184137262403965, 0.03860708326101303, -0.027293719351291656, 0.022154582664370537, -0.0234075877815485, -0.005307112354785204, -0.009778887964785099, -0.006591896526515484, 0.03817125782370567, 0.014827227219939232, 0.027438996359705925, 0.026385745033621788, 0.035120461136102676, 0.021845871582627296, 0.04514450207352638, -0.012984038330614567, -0.020774461328983307, 0.04369174316525459, 0.01811409555375576, -0.0036886471789330244, -0.01618918962776661, 0.058836761862039566, -0.01328366994857788, -0.0002006056602112949, 0.00629226490855217, 0.01277520414441824, -0.005397909786552191, -0.038716040551662445, -0.025986235588788986, 0.046815175563097, 0.019539615139365196, 0.006632755044847727, 0.04536241665482521, -0.005089198239147663, 0.003586500184610486 ]
44,166
astropy.modeling.core
_format_str
Internal implementation of ``__str__``. This is separated out for ease of use by subclasses that wish to override the default ``__str__`` while keeping the same basic formatting.
def _format_str(self, keywords=[], defaults={}): """ Internal implementation of ``__str__``. This is separated out for ease of use by subclasses that wish to override the default ``__str__`` while keeping the same basic formatting. """ default_keywords = [ ("Model", self.__class__.__name__), ("Name", self.name), ("Inputs", self.inputs), ("Outputs", self.outputs), ("Model set size", len(self)), ] parts = [ f"{keyword}: {value}" for keyword, value in default_keywords if value is not None ] for keyword, value in keywords: if keyword.lower() in defaults and defaults[keyword.lower()] == value: continue parts.append(f"{keyword}: {value}") parts.append("Parameters:") if len(self) == 1: columns = [[getattr(self, name).value] for name in self.param_names] else: columns = [getattr(self, name).value for name in self.param_names] if columns: param_table = Table(columns, names=self.param_names) # Set units on the columns for name in self.param_names: param_table[name].unit = getattr(self, name).unit parts.append(indent(str(param_table), 4 * " ")) return "\n".join(parts)
(self, keywords=[], defaults={})
[ -0.00017631951777730137, -0.044031478464603424, 0.004658062011003494, -0.05856113135814667, -0.021020052954554558, -0.07058312743902206, -0.004079549573361874, -0.018862731754779816, 0.0309769194573164, -0.016521023586392403, -0.046760398894548416, 0.026588523760437965, -0.045801591128110886, 0.04030687361955643, 0.0013172106118872762, 0.002214941894635558, 0.0029086959548294544, -0.09993744641542435, 0.024818412959575653, -0.06674788892269135, 0.03798360377550125, 0.021020052954554558, 0.005955681670457125, -0.005766685586422682, 0.030479077249765396, 0.019434329122304916, -0.00893352273851633, -0.04996872320771217, 0.01921306550502777, 0.008601627312600613, -0.004955385345965624, -0.0010970992734655738, -0.007241777144372463, 0.05170195549726486, 0.019655592739582062, -0.03857364133000374, -0.006610253360122442, -0.02234763465821743, -0.03466464951634407, -0.011505713686347008, -0.009380660019814968, -0.022513583302497864, 0.019434329122304916, -0.055758457630872726, -0.03366896137595177, 0.0012826380552724004, 0.01700964756309986, 0.07235323637723923, -0.00925619900226593, -0.02491060644388199, 0.03499654307961464, 0.02444964088499546, -0.005135162267833948, -0.043515197932720184, -0.07021435350179672, -0.04908366873860359, 0.014124000445008278, 0.001357545144855976, 0.018862731754779816, -0.02586941607296467, 0.002141187433153391, 0.04454776272177696, 0.05435711890459061, 0.01799611561000347, -0.0632445439696312, -0.06685852259397507, -0.032710153609514236, -0.005559250712394714, 0.03401929512619972, 0.04768233001232147, 0.02693885751068592, -0.05645912513136864, -0.011883705854415894, 0.0404912605881691, -0.0007081591174937785, 0.03599223122000694, -0.08629284799098969, -0.05878239497542381, 0.020595964044332504, -0.037375129759311676, 0.002339402912184596, -0.0361950546503067, -0.01344177033752203, -0.07187382876873016, 0.0379098504781723, -0.05177570879459381, -0.06453525274991989, 0.03765171021223068, 0.06471963971853256, -0.018706003203988075, -0.0279714222997427, 0.02017187513411045, 0.014529651030898094, 0.02963089942932129, -0.014926081523299217, -0.01487998478114605, -0.005038359202444553, -0.06656350195407867, 0.02598004788160324, -0.008177538402378559, -0.015977084636688232, -0.021407265216112137, -0.020725034177303314, -0.0344802625477314, -0.05413585528731346, -0.11321327090263367, -0.029704654589295387, -0.008643114008009434, 0.0036208885721862316, 0.008850548416376114, -0.01506437174975872, -0.02848770283162594, -0.003494122764095664, -0.03357676789164543, 0.05697540566325188, -0.015147345140576363, -0.023140497505664825, 0.008408021181821823, 0.03103223629295826, -0.04366270825266838, -0.026293504983186722, -0.018493959680199623, -0.03352145478129387, -0.016244444996118546, 0.02063284069299698, 0.013331138528883457, -0.014520431868731976, -0.0012987719383090734, 0.07604096084833145, -0.04181884229183197, 0.024302132427692413, -0.012252477928996086, -0.007241777144372463, -0.0019326002802699804, 0.0858503207564354, -0.0136261573061347, 0.010574561543762684, 0.04690790921449661, 0.04015936329960823, 0.1374785155057907, 0.08599783480167389, 0.0027312240563333035, 0.007569062989205122, 0.00015788088785484433, 0.008357315324246883, -0.017230911180377007, 0.04687102884054184, -0.004190181847661734, 0.009560436010360718, 0.029981233179569244, 0.03883178159594536, 0.0038490667939186096, -0.021757598966360092, -0.009108689613640308, 0.000593493808992207, -0.015506898984313011, 0.028450826182961464, -0.07714728266000748, 0.026072241365909576, -0.029520267620682716, 0.016576340422034264, -0.044658392667770386, 0.02240295149385929, -0.008629284799098969, 0.035844720900058746, 0.07869613170623779, -0.056532878428697586, -0.010113595984876156, 0.03772546350955963, -0.014372922480106354, 0.012270917184650898, -0.025113431736826897, -0.026957295835018158, 0.04137631505727768, 0.04340456426143646, 0.029133055359125137, -0.009606532752513885, 0.02011656016111374, -0.0510750412940979, -0.04056501388549805, 0.039237432181835175, -0.028321756049990654, -0.017802510410547256, 0.007255605887621641, 0.029188372194767, -0.03783609718084335, 0.023158935829997063, 0.012602812610566616, -0.035144053399562836, -0.004273155704140663, -0.0013909651897847652, -0.021739160642027855, 0.0008055382058955729, 0.05752856656908989, -0.025906292721629143, 0.001895722933113575, 0.0691080316901207, -0.06114254146814346, 0.06088440120220184, 0.05048500373959541, -0.012187942862510681, -0.00829738937318325, -0.01721247285604477, -0.01174541562795639, 0.05325080081820488, -0.03313424065709114, 0.005609957035630941, -0.06401897221803665, -0.05712291598320007, -0.013487867079675198, 0.014253071509301662, -0.013146752491593361, -0.02120443992316723, -0.01287017296999693, 0.04952619597315788, 0.039753712713718414, 0.03315268084406853, 0.04532218351960182, -0.045432817190885544, 0.0004857430176343769, 0.08489151298999786, -0.03328175097703934, 0.044215865433216095, -0.02203417755663395, 0.010132034309208393, 0.000155576053657569, 0.05963057279586792, -0.012621250934898853, 0.012123407796025276, 0.018291134387254715, 0.009440585039556026, -0.03580784425139427, -0.037504199892282486, 0.07434460520744324, 0.00781798455864191, 0.00016205839347094297, -0.05096440762281418, -0.05553719401359558, -0.02566659078001976, -0.03613974153995514, -0.0026390308048576117, 0.025814101099967957, -0.015912549570202827, -0.02916993387043476, 0.04093378782272339, -0.09455335885286331, 0.008214415051043034, -0.004858582280576229, -0.006757762748748064, -0.018466301262378693, 0.028137369081377983, 0.061843208968639374, 0.011634783819317818, 0.0015511508099734783, 0.002837246283888817, 0.022900795564055443, 0.023214250802993774, 0.029538705945014954, 0.015958646312355995, 0.00046067798393778503, -0.05022686347365379, -0.00009608261461835355, -0.028118930757045746, 0.03197260573506355, 0.06431398540735245, 0.0008026571595109999, 0.0007968951249495149, -0.00045578021672554314, -0.0125198382884264, 0.007384676486253738, 0.08636660128831863, 0.05568470060825348, -0.051812585443258286, 0.000599255901761353, -0.020190313458442688, -0.016170689836144447, 0.018558494746685028, -0.05210760608315468, -0.04145006835460663, -0.04318330064415932, 0.03108755312860012, -0.04480590298771858, 0.0015880281571298838, 0.002643640385940671, 0.09610220789909363, -0.024283692240715027, 0.004867801908403635, -0.019839979708194733, 0.0009323038975708187, 0.04609660804271698, 0.02752889320254326, 0.02170228213071823, 0.006766981910914183, 0.002883342793211341, 0.007066609803587198, -0.03964308276772499, 0.060552503913640976, -0.00907181203365326, 0.01700964756309986, -0.04314642399549484, -0.0510750412940979, 0.008361924439668655, 0.12825919687747955, 0.0063336738385260105, -0.012630470097064972, -0.028524581342935562, -0.025703469291329384, -0.04196635261178017, 0.03145632520318031, -0.05763919651508331, -0.008638503961265087, 0.032710153609514236, 0.052845150232315063, 0.0061170198023319244, 0.033189557492733, 0.047276679426431656, -0.06597346812486649, -0.02491060644388199, 0.03136413171887398, 0.043515197932720184, 0.03254420682787895, -0.008320437744259834, -0.013082217425107956, -0.02784235030412674, 0.021849792450666428, -0.03466464951634407, -0.03130881488323212, 0.02496592327952385, 0.006951368413865566, 0.029649337753653526, -0.0017735669389367104, -0.027436701580882072, 0.05428336560726166, 0.01423463225364685, 0.0019107044208794832, -0.03696947917342186, 0.0011166903423145413, -0.012713444419205189, -0.04882552847266197, 0.024597149342298508, 0.11232821643352509, 0.0009513187687844038, -0.0032037142664194107, -0.008002371527254581, -0.02087254449725151, 0.008126831613481045, 0.0030562051106244326, -0.003904382698237896, 0.03116130642592907, 0.0025952390860766172, -0.036231935024261475, -0.01318363007158041, 0.039753712713718414, 0.017747193574905396, 0.018918048590421677, -0.005623786244541407, -0.008260511793196201, 0.03344769775867462, -0.0022979159839451313, -0.011219914071261883, 0.027916105464100838, -0.010528464801609516, 0.02279016375541687, 0.05081690102815628, 0.007181851658970118, 0.029317442327737808, 0.02247670665383339, 0.01775641366839409, 0.03901616856455803, 0.0085831880569458, -0.0266807172447443, 0.000864887610077858, -0.005384083837270737, -0.015101248398423195, -0.04723980277776718, 0.10399394482374191, -0.0151657834649086, 0.019839979708194733, -0.030626585707068443, -0.12427645176649094, -0.010039840824902058, -0.03280234709382057, 0.043072670698165894, 0.0060432651080191135, 0.03658226877450943, -0.011514932848513126, 0.010325640439987183, 0.009919989854097366, 0.010390175506472588, 0.010168911889195442, -0.020264068618416786, -0.021536335349082947, -0.02133351005613804, 0.02030094526708126, -0.029022423550486565, -0.03366896137595177, 0.028045175597071648, 0.005430180579423904, -0.06114254146814346, 0.0023993283975869417, -0.03210167586803436, -0.09152942150831223, -0.0473504364490509, -0.0013852030970156193, -0.054947156459093094, 0.010380956344306469, 0.026901980862021446, 0.017645781859755516, -0.002258733846247196, 0.017092622816562653, -0.01239076815545559, -0.030147181823849678, -0.05620098486542702, -0.005393302999436855, 0.06512528657913208, 0.03534688055515289, -0.0512225516140461, 0.028893353417515755, 0.013128314167261124, 0.024670904502272606, -0.016945112496614456, 0.02177603729069233, 0.03809423744678497, 0.055574070662260056, 0.026164434850215912, 0.046834152191877365, -0.06556781381368637, 0.024154622107744217, 0.09278324991464615, -0.017157157883048058, -0.027104806154966354, 0.008472556248307228, -0.017820948734879494, 0.0003684847615659237, 0.028506143018603325, -0.009449804201722145, 0.05170195549726486, -0.019120872020721436, 0.01928682066500187, 0.026090679690241814, 0.01672384887933731, -0.09425834566354752, -0.02752889320254326, 0.05811860412359238, -0.05299266055226326, -0.008887425996363163, -0.027989860624074936, -0.02859833464026451, -0.015239538624882698, 0.04742418974637985, 0.036176618188619614, 0.05561094731092453, -0.02035626210272312, -0.03743044659495354, 0.04812485724687576, -0.08282638341188431, 0.018632248044013977, -0.011819169856607914, -0.0333370678126812, 0.013045339845120907, 0.0344802625477314, 0.03381647169589996, -0.003646241733804345, 0.09322577714920044, -0.05439399555325508, -0.01796845719218254, 0.010095156729221344, -0.013580060563981533, -0.03857364133000374, -0.01915775053203106, 0.0351993702352047, 0.005508544389158487, -0.04399460181593895, 0.027989860624074936, -0.039053045213222504, 0.04226136952638626, 0.03344769775867462, -0.006518060341477394, -0.06674788892269135, -0.03160383552312851, -0.034129928797483444, -0.08673537522554398, -0.0022840870078653097, 0.02752889320254326, -0.00225527654401958, 0.05332455411553383, 0.05192321911454201, 0.01628132164478302, -0.009790919721126556, -0.006190774496644735, -0.012768760323524475, 0.032156992703676224, 0.004701854195445776, 0.014824668876826763, 0.001620295806787908, 0.0047848280519247055, 0.006010997574776411, 0.008467947132885456, -0.06188008561730385, 0.03293141722679138, 0.06449837237596512, -0.04720292612910271, 0.03020249679684639, 0.017461394891142845, 0.03953244909644127, -0.02349083125591278, 0.04930493235588074, 0.054873403161764145, -0.006407428532838821, -0.019047118723392487, -0.01344177033752203, -0.03864739462733269, -0.006181554868817329, -0.00172401312738657, -0.041597578674554825, -0.06940305233001709, -0.009279247373342514, 0.0004892002325505018, 0.005444009322673082, 0.0379098504781723, -0.006186164915561676, 0.037762340158224106, -0.06291265040636063, -0.06567844748497009, -0.05048500373959541, 0.04948931932449341, 0.05402522534132004, -0.011201475746929646, -0.02061440236866474, 0.03103223629295826, -0.003738434985280037, 0.04093378782272339, -0.024228377267718315, 0.012612031772732735, -0.004549735225737095, 0.0676698237657547, -0.01786704547703266, -0.009094860404729843, -0.0077672782354056835, 0.011173817329108715, 0.060109976679086685, 0.02170228213071823, -0.0273260697722435, -0.09846235066652298, 0.03956932947039604, -0.007011293899267912, 0.0473504364490509, 0.013828982599079609, 0.004425274208188057, -0.04860426485538483, -0.03460933268070221, 0.000567564507946372, -0.024744659662246704, -0.003533304901793599, -0.013681473210453987, 0.05044812709093094, -0.0007202595006674528, -0.012907050549983978, 0.05140693858265877, 0.04270389676094055, -0.0006073227850720286, 0.008016199804842472, 0.05118567496538162, -0.015506898984313011, -0.002477692672982812, 0.02151789702475071, 0.008527872152626514, 0.0012930098455399275, -0.06656350195407867, -0.011699318885803223, -0.014870765618979931, -0.026588523760437965, -0.005868098232895136, -0.0021826743613928556, -0.044658392667770386, -0.014253071509301662, 0.0054209609515964985, 0.027289191260933876, -0.021499458700418472, 0.038794904947280884, -0.01768265850841999, 0.018364887684583664, -0.013736789114773273, -0.030276251956820488, 0.033429261296987534, 0.03894241526722908, -0.046059731394052505, 0.011634783819317818, 0.014363703317940235, 0.008186757564544678, -0.01506437174975872, 0.0031253499910235405, -0.004623489920049906, -0.008320437744259834, 0.027307629585266113, 0.012667347677052021, 0.0049000694416463375, -0.018364887684583664, -0.005218136124312878, 0.01662243716418743, -0.05343518778681755, 0.02585097774863243, 0.012446084059774876, 0.08452273905277252, 0.05273452028632164, -0.0016629351302981377, 0.024209938943386078, 0.07257449626922607, -0.03064502403140068, 0.028764283284544945, -0.0022011129185557365, 0.023583024740219116, -0.030940042808651924, -0.011994337663054466, -0.058192357420921326, -0.01628132164478302, -0.02489216811954975, 0.0004304270842112601, 0.023712094873189926, -0.06892364472150803, 0.01110928226262331, 0.038721151649951935, -0.04845675453543663, -0.01554377656430006, -0.03206479921936989, 0.024099307134747505, -0.037707023322582245, -0.062359489500522614, 0.038794904947280884, -0.09698726236820221, 0.002615982433781028, 0.015801917761564255, 0.015930987894535065, -0.019895296543836594, -0.021020052954554558, 0.006983635947108269, 0.0024062430020421743, -0.0055223735980689526, -0.07028810679912567, 0.0010066346731036901, 0.07471337914466858, -0.0032498107757419348, -0.023269567638635635, 0.03590003773570061, 0.005056797992438078, 0.0314747653901577, -0.014658721163868904, -0.03632412850856781, 0.051812585443258286, -0.009477462619543076, -0.06129004806280136, -0.005748246796429157, 0.012206382118165493, -0.016428830102086067, 0.02942807413637638, 0.0019452768610790372, -0.03824174404144287, -0.00849099550396204, 0.039421819150447845, -0.03813111409544945, -0.025906292721629143, -0.0547996461391449, -0.019176188856363297, -0.03652695193886757, -0.01934213750064373, -0.015949426218867302, -0.03772546350955963, 0.017608903348445892, 0.013552403077483177, -0.0010544599499553442, 0.007186461240053177, -0.016686972230672836, 0.004259326495230198, -0.011634783819317818, -0.03269171342253685, 0.006979026366025209, 0.02688354067504406, -0.0012653518933802843, 0.004116427153348923, -0.0547996461391449, 0.0569385290145874, -0.019618716090917587, -0.02408086694777012, -0.017673440277576447, 0.031825099140405655, 0.04967370629310608, -0.0316222719848156, 0.008643114008009434, -0.01755358837544918, -0.003971222788095474, -0.02699417434632778, -0.09086563438177109, -0.0028902573976665735, 0.00898422859609127, 0.023417076095938683, -0.0333370678126812, 0.02688354067504406, -0.06136380508542061, 0.013358796946704388, -0.02994435653090477, -0.008887425996363163, 0.04653913527727127, -0.053287677466869354, 0.0499318465590477, 0.0073109217919409275, 0.03359520807862282, 0.04015936329960823, 0.013810543343424797, -0.010639096610248089, -0.040896911174058914, 0.0593724325299263, 0.056348491460084915, 0.03982746973633766, -0.04889928176999092, 0.0019602582324296236, -0.0010014488361775875, 0.05173883214592934, -0.012132626958191395, 0.015884891152381897, -0.021886669099330902, 0.0016341247828677297, 0.009011887013912201, -0.005453228484839201, -0.05369332805275917, -0.018807416781783104, 0.04425274208188057, -0.06851799786090851, -0.00004577248910209164, 0.02496592327952385, -0.012768760323524475, 0.006034045945852995, 0.06147443503141403, -0.020909421145915985, 0.007951664738357067, 0.0351993702352047, -0.029538705945014954, 0.004554344806820154, -0.028063613921403885, 0.025703469291329384, 0.015691285952925682, -0.02491060644388199, 0.0735333114862442, 0.008629284799098969, -0.008214415051043034, -0.0012284745462238789, 0.05148069187998772, 0.04189259558916092, 0.01758124679327011, 0.011090843938291073, -0.00625530956313014, 0.04174508899450302, 0.021868230774998665, -0.01573738269507885, -0.03160383552312851, 0.09595470130443573, -0.04794047027826309, -0.0064996215514838696, 0.014096342958509922, 0.0010849989484995604, 0.0022333806846290827, -0.04078627750277519, -0.05996246635913849, 0.055832210928201675, 0.05645912513136864, 0.005195087753236294, 0.07504528015851974, 0.008998057805001736, 0.0021699978969991207 ]
44,167
astropy.modeling.core
_generic_evaluate
Generic model evaluation routine. Selects and evaluates model with or without bounding_box enforcement.
def _generic_evaluate(self, evaluate, _inputs, fill_value, with_bbox): """Generic model evaluation routine. Selects and evaluates model with or without bounding_box enforcement. """ # Evaluate the model using the prepared evaluation method either # enforcing the bounding_box or not. bbox = self.get_bounding_box(with_bbox) if (not isinstance(with_bbox, bool) or with_bbox) and bbox is not None: outputs = bbox.evaluate(evaluate, _inputs, fill_value) else: outputs = evaluate(_inputs) return outputs
(self, evaluate, _inputs, fill_value, with_bbox)
[ 0.0697658583521843, -0.09571240842342377, -0.012679995968937874, 0.03193289041519165, -0.03170861676335335, -0.012818009592592716, -0.02784423716366291, -0.07014539837837219, 0.01733795367181301, -0.01532813161611557, 0.031777624040842056, 0.005050433799624443, -0.022133925929665565, -0.0018373056082054973, -0.025929298251867294, 0.023979857563972473, 0.0531352236866951, -0.012429846450686455, 0.05734463781118393, -0.050409454852342606, -0.05061647668480873, -0.04264619201421738, -0.020650280639529228, 0.012740377336740494, 0.037712205201387405, -0.02161637507379055, 0.05520542711019516, -0.024514660239219666, -0.006736787036061287, 0.04233566299080849, -0.0005498977843672037, -0.02870682254433632, 0.03798823431134224, 0.025808537378907204, 0.00815142598003149, -0.04820123687386513, 0.0020400129724293947, 0.07307818531990051, -0.006158855278044939, -0.032157160341739655, -0.06565995514392853, -0.06735061854124069, 0.0471661351621151, 0.01918388530611992, -0.05354926362633705, -0.02106432057917118, 0.023013761267066002, 0.043819308280944824, 0.00012534434790723026, -0.023893598467111588, -0.04909832775592804, -0.0020378564950078726, 0.04171460121870041, 0.05979437753558159, -0.05082349479198456, 0.0024864005390554667, -0.019408157095313072, 0.05906980484724045, 0.037643201649188995, -0.0032260671723634005, -0.029569406062364578, -0.014336159452795982, -0.055722977966070175, -0.008806990459561348, 0.027326686307787895, 0.011110091581940651, -0.07190506905317307, 0.010497656650841236, -0.04036896675825119, 0.04264619201421738, -0.05406681448221207, -0.009384922683238983, 0.0008270031539723277, -0.007103385869413614, 0.03500369191169739, -0.04609652981162071, 0.0023031013552099466, 0.023910850286483765, 0.05768967047333717, -0.009695452637970448, 0.03560749813914299, 0.03543498367071152, -0.004899481777101755, -0.08543039858341217, -0.04768368601799011, -0.0049253590404987335, -0.0029845433309674263, 0.04133506119251251, 0.09205504506826401, -0.004494066815823317, 0.008591344580054283, -0.016622008755803108, 0.01374097540974617, 0.03060450777411461, 0.007978909648954868, 0.0428532138466835, 0.009824840351939201, -0.013490825891494751, -0.02784423716366291, -0.019321899861097336, -0.006094161421060562, 0.05223813280463219, -0.013947996310889721, 0.0036746112164109945, 0.01807977631688118, -0.0048434133641421795, -0.00903988815844059, -0.013050908222794533, -0.0010059894993901253, 0.050788991153240204, -0.014155016280710697, 0.004067087080329657, -0.05806920677423477, 0.0340893492102623, -0.06321021169424057, 0.00863878708332777, -0.06038093566894531, 0.02753370627760887, -0.026895392686128616, -0.02656761184334755, -0.024273136630654335, 0.015828430652618408, -0.004323706030845642, -0.019580675289034843, -0.002084220526739955, 0.03153609856963158, 0.01880434900522232, 0.05662006512284279, -0.005279019009321928, -0.03891982510685921, 0.023427803069353104, -0.04219764843583107, 0.015474771149456501, 0.05106502026319504, -0.02070203423500061, 0.036608099937438965, -0.03540048003196716, -0.007694256491959095, 0.01807977631688118, 0.0372636616230011, 0.04633805528283119, -0.0006738943629898131, 0.04333626106381416, -0.013111288659274578, 0.018545573577284813, -0.015224621631205082, -0.000047172605263767764, -0.020063722506165504, 0.014051506295800209, -0.014620811678469181, -0.031725868582725525, 0.05258316919207573, 0.038195256143808365, -0.04685560613870621, -0.01807977631688118, 0.04016194865107536, 0.0622786208987236, -0.060967493802309036, 0.018838850781321526, -0.03445163741707802, -0.024945951998233795, 0.0349174328148365, 0.024583665654063225, 0.00011793151497840881, 0.023617571219801903, 0.05085799843072891, -0.036608099937438965, -0.027136918157339096, 0.01930464804172516, 0.029327882453799248, -0.01727757416665554, -0.039368368685245514, -0.05292820185422897, 0.001344554009847343, -0.0015763737028464675, 0.026774631813168526, -0.005697372369468212, -0.013732349500060081, 0.0007067804108373821, 0.013870363123714924, 0.011938173323869705, -0.03010420873761177, -0.042784206569194794, -0.015862934291362762, -0.026774631813168526, 0.04775269329547882, -0.02394535392522812, -0.025359991937875748, -0.04740766063332558, 0.006835984531790018, -0.07908177375793457, -0.0031850943341851234, -0.003916135057806969, 0.027067910879850388, -0.022565217688679695, -0.01751909777522087, 0.010851316154003143, 0.07708057761192322, -0.006201984826475382, 0.061830077320337296, -0.029086358845233917, -0.0801168754696846, 0.027154168114066124, 0.03353729471564293, -0.051444556564092636, 0.006607399322092533, -0.020184483379125595, 0.0009278177749365568, 0.004653644748032093, -0.04368129372596741, -0.052065618336200714, 0.018735341727733612, -0.050961509346961975, 0.07563143223524094, 0.051444556564092636, 0.09129597246646881, 0.03438263013958931, -0.0014858023496344686, -0.02479068748652935, 0.038126248866319656, 0.02736118994653225, -0.030276725068688393, 0.038747306913137436, -0.016691016033291817, 0.08046191185712814, 0.0015267750713974237, 0.01078230980783701, -0.005572297610342503, 0.03854028880596161, -0.01758810319006443, 0.008474895730614662, -0.003126869909465313, 0.027205923572182655, -0.0019710061606019735, -0.020684782415628433, -0.026826387271285057, 0.01083406526595354, 0.015724919736385345, -0.01569041796028614, 0.036056045442819595, -0.008457643911242485, 0.004192161839455366, -0.0919860377907753, -0.03705664351582527, -0.0011181255104020238, -0.03788472339510918, 0.002585597801953554, 0.02491144835948944, -0.006413317751139402, -0.028051257133483887, -0.02277223765850067, 0.02900009974837303, 0.014939968474209309, 0.011869166977703571, 0.004994365852326155, 0.04923633858561516, -0.020477762445807457, -0.03286448121070862, 0.05361827090382576, 0.04185261204838753, 0.05165157839655876, 0.05392879992723465, 0.005429971031844616, 0.05258316919207573, -0.028137516230344772, -0.03126007318496704, -0.012317710556089878, 0.04720063880085945, 0.05372178182005882, 0.025118468329310417, -0.030828779563307762, 0.067868173122406, 0.021892402321100235, -0.014482798986136913, 0.01887335442006588, 0.03345103934407234, 0.021392103284597397, 0.04230115935206413, -0.004468189086765051, -0.03058725595474243, 0.028189271688461304, 0.017148185521364212, -0.02247895859181881, 0.03198464214801788, -0.042715199291706085, -0.06010490655899048, -0.015155614353716373, -0.031484343111515045, 0.0034136793110519648, -0.04813222959637642, 0.0055852364748716354, 0.003243318758904934, 0.09488432854413986, 0.002796931192278862, -0.014819206669926643, -0.07052493095397949, -0.02325528673827648, -0.06579796969890594, 0.02625708095729351, -0.006650528870522976, 0.004817536100745201, -0.003756556659936905, 0.044854409992694855, -0.02327253669500351, 0.08142800629138947, -0.01680315099656582, 0.020011967048048973, -0.006068284157663584, 0.018407559022307396, 0.02846529707312584, 0.0023419177159667015, -0.010126745328307152, 0.027154168114066124, 0.00943667721003294, 0.03836777061223984, -0.022427204996347427, 0.013490825891494751, -0.052307140082120895, 0.02912086248397827, -0.036539092659950256, 0.017001546919345856, 0.005537794437259436, 0.0365045890212059, 0.024566413834691048, -0.06417630612850189, -0.03657359629869461, -0.0349174328148365, -0.0016065641539171338, -0.06169206276535988, 0.010428650304675102, 0.0027861488051712513, 0.01807977631688118, 0.06231312453746796, 0.0487532913684845, 0.005033182445913553, -0.015586907044053078, 0.02291025221347809, 0.05934583395719528, 0.02278948947787285, 0.008750922977924347, -0.01374097540974617, 0.016656512394547462, 0.02358306758105755, 0.014482798986136913, 0.007396664470434189, 0.015121111646294594, -0.03543498367071152, 0.0016691015334799886, 0.057137615978717804, -0.0007633875356987119, -0.042715199291706085, -0.03503819555044174, 0.02517022378742695, -0.044681891798973083, -0.029172617942094803, 0.02077104151248932, 0.03269196301698685, -0.0038988832384347916, -0.002913380041718483, -0.03981691226363182, 0.05855225399136543, -0.0003355993831064552, -0.0356765054166317, 0.02546350285410881, 0.006771290674805641, -0.001055588130839169, 0.013171670027077198, 0.030397487804293633, 0.019011368975043297, -0.031173814088106155, 0.001186054083518684, -0.02606731280684471, -0.011860541068017483, 0.0013100506039336324, -0.005257454235106707, 0.028982847929000854, -0.039299361407756805, -0.039368368685245514, 0.034779418259859085, 0.024635421112179756, 0.01928739622235298, 0.025981053709983826, 0.017631232738494873, -0.03891982510685921, 0.021340347826480865, -0.03157060220837593, -0.01844206266105175, 0.027585461735725403, 0.011782907880842686, -0.03854028880596161, 0.02265147678554058, -0.021029816940426826, -0.014249900355935097, -0.00036605942295864224, -0.07211209088563919, -0.015604158863425255, 0.06807519495487213, 0.02596380189061165, -0.04150757938623428, -0.041990626603364944, -0.05037495121359825, 0.049374353140592575, -0.008694854564964771, -0.0015364791033789515, -0.015362635254859924, -0.0005178204155527055, -0.010204377584159374, 0.04388831555843353, -0.010799561627209187, 0.015509274788200855, 0.010696051642298698, 0.013214798644185066, -0.01643224060535431, 0.04537196084856987, -0.03640107810497284, 0.039713405072689056, 0.011429248377680779, 0.036435581743717194, -0.0002184765471611172, -0.003008264349773526, 0.0005849403096362948, 0.0017585947643965483, 0.007582120131701231, 0.029966196045279503, 0.02199591137468815, 0.013197546824812889, 0.016216594725847244, -0.025843041017651558, 0.0042137266136705875, 0.0010728398337960243, -0.06131252646446228, -0.07287116348743439, -0.10992780327796936, 0.013292431831359863, 0.004977114032953978, -0.006344310939311981, -0.020564021542668343, -0.029879936948418617, -0.0075389910489320755, -0.025618767365813255, -0.028292780742049217, 0.006245113909244537, 0.03909234330058098, -0.003458965104073286, -0.06669505685567856, -0.030984045937657356, -0.0356765054166317, 0.0432327501475811, -0.11330913752317429, -0.02454916387796402, 0.03981691226363182, 0.01745871640741825, 0.050098925828933716, 0.022133925929665565, 0.011455126106739044, -0.013473574072122574, -0.029051855206489563, -0.010333765298128128, 0.027637217193841934, 0.02039150521159172, -0.04409533366560936, 0.0026955774519592524, 0.008591344580054283, -0.05427383631467819, -0.043577782809734344, 0.03458964824676514, -0.0044423118233680725, 0.0050719985738396645, -0.007090447004884481, -0.0009574691066518426, 0.021512864157557487, -0.04061049222946167, -0.008647412061691284, -0.002555407350882888, 0.02039150521159172, 0.04740766063332558, 0.03584902361035347, 0.04368129372596741, -0.0056024882942438126, -0.0467865988612175, 0.0006755117210559547, -0.025515258312225342, -0.03640107810497284, 0.02473893202841282, 0.006309807766228914, 0.039782408624887466, 0.009729956276714802, 0.016458118334412575, -0.009177901782095432, -0.0067454129457473755, -0.029517650604248047, 0.044785402715206146, 0.0808759480714798, -0.0008005864801816642, -0.062451139092445374, -0.03992042317986488, 0.04067949950695038, 0.01820053905248642, 0.03144983947277069, -0.04337076470255852, 0.03191563859581947, 0.004571699537336826, 0.035072699189186096, 0.02173713594675064, 0.029414141550660133, -0.011127343401312828, 0.003465434303507209, 0.008910500444471836, -0.03143259137868881, -0.011110091581940651, -0.05044395849108696, -0.022754985839128494, 0.04554447531700134, -0.01316304411739111, 0.03131182864308357, -0.01740696094930172, 0.06010490655899048, -0.02327253669500351, -0.052859194576740265, -0.01029063668102026, 0.03891982510685921, -0.008720732294023037, -0.0014027785509824753, -0.02625708095729351, 0.026602115482091904, 0.06486637890338898, -0.0014146390603855252, 0.07149102538824081, 0.02663661725819111, -0.024997707456350327, 0.04682110249996185, 0.017872756347060204, 0.04150757938623428, 0.024411149322986603, -0.03571100905537605, -0.02209942229092121, 0.01625109650194645, -0.008103984408080578, -0.034037597477436066, 0.042232152074575424, 0.02265147678554058, 0.03383057564496994, 0.010152623057365417, 0.03289898484945297, 0.03467590734362602, 0.00754330400377512, 0.033744316548109055, -0.020736537873744965, 0.018183287233114243, -0.031070303171873093, 0.02021898701786995, 0.002529529854655266, 0.04316374287009239, 0.013387315906584263, 0.023358795791864395, -0.01997746340930462, -0.029638413339853287, 0.04195612296462059, -0.0384712815284729, 0.00635293684899807, -0.0038341893814504147, -0.012697247788310051, 0.08446430414915085, -0.011506880633533001, -0.014939968474209309, -0.02082279697060585, -0.042784206569194794, -0.0027904617600142956, 0.010618418455123901, -0.04499242082238197, 0.016147587448358536, 0.0002479931281413883, 0.01358570996671915, -0.03888532146811485, -0.004502692725509405, 0.02278948947787285, -0.047476667910814285, -0.041611090302467346, -0.09088193625211716, -0.00034584259265102446, -0.0384712815284729, -0.053342241793870926, 0.014672567136585712, -0.07238811254501343, -0.011308486573398113, -0.042956721037626266, -0.02442840114235878, 0.04609652981162071, -0.03836777061223984, 0.0013175982749089599, 0.014853710308670998, 0.07073195278644562, -0.010661548003554344, 0.016889410093426704, 0.04185261204838753, 0.0021165674552321434, -0.056206025183200836, 0.004903794731944799, -0.05565397068858147, -0.10026685893535614, -0.02327253669500351, 0.025325490161776543, 0.04885680228471756, 0.03912684693932533, -0.0020551083143800497, -0.04623454436659813, -0.0729401707649231, 0.030570004135370255, -0.019201137125492096, -0.046924613416194916, 0.028655067086219788, 0.025998305529356003, 0.06904128938913345, 0.06521140784025192, 0.03341653570532799, 0.01211931649595499, -0.07000738382339478, 0.06441783159971237, -0.0006021920125931501, 0.012990526854991913, -0.00369401928037405, -0.019028620794415474, -0.05441184714436531, 0.00010404928616480902, -0.02461816929280758, -0.05693059414625168, 0.05006442219018936, -0.10005983710289001, 0.019011368975043297, 0.03719465434551239, -0.00008733670983929187, 0.0011310642585158348, 0.027878740802407265, -0.031484343111515045, 0.019873954355716705, -0.04078301042318344, 0.05216912925243378, 0.042542681097984314, -0.0372636616230011, -0.05824172496795654, -0.015526525676250458, -0.006171794142574072, 0.01930464804172516, 0.005110814701765776, 0.06082947924733162, -0.004133937414735556, -0.04506142809987068, 0.05247965827584267, 0.12559235095977783, 0.0479942187666893, -0.03629756718873978, 0.003064332529902458, 0.02724042721092701, -0.00038061552913859487, 0.017855504527688026, 0.07273314893245697, 0.03381332382559776, -0.04823574051260948, 0.025118468329310417, 0.007961657829582691, -0.09612645208835602, -0.015052104368805885, -0.020253490656614304, 0.005960460752248764, -0.024324890226125717, 0.00046822181320749223, -0.06773015856742859, 0.00699124950915575, -0.01037689484655857, -0.01863183081150055, 0.013094036839902401, -0.006732474081218243, -0.013076785020530224, 0.0016572410240769386, -0.06027742475271225, -0.022668728604912758, -0.023721082136034966, -0.06138153374195099, -0.04499242082238197, -0.029224373400211334, 0.03438263013958931, -0.04036896675825119, -0.07211209088563919, 0.021116076037287712, 0.028982847929000854, -0.07114599645137787, -0.0019214076455682516, 0.04019645228981972, -0.010359643027186394, -0.024773435667157173, -0.01587156020104885, -0.052617672830820084, 0.0575171522796154, -0.03246769309043884, -0.031001297757029533, -0.02912086248397827, -0.03467590734362602, 0.0012981900945305824, 0.028689570724964142, 0.060725968331098557, -0.0002234633720945567, -0.0008474895730614662, -0.08901874721050262, 0.029396889731287956, 0.01538851298391819, 0.028292780742049217, -0.06289967894554138, 0.03522796183824539, -0.013620213605463505, -0.0824631080031395, 0.016449492424726486, -0.014500049874186516, 0.01600957289338112, -0.03864379972219467, -0.008138487115502357, 0.03433087468147278, -0.005757753271609545, 0.038678303360939026, 0.0029759174212813377, -0.03753969073295593, 0.02661936730146408, 0.01837305538356304, 0.020564021542668343, -0.08294615149497986, -0.005356651730835438, 0.056585561484098434, -0.027706222608685493, -0.07687355577945709, 0.073768250644207, 0.004446624778211117, 0.07121499627828598, 0.024997707456350327, 0.01151550654321909, 0.013913492672145367, -0.04212864115834236, -0.016414988785982132, 0.00622786208987236, -0.05241065099835396, -0.0340893492102623, -0.023186279460787773, 0.006948120426386595, 0.0004407269007060677, 0.023220783099532127, -0.05051296576857567, -0.022634224966168404, 0.02839629165828228, -0.0069093042984604836, 0.0004816996806766838, 0.041680097579956055, 0.020443258807063103, 0.040955524891614914, 0.05693059414625168, 0.0840502604842186, 0.00551191670820117, 0.12000279873609543, 0.04281871020793915, -0.010713303461670876, -0.01166214607656002, -0.013068159110844135, -0.0033425160218030214, 0.024825189262628555, 0.04343976825475693, -0.04737315699458122, 0.02040875516831875, -0.045095931738615036, -0.008875997737050056, 0.003262727055698633, 0.06448683887720108 ]
44,168
astropy.modeling.core
_get_renamed_inputs_as_positional
null
def _get_renamed_inputs_as_positional(self, *args, **kwargs): def _keyword2positional(kwargs): # Inputs were passed as keyword (not positional) arguments. # Because the signature of the ``__call__`` is defined at # the class level, the name of the inputs cannot be changed at # the instance level and the old names are always present in the # signature of the method. In order to use the new names of the # inputs, the old names are taken out of ``kwargs``, the input # values are sorted in the order of self.inputs and passed as # positional arguments to ``__call__``. # These are the keys that are always present as keyword arguments. keys = [ "model_set_axis", "with_bounding_box", "fill_value", "equivalencies", "inputs_map", ] new_inputs = {} # kwargs contain the names of the new inputs + ``keys`` allkeys = list(kwargs.keys()) # Remove the names of the new inputs from kwargs and save them # to a dict ``new_inputs``. for key in allkeys: if key not in keys: new_inputs[key] = kwargs[key] del kwargs[key] return new_inputs, kwargs n_args = len(args) new_inputs, kwargs = _keyword2positional(kwargs) n_all_args = n_args + len(new_inputs) if n_all_args < self.n_inputs: raise ValueError( f"Missing input arguments - expected {self.n_inputs}, got {n_all_args}" ) elif n_all_args > self.n_inputs: raise ValueError( f"Too many input arguments - expected {self.n_inputs}, got {n_all_args}" ) if n_args == 0: # Create positional arguments from the keyword arguments in ``new_inputs``. new_args = [] for k in self.inputs: new_args.append(new_inputs[k]) elif n_args != self.n_inputs: # Some inputs are passed as positional, others as keyword arguments. args = list(args) # Create positional arguments from the keyword arguments in ``new_inputs``. new_args = [] for k in self.inputs: if k in new_inputs: new_args.append(new_inputs[k]) else: new_args.append(args[0]) del args[0] else: new_args = args return new_args, kwargs
(self, *args, **kwargs)
[ -0.023939935490489006, -0.04842045158147812, -0.01336002815514803, -0.034075796604156494, -0.058459777384996414, -0.03463568165898323, -0.00886163767427206, 0.04529281333088875, 0.10394565761089325, -0.003031104803085327, -0.01641044020652771, -0.0032507150899618864, -0.026237396523356438, 0.049308545887470245, 0.016748301684856415, 0.009271898306906223, 0.03645048290491104, 0.05351733788847923, -0.07985126972198486, -0.06131712347269058, 0.03894100710749626, -0.015155524015426636, -0.010377190075814724, 0.013572398573160172, 0.059463709592819214, 0.03002145141363144, 0.033921342343091965, 0.00018537159485276788, 0.03069717437028885, -0.026121558621525764, -0.005087236408144236, 0.03913407027721405, -0.007447443436831236, 0.05386485531926155, -0.0052320342510938644, -0.05687665194272995, -0.03284018486738205, 0.046335358172655106, 0.05656775087118149, 0.002467599231749773, 0.032106541097164154, -0.10533571243286133, 0.030542723834514618, -0.009860743768513203, 0.03550446778535843, 0.03034966066479683, -0.02121773362159729, 0.023669645190238953, -0.009913836605846882, 0.007626027800142765, 0.009706292301416397, -0.04660564661026001, 0.06131712347269058, 0.022105827927589417, -0.0037912942934781313, -0.0008983509032987058, 0.04861351475119591, 0.030060064047574997, -0.00046968850074335933, -0.04977189749479294, -0.012771183624863625, 0.036894530057907104, 0.02587057463824749, -0.03513764590024948, -0.04903825372457504, -0.10657132416963577, 0.0028356274124234915, -0.0427829809486866, -0.020348945632576942, 0.028303181752562523, -0.05062137916684151, -0.03216446191072464, 0.004061583895236254, -0.03826528415083885, 0.011236324906349182, 0.02868930995464325, 0.02619878388941288, -0.01177690364420414, 0.032898105680942535, 0.0002467599115334451, -0.02917196974158287, -0.0027994278352707624, -0.07591276615858078, 0.011738291010260582, -0.01601465791463852, 0.01837969198822975, -0.03498319536447525, 0.014228816144168377, 0.03554308041930199, -0.0561043955385685, -0.03907615318894386, 0.01451841276139021, 0.0031855558045208454, 0.033554524183273315, 0.011458348482847214, -0.006819985806941986, -0.0686921700835228, -0.0450611375272274, 0.008079728111624718, -0.0015915712574496865, -0.06170325353741646, 0.031063996255397797, -0.03832320123910904, 0.022781550884246826, 0.0366242416203022, -0.04073650389909744, -0.003730961587280035, -0.02368895150721073, 0.004568376578390598, -0.0072447266429662704, -0.022337503731250763, 0.004648015834391117, -0.026256702840328217, 0.060930997133255005, -0.009223632514476776, -0.05224311724305153, 0.0041725956834852695, 0.0041026100516319275, -0.022781550884246826, -0.007375044748187065, -0.0593864843249321, 0.09591419249773026, 0.012230603955686092, 0.00887129083275795, -0.0028645871207118034, 0.010744011029601097, 0.018408652395009995, 0.00911262072622776, 0.036913834512233734, -0.04544726386666298, 0.008070074953138828, -0.017491597682237625, -0.041199855506420135, 0.04822738468647003, 0.017404718324542046, 0.02421022579073906, 0.05289953574538231, 0.0467987135052681, -0.0603904165327549, 0.04996496066451073, 0.07525634765625, 0.04092956706881523, 0.038535572588443756, 0.04425026848912239, -0.06270718574523926, -0.019200215116143227, 0.08880943804979324, 0.008779585361480713, -0.014026098884642124, 0.009189845994114876, -0.0046576689928770065, -0.0030262782238423824, -0.008422416634857655, 0.01367858424782753, 0.013861995190382004, -0.04509975016117096, -0.024403288960456848, -0.08062352240085602, -0.01597604528069496, 0.03980979695916176, -0.007268859539180994, -0.033573828637599945, 0.03170110657811165, -0.008808544836938381, 0.022955309599637985, 0.006062209606170654, 0.050312478095293045, -0.06096960976719856, 0.0033786199055612087, 0.017472291365265846, 0.05019664019346237, 0.0666843056678772, 0.022588487714529037, -0.008977475576102734, -0.024499820545315742, 0.006149088032543659, -0.03098677098751068, -0.03554308041930199, 0.005772613454610109, 0.0016084644012153149, 0.04529281333088875, -0.03365105390548706, -0.023824097588658333, -0.022144440561532974, 0.05193421617150307, 0.02785913459956646, -0.004464604891836643, 0.06255273520946503, -0.04197211191058159, 0.0050148372538387775, 0.00362718990072608, 0.00886163767427206, 0.04660564661026001, 0.07618305087089539, -0.043516624718904495, 0.024403288960456848, -0.07915623486042023, 0.03201001137495041, 0.058614227920770645, 0.07181980460882187, -0.05301537364721298, 0.0020983642898499966, 0.006926171015948057, 0.025329995900392532, -0.05069860443472862, -0.0025267249438911676, 0.022916696965694427, -0.05062137916684151, -0.02766606956720352, -0.021430103108286858, 0.01451841276139021, -0.02073507383465767, 0.03459706902503967, -0.07382766902446747, -0.028554165735840797, 0.042049337178468704, 0.0729781910777092, 0.008070074953138828, 0.012993207201361656, 0.007519842591136694, 0.07089310139417648, 0.018582409247756004, 0.01211476605385542, -0.002235922496765852, 0.024654272943735123, -0.018978191539645195, 0.022434035316109657, 0.039693959057331085, -0.029577404260635376, -0.003296567825600505, 0.0230325348675251, -0.040041472762823105, -0.013707543723285198, -0.00879406463354826, -0.06583482027053833, -0.031759027391672134, 0.004213621839880943, -0.11321272701025009, 0.009826957248151302, 0.003521004691720009, -0.03859349340200424, 0.03251197561621666, 0.0065062567591667175, 0.03332284465432167, -0.010618519969284534, -0.03351590782403946, 0.04162459820508957, 0.014151590876281261, 0.024268144741654396, 0.023109760135412216, 0.017974257469177246, 0.05062137916684151, -0.03102538362145424, 0.0881144106388092, -0.03996424749493599, 0.03384411707520485, -0.03940436244010925, 0.02137218415737152, -0.005666428245604038, -0.02222166582942009, 0.003113156883046031, 0.02108258754014969, -0.006472470238804817, -0.017819806933403015, 0.022144440561532974, 0.00887129083275795, 0.06116267293691635, -0.029712548479437828, -0.01623668149113655, 0.0025339650455862284, -0.06988916546106339, 0.04722345247864723, -0.041392918676137924, 0.03117983601987362, 0.032106541097164154, 0.0011445075506344438, 0.017617089673876762, -0.01940293237566948, -0.012771183624863625, -0.02355380728840828, 0.07946514338254929, -0.015696102753281593, -0.00749570969492197, -0.025059707462787628, 0.03685591742396355, 0.015174830332398415, 0.026449767872691154, 0.027743296697735786, 0.02998283877968788, -0.04741651564836502, 0.03100607730448246, 0.00013099693751428276, 0.030137289315462112, -0.035369325429201126, -0.049154091626405716, -0.0044935643672943115, -0.09375187754631042, -0.04108401760458946, 0.0073122987523674965, -0.009281551465392113, -0.004867625888437033, -0.0022178227081894875, -0.01865963451564312, -0.03681730479001999, 0.036894530057907104, -0.014325348660349846, -0.024441901594400406, -0.007891491055488586, 0.0010491821449249983, -0.01614980399608612, -0.026082945987582207, 0.013649624772369862, -0.07761172950267792, -0.06946442276239395, -0.009054701775312424, -0.03618019446730614, 0.04903825372457504, 0.02007865533232689, 0.04926993325352669, 0.06892384588718414, -0.004404272418469191, -0.03363174945116043, -0.08626098930835724, -0.010801930911839008, -0.05351733788847923, 0.041199855506420135, -0.017452985048294067, 0.021314265206456184, 0.03164318948984146, -0.009817304089665413, -0.021294958889484406, 0.03031104803085327, -0.026951733976602554, 0.030562030151486397, -0.036045048385858536, -0.06185770407319069, 0.018341079354286194, 0.009706292301416397, 0.04147014766931534, -0.030967464670538902, -0.007109581492841244, 0.0004624486027751118, -0.04737790301442146, -0.010097246617078781, -0.0334772951900959, 0.004442885052412748, 0.017954951152205467, 0.04062066599726677, 0.06927136331796646, -0.008296925574541092, 0.010299963876605034, -0.03280157223343849, 0.002825974253937602, -0.010164819657802582, 0.05567965656518936, 0.040195923298597336, -0.030060064047574997, -0.01815766841173172, 0.03067786805331707, -0.09066285192966461, 0.06853771954774857, -0.08193635940551758, 0.019827673211693764, -0.010261351242661476, 0.03758956119418144, -0.05320843681693077, 0.02502109296619892, -0.028940292075276375, 0.023322131484746933, 0.007616374641656876, 0.0171730425208807, -0.04409581795334816, -0.020271720364689827, -0.00886163767427206, -0.05351733788847923, 0.04031176120042801, -0.005415445193648338, -0.00809420831501484, -0.01608223095536232, -0.029616016894578934, 0.012191991321742535, -0.048497676849365234, -0.0008555148378945887, 0.017771540209650993, 0.010299963876605034, -0.003892652690410614, 0.05085305497050285, -0.0007318332209251821, 0.0875738263130188, -0.003902306081727147, -0.05019664019346237, -0.01209545973688364, 0.03832320123910904, -0.043362174183130264, 0.04189488664269447, -0.018843045458197594, 0.006260099820792675, 0.010753664188086987, -0.055602431297302246, -0.013331068679690361, -0.013881301507353783, -0.03139220550656319, 0.010715051554143429, 0.013311762362718582, 0.00659313565120101, -0.030098676681518555, 0.023437969386577606, 0.03395995497703552, 0.015696102753281593, 0.013205577619373798, -0.004602163098752499, 0.042667143046855927, 0.02672005631029606, -0.02652699314057827, 0.024808723479509354, 0.05286092311143875, -0.04108401760458946, 0.009904182516038418, 0.009064354933798313, 0.007404004223644733, 0.025812655687332153, 0.046644262969493866, -0.0043342867866158485, 0.0323382206261158, 0.08525706082582474, 0.024924561381340027, -0.07483160495758057, 0.02318698540329933, 0.03270504251122475, 0.05803503841161728, -0.05923203378915787, -0.01564783602952957, -0.05575688183307648, 0.002980425488203764, -0.01986628584563732, 0.03216446191072464, 0.03664354607462883, 0.014779048971831799, -0.00480729341506958, 0.06614372134208679, -0.024808723479509354, -0.0356203056871891, 0.02324490435421467, 0.025484446436166763, -0.016381479799747467, -0.02204790897667408, 0.02783982828259468, 0.044018592685461044, -0.01225956343114376, -0.030465498566627502, 0.11460278928279877, 0.03270504251122475, 0.00721094012260437, -0.06378834694623947, 0.03312978148460388, -0.03413371369242668, -0.044366106390953064, 0.0024422595743089914, -0.02753092534840107, -0.008021809160709381, 0.03594851493835449, 0.015087950974702835, 0.019151948392391205, 0.052127279341220856, -0.026102252304553986, -0.008070074953138828, 0.013070432469248772, -0.046528421342372894, -0.0586528405547142, 0.01781015284359455, 0.050466928631067276, -0.06934858858585358, 0.0077080801129341125, -0.016970325261354446, -0.08093242347240448, 0.021024668589234352, 0.043362174183130264, 0.0021381836850196123, -0.029944226145744324, -0.011062567122280598, 0.04490668699145317, -0.03517625853419304, 0.022916696965694427, 0.031141221523284912, -0.0387672483921051, 0.012935287319123745, -0.0030721307266503572, 0.019431890919804573, -0.031739719212055206, 0.027415087446570396, -0.041354306042194366, 0.008263139054179192, 0.05807365104556084, 0.04181766137480736, -0.008103861473500729, -0.04730067774653435, 0.015348587185144424, 0.0036030567716807127, 0.005840186029672623, 0.013504826463758945, 0.011564533226191998, 0.001764122280292213, 0.04440471902489662, 0.008996781893074512, 0.04544726386666298, -0.015387200750410557, -0.024499820545315742, 0.00022685019939672202, -0.033573828637599945, -0.006771719548851252, -0.08062352240085602, -0.02870861627161503, 0.04838183894753456, 0.0024060599971562624, 0.008378976956009865, -0.002888720016926527, -0.021584555506706238, 0.07201287150382996, -0.03992563486099243, -0.001292322063818574, 0.06973471492528915, 0.0013104218523949385, -0.06201215460896492, -0.06907829642295837, -0.030793707817792892, 0.049810510128736496, 0.026584912091493607, -0.027723990380764008, 0.04977189749479294, -0.04397997632622719, -0.03896031528711319, -0.03944297507405281, -0.0017508490709587932, 0.027299249544739723, -0.009894529357552528, 0.00659313565120101, 0.009981408715248108, 0.020271720364689827, -0.005560243036597967, 0.04239685460925102, 0.020175186917185783, 0.07869288325309753, -0.05154808610677719, 0.009923489764332771, 0.028631391003727913, 0.030619949102401733, 0.003231408540159464, 0.015638183802366257, -0.06096960976719856, -0.016506971791386604, -0.07537218183279037, -0.04193349927663803, -0.006680014077574015, 0.024943867698311806, 0.003829906927421689, -0.011892742477357388, -0.03973257169127464, 0.020310332998633385, -0.055602431297302246, 0.018022524192929268, -0.00804111547768116, -0.010821237228810787, 0.053285662084817886, -0.024403288960456848, -0.0684218779206276, 0.0373578816652298, -0.017337147146463394, 0.034230247139930725, -0.06120128557085991, 0.03262781351804733, 0.038574185222387314, -0.0055023240856826305, -0.04556310176849365, -0.010338576510548592, -0.024905255064368248, -0.013630318455398083, 0.04625813290476799, -0.03729996457695961, 0.001791875227354467, -0.00965802650898695, 0.07664640247821808, 0.02071576751768589, -0.03745441511273384, -0.046837326139211655, 0.004286020528525114, 0.0193160530179739, -0.009213979355990887, 0.019113335758447647, -0.020117267966270447, 0.012423668056726456, -0.03287879750132561, 0.04838183894753456, 0.0065400428138673306, -0.022511262446641922, -0.03718412667512894, 0.009204326197504997, 0.03318770229816437, -0.02984769269824028, 0.0001426863600499928, -0.06791990995407104, -0.04347801208496094, 0.015039685182273388, -0.004351179581135511, 0.013388987630605698, -0.004249821417033672, -0.011043260805308819, -0.03148873895406723, 0.009715945459902287, -0.004645602311939001, 0.00833553820848465, 0.022260278463363647, -0.05506185069680214, 0.0030914372764527798, -0.006781372707337141, -0.02886306680738926, 0.030079370364546776, -0.023090453818440437, -0.003323114011436701, 0.05957954749464989, -0.03314908966422081, -0.031044689938426018, -0.04162459820508957, -0.041392918676137924, 0.008678226731717587, -0.03867071866989136, -0.028940292075276375, 0.0037623345851898193, -0.018563102930784225, 0.013659277930855751, -0.004175008740276098, 0.044983912259340286, -0.009064354933798313, 0.08494815975427628, -0.06050625443458557, 0.03270504251122475, 0.02119842730462551, -0.03378619998693466, 0.010309617035090923, -0.06664568930864334, -0.007592241745442152, 0.017037898302078247, -0.04247407987713814, 0.0026377367321401834, 0.007124061230570078, -0.006578655447810888, -0.02206721529364586, 0.022916696965694427, -0.03645048290491104, 0.08572041243314743, 0.009715945459902287, -0.0003267004794906825, 0.040195923298597336, -0.037628173828125, 0.011641758494079113, 0.018929924815893173, -0.014306042343378067, -0.03594851493835449, 0.00855273474007845, 0.02755023166537285, -0.06459921598434448, 0.010415802709758282, 0.03486735746264458, 0.044713620096445084, -0.009841437451541424, -0.0047831605188548565, 0.05471433699131012, -0.014064712449908257, 0.009600107558071613, 0.07463853806257248, 0.03368966653943062, -0.04787987098097801, -0.044327493757009506, -0.0067910258658230305, 0.026990346610546112, -0.006071862764656544, -0.03712620586156845, 0.06610511243343353, 0.03349660336971283, -0.011873435229063034, -0.013495173305273056, -0.05023525282740593, -0.03214515373110771, -0.01826385408639908, 0.015435466542840004, 0.02588988095521927, -0.04313049465417862, 0.0367593839764595, 0.024306757375597954, 0.00482418667525053, 0.005405792035162449, 0.04042759910225868, -0.0063421521335840225, 0.052474793046712875, -0.03899892792105675, 0.018649982288479805, -0.02119842730462551, -0.02554236724972725, -0.05923203378915787, 0.00534304603934288, -0.02187415026128292, 0.00468180188909173, -0.004590096417814493, -0.014875580556690693, 0.0002224760828539729, -0.009841437451541424, 0.02488594874739647, -0.04174043610692024, 0.023611726239323616, 0.038728635758161545, -0.0027656417805701494, -0.039365749806165695, -0.040852341800928116, 0.02637254260480404, 0.01888165809214115, 0.08286307007074356, -0.005318913143128157, 0.06637540459632874, 0.02272363193333149, 0.004886932205408812, -0.003844386897981167, 0.029384339228272438, -0.012385055422782898, 0.006226313766092062, -0.0054637109860777855, -0.022434035316109657, -0.04556310176849365, -0.05641330033540726, -0.06301608681678772, -0.0186789408326149, -0.024461207911372185, -0.0025001787580549717, 0.03768609091639519, -0.03164318948984146, 0.004676975309848785, 0.04722345247864723, -0.02104397490620613, 0.02901751920580864, -0.014093671925365925, -0.03293671831488609, 0.033747587352991104, 0.015203789807856083, 0.0333421528339386, -0.004421165678650141, 0.03845834732055664, 0.012664997950196266, 0.02753092534840107, 0.0551004633307457, -0.03415302187204361, 0.004039864055812359, -0.09630031883716583, 0.02056131511926651, 0.036411870270967484, 0.023090453818440437, -0.07100893557071686, -0.0026304968632757664, -0.012887021526694298, 0.016140149906277657, 0.019827673211693764, 0.03467429429292679, -0.011381122283637524, -0.03961673006415367, -0.03100607730448246, 0.05915480852127075, 0.022183053195476532, 0.08070074766874313, 0.025735430419445038, 0.017424024641513824, 0.028612084686756134 ]
44,169
astropy.modeling.core
_initialize_constraints
Pop parameter constraint values off the keyword arguments passed to `Model.__init__` and store them in private instance attributes.
def _initialize_constraints(self, kwargs): """ Pop parameter constraint values off the keyword arguments passed to `Model.__init__` and store them in private instance attributes. """ # Pop any constraints off the keyword arguments for constraint in self.parameter_constraints: values = kwargs.pop(constraint, {}) for ckey, cvalue in values.items(): param = getattr(self, ckey) setattr(param, constraint, cvalue) self._mconstraints = {} for constraint in self.model_constraints: values = kwargs.pop(constraint, []) self._mconstraints[constraint] = values
(self, kwargs)
[ 0.019666366279125214, 0.022935064509510994, -0.003801441751420498, 0.01385133434087038, -0.06739658117294312, -0.019846957176923752, 0.017815308645367622, -0.027522077783942223, 0.03944108635187149, -0.02338654175400734, -0.005580263677984476, 0.046520255506038666, 0.03295786678791046, 0.0028917144518345594, -0.02636629529297352, 0.015404417179524899, 0.008022758178412914, 0.004790178034454584, -0.02149033546447754, -0.08697265386581421, 0.007941491901874542, -0.025210512802004814, -0.012198925949633121, 0.08762278407812119, 0.006767650134861469, 0.036389097571372986, -0.04359468072652817, -0.008537442423403263, 0.11745642870664597, 0.01908847503364086, -0.059306103736162186, 0.06645750999450684, 0.04720650240778923, 0.015747539699077606, 0.02277253195643425, -0.038465894758701324, 0.08162716031074524, 0.03962167724967003, -0.05681394785642624, -0.004830810707062483, 0.056597236543893814, -0.03929661586880684, 0.018447376787662506, -0.03727399557828903, 0.06894966959953308, -0.004033952951431274, 0.012036394327878952, 0.03243415430188179, 0.01015824731439352, -0.027395663782954216, -0.030953308567404747, 0.02764849178493023, 0.0785209909081459, -0.035106901079416275, -0.05905327573418617, 0.009390735067427158, -0.013914541341364384, 0.10279243439435959, -0.00033776171039789915, -0.00778798945248127, -0.05045714229345322, 0.0027314398903399706, -0.010049892589449883, -0.026402413845062256, -0.043341852724552155, -0.04724262282252312, -0.06941920518875122, -0.023711606860160828, 0.021291686221957207, 0.019232947379350662, -0.04016345366835594, -0.03555838018655777, -0.029093218967318535, 0.04373915493488312, 0.03947720676660538, -0.013273443095386028, -0.03973003476858139, -0.007088199257850647, 0.0021975673735141754, 0.0057292515411973, 0.024704856798052788, -0.00627553928643465, -0.02297118306159973, -0.037093404680490494, 0.020352613180875778, -0.02954469807446003, -0.051865752786397934, 0.001180614111945033, 0.10113099217414856, -0.0015248657437041402, -0.06736046820878983, 0.0452561192214489, 0.020009489730000496, 0.02808191068470478, 0.03353575989603996, 0.038574252277612686, -0.024181142449378967, 0.006000137887895107, -0.017878515645861626, -0.01015824731439352, -0.0034018841106444597, -0.014266693964600563, -0.04464210942387581, -0.013336650095880032, -0.022989241406321526, -0.06855236738920212, -0.03962167724967003, -0.07339220494031906, -0.04720650240778923, 0.028822332620620728, 0.026871949434280396, 0.014645935036242008, -0.022050168365240097, 0.0379602424800396, -0.04482270032167435, -0.0006619790801778436, -0.03106166236102581, -0.0639292374253273, 0.0464119017124176, -0.004772118758410215, -0.04478658363223076, 0.045436710119247437, -0.03451095148921013, 0.017436066642403603, 0.0019469973631203175, 0.015512771904468536, 0.03770741447806358, 0.01785142719745636, 0.030700480565428734, -0.054430145770311356, 0.02826250158250332, -0.08415543287992477, -0.009345587342977524, -0.002413148060441017, -0.009029553271830082, -0.05999235063791275, 0.028750097379088402, 0.0063161724247038364, -0.008939257822930813, 0.030285120010375977, 0.011548798531293869, 0.07895441353321075, 0.004304839298129082, -0.025824520736932755, 0.006343260873109102, -0.005223596468567848, 0.016162900254130363, -0.042113836854696274, 0.0045080045238137245, 0.0046637640334665775, -0.024542324244976044, -0.029508579522371292, 0.005562204867601395, -0.008727063424885273, -0.009589385241270065, 0.005471908953040838, -0.008013728074729443, -0.09072894603013992, -0.00456895399838686, -0.007164950482547283, -0.04709814861416817, 0.03091719001531601, -0.06667421758174896, -0.07183912396430969, -0.001739317667670548, -0.005860180128365755, -0.017553450539708138, -0.08747830986976624, -0.0032686982303857803, 0.03059212490916252, -0.03266892209649086, -0.020370671525597572, 0.015494712628424168, -0.0029978116508573294, -0.0035937621723860502, -0.0020045607816427946, 0.03324681520462036, -0.028587564826011658, 0.005313891917467117, 0.022194640710949898, 0.08141045272350311, -0.007968580350279808, -0.011873861774802208, 0.008411028422415257, 0.0431973822414875, 0.055947110056877136, -0.04792886599898338, 0.034348420798778534, -0.008063390851020813, -0.012253103777766228, 0.02224881947040558, -0.014492432586848736, -0.008135627023875713, 0.009959597140550613, -0.05294929817318916, 0.026763595640659332, 0.034348420798778534, 0.0607147142291069, -0.03526943549513817, 0.04998760670423508, -0.017219357192516327, -0.04594236612319946, -0.013724920339882374, 0.0012449496425688267, 0.020605439320206642, -0.010898670181632042, -0.020009489730000496, 0.01955801248550415, 0.017120031639933586, -0.05800584703683853, 0.003607306396588683, 0.015088383108377457, 0.0175173319876194, -0.054899681359529495, 0.02055126242339611, -0.026926126331090927, 0.014980028383433819, -0.00203052069991827, -0.0001385471987305209, 0.028208322823047638, 0.08112150430679321, 0.038754843175411224, 0.005471908953040838, -0.026673300191760063, 0.012424664571881294, -0.02708865888416767, 0.003864648751914501, 0.006397438235580921, -0.010763227008283138, 0.001014695968478918, -0.006469674874097109, -0.018077164888381958, -0.013047704473137856, 0.0014356989413499832, 0.004925621207803488, 0.010438162833452225, 0.0030203855130821466, -0.01979278028011322, -0.02168898656964302, -0.040885817259550095, 0.004573468584567308, 0.03712952136993408, -0.06783000379800797, 0.06122037023305893, -0.01723741739988327, -0.020605439320206642, 0.015792688354849815, 0.057789139449596405, 0.013508210889995098, -0.01420348696410656, -0.02300730161368847, -0.0004943680251017213, -0.023549074307084084, 0.03689475357532501, -0.035865385085344315, -0.009643563069403172, -0.0008674014243297279, -0.0005759162013418972, 0.027431782335042953, 0.0350346639752388, -0.003205491229891777, 0.01681302860379219, -0.012587197124958038, 0.06974426656961441, 0.028533387929201126, -0.009977656416594982, 0.004264206625521183, -0.012460783123970032, -0.06407371163368225, 0.004623131360858679, 0.07743744552135468, -0.03893543407320976, 0.03716564178466797, 0.0391160249710083, 0.02490350790321827, -0.030050352215766907, -0.016867205500602722, -0.03479989618062973, -0.033499643206596375, 0.0001820019242586568, 0.07902664691209793, -0.026528825983405113, 0.02221270091831684, 0.01110635045915842, 0.03322875499725342, -0.0431973822414875, -0.03871872276067734, -0.02466873824596405, -0.03646133467555046, -0.014709142036736012, 0.007679634727537632, -0.05529698356986046, 0.08422767370939255, 0.022050168365240097, 0.05739183723926544, -0.062376152724027634, 0.001451500691473484, 0.039657797664403915, 0.03499854728579521, -0.01609066314995289, 0.013571417890489101, 0.010591665282845497, 0.011476561427116394, 0.021815400570631027, 0.06002846732735634, -0.04081358015537262, -0.015828806906938553, 0.040705226361751556, 0.013733950443565845, 0.02936410717666149, -0.003207748755812645, 0.007440351881086826, 0.012442723847925663, 0.011711330153048038, 0.013580447994172573, -0.013363738544285297, 0.01600036770105362, -0.025842580944299698, -0.005309377331286669, 0.0350346639752388, 0.05450238287448883, 0.0006151383277028799, -0.041969362646341324, -0.03310234099626541, -0.020912444218993187, 0.00398880522698164, 0.003921083174645901, 0.0008871536119841039, -0.02011784352362156, 0.009598414413630962, -0.017869485542178154, 0.06848012655973434, -0.0163434911519289, 0.034348420798778534, -0.058222558349370956, -0.013914541341364384, 0.006984359119087458, 0.010736138559877872, -0.009607444517314434, -0.026384353637695312, 0.01761665754020214, -0.028063850477337837, -0.030519889667630196, -0.012614285573363304, -0.005670559126883745, -0.02145421877503395, -0.03770741447806358, -0.03369829058647156, -0.027251191437244415, -0.046700846403837204, -0.02968917042016983, 0.01042010448873043, -0.0010745167965069413, 0.0018702461384236813, 0.02145421877503395, 0.004952709656208754, 0.009932508692145348, -0.03535972908139229, 0.038140833377838135, -0.008645797148346901, 0.11001607030630112, 0.03850201517343521, -0.03626268357038498, -0.035106901079416275, 0.06544619798660278, 0.036298803985118866, -0.03243415430188179, -0.008975375443696976, 0.032127149403095245, -0.026871949434280396, 0.0011270011309534311, -0.060534123331308365, 0.0011134567903354764, 0.04998760670423508, -0.0013352452078834176, 0.006970814894884825, -0.013625595718622208, 0.0487595871090889, -0.016867205500602722, 0.0041265059262514114, -0.05067384988069534, -0.07382562756538391, 0.053852252662181854, -0.008677400648593903, -0.007571280002593994, -0.05952281504869461, -0.015368299558758736, -0.0015417961403727531, 0.06465160101652145, 0.060678597539663315, 0.0034741205163300037, -0.036389097571372986, 0.009995714761316776, -0.029562756419181824, 0.0656990259885788, 0.024271437898278236, 0.008018243126571178, 0.023567132651805878, -0.0014221546007320285, 0.011774537153542042, -0.04662861302495003, -0.07498140633106232, -0.008487779647111893, 0.04016345366835594, 0.03573897108435631, 0.03763517737388611, 0.03275921940803528, 0.0718030035495758, 0.061906617134809494, 0.05417731776833534, -0.004916591569781303, -0.016822056844830513, 0.03929661586880684, -0.05591099336743355, 0.026998363435268402, -0.03756294026970863, 0.09621891379356384, -0.048362284898757935, 0.056705594062805176, -0.01860087923705578, 0.07433128356933594, 0.0164247564971447, 0.05074608698487282, -0.034872133284807205, 0.03418588638305664, 0.022790592163801193, -0.010194364935159683, 0.011115379631519318, 0.02244746871292591, 0.012704581022262573, -0.05497191846370697, 0.06519336998462677, -0.003553129034116864, -0.010239513590931892, -0.01723741739988327, 0.024650679901242256, 0.05190186947584152, -0.015070323832333088, -0.007183009292930365, 0.00590532785281539, -0.017454126849770546, -0.015919102355837822, 0.022357173264026642, -0.028208322823047638, -0.029508579522371292, 0.0023996036034077406, 0.0024740975350141525, 0.043161261826753616, -0.035341668874025345, -0.0024876417592167854, 0.04005509614944458, 0.04861511290073395, 0.008447146974503994, -0.0350346639752388, 0.02930992841720581, -0.004776633344590664, -0.004503489471971989, -0.036858636885881424, -0.039657797664403915, -0.013056733645498753, 0.02902098372578621, 0.014736230485141277, -0.019196828827261925, -0.024650679901242256, -0.017670834437012672, 0.0846610888838768, 0.03669610247015953, 0.004645705223083496, -0.03407753258943558, -0.008618708699941635, 0.0041242484003305435, -0.00859613437205553, 0.00025127551634795964, -0.03570285439491272, -0.0902232974767685, 0.01256913784891367, 0.0452561192214489, 0.005796973127871752, -0.04106640815734863, -0.013607536442577839, 0.06407371163368225, 0.004975283518433571, 0.018727293238043785, 0.03702116757631302, -0.015404417179524899, -0.02884039282798767, -0.03756294026970863, -0.05136009678244591, -0.04417257383465767, 0.010365926660597324, -0.038610368967056274, 0.037382349371910095, 0.05959504842758179, 0.06894966959953308, 0.029183516278862953, -0.01325538381934166, -0.0047585745342075825, 0.02761237323284149, 0.04294455423951149, 0.0036908297333866358, -0.04608684033155441, -0.02484932914376259, -0.0031513141002506018, -0.023278187960386276, -0.015557919628918171, -0.002632114803418517, -0.053996726870536804, 0.018582820892333984, -0.008420058526098728, -0.005584778729826212, 0.040885817259550095, -0.018618937581777573, -0.03247027099132538, 0.034637365490198135, 0.02542722038924694, -0.0012799391988664865, -0.04951806738972664, -0.0021591917611658573, -0.015512771904468536, 0.04308902844786644, 0.01572045125067234, 0.048181694000959396, 0.03304816409945488, -0.033589936792850494, 0.008460691198706627, 0.019539952278137207, -0.00037754818913526833, -0.0636402890086174, 0.04366691783070564, -0.0046773082576692104, 0.01935936138033867, -0.07108063995838165, -0.026113467290997505, 0.04077745974063873, -0.0452561192214489, 0.04359468072652817, 0.016831086948513985, -0.02822638303041458, 0.022808650508522987, 0.012542049400508404, 0.04565342143177986, 0.052299171686172485, 0.040596868842840195, 0.029671112075448036, 0.004419966135174036, 0.055044155567884445, -0.05508027225732803, 0.005611867178231478, -0.08892303705215454, 0.0056795887649059296, -0.06020905822515488, 0.017815308645367622, -0.04540059342980385, -0.025174394249916077, 0.009580356068909168, 0.004835325758904219, 0.03651551157236099, -0.032506391406059265, 0.022664178162813187, 0.06309852004051208, 0.010997995734214783, -0.024596503004431725, 0.043955862522125244, 0.010862552560865879, -0.09816929697990417, 0.006113007199019194, -0.022321054711937904, 0.01249690167605877, -0.03926049545407295, 0.02177928201854229, 0.02893068827688694, -0.04442540183663368, -0.04218607023358345, 0.025066038593649864, -0.023224011063575745, -0.04030792415142059, -0.025860639289021492, 0.0175173319876194, -0.04919300600886345, -0.015792688354849815, 0.06587962061166763, 0.009106304496526718, -0.030664362013339996, 0.0065012783743441105, -0.01970248483121395, -0.005065579432994127, 0.0280277319252491, 0.015937160700559616, -0.05815032124519348, -0.03200073540210724, -0.022176582366228104, 0.057933613657951355, -0.04258337244391441, -0.013815215788781643, -0.026980305090546608, -0.03566673398017883, -0.03451095148921013, -0.028713978826999664, -0.031314488500356674, -0.024795152246952057, -0.026239881291985512, -0.025463338941335678, -0.012921290472149849, 0.02571616694331169, -0.014402137137949467, -0.01595522090792656, -0.053816135972738266, 0.031892381608486176, -0.03068242035806179, 0.010663902387022972, -0.016135811805725098, -0.022555824369192123, 0.02575228549540043, 0.04872346669435501, -0.02779296413064003, -0.04038016125559807, -0.07519811391830444, 0.02703448198735714, 0.045147765427827835, 0.0029865247197449207, -0.06327910721302032, 0.006167184561491013, 0.039513323456048965, 0.04922912269830704, -0.046845320612192154, 0.04829004779458046, 0.0006625434616580606, -0.08834514766931534, -0.018781470134854317, 0.03947720676660538, 0.05240752547979355, 0.010871581733226776, 0.009995714761316776, 0.013174117542803288, 0.011982216499745846, -0.015566949732601643, -0.0007539676735177636, -0.007431322243064642, -0.0019808581564575434, 0.012858083471655846, 0.005756339989602566, -0.035540319979190826, 0.02522857114672661, -0.019901134073734283, -0.0007280076970346272, 0.06797447800636292, -0.02125556766986847, -0.014420196413993835, 0.03147702291607857, -0.0011309515684843063, 0.006681869272142649, 0.0023318820167332888, -0.0029797526076436043, -0.00885799154639244, 0.002361228223890066, 0.007842166349291801, -0.04883182421326637, -0.022465527057647705, 0.07173077017068863, -0.06981650739908218, -0.02437979355454445, -0.0071875243447721004, 0.04547283053398132, -0.07118899375200272, 0.0361904501914978, 0.04792886599898338, -0.048037223517894745, -0.0414637066423893, -0.007846681401133537, 0.06667421758174896, 0.008207864128053188, -0.010311749763786793, 0.005110727157443762, 0.03543196618556976, -0.03573897108435631, 0.001996659906581044, 0.004503489471971989, -0.028804274275898933, -0.012180866673588753, 0.0005649114027619362, 0.03266892209649086, -0.04428092762827873, -0.023079536855220795, 0.0347457192838192, 0.024253379553556442, 0.001992145087569952, -0.01460981648415327, 0.014880703762173653, 0.03929661586880684, 0.006049800664186478, 0.04597848281264305, 0.004210029263049364, 0.03792412206530571, 0.03546808287501335, -0.014501461759209633, -0.0642181783914566, -0.06967203319072723, -0.04735097661614418, 0.05190186947584152, 0.009336558170616627, 0.028154145926237106, -0.002444751560688019, -0.08762278407812119, 0.015043235383927822, -0.050023723393678665, 0.039043787866830826, -0.03366217389702797, -0.00040971595444716513, 0.027756845578551292, -0.03944108635187149, 0.0003659790672827512, 0.044714346528053284, 0.03622656688094139, -0.09210143983364105, 0.03021288476884365, 0.057319603860378265, 0.05266035348176956, -0.022519705817103386, -0.01600939780473709, -0.038610368967056274, 0.059017159044742584, 0.00620330311357975, -0.006821827497333288, -0.02770266868174076, -0.010149217210710049, -0.01888982579112053, -0.022519705817103386, -0.05294929817318916, 0.03575703129172325, -0.035630617290735245, 0.03918825834989548, 0.009174025617539883, -0.01955801248550415, 0.011612005531787872, -0.00297072296962142, -0.04258337244391441, -0.013219265267252922, -0.04587012901902199, -0.04601460322737694, 0.07111676037311554, -0.009164996445178986, 0.029147397726774216, 0.023783842101693153, 0.07902664691209793, 0.012397576123476028, 0.024506207555532455, 0.025300808250904083, 0.01042010448873043, 0.10149217396974564, -0.050168197602033615, -0.003390597179532051, 0.02925575152039528, 0.044858820736408234, -0.02755819633603096, -0.022086286917328835, -0.027594314888119698, 0.047423213720321655, -0.016840117052197456, -0.01586492545902729, -0.02452426590025425, -0.06299015879631042, -0.06739658117294312, 0.0051016975194215775, 0.010889641009271145, 0.06107589602470398, 0.04326961934566498, 0.08473332226276398, 0.030953308567404747 ]
44,170
astropy.modeling.core
_initialize_parameter_value
Mostly deals with consistency checks and determining unit issues.
def _initialize_parameter_value(self, param_name, value): """Mostly deals with consistency checks and determining unit issues.""" if isinstance(value, Parameter): self.__dict__[param_name] = value return param = getattr(self, param_name) # Use default if value is not provided if value is None: default = param.default if default is None: # No value was supplied for the parameter and the # parameter does not have a default, therefore the model # is underspecified raise TypeError( f"{self.__class__.__name__}.__init__() requires a value for " f"parameter {param_name!r}" ) value = default unit = param.unit else: if isinstance(value, Quantity): unit = value.unit value = value.value else: unit = None if unit is None and param.unit is not None: raise InputParameterError( f"{self.__class__.__name__}.__init__() requires a Quantity for" f" parameter {param_name!r}" ) param._unit = unit param._set_unit(unit, force=True) param.internal_unit = None if param._setter is not None: if unit is not None: _val = param._setter(value * unit) else: _val = param._setter(value) if isinstance(_val, Quantity): param.internal_unit = _val.unit param._internal_value = np.array(_val.value) else: param.internal_unit = None param._internal_value = np.array(_val) else: param._value = np.array(value)
(self, param_name, value)
[ 0.0590912327170372, -0.014229689724743366, 0.018882401287555695, 0.024512723088264465, -0.03588199242949486, -0.018918609246611595, -0.023770462721586227, -0.006540045142173767, 0.009219426661729813, -0.02071089670062065, -0.004030387848615646, 0.026178285479545593, -0.006897598039358854, 0.024060124531388283, 0.0039013971108943224, 0.08523330837488174, 0.06325513869524002, 0.023118721321225166, -0.013731831684708595, -0.0022799638099968433, 0.02329975925385952, -0.01920827105641365, -0.018366439267992973, 0.06506553292274475, 0.004421885125339031, -0.03993727266788483, 0.024313580244779587, -0.028803354129195213, 0.010826150886714458, -0.021398846060037613, -0.021109184250235558, 0.043304603546857834, 0.030523227527737617, 0.053334180265665054, 0.04352185130119324, -0.021163495257496834, -0.024404099211096764, 0.011468840762972832, -0.08559538424015045, 0.0034691658802330494, 0.02415064536035061, -0.025092048570513725, 0.02129022404551506, -0.0026952228508889675, -0.0022675173822790384, 0.011405476368963718, -0.03329313173890114, 0.03968381881713867, -0.027952469885349274, 0.053406596183776855, 0.006318272091448307, 0.021543677896261215, 0.016230175271630287, 0.0013589262962341309, -0.08211943507194519, 0.016537941992282867, 0.0339086651802063, 0.02735503949224949, 0.028749043121933937, 0.016664668917655945, -0.028749043121933937, 0.041023507714271545, 0.00725062470883131, -0.05738946422934532, -0.03497679531574249, -0.0369139164686203, -0.015225406736135483, -0.004093751311302185, 0.0235351100564003, 0.08479881286621094, 0.019117752090096474, -0.00008330637501785532, -0.016528889536857605, 0.026359323412179947, 0.06267581135034561, 0.04623744264245033, -0.04084246978163719, 0.004304209724068642, 0.004268001765012741, -0.008726094849407673, 0.027861950919032097, 0.06097404286265373, -0.014202534221112728, -0.04547707736492157, -0.02538171224296093, -0.008762302808463573, -0.06984496861696243, 0.017823319882154465, 0.10116476565599442, 0.024784281849861145, -0.05018409714102745, 0.004007757641375065, 0.014990055002272129, 0.0532979741692543, 0.03544749692082405, -0.023354072123765945, 0.008572211489081383, -0.04967718943953514, -0.035700954496860504, -0.017099162563681602, -0.0015150727704167366, -0.01427495013922453, 0.02002294734120369, -0.016963383182883263, 0.03343795984983444, -0.04819266498088837, 0.023480799049139023, -0.017859527841210365, 0.050437554717063904, 0.006291116122156382, -0.01681855320930481, 0.002853632206097245, -0.10369931906461716, 0.011758503504097462, -0.0709674134850502, 0.019262583926320076, -0.04250803217291832, -0.009147011674940586, -0.0035574224311858416, 0.03197154402732849, -0.019534142687916756, 0.036207862198352814, -0.021000560373067856, 0.015596536919474602, 0.05536182224750519, 0.01383140403777361, 0.015551277436316013, 0.006965487729758024, 0.032188791781663895, -0.027065377682447433, 0.049278900027275085, -0.0560859777033329, -0.021127287298440933, -0.0295094083994627, 0.008870926685631275, -0.024548931047320366, -0.003951183054596186, 0.018167294561862946, -0.012183945626020432, 0.040335558354854584, 0.045151203870773315, 0.05681013688445091, 0.01716252788901329, -0.04431842267513275, 0.06930185109376907, 0.015940511599183083, 0.05619460344314575, 0.009966214187443256, -0.09486459940671921, -0.0021588937379419804, -0.04739609360694885, 0.016809500753879547, 0.014265897683799267, -0.028821459040045738, 0.013405960984528065, -0.06611555814743042, 0.049242693930864334, -0.07201743870973587, 0.006340901833027601, -0.005969771184027195, -0.008626523427665234, 0.012926206924021244, -0.0012763271806761622, -0.034850068390369415, -0.022050589323043823, 0.0649569034576416, -0.09015757590532303, -0.003672835184261203, 0.003584578400477767, -0.02692054584622383, -0.0221773162484169, -0.06213269382715225, 0.012301621027290821, 0.022503186017274857, 0.040335558354854584, 0.008907134644687176, 0.003385435091331601, -0.028767146170139313, -0.006141758523881435, -0.01195764634758234, 0.038054462522268295, 0.015668952837586403, -0.001997089944779873, -0.008929763920605183, -0.019805701449513435, 0.02291957661509514, -0.008753251284360886, 0.00774395652115345, 0.007798268459737301, 0.027137793600559235, 0.0709674134850502, 0.01450124941766262, -0.019534142687916756, 0.016809500753879547, -0.03325692191720009, 0.015668952837586403, 0.09117139875888824, 0.004148063249886036, 0.04768575355410576, 0.10290274769067764, -0.00805172324180603, -0.02592482976615429, 0.016284486278891563, 0.005815887823700905, -0.04373909905552864, -0.05677392706274986, 0.018647048622369766, 0.007974782027304173, -0.016809500753879547, -0.024114437401294708, -0.03497679531574249, -0.0033582793548703194, 0.03209827095270157, 0.03470523655414581, -0.0016304852906614542, -0.04884440824389458, 0.0034284319262951612, -0.024042021483182907, 0.030849099159240723, 0.009785175323486328, 0.10435105860233307, 0.01685475930571556, 0.07567443698644638, -0.04091488569974899, 0.032188791781663895, -0.016528889536857605, 0.008300652727484703, -0.049242693930864334, -0.025291191413998604, 0.040480390191078186, -0.03074047528207302, -0.012428348883986473, -0.0110343461856246, -0.01059080008417368, -0.008748725056648254, -0.0007122765528038144, 0.014691340737044811, -0.05318935215473175, -0.112461619079113, -0.05018409714102745, -0.01475470419973135, -0.011314957402646542, -0.033691417425870895, 0.03640700504183769, -0.06550002098083496, -0.01583188772201538, -0.02480238676071167, 0.08994033187627792, -0.020421234890818596, -0.020747104659676552, 0.020493650808930397, 0.05347901210188866, -0.03448798879981041, 0.02333596721291542, -0.0005940352566540241, 0.019389310851693153, -0.002064979635179043, -0.0026205440517514944, 0.030414605513215065, 0.042254574596881866, -0.05673772096633911, -0.04565811529755592, 0.0024100858718156815, 0.06966392695903778, -0.022249732166528702, -0.05061859264969826, -0.016501734033226967, 0.019353102892637253, 0.009531719610095024, 0.023082513362169266, 0.05963435024023056, 0.02616018056869507, 0.010771838948130608, -0.03687770664691925, 0.01913585513830185, -0.02176092565059662, 0.00003631394065450877, -0.005394971463829279, 0.001719873514957726, 0.02616018056869507, 0.03231551870703697, -0.042145952582359314, 0.03535697981715202, 0.023317864164710045, -0.03761997073888779, -0.015958614647388458, -0.0026182811707258224, 0.0037972996942698956, -0.041276965290308, 0.019878117367625237, -0.03953898698091507, 0.029093017801642418, -0.005852095782756805, 0.03946657106280327, -0.0006692797178402543, -0.041059717535972595, -0.10311999171972275, 0.016664668917655945, 0.059344686567783356, 0.0009515879210084677, 0.00257981033064425, 0.012274465523660183, -0.008952394127845764, 0.011758503504097462, -0.0014041861286386847, -0.01685475930571556, 0.021054871380329132, -0.02862231619656086, -0.010409760288894176, 0.03374572843313217, 0.038633789867162704, 0.06448620557785034, -0.007888788357377052, 0.0018895978573709726, 0.11731347441673279, 0.006499311421066523, 0.0470702201128006, -0.06799836456775665, 0.03733030706644058, 0.03892345353960991, 0.03790963068604469, 0.00599692715331912, -0.034125909209251404, -0.03758376091718674, -0.01709011197090149, -0.014148222282528877, 0.007825423963367939, 0.04294252395629883, -0.03535697981715202, 0.007422612048685551, -0.0560135655105114, 0.02739124745130539, 0.0005917722592130303, -0.008861874230206013, -0.011269696988165379, -0.06423275172710419, -0.003231551731005311, 0.0033152825199067593, 0.009549823589622974, 0.0054311794228851795, 0.0592360645532608, -0.02136263996362686, -0.06814319640398026, -0.03016114979982376, 0.0016836656723171473, 0.0027947945054620504, 0.031301695853471756, -0.03823550418019295, 0.0734657570719719, -0.06191544607281685, -0.0766158401966095, 0.03899586945772171, 0.001644063275307417, 0.005548854824155569, 0.01193954236805439, 0.005462861154228449, 0.0006166651728563011, -0.0649569034576416, -0.03559232875704765, -0.03823550418019295, 0.06955530494451523, 0.0008757776813581586, 0.015533173456788063, 0.012899051420390606, 0.04544086754322052, -0.005186776164919138, 0.0019586191046983004, -0.0295818243175745, 0.019298790022730827, 0.021199703216552734, -0.016673721373081207, -0.070677749812603, -0.0006245856056921184, 0.03291294723749161, 0.011740399524569511, 0.030378397554159164, -0.03432505577802658, -0.01060890406370163, -0.014935743063688278, -0.04185628890991211, 0.0147366002202034, -0.030523227527737617, 0.0035483704414218664, 0.023625630885362625, -0.003333386266604066, -0.05083584040403366, 0.03559232875704765, -0.014827120117843151, 0.005263717845082283, -0.041132133454084396, -0.02715589664876461, 0.02804298885166645, 0.036081135272979736, -0.0110343461856246, 0.04381151497364044, 0.011830919422209263, 0.04011831060051918, -0.004308735486119986, -0.06550002098083496, -0.001917885267175734, -0.033112090080976486, -0.07806415110826492, -0.00045372979366220534, 0.06756386905908585, -0.012727064080536366, -0.06021367758512497, 0.024168748408555984, 0.029962006956338882, -0.01709011197090149, 0.03206206113100052, -0.014935743063688278, -0.03935794532299042, -0.03769238665699959, -0.03914070129394531, -0.0014460515230894089, -0.03649752587080002, 0.02545412816107273, -0.061661992222070694, 0.033075883984565735, -0.00035161228151991963, 0.010427864268422127, 0.03131980076432228, 0.018610840663313866, 0.05662909895181656, 0.0592360645532608, 0.05590493977069855, 0.043956346809864044, -0.0019495671149343252, -0.01886429637670517, 0.001355531858280301, -0.03845275193452835, 0.043377019464969635, -0.013424064964056015, -0.03588199242949486, 0.03325692191720009, -0.0035008478444069624, 0.01852937415242195, -0.020457442849874496, -0.014148222282528877, 0.0023557741660624743, 0.006680350750684738, -0.0074045080691576, 0.024947216734290123, 0.04717884585261345, -0.04348564147949219, -0.03953898698091507, -0.014935743063688278, 0.03325692191720009, -0.07132948935031891, -0.037547554820775986, 0.029654240235686302, 0.015152990818023682, 0.05565148591995239, -0.08030904084444046, 0.03289484232664108, -0.034506093710660934, -0.06347238272428513, -0.03494058921933174, 0.04732367768883705, -0.02773522213101387, 0.02688433788716793, 0.06423275172710419, 0.009033861570060253, -0.033148299902677536, -0.03935794532299042, 0.06408791989088058, 0.04529603570699692, -0.0007439584587700665, 0.015171094797551632, 0.00187601987272501, 0.0018375490326434374, 0.03349227458238602, 0.008784933015704155, -0.01072657946497202, -0.05677392706274986, -0.049315109848976135, -0.04138558730483055, 0.03961140289902687, -0.019950533285737038, -0.024856697767972946, 0.01164987962692976, -0.01429305411875248, 0.049387525767087936, 0.051596205681562424, 0.006485733203589916, 0.00029843198717571795, -0.009377836249768734, 0.008354964666068554, 0.008762302808463573, 0.01448314543813467, -0.08646437525749207, 0.020348818972706795, 0.051016878336668015, 0.04717884585261345, -0.056882552802562714, 0.007816372439265251, 0.025707582011818886, -0.024168748408555984, 0.026793818920850754, 0.028821459040045738, 0.009450252167880535, 0.0005991269717924297, -0.027680911123752594, -0.015496965497732162, 0.009359732270240784, -0.02749987132847309, -0.04475291818380356, 0.0014155011158436537, -0.014935743063688278, 0.0024191378615796566, -0.026395531371235847, 0.017859527841210365, -0.00014405354158952832, -0.004965003114193678, -0.01562369242310524, -0.019334997981786728, -0.028368860483169556, -0.006535519380122423, -0.05652047321200371, -0.014691340737044811, 0.016737084835767746, 0.021380743011832237, 0.0034669027663767338, -0.0829160064458847, -0.01197575032711029, 0.009147011674940586, -0.05963435024023056, -0.07596409320831299, 0.033582791686058044, -0.0016587727004662156, 0.016049135476350784, -0.06528277695178986, -0.002975833835080266, 0.0947197675704956, 0.01828497089445591, 0.0021340008825063705, 0.013722780160605907, -0.003414854174479842, -0.03640700504183769, 0.005060048773884773, -0.0002469489409122616, 0.07625375688076019, 0.037438929080963135, 0.021652301773428917, 0.04301493987441063, 0.008418328128755093, -0.027137793600559235, 0.051596205681562424, -0.021000560373067856, -0.0296180322766304, -0.03486817330121994, -0.01753365807235241, -0.04381151497364044, 0.01917206309735775, 0.04819266498088837, 0.00410280330106616, 0.04840991273522377, -0.02013157121837139, 0.04239940643310547, 0.04609261080622673, 0.02862231619656086, 0.027753327041864395, 0.029364576563239098, 0.03729409724473953, -0.0050781527534127235, -0.020457442849874496, -0.04254423826932907, -0.020113468170166016, 0.006770870182663202, 0.010237772949039936, 0.042290784418582916, -0.04008210450410843, -0.03943036124110222, 0.03012494184076786, -0.013125350698828697, -0.0030075155664235353, 0.013514584861695766, -0.0017707907827571034, -0.09783364832401276, 0.0058611477725207806, 0.02854990027844906, 0.009558876045048237, -0.06727421283721924, -0.03318450599908829, 0.03074047528207302, 0.0055533810518682, -0.022865265607833862, 0.02322734333574772, -0.010246825404465199, 0.014455989003181458, -0.04091488569974899, 0.017243994399905205, -0.06477586925029755, 0.013016726821660995, -0.01641121320426464, 0.025816205888986588, -0.03758376091718674, -0.06184303015470505, 0.05242898687720299, -0.01079899538308382, -0.03943036124110222, -0.01764228194952011, -0.010862358845770359, 0.07625375688076019, 0.027282625436782837, -0.015053419396281242, -0.04710642993450165, 0.024784281849861145, -0.0037022540345788, 0.039901066571474075, 0.06307409703731537, -0.0016044608782976866, -0.01431115809828043, -0.0004183705314062536, -0.027590392157435417, -0.012292569503188133, -0.04258044809103012, 0.013940026983618736, 0.04424600675702095, -0.036081135272979736, -0.03407159820199013, 0.009540772065520287, -0.03733030706644058, 0.001312535023316741, -0.06122749671339989, -0.03957519307732582, 0.008305178955197334, -0.09776122868061066, -0.012011958286166191, -0.03877862170338631, 0.041059717535972595, 0.006508363410830498, 0.01475470419973135, -0.027644703164696693, -0.0005716882296837866, -0.04381151497364044, 0.002154367743059993, -0.02132643200457096, 0.01749745011329651, 0.0381992943584919, 0.05232036113739014, 0.01763322949409485, 0.020529858767986298, 0.006300168111920357, 0.0072732544504106045, -0.006399739533662796, -0.03168188035488129, -0.018991023302078247, 0.04717884585261345, 0.039213117212057114, -0.019461726769804955, 0.005838518030941486, 0.02545412816107273, 0.007603651378303766, 0.055180784314870834, -0.04247182235121727, -0.01068131998181343, 0.012871894985437393, 0.06133611872792244, -0.016420265659689903, -0.09566117078065872, -0.01675518788397312, 0.00392402708530426, -0.0034103281795978546, 0.0057842060923576355, -0.02244887501001358, -0.04725126177072525, -0.040987301617860794, -0.03794584050774574, 0.03016114979982376, -0.009359732270240784, -0.03343795984983444, 0.0030391975305974483, 0.0014313420979306102, -0.015152990818023682, -0.03535697981715202, 0.01072657946497202, -0.01573231630027294, 0.017017696052789688, 0.04652710258960724, -0.0008774749003350735, -0.009748967364430428, -0.0081196129322052, 0.06119128689169884, 0.028839562088251114, -0.00145623495336622, -0.011287800967693329, -0.01675518788397312, 0.025508439168334007, -0.031537048518657684, -0.03463282063603401, -0.016021979972720146, -0.048663366585969925, -0.006354480050504208, -0.0769779160618782, -0.06785353273153305, -0.02005915530025959, -0.021543677896261215, -0.01824876293540001, 0.09493701905012131, 0.018683256581425667, 0.0035053736064583063, -0.05862053111195564, 0.016021979972720146, -0.009595084004104137, 0.0384889580309391, -0.02766280807554722, -0.027952469885349274, 0.03953898698091507, -0.06930185109376907, 0.057498086243867874, 0.021380743011832237, -0.014799963682889938, -0.11695139855146408, -0.006684876512736082, 0.09877505153417587, -0.026087764650583267, 0.03935794532299042, -0.029292160645127296, 0.015877148136496544, 0.020457442849874496, -0.005607692524790764, 0.04844611883163452, -0.04587536305189133, -0.028821459040045738, 0.012247310020029545, -0.02071089670062065, -0.038018256425857544, 0.06296547502279282, -0.005666530691087246, -0.005833991803228855, 0.06238614767789841, -0.006236804183572531, -0.023806670680642128, 0.013360701501369476, -0.06408791989088058, 0.04301493987441063, -0.007630806881934404, 0.010826150886714458, 0.016320694237947464, -0.0006415580864995718, 0.050401344895362854, -0.010925722308456898, -0.011604620143771172, 0.0067120324820280075, 0.05427558720111847, 0.007449767552316189, -0.0234989020973444, 0.05547044426202774, -0.011278749443590641, 0.018647048622369766, -0.031844817101955414, 0.02749987132847309, 0.05355142802000046, 0.06274822354316711, -0.0562308095395565, 0.020855728536844254, 0.026359323412179947, -0.009332576766610146, -0.01124254148453474, -0.06636901199817657, -0.012455504387617111, 0.03953898698091507, 0.02869473211467266, -0.011441684328019619, 0.05648426711559296, 0.0309758260846138, 0.008766829036176205 ]
44,171
astropy.modeling.core
_initialize_parameters
Initialize the _parameters array that stores raw parameter values for all parameter sets for use with vectorized fitting algorithms; on FittableModels the _param_name attributes actually just reference slices of this array.
def _initialize_parameters(self, args, kwargs): """ Initialize the _parameters array that stores raw parameter values for all parameter sets for use with vectorized fitting algorithms; on FittableModels the _param_name attributes actually just reference slices of this array. """ n_models = kwargs.pop("n_models", None) if not ( n_models is None or (isinstance(n_models, (int, np.integer)) and n_models >= 1) ): raise ValueError( "n_models must be either None (in which case it is " "determined from the model_set_axis of the parameter initial " "values) or it must be a positive integer " f"(got {n_models!r})" ) model_set_axis = kwargs.pop("model_set_axis", None) if model_set_axis is None: if n_models is not None and n_models > 1: # Default to zero model_set_axis = 0 else: # Otherwise disable model_set_axis = False else: if not ( model_set_axis is False or np.issubdtype(type(model_set_axis), np.integer) ): raise ValueError( "model_set_axis must be either False or an integer " "specifying the parameter array axis to map to each " f"model in a set of models (got {model_set_axis!r})." ) # Process positional arguments by matching them up with the # corresponding parameters in self.param_names--if any also appear as # keyword arguments this presents a conflict params = set() if len(args) > len(self.param_names): raise TypeError( f"{self.__class__.__name__}.__init__() takes at most " f"{len(self.param_names)} positional arguments ({len(args)} given)" ) self._model_set_axis = model_set_axis self._param_metrics = defaultdict(dict) for idx, arg in enumerate(args): if arg is None: # A value of None implies using the default value, if exists continue # We use quantity_asanyarray here instead of np.asanyarray because # if any of the arguments are quantities, we need to return a # Quantity object not a plain Numpy array. param_name = self.param_names[idx] params.add(param_name) if not isinstance(arg, Parameter): value = quantity_asanyarray(arg, dtype=float) else: value = arg self._initialize_parameter_value(param_name, value) # At this point the only remaining keyword arguments should be # parameter names; any others are in error. for param_name in self.param_names: if param_name in kwargs: if param_name in params: raise TypeError( f"{self.__class__.__name__}.__init__() got multiple values for" f" parameter {param_name!r}" ) value = kwargs.pop(param_name) if value is None: continue # We use quantity_asanyarray here instead of np.asanyarray # because if any of the arguments are quantities, we need # to return a Quantity object not a plain Numpy array. value = quantity_asanyarray(value, dtype=float) params.add(param_name) self._initialize_parameter_value(param_name, value) # Now deal with case where param_name is not supplied by args or kwargs for param_name in self.param_names: if param_name not in params: self._initialize_parameter_value(param_name, None) if kwargs: # If any keyword arguments were left over at this point they are # invalid--the base class should only be passed the parameter # values, constraints, and param_dim for kwarg in kwargs: # Just raise an error on the first unrecognized argument raise TypeError( f"{self.__class__.__name__}.__init__() got an unrecognized" f" parameter {kwarg!r}" ) # Determine the number of model sets: If the model_set_axis is # None then there is just one parameter set; otherwise it is determined # by the size of that axis on the first parameter--if the other # parameters don't have the right number of axes or the sizes of their # model_set_axis don't match an error is raised if model_set_axis is not False and n_models != 1 and params: max_ndim = 0 if model_set_axis < 0: min_ndim = abs(model_set_axis) else: min_ndim = model_set_axis + 1 for name in self.param_names: value = getattr(self, name) param_ndim = np.ndim(value) if param_ndim < min_ndim: raise InputParameterError( "All parameter values must be arrays of dimension at least" f" {min_ndim} for model_set_axis={model_set_axis} (the value" f" given for {name!r} is only {param_ndim}-dimensional)" ) max_ndim = max(max_ndim, param_ndim) if n_models is None: # Use the dimensions of the first parameter to determine # the number of model sets n_models = value.shape[model_set_axis] elif value.shape[model_set_axis] != n_models: raise InputParameterError( f"Inconsistent dimensions for parameter {name!r} for" f" {n_models} model sets. The length of axis" f" {model_set_axis} must be the same for all input parameter" " values" ) self._check_param_broadcast(max_ndim) else: if n_models is None: n_models = 1 self._check_param_broadcast(None) self._n_models = n_models # now validate parameters for name in params: param = getattr(self, name) if param._validator is not None: param._validator(self, param.value)
(self, args, kwargs)
[ 0.0290524922311306, -0.016648393124341965, -0.025186797603964806, 0.03459199517965317, -0.031124822795391083, -0.00005658747613779269, -0.07105705887079239, -0.06440168619155884, 0.031284235417842865, 0.008533421903848648, -0.013948384672403336, -0.016229942440986633, -0.008085081353783607, 0.011886016465723515, -0.006799837574362755, 0.05627176910638809, 0.03851746767759323, 0.009096339344978333, 0.013201149180531502, -0.026541782543063164, -0.011786384508013725, -0.021141765639185905, -0.021002281457185745, 0.06798841059207916, 0.047583919018507004, -0.001808308414183557, 0.03387464955449104, -0.028972787782549858, 0.06878545880317688, -0.0026626470498740673, -0.08504529297351837, 0.02494768239557743, 0.0027647691313177347, 0.034711550921201706, 0.04547173157334328, -0.04184515401721001, 0.032519660890102386, 0.021898964419960976, -0.04961639642715454, 0.017455406486988068, 0.025226648896932602, -0.08018328249454498, 0.07388658821582794, -0.01719636470079422, 0.02871374599635601, 0.013948384672403336, -0.012653177604079247, 0.07364746928215027, -0.06850649416446686, 0.001430954784154892, -0.010531030595302582, -0.022516677156090736, 0.047663621604442596, -0.010560919530689716, -0.07129617035388947, 0.04495365172624588, 0.03548867627978325, 0.02616318315267563, 0.03220084309577942, -0.04969610273838043, -0.017126623541116714, 0.02789676934480667, 0.005038853734731674, -0.03656469285488129, -0.039155106991529465, -0.03815879300236702, -0.03684366121888161, -0.021500438451766968, 0.027438465505838394, 0.06595592945814133, -0.01607053168118, -0.01671813428401947, -0.0019390744855627418, 0.02371225319802761, 0.03768056258559227, 0.03528941422700882, -0.03612631559371948, -0.025306355208158493, -0.007646703626960516, -0.015173849649727345, 0.0300089530646801, 0.05284444987773895, -0.012683066539466381, -0.05973893776535988, -0.03520970791578293, -0.005444851703941822, -0.07930652797222137, 0.05117064341902733, 0.06093451380729675, -0.027039939537644386, -0.04830126091837883, 0.0300089530646801, 0.046627458184957504, 0.06850649416446686, 0.023552844300866127, -0.0049716029316186905, -0.03327685967087746, -0.06476035714149475, -0.018690835684537888, -0.052924156188964844, -0.01590115763247013, -0.016927361488342285, 0.019089359790086746, 0.011856126599013805, -0.019886411726474762, -0.04722524434328079, -0.038676876574754715, -0.027079792693257332, -0.0004682671860791743, 0.014436577446758747, -0.04041046276688576, 0.04842082038521767, -0.037102703005075455, -0.01095944456756115, -0.05041344836354256, 0.008722721599042416, -0.05830424651503563, 0.016120346263051033, -0.026501931250095367, 0.01705688238143921, -0.024011148139834404, 0.0828135535120964, -0.01924877054989338, 0.00851349625736475, 0.05316327139735222, -0.01552255917340517, 0.017604853957891464, 0.03626579791307449, 0.02694030851125717, -0.09014641493558884, 0.0010523557430133224, -0.052724894136190414, -0.03849754109978676, 0.003776026889681816, 0.04092854633927345, -0.04447542130947113, -0.019736964255571365, -0.00611736299470067, -0.0737670287489891, 0.023393433541059494, 0.08520470559597015, 0.07926667481660843, 0.021938815712928772, -0.016190089285373688, -0.004749923013150692, 0.02295505627989769, 0.09787780791521072, -0.05858321487903595, -0.04706583544611931, 0.014944697730243206, -0.04092854633927345, -0.0066503905691206455, 0.002841983223333955, -0.028932934626936913, -0.02638237364590168, -0.04304073005914688, 0.02562517486512661, -0.07703493535518646, 0.0045531513169407845, -0.004388759378343821, -0.09548665583133698, -0.021938815712928772, -0.018840281292796135, -0.04503335431218147, -0.0207033883780241, 0.06049613654613495, -0.1000298410654068, -0.004602966830134392, -0.02652185596525669, 0.0004950431175529957, 0.016668319702148438, -0.030327772721648216, -0.018352089449763298, -0.008996708318591118, -0.005853340029716492, 0.0352296344935894, 0.009783795103430748, -0.02767758071422577, 0.0026950270403176546, 0.03289826214313507, 0.0490584596991539, -0.006336551625281572, -0.02556539513170719, -0.04594996199011803, -0.014675692655146122, 0.027458390220999718, -0.008692832663655281, 0.015771636739373207, -0.026402298361063004, 0.024210410192608833, 0.019089359790086746, 0.0004321508458815515, 0.013330670073628426, 0.036425210535526276, -0.03459199517965317, 0.029451018199324608, 0.05364150181412697, 0.020404493436217308, 0.057865869253873825, 0.047384653240442276, -0.001463335007429123, -0.01260336209088564, 0.033755090087652206, -0.009435085579752922, -0.05483707785606384, -0.02303476072847843, 0.014396725222468376, -0.018929950892925262, -0.003584236605092883, -0.0021968705113977194, 0.007024007849395275, -0.03417354077100754, 0.015751712024211884, -0.001823253114707768, 0.04790273681282997, 0.0033227044623345137, 0.027597874402999878, -0.01877054013311863, -0.0015069236978888512, -0.021002281457185745, 0.09660252183675766, -0.0010809998493641615, 0.02520672418177128, 0.0005619829171337187, 0.000584088615141809, -0.039513781666755676, 0.04706583544611931, 0.003601672127842903, 0.007925671525299549, 0.014067942276597023, -0.008134896866977215, -0.012463877908885479, -0.007855929434299469, -0.0008250718237832189, -0.03014843724668026, -0.02039453014731407, 0.028394926339387894, -0.03188202157616615, -0.03560823202133179, -0.04507320746779442, -0.015323296189308167, -0.015014439821243286, -0.03843776136636734, 0.01770448498427868, -0.030507110059261322, -0.013579748570919037, 0.031344011425971985, 0.10154423862695694, -0.025266502052545547, -0.016837691888213158, 0.005106105003505945, 0.047663621604442596, -0.041685741394758224, 0.036903440952301025, -0.019238807260990143, -0.03469162434339523, 0.0350104458630085, 0.004152134992182255, 0.058264393359422684, -0.005444851703941822, -0.0386170968413353, -0.004725015256553888, -0.0033675385639071465, 0.06954266130924225, -0.026222962886095047, -0.00423433119431138, 0.04116766154766083, 0.021739553660154343, -0.009126228280365467, 0.055952947586774826, 0.028315220028162003, 0.06312640011310577, -0.012742845341563225, -0.015203738585114479, 0.007437477819621563, 0.04818170517683029, 0.005997805390506983, -0.05113079026341438, 0.006954265758395195, 0.028255442157387733, 0.047663621604442596, -0.0547972247004509, -0.00028675139765255153, -0.008917002938687801, 0.013619600795209408, -0.02124139666557312, -0.0059479898773133755, -0.01767459511756897, -0.0008362803491763771, 0.01507421862334013, -0.00206485902890563, -0.010361656546592712, 0.007696519140154123, -0.0020274973940104246, 0.004383777733892202, -0.04483409225940704, -0.03433295339345932, -0.012443951331079006, 0.0452326163649559, -0.02458900958299637, -0.0008449981105513871, 0.017983453348279, 0.04531232267618179, -0.008613127283751965, 0.018242495134472847, -0.050054773688316345, 0.0390554778277874, -0.01555244904011488, 0.03289826214313507, 0.007019026204943657, 0.01616019941866398, 0.06914413720369339, -0.005579353775829077, -0.004886915907263756, 0.06990133225917816, 0.009255749173462391, 0.02781706303358078, -0.009704090654850006, 0.041008248925209045, 0.06846664100885391, 0.02725912816822529, 0.03116467595100403, 0.008857224136590958, -0.06109392270445824, 0.002153281820937991, 0.020842870697379112, 0.03269900009036064, -0.003945400007069111, -0.03674402832984924, -0.003242999315261841, -0.018501535058021545, 0.0176148172467947, 0.012742845341563225, 0.037859901785850525, -0.0004648423637263477, -0.044515274465084076, 0.009001689963042736, 0.021600069478154182, 0.047384653240442276, 0.005514593329280615, 0.04654775187373161, 0.00004249898483976722, -0.05639132484793663, -0.028614114969968796, -0.03644513711333275, -0.04164589196443558, 0.0290524922311306, 0.03425324708223343, 0.030527034774422646, -0.0015716840280219913, -0.0490584596991539, 0.028454704210162163, 0.048819344490766525, 0.032778702676296234, 0.022556530311703682, 0.004062466789036989, -0.017664631828665733, -0.018023304641246796, 0.014805213548243046, -0.005938026588410139, 0.04746435955166817, 0.014835103414952755, -0.03301781788468361, 0.0300089530646801, 0.0447942391037941, -0.002308955881744623, -0.008707777597010136, -0.04686657339334488, 0.06954266130924225, -0.044435568153858185, -0.0009988039964810014, -0.07117661088705063, 0.008662942796945572, -0.005439870059490204, -0.0010342976311221719, 0.05276474729180336, -0.03857724741101265, 0.0280960313975811, -0.013061665929853916, -0.028693819418549538, 0.023552844300866127, -0.057865869253873825, 0.040310829877853394, -0.010600771754980087, -0.004408685956150293, -0.03945400193333626, 0.04865993559360504, -0.024310041218996048, 0.027159497141838074, -0.002142073353752494, 0.019029581919312477, -0.03200157731771469, -0.00478977570310235, -0.0010878494940698147, 0.004809701815247536, 0.022576456889510155, 0.02753809653222561, 0.03301781788468361, -0.06093451380729675, -0.030527034774422646, -0.07117661088705063, -0.0790674164891243, 0.016229942440986633, 0.05953967571258545, 0.011935831978917122, -0.07583935558795929, 0.031284235417842865, 0.05499648675322533, -0.016200052574276924, 0.07520171999931335, 0.0011687999358400702, -0.008912021294236183, 0.0005084310541860759, -0.032021503895521164, -0.029351385310292244, 0.002849455690011382, -0.013729195110499859, -0.01634950004518032, 0.09596488624811172, 0.014067942276597023, 0.04598981514573097, 0.03393442556262016, 0.042323384433984756, 0.034233320504426956, 0.03650491312146187, 0.056710146367549896, -0.0380990169942379, 0.0015567393274977803, -0.013808900490403175, -0.03411376476287842, -0.03006873093545437, 0.003213109914213419, -0.03748130053281784, -0.06902457773685455, -0.05364150181412697, -0.0013524951646104455, -0.00028099145856685936, -0.009898371063172817, 0.004600476007908583, 0.028873154893517494, 0.0024858014658093452, -0.006774929352104664, 0.00851349625736475, 0.007940616458654404, -0.06340537220239639, -0.0261831097304821, 0.012962033972144127, 0.024449525400996208, -0.09843574464321136, -0.045192766934633255, 0.03953370824456215, 0.050612710416316986, 0.016847655177116394, -0.06551755219697952, 0.0705389752984047, -0.014775324612855911, -0.008423827588558197, -0.03136393800377846, 0.019408181309700012, -0.001321360352449119, 0.03311745077371597, 0.04742450639605522, -0.014845066703855991, -0.024648787453770638, -0.035468749701976776, 0.023951368406414986, 0.0481019988656044, 0.009205933660268784, 0.011816274374723434, 0.022317415103316307, 0.01744544319808483, 0.025127017870545387, 0.0036041629500687122, -0.01994618959724903, -0.0866393968462944, 0.018700798973441124, 0.04594996199011803, 0.027717432007193565, -0.03475140407681465, -0.022556530311703682, 0.030666518956422806, -0.032021503895521164, 0.02365247532725334, 0.029431091621518135, 0.0014322001952677965, 0.010770145803689957, 0.02090265043079853, 0.0022055883891880512, -0.024369820952415466, 0.03849754109978676, -0.06798841059207916, -0.016877545043826103, 0.059101298451423645, 0.09014641493558884, -0.008777518756687641, -0.002797149121761322, 0.06607548892498016, -0.0012348056770861149, 0.03136393800377846, 0.006755003239959478, 0.025166871026158333, -0.030586814507842064, -0.023054687306284904, -0.051489464938640594, 0.010660550557076931, -0.036484990268945694, -0.03307759761810303, 0.009275675751268864, -0.05021418258547783, -0.02843477763235569, -0.03937429562211037, -0.034711550921201706, 0.008752611465752125, 0.009410178288817406, -0.017734374850988388, -0.0001408070675097406, -0.01809304766356945, 0.0005062516429461539, -0.012683066539466381, 0.049297574907541275, 0.03598683327436447, 0.017993416637182236, 0.01136793289333582, -0.060057759284973145, -0.000525866518728435, 0.04507320746779442, -0.04674701392650604, -0.06790870428085327, 0.04335954785346985, 0.015422928147017956, -0.01880042999982834, -0.06595592945814133, -0.012702993117272854, 0.07548068463802338, 0.022915203124284744, 0.0027124625630676746, 0.026820750907063484, -0.04941713437438011, 0.021540291607379913, 0.029291607439517975, -0.009255749173462391, 0.0357477180659771, 0.02939123846590519, 0.002660156227648258, 0.02329380251467228, 0.01157715916633606, -0.008209620602428913, 0.030447330325841904, -0.014317020773887634, -0.0204841997474432, -0.023313729092478752, 0.004505826160311699, 0.014317020773887634, 0.017804116010665894, 0.031762465834617615, -0.03160305321216583, 0.01898972876369953, -0.010421435348689556, 0.005350201856344938, 0.05324297770857811, 0.006177141796797514, 0.022237710654735565, 0.028693819418549538, -0.012224762700498104, -0.04049016907811165, 0.025924067944288254, -0.03728203848004341, 0.007537109311670065, -0.03528941422700882, 0.0037461374886333942, -0.002797149121761322, -0.016877545043826103, -0.11007267981767654, -0.020743239670991898, -0.020524051040410995, 0.009479919448494911, -0.007806113921105862, -0.0035568380262702703, -0.09158110618591309, -0.0035120039246976376, 0.029431091621518135, 0.012523656710982323, -0.03303774446249008, -0.013759084977209568, 0.039992012083530426, 0.024549156427383423, -0.03206135705113411, 0.001528095337562263, -0.03439272940158844, 0.04037060961127281, -0.04746435955166817, 0.07368732243776321, -0.049576543271541595, -0.037521153688430786, -0.013808900490403175, 0.06248876079916954, -0.0278768427670002, -0.06244891136884689, -0.01764470711350441, -0.03116467595100403, -0.025605248287320137, -0.007955560460686684, 0.010197265073657036, 0.02781706303358078, 0.015173849649727345, -0.037919677793979645, -0.05447840318083763, 0.05324297770857811, -0.005053798668086529, 0.013061665929853916, 0.010501140728592873, -0.02411077916622162, 0.01438676193356514, -0.03489088639616966, -0.026482004672288895, -0.014307057484984398, -0.059380266815423965, 0.049775805324316025, 0.09636341035366058, -0.034432582557201385, 0.010531030595302582, -0.007875856012105942, -0.01212513167411089, -0.007771242875605822, -0.07571980357170105, -0.00973397959023714, 0.017824042588472366, -0.11541292071342468, 0.001719885622151196, -0.05774630978703499, 0.052525632083415985, 0.019597480073571205, 0.04774332791566849, -0.026621488854289055, 0.043678369373083115, -0.026083478704094887, 0.0007945597753860056, -0.001187480753287673, -0.011766458861529827, 0.03509014844894409, 0.0686260536313057, 0.001513150637038052, -0.007920689880847931, 0.007581943180412054, 0.01812293753027916, -0.0009172307909466326, -0.02514694444835186, 0.007188399322330952, 0.11023209244012833, 0.03734181821346283, -0.0065507590770721436, -0.015293407253921032, -0.06256847083568573, -0.019816668704152107, 0.05447840318083763, -0.01555244904011488, -0.022456899285316467, 0.016877545043826103, 0.02980969101190567, -0.02939123846590519, -0.031543273478746414, 0.00007168784941313788, 0.037381671369075775, -0.04706583544611931, -0.028215589001774788, -0.007900763303041458, -0.020603757351636887, -0.01741555519402027, 0.019258733838796616, 0.07340835779905319, -0.04917801916599274, -0.04865993559360504, -0.019238807260990143, 0.003312741406261921, -0.006381385959684849, -0.0016625976422801614, -0.004274183418601751, -0.004794757347553968, -0.00825943611562252, 0.009943205863237381, 0.024907829239964485, 0.02068346180021763, -0.036704178899526596, 0.04399719089269638, 0.054717518389225006, -0.04762376844882965, 0.0014658257132396102, -0.005066252313554287, 0.015841379761695862, 0.014217388816177845, -0.017116660252213478, 0.0007690292550250888, 0.03764071315526962, 0.0035219669807702303, -0.03311745077371597, -0.05240607261657715, -0.05057285726070404, -0.06802826374769211, -0.009250767529010773, 0.03439272940158844, -0.006939321290701628, -0.012194872833788395, -0.07727404683828354, 0.046348489820957184, -0.00937032513320446, 0.0756799504160881, -0.051011234521865845, 0.01660853996872902, 0.00937032513320446, -0.06695224344730377, 0.011049113236367702, 0.01411775778979063, 0.06153229996562004, -0.09134199470281601, -0.005703893024474382, 0.03453221544623375, 0.038955844938755035, 0.017963526770472527, -0.017286034300923347, 0.027597874402999878, 0.02542591281235218, 0.030467256903648376, 0.047583919018507004, -0.015014439821243286, -0.03315730392932892, -0.0007808604277670383, 0.008832315914332867, -0.024170557036995888, 0.08217591047286987, -0.02616318315267563, 0.016678282991051674, 0.02247682586312294, -0.029929248616099358, -0.008324196562170982, 0.020543977618217468, -0.06695224344730377, 0.025784585624933243, -0.02556539513170719, -0.04116766154766083, 0.007198362611234188, 0.016558725386857986, 0.029570575803518295, -0.03417354077100754, -0.004458501469343901, -0.0022778210695832968, 0.050533004105091095, 0.01264321431517601, -0.012483804486691952, 0.03732189163565636, -0.0828135535120964, 0.02753809653222561, -0.011905942112207413, -0.005265515297651291, 0.014157610014081001, 0.044913798570632935, -0.02542591281235218, 0.030726298689842224, 0.005579353775829077, 0.004989038221538067, -0.04483409225940704, -0.06300684809684753, -0.027358759194612503, 0.052924156188964844, 0.04650789871811867, 0.04260235279798508, 0.03315730392932892, 0.03160305321216583, 0.005649095866829157 ]
44,172
astropy.modeling.core
_initialize_setters
This exists to inject defaults for settable properties for models originating from `custom_model`.
def _initialize_setters(self, kwargs): """ This exists to inject defaults for settable properties for models originating from `custom_model`. """ if hasattr(self, "_settable_properties"): setters = { name: kwargs.pop(name, default) for name, default in self._settable_properties.items() } for name, value in setters.items(): setattr(self, name, value) return kwargs
(self, kwargs)
[ -0.019027117639780045, -0.009629360400140285, 0.038161128759384155, 0.012969795614480972, -0.055442314594984055, -0.0009008039487525821, -0.0067966715432703495, 0.0285941231995821, 0.036112330853939056, 0.0252982284873724, -0.022109225392341614, 0.06570412963628769, 0.01600736379623413, 0.0358094647526741, 0.021539125591516495, 0.00495720561593771, 0.003480733372271061, 0.009041444398462772, 0.04813789576292038, -0.08102559298276901, 0.05911233648657799, -0.05088150501251221, -0.021075917407870293, 0.058898549526929855, 0.009326494298875332, 0.01979319006204605, -0.06980173289775848, 0.0345623679459095, 0.08473125100135803, 0.03502557426691055, -0.006689778063446283, 0.03146244212985039, -0.02369481883943081, 0.049349360167980194, 0.04129668325185776, -0.07094193249940872, 0.000920289836358279, 0.08615650236606598, -0.06780637800693512, -0.0010945491958409548, 0.03459800034761429, -0.0034540097694844007, 0.012747099623084068, -0.035613492131233215, 0.004084238316863775, -0.004694424569606781, -0.011526728048920631, 0.03534625470638275, 0.08465998619794846, -0.0268660057336092, 0.004574168939143419, 0.05590552091598511, 0.04974130541086197, 0.019846638664603233, -0.01769094355404377, -0.0075538367964327335, -0.02048800140619278, 0.07015804201364517, -0.01732572354376316, 0.05476531758904457, -0.04596438631415367, 0.016194429248571396, -0.03185438737273216, -0.05872039496898651, -0.048814889043569565, -0.092997707426548, -0.028487229719758034, 0.0036789323203265667, 0.04489544779062271, 0.04290009289979935, -0.02547638490796089, -0.04411155730485916, -0.01728118397295475, 0.028665386140346527, 0.03160496801137924, 0.03636175021529198, -0.03210380673408508, -0.034491103142499924, 0.031159577891230583, 0.028130916878581047, -0.006124130915850401, 0.010876456275582314, -0.050347037613391876, 0.025369489565491676, -0.002106701023876667, -0.020220765843987465, -0.04596438631415367, 0.033422164618968964, 0.09755852073431015, -0.03776918351650238, -0.054373372346162796, 0.09285518527030945, 0.04763905704021454, 0.03278080374002457, -0.030678555369377136, 0.021592572331428528, -0.01407436653971672, 0.03940822556614876, -0.01620333641767502, 0.006863480433821678, -0.02699071541428566, 0.0024941915180534124, 0.015686683356761932, -0.013147952035069466, -0.020274214446544647, -0.050097618252038956, -0.007807710207998753, -0.06043069437146187, -0.0031333279330283403, -0.027186686173081398, 0.015268014743924141, -0.04621380567550659, -0.029182041063904762, 0.02189543843269348, -0.01892022415995598, -0.04696206375956535, -0.0039038551039993763, -0.014920610003173351, 0.07468321919441223, -0.03808986768126488, -0.05822155624628067, 0.03566693887114525, -0.005852442234754562, 0.04126105457544327, 0.02604648470878601, -0.029182041063904762, 0.030749818310141563, 0.05961117520928383, 0.06677307188510895, -0.001051123603247106, -0.004015203099697828, -0.0134330028668046, -0.01970411278307438, -0.05134471133351326, -0.006195393390953541, -0.03148026019334793, 0.024336181581020355, 0.06841211020946503, 0.032192885875701904, 0.006231024861335754, 0.005861349869519472, 0.02271495759487152, 0.04885052144527435, -0.005683193448930979, -0.020309844985604286, 0.03980017080903053, 0.03559567406773567, 0.015517434105277061, -0.011847409419715405, -0.00658288411796093, 0.021503493189811707, 0.01653292588889599, -0.01863517425954342, 0.00901026651263237, -0.03352905809879303, -0.009183969348669052, -0.043755244463682175, -0.05929049476981163, 0.021414415910840034, 0.023855159059166908, 0.03237104043364525, 0.0028482775669544935, 0.013548804447054863, -0.0216816496104002, -0.00031873316038399935, 0.048779260367155075, -0.025779251009225845, -0.10760654509067535, 0.04660575091838837, 0.04104726389050484, 0.021592572331428528, 0.020309844985604286, 0.028540676459670067, -0.006088499445468187, 0.036112330853939056, 0.033226191997528076, 0.008627230301499367, -0.0663098618388176, -0.022287381812930107, 0.02259024791419506, 0.017209921032190323, -0.036023251712322235, 0.008239739574491978, 0.02501317672431469, 0.05925486236810684, -0.007442489266395569, -0.021859806030988693, 0.019365614280104637, -0.02102247066795826, 0.04379087686538696, 0.07222466170787811, -0.012560036033391953, -0.020683974027633667, 0.006934742908924818, -0.016880331560969353, 0.021913252770900726, 0.05640435963869095, -0.06039506569504738, -0.03730597719550133, 0.08123937994241714, -0.05344695970416069, -0.028415966778993607, -0.034954313188791275, 0.005594115238636732, 0.017477156594395638, -0.010359802283346653, 0.036522090435028076, -0.00600832886993885, -0.0534113273024559, -0.05740203335881233, 0.01757514290511608, -0.012399694882333279, -0.010564682073891163, -0.0011825140099972486, -0.0022759498097002506, -0.05127345025539398, 0.05822155624628067, 0.00004617455488187261, 0.026527507230639458, 0.05822155624628067, 0.058898549526929855, 0.02064834162592888, 0.004456140100955963, 0.01745043322443962, 0.04753216356039047, -0.003614350687712431, -0.021254073828458786, -0.06570412963628769, -0.0025186880957335234, 0.004458367358893156, -0.05219986289739609, 0.004413828253746033, -0.04357708990573883, 0.025066623464226723, -0.02793494425714016, -0.022821851074695587, 0.010297447443008423, -0.06068011373281479, -0.07703488320112228, -0.016301322728395462, 0.007219793740659952, 0.024158025160431862, -0.005932612344622612, 0.03641519695520401, -0.015695590525865555, 0.014920610003173351, 0.031195208430290222, 0.03591635823249817, -0.004854765720665455, 0.0005536770913749933, 0.057580191642045975, 0.007651823107153177, -0.00007731714867986739, 0.10418593883514404, -0.014101089909672737, 0.0006586224189959466, 0.041652996093034744, 0.02962743118405342, -0.00869849231094122, -0.02193106897175312, -0.019276537001132965, -0.049598779529333115, -0.006551706697791815, 0.03912317380309105, -0.0035252724774181843, -0.048494208604097366, 0.021628202870488167, 0.027347028255462646, -0.07888771593570709, -0.0029351289849728346, 0.06859026849269867, -0.029556168243288994, -0.01654183492064476, 0.014190168119966984, -0.0000878256032592617, -0.020969023928046227, -0.02991248108446598, -0.053553853183984756, -0.06331682950258255, -0.020274214446544647, 0.03880249336361885, 0.0018962535541504622, 0.05619056895375252, 0.03164060041308403, 0.008079398423433304, -0.01797599345445633, -0.011553451418876648, 0.008248647674918175, -0.03180094063282013, -0.03372503072023392, 0.01077846996486187, 0.0006402500439435244, 0.010876456275582314, 0.013156860135495663, 0.037591028958559036, -0.07215339690446854, -0.022251751273870468, 0.04624943435192108, 0.015303646214306355, -0.012738192453980446, -0.016809068620204926, -0.03515028581023216, 0.007077268324792385, 0.04671264439821243, 0.054337743669748306, -0.04012085124850273, 0.0045875306241214275, -0.011410925537347794, 0.01440395601093769, -0.018457015976309776, 0.004765687044709921, 0.05765145272016525, -0.02834470383822918, 0.005611930973827839, 0.04596438631415367, -0.03730597719550133, -0.018154149875044823, -0.009469020180404186, 0.019223090261220932, 0.034989941865205765, 0.003852634923532605, -0.018002716824412346, -0.054123956710100174, 0.018706435337662697, 0.012497681193053722, -0.004064195789396763, -0.009148337878286839, 0.004890396725386381, -0.01797599345445633, 0.003206817666068673, -0.05590552091598511, 0.040797844529151917, 0.00023814517771825194, 0.027828050777316093, -0.04040590301156044, -0.027756787836551666, -0.009941134601831436, 0.008596052415668964, 0.01055577490478754, -0.01658637262880802, -0.0076429154723882675, 0.006467082072049379, -0.026776926591992378, -0.0380186028778553, -0.0032513567712157965, 0.020969023928046227, 0.02296437695622444, -0.0026211279910057783, -0.007429127581417561, -0.034045714884996414, -0.020701788365840912, -0.0216816496104002, 0.019935715943574905, 0.009175061248242855, 0.042187467217445374, -0.015339277684688568, -0.026028670370578766, -0.027543000876903534, -0.0010127085261046886, -0.007487028371542692, 0.024532154202461243, -0.012533311732113361, -0.0032023636158555746, 0.021200627088546753, 0.05629746615886688, 0.030589476227760315, -0.021075917407870293, 0.013504264876246452, -0.008119484409689903, -0.05205734074115753, 0.03286987915635109, -0.04863673448562622, 0.01982882246375084, 0.005126454401761293, 0.037662290036678314, 0.022037962451577187, -0.04542991518974304, 0.021877622231841087, -0.03295895829796791, 0.010529051534831524, -0.009344310499727726, -0.04094037041068077, 0.007598376367241144, 0.019401246681809425, 0.05376764014363289, -0.03465144708752632, 0.034045714884996414, -0.0030865620356053114, 0.028861358761787415, 0.0009453431121073663, -0.049099940806627274, -0.019401246681809425, -0.02789931371808052, -0.025066623464226723, 0.058364082127809525, -0.026509692892432213, -0.028629755601286888, 0.005073007196187973, 0.022251751273870468, -0.018091795966029167, -0.0032825341913849115, -0.10653761029243469, 0.09356781095266342, 0.01806507259607315, 0.020060425624251366, 0.01744152419269085, 0.00919287744909525, 0.016942685469985008, 0.06274673342704773, -0.004859219305217266, -0.04175989329814911, 0.014412863180041313, -0.0033738394267857075, -0.060003120452165604, 0.025369489565491676, -0.026794742792844772, 0.07129824161529541, -0.041652996093034744, 0.014715729281306267, 0.013860578648746014, 0.02497754618525505, 0.031052684411406517, -0.0030999237205833197, 0.023178165778517723, 0.08615650236606598, 0.032317593693733215, -0.01756623387336731, -0.006587337702512741, 0.034419842064380646, 0.008898918516933918, 0.013602251186966896, 0.021752912551164627, 0.00717080058529973, 0.013985288329422474, 0.028772279620170593, 0.03648645803332329, 0.07190397381782532, -0.04942062124609947, -0.06666617840528488, 0.03418823704123497, -0.023017823696136475, -0.04097600281238556, -0.019312167540192604, -0.01018164586275816, -0.003986252471804619, -0.027667710557579994, -0.010208369232714176, 0.06727191060781479, -0.022269567474722862, -0.008524790406227112, 0.0020532540511339903, 0.05430211126804352, -0.01435941644012928, -0.01900930143892765, 0.047247111797332764, -0.010110382921993732, -0.020879946649074554, -0.002489737467840314, -0.016800161451101303, 0.0293780118227005, 0.06178468465805054, 0.0027814689092338085, -0.009878779761493206, 0.010110382921993732, 0.026028670370578766, 0.0499550923705101, -0.035898540169000626, 0.006435904651880264, -0.05419521778821945, 0.017913639545440674, 0.038659967482089996, -0.029146408662199974, -0.008645045571029186, -0.03556004539132118, -0.06399382650852203, -0.030304426327347755, 0.0013283796142786741, -0.032941143959760666, -0.07293728739023209, -0.04867236316204071, 0.002229183679446578, 0.024870652705430984, 0.046677011996507645, -0.005024014040827751, 0.02344539947807789, -0.011304032057523727, -0.025725804269313812, -0.0487079955637455, 0.016568558290600777, 0.025529831647872925, -0.00018135778373107314, 0.029199855402112007, 0.03723471611738205, 0.023213796317577362, -0.044610396027565, -0.011731607839465141, 0.03773355484008789, 0.03705655783414841, 0.06516966223716736, -0.020416738465428352, 0.036557719111442566, -0.02567235566675663, 0.014902793802320957, 0.03409916162490845, 0.0004941060324199498, -0.03308366984128952, -0.053589485585689545, -0.01690705493092537, -0.020345475524663925, -0.014947333373129368, 0.04981256648898125, -0.01632804609835148, -0.02497754618525505, 0.003028661012649536, 0.002632262883707881, -0.06613170355558395, -0.04414718970656395, 0.01785128377377987, 0.010048028081655502, 0.05448026955127716, 0.007602829951792955, 0.0436839833855629, 0.013726960867643356, -0.03185438737273216, -0.026349350810050964, 0.047247111797332764, 0.02909296192228794, 0.00009561995102558285, 0.03636175021529198, 0.004039699211716652, 0.005024014040827751, -0.05551357567310333, -0.07888771593570709, 0.07653604447841644, -0.02695508301258087, 0.05512163043022156, 0.0010477830655872822, -0.03798297420144081, 0.062354788184165955, -0.0024763757828623056, 0.04813789576292038, 0.04286446049809456, 0.012159183621406555, -0.013335016556084156, 0.012061197310686111, -0.018207598477602005, -0.0804554894566536, 0.05512163043022156, -0.0223051980137825, -0.02460341714322567, -0.030304426327347755, -0.02397986873984337, -0.03621922433376312, 0.005460497923195362, -0.0700867772102356, -0.027186686173081398, -0.008008136413991451, -0.039515119045972824, 0.04090474173426628, 0.06705811619758606, 0.0216816496104002, -0.0014497487572953105, 0.029841220006346703, 0.03242449089884758, -0.033101484179496765, 0.022679327055811882, -0.033190563321113586, 0.03181875869631767, -0.0845174565911293, -0.03233541175723076, -0.020398922264575958, -0.0003465701302047819, -0.0684833750128746, 0.026509692892432213, -0.012444233521819115, -0.009433388710021973, -0.018991487100720406, -0.05031140521168709, -0.04567933455109596, -0.02789931371808052, 0.010422157123684883, 0.014101089909672737, -0.03180094063282013, -0.015731221064925194, -0.023356322199106216, -0.06516966223716736, 0.03420605510473251, 0.05362511798739433, -0.01349535770714283, 0.0016702174907550216, -0.05266307294368744, 0.05964680761098862, -0.05604804679751396, -0.027079792693257332, 0.0038838123437017202, -0.015624327585101128, -0.03534625470638275, -0.06324557214975357, 0.008912280201911926, -0.04290009289979935, -0.026010854169726372, 0.03131991997361183, -0.0590767078101635, 0.04917120188474655, -0.004286891780793667, -0.07190397381782532, -0.01786019280552864, 0.04065532237291336, -0.0051799011416733265, -0.013593343086540699, -0.03201472759246826, -0.008694038726389408, 0.03224633261561394, 0.033671583980321884, -0.008346633985638618, -0.03776918351650238, -0.024710310623049736, -0.027044162154197693, 0.028237810358405113, -0.08237957954406738, -0.07568089663982391, -0.0035764924250543118, -0.01541053969413042, 0.02381952852010727, -0.033475611358881, -0.0069080195389688015, 0.01388730201870203, -0.025191333144903183, -0.013361739926040173, -0.023178165778517723, 0.032976772636175156, -0.013646790757775307, 0.043470192700624466, -0.026117747649550438, 0.058649130165576935, -0.019935715943574905, 0.006502713542431593, -0.017085211351513863, -0.012364063411951065, -0.010876456275582314, 0.04867236316204071, -0.03550659865140915, 0.07432690262794495, 0.006035052705556154, -0.04193804785609245, 0.05961117520928383, -0.019757559522986412, 0.032691724598407745, 0.01653292588889599, 0.02994811348617077, -0.017468247562646866, -0.02818436361849308, -0.001977537525817752, 0.004948297515511513, -0.011981027200818062, -0.03563130646944046, -0.012034473940730095, -0.022233935073018074, 0.09492179751396179, -0.06563286483287811, -0.0609651654958725, 0.01835012249648571, 0.022768404334783554, 0.0018606223165988922, 0.029057331383228302, 0.030215347185730934, -0.07201086729764938, -0.03534625470638275, 0.006551706697791815, 0.04578622803092003, 0.01638149283826351, -0.008119484409689903, -0.03933696076273918, -0.014528665691614151, -0.017869099974632263, -0.009157245978713036, 0.021004654467105865, -0.03497212752699852, 0.02777460403740406, -0.009638268500566483, -0.009406665340065956, -0.033760663121938705, -0.05020451173186302, 0.0766785740852356, 0.00833327230066061, 0.021129364147782326, -0.002173509681597352, -0.004128777887672186, 0.06456393003463745, 0.004004068206995726, 0.0293780118227005, -0.026099931448698044, -0.009985674172639847, 0.07789003849029541, -0.050418298691511154, -0.07140513509511948, -0.0628536269068718, -0.08024170249700546, -0.016942685469985008, -0.0010967761045321822, 0.037341609597206116, 0.029182041063904762, -0.06552597135305405, -0.0065294369123876095, -0.03156933933496475, 0.0036833863705396652, -0.03637956455349922, 0.00016340294678229839, 0.026224641129374504, -0.04678390547633171, 0.02111154980957508, 0.03550659865140915, -0.00931758712977171, -0.08558639883995056, 0.017682036384940147, -0.008979089558124542, 0.038446180522441864, 0.013406279496848583, -0.027347028255462646, 0.002899497514590621, 0.03712782263755798, -0.020915577188134193, -0.03450892120599747, -0.011446557007730007, -0.009495743550360203, -0.03306585177779198, -0.0710131973028183, -0.02756081521511078, 0.04382650554180145, -0.03041131980717182, 0.0383392870426178, -0.01773548312485218, 0.039194438606500626, 0.025939591228961945, -9.134001857091789e-7, -0.048244789242744446, 0.027471737936139107, 0.004371515940874815, -0.004244579467922449, 0.012720376253128052, 0.0035631307400763035, 0.006801125593483448, -0.007941327057778835, 0.08907826989889145, 0.0010550207225605845, 0.05031140521168709, 0.04411155730485916, 0.020131688565015793, 0.06762821972370148, 0.004614253994077444, -0.01410999707877636, -0.0017515014624223113, 0.003028661012649536, -0.017637496814131737, 0.023730449378490448, -0.01665763556957245, -0.01851046457886696, -0.009682807140052319, 0.008702946826815605, 0.03691403195261955, -0.06609607487916946, -0.08772427588701248, -0.008266462944447994, -0.012310616672039032, 0.09506432712078094, 0.052021708339452744, 0.07646478712558746, 0.025440752506256104 ]
44,173
astropy.modeling.core
_initialize_slices
null
def _initialize_slices(self): param_metrics = self._param_metrics total_size = 0 for name in self.param_names: param = getattr(self, name) value = param.value param_size = np.size(value) param_shape = np.shape(value) param_slice = slice(total_size, total_size + param_size) param_metrics[name]["slice"] = param_slice param_metrics[name]["shape"] = param_shape param_metrics[name]["size"] = param_size total_size += param_size self._parameters = np.empty(total_size, dtype=np.float64)
(self)
[ -0.0023431198205798864, -0.02909880131483078, -0.0843433067202568, -0.011803381145000458, -0.06071854010224342, 0.06298737972974777, -0.02866664156317711, -0.048221901059150696, -0.03041328862309456, 0.04454853758215904, 0.04055105149745941, 0.03817417100071907, 0.0137751130387187, -0.0025276881642639637, 0.03806613013148308, 0.015278670936822891, 0.05297566577792168, 0.0005914070061407983, -0.016899272799491882, -0.030035149306058884, -0.03446479141712189, -0.02204018086194992, 0.02497527003288269, 0.05149911716580391, -0.016710203140974045, 0.0033154806587845087, 0.0009357848321087658, -0.03723782300949097, 0.0655803456902504, -0.028954748064279556, -0.07678049802780151, 0.0327901728451252, -0.002374631352722645, 0.05355187878012657, 0.024687163531780243, -0.049338314682245255, 0.03842626512050629, -0.025155337527394295, -0.023444702848792076, 0.08355101197957993, 0.030305249616503716, -0.03484293445944786, -0.02204018086194992, -0.041163280606269836, 0.0015733339823782444, 0.02375081554055214, 0.04047902673482895, 0.0013032337883487344, 0.007292706985026598, 0.02933288738131523, -0.009759622626006603, 0.01930316537618637, 0.019519245252013206, 0.020707687363028526, -0.004389129113405943, 0.02335467003285885, 0.07015404105186462, 0.012307568453252316, 0.004420640878379345, 0.003943463787436485, 0.0050643798895180225, -0.021517988294363022, 0.01409023068845272, -0.041919559240341187, -0.04829392582178116, -0.02342669665813446, -0.009921682998538017, -0.003659858601167798, 0.01603495143353939, 0.010767997242510319, 0.0427478663623333, 0.016179004684090614, 0.008863789960741997, -0.028918733820319176, -0.01532368827611208, 0.03183581680059433, -0.019807351753115654, 0.007873422466218472, 0.04137935861945152, -0.05034668743610382, -0.017790604382753372, 0.08916909992694855, -0.05553261190652847, -0.00299361115321517, 0.01405421644449234, 0.010569923557341099, -0.0651121661067009, 0.004348614253103733, 0.04667332395911217, 0.004200058989226818, -0.003979477100074291, 0.07533996552228928, 0.019681304693222046, 0.022976528853178024, 0.057621389627456665, 0.013027835637331009, -0.011902417987585068, -0.017565520480275154, -0.02470516972243786, -0.005307469982653856, -0.04923027381300926, -0.08837680518627167, 0.023498723283410072, 0.02104981429874897, -0.03088146261870861, -0.03565323352813721, 0.02121187373995781, -0.03849828988313675, -0.033078279346227646, 0.002455661538988352, 0.04433245584368706, 0.07328720390796661, -0.011155140586197376, 0.04789777845144272, -0.028216473758220673, 0.04987851530313492, 0.003866935381665826, -0.045088738203048706, 0.016638176515698433, -0.012379595078527927, -0.02953096106648445, 0.031853824853897095, -0.007436760701239109, 0.028288500383496284, -0.035941340029239655, 0.02196815423667431, -0.029512954875826836, 0.03565323352813721, -0.018979044631123543, -0.08715234696865082, 0.036175429821014404, -0.058845844119787216, -0.0898173376917839, -0.004713249392807484, 0.008625201880931854, -0.02619972452521324, 0.04173949360847473, -0.02177008055150509, -0.04393630847334862, 0.005730627104640007, -0.007612325716763735, 0.06100664660334587, 0.0066444664262235165, 0.03853430226445198, 0.007589817512780428, 0.03163774311542511, 0.07512388378381729, -0.0077923922799527645, -0.010353843681514263, -0.023246629163622856, -0.03903849050402641, 0.01745747961103916, -0.0024624140933156013, -0.03374452516436577, 0.010326833464205265, -0.041091252118349075, 0.014603421092033386, -0.03163774311542511, 0.013568036258220673, -0.018618911504745483, -0.10047729313373566, -0.011425240896642208, -0.08967328816652298, -0.02441706322133541, -0.05513646453619003, 0.048546019941568375, -0.015629801899194717, -0.08628802746534348, -0.03421270102262497, 0.015035580843687057, 0.046529270708560944, -0.034788914024829865, 0.0052624535746872425, -0.0048843128606677055, -0.002802290255203843, 0.0025119325146079063, 0.0031556712929159403, -0.049734462052583694, -0.039110518991947174, -0.020545626059174538, 0.02204018086194992, -0.020041439682245255, 0.011272184550762177, -0.06388771533966064, 0.010804010555148125, -0.006829035002738237, 0.0001003028592094779, 0.007450265344232321, -0.004654727876186371, 0.01989738643169403, 0.01851087063550949, 0.044224414974451065, -0.009903675876557827, 0.05070682242512703, 0.01120015699416399, 0.005528051871806383, 0.04490866884589195, 0.040659092366695404, 0.03289820998907089, 0.024759190157055855, -0.0337265208363533, 0.004618714563548565, -0.025047296658158302, -0.03496897965669632, -0.045736975967884064, 0.03401462733745575, -0.014963554218411446, 0.024957263842225075, -0.022778455168008804, 0.014873521402478218, -0.059241991490125656, -0.009399489499628544, 0.06576041132211685, -0.026613878086209297, 0.00166224199347198, 0.0010556417983025312, -0.008805268444120884, 0.0080804992467165, 0.04202760010957718, -0.031853824853897095, 0.10213391482830048, 0.017106350511312485, -0.00190083053894341, -0.03012518212199211, -0.024200983345508575, -0.007535797078162432, 0.0015497002750635147, -0.06331150233745575, -0.05733328312635422, 0.018222764134407043, 0.02636178582906723, -0.004605209454894066, -0.0312776118516922, -0.027496205642819405, 0.020329546183347702, 0.03493296727538109, -0.007877924479544163, -0.022778455168008804, -0.005717121995985508, -0.03336638584733009, -0.020473599433898926, 0.002570454031229019, -0.04887013882398605, -0.001395517960190773, -0.040695104748010635, 0.024002909660339355, -0.039866797626018524, 0.0843433067202568, 0.025353411212563515, 0.022184234112501144, 0.03311429172754288, 0.005640593823045492, -0.02276044897735119, 0.00844513438642025, -0.0012818508548662066, 0.010795007459819317, 0.03374452516436577, 0.03491495922207832, 0.046637311577796936, -0.008337094448506832, -0.011542284861207008, -0.017565520480275154, 0.009768625721335411, 0.004152791574597359, 0.021752074360847473, 0.03853430226445198, 0.04991452768445015, -0.007148653734475374, -0.0561448410153389, 0.02414696291089058, 0.043900296092033386, 0.10357444733381271, 0.01801568642258644, -0.034986987709999084, 0.02810843288898468, -0.009561548940837383, 0.05506443977355957, -0.03936260938644409, 0.009156398475170135, 0.047321565449237823, 0.07382740080356598, -0.057153213769197464, -0.008886298164725304, 0.02517334371805191, 0.05121101066470146, -0.03336638584733009, 0.020923767238855362, 0.009345469065010548, -0.010056733153760433, -0.017934657633304596, -0.039938826113939285, -0.007841911166906357, -0.0034302733838558197, -0.020671673119068146, -0.0009008969063870609, -0.016539139673113823, -0.04883412644267082, 0.01606196165084839, 0.0044093867763876915, 0.030035149306058884, -0.01986137218773365, -0.04588102921843529, 0.034032631665468216, 0.052507489919662476, 0.04728555306792259, -0.01946522481739521, 0.03460884839296341, -0.004938333295285702, 0.028216473758220673, -0.05023864656686783, 0.020437587052583694, 0.05196728929877281, 0.008247061632573605, -0.018195753917098045, 0.05747733637690544, -0.02807242050766945, 0.017178377136588097, 0.001243586651980877, 0.034392766654491425, 0.06471601873636246, 0.021734068170189857, 0.0013223658315837383, -0.05542457476258278, -0.018267780542373657, 0.002421899000182748, 0.048546019941568375, 0.05139107629656792, -0.01906907744705677, -0.04832993820309639, 0.002320611383765936, -0.04588102921843529, -0.0067254966124892235, 0.017115352675318718, 0.027226105332374573, 0.0048843128606677055, -0.022220248356461525, -0.0441523902118206, 0.01300082542002201, -0.011434243991971016, -0.022454334422945976, 0.04137935861945152, -0.056865107268095016, -0.027928367257118225, 0.004992353264242411, 0.01748448982834816, -0.03803011775016785, 0.03860633075237274, -0.021626027300953865, -0.0155217619612813, -0.013928170315921307, 0.01765555329620838, 0.010398860089480877, 0.026469824835658073, 0.07706860452890396, 0.05380397289991379, 0.004355366807430983, 0.001495680189691484, -0.01656614989042282, -0.01597192883491516, -0.008224552497267723, 0.06878553330898285, 0.03493296727538109, -0.018294790759682655, 0.0014934292994439602, 0.0785091444849968, 0.0021765579003840685, 0.008503656834363937, -0.03084545023739338, -0.0016172253526747227, 0.005383998621255159, 0.0005086887977086008, -0.07235085964202881, 0.020113466307520866, 0.04912223294377327, -0.01103809755295515, 0.003682366805151105, -0.044656574726104736, -0.005122901406139135, 0.007333221845328808, -0.020545626059174538, -0.04022693261504173, -0.022526361048221588, 0.04825791344046593, -0.01111912727355957, -0.015251661650836468, 0.0018243021331727505, -0.007972459308803082, -0.05895388498902321, 0.07177463918924332, 0.004224818199872971, 0.02715407870709896, 0.007625830825418234, -0.02104981429874897, 0.014504384249448776, 0.0004864618240389973, 0.030071161687374115, -0.0015406969469040632, 0.0026132201310247183, -0.024669157341122627, -0.009669588878750801, -0.02850458025932312, -0.12280558794736862, -0.01246962882578373, 0.09068165719509125, 0.017673559486865997, -0.06388771533966064, 0.04011889174580574, 0.04047902673482895, 0.0014889276353642344, 0.038318224251270294, 0.03052132949233055, -0.03021521493792534, 0.003628346836194396, 0.0019368439679965377, 0.06100664660334587, -0.04595305770635605, 0.020995793864130974, -0.0310435239225626, 0.06759709119796753, -0.0029688519425690174, 0.04984250292181969, 0.03151169791817665, 0.02474118396639824, 0.03446479141712189, 0.056865107268095016, 0.024669157341122627, -0.026613878086209297, 0.0052624535746872425, 0.02553347870707512, -0.012397602200508118, -0.06774114817380905, 0.04944635555148125, -0.060286376625299454, -0.020311539992690086, -0.03032325580716133, 0.02200416848063469, 0.02045559324324131, 0.05376795679330826, 0.005685610696673393, 0.006482406053692102, 0.03817417100071907, -0.005879182368516922, 0.02628975920379162, -0.040695104748010635, -0.033780537545681, 0.0096965990960598, -0.057189229875802994, 0.028288500383496284, -0.09169003367424011, -0.0506708100438118, 0.03505901247262955, 0.003340239869430661, 0.02227426879107952, -0.06626459956169128, 0.07116241753101349, 0.019375192001461983, -0.013829133473336697, -0.018006684258580208, 0.01577385514974594, -0.03183581680059433, 0.019933398813009262, 0.04152341187000275, -0.02668590657413006, -0.01774558797478676, -0.00718466704711318, -0.008328091353178024, 0.006315844599157572, 0.016251033172011375, 0.003986229654401541, 0.013063848949968815, 0.03298824653029442, 0.03918254375457764, -0.01072297990322113, -0.029783055186271667, -0.007288205437362194, -0.012208531610667706, 0.023102575913071632, 0.03864234313368797, -0.030269235372543335, -0.0007855416042730212, -0.03828221186995506, -0.032213956117630005, -0.0245791245251894, 0.07155856490135193, -0.04678136482834816, -0.004591704346239567, -0.04667332395911217, 0.029747042804956436, -0.03136764466762543, 0.0022598388604819775, -0.047033458948135376, -0.012604678981006145, -0.011956438422203064, 0.05495639890432358, 0.004146039020270109, 0.021535994485020638, 0.09838852286338806, 0.04760967195034027, 0.03496897965669632, 0.026865972205996513, -0.022706428542733192, -0.0001610754115972668, 0.03520306572318077, -0.034230705350637436, -0.034824926406145096, 0.010506900027394295, 0.0048347944393754005, -0.00010705536260502413, -0.016602162271738052, -0.032321996986866, 0.02049160562455654, -0.05002256855368614, -0.08607195317745209, 0.03035927005112171, -0.029639001935720444, 0.005176921840757132, -0.04746561869978905, 0.028288500383496284, -0.0511389821767807, -0.008805268444120884, 0.0551004521548748, 0.030071161687374115, -0.003292972221970558, -0.034824926406145096, 0.0004543874238152057, 0.011452251113951206, -0.027622252702713013, -0.06655270606279373, -0.006270827725529671, 0.03813815489411354, -0.01472946722060442, -0.02814444713294506, 0.012136504985392094, 0.04080314561724663, 0.029783055186271667, 0.016971299424767494, 0.0631314367055893, -0.05776544287800789, 0.0417034812271595, 0.014360330067574978, -0.0008491277112625539, 0.03730984777212143, 0.05034668743610382, -0.04289191961288452, -0.015845881775021553, -0.00456244358792901, 0.0163680762052536, -0.000005429261364042759, 0.0312776118516922, -0.02263440191745758, 0.007576312404125929, -0.021788086742162704, -0.019519245252013206, -0.06795722246170044, 0.03469888120889664, 0.0016926282551139593, 0.029801061376929283, -0.08996139466762543, -0.009390485472977161, 0.02873866818845272, 0.0332583449780941, 0.014180263504385948, 0.06327548623085022, 0.03961470350623131, -0.09032152593135834, 0.0007680976414121687, -0.026433812454342842, 0.016935287043452263, -0.08383911848068237, -0.028522588312625885, 0.00437112245708704, 0.002487173303961754, -0.03603137284517288, 0.022706428542733192, 0.01732243038713932, -0.04087517410516739, 0.03250206634402275, -0.0027302633970975876, -0.032448045909404755, 0.0050823865458369255, 0.032646119594573975, 0.021950148046016693, -0.03563522920012474, -0.05351586639881134, -0.02639779821038246, 0.05517248064279556, -0.03684167563915253, -0.0004864618240389973, 0.020581640303134918, 0.022922508418560028, 0.016944289207458496, 0.000579027459025383, -0.04166746512055397, 0.015566778369247913, -0.05967415124177933, 0.023498723283410072, -0.04638521745800972, -0.036733634769916534, -0.025353411212563515, -0.03012518212199211, -0.007558305747807026, 0.02655985951423645, 0.011281187646090984, 0.07062221318483353, -0.010299823246896267, -0.03252007067203522, -0.01237059198319912, 0.10991279780864716, -0.02438105084002018, 0.0251013170927763, 0.024669157341122627, -0.016971299424767494, 0.029548969119787216, -0.012235541827976704, -0.022328287363052368, -0.04289191961288452, -0.017790604382753372, 0.006207804195582867, 0.09197814017534256, -0.035347118973731995, -0.03842626512050629, -0.002872066106647253, -0.024525104090571404, 0.03957869112491608, -0.0650041326880455, -0.048582032322883606, 0.030989503487944603, -0.11012887954711914, 0.02018549293279648, -0.003646353492513299, 0.010677963495254517, -0.019645292311906815, 0.0033785041887313128, -0.010506900027394295, 0.03635549545288086, -0.01745747961103916, -0.0001633262581890449, -0.004722252953797579, 0.028324514627456665, -0.0038714371621608734, 0.055280521512031555, -0.016350068151950836, 0.033042266964912415, 0.02081572636961937, 0.011155140586197376, -0.0590619221329689, -0.017466483637690544, 0.0013077354524284601, 0.06748905032873154, 0.05146310105919838, 0.007558305747807026, -0.004344112705439329, -0.016638176515698433, -0.0009605440427549183, -0.019411206245422363, -0.013414979912340641, -0.014558403752744198, 0.0038421761710196733, 0.032015882432460785, -0.055280521512031555, -0.04289191961288452, -0.0032817181199789047, -0.003884942037984729, -0.030305249616503716, 0.032177943736314774, -0.014612424187362194, -0.01959127187728882, 0.00527145667001605, -0.01966329850256443, 0.08427128195762634, -0.01716036908328533, -0.022904502227902412, -0.005505543667823076, 0.01883499138057232, 0.01794365979731083, 0.01123617123812437, -0.012109494768083096, -0.013324946165084839, 0.019447218626737595, 0.04022693261504173, -0.02668590657413006, 0.007360232062637806, -0.00959756225347519, 0.03356445953249931, 0.0502026341855526, -0.006450894754379988, -0.01950123906135559, -0.04512475058436394, 0.04098321124911308, 0.06950580328702927, 0.06377967447042465, -0.01998741924762726, 0.06993795931339264, 0.01978934556245804, -0.07483577728271484, -0.004677236080169678, -0.011623314581811428, -0.1053030863404274, 0.024092942476272583, 0.025713544338941574, -0.01532368827611208, 0.0015845882007852197, -0.09370678663253784, -0.023300649598240852, -0.031169569119811058, 0.016818242147564888, -0.01131720095872879, 0.021301906555891037, -0.013550030067563057, -0.032682131975889206, 0.05783746764063835, 0.0026154709048569202, 0.019951405003666878, -0.056504976004362106, -0.023282641544938087, 0.0610426589846611, 0.008017475716769695, 0.0022564625833183527, -0.019879378378391266, 0.03460884839296341, 0.05189526453614235, 0.011506270617246628, 0.03730984777212143, 0.012145508080720901, -0.040298957377672195, 0.01899705082178116, 0.0028293002396821976, 0.012631689198315144, 0.017304424196481705, -0.04516076296567917, -0.0251013170927763, 0.010137762874364853, -0.009885669685900211, -0.02295852266252041, -0.005694613792002201, -0.06702087819576263, 0.02540743164718151, -0.038714371621608734, -0.033834557980298996, -0.012127501890063286, -0.031187577173113823, 0.008256064727902412, -0.011884411796927452, 0.03644552826881409, -0.0561448410153389, 0.03356445953249931, 0.03763397037982941, -0.04015490412712097, 0.029999135062098503, -0.014180263504385948, 0.0163950864225626, 0.03513104096055031, -0.03572526201605797, 0.021157853305339813, -0.04825791344046593, -0.06842540204524994, 0.02992710843682289, -0.030557341873645782, -0.048618048429489136, -0.0729270726442337, -0.08844882994890213, -0.011749361641705036, 0.008521663025021553, 0.07148653268814087, 0.013468999415636063, 0.03918254375457764, 0.06064651161432266, -0.02890072762966156 ]
44,174
astropy.modeling.core
_initialize_unit_support
Convert self._input_units_strict and self.input_units_allow_dimensionless to dictionaries mapping input name to a boolean value.
def _initialize_unit_support(self): """ Convert self._input_units_strict and self.input_units_allow_dimensionless to dictionaries mapping input name to a boolean value. """ if isinstance(self._input_units_strict, bool): self._input_units_strict = { key: self._input_units_strict for key in self.inputs } if isinstance(self._input_units_allow_dimensionless, bool): self._input_units_allow_dimensionless = { key: self._input_units_allow_dimensionless for key in self.inputs }
(self)
[ 0.02941109985113144, -0.003219584235921502, 0.011604558676481247, -0.008938409388065338, -0.038441747426986694, 0.02830423042178154, -0.03924993798136711, 0.013387848623096943, -0.03359260782599449, 0.005455284845083952, 0.01485488936305046, 0.02661757357418537, 0.011420080438256264, -0.0039025929290801287, -0.013791943900287151, -0.008261988870799541, -0.029920611530542374, 0.007418660447001457, -0.0011980104027315974, -0.028638048097491264, -0.030008459463715553, -0.03686050698161125, 0.011095047928392887, 0.0728776827454567, -0.006975033786147833, 0.04423963651061058, -0.012184347957372665, -0.05214584618806839, 0.003970674239099026, -0.028620479628443718, -0.09107954055070877, 0.06216038018465042, 0.04409908130764961, 0.05657332390546799, 0.03591176122426987, -0.060860246419906616, 0.025370148941874504, 0.015346831642091274, -0.08510595560073853, 0.02477279119193554, -0.0030153405386954546, -0.06335509568452835, 0.010348349809646606, 0.053094591945409775, -0.03429538011550903, 0.032169491052627563, -0.03162483870983124, 0.00847721379250288, 0.036368563771247864, 0.02477279119193554, 0.03403184190392494, -0.023384811356663704, 0.05727609619498253, 0.08833871781826019, -0.09072814881801605, -0.021891416981816292, 0.007141943089663982, 0.02097781002521515, -0.030588246881961823, -0.025229593738913536, -0.08173263818025589, 0.06743118166923523, -0.00709801958873868, -0.04849142208695412, -0.016005681827664375, -0.024930914863944054, -0.05492180585861206, 0.025580981746315956, 0.033979132771492004, 0.07786738127470016, -0.028620479628443718, -0.01485488936305046, -0.0022796238772571087, 0.019941218197345734, 0.026951391249895096, -0.01207893155515194, -0.03995271399617195, 0.0030131444800645113, 0.009794915094971657, -0.03721189498901367, -0.012131639756262302, 0.04870225116610527, -0.04986182972788811, 0.014424440450966358, -0.010857861489057541, 0.006074604578316212, 0.008411329239606857, 0.06655272096395493, 0.0816623643040657, -0.058435674756765366, -0.033715590834617615, 0.020643992349505424, 0.023947030305862427, 0.05622193589806557, 0.030588246881961823, 0.08306790888309479, -0.03403184190392494, -0.043958526104688644, -0.06142246723175049, -0.021135933697223663, -0.007014565169811249, -0.053621672093868256, -0.005406969226896763, 0.016480054706335068, -0.011709975078701973, -0.04409908130764961, -0.005661724600940943, -0.0803270936012268, -0.011824175715446472, 0.0010783191537484527, -0.017499078065156937, -0.0375281423330307, -0.0689070075750351, 0.057030126452445984, -0.043993666768074036, -0.04427477344870567, -0.009698283858597279, -0.04318547621369362, -0.00423860689625144, 0.017209183424711227, -0.01390614453703165, 0.01514478400349617, 0.012201917357742786, 0.003950908780097961, 0.04557490721344948, 0.03281955420970917, 0.032081641256809235, 0.06307398527860641, 0.0737210139632225, 0.02127648890018463, 0.0432557538151741, -0.02631889469921589, -0.025862090289592743, 0.07442378997802734, -0.02159273810684681, -0.025756673887372017, -0.015654295682907104, 0.0022071502171456814, 0.07041797786951065, 0.049123916774988174, 0.04315033555030823, 0.016822658479213715, -0.022102247923612595, -0.005007266066968441, 0.0037576458416879177, 0.010954492725431919, 0.011490358039736748, 0.006276652216911316, -0.06999631226062775, -0.055835410952568054, -0.020116912201046944, 0.02326182648539543, -0.052075568586587906, -0.03991757333278656, -0.03438322991132736, -0.014670412056148052, 0.025176886469125748, -0.09114981442689896, 0.07561850547790527, 0.006988211069256067, -0.03735245019197464, -0.03194108605384827, -0.044169358909130096, 0.03422510251402855, -0.005674901884049177, 0.03556037321686745, -0.026722989976406097, -0.07730516046285629, 0.05576513335108757, 0.024614667519927025, 0.02985033392906189, -0.021223781630396843, -0.0007697573746554554, 0.03858230262994766, 0.0053542610257864, 0.011446435004472733, 0.020819686353206635, -0.03766869753599167, -0.04438019171357155, -0.0006632431759499013, 0.032960109412670135, 0.018957333639264107, -0.10126976668834686, 0.037282172590494156, 0.0008636435959488153, 0.035208988934755325, 0.027759581804275513, -0.014055483974516392, -0.006035073660314083, 0.020275035873055458, 0.027390625327825546, -0.021715722978115082, -0.01126195676624775, 0.030307138338685036, -0.017384877428412437, 0.009575298987329006, 0.026037784293293953, -0.005753963720053434, -0.011683621443808079, 0.015891481190919876, -0.07885126769542694, -0.04114742949604988, -0.006491876672953367, 0.020064203068614006, -0.036579396575689316, -0.0280406903475523, -0.0234023816883564, 0.015399539843201637, 0.003316215705126524, -0.022277941927313805, -0.0414988175034523, -0.04462616145610809, -0.031115328893065453, 0.021118365228176117, 0.030254429206252098, -0.013273647986352444, 0.05214584618806839, 0.023296965286135674, -0.045504629611968994, -0.00461195595562458, 0.05390278249979019, 0.020766977220773697, 0.042236730456352234, -0.046558789908885956, 0.001487904810346663, 0.02217252552509308, -0.02529987134039402, 0.03324121981859207, -0.03995271399617195, 0.044485606253147125, 0.011771468445658684, 0.0008103864965960383, -0.036755092442035675, 0.008587022311985493, -0.019976356998085976, 0.01532047800719738, 0.054992083460092545, -0.047612953931093216, 0.048772528767585754, -0.0269338209182024, 0.03413725644350052, -0.028409646824002266, -0.0117011908441782, -0.025053899735212326, -0.04234214499592781, -0.03963646665215492, 0.009346896782517433, 0.04511810466647148, -0.009636791422963142, -0.004783256910741329, -0.008406936191022396, -0.0006379872211255133, 0.00423860689625144, 0.041252847760915756, 0.0015867323381826282, -0.03679022938013077, 0.010488905012607574, 0.0076690237037837505, 0.023701060563325882, -0.07157755643129349, 0.0194317065179348, 0.01916816644370556, 0.003917966037988663, 0.03773897513747215, -0.041569095104932785, -0.021030517295002937, 0.04729670286178589, 0.026600003242492676, -0.017270676791667938, -0.024175433441996574, 0.03104505129158497, 0.02074940875172615, -0.049334749579429626, -0.0046954103745520115, 0.02025746740400791, 0.02092510275542736, 0.11237359791994095, -0.05323514714837074, -0.0010947904083877802, 0.061211634427309036, 0.017929527908563614, -0.015627941116690636, 0.011929592117667198, 0.05295403674244881, -0.0072253975085914135, -0.06008719652891159, -0.034892737865448, -0.0033557468559592962, 0.031203174963593483, -0.06641216576099396, -0.05678415670990944, 0.04434505105018616, 0.03745786473155022, 0.004936988931149244, -0.007690985221415758, -0.04093659669160843, -0.078570157289505, -0.07393184304237366, 0.050880853086709976, 0.0019491002894937992, -0.024403834715485573, 0.01587391272187233, 0.007761262822896242, 0.028532633557915688, -0.003155895508825779, -0.042588118463754654, 0.03301281854510307, -0.019308721646666527, 0.012553304433822632, -0.005240060389041901, 0.0192033052444458, 0.004038755316287279, 0.025580981746315956, 0.008925232104957104, 0.017894389107823372, -0.011033555492758751, 0.026600003242492676, 0.009302973747253418, 0.018026158213615417, 0.09136064350605011, 0.0002621677122078836, -0.006562154274433851, -0.028181245550513268, 0.0056002321653068066, -0.02247120440006256, -0.049123916774988174, 0.07540766894817352, -0.06795826554298401, 0.02661757357418537, -0.006346929352730513, -0.10323753207921982, -0.025001192465424538, 0.04009326919913292, 0.0018348995363339782, -0.006338145118206739, -0.003480928484350443, 0.010207795538008213, -0.0013682135613635182, -0.013914929702877998, 0.019941218197345734, -0.0027408194728195667, 0.027232499793171883, -0.06212523952126503, 0.0075811767019331455, -0.034541353583335876, -0.043080057948827744, -0.028690757229924202, -0.011007200926542282, 0.037282172590494156, 0.01503058336675167, -0.059665530920028687, 0.004141975659877062, 0.05024835467338562, 0.07119102776050568, 0.051899876445531845, 0.00598236545920372, -0.001848076586611569, -0.026986530050635338, -0.018869487568736076, -0.007919386960566044, 0.09824783354997635, -0.004003616981208324, 0.0010865548392757773, 0.01543467864394188, 0.017780186608433723, -0.04539921507239342, 0.05485152825713158, -0.006852048449218273, 0.013985206373035908, -0.006061427760869265, 0.0014077445957809687, -0.013106739148497581, -0.02609049156308174, -0.0006764201680198312, -0.015215061604976654, 0.05323514714837074, -0.026213478296995163, 0.012641151435673237, -0.0613873265683651, -0.03591176122426987, 0.01885191723704338, 0.032081641256809235, -0.050002384930849075, 0.0666581317782402, -0.017428800463676453, -0.05622193589806557, -0.025089038535952568, 0.013106739148497581, 0.049475304782390594, -0.014204823412001133, 0.028462355956435204, 0.02366592176258564, 0.005191744305193424, 0.04388824850320816, 0.022541482001543045, 0.017253106459975243, -0.00243335566483438, 0.03582391515374184, -0.017736263573169708, 0.02415786311030388, -0.01960740052163601, -0.05045918747782707, -0.021206211298704147, 0.043817970901727676, -0.017253106459975243, 0.008380582556128502, 0.03130859136581421, 0.038125500082969666, 0.027759581804275513, 0.05130251869559288, -0.017718695104122162, 0.0014077445957809687, 0.006939895451068878, -0.020995380356907845, -0.09079843014478683, 0.025721535086631775, -0.021873846650123596, -0.014398086816072464, 0.021346766501665115, 0.01584755815565586, 0.04402880370616913, -0.0022620544768869877, 0.014670412056148052, 0.018693793565034866, 0.04100687429308891, -0.004357200115919113, 0.013923713937401772, 0.030500400811433792, -0.0006802634452469647, 0.03907424584031105, -0.056186798959970474, 0.035788778215646744, -0.014433225616812706, -0.09375008195638657, 0.028796173632144928, 0.004541678354144096, 0.007168296724557877, -0.013159447349607944, -0.021048087626695633, 0.029990889132022858, -0.009513805620372295, -0.026775697246193886, 0.03197622671723366, 0.04030410200357437, -0.03192351758480072, -0.02825152315199375, -0.08131097257137299, 0.05028349533677101, -0.04687504097819328, -0.0007016761228442192, 0.011323449201881886, -0.03253844752907753, 0.014793396927416325, -0.06939895451068878, 0.07793766260147095, 0.0392850786447525, -0.035384681075811386, 0.010849077254533768, -0.004091463517397642, -0.044520746916532516, 0.020521007478237152, -0.004205664619803429, -0.07055853307247162, 0.05168904364109039, 0.020204758271574974, 0.09515562653541565, -0.00929418858140707, -0.014345378614962101, 0.010787583887577057, 0.0337858684360981, -0.003035105997696519, 0.037774112075567245, 0.041393399238586426, -0.0025058293249458075, -0.022453635931015015, -0.03204650431871414, -0.023542936891317368, 0.06852048635482788, -0.04445046931505203, -0.052426956593990326, 0.022049540653824806, -0.0022269156761467457, 0.02080211602151394, -0.0032613114453852177, -0.02013448067009449, -0.039495911449193954, 0.009917900897562504, -0.03130859136581421, -0.018781641498208046, -0.015109645202755928, -0.060333166271448135, 0.0001402116904500872, 0.06261718273162842, -0.008587022311985493, 0.007317636627703905, -0.006895971950143576, 0.009399604983627796, 0.010304426774382591, 0.052743203938007355, 0.052391815930604935, 0.03276684880256653, 0.051197100430727005, -0.07456434518098831, 0.041885342448949814, 0.017876818776130676, 0.03575363755226135, -0.059314142912626266, -0.02623104676604271, -0.04083118215203285, 0.017174044623970985, -0.023244256153702736, 0.004945773631334305, 0.023560505360364914, 0.013414202257990837, 0.061703573912382126, -0.007045311387628317, -0.028971867635846138, -0.006417206954210997, -0.030904496088624, 0.022682037204504013, -0.014231177978217602, 0.056678738445043564, 0.013449341058731079, -0.050880853086709976, 0.01742001622915268, 0.04617226496338844, -0.01908032037317753, -0.032028935849666595, 0.02480792999267578, -0.010682168416678905, -0.008428897708654404, -0.07786738127470016, -0.02273474633693695, 0.07793766260147095, -0.05225126072764397, 0.012922260910272598, 0.058435674756765366, -0.01908032037317753, -0.0410771518945694, 0.017384877428412437, 0.028058260679244995, 0.008626553229987621, 0.0582951195538044, -0.034681908786296844, 0.08749538660049438, 0.04866711422801018, -0.011455219238996506, 0.004390142858028412, -0.009988178499042988, -0.006162451114505529, -0.0657796636223793, -0.014275101013481617, 0.006382068153470755, -0.001599909388460219, 0.041569095104932785, -0.039987850934267044, 0.050318632274866104, -0.01393249910324812, 0.00161747878883034, 0.0392850786447525, -0.00017253655823878944, -0.048948224633932114, -0.021715722978115082, 0.025335010141134262, -0.08967398852109909, -0.05225126072764397, -0.023279394954442978, 0.0291475597769022, -0.03399670124053955, 0.04199076071381569, 0.028620479628443718, -0.04255297780036926, -0.04251784086227417, 0.022752314805984497, -0.05260264873504639, -0.03413725644350052, 0.020608853548765182, 0.00047272545634768903, -0.024175433441996574, -0.03173025697469711, -0.01730581559240818, 0.07245601713657379, -0.016971997916698456, -0.03108019009232521, 0.0490185022354126, -0.03095720335841179, 0.008749539032578468, 0.0044296737760305405, -0.006553369574248791, -0.019660107791423798, -0.004185898695141077, -0.03654425963759422, -0.01684022694826126, 0.015004229731857777, -0.02874346449971199, -0.034418366849422455, -0.028462355956435204, -0.03368045389652252, 0.03308309614658356, -0.021645445376634598, -0.013018892146646976, -0.024579528719186783, -0.00653580017387867, 0.012237056158483028, 0.008780285716056824, -0.007677808403968811, 0.016392208635807037, 0.006250298116356134, -0.05787345767021179, -0.02923540771007538, 0.01518870797008276, -0.03566579148173332, 0.016998350620269775, -0.0011606755433604121, 0.03438322991132736, -0.0604737214744091, -0.017463939264416695, -0.017165260389447212, 0.0481400340795517, 0.0002694425347726792, -0.041744787245988846, 0.01114775612950325, -0.02305099368095398, 0.007466976065188646, -0.020731838420033455, -0.08250569552183151, 0.03654425963759422, -0.03037741594016552, 0.03745786473155022, -0.027706872671842575, 0.04427477344870567, 0.013256078585982323, 0.06233607232570648, -0.05587054789066315, -0.00380156934261322, 0.007133158389478922, 0.015267769806087017, 0.001967767719179392, 0.03336420655250549, 0.029112420976161957, 0.032116781920194626, 0.0029384747613221407, 0.07828904688358307, 0.026389172300696373, 0.008907662704586983, -0.025229593738913536, -0.010901784524321556, -0.017894389107823372, 0.025335010141134262, 0.023964600637555122, -0.048596836626529694, 0.039847299456596375, -0.002266446826979518, -0.007278105244040489, -0.011051123961806297, 0.012588443234562874, -0.05646790936589241, -0.009232696145772934, 0.015092075802385807, -0.016119884327054024, -0.09754505753517151, 0.054992083460092545, -0.036368563771247864, -0.014398086816072464, 0.051653902977705, 0.015707002952694893, -0.01646248623728752, 0.004616348072886467, -0.02746090292930603, 0.011200464330613613, 0.020907532423734665, -0.028286661952733994, 0.046558789908885956, 0.007734908722341061, -0.015443462878465652, 0.02967464178800583, 0.03461163118481636, 0.013923713937401772, 0.0002997771371155977, -0.01964253932237625, -0.03868772089481354, -0.001092594233341515, -0.020415591076016426, 0.04114742949604988, 0.01981823332607746, -0.018570808693766594, -0.043466586619615555, -0.035472527146339417, 0.005253237206488848, 0.03626314923167229, 0.0410771518945694, -0.02322668768465519, -0.005991150159388781, -0.016523977741599083, -0.011560635641217232, -0.06216038018465042, -0.022154957056045532, 0.021803569048643112, 0.012702643871307373, 0.0315721295773983, 0.057592347264289856, -0.04561004787683487, -0.058435674756765366, 0.006140489596873522, 0.006891579367220402, 0.005507993046194315, -0.05502722039818764, 0.010357134975492954, 0.038301195949316025, -0.04986182972788811, 0.04230700805783272, 0.0666581317782402, 0.010901784524321556, -0.08067847788333893, -0.0032283689361065626, 0.05720582231879234, 0.02428084798157215, 0.044661302119493484, 0.04297464340925217, -0.020608853548765182, 0.054289307445287704, -0.005991150159388781, -0.02967464178800583, 0.010339565575122833, -0.0574166513979435, 0.033979132771492004, -0.04406394436955452, -0.05797887220978737, 0.022928008809685707, 0.000821367371827364, -0.0031778570264577866, 0.030886925756931305, -0.06525258719921112, 0.03893369063735008, -0.03151942417025566, -0.030799079686403275, 0.02401730790734291, 0.007559215184301138, -0.01677873358130455, 0.043817970901727676, 0.03679022938013077, 0.000915253593120724, 0.03626314923167229, 0.032696571201086044, -0.048596836626529694, 0.028444785624742508, 0.04445046931505203, -0.005380615126341581, 0.012755352072417736, -0.00492381164804101, 0.024351125583052635, 0.002415786264464259, 0.010427412576973438, -0.010928139090538025, 0.04687504097819328, -0.014652842655777931, 0.008398151956498623, -0.01593540608882904, -0.013730451464653015, -0.01964253932237625, -0.02932325378060341, -0.013141877949237823, 0.008762716315686703, 0.07582933455705643, -0.02830423042178154, 0.04796433821320534, 0.041920483112335205, 0.0030460869893431664 ]