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
sequencelengths 768
768
|
---|---|---|---|---|---|---|
7,489 | eth_account.account | from_mnemonic |
Generate an account from a mnemonic.
.. CAUTION:: This feature is experimental, unaudited, and likely to change soon
:param str mnemonic: space-separated list of BIP39 mnemonic seed words
:param str passphrase: Optional passphrase used to encrypt the mnemonic
:param str account_path: Specify an alternate HD path for deriving the seed
using BIP32 HD wallet key derivation.
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> from eth_account import Account
>>> Account.enable_unaudited_hdwallet_features()
>>> acct = Account.from_mnemonic(
... "coral allow abandon recipe top tray caught video climb similar "
... "prepare bracket antenna rubber announce gauge volume "
... "hub hood burden skill immense add acid")
>>> acct.address
'0x9AdA5dAD14d925f4df1378409731a9B71Bc8569d'
# These methods are also available: sign_message(), sign_transaction(),
# encrypt(). They correspond to the same-named methods in Account.*
# but without the private key argument
Or, generate multiple accounts from a mnemonic.
>>> from eth_account import Account
>>> Account.enable_unaudited_hdwallet_features()
>>> iterator = 0
>>> for i in range(10):
... acct = Account.from_mnemonic(
... "health embark april buyer eternal leopard "
... "want before nominee head thing tackle",
... account_path=f"m/44'/60'/0'/0/{iterator}")
... iterator = iterator + 1
... acct.address
'0x61Cc15522D06983Ac7aADe23f9d5433d38e78195'
'0x1240460F6E370f28079E5F9B52f9DcB759F051b7'
'0xd30dC9f996539826C646Eb48bb45F6ee1D1474af'
'0x47e64beb58c9A469c5eD086aD231940676b44e7C'
'0x6D39032ffEF9987988a069F52EFe4d95D0770555'
'0x3836A6530D1889853b047799Ecd8827255072e77'
'0xed5490dEfF8d8FfAe45cb4066C3daC7C6BFF6a22'
'0xf04F9Ff322799253bcC6B12762AD127570a092c5'
'0x900F7fa9fbe85BB25b6cdB94Da24D807f7feb213'
'0xa248e118b0D19010387b1B768686cd9B473FA137'
.. CAUTION:: For the love of Bob please do not use this mnemonic,
it is for testing purposes only.
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, mnemonic: str, passphrase: str = '', account_path: str = "m/44'/60'/0'/0/0") -> eth_account.signers.local.LocalAccount | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,490 | eth_account.account | recover_message |
Get the address of the account that signed the given message.
You must specify exactly one of: vrs or signature
:param signable_message: the message that was signed
:param vrs: the three pieces generated by an elliptic curve signature
:type vrs: tuple(v, r, s), each element is hex str, bytes or int
:param signature: signature bytes concatenated as r+s+v
:type signature: hex str or bytes or int
:returns: address of signer, hex-encoded & checksummed
:rtype: str
.. doctest:: python
>>> from eth_account.messages import encode_defunct
>>> from eth_account import Account
>>> message = encode_defunct(text="I♥SF")
>>> vrs = (
... 28,
... '0xe6ca9bba58c88611fad66a6ce8f996908195593807c4b38bd528d2cff09d4eb3',
... '0x3e5bfbbf4d3e39b1a2fd816a7680c19ebebaf3a141b239934ad43cb33fcec8ce')
>>> Account.recover_message(message, vrs=vrs)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
# All of these recover calls are equivalent:
# variations on vrs
>>> vrs = (
... '0x1c',
... '0xe6ca9bba58c88611fad66a6ce8f996908195593807c4b38bd528d2cff09d4eb3',
... '0x3e5bfbbf4d3e39b1a2fd816a7680c19ebebaf3a141b239934ad43cb33fcec8ce')
>>> Account.recover_message(message, vrs=vrs)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> # Caution about this approach: likely problems if there are leading 0s
>>> vrs = (
... 0x1c,
... 0xe6ca9bba58c88611fad66a6ce8f996908195593807c4b38bd528d2cff09d4eb3,
... 0x3e5bfbbf4d3e39b1a2fd816a7680c19ebebaf3a141b239934ad43cb33fcec8ce)
>>> Account.recover_message(message, vrs=vrs)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> vrs = (
... b'\x1c',
... b'\xe6\xca\x9b\xbaX\xc8\x86\x11\xfa\xd6jl\xe8\xf9\x96\x90\x81\x95Y8\x07\xc4\xb3\x8b\xd5(\xd2\xcf\xf0\x9dN\xb3',
... b'>[\xfb\xbfM>9\xb1\xa2\xfd\x81jv\x80\xc1\x9e\xbe\xba\xf3\xa1A\xb29\x93J\xd4<\xb3?\xce\xc8\xce')
>>> Account.recover_message(message, vrs=vrs)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
# variations on signature
>>> signature = '0xe6ca9bba58c88611fad66a6ce8f996908195593807c4b38bd528d2cff09d4eb33e5bfbbf4d3e39b1a2fd816a7680c19ebebaf3a141b239934ad43cb33fcec8ce1c'
>>> Account.recover_message(message, signature=signature)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> signature = b'\xe6\xca\x9b\xbaX\xc8\x86\x11\xfa\xd6jl\xe8\xf9\x96\x90\x81\x95Y8\x07\xc4\xb3\x8b\xd5(\xd2\xcf\xf0\x9dN\xb3>[\xfb\xbfM>9\xb1\xa2\xfd\x81jv\x80\xc1\x9e\xbe\xba\xf3\xa1A\xb29\x93J\xd4<\xb3?\xce\xc8\xce\x1c'
>>> Account.recover_message(message, signature=signature)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> # Caution about this approach: likely problems if there are leading 0s
>>> signature = 0xe6ca9bba58c88611fad66a6ce8f996908195593807c4b38bd528d2cff09d4eb33e5bfbbf4d3e39b1a2fd816a7680c19ebebaf3a141b239934ad43cb33fcec8ce1c
>>> Account.recover_message(message, signature=signature)
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, signable_message: eth_account.messages.SignableMessage, vrs: Optional[Tuple[~VRS, ~VRS, ~VRS]] = None, signature: bytes = None) -> eth_typing.evm.ChecksumAddress | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,491 | eth_account.account | recover_transaction |
Get the address of the account that signed this transaction.
:param serialized_transaction: the complete signed transaction
:type serialized_transaction: hex str, bytes or int
:returns: address of signer, hex-encoded & checksummed
:rtype: str
.. doctest:: python
>>> raw_transaction = '0xf86a8086d55698372431831e848094f0109fc8df283027b6285cc889f5aa624eac1f55843b9aca008025a009ebb6ca057a0535d6186462bc0b465b561c94a295bdb0621fc19208ab149a9ca0440ffd775ce91a833ab410777204d5341a6f9fa91216a6f3ee2c051fea6a0428'
>>> Account.recover_transaction(raw_transaction)
'0x2c7536E3605D9C16a7a3D7b1898e529396a65c23'
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, serialized_transaction) | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,492 | eth_account.account | set_key_backend |
Change the backend used by the underlying eth-keys library.
*(The default is fine for most users)*
:param backend: any backend that works in
`eth_keys.KeyApi(backend)
<https://github.com/ethereum/eth-keys/#keyapibackendnone>`_
| def set_key_backend(self, backend):
"""
Change the backend used by the underlying eth-keys library.
*(The default is fine for most users)*
:param backend: any backend that works in
`eth_keys.KeyApi(backend)
<https://github.com/ethereum/eth-keys/#keyapibackendnone>`_
"""
self._keys = KeyAPI(backend)
| (self, backend) | [
0.0022008747328072786,
-0.04499165341258049,
-0.06479952484369278,
0.03647679463028908,
-0.0482388474047184,
0.004685878753662109,
-0.022567985579371452,
0.013295448385179043,
0.04340413585305214,
-0.07569566369056702,
0.011446353048086166,
-0.02758309431374073,
-0.015108464285731316,
0.011383213102817535,
-0.04008478671312332,
-0.03290488198399544,
0.0003405041934456676,
0.016831280663609505,
-0.006323005072772503,
-0.05884633958339691,
-0.006237315014004707,
0.00008808572601992637,
0.06746944040060043,
-0.0029111981857568026,
0.0015830062329769135,
0.06241825222969055,
0.010318855755031109,
0.023109184578061104,
0.08976683020591736,
-0.016984619200229645,
-0.024895140901207924,
-0.01530690398067236,
0.021792268380522728,
-0.015893202275037766,
0.024173542857170105,
0.009281557984650135,
0.03577323630452156,
0.0070310733281075954,
-0.05163035914301872,
0.008036800660192966,
0.06133585423231125,
-0.020926350727677345,
0.046939969062805176,
0.0016438910970464349,
0.02494926005601883,
0.08356108516454697,
0.05213547497987747,
0.009633337147533894,
0.07706669718027115,
-0.0032877821940928698,
-0.03425787761807442,
-0.008577999658882618,
0.009231948293745518,
0.031822483986616135,
-0.05603210628032684,
0.01782347820699215,
-0.002638343721628189,
-0.03806430846452713,
-0.06516032665967941,
0.023632343858480453,
-0.04989852011203766,
-0.0367293544113636,
-0.01112163346260786,
0.0005589568172581494,
0.009200378321111202,
-0.04621836915612221,
-0.03939926624298096,
0.010778874158859253,
0.017381498590111732,
0.0006612771539948881,
0.010914173908531666,
-0.014576285146176815,
-0.017543857917189598,
-0.010003156028687954,
-0.03429395705461502,
0.01777837797999382,
-0.08745770901441574,
0.058052580803632736,
-0.11473412811756134,
0.0159743819385767,
0.035701073706150055,
0.013854687102138996,
-0.024498261511325836,
0.0356830358505249,
0.02265818603336811,
-0.01033689547330141,
0.009105668403208256,
0.02402922324836254,
0.012600909918546677,
-0.0492851622402668,
-0.04178054258227348,
-0.024678662419319153,
0.019230594858527184,
0.04758940637111664,
0.04275469854474068,
-0.04376493766903877,
-0.023722544312477112,
-0.050908759236335754,
-0.010499254800379276,
0.034438278526067734,
0.037378791719675064,
0.011139673180878162,
0.05361475422978401,
-0.02969376929104328,
0.023957062512636185,
-0.04156406223773956,
0.008857619017362595,
-0.014657464809715748,
-0.015514363534748554,
0.010165516287088394,
-0.015911241993308067,
0.00022380822338163853,
-0.014440985396504402,
0.028683532029390335,
0.0028052134439349174,
0.05603210628032684,
0.03817255049943924,
-0.014062146656215191,
0.0787263736128807,
0.007170883007347584,
-0.06371712684631348,
0.0043228245340287685,
-0.023469984531402588,
0.012447570450603962,
0.023542143404483795,
-0.015433183871209621,
0.10311639308929443,
0.0199161134660244,
-0.01627204194664955,
-0.053867314010858536,
0.003454651916399598,
0.015180624090135098,
-0.046398770064115524,
0.021413428708910942,
0.007558742072433233,
0.030541647225618362,
0.006286925170570612,
0.03976006433367729,
0.014224505983293056,
0.05964009836316109,
-0.03795607015490532,
0.012131871655583382,
0.012276191264390945,
0.0325080044567585,
0.0047670588828623295,
-0.0003965971991419792,
-0.04845532402396202,
-0.05650114640593529,
0.027655255049467087,
-0.03553871437907219,
0.005064717959612608,
0.06122761592268944,
-0.011816171929240227,
0.03207504376769066,
-0.0419248603284359,
0.04686781018972397,
-0.046615250408649445,
0.04048166424036026,
0.019952192902565002,
0.0743967816233635,
-0.03416767716407776,
-0.0024308841675519943,
0.03954358771443367,
-0.04344021528959274,
-0.005069227889180183,
0.024353941902518272,
-0.07771613448858261,
-0.002667658729478717,
-0.0039642807096242905,
0.0035380865447223186,
-0.0215036291629076,
-0.048816125839948654,
-0.0901276245713234,
0.014648444950580597,
0.06692823767662048,
-0.012474630028009415,
0.0346367172896862,
-0.007112252991646528,
-0.0018197806784883142,
-0.006710864137858152,
0.07320614904165268,
0.03799214959144592,
-0.018445856869220734,
0.030685966834425926,
0.02242366597056389,
-0.0007796643767505884,
0.03788391128182411,
0.06898479908704758,
0.027835654094815254,
0.027204254642128944,
-0.012249130755662918,
0.03752310946583748,
-0.02444414235651493,
-0.024191582575440407,
-0.03243584185838699,
-0.03187660500407219,
0.07284534722566605,
-0.07374734431505203,
-0.05830514058470726,
0.04517205432057381,
-0.03185856342315674,
-0.012835429981350899,
0.028124293312430382,
0.026915615424513817,
0.04654308781027794,
-0.027204254642128944,
0.02915257029235363,
-0.02089027129113674,
0.029116490855813026,
0.019735712558031082,
-0.02034907229244709,
-0.06555720418691635,
-0.058160822838544846,
0.026789337396621704,
0.009407837875187397,
-0.006088485475629568,
-0.0010474449954926968,
0.018725475296378136,
0.017940737307071686,
0.009425877593457699,
0.04607405140995979,
0.02455238252878189,
0.017011679708957672,
-0.08998330682516098,
0.011311053298413754,
0.010733774863183498,
0.03914670646190643,
0.001451089046895504,
-0.012492670677602291,
-0.010418075136840343,
0.0010761962039396167,
0.02085418999195099,
-0.03562891483306885,
0.0054796370677649975,
0.035935595631599426,
-0.06898479908704758,
0.023848824203014374,
-0.054372429847717285,
0.002624813700094819,
0.006679294165223837,
0.056465066969394684,
0.021774228662252426,
0.005980245769023895,
-0.054588910192251205,
-0.08428268134593964,
0.05505795031785965,
0.0049700080417096615,
-0.02864745259284973,
0.0054796370677649975,
-0.012546789832413197,
-0.022586027160286903,
-0.042935099452733994,
0.023235464468598366,
-0.023018985986709595,
0.004216840025037527,
-0.02004239335656166,
-0.040517743676900864,
-0.032868802547454834,
0.011996571905910969,
0.0009279302903451025,
-0.031515806913375854,
0.03218328207731247,
-0.07742749899625778,
0.00960627757012844,
0.07583998143672943,
0.033175479620695114,
0.010174536146223545,
0.06588192284107208,
0.0330311618745327,
0.026915615424513817,
0.08947818726301193,
-0.008496819995343685,
-0.019032154232263565,
0.02696973644196987,
0.040625981986522675,
-0.013493888080120087,
-0.04311549663543701,
0.07086095213890076,
-0.061191536486148834,
0.0017532582860440016,
0.018076037988066673,
-0.06689216196537018,
-0.011103593744337559,
0.0042213499546051025,
0.002254994586110115,
-0.057403143495321274,
-0.017967797815799713,
0.0032674872782081366,
0.03083028644323349,
-0.065016008913517,
-0.009105668403208256,
0.042935099452733994,
-0.04488341510295868,
0.034221798181533813,
-0.006733414251357317,
-0.0660623237490654,
-0.08103548735380173,
-0.03259820118546486,
0.05213547497987747,
0.009723536670207977,
0.02704189531505108,
0.05505795031785965,
-0.006106525659561157,
0.0356469564139843,
0.0650520846247673,
0.005723176524043083,
0.016010461375117302,
0.004083795472979546,
-0.04376493766903877,
0.018112117424607277,
-0.007107743062078953,
-0.016416361555457115,
0.0030825776048004627,
-0.00778424134477973,
0.021359309554100037,
0.03577323630452156,
0.015415143221616745,
-0.004821178503334522,
-0.020078472793102264,
0.03647679463028908,
-0.014576285146176815,
-0.0028390383813530207,
-0.09272538125514984,
0.018599195405840874,
0.00556081673130393,
-0.01777837797999382,
0.04048166424036026,
-0.030343208461999893,
0.006823613774031401,
0.0159743819385767,
-0.007815811783075333,
0.036945831030607224,
0.04383709654211998,
0.0029314931016415358,
-0.04899652302265167,
0.011329093016684055,
0.03541243448853493,
-0.015171604230999947,
-0.05487754940986633,
-0.0144229456782341,
0.019898073747754097,
-0.02350606396794319,
-0.010436114855110645,
-0.010120416060090065,
-0.055021870881319046,
-0.005105307791382074,
-0.003671131329610944,
-0.04329589754343033,
0.028773732483386993,
-0.00020365419914014637,
-0.04217742010951042,
-0.015072383917868137,
0.06093897670507431,
0.01273620966821909,
0.06126369535923004,
-0.05022324249148369,
-0.05704234540462494,
-0.017065798863768578,
-0.062454331666231155,
-0.0408785417675972,
0.046146210283041,
-0.036025796085596085,
-0.027258375659585,
0.006625174079090357,
-0.06786631792783737,
-0.018139176070690155,
0.04390925541520119,
-0.01788661815226078,
0.052893154323101044,
0.027961933985352516,
0.04224957898259163,
-0.06963423639535904,
-0.012474630028009415,
0.10340503603219986,
0.018472915515303612,
0.02861137129366398,
-0.02864745259284973,
0.034781038761138916,
0.0001409371616318822,
0.05267667397856712,
0.06321200728416443,
0.005619446747004986,
0.0660984069108963,
0.032147202640771866,
0.010183556005358696,
0.03521399572491646,
0.044955573976039886,
-0.01111261360347271,
0.08752987533807755,
-0.010959274135529995,
0.018689395859837532,
-0.008803498931229115,
0.02361430414021015,
0.014738645404577255,
0.004216840025037527,
0.012104811146855354,
-0.02915257029235363,
-0.028160372748970985,
-0.009033508598804474,
-0.01430568564683199,
0.007730121724307537,
-0.014955124817788601,
0.04704820737242699,
0.03521399572491646,
0.036765433847904205,
0.05065619945526123,
0.013484868220984936,
0.0051233479753136635,
-0.012113831005990505,
-0.005520226899534464,
-0.06137193366885185,
0.041455820202827454,
-0.034438278526067734,
-0.02368646301329136,
0.018815675750374794,
0.05202723667025566,
0.0009544264758005738,
-0.03072204627096653,
0.008510350249707699,
0.0650881677865982,
0.00020238576689735055,
0.03723447024822235,
-0.016389301046729088,
-0.04917692393064499,
0.02871961146593094,
0.021882468834519386,
0.024408062919974327,
-0.033175479620695114,
-0.01237541064620018,
-0.015135523863136768,
0.033500202000141144,
-0.0043476298451423645,
-0.00594867579638958,
0.009525096975266933,
-0.01033689547330141,
0.005714156664907932,
0.055310510098934174,
-0.0011917647207155824,
-0.03153384476900101,
-0.07591214030981064,
-0.029008250683546066,
-0.05476931110024452,
-0.027709374204277992,
-0.015433183871209621,
-0.017282279208302498,
-0.030559686943888664,
-0.024353941902518272,
0.02067379094660282,
0.036025796085596085,
0.027240335941314697,
0.01483786478638649,
-0.007013033144176006,
0.01831957697868347,
-0.022586027160286903,
0.06231001392006874,
-0.044306136667728424,
0.04113110154867172,
-0.0021366074215620756,
0.02559869922697544,
0.013647227548062801,
-0.011473412625491619,
0.03555675595998764,
0.012231091037392616,
-0.03218328207731247,
0.006976953241974115,
0.0325080044567585,
0.019753752276301384,
0.043259818106889725,
0.029026290401816368,
0.01802191697061062,
-0.05440850928425789,
0.018139176070690155,
-0.012573850341141224,
0.03900238871574402,
-0.006783023942261934,
0.01447706576436758,
0.015045324340462685,
-0.027817614376544952,
-0.09914760291576385,
-0.06371712684631348,
-0.04665132984519005,
-0.006877733860164881,
0.037162311375141144,
0.04737292602658272,
0.011256933212280273,
-0.06054209545254707,
0.005200017709285021,
-0.024065302684903145,
-0.02370450459420681,
-0.018436836078763008,
-0.027005815878510475,
-0.011635771952569485,
0.01290758978575468,
0.04160014167428017,
0.018941955640912056,
0.00893428921699524,
0.008293869905173779,
-0.003414061851799488,
-0.05736706405878067,
-0.001416136627085507,
-0.01326838880777359,
-0.02161186933517456,
-0.019880032166838646,
0.018707435578107834,
0.03939926624298096,
-0.003713976126164198,
-0.04665132984519005,
0.004277724772691727,
0.0038515308406203985,
0.022008748725056648,
-0.0012267171405255795,
-0.004241644870489836,
0.009696477092802525,
-0.07089703530073166,
0.004007125273346901,
-0.00938077736645937,
-0.04134758189320564,
-0.027727413922548294,
-0.03344608098268509,
0.053326115012168884,
0.03584539517760277,
0.003556126495823264,
0.03503359854221344,
0.04246605932712555,
0.07468542456626892,
-0.001123551046475768,
-0.04275469854474068,
-0.026067737489938736,
0.03642267361283302,
0.014026066288352013,
-0.022477786988019943,
0.05964009836316109,
0.05155819654464722,
0.04751724749803543,
-0.03680151328444481,
-0.04968204349279404,
0.000037172176234889776,
-0.03093852661550045,
0.07475758343935013,
-0.07270102947950363,
-0.02559869922697544,
0.0361701138317585,
-0.030992645770311356,
-0.08233436197042465,
0.046146210283041,
-0.02453434094786644,
-0.06573760509490967,
-0.0011134035885334015,
-0.016921479254961014,
0.006724393926560879,
-0.0052902172319591045,
-0.02579713799059391,
0.055021870881319046,
-0.03115500696003437,
-0.017588958144187927,
-0.04307941719889641,
0.05859377980232239,
0.059531860053539276,
-0.009006449021399021,
0.016659900546073914,
-0.019771793857216835,
-0.0022583771497011185,
-0.04668740928173065,
0.04113110154867172,
0.09099354594945908,
-0.020529471337795258,
-0.0064492844976484776,
0.005664546508342028,
0.018707435578107834,
0.0013620167737826705,
-0.03126324713230133,
0.013926846906542778,
0.08327244222164154,
0.04989852011203766,
-0.0398683063685894,
0.008081900887191296,
-0.004541559144854546,
0.06122761592268944,
-0.037811748683452606,
-0.08016957342624664,
0.00025664657005108893,
0.06415008753538132,
0.005019618198275566,
0.08543723821640015,
0.012573850341141224,
0.006562034599483013,
0.03384295850992203,
0.0009448427590541542,
-0.09590041637420654,
-0.05368691310286522,
-0.061624493449926376,
-0.021575788035988808,
-0.013304468244314194,
-0.017706217244267464,
0.003143462585285306,
-0.010309835895895958,
-0.06411400437355042,
-0.02494926005601883,
0.04885220527648926,
0.017390519380569458,
-0.01939295418560505,
0.017417578026652336,
0.035935595631599426,
-0.025237899273633957,
0.07490190118551254,
-0.033824920654296875,
-0.031930726021528244,
-0.06346456706523895,
0.029206691309809685,
-0.002403824357315898,
0.008645649068057537,
0.02686149626970291,
-0.0050872680731117725,
-0.007585802115499973,
0.009245478548109531,
-0.032670363783836365,
0.06833535432815552,
-0.004861768335103989,
0.00036869163159281015,
-0.015018264763057232,
-0.027510935440659523,
0.05199115723371506,
0.0014691289979964495,
0.04968204349279404,
-0.03000044822692871,
-0.04271861910820007,
0.013845667243003845,
-0.005042167846113443,
-0.0030983625911176205,
-0.014251566492021084,
0.003919180482625961,
-0.0022392095997929573,
-0.008077390491962433,
0.005222567822784185,
0.01797681674361229,
-0.04040950536727905,
-0.01494610495865345,
0.02327154390513897,
0.041455820202827454,
0.005411987192928791,
-0.04484733194112778,
0.05422811210155487,
0.011455372907221317,
-0.0022516122553497553,
-0.006273394916206598,
-0.021738149225711823,
-0.06573760509490967,
-0.03135344386100769,
-0.012501690536737442,
-0.022279346361756325,
-0.03573715686798096,
-0.01033689547330141,
-0.026194017380475998,
0.029206691309809685,
-0.034961435943841934,
-0.0037207412533462048,
0.009867856279015541,
0.017489738762378693,
-0.0024353943299502134,
-0.04621836915612221,
-0.0005234406562522054,
-0.014810805208981037,
0.028503132984042168,
0.024462182074785233,
0.029838088899850845,
-0.012772290036082268,
-0.0367293544113636,
-0.0038177059032022953,
-0.03398727998137474,
0.002809723373502493,
0.013566047884523869,
-0.022910745814442635,
-0.048707883805036545,
-0.022513866424560547,
0.015496322885155678,
0.021034590899944305,
0.013863706961274147,
-0.04123934358358383,
0.008429169654846191,
-0.012402470223605633,
-0.02013259194791317,
-0.03205700218677521,
-0.017065798863768578,
0.03903846815228462,
-0.04448653385043144,
0.012149911373853683,
0.02182834781706333,
0.06732512265443802,
-0.028900012373924255,
-0.11819779872894287,
-0.0073512825183570385,
-0.020006312057375908,
0.025021420791745186,
-0.007500112056732178,
-0.04878004267811775,
-0.026807377114892006,
-0.016957560554146767,
-0.03469083830714226,
-0.010598475113511086,
0.011320073157548904,
-0.0012458845740184188,
-0.009588236920535564,
-0.020367112010717392,
-0.04679564759135246,
0.037487030029296875,
-0.01610066182911396,
-0.02518378011882305,
-0.016723040491342545,
-0.022513866424560547,
-0.05235195532441139,
0.029423169791698456,
-0.002746583428233862,
-0.0022922020871192217,
-0.028701571747660637,
0.02096243016421795,
-0.012691110372543335,
0.007978171110153198,
-0.003916925750672817,
-0.03072204627096653,
0.012573850341141224,
-0.009344697929918766,
0.016650879755616188,
0.02558065950870514,
-0.049321241676807404,
0.03061380796134472,
-0.017525818198919296,
-0.005177467595785856,
0.0018254182068631053,
-0.031714245676994324,
0.03842511028051376,
0.038641586899757385,
-0.029026290401816368,
-0.04950164258480072,
-0.002802958246320486,
-0.023939022794365883,
-0.07620077580213547,
0.06422224640846252,
-0.08009740710258484,
0.055202268064022064,
0.0597844198346138,
0.012862489558756351,
-0.009308617562055588,
-0.036007754504680634,
-0.01405312679708004,
-0.0008850853773765266,
0.02601361833512783,
0.005831416230648756,
-0.03147972375154495,
0.04665132984519005,
0.07843773066997528,
-0.03745095059275627,
0.04239390045404434,
0.011744012124836445,
0.026446577161550522,
0.026897575706243515,
-0.009407837875187397,
-0.0059622060507535934,
0.0786542147397995,
-0.019843952730298042,
-0.019356874749064445,
-0.046146210283041,
0.01751679927110672,
0.0183646772056818,
-0.051341719925403595,
0.013060929253697395,
-0.037775669246912,
0.01777837797999382,
-0.004654308781027794
] |
7,493 | eth_account.account | signHash |
Sign the provided hash.
.. WARNING:: *Never* sign a hash that you didn't generate,
it can be an arbitrary transaction. For example, it might
send all of your account's ether to an attacker.
Instead, prefer :meth:`~eth_account.account.Account.sign_message`,
which cannot accidentally sign a transaction.
.. CAUTION:: Deprecated for
:meth:`~eth_account.account.Account.unsafe_sign_hash`.
This method will be removed in v0.13
:param message_hash: the 32-byte message hash to be signed
:type message_hash: hex str, bytes or int
:param private_key: the key to sign the message with
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:returns: Various details about the signature - most
importantly the fields: v, r, and s
:rtype: ~eth_account.datastructures.SignedMessage
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, message_hash, private_key) | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,494 | eth_account.account | sign_message |
Sign the provided message.
This API supports any messaging format that will encode to EIP-191 messages.
If you would like historical compatibility with :meth:`w3.eth.sign() <web3.eth.Eth.sign>`
you can use :meth:`~eth_account.messages.encode_defunct`.
Other options are the "validator", or "structured data" standards.
You can import all supported message encoders in
``eth_account.messages``.
:param signable_message: the encoded message for signing
:param private_key: the key to sign the message with
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:returns: Various details about the signature - most importantly the
fields: v, r, and s
:rtype: ~eth_account.datastructures.SignedMessage
.. doctest:: python
>>> msg = "I♥SF"
>>> from eth_account.messages import encode_defunct
>>> msghash = encode_defunct(text=msg)
>>> msghash
SignableMessage(version=b'E',
header=b'thereum Signed Message:\n6',
body=b'I\xe2\x99\xa5SF')
>>> # If you're curious about the internal fields of SignableMessage, take a look at EIP-191, linked above
>>> key = "0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364"
>>> Account.sign_message(msghash, key)
SignedMessage(messageHash=HexBytes('0x1476abb745d423bf09273f1afd887d951181d25adc66c4834a70491911b7f750'),
message_hash=HexBytes('0x1476abb745d423bf09273f1afd887d951181d25adc66c4834a70491911b7f750'),
r=104389933075820307925104709181714897380569894203213074526835978196648170704563,
s=28205917190874851400050446352651915501321657673772411533993420917949420456142,
v=28,
signature=HexBytes('0xe6ca9bba58c88611fad66a6ce8f996908195593807c4b38bd528d2cff09d4eb33e5bfbbf4d3e39b1a2fd816a7680c19ebebaf3a141b239934ad43cb33fcec8ce1c'))
.. _EIP-191: https://eips.ethereum.org/EIPS/eip-191
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, signable_message: eth_account.messages.SignableMessage, private_key: Union[bytes, eth_typing.encoding.HexStr, int, eth_keys.datatypes.PrivateKey]) -> eth_account.datastructures.SignedMessage | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,495 | eth_account.account | sign_transaction |
Sign a transaction using a local private key.
It produces signature details and the hex-encoded transaction suitable for
broadcast using :meth:`w3.eth.sendRawTransaction()
<web3.eth.Eth.sendRawTransaction>`.
To create the transaction dict that calls a contract, use contract object:
`my_contract.functions.my_function().buildTransaction()
<http://web3py.readthedocs.io/en/latest/contracts.html#methods>`_
Note: For non-legacy (typed) transactions, if the transaction type is not
explicitly provided, it may be determined from the transaction parameters of
a well-formed transaction. See below for examples on how to sign with
different transaction types.
:param dict transaction_dict: the transaction with available keys, depending
on the type of transaction: nonce, chainId, to, data, value, gas, gasPrice,
type, accessList, maxFeePerGas, and maxPriorityFeePerGas
:param private_key: the private key to sign the data with
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param blobs: optional list of blobs to sign in addition to the transaction
:returns: Various details about the signature - most
importantly the fields: v, r, and s
:rtype: SignedTransaction
.. doctest:: python
>>> # EIP-1559 dynamic fee transaction (more efficient and preferred over legacy txn)
>>> from eth_account import Account
>>> dynamic_fee_transaction = {
... "type": 2, # optional - can be implicitly determined based on max fee params
... "gas": 100000,
... "maxFeePerGas": 2000000000,
... "maxPriorityFeePerGas": 2000000000,
... "data": "0x616263646566",
... "nonce": 34,
... "to": "0x09616C3d61b3331fc4109a9E41a8BDB7d9776609",
... "value": "0x5af3107a4000",
... "accessList": ( # optional
... {
... "address": "0x0000000000000000000000000000000000000001",
... "storageKeys": (
... "0x0100000000000000000000000000000000000000000000000000000000000000",
... )
... },
... ),
... "chainId": 1337,
... }
>>> key = '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318'
>>> signed_df_tx = Account.sign_transaction(dynamic_fee_transaction, key)
>>> signed_df_tx
SignedTransaction(rawTransaction=HexBytes('0x02f8b28205392284773594008477359400830186a09409616c3d61b3331fc4109a9e41a8bdb7d9776609865af3107...d58b85d5'),
raw_transaction=HexBytes('0x02f8b28205392284773594008477359400830186a09409616c3d61b3331fc4109a9e41a8bdb7d9776609865af3107...d58b85d5'),
hash=HexBytes('0x2721b2ac99d878695e410af9e8968859b6f6e94f544840be0eb2935bead7deba'),
r=48949965662841329840326477994465373664672499148507933176648302825256944281697,
s=1123041608316060268133200864147951676126406077675157976022772782796802590165,
v=1)
>>> w3.eth.sendRawTransaction(signed_df_tx.raw_transaction) # doctest: +SKIP
.. doctest:: python
>>> # legacy transaction (less efficient than EIP-1559 dynamic fee txn)
>>> from eth_account import Account
>>> legacy_transaction = {
... # Note that the address must be in checksum format or native bytes:
... 'to': '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
... 'value': 1000000000,
... 'gas': 2000000,
... 'gasPrice': 234567897654321,
... 'nonce': 0,
... 'chainId': 1337
... }
>>> key = '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318'
>>> signed_legacy_tx = Account.sign_transaction(legacy_transaction, key)
>>> signed_legacy_tx
SignedTransaction(rawTransaction=HexBytes('0xf86c8086d55698372431831e848094f0109fc8df283027b6285cc889f5aa624eac1f55843b9aca0080820a95a01a7...c0bfdb52'),
raw_transaction=HexBytes('0xf86c8086d55698372431831e848094f0109fc8df283027b6285cc889f5aa624eac1f55843b9aca0080820a95a01a7...c0bfdb52'),
hash=HexBytes('0xd0a3e5dc7439f260c64cb0220139ec5dc7e016f82ce272a25a0f0b38fe751673'),
r=11971260903864915610009019893820767192081275151191539081612245320300335068143,
s=35365272040292958794699923036506252105590820339897221552886630515981233937234,
v=2709)
>>> w3.eth.sendRawTransaction(signed_legacy_tx.raw_transaction) # doctest: +SKIP
.. doctest:: python
>>> from eth_account import Account
>>> access_list_transaction = {
... "type": 1, # optional - can be implicitly determined based on 'accessList' and 'gasPrice' params
... "gas": 100000,
... "gasPrice": 1000000000,
... "data": "0x616263646566",
... "nonce": 34,
... "to": "0x09616C3d61b3331fc4109a9E41a8BDB7d9776609",
... "value": "0x5af3107a4000",
... "accessList": (
... {
... "address": "0x0000000000000000000000000000000000000001",
... "storageKeys": (
... "0x0100000000000000000000000000000000000000000000000000000000000000",
... )
... },
... ),
... "chainId": 1337,
... }
>>> key = '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318'
>>> signed_al_tx = Account.sign_transaction(access_list_transaction, key)
>>> signed_al_tx
SignedTransaction(rawTransaction=HexBytes('0x01f8ad82053922843b9aca00830186a09409616c3d61b3331fc4109a9e41a8bdb7d9776609865af3107a400086616...2b5043ea'),
raw_transaction=HexBytes('0x01f8ad82053922843b9aca00830186a09409616c3d61b3331fc4109a9e41a8bdb7d9776609865af3107a400086616...2b5043ea'),
hash=HexBytes('0xca9af2ef41691e06eb07e02125938fd9bb5a311e8daf330b264e77d6cdf3d17e'),
r=107355854401379915513092408112372039746594668141865279802319959599514133709188,
s=6729502936685237038651223791038758905953302464070244934323623239104475448298,
v=1)
>>> w3.eth.sendRawTransaction(signed_al_tx.raw_transaction) # doctest: +SKIP
.. doctest:: python
>>> from eth_account import Account
>>> blob_transaction = {
... "type": 3, # optional - can be implicitly determined based on `maxFeePerBlobGas` param
... "gas": 100000,
... "maxFeePerGas": 2000000000,
... "maxPriorityFeePerGas": 2000000000,
... "maxFeePerBlobGas": 2000000000,
... "data": "0x616263646566",
... "nonce": 34,
... "to": "0x09616C3d61b3331fc4109a9E41a8BDB7d9776609",
... "value": "0x5af3107a4000",
... "accessList": ( # optional
... {
... "address": "0x0000000000000000000000000000000000000001",
... "storageKeys": (
... "0x0100000000000000000000000000000000000000000000000000000000000000",
... )
... },
... ),
... "chainId": 1337,
... }
>>> empty_blob = b"\x00" * 32 * 4096 # 4096 empty 32-byte field elements
>>> key = '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318'
>>> # The `blobVersionedHashes` transaction field is calculated from the `blobs` kwarg
>>> signed_blob_tx = Account.sign_transaction(blob_transaction, key, blobs=[empty_blob])
>>> signed_blob_tx
SignedTransaction(rawTransaction=HexBytes('0x03fa020147f8d98205392284773594008477359400830186a09409616c3d61b3331fc4109a9e41a8bdb7d97766098...00000000'),
raw_transaction=HexBytes('0x03fa020147f8d98205392284773594008477359400830186a09409616c3d61b3331fc4109a9e41a8bdb7d97766098...00000000'),
hash=HexBytes('0xf9dc8867c4324fd7f4506622aa700989562770f01d7d681cef74a1a1deb9fea9'),
r=14319949980593194209648175507603206696573324965145502821772573913457715875718,
s=9129184742597516615341309773045281461399831333162885393648678700392065987233,
v=1)
>>> w3.eth.sendRawTransaction(signed_blob_tx.raw_transaction) # doctest: +SKIP
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, transaction_dict, private_key, blobs=None) | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,496 | eth_account.account | sign_typed_data |
Sign the provided EIP-712 message with the provided key.
:param private_key: the key to sign the message with
:param domain_data: EIP712 domain data
:param message_types: custom types used by the `value` data
:param message_data: data to be signed
:param full_message: a dict containing all data and types
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:type domain_data: dict
:type message_types: dict
:type message_data: dict
:type full_message: dict
:returns: Various details about the signature - most importantly the
fields: v, r, and s
:rtype: ~eth_account.datastructures.SignedMessage
You may supply the information to be encoded in one of two ways:
As exactly three arguments:
- ``domain_data``, a dict of the EIP-712 domain data
- ``message_types``, a dict of custom types (do not include a ``EIP712Domain``
key)
- ``message_data``, a dict of the data to be signed
Or as a single argument:
- ``full_message``, a dict containing the following keys:
- ``types``, a dict of custom types (may include a ``EIP712Domain`` key)
- ``primaryType``, (optional) a string of the primary type of the message
- ``domain``, a dict of the EIP-712 domain data
- ``message``, a dict of the data to be signed
.. WARNING:: Note that this code has not gone through an external audit, and
the test cases are incomplete.
See documentation for :meth:`~eth_account.messages.encode_typed_data` for usage details
See the `EIP-712 spec <https://eips.ethereum.org/EIPS/eip-712>`_ for more information.
.. doctest:: python
>>> # examples of basic usage
>>> from eth_account import Account
>>> # 3-argument usage
>>> # all domain properties are optional
>>> domain_data = {
... "name": "Ether Mail",
... "version": "1",
... "chainId": 1,
... "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
... "salt": b"decafbeef",
... }
>>> # custom types
>>> message_types = {
... "Person": [
... {"name": "name", "type": "string"},
... {"name": "wallet", "type": "address"},
... ],
... "Mail": [
... {"name": "from", "type": "Person"},
... {"name": "to", "type": "Person"},
... {"name": "contents", "type": "string"},
... ],
... }
>>> # the data to be signed
>>> message_data = {
... "from": {
... "name": "Cow",
... "wallet": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
... },
... "to": {
... "name": "Bob",
... "wallet": "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
... },
... "contents": "Hello, Bob!",
... }
>>> key = "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
>>> signed_message = Account.sign_typed_data(key, domain_data, message_types, message_data)
>>> signed_message.message_hash
HexBytes('0xc5bb16ccc59ae9a3ad1cb8343d4e3351f057c994a97656e1aff8c134e56f7530')
>>> # 1-argument usage
>>> # all domain properties are optional
>>> full_message = {
... "types": {
... "EIP712Domain": [
... {"name": "name", "type": "string"},
... {"name": "version", "type": "string"},
... {"name": "chainId", "type": "uint256"},
... {"name": "verifyingContract", "type": "address"},
... {"name": "salt", "type": "bytes32"},
... ],
... "Person": [
... {"name": "name", "type": "string"},
... {"name": "wallet", "type": "address"},
... ],
... "Mail": [
... {"name": "from", "type": "Person"},
... {"name": "to", "type": "Person"},
... {"name": "contents", "type": "string"},
... ],
... },
... "primaryType": "Mail",
... "domain": {
... "name": "Ether Mail",
... "version": "1",
... "chainId": 1,
... "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
... "salt": b"decafbeef"
... },
... "message": {
... "from": {
... "name": "Cow",
... "wallet": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826"
... },
... "to": {
... "name": "Bob",
... "wallet": "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB"
... },
... "contents": "Hello, Bob!",
... },
... }
>>> signed_message_2 = Account.sign_typed_data(key, full_message=full_message)
>>> signed_message_2.message_hash
HexBytes('0xc5bb16ccc59ae9a3ad1cb8343d4e3351f057c994a97656e1aff8c134e56f7530')
>>> signed_message_2 == signed_message
True
.. _EIP-712: https://eips.ethereum.org/EIPS/eip-712
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, private_key: Union[bytes, eth_typing.encoding.HexStr, int, eth_keys.datatypes.PrivateKey], domain_data: Dict[str, Any] = None, message_types: Dict[str, Any] = None, message_data: Dict[str, Any] = None, full_message: Dict[str, Any] = None) -> eth_account.datastructures.SignedMessage | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,497 | eth_account.account | unsafe_sign_hash |
Sign the provided hash.
.. WARNING:: *Never* sign a hash that you didn't generate,
it can be an arbitrary transaction. For example, it might
send all of your account's ether to an attacker.
Instead, prefer :meth:`~eth_account.account.Account.sign_message`,
which cannot accidentally sign a transaction.
:param message_hash: the 32-byte message hash to be signed
:type message_hash: hex str, bytes or int
:param private_key: the key to sign the message with
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:returns: Various details about the signature - most
importantly the fields: v, r, and s
:rtype: ~eth_account.datastructures.SignedMessage
| from collections.abc import (
Mapping,
)
import json
import os
from typing import (
Any,
Dict,
Optional,
Tuple,
TypeVar,
Union,
cast,
)
import warnings
from eth_keyfile import (
create_keyfile_json,
decode_keyfile_json,
)
from eth_keys import (
KeyAPI,
keys,
)
from eth_keys.exceptions import (
ValidationError,
)
from eth_typing import (
ChecksumAddress,
Hash32,
HexStr,
)
from eth_utils.curried import (
combomethod,
hexstr_if_str,
is_dict,
keccak,
text_if_str,
to_bytes,
to_int,
)
from eth_utils.toolz import (
dissoc,
)
from hexbytes import (
HexBytes,
)
from eth_account._utils.legacy_transactions import (
Transaction,
vrs_from,
)
from eth_account._utils.signing import (
hash_of_signed_transaction,
sign_message_hash,
sign_transaction_dict,
to_standard_signature_bytes,
to_standard_v,
)
from eth_account.datastructures import (
SignedMessage,
SignedTransaction,
)
from eth_account.hdaccount import (
ETHEREUM_DEFAULT_PATH,
generate_mnemonic,
key_from_seed,
seed_from_mnemonic,
)
from eth_account.messages import (
SignableMessage,
_hash_eip191_message,
encode_typed_data,
)
from eth_account.signers.local import (
LocalAccount,
)
from eth_account.typed_transactions import (
TypedTransaction,
)
VRS = TypeVar("VRS", bytes, HexStr, int)
class Account:
"""
The primary entry point for working with Ethereum private keys.
It does **not** require a connection to an Ethereum node.
"""
_keys = keys
_default_kdf = os.getenv("ETH_ACCOUNT_KDF", "scrypt")
# Enable unaudited features (off by default)
_use_unaudited_hdwallet_features = False
@classmethod
def enable_unaudited_hdwallet_features(cls):
"""
Use this flag to enable unaudited HD Wallet features.
"""
cls._use_unaudited_hdwallet_features = True
@combomethod
def create(self, extra_entropy=""):
r"""
Creates a new private key, and returns it as a
:class:`~eth_account.local.LocalAccount`.
:param extra_entropy: Add extra randomness to whatever randomness your OS
can provide
:type extra_entropy: str or bytes or int
:returns: an object with private key and convenience methods
.. code-block:: python
>>> from eth_account import Account
>>> acct = Account.create('KEYSMASH FJAFJKLDSKF7JKFDJ 1530')
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acct.key
HexBytes('0x8676e9a8c86c8921e922e61e0bb6e9e9689aad4c99082620610b00140e5f21b8')
# These methods are also available: sign_message(), sign_transaction(),
# encrypt().
# They correspond to the same-named methods in Account.*
# but without the private key argument
"""
extra_key_bytes = text_if_str(to_bytes, extra_entropy)
key_bytes = keccak(os.urandom(32) + extra_key_bytes)
return self.from_key(key_bytes)
@staticmethod
def decrypt(keyfile_json, password):
"""
Decrypts a private key.
The key may have been encrypted using an Ethereum client or
:meth:`~Account.encrypt`.
:param keyfile_json: The encrypted key
:type keyfile_json: dict or str
:param str password: The password that was used to encrypt the key
:returns: the raw private key
:rtype: ~hexbytes.main.HexBytes
.. doctest:: python
>>> encrypted = {
... 'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
... 'crypto': {'cipher': 'aes-128-ctr',
... 'cipherparams': {'iv': '482ef54775b0cc59f25717711286f5c8'},
... 'ciphertext': 'cb636716a9fd46adbb31832d964df2082536edd5399a3393327dc89b0193a2be',
... 'kdf': 'scrypt',
... 'kdfparams': {},
... 'kdfparams': {'dklen': 32,
... 'n': 262144,
... 'p': 8,
... 'r': 1,
... 'salt': 'd3c9a9945000fcb6c9df0f854266d573'},
... 'mac': '4f626ec5e7fea391b2229348a65bfef532c2a4e8372c0a6a814505a350a7689d'},
... 'id': 'b812f3f9-78cc-462a-9e89-74418aa27cb0',
... 'version': 3}
>>> Account.decrypt(encrypted, 'password')
HexBytes('0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364')
""" # noqa: E501
if isinstance(keyfile_json, str):
keyfile = json.loads(keyfile_json)
elif is_dict(keyfile_json):
keyfile = keyfile_json
else:
raise TypeError(
"The keyfile should be supplied as a JSON string, or a dictionary."
)
password_bytes = text_if_str(to_bytes, password)
return HexBytes(decode_keyfile_json(keyfile, password_bytes))
@classmethod
def encrypt(cls, private_key, password, kdf=None, iterations=None):
"""
Creates a dictionary with an encrypted version of your private key.
To import this keyfile into Ethereum clients like geth and parity:
encode this dictionary with :func:`json.dumps` and save it to disk where your
client keeps key files.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:param str password: The password which you will need to unlock the account
in your client
:param str kdf: The key derivation function to use when encrypting your
private key
:param int iterations: The work factor for the key derivation function
:returns: The data to use in your encrypted file
:rtype: dict
If kdf is not set, the default key derivation function falls back to the
environment variable :envvar:`ETH_ACCOUNT_KDF`. If that is not set, then
'scrypt' will be used as the default.
.. doctest:: python
>>> from pprint import pprint
>>> encrypted = Account.encrypt(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364,
... 'password'
... )
>>> pprint(encrypted)
{'address': '5ce9454909639D2D17A3F753ce7d93fa0b9aB12E',
'crypto': {'cipher': 'aes-128-ctr',
'cipherparams': {'iv': '...'},
'ciphertext': '...',
'kdf': 'scrypt',
'kdfparams': {'dklen': 32,
'n': 262144,
'p': 1,
'r': 8,
'salt': '...'},
'mac': '...'},
'id': '...',
'version': 3}
>>> with open('my-keyfile', 'w') as f: # doctest: +SKIP
... f.write(json.dumps(encrypted))
"""
if isinstance(private_key, keys.PrivateKey):
key_bytes = private_key.to_bytes()
else:
key_bytes = HexBytes(private_key)
if kdf is None:
kdf = cls._default_kdf
password_bytes = text_if_str(to_bytes, password)
assert len(key_bytes) == 32
return create_keyfile_json(
key_bytes, password_bytes, kdf=kdf, iterations=iterations
)
@combomethod
def from_key(self, private_key):
r"""
Returns a convenient object for working with the given private key.
:param private_key: The raw private key
:type private_key: hex str, bytes, int or :class:`eth_keys.datatypes.PrivateKey`
:return: object with methods for signing and encrypting
:rtype: LocalAccount
.. doctest:: python
>>> acct = Account.from_key(
... 0xb25c7db31feed9122727bf0939dc769a96564b2de4c4726d035b36ecf1e5b364)
>>> acct.address
'0x5ce9454909639D2D17A3F753ce7d93fa0b9aB12E'
>>> acc | (self, message_hash, private_key) | [
0.04513120651245117,
-0.057246968150138855,
-0.039679113775491714,
0.04402780905365944,
0.03857571631669998,
-0.06023263558745384,
-0.029034554958343506,
-0.011347707360982895,
0.000809971010312438,
-0.05010732263326645,
0.04346529021859169,
0.026806119829416275,
0.012245572172105312,
0.018649617210030556,
-0.04746781662106514,
0.05690080299973488,
0.024967120960354805,
0.016680805012583733,
0.0012676925398409367,
-0.020488616079092026,
0.020813144743442535,
0.019190499559044838,
0.01830345205962658,
0.07446865737438202,
-0.0403498075902462,
0.003940326627343893,
0.04435233771800995,
0.039354585111141205,
0.04556391388177872,
-0.017459675669670105,
-0.011856136843562126,
-0.02572435513138771,
0.02667630836367607,
0.056208472698926926,
-0.048289958387613297,
-0.07520425319671631,
0.02356082759797573,
0.017016151919960976,
-0.06875693798065186,
-0.002193277236074209,
0.029856694862246513,
0.06507894396781921,
0.07697834819555283,
-0.04625624045729637,
0.02356082759797573,
-0.004654291085898876,
-0.0001423196226824075,
0.019590752199292183,
-0.010341666638851166,
0.0003924776101484895,
0.03355632722377777,
-0.00686920341104269,
-0.01139097847044468,
-0.019839556887745857,
0.007534488569945097,
-0.0008065905421972275,
0.003924100194126368,
-0.03517897427082062,
-0.026633037254214287,
-0.025075295940041542,
-0.03563331812620163,
-0.005917250644415617,
0.022500697523355484,
0.03636891767382622,
-0.02819077856838703,
0.012537647970020771,
-0.0357198566198349,
-0.024036802351474762,
-0.007026059087365866,
0.020001821219921112,
0.03528715297579765,
-0.0034210796002298594,
-0.023041579872369766,
0.028255684301257133,
-0.018000558018684387,
0.007031468208879232,
-0.01162896677851677,
-0.016875524073839188,
-0.08152175694704056,
-0.04794379323720932,
0.05127562955021858,
-0.0345948226749897,
-0.026481591165065765,
0.019277039915323257,
0.039224773645401,
0.06841077655553818,
0.06386736780405045,
-0.0019890940748155117,
-0.010693239979445934,
-0.015945205464959145,
-0.05750659108161926,
0.026806119829416275,
-0.08541610836982727,
0.05330934375524521,
0.049977511167526245,
-0.047987066209316254,
-0.004183723591268063,
-0.06399717926979065,
-0.03130625933408737,
0.039830561727285385,
0.027065742760896683,
0.0496746189892292,
-0.040241632610559464,
0.02091050334274769,
0.013608595356345177,
-0.02892637811601162,
-0.07771395146846771,
0.04824668914079666,
0.04331384226679802,
-0.01685388758778572,
-0.07321380823850632,
-0.017373135313391685,
0.012602554634213448,
-0.05071311071515083,
0.0008451283792965114,
0.03747231513261795,
0.01607501693069935,
0.02340937964618206,
0.010547202080488205,
-0.0017443449469283223,
0.12176339328289032,
-0.022976674139499664,
0.00019809808873105794,
-0.021592015400528908,
0.0059010242111980915,
-0.022717051208019257,
0.028710024431347847,
0.010195628739893436,
0.02293340303003788,
-0.05452091991901398,
0.016518540680408478,
0.04660240560770035,
0.006225553806871176,
0.0540449433028698,
-0.011077266186475754,
0.002891015028581023,
0.008389081805944443,
0.027844613417983055,
-0.02228434570133686,
0.05041021853685379,
0.04117194935679436,
0.01602092944085598,
0.023106485605239868,
-0.01717841811478138,
-0.07896879315376282,
-0.03729923442006111,
-0.04915536940097809,
-0.052227579057216644,
0.001828181673772633,
-0.01833590492606163,
-0.007161279674619436,
0.004778693895787001,
-0.07581004500389099,
0.08442088961601257,
0.013814129866659641,
0.027606625109910965,
-0.002525919582694769,
-0.03282072767615318,
-0.045910079032182693,
-0.02643832005560398,
-0.062352895736694336,
-0.0007322191959246993,
0.03818628191947937,
-0.04993424192070961,
0.005690080113708973,
0.005449387710541487,
-0.061487484723329544,
-0.025118567049503326,
-0.030159588903188705,
-0.0008011817117221653,
-0.025291649624705315,
0.010877139866352081,
-0.029510529711842537,
0.027195554226636887,
0.04880920425057411,
0.007339770905673504,
0.015447594225406647,
-0.06179037690162659,
-0.059021059423685074,
-0.0599297434091568,
0.012494377791881561,
-0.006912474054843187,
0.017676029354333878,
0.02388535626232624,
0.04417925328016281,
0.03485444560647011,
0.01797892339527607,
0.07793030142784119,
0.05560268461704254,
-0.06611743569374084,
-0.020986227318644524,
0.019039051607251167,
0.016096653416752815,
0.012526830658316612,
-0.03890024498105049,
0.017492128536105156,
0.014344194903969765,
-0.0002100989077007398,
-0.048852477222681046,
0.02180836908519268,
-0.043595101684331894,
-0.00022953686129767448,
0.02228434570133686,
-0.03736414015293121,
-0.03197695314884186,
-0.032799094915390015,
-0.04242679476737976,
-0.007437129504978657,
0.026827754452824593,
-0.04768417030572891,
0.02091050334274769,
-0.05339588597416878,
0.010476887226104736,
0.05971338972449303,
0.013532871380448341,
-0.010038772597908974,
0.02819077856838703,
0.020337168127298355,
-0.004167497158050537,
0.002815291518345475,
0.08108904957771301,
0.01590193621814251,
-0.004294604528695345,
-0.04915536940097809,
0.03219330683350563,
-0.002891015028581023,
-0.021235033869743347,
0.02014245092868805,
-0.01833590492606163,
-0.03154424577951431,
0.09839728474617004,
0.008259270340204239,
-0.05897779017686844,
0.016507724300026894,
0.013727589510381222,
-0.039679113775491714,
0.01774093508720398,
-0.061011508107185364,
0.037104517221450806,
-0.013868218287825584,
-0.006068697664886713,
0.012397019192576408,
0.05512670800089836,
-0.02420988492667675,
0.005427752621471882,
-0.007042285520583391,
-0.00002051549199677538,
0.015620676800608635,
-0.0047976248897612095,
0.0021689373534172773,
-0.00894619058817625,
-0.0334697887301445,
0.01913641020655632,
0.04539082944393158,
0.009725061245262623,
-0.03595784679055214,
0.01833590492606163,
-0.03005141206085682,
0.05625174567103386,
0.033772680908441544,
-0.003891647094860673,
-0.05975665897130966,
-0.05889124795794487,
-0.010996134020388126,
0.05075637996196747,
-0.028904741629958153,
-0.010006319731473923,
0.02340937964618206,
0.018476534634828568,
-0.016929611563682556,
0.07671872526407242,
0.02845040149986744,
-0.039203137159347534,
0.014095389284193516,
-0.014571364969015121,
0.0026584358420222998,
0.039679113775491714,
0.005765803623944521,
0.02563781477510929,
0.010006319731473923,
0.01100695226341486,
-0.048376500606536865,
0.004018754232674837,
-0.009076002985239029,
0.031133176758885384,
0.0030803238041698933,
-0.019212134182453156,
-0.07377632707357407,
0.03284236416220665,
-0.02572435513138771,
0.013868218287825584,
0.04073924571275711,
0.015133882872760296,
-0.0334048829972744,
0.05897779017686844,
-0.017578670755028725,
-0.06875693798065186,
-0.059021059423685074,
0.04080415144562721,
-0.01502570603042841,
0.009362669661641121,
0.06269905716180801,
0.09606067091226578,
0.01583702862262726,
-0.009860281832516193,
0.03654199838638306,
0.04331384226679802,
0.024253156036138535,
-0.0369747057557106,
0.041734468191862106,
-0.057246968150138855,
-0.008372855372726917,
0.061574023216962814,
-0.008161911740899086,
0.007896879687905312,
-0.04218880832195282,
0.051881417632102966,
0.014711994677782059,
0.025681084021925926,
0.035590045154094696,
0.005449387710541487,
0.036650173366069794,
-0.031284622848033905,
-0.0011277393205091357,
0.025854166597127914,
-0.06031917780637741,
0.01219148375093937,
0.012829724699258804,
0.025356555357575417,
0.016118288040161133,
-0.055169980973005295,
-0.0077346148900687695,
0.019558299332857132,
0.013608595356345177,
-0.05456419289112091,
0.04495812579989433,
0.0019498801557347178,
-0.020164087414741516,
-0.018736157566308975,
-0.033513057976961136,
0.06823769211769104,
-0.060448989272117615,
0.021992268040776253,
-0.028169142082333565,
-0.036325644701719284,
-0.029056189581751823,
0.03948439657688141,
-0.025075295940041542,
-0.02723882533609867,
0.06646359711885452,
-0.010503931902348995,
0.022089626640081406,
0.05244393274188042,
0.0932048112154007,
0.037991560995578766,
-0.06910310685634613,
-0.026481591165065765,
-0.02795279026031494,
0.005787439178675413,
0.004094477742910385,
0.002164880745112896,
0.012970354408025742,
-0.03370777517557144,
-0.03773193806409836,
-0.03883533924818039,
-0.04738127812743187,
0.007047694642096758,
-0.06503567099571228,
0.054694004356861115,
0.006766435690224171,
-0.003099254798144102,
-0.0588047094643116,
-0.05638155713677406,
0.0005276981391943991,
0.03574149310588837,
-0.041583020240068436,
-0.02301994524896145,
0.024166613817214966,
-0.034075576812028885,
0.05049675703048706,
0.012202301062643528,
0.0029451034497469664,
0.03182550519704819,
0.06001628562808037,
0.054131485521793365,
0.03675835207104683,
0.034551553428173065,
-0.058674897998571396,
0.0530497208237648,
0.005343915894627571,
-0.007328953128308058,
0.01928785815834999,
0.07053103297948837,
0.04149647802114487,
0.0005929420585744083,
0.044611960649490356,
-0.030722105875611305,
-0.03721269220113754,
-0.04290277138352394,
-0.024815673008561134,
0.01976383477449417,
-0.0060092005878686905,
0.038143008947372437,
0.007675117813050747,
-0.0027855432126671076,
0.009086820296943188,
0.029186001047492027,
-0.05499689653515816,
-0.026243602856993675,
0.029207635670900345,
-0.019536662846803665,
0.04625624045729637,
-0.02875329554080963,
0.0024569572415202856,
-0.016399547457695007,
0.022414157167077065,
-0.029056189581751823,
-0.009860281832516193,
0.002809882862493396,
0.06927618384361267,
0.016085835173726082,
-0.03355632722377777,
-0.03755885735154152,
0.008091596886515617,
-0.003929508849978447,
0.03868389129638672,
-0.03595784679055214,
0.026546496897935867,
-0.020391257479786873,
-0.0065284473821520805,
0.02563781477510929,
0.008929964154958725,
0.009211222641170025,
-0.03076537698507309,
-0.042946044355630875,
-0.00044217114918865263,
0.012732366099953651,
-0.04539082944393158,
0.009438393637537956,
0.0495448037981987,
-0.028472036123275757,
-0.001454973011277616,
0.04337874799966812,
0.02459932118654251,
-0.02436133287847042,
0.021494656801223755,
-0.0540449433028698,
0.06001628562808037,
0.03468136489391327,
0.01990446262061596,
0.002823404734954238,
-0.02845040149986744,
0.010547202080488205,
-0.010006319731473923,
-0.05962684750556946,
-0.03708288073539734,
0.04777071252465248,
0.04707838222384453,
-0.03204185888171196,
0.010406572371721268,
0.007264047395437956,
0.01969892717897892,
0.05504016950726509,
0.011639784090220928,
0.00904895830899477,
0.023604096844792366,
0.016442816704511642,
-0.004651586525142193,
0.020986227318644524,
0.03154424577951431,
0.0029883738607168198,
0.023690639063715935,
-0.025854166597127914,
0.042058996856212616,
0.06321830302476883,
0.002877493156120181,
0.08684404194355011,
-0.05075637996196747,
-0.12055181711912155,
-0.07009832561016083,
-0.011564060114324093,
-0.08610843867063522,
0.007821155712008476,
-0.006393227260559797,
0.04225371405482292,
-0.04681875929236412,
0.02669794298708439,
0.03308035433292389,
0.012061672285199165,
0.004819259978830814,
-0.06871367245912552,
0.02548636682331562,
-0.017459675669670105,
0.01842244528234005,
-0.014355012215673923,
-0.042708054184913635,
-0.009795376099646091,
0.02308485098183155,
-0.05352569743990898,
-0.07459846884012222,
-0.04768417030572891,
0.0575498603284359,
0.03171733021736145,
-0.02693593129515648,
-0.0016185898566618562,
0.05793929472565651,
-0.060448989272117615,
0.015458411537110806,
0.018671251833438873,
-0.012040036730468273,
-0.0077724764123559,
0.01103940512984991,
0.008610843680799007,
-0.04824668914079666,
-0.015772122889757156,
0.023669002577662468,
-0.002904537133872509,
0.0071829152293503284,
0.00962770264595747,
-0.05439110845327377,
-0.0076697091571986675,
0.042058996856212616,
0.022035539150238037,
0.008924555964767933,
0.030375942587852478,
0.07208877056837082,
-0.015858665108680725,
-0.019114775583148003,
0.021473022177815437,
-0.018714522942900658,
-0.03474627062678337,
0.06040572002530098,
0.027909519150853157,
-0.07217531651258469,
-0.024642590433359146,
-0.019266221672296524,
-0.03364286944270134,
-0.009308582171797752,
-0.054694004356861115,
-0.031609151512384415,
-0.0052411481738090515,
0.016756528988480568,
-0.07265128940343857,
-0.08117559552192688,
-0.02955380082130432,
0.033751048147678375,
-0.0060849240981042385,
0.014041300863027573,
-0.03212840110063553,
-0.0008769052219577134,
0.010271351784467697,
-0.0017470493912696838,
0.0368448905646801,
-0.03738577291369438,
0.06771844625473022,
-0.04281623288989067,
-0.009600657969713211,
-0.004094477742910385,
-0.014149476774036884,
0.020964592695236206,
0.031912047415971756,
0.020369622856378555,
-0.07321380823850632,
-0.022587237879633904,
0.030375942587852478,
-0.004965298343449831,
-0.03476790338754654,
0.02516183815896511,
-0.016626717522740364,
0.04569372534751892,
-0.055169980973005295,
0.06689630448818207,
0.06248270720243454,
0.038316093385219574,
-0.04984769970178604,
-0.003726677969098091,
-0.03554677590727806,
0.0415397509932518,
0.007615620736032724,
-0.05456419289112091,
0.034075576812028885,
-0.010687831789255142,
0.032236576080322266,
-0.022327614948153496,
0.012472742237150669,
0.073819600045681,
0.03323179855942726,
0.018801063299179077,
-0.014863441698253155,
-0.006068697664886713,
-0.060059554874897,
-0.006642032880336046,
-0.04108540713787079,
0.014117023907601833,
0.035200610756874084,
0.00493284547701478,
0.0032236576080322266,
0.05343915522098541,
0.04993424192070961,
-0.01777338795363903,
-0.03892188146710396,
-0.038878608494997025,
0.025919072329998016,
0.01952584646642208,
0.04415762051939964,
0.007610212080180645,
-0.0334048829972744,
-0.02213289774954319,
0.04924191161990166,
-0.005297940690070391,
0.0066041708923876286,
-0.0051329717971384525,
0.0008316063322126865,
-0.0634346604347229,
0.023863719776272774,
-0.016778163611888885,
0.011088084429502487,
-0.011336890049278736,
0.015458411537110806,
0.008302541449666023,
-0.039441127330064774,
0.06464623659849167,
-0.05915087088942528,
0.03173896670341492,
-0.07459846884012222,
0.0013758690329268575,
-0.032972175627946854,
0.02518347278237343,
-0.01937439851462841,
-0.0060092005878686905,
-0.005846936255693436,
0.07360324263572693,
-0.015436776913702488,
0.03437846899032593,
0.034876082092523575,
-0.03818628191947937,
0.02622196637094021,
-0.041907548904418945,
-0.026351777836680412,
0.03764539957046509,
-0.053092993795871735,
0.01474444754421711,
-0.05802583694458008,
0.01646445319056511,
-0.07983420789241791,
-0.006398635916411877,
0.02168937399983406,
-0.06378082185983658,
0.0003282478719484061,
-0.03085191734135151,
-0.03768866881728172,
0.02667630836367607,
-0.019796287640929222,
-0.028969647362828255,
-0.004010641016066074,
-0.0057928478345274925,
-0.00006258175562834367,
0.0124186547473073,
-0.01293790154159069,
0.013327335938811302,
0.02364736795425415,
-0.0014130546478554606,
-0.03349142149090767,
0.025291649624705315,
-0.019893646240234375,
-0.020066728815436363,
-0.008778517134487629,
0.0047246054746210575,
0.05382859334349632,
-0.01860634610056877,
0.038792070001363754,
-0.02803933061659336,
-0.02014245092868805,
-0.003018122399225831,
-0.025529637932777405,
0.014484823681414127,
0.025681084021925926,
0.011239531449973583,
0.03682325780391693,
-0.007474991492927074,
0.02637341432273388,
0.028060967102646828,
0.0073343622498214245,
-0.018595527857542038,
0.010536384768784046,
0.02643832005560398,
0.020953774452209473,
0.03574149310588837,
-0.04785725474357605,
-0.10826297104358673,
-0.004259447101503611,
-0.06767517328262329,
-0.007193732541054487,
0.01553413551300764,
-0.018379176035523415,
-0.03764539957046509,
-0.001720005297102034,
0.014722811989486217,
-0.06014609709382057,
-0.01318670716136694,
-0.02041289210319519,
-0.03210676461458206,
0.02165692113339901,
0.02058597467839718,
-0.018887605518102646,
-0.02201390452682972,
-0.021916544064879417,
-0.058674897998571396,
0.020726604387164116,
-0.0264599546790123,
0.04642932489514351,
0.02509693242609501,
0.056208472698926926,
-0.07563696056604385,
0.011120537295937538,
0.08442088961601257,
-0.04050125554203987,
0.009238267317414284,
-0.023863719776272774,
0.016129106283187866,
0.002195981564000249,
0.012353748083114624,
0.03489771485328674,
-0.006020018365234137,
-0.02453441545367241,
-0.006858385633677244,
-0.02438296750187874,
0.0012737774522975087,
0.002336610807105899,
0.08628152310848236,
0.04249170050024986,
-0.01139097847044468,
-0.029661977663636208,
0.024815673008561134,
0.009779149666428566,
-0.041345033794641495,
-0.013305701315402985,
-0.035828035324811935,
-0.009833237156271935,
0.08173811435699463,
-0.02979178912937641,
0.042859502136707306,
-0.03020286001265049,
-0.01378167700022459,
0.0014752560527995229,
0.054694004356861115,
-0.010109087452292442,
0.012040036730468273,
0.01845490001142025,
0.014863441698253155,
0.04984769970178604,
0.03528715297579765,
-0.03282072767615318,
-0.0008735246956348419,
0.021310755982995033,
0.013143436051905155,
-0.03825118765234947,
0.059497036039829254,
-0.00033450181945227087,
0.0029829649720340967,
-0.03405394032597542,
-0.016085835173726082,
0.010969090275466442,
-0.028580212965607643,
0.013911489397287369,
-0.010644560679793358,
-0.04660240560770035,
-0.004770580679178238
] |
7,506 | gitignorefile | Cache | Caches information about different `.gitignore` files in the directory tree.
Allows to reduce number of queries to filesystem to mininum.
| class Cache:
"""Caches information about different `.gitignore` files in the directory tree.
Allows to reduce number of queries to filesystem to mininum.
"""
def __init__(self, ignore_names=DEFAULT_IGNORE_NAMES):
"""Constructs `Cache` objects.
Args:
ignore_names (list[str], optional): List of names of ignore files.
"""
self.__ignore_names = ignore_names
self.__gitignores = {}
def __call__(self, path, is_dir=None):
"""Checks whether the specified path is ignored.
Args:
path (str): Path to check against ignore rules.
is_dir (bool, optional): Set if you know whether the specified path is a directory.
"""
path = _Path(path)
add_to_children = {}
plain_paths = []
for parent in path.parents():
if parent.parts in self.__gitignores:
break
ignore_paths = []
for ignore_name in self.__ignore_names:
ignore_path = parent.join(ignore_name)
if ignore_path.isfile():
ignore_paths.append(str(ignore_path))
if ignore_paths:
matches = [parse(ignore_path, base_path=parent) for ignore_path in ignore_paths]
add_to_children[parent] = (matches, plain_paths)
plain_paths = []
else:
plain_paths.append(parent)
else:
parent = _Path(tuple()) # Null path.
self.__gitignores[parent.parts] = []
for plain_path in plain_paths:
# assert plain_path.parts not in self.__gitignores
self.__gitignores[plain_path.parts] = self.__gitignores[parent.parts]
for parent, (_, parent_plain_paths) in reversed(list(add_to_children.items())):
# assert parent.parts not in self.__gitignores
self.__gitignores[parent.parts] = self.__gitignores[parent.parts[:-1]].copy()
for parent_to_add, (gitignores_to_add, _) in reversed(list(add_to_children.items())):
self.__gitignores[parent.parts].extend(gitignores_to_add)
if parent_to_add == parent:
break
self.__gitignores[parent.parts].reverse()
for plain_path in parent_plain_paths:
# assert plain_path.parts not in self.__gitignores
self.__gitignores[plain_path.parts] = self.__gitignores[parent.parts]
# This parent comes either from first or second loop.
return any((m(path, is_dir=is_dir) for m in self.__gitignores[parent.parts]))
| (ignore_names=['.gitignore', '.git/info/exclude']) | [
0.022003235295414925,
-0.06367720663547516,
-0.05147046595811844,
0.06608745455741882,
-0.005437636747956276,
-0.03319922834634781,
0.011487554758787155,
0.03846678510308266,
0.04591134190559387,
-0.07040257751941681,
0.05963420867919922,
0.029350604861974716,
-0.018766893073916435,
-0.029292292892932892,
-0.07673919945955276,
-0.04789396747946739,
0.05154821649193764,
0.03494860231876373,
0.012090116739273071,
-0.016521863639354706,
-0.035784412175416946,
0.021070236340165138,
0.05135383829474449,
0.06534883379936218,
-0.00825607217848301,
0.011623617261648178,
0.03006979264318943,
0.03510409966111183,
0.034579288214445114,
-0.005845824256539345,
-0.030050354078412056,
0.019466642290353775,
-0.014344865456223488,
0.002551170065999031,
0.01721189357340336,
-0.03875834867358208,
-0.01084611751139164,
0.09104518592357635,
-0.06814783066511154,
-0.03778647258877754,
0.0003113035054411739,
-0.018951550126075745,
0.01169164851307869,
-0.028553668409585953,
-0.0032849351409822702,
-0.02198379673063755,
-0.01816433109343052,
0.03257722780108452,
0.006195698864758015,
-0.017445145174860954,
0.040974222123622894,
0.03432660177350044,
-0.024879982694983482,
-0.0031877479050308466,
0.023227795958518982,
0.03263553977012634,
0.030166979879140854,
0.03640641272068024,
0.04252922162413597,
-0.011536148376762867,
-0.0060936519876122475,
0.01404358446598053,
-0.0024236117023974657,
-0.004033278673887253,
-0.049137964844703674,
-0.04190722107887268,
-0.07296832650899887,
-0.02797054313123226,
-0.011254305019974709,
0.026998668909072876,
-0.09221144020557404,
-0.02833985537290573,
0.059167709201574326,
0.006098511628806591,
-0.03051685355603695,
-0.010272711515426636,
0.009835368022322655,
0.013110584579408169,
0.052481215447187424,
0.008246353827416897,
-0.04268472269177437,
-0.047582969069480896,
0.04598909243941307,
-0.03448210284113884,
0.07106345146894455,
0.03790310025215149,
0.08855719119310379,
-0.015491676516830921,
0.039283160120248795,
0.0071044014766812325,
-0.055863335728645325,
0.03757266327738762,
0.035201288759708405,
0.020253861322999,
0.014714177697896957,
0.03700897470116615,
-0.002116256393492222,
-0.0186405498534441,
-0.013839490711688995,
0.001188723836094141,
0.007512588519603014,
0.04054659605026245,
-0.007099541835486889,
-0.01930142380297184,
0.011730522848665714,
-0.021186860278248787,
-0.021264610812067986,
-0.024024734273552895,
0.022625233978033066,
-0.056446462869644165,
-0.06853657960891724,
-0.005014871712774038,
0.007658369839191437,
-0.012984241358935833,
0.034209977835416794,
-0.015122364275157452,
-0.08257044106721878,
-0.03803916275501251,
0.007182151544839144,
-0.0015841551357880235,
0.012731553986668587,
0.05625208839774132,
-0.023286109790205956,
0.07413457334041595,
0.04186834767460823,
-0.005967308301478624,
0.027290230616927147,
0.01610395684838295,
-0.017911644652485847,
0.009825649671256542,
0.03386010229587555,
0.005321011878550053,
0.002512295264750719,
0.011205711401998997,
0.03938034921884537,
0.06025620922446251,
-0.004057575482875109,
-0.01309114694595337,
-0.015851270407438278,
0.010622586123645306,
0.061966706067323685,
-0.07320157438516617,
0.036231476813554764,
0.025346482172608376,
-0.0010028528049588203,
0.027115294709801674,
0.020467674359679222,
-0.0005475904326885939,
0.022916797548532486,
-0.012556616216897964,
0.009023853577673435,
-0.03768928721547127,
-0.028728606179356575,
0.059167709201574326,
-0.006973198149353266,
0.023616546764969826,
-0.0646490827202797,
0.022197609767317772,
-0.01476277131587267,
0.00484479358419776,
0.01165277324616909,
-0.030827853828668594,
0.006127667613327503,
0.002563318470492959,
-0.030963916331529617,
-0.016366364434361458,
-0.01639552041888237,
-0.043812096118927,
-0.05135383829474449,
0.028845230117440224,
0.019767923280596733,
-0.004949270281940699,
-0.011915178969502449,
0.027659542858600616,
-0.04536709561944008,
0.03831128776073456,
-0.007809010334312916,
0.01801854930818081,
-0.03448210284113884,
0.020117798820137978,
0.01165277324616909,
-0.04688321799039841,
0.03364628925919533,
-0.007760416716337204,
0.017474301159381866,
0.03868059813976288,
0.05197583884000778,
-0.03308260068297386,
0.03498747572302818,
0.07705019414424896,
-0.07856632024049759,
-0.000751987739931792,
0.022586358711123466,
-0.0014274404384195805,
0.03632866218686104,
0.02120629884302616,
-0.019213955849409103,
-0.009616696275770664,
-0.02441348321735859,
0.027154168114066124,
-0.07977144420146942,
0.0009366439189761877,
0.07187982648611069,
-0.05477483943104744,
0.001056305947713554,
0.005855543073266745,
-0.049060218036174774,
0.00984994601458311,
0.002670224756002426,
0.06146133318543434,
-0.05629096180200577,
-0.028028855100274086,
0.00823177583515644,
-0.011069648899137974,
-0.01753261312842369,
0.023538796231150627,
0.06391045451164246,
0.07736119627952576,
0.003430716460570693,
0.021964360028505325,
0.01518067717552185,
0.0015355614013969898,
-0.05566896125674248,
0.021517297253012657,
-0.006613604724407196,
-0.029797667637467384,
0.04676659405231476,
0.06208333373069763,
0.055707838386297226,
-0.00893152505159378,
-0.017804738134145737,
-0.015540271066129208,
0.02173111028969288,
-0.021186860278248787,
0.016978643834590912,
-0.04626121744513512,
0.014179646968841553,
-0.02573523297905922,
0.01165277324616909,
0.01000058650970459,
-0.050498589873313904,
-0.0071432762779295444,
0.016589894890785217,
0.002270541386678815,
-0.01834898814558983,
-0.07588394731283188,
0.025424232706427574,
0.007138417102396488,
0.032110728323459625,
0.018222643062472343,
-0.009159916080534458,
0.06542658060789108,
-0.032149601727724075,
-0.04867146536707878,
0.025715794414281845,
-0.004808348137885332,
-0.030711229890584946,
-0.0024807092268019915,
0.03809747472405434,
0.02120629884302616,
0.008260931819677353,
-0.03267441689968109,
0.020137235522270203,
-0.04991546645760536,
-0.029894854873418808,
-0.014412896707654,
0.07576732337474823,
-0.0442008450627327,
-0.05407508835196495,
0.04105197265744209,
0.054541587829589844,
-0.009072447195649147,
0.030322479084134102,
0.05022646486759186,
-0.0575738362967968,
0.014791927300393581,
0.010991898365318775,
0.03815578669309616,
-0.06150020658969879,
0.040196724236011505,
0.006161683239042759,
0.03772816061973572,
-0.02083698660135269,
-0.030711229890584946,
0.006059636361896992,
0.016696801409125328,
-0.05430833622813225,
0.017843613401055336,
-0.032518915832042694,
0.038000285625457764,
0.0540362149477005,
0.011856867000460625,
0.0035424819216132164,
-0.031702540814876556,
0.038874972611665726,
-0.01474333368241787,
-0.037222787737846375,
-0.031119415536522865,
0.029583854600787163,
0.01402414683252573,
-0.051003966480493546,
0.033140916377305984,
0.03232454136013985,
-0.052520088851451874,
-0.003622661577537656,
-0.012167866341769695,
-0.006696213968098164,
-0.013926959596574306,
0.025307606905698776,
-0.0007610991015098989,
0.03749491274356842,
0.009767336770892143,
0.03893328458070755,
-0.007828447967767715,
0.023908108472824097,
-0.0337434783577919,
0.021750546991825104,
0.018407300114631653,
-0.036192599684000015,
0.049721091985702515,
-0.01369370985776186,
0.07798319309949875,
-0.05209246277809143,
0.025249294936656952,
0.0046868640929460526,
-0.0407409705221653,
0.009033571928739548,
0.052442338317632675,
0.0014456630451604724,
0.0031877479050308466,
-0.02833985537290573,
-0.03938034921884537,
-0.038505662232637405,
-0.004511926788836718,
0.01200264785438776,
0.022255921736359596,
0.03292710334062576,
-0.022217046469449997,
0.03974965959787369,
-0.004570239223539829,
0.06966394931077957,
-0.03080841712653637,
-0.04190722107887268,
0.009121040813624859,
-0.005355027504265308,
-0.06321070343255997,
0.0881684422492981,
0.03868059813976288,
-0.0023628694470971823,
0.05761270970106125,
0.05963420867919922,
-0.012031803838908672,
-0.015336177311837673,
-0.014937708154320717,
0.032771602272987366,
-0.021011922508478165,
-0.05597996339201927,
-0.028825793415308,
-0.003129435470327735,
-0.019534673541784286,
0.04070209711790085,
0.01369370985776186,
0.014199083670973778,
-0.003306802362203598,
-0.0062054176814854145,
-0.05341421440243721,
0.01984567381441593,
0.009291118942201138,
-0.0322079136967659,
-0.06884757429361343,
-0.01878633163869381,
-0.007133557461202145,
0.04334559664130211,
-0.08288144320249557,
0.06243320554494858,
-0.006487261038273573,
0.0006766674923710525,
-0.021186860278248787,
-0.02110910974442959,
0.04863259196281433,
-0.027776168659329414,
0.05967308580875397,
0.02054542303085327,
0.021439548581838608,
-0.014801646582782269,
0.021711673587560654,
0.07876069843769073,
-0.006574729923158884,
0.08054894208908081,
0.012294210493564606,
-0.0048545124009251595,
-0.037592098116874695,
0.03763097524642944,
-0.010642023757100105,
-0.04167397320270538,
-0.04256809502840042,
0.07860519737005234,
0.016201145946979523,
-0.043617721647024155,
-0.019729049876332283,
0.04548371955752373,
-0.03389897570014,
0.03607597574591637,
0.04548371955752373,
0.0011000402737408876,
0.004473051521927118,
0.04264584556221962,
0.057146210223436356,
-0.020428799092769623,
-0.004587247036397457,
-0.10045292973518372,
-0.06628183275461197,
0.05874008312821388,
0.01282874122262001,
-0.008426150307059288,
-0.00470387190580368,
-0.00975761841982603,
-0.03572610020637512,
0.03292710334062576,
0.007012073416262865,
-0.018300393596291542,
-0.05399733781814575,
0.014101896435022354,
-0.0027552638202905655,
0.022372547537088394,
0.00024266487162094563,
-0.03271329030394554,
-0.0270569808781147,
-0.06262758374214172,
0.04820496588945389,
-0.002806287258863449,
-0.011827711015939713,
0.021925484761595726,
-0.0474274680018425,
0.018436456099152565,
-0.05885671079158783,
-0.027367981150746346,
-0.05275334045290947,
-0.03308260068297386,
0.028922980651259422,
-0.044978342950344086,
0.07887732237577438,
0.021672798320651054,
0.0027552638202905655,
0.032771602272987366,
0.023791484534740448,
-0.017843613401055336,
0.08987893909215927,
0.03187747672200203,
-0.020098362118005753,
-0.037183910608291626,
0.015005739405751228,
0.010068617761135101,
-0.04377321898937225,
-0.0474274680018425,
-0.01639552041888237,
-0.053725212812423706,
0.05139271542429924,
-0.017522893846035004,
0.03106110356748104,
0.020973049104213715,
0.03638697415590286,
0.08933468908071518,
-0.017522893846035004,
-0.015608301386237144,
-0.05524133890867233,
0.030322479084134102,
-0.010768367908895016,
-0.038836099207401276,
-0.027076419442892075,
0.011458398774266243,
-0.06845882534980774,
-0.05632983520627022,
0.024685608223080635,
-0.04202384501695633,
-0.04458959400653839,
-0.01169164851307869,
-0.030925041064620018,
-0.02371373400092125,
-0.05275334045290947,
-0.013664552941918373,
0.00418148934841156,
0.0055785588920116425,
-0.03529847413301468,
-0.006487261038273573,
-0.07922719419002533,
0.057807084172964096,
-0.0059041366912424564,
0.02676541917026043,
-0.052442338317632675,
-0.041635096073150635,
-0.02256692200899124,
-0.020720360800623894,
0.03448210284113884,
-0.0030565448105335236,
0.028203792870044708,
-0.05147046595811844,
0.027581794187426567,
0.0203316118568182,
-0.07351257652044296,
-0.007201588712632656,
-0.033801790326833725,
0.0019583269022405148,
0.02095361053943634,
0.019612424075603485,
0.04816609248518944,
-0.014996021054685116,
0.0057680741883814335,
-0.014432334341108799,
-0.022469734773039818,
0.00036323803942650557,
-0.026454418897628784,
0.021225735545158386,
0.008800322189927101,
0.013314678333699703,
-0.012265054509043694,
-0.01853364333510399,
-0.014082458801567554,
0.022197609767317772,
0.028359293937683105,
-0.015025177039206028,
-0.023849796503782272,
0.03146928921341896,
-0.041635096073150635,
0.00801310408860445,
0.004784051328897476,
0.04334559664130211,
-0.01716330088675022,
0.028767479583621025,
-0.021886609494686127,
-0.023791484534740448,
-0.04614459350705147,
-0.01794080063700676,
0.028981292620301247,
0.05524133890867233,
0.025054920464754105,
0.06010070815682411,
0.016745394095778465,
-0.004951699636876583,
-0.013168897479772568,
0.008557353168725967,
0.02631835639476776,
0.03529847413301468,
-0.022702984511852264,
0.026843169704079628,
0.07495094835758209,
-0.011536148376762867,
0.037222787737846375,
-0.0022681117989122868,
-0.00963127426803112,
0.03298541530966759,
0.0002733396540861577,
0.01969989202916622,
0.009257103316485882,
0.10356292873620987,
-0.050498589873313904,
0.0029423495288938284,
-0.022217046469449997,
0.016823144629597664,
0.015297302044928074,
0.011808273382484913,
0.029603293165564537,
-0.05877896025776863,
-0.05745721235871315,
0.0024685608223080635,
-0.03560947626829147,
0.011944335885345936,
0.01837814413011074,
0.04245147109031677,
0.030050354078412056,
0.009922836907207966,
0.03695066273212433,
0.0019972017034888268,
-0.01967073604464531,
-0.025501983240246773,
0.013664552941918373,
-0.03216904029250145,
-0.008348400704562664,
0.025501983240246773,
-0.04991546645760536,
0.02933116815984249,
-0.059828583151102066,
-0.023830357939004898,
0.02231423556804657,
-0.0029520683456212282,
-0.024860545992851257,
0.0017408699495717883,
0.08466969430446625,
0.0058069489896297455,
0.0610337071120739,
0.016589894890785217,
-0.009655571542680264,
0.08062669634819031,
0.003904505167156458,
0.011856867000460625,
-0.01819348707795143,
-0.019000142812728882,
-0.049682214856147766,
0.0020008462015539408,
-0.012731553986668587,
-0.033762913197278976,
-0.0509650893509388,
-0.02103136107325554,
0.035784412175416946,
-0.00009863005834631622,
-0.02371373400092125,
0.03930259868502617,
-0.05477483943104744,
-0.022450298070907593,
0.025424232706427574,
-0.018591955304145813,
0.06227770820260048,
0.049099091440439224,
0.004516785964369774,
-0.033179789781570435,
0.011808273382484913,
-0.024568982422351837,
0.017114706337451935,
-0.048321593552827835,
-0.01509320829063654,
-0.05761270970106125,
-0.023111172020435333,
-0.011944335885345936,
-0.005457074381411076,
-0.0713355764746666,
-0.01643439568579197,
0.027562355622649193,
0.025521419942378998,
-0.05407508835196495,
0.008882931433618069,
0.025540856644511223,
-0.04221821948885918,
0.011419523507356644,
0.006516417488455772,
-0.009694446809589863,
-0.04307347163558006,
0.00208102585747838,
-0.045678094029426575,
-0.047077592462301254,
0.01521955244243145,
-0.011837429367005825,
-0.11024942249059677,
-0.03903047367930412,
0.013382709585130215,
-0.0808599442243576,
-0.06371608376502991,
0.013926959596574306,
-0.005709761753678322,
0.043812096118927,
-0.010651743039488792,
0.013460459187626839,
0.025851856917142868,
0.02694035694003105,
-0.028825793415308,
-0.053725212812423706,
0.06651508063077927,
-0.00814430695027113,
0.008275509811937809,
0.005286996252834797,
-0.024024734273552895,
0.03401560336351395,
0.0012512882240116596,
-0.033140916377305984,
0.002275400795042515,
-0.006015901919454336,
-0.0203316118568182,
0.030536292120814323,
-0.0018392722122371197,
0.06966394931077957,
0.027815043926239014,
0.018242081627249718,
-0.008882931433618069,
-0.03407391533255577,
-0.04509497061371803,
-0.04346222057938576,
-0.06779795140028,
0.01167221087962389,
0.05819583684206009,
0.00875172857195139,
-0.01518067717552185,
-0.06690382957458496,
0.037475474178791046,
-0.00013811246026307344,
0.04455072060227394,
0.02120629884302616,
0.10612867772579193,
0.00036232691491022706,
-0.0320524163544178,
0.0740179494023323,
-0.02694035694003105,
-0.03360741585493088,
0.017882488667964935,
0.07083020359277725,
0.0271347314119339,
-0.04933234304189682,
0.02161448448896408,
0.011769398115575314,
-0.005121777765452862,
-0.009111321531236172,
-0.05706845968961716,
0.06134470924735069,
-0.019019581377506256,
0.00454108277335763,
-0.03504578769207001,
0.0014638857683166862,
-0.02198379673063755,
-0.04944896697998047,
0.007702104281634092,
-0.020895298570394516,
0.043539971113204956,
-0.05543571338057518,
0.037961412221193314,
0.01907789334654808,
-0.04544484242796898,
0.020253861322999,
-0.007221026346087456,
0.05932321026921272,
-0.04754409193992615,
0.04400647059082985,
-0.034579288214445114,
0.01664820685982704,
0.000524508417584002,
-0.005646589677780867,
0.03341304138302803,
-0.058545708656311035,
0.0032169041223824024,
0.038874972611665726,
-0.10745042562484741,
0.012663522735238075,
0.012974522076547146,
-0.06324958056211472,
0.02694035694003105,
0.021381234750151634,
-0.010700336657464504,
0.027989981696009636,
-0.04385096952319145,
0.019359737634658813,
-0.004912824835628271,
-0.0056320116855204105,
0.04715534299612045,
0.021342361345887184,
-0.05691296234726906,
-0.05143158882856369,
0.022450298070907593,
-0.040352221578359604,
-0.037475474178791046,
0.04851596802473068,
0.04991546645760536,
-0.007877041585743427,
-0.0054813711903989315,
0.02095361053943634,
-0.03632866218686104,
-0.01365483459085226,
-0.010379618033766747,
0.006900307722389698,
0.02742629311978817,
0.00943204015493393,
-0.01200264785438776,
0.011827711015939713,
-0.0027601232286542654,
0.0014128623297438025,
-0.07250182330608368,
-0.01757148839533329,
0.00033590407110750675,
0.07075244933366776,
-0.012090116739273071,
-0.01204152312129736,
0.0003869274805765599
] |
7,507 | gitignorefile | __call__ | Checks whether the specified path is ignored.
Args:
path (str): Path to check against ignore rules.
is_dir (bool, optional): Set if you know whether the specified path is a directory.
| def __call__(self, path, is_dir=None):
"""Checks whether the specified path is ignored.
Args:
path (str): Path to check against ignore rules.
is_dir (bool, optional): Set if you know whether the specified path is a directory.
"""
path = _Path(path)
add_to_children = {}
plain_paths = []
for parent in path.parents():
if parent.parts in self.__gitignores:
break
ignore_paths = []
for ignore_name in self.__ignore_names:
ignore_path = parent.join(ignore_name)
if ignore_path.isfile():
ignore_paths.append(str(ignore_path))
if ignore_paths:
matches = [parse(ignore_path, base_path=parent) for ignore_path in ignore_paths]
add_to_children[parent] = (matches, plain_paths)
plain_paths = []
else:
plain_paths.append(parent)
else:
parent = _Path(tuple()) # Null path.
self.__gitignores[parent.parts] = []
for plain_path in plain_paths:
# assert plain_path.parts not in self.__gitignores
self.__gitignores[plain_path.parts] = self.__gitignores[parent.parts]
for parent, (_, parent_plain_paths) in reversed(list(add_to_children.items())):
# assert parent.parts not in self.__gitignores
self.__gitignores[parent.parts] = self.__gitignores[parent.parts[:-1]].copy()
for parent_to_add, (gitignores_to_add, _) in reversed(list(add_to_children.items())):
self.__gitignores[parent.parts].extend(gitignores_to_add)
if parent_to_add == parent:
break
self.__gitignores[parent.parts].reverse()
for plain_path in parent_plain_paths:
# assert plain_path.parts not in self.__gitignores
self.__gitignores[plain_path.parts] = self.__gitignores[parent.parts]
# This parent comes either from first or second loop.
return any((m(path, is_dir=is_dir) for m in self.__gitignores[parent.parts]))
| (self, path, is_dir=None) | [
0.015696654096245766,
-0.05439434200525284,
-0.022049134597182274,
0.07844441384077072,
-0.034054744988679886,
-0.03224807605147362,
0.03601682558655739,
0.03193724900484085,
0.03314169496297836,
-0.07176168262958527,
0.0537726916372776,
0.015142996795475483,
-0.010752595961093903,
-0.04786702245473862,
-0.09993017464876175,
-0.04759505018591881,
0.04475877434015274,
0.039902135729789734,
0.0346958190202713,
-0.018270671367645264,
-0.02970319613814354,
0.032053809612989426,
0.04607977718114853,
0.0613490492105484,
0.00022841374448034912,
0.019028306007385254,
0.028595883399248123,
0.037337832152843475,
0.018950600177049637,
-0.006265062838792801,
-0.02643953636288643,
0.04099002107977867,
0.01523041632026434,
-0.005439434200525284,
0.029275812208652496,
-0.031140761449933052,
-0.019222572445869446,
0.09270349889993668,
-0.08943983912467957,
-0.05081985890865326,
-0.016561133787035942,
-0.017173070460557938,
0.026983479037880898,
-0.00012300952221266925,
-0.008897360414266586,
-0.05214086174964905,
-0.01687195897102356,
0.056492410600185394,
-0.00495862727984786,
0.011442238464951515,
0.0498485304415226,
0.028790147975087166,
-0.0181443989276886,
-0.010723455809056759,
-0.00453124288469553,
0.025215663015842438,
0.04495304077863693,
0.01734790951013565,
0.04623519256711006,
-0.01734790951013565,
-0.024594012647867203,
0.03677446022629738,
-0.005337445065379143,
-0.0367550328373909,
-0.030130580067634583,
-0.04417597874999046,
-0.0629420280456543,
-0.052723661065101624,
-0.02065042406320572,
0.037842921912670135,
-0.1199006736278534,
-0.02593444474041462,
0.07405401021242142,
0.0013052213471382856,
-0.022282253950834274,
-0.040601491928100586,
0.0021575612481683493,
0.04475877434015274,
0.053928107023239136,
0.014443640597164631,
-0.06504008919000626,
-0.03166527673602104,
0.03774578869342804,
-0.003045111894607544,
0.046196337789297104,
0.0592898353934288,
0.09410221129655838,
-0.015259555540978909,
0.035628292709589005,
0.00273428694345057,
-0.03827030584216118,
0.015988051891326904,
0.022534798830747604,
0.001516485121101141,
0.00484935287386179,
0.07114002853631973,
0.017192497849464417,
-0.011403385549783707,
-0.019484831020236015,
-0.009145048446953297,
-0.007537501864135265,
0.026964053511619568,
-0.002629869384691119,
-0.03827030584216118,
0.030888216570019722,
-0.0060610841028392315,
-0.01963052898645401,
-0.03689102083444595,
0.02614813670516014,
-0.06235922873020172,
-0.05660897120833397,
-0.017192497849464417,
0.00994639378041029,
-0.005983377806842327,
0.04417597874999046,
-0.033802200108766556,
-0.06974131613969803,
-0.06352481991052628,
-0.015026437118649483,
-0.006240779533982277,
0.013656864874064922,
0.054744020104408264,
-0.012734103947877884,
0.041883643716573715,
0.04903261363506317,
0.02039787918329239,
0.025351649150252342,
0.01933913119137287,
-0.022321106866002083,
-0.006221353076398373,
0.027721688151359558,
0.014317368157207966,
-0.0052208853885531425,
-0.01891174726188183,
0.02086411602795124,
0.06997443735599518,
-0.006794436369091272,
-0.019426550716161728,
-0.0013586444547399879,
0.009028489701449871,
0.06803178042173386,
-0.06760440021753311,
0.04584665969014168,
0.025351649150252342,
-0.011442238464951515,
0.0533064566552639,
0.019951067864894867,
0.013151775114238262,
0.04176708310842514,
0.01761988177895546,
0.0034239296801388264,
-0.030363699421286583,
-0.028498750180006027,
0.06923622637987137,
-0.024302614852786064,
0.04017410799860954,
-0.049459997564554214,
0.011694783344864845,
-0.007780333515256643,
-0.011481091380119324,
0.017551889643073082,
-0.03343309462070465,
0.028518177568912506,
0.01913515292108059,
-0.020281318575143814,
-0.030014021322131157,
-0.004623519256711006,
-0.04095117002725601,
-0.03578370809555054,
0.030499685555696487,
0.016930239275097847,
0.007066407706588507,
-0.022049134597182274,
0.026866920292377472,
-0.04977082461118698,
0.042893823236227036,
0.0021927719935774803,
0.03399646282196045,
-0.07059608399868011,
0.031043628230690956,
0.017561601474881172,
-0.016716547310352325,
0.058745890855789185,
-0.010820589028298855,
0.03016943298280239,
0.029839182272553444,
0.0387171171605587,
-0.044914186000823975,
0.009013920091092587,
0.05940639227628708,
-0.0753750205039978,
0.02393351122736931,
0.05315104499459267,
0.0296449176967144,
0.033841051161289215,
0.04106773063540459,
-0.007765763904899359,
0.01709536463022232,
-0.027061184868216515,
0.013909410685300827,
-0.03370506688952446,
-0.027488568797707558,
0.04635174944996834,
-0.03794005513191223,
-0.017513034865260124,
0.009824978187680244,
-0.05132494866847992,
0.012772956863045692,
0.03428786247968674,
0.03543402999639511,
-0.03325825557112694,
-0.04759505018591881,
0.012355286628007889,
0.004582237917929888,
-0.012394139543175697,
0.0236615389585495,
0.07047952711582184,
0.07230561971664429,
-0.005376297980546951,
0.04005754739046097,
0.008115441538393497,
0.013860844075679779,
-0.016434861347079277,
-0.0022461949847638607,
-0.00035240978468209505,
-0.017279917374253273,
0.04402056336402893,
0.053928107023239136,
0.05758029595017433,
0.0036084819585084915,
-0.03970786929130554,
-0.009519009850919247,
0.0010994214098900557,
-0.019931640475988388,
-0.019727662205696106,
-0.01885346695780754,
0.013404319994151592,
-0.05027591437101364,
-0.012666110880672932,
0.0161337498575449,
-0.04017410799860954,
0.004392828792333603,
0.0017568886978551745,
-0.010626323521137238,
0.0005229991511441767,
-0.08205775171518326,
0.03704643249511719,
0.006342768669128418,
0.029081547632813454,
0.014550486579537392,
-0.009708418510854244,
0.05641470476984978,
-0.0376875102519989,
-0.031548719853162766,
-0.005521997343748808,
0.0037857491988688707,
-0.018668916076421738,
-0.01333632692694664,
0.04149511456489563,
0.028557030484080315,
0.0015929772052913904,
-0.020728129893541336,
0.020067626610398293,
-0.036813315004110336,
-0.03624994307756424,
-0.02820735238492489,
0.07766734808683395,
-0.04223332181572914,
-0.024535734206438065,
0.05334530770778656,
0.035861413925886154,
-0.02113608829677105,
0.028576456010341644,
0.05206315591931343,
-0.04398171231150627,
0.02515738271176815,
0.0014217806747183204,
0.023991789668798447,
-0.04708996042609215,
0.04879949614405632,
0.015434394590556622,
0.04899376258254051,
-0.024341467767953873,
-0.025545913726091385,
-0.004395257215946913,
0.009373310953378677,
-0.017959846183657646,
0.013647152110934258,
-0.06437958776950836,
0.03922220692038536,
0.05761915072798729,
0.016910811886191368,
0.011597651056945324,
-0.03015000745654106,
0.04409826919436455,
0.0033875047229230404,
-0.014608765952289104,
-0.03842571750283241,
-0.0057356893084943295,
-0.007654061075299978,
-0.021000102162361145,
0.03669675439596176,
0.01408424973487854,
-0.0719170942902565,
0.0015407683094963431,
-0.011626791208982468,
-0.0066293105483055115,
0.0016439718892797828,
0.010529190301895142,
-0.021291499957442284,
0.015949198976159096,
0.018047265708446503,
0.04650716483592987,
-0.04561354219913483,
0.015162423253059387,
-0.03203438222408295,
0.059017863124608994,
-0.011131413280963898,
-0.03362736105918884,
0.04623519256711006,
-0.01764902099967003,
0.06857572495937347,
-0.06729356944561005,
0.03337481617927551,
-0.005551137030124664,
-0.031704131513834,
-0.005327731836587191,
0.061504460871219635,
-0.011354818940162659,
0.01888260804116726,
-0.013025502674281597,
-0.023991789668798447,
-0.038153745234012604,
-0.02311759628355503,
0.01408424973487854,
-0.013511165976524353,
0.02243766561150551,
-0.028032513335347176,
0.03292800486087799,
0.008086301386356354,
0.04829440638422966,
-0.019562536850571632,
-0.027818821370601654,
-0.004239844623953104,
-0.0043636891059577465,
-0.04646831005811691,
0.0528402179479599,
0.06558403372764587,
0.0035453455056995153,
0.08780801296234131,
0.0638744980096817,
0.02591501921415329,
-0.0418059378862381,
-0.030557963997125626,
-0.02008705399930477,
-0.005716262850910425,
-0.05342301353812218,
0.008518542163074017,
0.007858039811253548,
-0.006308772601187229,
0.0780947357416153,
-0.007284956518560648,
0.008751661516726017,
0.02385580539703369,
0.010781736113131046,
-0.04627404361963272,
0.012588405050337315,
-0.011976468376815319,
-0.04879949614405632,
-0.053733840584754944,
-0.024283189326524734,
-0.007153827231377363,
0.04231102764606476,
-0.10031870752573013,
0.05256824567914009,
0.021019527688622475,
-0.003992156125605106,
-0.04122314229607582,
-0.009387880563735962,
0.03288915008306503,
-0.04001869633793831,
0.06270890682935715,
0.02587616629898548,
0.0074986484833061695,
-0.013297474011778831,
0.019174005836248398,
0.07125658541917801,
0.008741947822272778,
0.05862933024764061,
-0.017250778153538704,
0.016726261004805565,
-0.0583573579788208,
0.015133283101022243,
0.004973196890205145,
-0.045380424708127975,
-0.06974131613969803,
0.068264901638031,
-0.0046648005954921246,
-0.022942757233977318,
-0.01964995637536049,
0.05315104499459267,
-0.01913515292108059,
0.03900851309299469,
0.03368563950061798,
0.012704964727163315,
0.018241532146930695,
0.017503323033452034,
0.0769679918885231,
-0.024729998782277107,
-0.010412631556391716,
-0.060222309082746506,
-0.054977137595415115,
0.046429455280303955,
0.005133466329425573,
-0.025118529796600342,
0.006760439835488796,
-0.008343704044818878,
-0.006876999046653509,
0.020028773695230484,
-0.03415187820792198,
-0.008159151300787926,
-0.062242668122053146,
0.015541240572929382,
-0.00013553054304793477,
0.039902135729789734,
0.007168397307395935,
-0.037784643471241,
-0.05412236973643303,
-0.041844792664051056,
0.036619048565626144,
-0.011869622394442558,
-0.02764398232102394,
0.049926236271858215,
-0.033083416521549225,
0.0014727753587067127,
-0.05210201069712639,
-0.032597754150629044,
-0.03949417918920517,
-0.026594948023557663,
0.0519077442586422,
-0.05851277336478233,
0.08431123197078705,
-0.0028168498538434505,
-0.022049134597182274,
0.041106581687927246,
0.03325825557112694,
-0.0015796214574947953,
0.08718635886907578,
0.020747557282447815,
0.005206315778195858,
-0.03700758144259453,
0.030849363654851913,
0.025060251355171204,
-0.052490539848804474,
-0.06469041109085083,
-0.008790514431893826,
-0.04879949614405632,
0.03970786929130554,
-0.005823108833283186,
0.04584665969014168,
0.02587616629898548,
0.01485159806907177,
0.07040181756019592,
0.0026590090710669756,
0.004764361772686243,
-0.04907146841287613,
0.021971428766846657,
-0.017309056594967842,
-0.04025181382894516,
-0.024963118135929108,
0.010286359116435051,
-0.061232488602399826,
-0.022010281682014465,
0.060727398842573166,
-0.028829000890254974,
-0.04627404361963272,
0.001351359416730702,
-0.022826196625828743,
-0.019193433225154877,
-0.04203905537724495,
-0.037396110594272614,
-0.0032418055925518274,
-0.00609508017078042,
-0.02414720319211483,
-0.016192030161619186,
-0.06037772074341774,
0.021038955077528954,
-0.012802097015082836,
0.03419072926044464,
-0.04277726635336876,
-0.017755867913365364,
-0.022495945915579796,
-0.03323882818222046,
0.03125732019543648,
-0.011889048852026463,
-0.009047916159033775,
-0.05987263098359108,
0.0014217806747183204,
0.015308122150599957,
-0.07288841903209686,
-0.014773892238736153,
-0.0014096391387283802,
0.005449147429317236,
0.007445225492119789,
0.013987116515636444,
0.03176240995526314,
-0.008081445470452309,
-0.008363130502402782,
-0.03117961436510086,
-0.031043628230690956,
-0.01832895167171955,
-0.030072301626205444,
0.01016979943960905,
0.012432992458343506,
0.0031325314193964005,
-0.009761841967701912,
0.007027554791420698,
-0.00995610747486353,
0.04747848957777023,
0.014657332561910152,
0.006677876692265272,
-0.058745890855789185,
0.01831923797726631,
-0.008382556959986687,
0.023972364142537117,
0.01760045439004898,
0.025468207895755768,
-0.013753998093307018,
0.025856738910079002,
-0.032578326761722565,
-0.006940135266631842,
-0.04145625978708267,
-0.01245241891592741,
0.026730934157967567,
0.02970319613814354,
0.04029066488146782,
0.04200020432472229,
0.035356324166059494,
-0.03372449427843094,
-0.0032418055925518274,
0.019465403631329536,
0.009203328751027584,
0.03139330819249153,
0.0017678161384537816,
0.0352591909468174,
0.0826793983578682,
-0.019931640475988388,
0.034870658069849014,
0.010723455809056759,
-0.006833289284259081,
0.029586637392640114,
0.015133283101022243,
0.005959094502031803,
0.047905873507261276,
0.12044461816549301,
-0.03838686645030975,
-0.004783788230270147,
-0.004130570217967033,
-0.0003681938396766782,
-0.003632765030488372,
-0.0011868408182635903,
0.031704131513834,
-0.05431663617491722,
-0.08392269909381866,
-0.006439901422709227,
-0.026983479037880898,
0.010723455809056759,
0.011364532634615898,
0.04631289839744568,
0.028731869533658028,
-0.012384425848722458,
0.01631830260157585,
-0.031004775315523148,
-0.017425615340471268,
-0.02713889256119728,
0.02494369074702263,
-0.023603258654475212,
0.012151307426393032,
-0.0013088638661429286,
-0.03613338619470596,
0.044914186000823975,
-0.07859982550144196,
-0.025448782369494438,
0.023525552824139595,
-0.031335026025772095,
-0.037648655474185944,
-0.005259738769382238,
0.07727882266044617,
0.019465403631329536,
0.04887720197439194,
0.02368096634745598,
-0.0015031293733045459,
0.06857572495937347,
-0.005779399070888758,
0.0020847117993980646,
-0.004698797129094601,
-0.007989169098436832,
-0.04782816767692566,
0.03240348771214485,
-0.008518542163074017,
-0.015259555540978909,
-0.058979008346796036,
-0.005973664578050375,
0.049693118780851364,
0.0008128797635436058,
-0.019562536850571632,
0.03428786247968674,
-0.04168937727808952,
-0.033860478550195694,
0.024535734206438065,
-0.010033813305199146,
0.040096402168273926,
0.04277726635336876,
-0.02234053425490856,
-0.04118428751826286,
0.0034384995233267546,
-0.018921460956335068,
0.02540992945432663,
-0.026594948023557663,
-0.010082379914820194,
-0.04301038384437561,
-0.039125073701143265,
-0.027877099812030792,
-0.02587616629898548,
-0.07261645048856735,
-0.02134978026151657,
0.020786410197615623,
0.023467274382710457,
-0.048644084483385086,
-0.0015832638600841165,
0.025837313383817673,
-0.04934344068169594,
-0.002445317106321454,
0.0010496408212929964,
-0.007678344380110502,
-0.061504460871219635,
0.01709536463022232,
-0.05027591437101364,
-0.04821670055389404,
0.011869622394442558,
-0.02966434322297573,
-0.12712734937667847,
-0.048644084483385086,
0.014919591136276722,
-0.0728495642542839,
-0.0438651517033577,
-0.0021988428197801113,
0.003657048335298896,
0.03174298256635666,
-0.003144672838971019,
0.03069395013153553,
0.026303550228476524,
0.01913515292108059,
-0.056725528091192245,
-0.05505484715104103,
0.06301973015069962,
0.0007175682112574577,
0.027274876832962036,
-0.0016160461818799376,
-0.01105370745062828,
0.03141273185610771,
0.00040947526576928794,
-0.02667265385389328,
0.01246213261038065,
-0.006600170861929655,
-0.013530592434108257,
0.03883367404341698,
-0.015609233640134335,
0.0677986592054367,
0.019669383764266968,
0.0038488854188472033,
-0.0009257965721189976,
-0.0670604556798935,
-0.03522033616900444,
-0.027585702016949654,
-0.05439434200525284,
0.011957041919231415,
0.04833325743675232,
0.031335026025772095,
-0.041417405009269714,
-0.09371367841959,
0.020067626610398293,
-0.000675679708365351,
0.03016943298280239,
0.024963118135929108,
0.06818719208240509,
0.019280852749943733,
-0.01434650830924511,
0.0840781107544899,
-0.037862349301576614,
-0.04907146841287613,
0.004205848090350628,
0.06702160090208054,
0.05027591437101364,
-0.034831807017326355,
0.03450155630707741,
-0.01006295345723629,
-0.02234053425490856,
-0.036871593445539474,
-0.026789214462041855,
0.06504008919000626,
-0.0261869914829731,
-0.008581679314374924,
-0.0346958190202713,
0.010043526999652386,
-0.03302513808012009,
0.003530775662511587,
-0.0059882341884076595,
-0.003938733134418726,
0.04654601588845253,
-0.07121773809194565,
0.03424900770187378,
0.00781433004885912,
-0.06896425783634186,
0.023816950619220734,
-0.013414033688604832,
0.05792997404932976,
-0.047672756016254425,
0.038153745234012604,
-0.06554518640041351,
0.010160085745155811,
-0.00892164371907711,
-0.02391408383846283,
0.02214626781642437,
-0.023739244788885117,
-0.010606897063553333,
0.036560770124197006,
-0.09472386538982391,
0.03162642568349838,
0.0061873565427958965,
-0.057696856558322906,
0.028032513335347176,
0.01246213261038065,
-0.004290839657187462,
0.03875596821308136,
-0.015016724355518818,
0.028595883399248123,
0.027721688151359558,
-0.006201926618814468,
0.017717014998197556,
0.0228650514036417,
-0.03244233876466751,
-0.03801776096224785,
-0.012005608528852463,
-0.023816950619220734,
-0.009519009850919247,
0.038561705499887466,
0.05555993691086769,
0.007911463268101215,
-0.006867285817861557,
0.034812379628419876,
-0.02162175066769123,
-0.004725508391857147,
-0.04561354219913483,
0.007085834629833698,
0.02212684229016304,
0.0035720570012927055,
0.001370785990729928,
-0.0015492674428969622,
-0.007304382976144552,
0.0032418055925518274,
-0.03694929927587509,
0.007231533527374268,
0.006551604252308607,
0.08221316337585449,
0.002612871117889881,
-0.00755692832171917,
-0.003776035737246275
] |
7,508 | gitignorefile | __init__ | Constructs `Cache` objects.
Args:
ignore_names (list[str], optional): List of names of ignore files.
| def __init__(self, ignore_names=DEFAULT_IGNORE_NAMES):
"""Constructs `Cache` objects.
Args:
ignore_names (list[str], optional): List of names of ignore files.
"""
self.__ignore_names = ignore_names
self.__gitignores = {}
| (self, ignore_names=['.gitignore', '.git/info/exclude']) | [
-0.03533798083662987,
-0.07580651342868805,
-0.02427414059638977,
0.009091896004974842,
-0.02561785653233528,
-0.03587896004319191,
-0.030067823827266693,
0.057448215782642365,
0.047885145992040634,
-0.03504131734371185,
0.012180697172880173,
0.07224654406309128,
-0.04865298420190811,
0.0026547114830464125,
-0.029893314465880394,
-0.02745019644498825,
0.027746859937906265,
0.030312135815620422,
-0.029893314465880394,
-0.05329491198062897,
-0.04579104483127594,
-0.004995307419449091,
0.029823511838912964,
0.06397483497858047,
0.006443728227168322,
0.022598857060074806,
0.04191695526242256,
0.004528496880084276,
0.0264205951243639,
-0.0003165694361086935,
-0.03477955609560013,
0.03982285037636757,
-0.043627139180898666,
0.03387210890650749,
0.021708864718675613,
-0.04484869912266731,
0.0131230428814888,
0.07036185264587402,
-0.09653813391923904,
-0.02558295428752899,
0.057413313537836075,
0.00028848444344475865,
0.023837868124246597,
-0.030294684693217278,
-0.00397225096821785,
0.0076783765107393265,
0.02027789317071438,
-0.025513149797916412,
0.04917651042342186,
-0.03305191919207573,
0.012992162257432938,
0.05011885613203049,
0.0014353328151628375,
-0.01068864855915308,
-0.01137795764952898,
0.06763951480388641,
0.06317209452390671,
0.08865034580230713,
-0.025129232555627823,
0.053888242691755295,
-0.04847847670316696,
0.004463056102395058,
0.04879259318113327,
0.017119288444519043,
-0.021569257602095604,
-0.018881825730204582,
-0.047187112271785736,
-0.004244920797646046,
0.027642155066132545,
0.024256689473986626,
-0.012006188742816448,
-0.03689110651612282,
0.006055446807295084,
0.01761663891375065,
-0.004303817171603441,
-0.024640608578920364,
-0.022738464176654816,
0.028741559013724327,
-0.008057932369410992,
0.019213391467928886,
-0.019283195957541466,
-0.04296400770545006,
-0.03460504487156868,
-0.011962560936808586,
0.04987454414367676,
-0.01954495720565319,
0.0348668098449707,
-0.024501001462340355,
0.04676829278469086,
0.0400671623647213,
-0.09835302084684372,
0.05971682816743851,
-0.0015040455618873239,
0.0298758652061224,
-0.001513861701823771,
0.002574001206085086,
0.008193176239728928,
-0.027851564809679985,
-0.011491388082504272,
0.024361394345760345,
0.015060088597238064,
-0.028514698147773743,
-0.029265085235238075,
-0.012870006263256073,
-0.026909219101071358,
-0.037728749215602875,
-0.009973163716495037,
-0.05542391538619995,
-0.0032305896747857332,
-0.02420433610677719,
-0.010025516152381897,
0.005514470394700766,
0.012616968713700771,
0.007063233759254217,
0.027642155066132545,
-0.009615421295166016,
-0.07866845279932022,
-0.05011885613203049,
0.04205656051635742,
0.026979021728038788,
-0.01636890321969986,
0.06966381520032883,
-0.04554673284292221,
0.08662604540586472,
0.04994434863328934,
0.003442181274294853,
0.01989397592842579,
-0.017319973558187485,
0.020400049164891243,
0.025774912908673286,
0.07929668575525284,
-0.022598857060074806,
-0.005606087390333414,
0.009545617736876011,
0.02558295428752899,
0.023488851264119148,
0.06746500730514526,
-0.005165453068912029,
0.014510386623442173,
0.026123929768800735,
0.030347038060426712,
-0.024919820949435234,
0.03839188069105148,
0.011473936960101128,
0.011116194538772106,
0.0035577930975705385,
0.024012377485632896,
-0.04264989122748375,
-0.01912613771855831,
-0.0098422821611166,
0.05643606558442116,
-0.037065617740154266,
-0.054307062178850174,
0.0352332778275013,
-0.050537675619125366,
0.026752160862088203,
-0.013271375559270382,
0.021115535870194435,
-0.024047277867794037,
0.030032921582460403,
0.028095876798033714,
0.030224882066249847,
-0.0027376029174774885,
-0.01681389845907688,
-0.009755028411746025,
-0.007320633623749018,
-0.011133645661175251,
-0.04306871071457863,
-0.023768065497279167,
0.009440912865102291,
-0.027048826217651367,
-0.012337754480540752,
-0.014440583065152168,
0.024570804089307785,
-0.0022064426448196173,
0.003830462694168091,
-0.025809815153479576,
0.0016316550318151712,
-0.01485067792236805,
0.008668712340295315,
0.010610120370984077,
-0.02991076558828354,
-0.029963118955492973,
0.012058541178703308,
0.01858516037464142,
0.0009761572000570595,
0.02010338567197323,
0.019073784351348877,
0.04261498898267746,
0.06327680498361588,
0.016491059213876724,
0.006849460769444704,
-0.002259885659441352,
-0.028654305264353752,
-0.003653772873803973,
-0.020522205159068108,
-0.009676499292254448,
-0.04275459423661232,
-0.023925121873617172,
0.03170820325613022,
-0.07482926547527313,
0.030504094436764717,
0.032755255699157715,
-0.053923144936561584,
0.05175923556089401,
0.0005720608751289546,
-0.0149379326030612,
-0.034971512854099274,
0.014885579235851765,
0.07203713059425354,
0.0008158275159075856,
0.013288826681673527,
-0.029893314465880394,
0.009231502190232277,
-0.011090018786489964,
0.037589143961668015,
0.046838097274303436,
0.06275327503681183,
0.025478249415755272,
0.021743765100836754,
0.0521431565284729,
0.014379505068063736,
-0.08160019665956497,
0.03573935106396675,
-0.0026394419837743044,
0.0012510082451626658,
0.04205656051635742,
0.04303380846977234,
0.015976257622241974,
-0.011639720760285854,
-0.03685620799660683,
-0.005488294176757336,
0.001810526242479682,
-0.01837575063109398,
0.07866845279932022,
-0.061008188873529434,
-0.004960405640304089,
-0.0006135066505521536,
-0.05322510749101639,
-0.04188205301761627,
0.00785724725574255,
0.006962891202419996,
0.03654209151864052,
0.014667443931102753,
0.03703071549534798,
-0.05947251617908478,
-0.029404690489172935,
0.01954495720565319,
0.021429650485515594,
0.02355865389108658,
0.025111781433224678,
0.060903485864400864,
-0.032859962433576584,
-0.033034469932317734,
-0.004164210520684719,
-0.025635305792093277,
0.02448355033993721,
-0.04900200292468071,
0.01961476169526577,
-0.0011932022171095014,
0.014362053945660591,
-0.05238746851682663,
0.00989463459700346,
-0.022389447316527367,
0.014885579235851765,
0.021778667345643044,
0.03992755711078644,
-0.0191610399633646,
-0.0825076475739479,
-0.0010535954497754574,
0.06715089082717896,
-0.0014037032378837466,
0.0462796688079834,
0.031411539763212204,
-0.06819794327020645,
-0.03870599716901779,
0.0390201136469841,
0.010121496394276619,
-0.09744557738304138,
0.05120081081986427,
0.038356978446245193,
0.037100519984960556,
0.01548763457685709,
-0.006395738571882248,
0.020155737176537514,
-0.01844555325806141,
-0.05936780944466591,
0.015731945633888245,
-0.04865298420190811,
-0.016726644709706306,
0.03950873762369156,
0.05615685135126114,
0.020051032304763794,
-0.047466326504945755,
0.05015375837683678,
-0.034273479133844376,
-0.047710638493299484,
-0.0001466962567064911,
0.054481569677591324,
0.047710638493299484,
-0.044743992388248444,
-0.008175726048648357,
0.032266631722450256,
-0.026263536885380745,
-0.015321850776672363,
-0.002868484240025282,
-0.023506302386522293,
0.013140494003891945,
0.047291819006204605,
0.04935101792216301,
0.1129419356584549,
0.022808268666267395,
0.004759720992296934,
0.05273648351430893,
0.0043081799522042274,
-0.037903256714344025,
0.0031498793978244066,
-0.02437884546816349,
-0.025356093421578407,
0.021534355357289314,
-0.011159822344779968,
0.01940535195171833,
-0.018654964864253998,
-0.02673470973968506,
0.004236195236444473,
-0.022494152188301086,
-0.001962130656465888,
0.029265085235238075,
0.005309422966092825,
-0.0217612162232399,
-0.015025186352431774,
-0.040625590831041336,
-0.017799872905015945,
0.013803626410663128,
-0.015129891224205494,
0.04024167358875275,
0.006775294430553913,
-0.013184120878577232,
0.03149879351258278,
-0.027467645704746246,
0.07095517963171005,
-0.03474465385079384,
-0.07831943780183792,
0.03533798083662987,
-0.05004905164241791,
-0.03537288308143616,
0.07692337036132812,
-0.026438046246767044,
0.025495700538158417,
-0.023261990398168564,
0.027607252821326256,
0.002190082333981991,
0.017040761187672615,
0.04244048148393631,
0.12089952826499939,
-0.03713541850447655,
-0.04289420321583748,
-0.038356978446245193,
-0.0023405959364026785,
-0.07336339354515076,
0.0008420037920586765,
0.004890602082014084,
-0.015417831018567085,
-0.028846263885498047,
-0.0191610399633646,
-0.02991076558828354,
0.053958043456077576,
-0.004063867963850498,
-0.03259819746017456,
-0.09234992414712906,
-0.02437884546816349,
-0.008188813924789429,
-0.016909878700971603,
-0.014990285038948059,
0.018916727975010872,
-0.05479568615555763,
-0.0003861001750919968,
0.013445883989334106,
-0.06746500730514526,
0.03947383537888527,
-0.04624476656317711,
0.050572577863931656,
0.011596092954277992,
0.012337754480540752,
-0.01750320754945278,
0.04610516130924225,
0.03922952339053154,
-0.004063867963850498,
0.10261102765798569,
0.027432745322585106,
0.010296004824340343,
-0.040974609553813934,
0.019667113199830055,
-0.004190386738628149,
-0.02017318829894066,
0.010025516152381897,
0.056959591805934906,
0.05134041607379913,
-0.014597640372812748,
-0.044185567647218704,
0.057238806039094925,
-0.053818438202142715,
0.03908991441130638,
0.014082840643823147,
-0.01647360809147358,
0.013751273974776268,
0.05779723450541496,
-0.006208141800016165,
0.024396296590566635,
-0.012267950922250748,
-0.044045958667993546,
-0.06414934247732162,
0.012006188742816448,
-0.03540778532624245,
-0.02772940881550312,
0.010191299952566624,
0.024919820949435234,
-0.06840735673904419,
0.00009270766895497218,
-0.004061686806380749,
-0.016517234966158867,
-0.04847847670316696,
0.012564616277813911,
-0.017415953800082207,
0.0231398344039917,
-0.0033331133890897036,
0.009056993760168552,
-0.02233709581196308,
0.0011032213224098086,
0.001969765406101942,
-0.04237067699432373,
0.018183792009949684,
0.002870665630325675,
-0.047291819006204605,
0.04917651042342186,
-0.04952552914619446,
-0.018707316368818283,
-0.07109478116035461,
-0.04463928937911987,
0.016796449199318886,
-0.05873958021402359,
0.008062295615673065,
0.04694280028343201,
-0.009711400605738163,
-0.014178819954395294,
0.023488851264119148,
-0.03825227543711662,
0.07029204815626144,
0.07482926547527313,
-0.02748509682714939,
-0.022005528211593628,
0.041533034294843674,
-0.003282942110672593,
-0.07245595008134842,
0.010540316812694073,
-0.03114977665245533,
-0.09137267619371414,
0.03629777953028679,
-0.01926574483513832,
-0.01067119836807251,
-0.022040430456399918,
0.018567709252238274,
0.08208882063627243,
-0.04258008673787117,
-0.007975040934979916,
-0.012660595588386059,
0.02279081754386425,
-0.024745313450694084,
0.004851337987929583,
-0.022110233083367348,
-0.009266404435038567,
-0.02811332792043686,
-0.054132554680109024,
-0.022040430456399918,
-0.046977702528238297,
-0.05308550223708153,
0.008511655032634735,
-0.033139172941446304,
-0.023942572996020317,
-0.04631457105278969,
0.0028663030825555325,
0.014492935501039028,
0.013341179117560387,
0.03483190760016441,
0.007774356286972761,
-0.08557899296283722,
0.04589574784040451,
-0.059996042400598526,
0.0359138585627079,
-0.019038883969187737,
-0.05573803186416626,
0.013079416006803513,
-0.03240623697638512,
0.001521496451459825,
0.0086338110268116,
0.05856506898999214,
-0.003025542013347149,
0.03121958114206791,
-0.018916727975010872,
-0.06694148480892181,
0.0007411160040646791,
-0.04223107174038887,
-0.00006135066360002384,
0.01485067792236805,
0.0015553075354546309,
-0.02258140780031681,
-0.006365199573338032,
-0.06927989423274994,
0.004864425864070654,
-0.009999340400099754,
0.01172697450965643,
-0.011028940789401531,
0.018637513741850853,
0.010339631699025631,
0.02300022728741169,
-0.020295344293117523,
-0.11343055963516235,
-0.011692073196172714,
-0.06324189901351929,
0.05168943479657173,
0.015382928773760796,
0.009720126166939735,
0.08264724910259247,
-0.05462117865681648,
0.009885909967124462,
-0.04271969571709633,
0.06592933088541031,
-0.00913552287966013,
0.06516149640083313,
0.0177824217826128,
-0.0355648435652256,
-0.06313719600439072,
-0.06313719600439072,
0.03174310550093651,
0.008376410230994225,
-0.00825425423681736,
0.018463004380464554,
-0.002086467808112502,
-0.008742878213524818,
0.005257070064544678,
0.022808268666267395,
0.03369760140776634,
0.07475946098566055,
-0.047710638493299484,
0.007634749170392752,
0.05032826587557793,
-0.04254518449306488,
0.04125382378697395,
-0.020365148782730103,
-0.012887456454336643,
0.04823416471481323,
-0.06641795486211777,
-0.028828812763094902,
-0.07350300252437592,
0.04561653733253479,
-0.03174310550093651,
0.032650548964738846,
-0.030713506042957306,
0.025181584060192108,
0.054167456924915314,
0.02600177377462387,
0.013192846439778805,
-0.04149813577532768,
-0.00197303737513721,
-0.06819794327020645,
-0.02265121042728424,
0.02427414059638977,
0.012390106916427612,
0.020434951409697533,
0.038182470947504044,
0.022232389077544212,
-0.01933554746210575,
0.05542391538619995,
0.04540712758898735,
-0.04690789803862572,
0.013541864231228828,
0.026158832013607025,
0.020330246537923813,
0.009161698631942272,
-0.04003226384520531,
0.02458825521171093,
-0.0428243987262249,
-0.05919330194592476,
-0.007442789617925882,
-0.02078396826982498,
0.0056497142650187016,
-0.01162226963788271,
0.0314289890229702,
0.03087056241929531,
0.029683904722332954,
0.03839188069105148,
0.01061884593218565,
0.06348621100187302,
0.0324585922062397,
-0.01975436881184578,
0.013192846439778805,
-0.021970627829432487,
-0.04195185750722885,
0.019318096339702606,
-0.012267950922250748,
-0.01740722917020321,
0.004559035878628492,
-0.027537450194358826,
0.02078396826982498,
0.009493265300989151,
-0.0018770575989037752,
-0.0038675458636134863,
-0.012503538280725479,
0.005536283832043409,
0.034098971635103226,
-0.024884920567274094,
-0.0003443817258812487,
0.03347074240446091,
0.03094036690890789,
0.021185338497161865,
0.005942016374319792,
0.034971512854099274,
0.031620949506759644,
-0.04837376996874809,
-0.026472948491573334,
-0.02731058932840824,
0.01964966394007206,
0.011011489666998386,
0.014178819954395294,
-0.03149879351258278,
-0.018620062619447708,
0.01365529466420412,
-0.018620062619447708,
-0.013855978846549988,
0.0184804555028677,
0.029509397223591805,
-0.029893314465880394,
0.011124920099973679,
0.02486746944487095,
0.01737232692539692,
0.03474465385079384,
0.033854659646749496,
-0.019387900829315186,
-0.002026480622589588,
0.01072355080395937,
0.0067840199917554855,
-0.053923144936561584,
0.015478909015655518,
0.04289420321583748,
-0.1053333654999733,
-0.037589143961668015,
0.0057500568218529224,
-0.010915510356426239,
0.06634815037250519,
-0.018934177234768867,
-0.002238072222098708,
0.009676499292254448,
0.014492935501039028,
0.047361619770526886,
-0.04812945798039436,
0.057587821036577225,
-0.04278949648141861,
0.04034637659788132,
0.06139210984110832,
-0.07755160331726074,
-0.026647455990314484,
0.007368623744696379,
-0.01823614351451397,
0.03305191919207573,
-0.000969613145571202,
-0.03619307279586792,
0.0009047177736647427,
-0.008162637241184711,
0.01495538279414177,
0.08509036898612976,
0.006020545028150082,
0.023977475240826607,
0.0007841978222131729,
-0.018497906625270844,
-0.014841952361166477,
-0.020382599905133247,
0.015906454995274544,
0.013428432866930962,
0.018707316368818283,
0.010191299952566624,
-0.05605214834213257,
0.017005858942866325,
0.02676961198449135,
-0.008310969918966293,
-0.015321850776672363,
0.09863223135471344,
-0.034064069390296936,
0.02071416564285755,
0.046977702528238297,
0.02617628313601017,
-0.014894304797053337,
0.012983436696231365,
0.060728978365659714,
0.034308381378650665,
-0.007045782636851072,
0.04924631491303444,
-0.012529714033007622,
-0.05772743001580238,
0.004607025999575853,
-0.047431424260139465,
0.03252839297056198,
0.031237030401825905,
-0.02307002991437912,
0.006954165641218424,
-0.03490171208977699,
-0.00809719692915678,
-0.038147568702697754,
-0.011884032748639584,
-0.01781732402741909,
-0.02603667601943016,
-0.00240821810439229,
0.02741529420018196,
0.03675150126218796,
0.01063629612326622,
0.03500641509890556,
-0.0020831958390772343,
0.06142701208591461,
-0.053574126213788986,
0.04275459423661232,
-0.013620392419397831,
0.01930064521729946,
-0.005776233039796352,
0.004838249646127224,
0.02907312475144863,
-0.0013600760139524937,
-0.027991171926259995,
-0.050991401076316833,
-0.07580651342868805,
-0.008367685601115227,
-0.005837311036884785,
-0.0005644261254929006,
0.011936385184526443,
-0.004334356170147657,
-0.013681470416486263,
0.01500773523002863,
-0.08627703040838242,
0.034029167145490646,
-0.0074471523985266685,
0.010836981236934662,
0.08767309784889221,
0.008306607604026794,
-0.07203713059425354,
-0.030853113159537315,
0.05298079550266266,
-0.07109478116035461,
-0.03411642089486122,
0.01490303035825491,
0.03619307279586792,
-0.003479264210909605,
0.002421306213364005,
-0.019702015444636345,
-0.027188433334231377,
-0.00968522485345602,
0.0055668228305876255,
0.016726644709706306,
-0.015217145904898643,
-0.017119288444519043,
0.017773695290088654,
-0.0012193785514682531,
-0.00399842718616128,
-0.030347038060426712,
-0.07601592689752579,
-0.006269219797104597,
-0.016386352479457855,
0.03324387967586517,
-0.041044410318136215,
0.047291819006204605,
-0.031306833028793335
] |
7,509 | gitignorefile | _IgnoreRule | null | class _IgnoreRule:
def __init__(self, regexp, negation, directory_only):
self.__regexp = re.compile(regexp)
self.__negation = negation
self.__directory_only = directory_only
self.__match = self.__regexp.match
@property
def regexp(self):
return self.__regexp
@property
def negation(self):
return self.__negation
def match(self, rel_path, is_dir):
m = self.__match(rel_path)
# If we need a directory, check there is something after slash and if there is not, target must be a directory.
# If there is something after slash then it's a directory irrelevant to type of target.
# `self.directory_only` implies we have group number 1.
# N.B. Question mark inside a group without a name can shift indices. :(
return m and (not self.__directory_only or m.group(1) is not None or is_dir)
| (regexp, negation, directory_only) | [
0.008986123837530613,
0.007101637311279774,
0.02376495487987995,
0.040326159447431564,
-0.043333910405635834,
-0.026030052453279495,
0.041477274149656296,
-0.017916548997163773,
-0.020088814198970795,
-0.04348244145512581,
0.04199713096022606,
0.050129201263189316,
0.043853770941495895,
-0.009106805548071861,
-0.03406929224729538,
-0.036130160093307495,
0.038506653159856796,
0.06992095708847046,
0.03076447732746601,
0.033326636999845505,
-0.023059433326125145,
0.06884410232305527,
0.012411619536578655,
0.039100777357816696,
-0.026791274547576904,
0.02796095609664917,
-0.006261508911848068,
0.0032630397472530603,
-0.011232654564082623,
-0.009088238701224327,
-0.03950923681259155,
0.010852044448256493,
0.029891857877373695,
0.03219408914446831,
0.003170207841321826,
-0.051280319690704346,
-0.03106153942644596,
0.11741373687982559,
-0.13293522596359253,
-0.042368460446596146,
-0.014323955401778221,
0.03466341644525528,
0.014388937503099442,
0.03252828121185303,
-0.028480814769864082,
-0.016366256400942802,
-0.030318884178996086,
0.006117619574069977,
-0.005068619269877672,
-0.002613216871395707,
0.016876831650733948,
0.08228615671396255,
-0.02300373464822769,
0.005300699267536402,
0.008183128200471401,
0.04025189206004143,
-0.005268207751214504,
0.059672318398952484,
0.008772610686719418,
0.0037457654252648354,
-0.03872945159673691,
0.03130290284752846,
-0.004393267445266247,
-0.05113178864121437,
0.0016767753986641765,
-0.03746693953871727,
-0.053693946450948715,
-0.027181167155504227,
0.03109867312014103,
0.03080161102116108,
-0.08696488291025162,
-0.036724284291267395,
0.07775596529245377,
-0.0006010862998664379,
0.04014049470424652,
-0.04604460299015045,
0.0018879679264500737,
0.041217345744371414,
0.08206336200237274,
0.00035073034814558923,
-0.06828711181879044,
0.017944397404789925,
0.007746818475425243,
-0.019104795530438423,
0.04255412518978119,
0.0017278329469263554,
0.015577185899019241,
-0.05651603639125824,
0.013729832135140896,
-0.04845822975039482,
-0.08065231889486313,
-0.005073260981589556,
-0.003652933519333601,
-0.02086860127747059,
-0.005542061757296324,
0.08518251031637192,
0.013989760540425777,
0.005555986892431974,
-0.021574122831225395,
-0.009858743287622929,
-0.017470955848693848,
0.0753423348069191,
-0.007421907037496567,
-0.00306577212177217,
0.033586565405130386,
-0.0030866593588143587,
-0.01670045033097267,
-0.004850464407354593,
-0.05202297121286392,
0.026531344279646873,
-0.028517946600914,
-0.02745966427028179,
-0.014797397889196873,
0.03301100805401802,
0.0030634512659162283,
-0.023226531222462654,
-0.10048120468854904,
-0.07029227912425995,
-0.017907265573740005,
-0.022335344925522804,
0.02185261994600296,
0.04545047879219055,
-0.07526806741952896,
0.033029574900865555,
0.048346832394599915,
-0.02426624670624733,
-0.013636999763548374,
0.0003925047058146447,
0.07192612439393997,
0.02762676030397415,
-0.05176304280757904,
0.03895224630832672,
-0.042145662009716034,
0.0027246149256825447,
-0.03772686794400215,
0.09877309948205948,
-0.0057973493821918964,
0.012597283348441124,
0.014091876335442066,
-0.0025969711132347584,
0.03325236961245537,
-0.012012442573904991,
0.048012636601924896,
-0.02159268967807293,
-0.0240620169788599,
0.009793761186301708,
-0.023059433326125145,
0.04374236986041069,
0.03449631854891777,
0.0014493373455479741,
-0.004855106119066477,
-0.05027773231267929,
0.014110442250967026,
0.031210070475935936,
0.04879242554306984,
0.07407981902360916,
-0.03297387436032295,
0.017081061378121376,
0.001583943609148264,
-0.04493061825633049,
0.031544264405965805,
-0.04793837293982506,
-0.03462628275156021,
-0.009784477762877941,
0.019568955525755882,
-0.034941911697387695,
0.04110594838857651,
-0.06160322204232216,
0.01904909685254097,
0.019921716302633286,
-0.023913485929369926,
-0.009394584223628044,
-0.01391549501568079,
0.07300297170877457,
-0.012411619536578655,
0.08124644309282303,
0.016978947445750237,
0.04701005294919014,
-0.0622716099023819,
0.07768169790506363,
0.06360838562250137,
0.012448752298951149,
-0.015326539985835552,
-0.012393052689731121,
0.06776725500822067,
0.007315150462090969,
-0.03711417689919472,
-0.04377950355410576,
-0.03159996494650841,
0.0741540864109993,
-0.014621017500758171,
-0.03579596430063248,
0.0367799811065197,
0.027162602171301842,
0.0033280220814049244,
-0.025380229577422142,
0.01904909685254097,
0.0368356816470623,
0.026122884824872017,
0.018789168447256088,
-0.03767116740345955,
0.0166076198220253,
0.02961336262524128,
0.01480668131262064,
-0.05915245786309242,
0.0022894656285643578,
-0.03581453114748001,
0.03145143389701843,
-0.07419122010469437,
0.007203752174973488,
-0.01743382215499878,
0.0067628007382154465,
0.02367212437093258,
0.061677485704422,
0.023653557524085045,
0.005597760900855064,
0.014611734077334404,
0.09023256599903107,
-0.02838798239827156,
0.06754446029663086,
-0.029093503952026367,
0.007691119331866503,
0.002882429165765643,
-0.021481292322278023,
0.04474495351314545,
-0.009232128039002419,
0.05491932854056358,
0.0015421692514792085,
0.011678247712552547,
-0.0027408606838434935,
0.005992296617478132,
-0.05707302689552307,
0.020478708669543266,
0.03755977004766464,
0.04749277979135513,
-0.007152694743126631,
0.02142559364438057,
-0.003820030950009823,
0.012393052689731121,
0.00830380991101265,
-0.02690267190337181,
-0.004896880593150854,
0.0006944983615539968,
-0.0049618626944720745,
0.022855203598737717,
0.029966123402118683,
0.007644703611731529,
0.031674228608608246,
0.03241688385605812,
0.007398698944598436,
0.013395637273788452,
0.04730711504817009,
-0.005913389381021261,
0.017183177173137665,
-0.0018914490938186646,
0.01773088425397873,
-0.06984668970108032,
-0.027441097423434258,
0.012931478209793568,
-0.015540053136646748,
0.006869557313621044,
0.024489043280482292,
0.014648866839706898,
-0.06695033609867096,
-0.010434300638735294,
-0.010137238539755344,
0.02940913289785385,
-0.011882477439939976,
-0.019866017624735832,
0.033586565405130386,
0.0505005307495594,
-0.024711839854717255,
0.011752513237297535,
0.030987273901700974,
-0.021666955202817917,
0.02677270770072937,
-0.023783521726727486,
0.01564216800034046,
0.044225096702575684,
0.02359785884618759,
0.0011882478138431907,
0.04132874310016632,
-0.018436407670378685,
-0.05915245786309242,
0.050092071294784546,
0.006150110624730587,
-0.022391043603420258,
0.038543786853551865,
-0.05503072589635849,
0.01766590215265751,
0.005170734599232674,
-0.02987329103052616,
0.025138866156339645,
-0.005644177086651325,
-0.02129562757909298,
0.042071398347616196,
-0.009088238701224327,
-0.08243469148874283,
0.0275710616260767,
-0.027292566373944283,
-0.021741220727562904,
0.0011621387675404549,
0.03397645801305771,
-0.016589052975177765,
-0.08236042410135269,
-0.00873083621263504,
-0.006897407118231058,
0.023449327796697617,
0.030114654451608658,
0.006400756537914276,
0.03470055013895035,
-0.009598813951015472,
-0.02779385820031166,
-0.012727247551083565,
-0.017777301371097565,
0.015345105901360512,
0.05376821011304855,
-0.009120729751884937,
0.004966504406183958,
0.02541736327111721,
-0.009111447259783745,
0.07370849698781967,
-0.04972074180841446,
0.0011795448372140527,
-0.02927916869521141,
-0.02096143364906311,
-0.01594851352274418,
0.004395588301122189,
-0.012235239148139954,
0.018269309774041176,
0.0022743805311620235,
-0.02727399952709675,
-0.04608173295855522,
-0.013052158989012241,
-0.03390219435095787,
-0.019290460273623466,
0.010053690522909164,
-0.02608575113117695,
0.04912661761045456,
0.049497947096824646,
0.027422530576586723,
0.007175902370363474,
-0.029167769476771355,
-0.0040242611430585384,
0.0008221421157941222,
-0.04972074180841446,
-0.038246724754571915,
0.04374236986041069,
0.05473366379737854,
0.0043375687673687935,
0.114071786403656,
-0.006242942530661821,
-0.04689865559339523,
-0.06843564659357071,
0.024674708023667336,
-0.01591137982904911,
-0.0534711517393589,
0.0134884687140584,
-0.015270840376615524,
-0.015864964574575424,
0.034422051161527634,
-0.006540004163980484,
-0.025603026151657104,
0.021629823371767998,
0.023616423830389977,
-0.007022730074822903,
0.04066035524010658,
-0.022391043603420258,
-0.026327114552259445,
-0.053991008549928665,
-0.022168247029185295,
-0.03858092054724693,
0.019717486575245857,
-0.08302881568670273,
0.03585166484117508,
0.0096545135602355,
0.037819698452949524,
-0.050389133393764496,
0.02380208857357502,
0.030096087604761124,
-0.010907743126153946,
0.08718767762184143,
-0.014082592912018299,
0.02439621277153492,
-0.018612787127494812,
-0.006242942530661821,
0.04162580519914627,
0.06858417391777039,
0.006781367119401693,
0.040326159447431564,
0.056107573211193085,
-0.0516887791454792,
0.0047622742131352425,
-0.03529467061161995,
-0.0533597506582737,
-0.040883149951696396,
-0.0032630397472530603,
0.0021374535281211138,
-0.04790123924612999,
-0.0004981009406037629,
0.004086922388523817,
-0.025305964052677155,
-0.04493061825633049,
0.05417667329311371,
0.03147000074386597,
0.04663872346282005,
0.06839851289987564,
0.05595904216170311,
-0.022335344925522804,
0.008842234499752522,
-0.026587044820189476,
-0.08161777257919312,
-0.00835486687719822,
-0.020757203921675682,
-0.010796344839036465,
-0.0175266545265913,
0.06954962760210037,
-0.01736884005367756,
-0.006711743306368589,
-0.026289982721209526,
0.012504450976848602,
-0.06943822652101517,
0.024043451994657516,
0.00018145727517548949,
0.05918959155678749,
-0.00997014157474041,
0.005073260981589556,
-0.08184056729078293,
-0.02779385820031166,
0.04808690398931503,
-0.04786410555243492,
-0.015502920374274254,
-0.06483376771211624,
-0.02940913289785385,
0.024748973548412323,
-0.048903822898864746,
-0.009380659088492393,
-0.019271893426775932,
-0.05495645850896835,
-0.009626663289964199,
-0.05532778799533844,
0.029724759981036186,
0.002200115006417036,
0.06542789191007614,
0.022298213094472885,
-0.026197150349617004,
0.010907743126153946,
0.04192286729812622,
-0.025231698527932167,
-0.003731840755790472,
-0.05317408964037895,
0.040623221546411514,
0.024711839854717255,
-0.002912599593400955,
-0.036000195890665054,
0.008081013336777687,
-0.021518424153327942,
-0.011678247712552547,
0.01885415054857731,
-0.026531344279646873,
0.057221557945013046,
0.018696336075663567,
0.012337354011833668,
-0.0302446186542511,
-0.0600065141916275,
0.052877027541399,
0.051280319690704346,
0.000019182833057129756,
-0.03210125491023064,
-0.03258398175239563,
-0.018705619499087334,
-0.04879242554306984,
0.027088336646556854,
0.012782947160303593,
-0.01300574280321598,
0.01631055772304535,
-0.03314097225666046,
-0.000932960188947618,
0.03839525580406189,
-0.014203274622559547,
-0.04816116765141487,
-0.025398796424269676,
-0.02201971597969532,
-0.0004835959698539227,
-0.01973605342209339,
-0.01904909685254097,
-0.006312566343694925,
0.0001823275670176372,
-0.007909274660050869,
-0.025435928255319595,
0.02868504449725151,
0.011483300477266312,
-0.023152265697717667,
-0.002453081775456667,
-0.013943345285952091,
-0.005481721367686987,
-0.023560725152492523,
0.054288070648908615,
0.021741220727562904,
-0.016978947445750237,
0.008308451622724533,
-0.053731080144643784,
-0.03147000074386597,
0.011065557599067688,
0.016811849549412727,
0.004107809625566006,
-0.07549086958169937,
-0.005653460044413805,
-0.028276583179831505,
0.00868442002683878,
-0.003771294141188264,
0.058112744241952896,
0.01166896428912878,
0.04077175259590149,
0.01877988502383232,
0.015140876173973083,
-0.0009695127373561263,
0.005630251951515675,
0.026921238750219345,
-0.0018763638800010085,
-0.003571705659851432,
-0.0012404656736180186,
-0.02109139785170555,
-0.043928034603595734,
0.010787061415612698,
0.024971770122647285,
-0.05202297121286392,
0.004061393905431032,
0.04701005294919014,
-0.04467068985104561,
0.03258398175239563,
-0.03046741522848606,
-0.02389492094516754,
0.03739267215132713,
0.01943899132311344,
0.06683893501758575,
0.02515743300318718,
0.00940850842744112,
-0.041514407843351364,
0.025491628795862198,
0.002399703487753868,
0.03369796276092529,
0.03106153942644596,
-0.019921716302633286,
-0.0041611879132688046,
0.06724739819765091,
-0.06034070625901222,
0.029669061303138733,
-0.005602402612566948,
0.015799982473254204,
-0.007653986569494009,
0.0006480824085883796,
-0.0445592924952507,
-0.008173844777047634,
0.10508566349744797,
-0.019717486575245857,
0.03499760851264,
0.01977318525314331,
-0.02690267190337181,
0.01644052192568779,
-0.023579291999340057,
-0.047455646097660065,
-0.023319361731410027,
-0.004119413904845715,
-0.027979521080851555,
-0.04600746929645538,
0.04942367970943451,
0.021221362054347992,
0.002082914812490344,
0.02367212437093258,
-0.042702656239271164,
0.015595751814544201,
-0.003850201377645135,
0.018130062147974968,
-0.042108532041311264,
0.03182275965809822,
0.03575883060693741,
-0.0032723229378461838,
0.005361039657145739,
-0.025640159845352173,
0.041514407843351364,
-0.012680831365287304,
-0.005945880431681871,
-0.04474495351314545,
-0.0594123899936676,
-0.0670246034860611,
0.02812805213034153,
0.07879567891359329,
-0.022465309128165245,
-0.0409945473074913,
0.034477751702070236,
0.037578336894512177,
0.041514407843351364,
-0.04051182419061661,
-0.04225706309080124,
-0.002717652590945363,
0.002483252203091979,
-0.04084601625800133,
0.08310307562351227,
0.04541334509849548,
-0.021369893103837967,
-0.009436358697712421,
0.019290460273623466,
0.043630972504615784,
0.018575655296444893,
-0.005509570706635714,
-0.011316203512251377,
-0.03898938000202179,
-0.05499359220266342,
-0.06709886342287064,
-0.017879415303468704,
0.026271415874361992,
0.0456361398100853,
-0.037448372691869736,
0.03449631854891777,
-0.010852044448256493,
-0.04017762839794159,
0.031172938644886017,
-0.05948665365576744,
-0.05469653010368347,
-0.0409945473074913,
-0.02719973400235176,
-0.018065080046653748,
-0.0049108052626252174,
-0.02036730945110321,
-0.002777993446215987,
0.010044407099485397,
0.008322375826537609,
-0.048346832394599915,
-0.006674610543996096,
-0.02426624670624733,
-0.04106881469488144,
-0.012003159150481224,
0.003922145813703537,
-0.0445592924952507,
-0.036334387958049774,
0.04585893824696541,
-0.01862207055091858,
0.04103168100118637,
-0.044187963008880615,
-0.04132874310016632,
-0.06850991398096085,
0.0009468849748373032,
0.01901196502149105,
-0.07430262118577957,
-0.04285118728876114,
-0.019754618406295776,
-0.00609905319288373,
0.02512030117213726,
-0.035610299557447433,
0.004386305343359709,
0.04998067393898964,
0.019123362377285957,
-0.030653079971671104,
-0.006238300818949938,
0.0980304405093193,
0.011167672462761402,
0.025640159845352173,
0.049869272857904434,
-0.041774336248636246,
-0.07006948441267014,
0.014723132364451885,
0.022632407024502754,
0.022223947569727898,
0.036631450057029724,
0.024191981181502342,
0.05031486600637436,
-0.07879567891359329,
0.006229017861187458,
0.03020748682320118,
-0.022688105702400208,
0.03128433600068092,
-0.03436635434627533,
-0.004920088220387697,
0.010183654725551605,
-0.017647335305809975,
0.010601398535072803,
-0.026754140853881836,
0.009756628423929214,
-0.02330079674720764,
-0.05317408964037895,
-0.0021038020495325327,
-0.016579769551753998,
-0.0338650606572628,
0.00034289766335859895,
0.10092679411172867,
-0.018501389771699905,
-0.00927854422479868,
0.03458914905786514,
-0.01881701685488224,
0.002836013212800026,
0.02558445930480957,
0.04671299085021019,
0.045079149305820465,
-0.02066437155008316,
0.006609628442674875,
-0.008786534890532494,
0.0003974363789893687,
0.009000048972666264,
-0.013497752137482166,
0.010452867485582829,
0.006512154825031757,
-0.024544743821024895,
-0.049275148659944534,
0.02185261994600296,
-0.051317449659109116,
-0.009812327101826668,
-0.025101734325289726,
-0.009255336597561836,
-0.0005506089655682445,
-0.04734424874186516,
0.03598162904381752,
0.00770040275529027,
-0.056924495846033096,
0.02558445930480957,
-0.058187007904052734,
0.05711016058921814,
-0.04972074180841446,
-0.0026573119685053825,
-0.024024885147809982,
0.05477079749107361,
-0.04485635459423065,
-0.011149106547236443,
0.05469653010368347,
-0.027775291353464127,
-0.008721552789211273,
-0.02987329103052616,
-0.06980955600738525,
0.056404635310173035,
-0.005221792031079531,
-0.012792229652404785,
0.09513408690690994,
0.04782697185873985,
-0.012476601637899876,
0.04066035524010658,
-0.007008805405348539,
-0.03161853179335594,
-0.05562485009431839,
0.01762877032160759,
0.026252849027514458,
-0.02872217632830143,
0.006600345019251108,
-0.025101734325289726,
-0.044485025107860565,
-0.04036329314112663,
0.055736247450113297,
0.004952579736709595,
0.07805302739143372,
0.016811849549412727,
0.02393205277621746,
0.01894698292016983,
-0.05900392681360245,
0.017647335305809975,
0.015577185899019241,
0.0003266521089244634,
-0.026030052453279495,
0.0594123899936676,
-0.027589628472924232,
-0.0032050199806690216,
-0.020348742604255676,
-0.009222844615578651,
-0.01378553081303835,
0.0005755575257353485,
0.020088814198970795,
-0.002685161540284753,
-0.00898148212581873,
0.04370523989200592,
0.007287300657480955
] |
7,510 | gitignorefile | __init__ | null | def __init__(self, regexp, negation, directory_only):
self.__regexp = re.compile(regexp)
self.__negation = negation
self.__directory_only = directory_only
self.__match = self.__regexp.match
| (self, regexp, negation, directory_only) | [
0.032619886100292206,
-0.019896920770406723,
0.05389973893761635,
0.033311352133750916,
-0.04152250289916992,
-0.03623279184103012,
0.03467699512839317,
-0.0048272935673594475,
-0.03426211699843407,
0.0100348936393857,
0.014045393094420433,
0.09355528652667999,
-0.00198040041141212,
0.04024329409003258,
-0.020242653787136078,
-0.028661245480179787,
0.027070874348282814,
0.044184647500514984,
-0.04342403635382652,
0.010907868854701519,
-0.03768486902117729,
0.09355528652667999,
0.019015301018953323,
0.06703758239746094,
-0.010760932229459286,
0.06309622526168823,
-0.021245278418064117,
-0.0023877169005572796,
0.0021856792736798525,
-0.046017032116651535,
-0.0007514285389333963,
-0.0009750744211487472,
-0.01371694728732109,
0.03222229331731796,
-0.004127184860408306,
-0.05510980263352394,
-0.004269799683243036,
0.05002753064036369,
-0.08836929500102997,
0.011633907444775105,
0.04919777065515518,
0.029024265706539154,
-0.01443434227257967,
0.03529931604862213,
-0.02767590805888176,
0.01666431874036789,
0.0028458128217607737,
-0.033052053302526474,
-0.022801075130701065,
0.013085984624922276,
0.02421857975423336,
0.034002818167209625,
-0.017476791515946388,
-0.027658620849251747,
0.019516615197062492,
0.08836929500102997,
0.0454292856156826,
0.1147141307592392,
0.015990139916539192,
0.00817225780338049,
-0.06731417030096054,
-0.013742877170443535,
-0.05549010634422302,
-0.0286785326898098,
-0.005812631919980049,
0.022247903048992157,
-0.05334656313061714,
-0.020035212859511375,
0.027382034808397293,
0.045636724680662155,
-0.052862539887428284,
-0.01567033678293228,
0.01911902241408825,
-0.013345284387469292,
0.037892311811447144,
0.004146632272750139,
-0.06959600746631622,
0.012939048931002617,
0.023509828373789787,
0.014615852385759354,
-0.018150970339775085,
0.035264741629362106,
0.011694410815834999,
0.014062680304050446,
0.05752993002533913,
-0.02157372422516346,
-0.012316729873418808,
-0.06212817505002022,
0.02586081065237522,
0.008133362978696823,
-0.08456623554229736,
0.0017524329014122486,
-0.0001634127547731623,
0.018565848469734192,
-0.0018464290769770741,
0.03592163324356079,
0.0225763488560915,
0.008219796232879162,
0.010008963756263256,
0.03172098100185394,
-0.009913886897265911,
0.05310455337166786,
-0.06496318429708481,
-0.03403738886117935,
-0.004593924153596163,
0.004006178583949804,
-0.02660413645207882,
-0.016370445489883423,
-0.03376080468297005,
0.021746590733528137,
-0.0038311511743813753,
0.02686343528330326,
0.010553492233157158,
0.069976307451725,
-0.010052179917693138,
-0.0004448608378879726,
-0.08816185593605042,
-0.07239644229412079,
0.004421057645231485,
-0.0261028241366148,
0.012913118116557598,
0.03574876859784126,
-0.05787566304206848,
0.0938318744301796,
0.05182534083724022,
-0.007731448858976364,
-0.0113227479159832,
-0.03253345191478729,
0.06797105818986893,
0.04159165173768997,
0.023233242332935333,
0.05521352216601372,
-0.02760676108300686,
-0.023751839995384216,
-0.02226519025862217,
0.05099558085203171,
-0.0016260243719443679,
0.004611210897564888,
-0.045325566083192825,
0.04266342148184776,
0.007390037644654512,
-0.01930917426943779,
0.020242653787136078,
-0.01987963356077671,
-0.0286093857139349,
0.015497471205890179,
0.0027961137238889933,
0.023734554648399353,
0.013768807053565979,
0.010968372225761414,
-0.019551187753677368,
-0.046397335827350616,
0.06724502146244049,
0.03232601284980774,
0.03668224439024925,
0.033052053302526474,
-0.01484057866036892,
-0.012299442663788795,
-0.012990908697247505,
-0.0054755425080657005,
0.045947883278131485,
-0.022317050024867058,
-0.08442793786525726,
-0.0028004352934658527,
0.04121134430170059,
-0.010769575834274292,
0.04722709581255913,
-0.03768486902117729,
-0.00934342760592699,
-0.00880754180252552,
0.019654907286167145,
-0.03263717144727707,
-0.06275049597024918,
0.06344196200370789,
-0.019827773794531822,
0.07564632594585419,
0.010276906192302704,
0.08574172109365463,
-0.018704142421483994,
0.043942634016275406,
0.0675216093659401,
0.046777643263339996,
-0.035126447677612305,
0.04919777065515518,
0.06188616529107094,
-0.03163454681634903,
-0.015134451910853386,
0.01232537254691124,
0.02402842603623867,
0.041107624769210815,
-0.01868685521185398,
-0.04435751214623451,
0.022662783041596413,
0.014952941797673702,
-0.0033147127833217382,
-0.0026772681158035994,
-0.022489916533231735,
0.015229527838528156,
0.022973941639065742,
0.06634611636400223,
-0.06461745500564575,
0.0030359658412635326,
0.007390037644654512,
-0.03182470053434372,
-0.023630833253264427,
0.0005272424314171076,
-0.025082912296056747,
0.03415839746594429,
-0.04930149018764496,
-0.017718803137540817,
-0.021055124700069427,
-0.020017927512526512,
0.039102375507354736,
0.04905948042869568,
0.023976566269993782,
-0.02667328156530857,
0.031427107751369476,
0.045636724680662155,
-0.016776682808995247,
0.048644598573446274,
0.047469109296798706,
0.022126896306872368,
-0.04017414525151253,
-0.00827165599912405,
0.010648569092154503,
0.00037166272522881627,
0.01767558790743351,
0.03637108579277992,
-0.03937895968556404,
-0.01586049050092697,
0.004507490899413824,
-0.06686471402645111,
0.03535117581486702,
0.018064536154270172,
0.007018375210464001,
-0.05528266727924347,
0.03358793631196022,
0.03490172326564789,
0.012308086268603802,
-0.030044177547097206,
-0.024235866963863373,
-0.009896600618958473,
0.005782380234450102,
0.009256994351744652,
0.037961456924676895,
0.032118573784828186,
-0.04238683730363846,
0.03509187325835228,
0.04090018570423126,
0.013708303682506084,
-0.004745182115584612,
0.0019533901941031218,
-0.02114155888557434,
0.009075485169887543,
-0.012532812543213367,
0.031427107751369476,
-0.04276714101433754,
0.005976855289191008,
0.03644023463129997,
-0.0032326013315469027,
0.06178244575858116,
0.03592163324356079,
-0.011616621166467667,
-0.05483321473002434,
-0.006681285798549652,
0.0010982417734339833,
0.06067609786987305,
-0.025497790426015854,
-0.008371054194867611,
0.002433094196021557,
0.019793201237916946,
-0.0035588867031037807,
-0.0025584225077182055,
0.040658172219991684,
-0.08525770157575607,
-0.0126797491684556,
-0.008837793953716755,
-0.020035212859511375,
0.022368909791111946,
-0.02810807339847088,
0.016197578981518745,
0.03372623026371002,
-0.005734842270612717,
-0.02283564954996109,
0.02660413645207882,
0.0015903706662356853,
-0.00742028933018446,
0.06461745500564575,
-0.07772072404623032,
0.005389109253883362,
-0.02767590805888176,
-0.01868685521185398,
0.04536013677716255,
0.02395928092300892,
-0.005432325880974531,
0.02791791968047619,
-0.015022088773548603,
-0.04117676988244057,
-0.00877729058265686,
-0.04235226288437843,
-0.00861306767910719,
-0.05082271620631218,
0.032049428671598434,
0.02567065693438053,
-0.1214904934167862,
0.005047698505222797,
-0.04155707731842995,
0.036267366260290146,
0.06119469925761223,
0.039102375507354736,
0.047469109296798706,
0.03170369565486908,
-0.04415007308125496,
0.02352711372077465,
-0.02641398273408413,
0.034849863499403,
0.015428324230015278,
-0.02817722037434578,
0.004222261253744364,
0.039724692702293396,
0.03547218069434166,
0.006538670975714922,
-0.01554068736732006,
0.002372591057792306,
-0.006080574821680784,
-0.010043536312878132,
-0.005384787917137146,
0.002804757095873356,
-0.004187688231468201,
0.031478967517614365,
-0.0032909438014030457,
-0.020830398425459862,
-0.0009766950970515609,
0.006888725329190493,
0.008284620940685272,
-0.004801363684237003,
-0.02905883826315403,
-0.03640566021203995,
-0.021988604217767715,
0.016465522348880768,
0.047641973942518234,
0.007778987288475037,
-0.08304500579833984,
-0.014235546812415123,
0.009697804227471352,
-0.0505807027220726,
-0.003271496156230569,
-0.01666431874036789,
0.03702797740697861,
-0.0673833116889,
0.07730584591627121,
-0.01854856312274933,
-0.04335488751530647,
-0.03483257442712784,
0.020035212859511375,
-0.007182598114013672,
-0.009049555286765099,
0.029784876853227615,
-0.004086128901690245,
-0.03421025723218918,
0.029024265706539154,
0.048713747411966324,
-0.04684678837656975,
-0.05950060859322548,
-0.014045393094420433,
-0.06316537410020828,
0.03561047464609146,
-0.0028544561937451363,
-0.004079646430909634,
-0.03706255182623863,
0.04591330885887146,
-0.014425699599087238,
-0.022230615839362144,
-0.10613995790481567,
0.009421217255294323,
-0.008945834822952747,
0.024322299286723137,
-0.02269735559821129,
-0.01785709708929062,
0.007433254271745682,
-0.02836737222969532,
0.07453998178243637,
0.024166719987988472,
0.009455790743231773,
-0.03740828484296799,
0.012247582897543907,
0.010147256776690483,
0.09127344936132431,
0.0435277558863163,
0.06247390806674957,
-0.020346373319625854,
-0.01091651152819395,
0.020968692377209663,
-0.033173058182001114,
-0.005151418037712574,
-0.007048626430332661,
0.013319354504346848,
0.0252212043851614,
-0.0646865963935852,
0.010112683288753033,
0.029456431046128273,
-0.014538062736392021,
-0.07260388135910034,
0.030424483120441437,
0.02307766117155552,
0.005112523213028908,
0.08387476950883865,
0.04235226288437843,
-0.022317050024867058,
-0.0059811766259372234,
0.020104359835386276,
-0.061678722500801086,
0.007221492938697338,
-0.045567579567432404,
-0.028401946648955345,
-0.04473781958222389,
0.03455599024891853,
-0.003645319724455476,
0.011383251287043095,
0.002968979999423027,
-0.020968692377209663,
-0.032481592148542404,
0.018479416146874428,
0.03709712624549866,
0.04307830333709717,
0.03517830744385719,
0.0322050079703331,
-0.08525770157575607,
0.018721429631114006,
0.004516134038567543,
-0.07910365611314774,
0.0286785326898098,
-0.07958768308162689,
-0.017450861632823944,
0.05936231464147568,
-0.03930981457233429,
-0.020985977724194527,
-0.02674242854118347,
-0.05282796546816826,
0.019361034035682678,
-0.01610250398516655,
-0.008366732858121395,
0.03668224439024925,
0.06824764609336853,
-0.004414575174450874,
-0.03191113471984863,
0.029145272448658943,
0.018894296139478683,
-0.005458255764096975,
-0.021815737709403038,
-0.012498239055275917,
0.024374159052968025,
-0.00493965670466423,
-0.009637300856411457,
0.008090146817266941,
0.0050909146666526794,
-0.018254689872264862,
0.02050195261836052,
0.004866188392043114,
-0.03310391306877136,
-0.0025411357637494802,
0.051168449223041534,
0.014952941797673702,
-0.00331687368452549,
-0.09127344936132431,
0.04961265251040459,
0.05697675794363022,
0.029352711513638496,
-0.017839809879660606,
-0.05272424593567848,
-0.054936934262514114,
-0.0035956206265836954,
-0.028073500841856003,
-0.013155131600797176,
-0.02200588956475258,
0.023371534422039986,
-0.037131696939468384,
-0.03820347040891647,
-0.016638388857245445,
-0.04169537127017975,
-0.03668224439024925,
-0.030545489862561226,
-0.0016659997636452317,
0.008137685246765614,
-0.019862346351146698,
-0.020017927512526512,
-0.0026059607043862343,
-0.02791791968047619,
-0.011340034194290638,
-0.03310391306877136,
-0.002221333095803857,
0.029854023829102516,
-0.0450144037604332,
0.00930885411798954,
-0.022282475605607033,
0.039413534104824066,
-0.057771943509578705,
0.06188616529107094,
0.015497471205890179,
-0.033553365617990494,
0.0031288815662264824,
-0.018894296139478683,
-0.03037262335419655,
-0.0044340225867927074,
0.0038873327430337667,
0.010985658504068851,
-0.02641398273408413,
-0.03889493644237518,
-0.028038926422595978,
0.004349750466644764,
0.007221492938697338,
0.012982265092432499,
-0.06050323322415352,
0.024996478110551834,
0.017520006746053696,
0.0251520574092865,
-0.004006178583949804,
-0.009533580392599106,
-0.04570586979389191,
0.01660381630063057,
-0.033294063061475754,
0.01804725080728531,
-0.03775401785969734,
-0.08670977503061295,
0.015774056315422058,
0.003020839998498559,
-0.059535183012485504,
0.015238171443343163,
0.06786733865737915,
-0.021660156548023224,
0.05825597047805786,
-0.054694920778274536,
-0.021487291902303696,
0.043493181467056274,
0.014097252860665321,
0.029421858489513397,
0.04342403635382652,
-0.02100326493382454,
-0.008911262266337872,
0.036129072308540344,
0.016569241881370544,
0.06492861360311508,
0.032550740987062454,
-0.029594724997878075,
-0.036889687180519104,
0.02729560062289238,
-0.048644598573446274,
0.00044783196062780917,
-0.0035826556850224733,
0.025808950886130333,
0.016889045014977455,
-0.04428836703300476,
-0.09106601029634476,
0.02548050507903099,
0.036578524857759476,
0.0040472340770065784,
-0.0014347909018397331,
0.005907708313316107,
-0.011910493485629559,
0.0013407948426902294,
-0.007679589092731476,
-0.03844548389315605,
-0.025947242975234985,
0.02691529504954815,
-0.04453038051724434,
-0.0641334280371666,
0.02050195261836052,
0.0016822059405967593,
-0.006940585095435381,
0.045325566083192825,
0.02617196924984455,
0.004727895371615887,
0.006676963996142149,
0.048713747411966324,
-0.05801395699381828,
0.008297585882246494,
-0.0027615404687821865,
0.054003458470106125,
0.006923298351466656,
-0.01785709708929062,
0.035385746508836746,
-0.01854856312274933,
-0.0574953593313694,
-0.050096675753593445,
-0.07232729345560074,
-0.04453038051724434,
0.002312087919563055,
0.05486778914928436,
-0.0541071780025959,
-0.04342403635382652,
0.060918111354112625,
0.021902170032262802,
0.027900634333491325,
-0.01880786195397377,
-0.08415135741233826,
-0.014520775526762009,
0.01534189097583294,
-0.022317050024867058,
0.03951725363731384,
0.014883795753121376,
-0.03820347040891647,
0.05421089753508568,
-0.01380338054150343,
0.008751360699534416,
0.011521544307470322,
0.015333248302340508,
0.01446891576051712,
0.0018129361560568213,
-0.04674306884407997,
-0.035506755113601685,
0.005959568545222282,
0.02093411795794964,
0.02760676108300686,
-0.016119789332151413,
0.01157340407371521,
0.016526026651263237,
-0.03841090947389603,
0.035887058824300766,
-0.019343748688697815,
-0.0034702925477176905,
-0.04269799590110779,
0.02307766117155552,
-0.011677123606204987,
0.02328510209918022,
-0.010294192470610142,
-0.023492541164159775,
-0.000002523781631680322,
-0.002115452429279685,
0.015169024467468262,
-0.019188167527318,
0.001866956939920783,
-0.04314744845032692,
-0.022559061646461487,
-0.023060375824570656,
-0.01743357442319393,
-0.02477175183594227,
-0.018064536154270172,
-0.02617196924984455,
0.029854023829102516,
0.003453006036579609,
-0.032170433551073074,
-0.0839439108967781,
0.020968692377209663,
0.01418368611484766,
-0.07149753719568253,
-0.039102375507354736,
-0.04024329409003258,
-0.003200188744813204,
0.02760676108300686,
-0.02553236484527588,
0.017191560938954353,
0.06503233313560486,
0.027969779446721077,
-0.010069466196000576,
-0.05134131386876106,
0.02390742115676403,
-0.015169024467468262,
0.030165182426571846,
0.055628400295972824,
-0.0013245886657387018,
-0.08809270709753036,
0.012048786506056786,
0.06309622526168823,
-0.0031159163918346167,
0.054245468229055405,
0.016197578981518745,
0.073226198554039,
-0.04667392373085022,
-0.040485307574272156,
0.04221396893262863,
-0.0006785005680285394,
0.037269990891218185,
0.0006212385487742722,
0.027261028066277504,
-0.015704911202192307,
-0.012601959519088268,
0.019862346351146698,
-0.008401306346058846,
0.05466035008430481,
0.04930149018764496,
-0.0349881537258625,
0.030113322660326958,
0.02038094587624073,
-0.08788526803255081,
0.002798274625092745,
0.08684807270765305,
-0.05818682163953781,
0.03360522538423538,
0.07014917582273483,
-0.020208079367876053,
-0.02693258225917816,
0.008859401568770409,
0.02252448908984661,
-0.030597349628806114,
-0.015756770968437195,
0.06810935586690903,
0.011919137090444565,
-0.014114540070295334,
0.03592163324356079,
-0.010700428858399391,
0.00605464493855834,
0.025999102741479874,
-0.041660796850919724,
-0.0017135379603132606,
-0.011677123606204987,
-0.057910237461328506,
-0.013604584150016308,
0.011495614424347878,
-0.000168679776834324,
-0.029300851747393608,
0.004235226195305586,
0.0380997508764267,
-0.0002043334679910913,
-0.050096675753593445,
0.026707855984568596,
-0.01311191450804472,
0.06565465033054352,
0.002891190117225051,
0.0287476796656847,
-0.04020871967077255,
0.06714130192995071,
-0.05780651792883873,
0.038964081555604935,
0.04121134430170059,
0.01509123481810093,
0.02145271748304367,
-0.07592291384935379,
-0.037269990891218185,
0.06479031592607498,
-0.029214417561888695,
-0.03616364672780037,
0.08892246335744858,
0.0050909146666526794,
-0.04587873816490173,
-0.012472309172153473,
-0.04128049314022064,
-0.04580958932638168,
-0.0726730227470398,
0.031617261469364166,
0.06136756390333176,
-0.045636724680662155,
0.01634451560676098,
0.002640533959493041,
-0.011815416626632214,
-0.04805685207247734,
0.045152697712183,
0.001435871352441609,
0.040277864784002304,
-0.022731928154826164,
0.0347115695476532,
-0.03222229331731796,
-0.0555938296020031,
-0.013639157637953758,
0.023181380704045296,
-0.016439592465758324,
-0.0029344067443162203,
0.03958640247583389,
-0.009602727368474007,
0.013734233565628529,
0.004498847760260105,
-0.020467380061745644,
-0.028384659439325333,
0.02045009285211563,
-0.00022999331122264266,
-0.0004737619310617447,
0.0200006403028965,
0.03151354193687439,
-0.007679589092731476
] |
7,511 | gitignorefile | match | null | def match(self, rel_path, is_dir):
m = self.__match(rel_path)
# If we need a directory, check there is something after slash and if there is not, target must be a directory.
# If there is something after slash then it's a directory irrelevant to type of target.
# `self.directory_only` implies we have group number 1.
# N.B. Question mark inside a group without a name can shift indices. :(
return m and (not self.__directory_only or m.group(1) is not None or is_dir)
| (self, rel_path, is_dir) | [
0.04488219693303108,
0.04029324650764465,
-0.01904601976275444,
0.01564161479473114,
0.01981084607541561,
-0.004416401032358408,
0.08931669592857361,
0.004316133912652731,
-0.060216017067432404,
-0.00439774664118886,
0.06958046555519104,
0.04551644250750542,
0.0661107674241066,
0.023653626441955566,
0.003509336384013295,
-0.04283022880554199,
0.02197474241256714,
0.05238121747970581,
0.004882758017629385,
0.04171096906065941,
-0.017805511131882668,
0.08245191723108292,
0.01913929171860218,
0.007228533737361431,
-0.02895144373178482,
0.028205271810293198,
0.03880090266466141,
-0.006860111374408007,
-0.014792844653129578,
0.04652377590537071,
-0.013822821900248528,
-0.00532113341614604,
0.029231257736682892,
0.03449176251888275,
-0.001285979407839477,
0.005694218911230564,
-0.023672280833125114,
0.05088887736201286,
-0.06446919590234756,
-0.06674501299858093,
-0.04973231256008148,
0.06390956044197083,
0.011435073800384998,
0.02029585652053356,
-0.024064021185040474,
-0.007349786348640919,
-0.029865503311157227,
-0.014494375325739384,
-0.00967224407941103,
0.021900124847888947,
0.04988154396414757,
0.0064870258793234825,
-0.028130654245615005,
-0.03188016638159752,
0.04200943931937218,
0.036767587065696716,
-0.022795530036091805,
0.05782826989889145,
-0.0257615614682436,
-0.02497808076441288,
-0.013477717526257038,
0.0189434215426445,
-0.030947450548410416,
-0.03518197312951088,
-0.02342977561056614,
-0.04365101456642151,
-0.03255172073841095,
-0.053127389401197433,
-0.017954744398593903,
0.03973361849784851,
-0.12319286912679672,
0.048650361597537994,
0.039808232337236404,
-0.008422407321631908,
-0.00874885730445385,
0.03359635919332504,
0.03458503633737564,
0.02255302481353283,
0.0671181008219719,
-0.008483033627271652,
-0.07234130054712296,
0.011509690433740616,
-0.004302143584936857,
-0.06144719943404198,
-0.04230790585279465,
0.047568414360284805,
-0.014503702521324158,
-0.04156173765659332,
0.005675564985722303,
-0.0846158117055893,
-0.03684220463037491,
-0.01539910864084959,
0.028354505077004433,
-0.018710242584347725,
0.0006476533017121255,
0.06491689383983612,
0.01981084607541561,
-0.008916745893657207,
-0.030089354142546654,
0.012218553572893143,
-0.05103811249136925,
0.014867461286485195,
0.01171488780528307,
0.036692969501018524,
0.01151901762932539,
0.027272557839751244,
-0.057007480412721634,
0.005190553609281778,
-0.05920868366956711,
-0.01886880397796631,
-0.051075417548418045,
-0.0330553837120533,
0.008240528404712677,
0.026974089443683624,
-0.013403099961578846,
-0.009597627446055412,
-0.0017161937430500984,
-0.07849720865488052,
-0.03421194851398468,
0.012274516746401787,
0.060290634632110596,
0.054955508559942245,
0.012656928971409798,
-0.0009880939032882452,
0.05905945226550102,
-0.0027864831499755383,
0.00067738356301561,
-0.028895480558276176,
-0.02758968062698841,
0.04809073358774185,
-0.054470498114824295,
0.040367864072322845,
-0.05118734389543533,
0.023317851126194,
-0.030145317316055298,
0.10446397215127945,
-0.050291940569877625,
0.021638965234160423,
-0.04234521463513374,
0.02068759687244892,
0.034827541559934616,
0.018253212794661522,
0.02479153871536255,
-0.04204674810171127,
-0.0563732348382473,
0.025892140343785286,
-0.01720857433974743,
0.08327271044254303,
0.03380155563354492,
0.020277202129364014,
-0.015566997230052948,
-0.10797097533941269,
0.04685955122113228,
0.06043986976146698,
-0.005773499608039856,
0.035424478352069855,
-0.015427089296281338,
0.02661965787410736,
0.04782957583665848,
-0.013589642941951752,
0.011145932599902153,
-0.0855112224817276,
-0.05182158946990967,
-0.008245191536843777,
0.033185966312885284,
-0.021732237190008163,
-0.010623612441122532,
-0.027626989409327507,
-0.016471728682518005,
0.05014270544052124,
0.04450911283493042,
0.0330180749297142,
0.01787080056965351,
-0.016770197078585625,
-0.05458242446184158,
0.026358498260378838,
0.03773760795593262,
0.003544313134625554,
-0.030872832983732224,
0.047269947826862335,
0.0582759715616703,
-0.01739511638879776,
-0.0038264591712504625,
0.0030359840020537376,
0.015912100672721863,
0.07946723699569702,
-0.03820396587252617,
-0.0218814704567194,
0.018439756706357002,
0.059134069830179214,
-0.038427818566560745,
-0.010632939636707306,
-0.004658906254917383,
-0.03770029917359352,
-0.056895554065704346,
0.016098644584417343,
0.02682485431432724,
-0.0009053155081346631,
0.04540451988577843,
0.026209263131022453,
0.01769358478486538,
-0.025425784289836884,
0.004341783933341503,
0.053500477224588394,
-0.016070662066340446,
0.009019344113767147,
0.006897420156747103,
0.06764042377471924,
-0.002970694098621607,
-0.0050879549235105515,
-0.04588953033089638,
-0.055627062916755676,
0.018831495195627213,
0.03370828554034233,
0.006538324989378452,
0.019475068897008896,
-0.029809540137648582,
0.042531758546829224,
-0.018020033836364746,
0.02391478791832924,
0.004418732598423958,
0.03973361849784851,
0.07554983347654343,
-0.007317141629755497,
-0.017432425171136856,
-0.052045442163944244,
0.022795530036091805,
0.04850113019347191,
-0.05697017163038254,
-0.015081985853612423,
0.009849459864199162,
-0.03626392036676407,
0.06756580621004105,
0.05484358221292496,
-0.015874791890382767,
0.01014792826026678,
0.05316469818353653,
0.04995616152882576,
-0.001237011980265379,
0.03359635919332504,
0.008711548522114754,
0.01652769185602665,
0.0143264876678586,
-0.027925457805395126,
-0.03742048516869545,
-0.019773537293076515,
0.01836513914167881,
-0.041151341050863266,
0.011584307998418808,
-0.00573152769356966,
-0.0476057231426239,
0.0417855866253376,
-0.034454453736543655,
-0.04365101456642151,
0.006589624565094709,
-0.015874791890382767,
-0.03701009228825569,
0.011192568577826023,
0.003784487023949623,
-0.006617605686187744,
0.009793496690690517,
0.02839181385934353,
0.026470422744750977,
-0.011043333448469639,
-0.026880817487835884,
-0.018495718017220497,
0.041934821754693985,
-0.006216539070010185,
-0.010922080837190151,
-0.012405096553266048,
0.10140466690063477,
-0.027869494631886482,
0.005698882509022951,
0.019549686461687088,
0.01652769185602665,
-0.003989684395492077,
0.0038148004096001387,
-0.03184285759925842,
0.01670490764081478,
0.014317160472273827,
-0.03820396587252617,
-0.0008161247824318707,
-0.009075307287275791,
-0.022720912471413612,
-0.0033064712770283222,
0.03723394498229027,
-0.008566978387534618,
0.05790288746356964,
-0.013216557912528515,
0.04745648801326752,
0.0037145335227251053,
-0.023280542343854904,
-0.02020258456468582,
0.010306489653885365,
-0.04749379679560661,
0.0709235742688179,
0.022814184427261353,
-0.06002947315573692,
-0.03607737645506859,
-0.025425784289836884,
-0.05588822439312935,
0.00014865129196550697,
0.004330124706029892,
0.021247224882245064,
-0.05614938214421272,
-0.005820135585963726,
0.00976551603525877,
0.011621616780757904,
-0.0010347296483814716,
0.013813494704663754,
0.023634973913431168,
-0.003336784429848194,
-0.06301415711641312,
0.005605611018836498,
-0.02001604251563549,
0.01477419026196003,
0.02952972613275051,
0.005055309738963842,
-0.05480627715587616,
0.04838920384645462,
-0.048351895064115524,
0.10640401393175125,
-0.02943645417690277,
0.016499711200594902,
-0.039808232337236404,
-0.019661610946059227,
-0.017805511131882668,
-0.011733542196452618,
0.006127931177616119,
0.05323931574821472,
0.009700225666165352,
-0.001703368965536356,
0.02945510856807232,
0.01219057198613882,
0.021228570491075516,
-0.012517021968960762,
-0.032421138137578964,
-0.0903613343834877,
0.044546421617269516,
0.020239893347024918,
0.00844572577625513,
-0.007960714399814606,
0.0011414088075980544,
-0.05129927024245262,
0.03839050978422165,
-0.014447740279138088,
-0.008147256448864937,
0.07502751797437668,
0.07174436002969742,
-0.03684220463037491,
0.0320667065680027,
-0.008734866976737976,
-0.012796835973858833,
-0.06006678193807602,
-0.036282576620578766,
0.024231910705566406,
-0.04794149845838547,
0.05182158946990967,
-0.018057342618703842,
0.0495830774307251,
0.05167235806584358,
0.02585483156144619,
-0.004689219873398542,
0.0016753874951973557,
-0.002835450693964958,
-0.007256514858454466,
-0.04342716559767723,
-0.03340981528162956,
0.03223459795117378,
-0.0011449065059423447,
0.03079821728169918,
-0.0359654538333416,
-0.009000690653920174,
-0.043016768991947174,
0.022198593243956566,
0.01826254092156887,
-0.006645587272942066,
-0.07569906860589981,
0.03313000127673149,
0.0011903762351721525,
0.017040684819221497,
0.07782565802335739,
0.009560318663716316,
0.040778256952762604,
0.016210569068789482,
-0.0257615614682436,
0.06730464100837708,
-0.012302497401833534,
-0.04749379679560661,
-0.013011360540986061,
0.04491950571537018,
0.0001955784682650119,
0.007629600819200277,
-0.02244109846651554,
-0.09506221115589142,
-0.0680881217122078,
0.025388475507497787,
0.004145913757383823,
-0.02936183661222458,
0.013645606115460396,
0.03585352748632431,
0.008394425734877586,
-0.03141380846500397,
0.07114742696285248,
0.022123975679278374,
0.04812804237008095,
0.05999216437339783,
0.05674631893634796,
-0.08245191723108292,
-0.00016628541925456375,
-0.02897009626030922,
-0.04357639700174332,
-0.03646911680698395,
0.017339153215289116,
-0.07219206541776657,
0.032197289168834686,
0.05697017163038254,
-0.012470385991036892,
0.04103941470384598,
0.01836513914167881,
0.019475068897008896,
-0.033185966312885284,
-0.00012103421613574028,
0.0064776986837387085,
0.04529259353876114,
-0.02544443868100643,
0.022012051194906235,
-0.03070494532585144,
0.029119331389665604,
0.0055403211154043674,
-0.04499412328004837,
0.027944112196564674,
-0.0075223385356366634,
0.014895442873239517,
0.01539910864084959,
-0.029604341834783554,
-0.05189620703458786,
0.03553640469908714,
-0.06066371873021126,
-0.06211875379085541,
-0.044359877705574036,
-0.012013356201350689,
-0.05391087010502815,
0.002509000711143017,
-0.013487044721841812,
-0.03469696268439293,
0.04988154396414757,
0.0002223939955001697,
0.009495028294622898,
0.02206801436841488,
-0.055627062916755676,
0.04491950571537018,
-0.00003723569170688279,
0.03370828554034233,
-0.05286623165011406,
-0.029380491003394127,
0.03548043966293335,
0.008039995096623898,
0.00007042719516903162,
-0.03684220463037491,
0.01622922345995903,
0.005489022005349398,
0.0027608333621174097,
-0.020389128476381302,
-0.019400451332330704,
0.02391478791832924,
0.06256645917892456,
-0.017329826951026917,
0.019680265337228775,
-0.030163971707224846,
0.029175294563174248,
-0.02546309307217598,
0.03876359388232231,
0.04256906732916832,
0.030275896191596985,
0.014503702521324158,
-0.0075409929268062115,
0.022683605551719666,
-0.032999422401189804,
-0.006570970173925161,
-0.03391348198056221,
-0.016257205978035927,
0.00807263981550932,
-0.008035331033170223,
-0.0408155657351017,
-0.0534631684422493,
-0.020463746041059494,
0.04700878635048866,
-0.03751375898718834,
-0.056820936501026154,
0.06450650095939636,
0.007718208245933056,
-0.00578282680362463,
0.015902774408459663,
0.0013815825805068016,
-0.009625609032809734,
-0.006272501777857542,
0.06737925857305527,
-0.012927415780723095,
0.026358498260378838,
-0.002581286011263728,
-0.011873449198901653,
-0.048538438975811005,
0.0349954292178154,
-0.0008301154593937099,
0.004740518983453512,
-0.04909806698560715,
-0.0640961080789566,
-0.05122465267777443,
0.028932789340615273,
0.007382431533187628,
0.034752923995256424,
-0.026078684255480766,
0.019120637327432632,
0.04596414789557457,
0.04633723199367523,
0.02982819452881813,
-0.027533717453479767,
0.012750200927257538,
-0.0340067520737648,
0.0028237916994839907,
0.00037483443156816065,
-0.03258902579545975,
-0.03749510273337364,
-0.0005296066519804299,
-0.009434401988983154,
-0.04540451988577843,
0.026582349091768265,
0.05182158946990967,
-0.04596414789557457,
0.0051252637058496475,
0.011341802775859833,
-0.024735575541853905,
0.009560318663716316,
0.0642080307006836,
0.050776951014995575,
-0.02148973010480404,
0.04439718648791313,
-0.04219598323106766,
0.01161228958517313,
-0.022515716031193733,
-0.03876359388232231,
-0.009849459864199162,
-0.027086015790700912,
0.008613613434135914,
0.04559106007218361,
0.021265879273414612,
-0.04700878635048866,
0.10446397215127945,
0.020445091649889946,
-0.04294215142726898,
0.01631316728889942,
-0.032700952142477036,
0.054470498114824295,
0.053985487669706345,
0.06178297474980354,
0.02663831226527691,
-0.013132613152265549,
-0.020762214437127113,
-0.016835488379001617,
-0.0020356483291834593,
-0.04200943931937218,
-0.020183932036161423,
0.03492081165313721,
-0.0017535022925585508,
-0.046225305646657944,
0.06211875379085541,
-0.03378290310502052,
0.0680135041475296,
0.02652638591825962,
-0.042531758546829224,
0.0008790829451754689,
-0.04995616152882576,
0.015408435836434364,
0.04059171304106712,
0.014792844653129578,
-0.006981364451348782,
-0.007694890722632408,
0.03335385397076607,
-0.03217863291501999,
0.012815490365028381,
-0.031022068113088608,
0.104911670088768,
0.0022373476531356573,
-0.05849982425570488,
-0.0437629409134388,
-0.008608950302004814,
0.06719271838665009,
-0.040666330605745316,
-0.04976962134242058,
-0.011752196587622166,
0.008576305583119392,
0.02906336821615696,
-0.05122465267777443,
-0.016173260286450386,
-0.03516331687569618,
-0.014363795518875122,
-0.031059376895427704,
0.08051187545061111,
0.04939653351902962,
0.011770850978791714,
-0.024772884324193,
-0.00865092221647501,
-0.033465780317783356,
-0.01350569911301136,
-0.02380286157131195,
0.005796817597001791,
0.02615329995751381,
-0.04227060079574585,
-0.024119984358549118,
-0.004029324743896723,
0.00030604677158407867,
0.04167366027832031,
-0.005325797013938427,
0.030387822538614273,
0.00307096098549664,
-0.05794019252061844,
0.03555505722761154,
-0.038912829011678696,
-0.04644915834069252,
-0.029473762959241867,
-0.011985374614596367,
0.0306116733700037,
-0.03408136963844299,
-0.012628947384655476,
0.0427556112408638,
0.030686290934681892,
0.0051066093146800995,
0.0031479098834097385,
-0.013617624528706074,
0.0123864421620965,
-0.015277855098247528,
0.007956050336360931,
-0.023168615996837616,
-0.016369130462408066,
-0.09021209925413132,
0.021900124847888947,
-0.010604958049952984,
0.044173333793878555,
-0.028111999854445457,
-0.05779096111655235,
-0.015790848061442375,
-0.037383176386356354,
-0.01631316728889942,
-0.02564963512122631,
-0.00675284955650568,
0.016285186633467674,
-0.011071315035223961,
0.037849534302949905,
-0.024810193106532097,
-0.015147275291383266,
0.02117260731756687,
-0.006081295199692249,
-0.037662990391254425,
0.027944112196564674,
0.03615199401974678,
0.0011454893974587321,
0.009541664272546768,
-0.018728896975517273,
0.024437107145786285,
-0.02913798578083515,
-0.01953103207051754,
0.03812934830784798,
-0.05021732300519943,
0.0014165594475343823,
0.0023679276928305626,
0.027365829795598984,
-0.08968977630138397,
0.011509690433740616,
0.011117951013147831,
-0.0748409703373909,
0.021918779239058495,
-0.03432387486100197,
-0.03411867842078209,
0.014541011303663254,
0.03723394498229027,
0.019568340852856636,
-0.02061297930777073,
-0.0069440556690096855,
-0.006832130253314972,
-0.06719271838665009,
0.06536459922790527,
-0.02400805801153183,
0.05626130849123001,
0.061074111610651016,
0.07107280939817429,
-0.03189881891012192,
0.018029361963272095,
0.019698919728398323,
-0.04122595861554146,
-0.0085016880184412,
-0.01964295655488968,
0.03465965390205383,
-0.012059992179274559,
-0.019456414505839348,
0.012125282548367977,
0.011052660644054413,
0.0640961080789566,
-0.021694928407669067,
-0.017749547958374023,
0.013085977174341679,
-0.009201223962008953,
0.033185966312885284,
-0.05103811249136925,
0.04809073358774185,
-0.04450911283493042,
-0.029231257736682892,
0.020762214437127113,
-0.04021862894296646,
0.014746208675205708,
-0.060701027512550354,
0.007942060008645058,
0.007027999963611364,
-0.017423097044229507,
0.013123285956680775,
-0.06286492198705673,
0.025724252685904503,
-0.00507396413013339,
0.04462103918194771,
-0.04249444976449013,
0.028895480558276176,
-0.0758483037352562,
-0.00839908979833126,
0.0030546383932232857,
-0.02934318222105503,
-0.07730333507061005,
0.013403099961578846,
0.004803477320820093,
0.044732965528964996,
0.01122054923325777,
-0.05547782778739929,
0.04200943931937218,
0.023541701957583427,
-0.006986028049141169,
-0.03380155563354492,
-0.006258510984480381,
-0.02613464742898941,
-0.010567650198936462,
-0.008772174827754498,
-0.0015844479203224182,
-0.02167627401649952,
0.04055440425872803,
-0.010912753641605377,
-0.09364448487758636,
-0.01770291104912758,
0.02583617903292179,
0.004264834802597761,
0.016966067254543304,
-0.001979685388505459,
-0.013785513117909431,
0.047643031924963,
-0.06786426901817322,
0.019512377679347992,
0.0015692913439124823,
0.009028671309351921,
-0.007946723140776157,
0.004836122039705515,
-0.03587218001484871,
0.0310966856777668,
-0.0446956567466259,
-0.0017465070122852921,
-0.008888764306902885,
-0.0012253529857844114,
-0.012517021968960762,
0.003572294721379876,
0.015884120017290115,
-0.018990056589245796,
0.010287835262715816
] |
7,512 | gitignorefile | _IgnoreRules | null | class _IgnoreRules:
def __init__(self, rules, base_path):
self.__rules = rules
self.__can_return_immediately = not any((r.negation for r in rules))
self.__base_path = _Path(base_path) if isinstance(base_path, str) else base_path
def match(self, path, is_dir=None):
if isinstance(path, str):
path = _Path(path)
rel_path = path.relpath(self.__base_path)
if rel_path is not None:
if is_dir is None:
is_dir = path.isdir() # TODO Pass callable here.
if self.__can_return_immediately:
return any((r.match(rel_path, is_dir) for r in self.__rules))
else:
matched = False
for rule in self.__rules:
if rule.match(rel_path, is_dir):
matched = not rule.negation
else:
return matched
else:
return False
| (rules, base_path) | [
0.020354442298412323,
-0.0025228646118193865,
0.004578796681016684,
0.01999233104288578,
-0.06811495870351791,
-0.00017911981558427215,
0.010167691856622696,
-0.03140835464000702,
-0.032456569373607635,
-0.03156081959605217,
0.04680759459733963,
0.06384586542844772,
0.027711011469364166,
-0.021802885457873344,
-0.052906304597854614,
-0.033066440373659134,
0.03266621381044388,
0.056565530598163605,
0.027501368895173073,
-0.018534358590841293,
-0.022164996713399887,
0.0631597563624382,
0.022279348224401474,
0.043377071619033813,
-0.013016932643949986,
0.038288459181785583,
0.022260289639234543,
-0.012978816404938698,
0.015761353075504303,
0.00650370167568326,
-0.03361913561820984,
0.0652943104505539,
0.024661656469106674,
0.030207669362425804,
0.00235848524607718,
-0.04112817347049713,
-0.007389920763671398,
0.09719818085432053,
-0.12807290256023407,
-0.03361913561820984,
-0.021688535809516907,
0.03804070129990578,
0.036916252225637436,
0.03502946346998215,
-0.02763477712869644,
-0.027043964713811874,
-0.05759468674659729,
0.03049354813992977,
0.01157801877707243,
0.0008183229365386069,
0.009067066013813019,
0.044368110597133636,
-0.006551348138600588,
-0.012816819362342358,
0.002400175668299198,
0.06350281089544296,
-0.007680562324821949,
0.0571754015982151,
0.05263948440551758,
-0.02538587898015976,
-0.005584130994975567,
0.013550570234656334,
0.018048368394374847,
-0.0643794983625412,
0.0068467543460428715,
-0.02176477015018463,
-0.06971587240695953,
-0.06392209976911545,
0.018677297979593277,
0.05995793640613556,
-0.10657494515180588,
-0.007756796199828386,
0.08027426153421402,
-0.0002446332946419716,
0.030093319714069366,
-0.056222476065158844,
-0.006294058635830879,
0.01538018323481083,
0.056413061916828156,
0.01999233104288578,
-0.048332273960113525,
-0.02523341029882431,
0.005612718407064676,
-0.025328703224658966,
0.02302262745797634,
0.033561959862709045,
0.04417752847075462,
-0.0643794983625412,
0.045778438448905945,
-0.0006509657832793891,
-0.061635080724954605,
-0.021307365968823433,
-0.002892122371122241,
-0.05222019925713539,
0.014884662814438343,
0.08835505694150925,
0.039412908256053925,
-0.031522706151008606,
-0.02540493570268154,
-0.026777146384119987,
-0.013045520521700382,
0.056870464235544205,
0.02363249845802784,
-0.026605619117617607,
0.05382110923528671,
0.01842953823506832,
-0.008595368824899197,
-0.017648139968514442,
-0.03565839305520058,
0.040861353278160095,
-0.02144077606499195,
-0.015894761309027672,
0.006770520471036434,
0.05122916027903557,
0.0024704537354409695,
-0.04383447393774986,
-0.1293688714504242,
-0.06152073293924332,
-0.03049354813992977,
0.0014055619249120355,
0.004452534485608339,
0.043072134256362915,
-0.02269863337278366,
-0.0023668233770877123,
0.06369339674711227,
-0.01873447373509407,
-0.019916098564863205,
0.00615112017840147,
0.08865998685359955,
0.04044206812977791,
-0.045930907130241394,
0.023899316787719727,
-0.012349886819720268,
0.004073747433722019,
-0.03491511195898056,
0.07493789494037628,
0.009657878428697586,
0.015932878479361534,
0.005846184678375721,
0.019744571298360825,
0.038936447352170944,
-0.00883836392313242,
0.07280334085226059,
-0.022107820957899094,
0.011368375271558762,
0.041509341448545456,
0.0004038012702949345,
0.036897193640470505,
0.022736750543117523,
0.006484643556177616,
-0.0040570711717009544,
-0.04566408693790436,
-0.021802885457873344,
0.07813971489667892,
0.022279348224401474,
0.05382110923528671,
-0.0265103280544281,
-0.0006539436290040612,
0.007928322069346905,
-0.059233713895082474,
-0.004104717168956995,
-0.019744571298360825,
-0.05789962410926819,
-0.031065301969647408,
0.016552278771996498,
-0.038498103618621826,
0.014370083808898926,
-0.048980262130498886,
0.041166290640830994,
0.012778702192008495,
-0.0324946865439415,
-0.02334662154316902,
-0.02393743395805359,
0.053058773279190063,
-0.00022810602968093008,
0.0434914231300354,
0.006113003473728895,
0.044825512915849686,
-0.08301868289709091,
0.054812151938676834,
0.042424146085977554,
-0.020278209820389748,
-0.03352384269237518,
-0.011606606654822826,
0.06064404174685478,
0.056108128279447556,
-0.01498948410153389,
-0.0390317402780056,
-0.0533255897462368,
0.05637494474649429,
-0.057670921087265015,
-0.03173234686255455,
0.07436613738536835,
0.029921792447566986,
0.000200411697733216,
-0.040060896426439285,
0.0348769947886467,
0.06232118606567383,
-0.01825801096856594,
-0.00734227430075407,
0.0069277528673410416,
-0.002364441053941846,
0.05157221108675003,
0.005112433806061745,
-0.06449384987354279,
0.05027623474597931,
-0.049285195767879486,
0.03413371369242668,
-0.04882779344916344,
0.010253455489873886,
-0.04143310710787773,
-0.03346666693687439,
0.022736750543117523,
0.020869022235274315,
0.010043811984360218,
0.02935003861784935,
0.02540493570268154,
0.056870464235544205,
-0.05012376978993416,
0.05774715542793274,
-0.001159588573500514,
0.025271527469158173,
-0.004114246461540461,
-0.03266621381044388,
0.05549825727939606,
-0.002084519946947694,
0.03809787705540657,
0.005488838534802198,
-0.007709149736911058,
0.0024704537354409695,
0.00790449883788824,
-0.03016955405473709,
0.03377160429954529,
-0.00555554311722517,
0.008195140399038792,
-0.014236674644052982,
0.034667350351810455,
0.016123462468385696,
-0.0009975916473194957,
0.03491511195898056,
0.017324145883321762,
0.010758504271507263,
-0.0135600995272398,
-0.024356720969080925,
0.008833599276840687,
0.029902735725045204,
0.007742502260953188,
0.013016932643949986,
0.03948914259672165,
-0.01583758555352688,
0.004945672117173672,
0.025023767724633217,
-0.015218186192214489,
0.015570767223834991,
-0.02064031921327114,
-0.004583561327308416,
-0.07874958217144012,
-0.0247378908097744,
0.05031435191631317,
0.008714484050869942,
0.01381738856434822,
0.05347805842757225,
-0.0011196848936378956,
-0.022107820957899094,
-0.03217069059610367,
-0.03809787705540657,
0.02220311388373375,
-0.0049742599949240685,
-0.018991762772202492,
0.029483448714017868,
0.015161010436713696,
-0.00395939638838172,
0.02176477015018463,
0.03701154142618179,
-0.015761353075504303,
0.04143310710787773,
0.00610347418114543,
-0.0005413795588538051,
0.03788823261857033,
0.017428968101739883,
0.017076386138796806,
0.050047535449266434,
-0.029921792447566986,
-0.055765073746442795,
0.045321036130189896,
-0.035143814980983734,
-0.013035991229116917,
0.019611163064837456,
-0.04032771661877632,
0.0076472098007798195,
0.03459111601114273,
-0.0447111651301384,
0.012845407240092754,
0.001884405966848135,
0.019325286149978638,
0.029578741639852524,
0.019220463931560516,
-0.13569629192352295,
0.048484738916158676,
-0.033409491181373596,
-0.017705315724015236,
0.0008302344940602779,
0.06941093504428864,
-0.02140265889465809,
-0.0051171984523534775,
-0.014398671686649323,
-0.017076386138796806,
0.030226727947592735,
0.029445331543684006,
0.003937955945730209,
0.013893622905015945,
-0.02809218131005764,
0.0006992075359448791,
-0.026434093713760376,
0.004593090619891882,
-0.0023275152780115604,
0.04665512591600418,
-0.019115641713142395,
-0.015046659857034683,
0.03899362310767174,
-0.022774867713451385,
0.09262415021657944,
-0.04200486093759537,
0.033866897225379944,
-0.035315338522195816,
-0.01888694055378437,
0.005193432327359915,
-0.0009398206602782011,
-0.00804743729531765,
0.009338648989796638,
0.01554218027740717,
-0.04558785259723663,
-0.021154899150133133,
-0.03983219712972641,
-0.013931739144027233,
-0.002221502596512437,
0.02508094348013401,
-0.007980733178555965,
0.049437664449214935,
0.04208109527826309,
0.04082323610782623,
0.03129400312900543,
0.0034043185878545046,
-0.014551139436662197,
-0.013617274351418018,
-0.03506758064031601,
-0.04139498993754387,
0.051800914108753204,
0.043796356767416,
0.015999583527445793,
0.08858375251293182,
-0.0037592826411128044,
-0.027558542788028717,
-0.0312749445438385,
0.002269148826599121,
-0.008137965574860573,
-0.03331420198082924,
0.03825034201145172,
-0.004697911906987429,
-0.03708777576684952,
0.07280334085226059,
-0.030417313799262047,
-0.06251177191734314,
0.04158557578921318,
0.025309644639492035,
0.011244495399296284,
0.03868868947029114,
-0.015485004521906376,
0.0023692057002335787,
-0.029464390128850937,
-0.02458542212843895,
-0.015389712527394295,
0.0030207671225070953,
-0.07813971489667892,
0.054850269109010696,
0.01919187605381012,
0.05614624544978142,
-0.015446887351572514,
0.03588709235191345,
0.05191526561975479,
0.0005258945748209953,
0.055765073746442795,
-0.0014579726848751307,
0.002799212234094739,
0.018810706213116646,
0.00816655345261097,
0.014627373777329922,
0.07154548168182373,
-0.005021905992180109,
0.007389920763671398,
0.05759468674659729,
-0.05797585844993591,
-0.01568511873483658,
-0.04048018530011177,
-0.055955659598112106,
-0.027082081884145737,
-0.0017045416170731187,
0.004454916808754206,
-0.024833181872963905,
-0.0023846908006817102,
0.002183385659009218,
-0.026071982458233833,
-0.013512453064322472,
0.053859226405620575,
0.030703190714120865,
0.051800914108753204,
0.04692194610834122,
0.06258800625801086,
-0.013807859271764755,
0.039565376937389374,
-0.012168831191956997,
-0.09254791587591171,
-0.005303018260747194,
-0.013083637692034245,
-0.0441012941300869,
-0.0037378419656306505,
0.030741307884454727,
-0.021936295554041862,
0.01190201286226511,
-0.049895066767930984,
0.02790159545838833,
-0.05709916725754738,
0.04139498993754387,
-0.006222589407116175,
0.06072027608752251,
-0.024185195565223694,
-0.02123113162815571,
-0.07139302045106888,
-0.04063265025615692,
0.0444062277674675,
-0.03643978759646416,
-0.05458344891667366,
-0.06293106079101562,
-0.06140638142824173,
0.010472627356648445,
-0.02870205231010914,
-0.013779271394014359,
-0.021193014457821846,
-0.045168567448854446,
-0.008471488952636719,
-0.046273957937955856,
0.06399833410978317,
-0.020907137542963028,
0.02319415472447872,
0.013264693319797516,
-0.015370653942227364,
0.0024132784456014633,
0.05492650344967842,
-0.026453152298927307,
-0.012550000101327896,
-0.07078314572572708,
0.04661700874567032,
0.016209226101636887,
0.017648139968514442,
-0.042119212448596954,
0.036897193640470505,
-0.021478893235325813,
-0.012511883862316608,
-0.02031632512807846,
0.00035228385240770876,
0.0700589269399643,
-0.002147651044651866,
-0.0034829347860068083,
-0.04333895444869995,
-0.037850115448236465,
0.051343511790037155,
0.007065926678478718,
0.01435102615505457,
-0.008414313197135925,
-0.04299589991569519,
-0.002549069933593273,
-0.04028959944844246,
-0.010834738612174988,
0.010701329447329044,
0.01167331077158451,
0.01458925660699606,
-0.006446526385843754,
-0.025138117372989655,
0.005655600223690271,
-0.003961778711527586,
-0.05504085123538971,
-0.012578587979078293,
-0.04574032127857208,
0.016152050346136093,
-0.021669477224349976,
-0.055002737790346146,
-0.0016366458730772138,
0.0014508258318528533,
-0.013750684447586536,
-0.04551161825656891,
0.016904860734939575,
-0.00010586382995825261,
-0.017724374309182167,
-0.013340926729142666,
-0.01030110102146864,
-0.01966833882033825,
-0.03796446695923805,
0.039946548640728,
0.021898178383708,
-0.020182916894555092,
0.01270246785134077,
-0.015342066064476967,
-0.04120440408587456,
0.04821792244911194,
0.010539332404732704,
0.030341079458594322,
-0.05408792942762375,
-0.013769742101430893,
-0.03762141242623329,
-0.004836086183786392,
0.004843233153223991,
0.05347805842757225,
-0.0036044325679540634,
0.021669477224349976,
0.01897270418703556,
0.017171679064631462,
0.013045520521700382,
-0.014236674644052982,
0.006275000050663948,
-0.021860061213374138,
0.009900873526930809,
0.00077305908780545,
-0.012559529393911362,
-0.03222786635160446,
0.012426120229065418,
0.03914609178900719,
-0.024356720969080925,
-0.0042929197661578655,
0.049742598086595535,
-0.05915748327970505,
0.0402514822781086,
-0.010910972021520138,
-0.0434914231300354,
0.03247562795877457,
0.017752962186932564,
0.07185041904449463,
0.00020472962933126837,
-0.01660945452749729,
-0.0682293102145195,
0.029311921447515488,
0.006961104925721884,
0.011006264947354794,
0.04581655561923981,
-0.0044858865439891815,
0.04120440408587456,
0.03987031430006027,
-0.029083220288157463,
-0.01460831519216299,
0.036897193640470505,
0.00650370167568326,
-0.000861800042912364,
-0.012521413154900074,
-0.0295025072991848,
-0.02683432213962078,
0.11625664681196213,
-0.018772590905427933,
0.03554404154419899,
0.019935157150030136,
-0.02267957665026188,
0.010177221149206161,
-0.006170178763568401,
-0.038498103618621826,
-0.049437664449214935,
-0.04013713076710701,
-0.05492650344967842,
-0.04112817347049713,
0.04051830247044563,
0.02774912863969803,
0.007251746486872435,
0.01507524773478508,
-0.051343511790037155,
0.02553834579885006,
-0.025138117372989655,
-0.02858770079910755,
-0.033371374011039734,
0.04093758761882782,
0.02346097305417061,
-0.03937479108572006,
0.005226784385740757,
-0.044825512915849686,
0.015037130564451218,
-0.04360577091574669,
-0.021821944043040276,
-0.03167517110705376,
-0.05648929625749588,
-0.05919560045003891,
0.012616705149412155,
0.08713531494140625,
-0.005445957183837891,
-0.011692369356751442,
0.021193014457821846,
0.02536682039499283,
0.01830565743148327,
-0.045778438448905945,
-0.03746894747018814,
0.0005363171803764999,
-0.008843128569424152,
-0.016380753368139267,
0.03424806520342827,
0.020716553553938866,
-0.06800060719251633,
-0.00033262980286963284,
0.004111864138394594,
0.019134700298309326,
0.024814123287796974,
0.020259151235222816,
0.001958257518708706,
-0.029578741639852524,
-0.04082323610782623,
-0.034190889447927475,
-0.040861353278160095,
0.026529386639595032,
0.07432802021503448,
-0.02506188489496708,
0.08378101885318756,
-0.020583145320415497,
-0.0441012941300869,
0.03571556881070137,
-0.05725163593888283,
-0.035162873566150665,
-0.04375823959708214,
-0.0036806664429605007,
-0.021802885457873344,
-0.001197109930217266,
-0.016237813979387283,
0.013207517564296722,
0.018925057724118233,
-0.007046868093311787,
-0.03701154142618179,
0.005803303327411413,
0.0017557613318786025,
-0.05740410462021828,
-0.03129400312900543,
0.003675901796668768,
-0.028454290702939034,
-0.033905014395713806,
0.028987929224967957,
-0.02187911979854107,
0.01968739554286003,
-0.03443865105509758,
-0.05938618257641792,
-0.05412604659795761,
0.0037521356716752052,
0.003654461121186614,
-0.05161032825708389,
-0.030398255214095116,
-0.04097570478916168,
0.007304157596081495,
0.06182566657662392,
-0.025938574224710464,
-0.010453568771481514,
0.043796356767416,
0.02748231031000614,
0.0011208760552108288,
0.0005235122516751289,
0.09033713489770889,
0.05122916027903557,
0.0028897400479763746,
0.054202280938625336,
-0.05046682059764862,
-0.06491313874721527,
-0.0026491268072277308,
0.0012316533830016851,
0.02933098003268242,
0.003480552462860942,
-0.003099383320659399,
0.03495322912931442,
-0.07383250445127487,
0.0050123766995966434,
0.02092619612812996,
0.013293281197547913,
0.03239939361810684,
-0.026415035128593445,
-0.0036377848591655493,
-0.001122067216783762,
0.003337614005431533,
-0.010930030606687069,
-0.024718832224607468,
0.017467085272073746,
-0.023117920383810997,
-0.0590050145983696,
0.008604898117482662,
-0.01679050922393799,
-0.027367958799004555,
0.0053220768459141254,
0.10367806255817413,
0.00972458254545927,
-0.024852240458130836,
0.004452534485608339,
-0.021288307383656502,
-0.006789579056203365,
-0.006870577577501535,
0.043720122426748276,
0.02348003163933754,
0.02144077606499195,
0.009824640117585659,
-0.02854958362877369,
0.005541249178349972,
0.025271527469158173,
0.0016509396955370903,
0.014131853356957436,
0.005088610574603081,
-0.006208295468240976,
-0.027558542788028717,
0.014570198021829128,
-0.0396416112780571,
0.0016056759050115943,
-0.02269863337278366,
-0.01618063822388649,
0.013217046856880188,
-0.05629871040582657,
0.012759643606841564,
0.04791298508644104,
-0.0599198192358017,
0.008481018245220184,
-0.06537054479122162,
0.08248504251241684,
-0.030207669362425804,
0.031980108469724655,
-0.05965300276875496,
0.07242217659950256,
-0.052296433597803116,
-0.03552498295903206,
0.03554404154419899,
-0.014779841527342796,
-0.013159871101379395,
-0.02458542212843895,
-0.05607001110911369,
0.06125391274690628,
-0.009619761258363724,
-0.008090319111943245,
0.058623842895030975,
0.026586562395095825,
0.01477031223475933,
0.015437358058989048,
-0.010501215234398842,
-0.041661810129880905,
-0.04295778647065163,
-0.010520273819565773,
0.024528246372938156,
-0.007385156117379665,
0.002987414598464966,
0.00753762386739254,
-0.05263948440551758,
-0.021193014457821846,
0.04295778647065163,
-0.0017903047846630216,
0.08652544021606445,
0.035639334470033646,
0.04215732961893082,
0.02870205231010914,
-0.04265284910798073,
0.00945299956947565,
0.004116628784686327,
-0.010348747484385967,
-0.02111678197979927,
0.026376917958259583,
-0.052906304597854614,
-0.0033828779123723507,
-0.02317509613931179,
-0.03140835464000702,
-0.01309316698461771,
-0.01715262047946453,
0.029254747554659843,
0.04745558276772499,
-0.01379832997918129,
0.04787486791610718,
0.03697342425584793
] |
7,513 | gitignorefile | __init__ | null | def __init__(self, rules, base_path):
self.__rules = rules
self.__can_return_immediately = not any((r.negation for r in rules))
self.__base_path = _Path(base_path) if isinstance(base_path, str) else base_path
| (self, rules, base_path) | [
-0.025458797812461853,
0.006961670238524675,
-0.01562897302210331,
-0.012406226247549057,
-0.066214419901371,
-0.011023767292499542,
0.0036873063072562218,
-0.011768858879804611,
-0.04402325302362442,
-0.03646460920572281,
0.06560397893190384,
0.10571325570344925,
0.008173566311597824,
0.026787394657731056,
-0.04466959461569786,
-0.015216030180454254,
0.036805737763643265,
0.04879901930689812,
-0.027685094624757767,
-0.009192457422614098,
-0.04337690770626068,
0.04818858206272125,
0.016095776110887527,
0.06413175165653229,
0.0018728284630924463,
0.0843120664358139,
0.016436902806162834,
-0.018959442153573036,
0.01635611057281494,
-0.028708474710583687,
-0.04140196368098259,
0.07447326183319092,
0.017684707418084145,
0.027326015755534172,
0.0377393439412117,
-0.0375957116484642,
-0.00864934828132391,
0.06413175165653229,
-0.09608989953994751,
0.01600600592792034,
0.0109070660546422,
0.04269465431571007,
-0.0010677030077204108,
0.027900543063879013,
-0.014013110660016537,
-0.02048553340137005,
-0.0166254211217165,
0.029821623116731644,
0.014147765934467316,
-0.03287380561232567,
-0.029049601405858994,
0.032442908734083176,
0.022173210978507996,
-0.009614376351237297,
-0.03517192229628563,
0.06000232696533203,
0.00912512931972742,
0.05989460274577141,
0.022316843271255493,
0.001855996553786099,
-0.011400801129639149,
0.0077336928807199,
-0.002152237808331847,
-0.06000232696533203,
0.032568588852882385,
0.011786812916398048,
-0.0813676044344902,
-0.05501110851764679,
0.03190428763628006,
0.08854921162128448,
-0.04589046910405159,
-0.01039537601172924,
0.027756910771131516,
-0.011490571312606335,
0.07020021229982376,
-0.033250842243433,
-0.031473394483327866,
-0.020180316641926765,
0.055298373103141785,
0.01393231749534607,
-0.019354430958628654,
0.004632136784493923,
-0.012855076231062412,
-0.053036168217659,
0.03375355154275894,
0.009614376351237297,
0.02156277559697628,
-0.06581942737102509,
0.027290107682347298,
0.035530999302864075,
-0.06560397893190384,
-0.01719994843006134,
-0.02452518790960312,
-0.043987344950437546,
0.03596189618110657,
0.049768537282943726,
0.014659455046057701,
-0.0405401736497879,
0.011248191818594933,
-0.02298114262521267,
-0.016131684184074402,
0.02676944062113762,
-0.06560397893190384,
-0.02562038227915764,
0.026392405852675438,
0.01745130494236946,
0.01219077780842781,
-0.05964324623346329,
-0.007545175962150097,
0.0033080277498811483,
-0.025171533226966858,
0.021095970645546913,
0.0041204472072422504,
0.06592715531587601,
-0.02689511887729168,
0.009686192497611046,
-0.0931454449892044,
-0.0558369942009449,
0.02540493570268154,
0.009143083356320858,
0.0069796242751181126,
0.012298502027988434,
-0.052748903632164,
0.04793722555041313,
0.09953707456588745,
0.020126454532146454,
-0.01338472031056881,
-0.004495237022638321,
0.09716714173555374,
0.010619801469147205,
0.015171145088970661,
0.002632507821545005,
-0.018708085641264915,
-0.035333506762981415,
-0.036105528473854065,
0.002845711773261428,
0.03838568925857544,
-0.0006362454732879996,
-0.03698527812957764,
0.0028793755918741226,
0.03466920927166939,
-0.015350685454905033,
0.04330509155988693,
-0.05673469603061676,
-0.0056734695099294186,
0.044202789664268494,
0.01727176457643509,
0.018034810200333595,
-0.015548178926110268,
0.020970292389392853,
0.010063227266073227,
-0.028528934344649315,
-0.019138982519507408,
0.0437718965113163,
0.0170473400503397,
0.03806251659989357,
-0.020700981840491295,
-0.02529721148312092,
0.027379876002669334,
-0.01498262770473957,
-0.0063691879622638226,
-0.030467968434095383,
-0.07368329167366028,
-0.03946293145418167,
0.0377393439412117,
-0.01964169554412365,
-0.012747352942824364,
-0.06625032424926758,
0.02632058970630169,
0.024273831397294998,
-0.0294625423848629,
-0.059535522013902664,
-0.035010334104299545,
0.025907646864652634,
0.0019165914272889495,
0.017801407724618912,
0.021832086145877838,
0.05695014446973801,
-0.04908628389239311,
0.054652031511068344,
0.036877553910017014,
-0.00551637215539813,
-0.02906755544245243,
-0.018636269494891167,
0.06531671434640884,
0.07206742465496063,
-0.006494865752756596,
0.024471325799822807,
-0.015189099125564098,
0.0813676044344902,
-0.04513639956712723,
-0.011975329369306564,
0.07081064581871033,
0.03529759868979454,
-0.019875098019838333,
-0.05472384765744209,
0.05475975200533867,
0.04025290906429291,
-0.011086605489253998,
0.032891761511564255,
-0.0075541529804468155,
0.041940584778785706,
0.04312555119395256,
-0.022029580548405647,
-0.024938130751252174,
0.0725342333316803,
-0.05698605254292488,
0.03343038260936737,
-0.04384371265769005,
0.027631232514977455,
-0.04549548029899597,
-0.012684513814747334,
-0.01530580036342144,
0.002567424438893795,
-0.009820847772061825,
-0.028151899576187134,
0.013223133981227875,
0.04743451625108719,
-0.0037209701258689165,
0.0725342333316803,
0.08043400198221207,
-0.0006070702220313251,
-0.002500097034499049,
-0.046177733689546585,
0.014713317155838013,
0.031940195709466934,
0.017119156196713448,
-0.01939033903181553,
-0.026410359889268875,
0.02483040653169155,
-0.015539201907813549,
-0.06941023468971252,
0.03267631307244301,
-0.009901640936732292,
0.030180703848600388,
0.01430935226380825,
0.0514921210706234,
0.04940945655107498,
-0.04018109291791916,
0.028008267283439636,
0.013070524670183659,
-0.040791526436805725,
-0.009380973875522614,
-0.03287380561232567,
-0.000049969679821515456,
0.04736270010471344,
-0.006840480957180262,
-0.003833182854577899,
0.008977008983492851,
-0.030916817486286163,
0.021203694865107536,
0.0037456569261848927,
-0.04668044671416283,
-0.001318498165346682,
-0.03163497895002365,
0.028403256088495255,
-0.04449005424976349,
-0.04743451625108719,
0.06768664717674255,
-0.03368173539638519,
0.03576440364122391,
0.06269542872905731,
-0.009318134747445583,
0.006072946358472109,
-0.034435804933309555,
-0.012487019412219524,
-0.0005405842675827444,
-0.0012489263899624348,
-0.0047353720292449,
0.0012388272443786263,
-0.01392334047704935,
0.021455051377415657,
0.01165215764194727,
0.03845750540494919,
-0.038421597331762314,
0.008784003555774689,
-0.007603526581078768,
-0.01530580036342144,
-0.0020759333856403828,
0.009363019838929176,
0.05353888124227524,
0.02709261327981949,
-0.0034314615186303854,
-0.04456187039613724,
0.012504973448812962,
-0.07382692396640778,
-0.0006693482282571495,
-0.01238827221095562,
-0.08962645381689072,
-0.0257460605353117,
-0.000426688464358449,
0.007383589632809162,
0.01964169554412365,
0.030019117519259453,
0.08962645381689072,
0.0035189874470233917,
0.004324674140661955,
-0.09731077402830124,
0.02913936972618103,
-0.03267631307244301,
-0.015763627365231514,
-0.04337690770626068,
0.03290971368551254,
-0.009075756184756756,
-0.022442521527409554,
-0.045280031859874725,
-0.009758008643984795,
0.02393270470201969,
0.0756223201751709,
0.03407672420144081,
0.053107984364032745,
0.007787554990500212,
0.019031258299946785,
0.012962800450623035,
0.019156936556100845,
0.005951757077127695,
-0.003290073713287711,
-0.03201201185584068,
0.010763433761894703,
0.06226453185081482,
-0.024632912129163742,
0.058314647525548935,
-0.022245027124881744,
0.0047353720292449,
-0.035010334104299545,
-0.018923534080386162,
0.03748798742890358,
0.00779653200879693,
-0.023968612775206566,
0.008505715988576412,
0.0007316262344829738,
-0.008483272977173328,
-0.0026010882575064898,
-0.05942779779434204,
-0.019426247105002403,
-0.012846099212765694,
0.01919284462928772,
0.00266392738558352,
0.023124774917960167,
0.004843096248805523,
0.06366494297981262,
0.02323249913752079,
0.010925020091235638,
-0.000009353972927783616,
0.018304120749235153,
-0.05842237174510956,
-0.04050426557660103,
-0.009614376351237297,
0.026105141267180443,
-0.05939188972115517,
-0.0005868719308637083,
-0.04179695248603821,
-0.03698527812957764,
0.005417624954134226,
0.010574916377663612,
-0.04987626150250435,
-0.028151899576187134,
0.01184067502617836,
0.024794498458504677,
-0.04118651524186134,
0.08517386019229889,
-0.0069482047110795975,
-0.0712774470448494,
0.04890674352645874,
0.025853784754872322,
-0.03420240432024002,
0.05662697181105614,
0.0008242016192525625,
0.01575465127825737,
-0.03055773861706257,
-0.00859997421503067,
-0.05346706509590149,
-0.008766049519181252,
-0.06610669195652008,
0.036033712327480316,
0.04183286055922508,
0.04930173233151436,
0.004681509919464588,
0.016158616170287132,
0.03763161972165108,
-0.00846083089709282,
0.06319814175367355,
-0.032191552221775055,
0.010898089036345482,
-0.008294756524264812,
0.0017235856503248215,
0.015135237015783787,
0.07382692396640778,
0.04352053999900818,
0.0528925359249115,
0.06736347079277039,
-0.035908035933971405,
0.022945234552025795,
-0.06908705830574036,
-0.04247920587658882,
0.010260720737278461,
0.018833763897418976,
0.01251395046710968,
0.009569491259753704,
0.01505444385111332,
-0.0026841256767511368,
0.0012623919174075127,
0.021275511011481285,
0.06869207322597504,
0.027559416368603706,
0.0035975363571196795,
0.0620131753385067,
0.06704030185937881,
-0.027774864807724953,
0.02881619893014431,
-0.000988593092188239,
-0.07792043685913086,
0.003411263460293412,
-0.012567812576889992,
-0.04158150404691696,
-0.02483040653169155,
0.03939111530780792,
-0.014156742952764034,
0.026553992182016373,
-0.02567424438893795,
-0.01869013160467148,
-0.0007271377253346145,
0.06625032424926758,
-0.008909680880606174,
0.006176182068884373,
0.01103274431079626,
-0.03197610378265381,
-0.036033712327480316,
-0.029157323762774467,
0.0025045855436474085,
-0.04118651524186134,
-0.011822720989584923,
-0.062479980289936066,
-0.04510049149394035,
0.00395212834700942,
-0.02644626796245575,
-0.03217360004782677,
0.01667928323149681,
-0.012756329961121082,
-0.0029377262108027935,
-0.029767761006951332,
0.020162362605333328,
0.012487019412219524,
0.047578148543834686,
-0.02664376236498356,
-0.005969710648059845,
-0.03235314041376114,
0.021383235231041908,
-0.05077396333217621,
-0.0062031131237745285,
-0.04133014753460884,
0.02149095945060253,
0.03229927644133568,
0.02368135005235672,
-0.04948127269744873,
0.016715191304683685,
-0.025584476068615913,
0.011768858879804611,
-0.008882749825716019,
-0.00014854143955744803,
0.03824205696582794,
0.031239990144968033,
-0.009116152301430702,
-0.03055773861706257,
-0.0726778656244278,
0.019282614812254906,
0.01226259395480156,
0.0781358852982521,
0.009066779166460037,
-0.059535522013902664,
-0.05404159426689148,
0.0010553596075624228,
-0.018779901787638664,
0.012083053588867188,
-0.00934506580233574,
0.01379766222089529,
0.046177733689546585,
-0.03335856646299362,
-0.01677802950143814,
-0.015539201907813549,
-0.02014440856873989,
-0.04075561836361885,
-0.043412815779447556,
0.015691811218857765,
-0.013106432743370533,
-0.05544200539588928,
-0.01745130494236946,
-0.015296823345124722,
-0.011490571312606335,
-0.010987859219312668,
0.02612309530377388,
-0.0021567263174802065,
-0.04499276727437973,
0.002688614185899496,
-0.0024395021609961987,
0.008335152640938759,
-0.007455405779182911,
0.020754843950271606,
0.02432769350707531,
-0.03036024421453476,
-0.010090158320963383,
-0.03791888430714607,
-0.04050426557660103,
0.05102531984448433,
0.01565590314567089,
0.059140533208847046,
-0.07081064581871033,
-0.029426634311676025,
-0.02869052067399025,
-0.030521830543875694,
-0.007235469296574593,
0.03795479238033295,
-0.028654612600803375,
0.027110567316412926,
-0.007347681559622288,
0.02452518790960312,
-0.009901640936732292,
0.00038769457023590803,
-0.026553992182016373,
0.0035324529744684696,
0.0279903132468462,
0.006804572883993387,
-0.005938291549682617,
-0.06388039141893387,
0.030773187056183815,
0.028636658564209938,
-0.0031958152540028095,
-0.013429605402052402,
0.05127667263150215,
-0.012729398906230927,
0.039498839527368546,
-0.05975097045302391,
-0.016813937574625015,
0.039498839527368546,
0.004252857994288206,
0.11684474349021912,
0.00011536858801264316,
-0.0271464753895998,
-0.03939111530780792,
0.01165215764194727,
0.039750196039676666,
0.02617695741355419,
0.005529837217181921,
-0.006835992448031902,
0.018833763897418976,
-0.006283906288444996,
-0.02676944062113762,
0.00539069389924407,
0.028600750491023064,
0.005152802914381027,
0.017855269834399223,
-0.020162362605333328,
-0.06445492058992386,
-0.004932866431772709,
0.09494084864854813,
-0.025189487263560295,
0.048260398209095,
0.03253268077969551,
-0.002605576766654849,
0.03195815160870552,
0.015440455637872219,
-0.0542929507791996,
-0.0813676044344902,
-0.014390145428478718,
-0.08021855354309082,
-0.031096357852220535,
0.005960733629763126,
0.015997029840946198,
-0.002191512379795313,
0.02522539533674717,
-0.02829553186893463,
0.026338543742895126,
-0.005709377583116293,
0.0035010334104299545,
-0.0007955874316394329,
0.013178248889744282,
0.0048969583585858345,
0.012962800450623035,
0.014264467172324657,
-0.02021622471511364,
0.025692198425531387,
-0.008667302317917347,
-0.04387962073087692,
-0.05565745383501053,
-0.003485323628410697,
-0.04280237853527069,
-0.013474490493535995,
0.06352131813764572,
0.005072010215371847,
-0.045926377177238464,
-0.006835992448031902,
0.01937238499522209,
-0.010350490920245647,
-0.01103274431079626,
-0.056770604103803635,
-0.0010446994565427303,
-0.009928571991622448,
-0.05346706509590149,
-0.006328791379928589,
0.022245027124881744,
-0.08912374079227448,
0.029300956055521965,
-0.006243509706109762,
0.05353888124227524,
0.01684984564781189,
0.014381168410182,
-0.010610824450850487,
0.002547226147726178,
-0.04930173233151436,
0.003554895520210266,
0.008676279336214066,
0.00027688461705110967,
0.06578352302312851,
0.016508718952536583,
0.025907646864652634,
-0.03831387311220169,
-0.041437871754169464,
0.07468871027231216,
-0.05156393721699715,
-0.017864247784018517,
-0.052605271339416504,
-0.013465513475239277,
-0.020952338352799416,
0.04150968790054321,
-0.06025368347764015,
0.053682513535022736,
0.027523508295416832,
-0.029085509479045868,
-0.02375316619873047,
0.014066972769796848,
0.029318910092115402,
-0.048044949769973755,
-0.05748876556754112,
-0.01854649931192398,
-0.005960733629763126,
-0.0037591224536299706,
0.05633970722556114,
0.017469258978962898,
0.06542444229125977,
0.014632523991167545,
-0.07321648299694061,
-0.03466920927166939,
0.014713317155838013,
0.0007321872981265187,
-0.06384448707103729,
-0.054328858852386475,
-0.06639395654201508,
-0.004744349047541618,
0.05292844399809837,
0.018187420442700386,
-0.0016641130205243826,
0.05167166143655777,
0.010691617615520954,
0.0278466809540987,
0.013025639578700066,
0.07698682695627213,
0.04449005424976349,
-0.011679088696837425,
0.04172513633966446,
-0.03290971368551254,
-0.07677137851715088,
-0.010413330048322678,
0.025907646864652634,
0.009686192497611046,
0.008155612275004387,
0.01293586939573288,
0.048116765916347504,
-0.0754786878824234,
-0.04872720316052437,
0.007275865878909826,
0.01164318062365055,
-0.029767761006951332,
-0.016041914001107216,
0.047793593257665634,
-0.03504624217748642,
-0.013896409422159195,
-0.0032294788397848606,
-0.020234178751707077,
0.029049601405858994,
-0.004551343619823456,
-0.04843993857502937,
-0.009874709881842136,
-0.010242766700685024,
-0.0660707876086235,
0.005660003982484341,
0.04998398572206497,
0.0014845728874206543,
0.009165526367723942,
0.022963188588619232,
-0.02111392468214035,
-0.017415396869182587,
0.005933803040534258,
0.02387884259223938,
0.025386981666088104,
0.005951757077127695,
0.024094291031360626,
-0.07002066820859909,
-0.037200722843408585,
0.026284681633114815,
0.008128681220114231,
0.046752262860536575,
0.005332343280315399,
-0.020700981840491295,
-0.005965222138911486,
-0.006099877413362265,
-0.038277965039014816,
0.0035638725385069847,
-0.027810772880911827,
-0.021724361926317215,
-0.017056316137313843,
0.0038376713637262583,
0.020180316641926765,
0.04879901930689812,
-0.07863859832286835,
0.007226492278277874,
-0.05242573097348213,
0.06276724487543106,
0.02149095945060253,
-0.032514724880456924,
-0.06862025707960129,
0.06966158747673035,
-0.024291785433888435,
0.010942974127829075,
0.008016468957066536,
0.05537018924951553,
-0.016131684184074402,
-0.009901640936732292,
-0.035602815449237823,
0.07192379236221313,
-0.0324070006608963,
-0.024758590385317802,
0.04930173233151436,
-0.018726039677858353,
-0.020557349547743797,
-0.004825142212212086,
-0.02746964618563652,
-0.01559306401759386,
-0.03474102541804314,
0.007208538241684437,
0.06237225607037544,
0.009766985662281513,
-0.021329373121261597,
-0.002022071275860071,
-0.04513639956712723,
-0.053933870047330856,
0.05264117941260338,
0.014785133302211761,
0.03298152983188629,
0.004257346503436565,
0.05795557051897049,
-0.011481594294309616,
-0.024920176714658737,
0.03158111870288849,
0.02136528119444847,
-0.002115207724273205,
-0.020970292389392853,
0.019480109214782715,
-0.029193231835961342,
-0.005098940804600716,
-0.019911006093025208,
-0.046500906348228455,
-0.046105917543172836,
0.018923534080386162,
0.04922991618514061,
0.0558369942009449,
0.026984889060258865,
0.06456264853477478,
0.031868379563093185
] |
7,514 | gitignorefile | match | null | def match(self, path, is_dir=None):
if isinstance(path, str):
path = _Path(path)
rel_path = path.relpath(self.__base_path)
if rel_path is not None:
if is_dir is None:
is_dir = path.isdir() # TODO Pass callable here.
if self.__can_return_immediately:
return any((r.match(rel_path, is_dir) for r in self.__rules))
else:
matched = False
for rule in self.__rules:
if rule.match(rel_path, is_dir):
matched = not rule.negation
else:
return matched
else:
return False
| (self, path, is_dir=None) | [
0.0704769641160965,
0.010295126587152481,
0.011225919239223003,
0.019894510507583618,
-0.001645339885726571,
0.0030133225955069065,
0.05231240764260292,
-0.032098229974508286,
-0.0673179104924202,
-0.007634377107024193,
0.07649420201778412,
0.08025497943162918,
0.05313977971673012,
0.0058433073572814465,
-0.015390980057418346,
-0.030011000111699104,
0.01882268860936165,
0.03568977490067482,
0.0030415283981710672,
0.010915654711425304,
-0.013115709647536278,
0.0713043287396431,
0.032511916011571884,
-0.014620020054280758,
-0.007103167474269867,
0.047348182648420334,
0.04975507780909538,
-0.025667302310466766,
0.011884055100381374,
0.03631030023097992,
-0.020627861842513084,
0.04057878255844116,
0.015005500055849552,
0.038472749292850494,
0.0033541428856551647,
-0.010107087902724743,
-0.016049114987254143,
0.016867084428668022,
-0.08281230926513672,
-0.047348182648420334,
-0.03971380367875099,
0.05686294659972191,
0.05283891782164574,
0.04716014489531517,
-0.0357837937772274,
-0.015240549109876156,
-0.07412491738796234,
0.01509011723101139,
-0.008645085617899895,
0.02630663476884365,
0.048363592475652695,
-0.03416666015982628,
-0.022094564512372017,
-0.06028525531291962,
0.038115475326776505,
0.044903676956892014,
-0.013510591350495815,
0.06419645994901657,
0.0395633727312088,
-0.03313244506716728,
0.015127724967896938,
-0.02722802571952343,
-0.002761820564046502,
-0.06491100788116455,
-0.025667302310466766,
-0.03758896514773369,
-0.02871353179216385,
-0.07510271668434143,
-0.008974154479801655,
0.0732223242521286,
-0.11079248785972595,
0.05614839866757393,
0.02972894161939621,
-0.007888229563832283,
0.0024327526334673166,
0.006929231807589531,
0.01458241231739521,
0.026287831366062164,
0.03512565791606903,
0.02049623429775238,
-0.05863051488995552,
-0.010934459045529366,
0.0020155413076281548,
-0.04486607015132904,
-0.03343330696225166,
0.0696495920419693,
0.011658408679068089,
-0.05377911031246185,
0.01353879738599062,
-0.020421018823981285,
-0.029052002355456352,
-0.015315764583647251,
0.02457667700946331,
-0.033527325838804245,
0.012758435681462288,
0.06874700635671616,
0.06163913384079933,
-0.019856901839375496,
-0.02207576110959053,
0.02233901433646679,
-0.04001466557383537,
0.03655475378036499,
0.08221058547496796,
-0.019668864086270332,
0.04776186868548393,
0.06822049617767334,
-0.06107501685619354,
0.020590253174304962,
-0.03473077714443207,
-0.005279190838336945,
-0.032605934888124466,
-0.006172375287860632,
0.029277648776769638,
0.037194084376096725,
-0.015259352512657642,
-0.03858557343482971,
-0.06709226220846176,
-0.051973938941955566,
-0.04655841737985611,
0.03149650618433952,
0.025874145328998566,
0.054681695997714996,
0.04934139549732208,
-0.009115182794630527,
0.0204022154211998,
-0.004033433273434639,
-0.02309117093682289,
-0.021022742614150047,
0.012993484735488892,
0.05836725980043411,
-0.05675012618303299,
0.030199039727449417,
-0.009359633550047874,
0.03420426696538925,
-0.03125205636024475,
0.08499355614185333,
-0.015184137038886547,
0.021887721493840218,
-0.03273756429553032,
0.06193999573588371,
0.058968983590602875,
0.048514023423194885,
0.054380834102630615,
-0.06081176549196243,
-0.025761323049664497,
0.04885249212384224,
0.00953827053308487,
0.08920563012361526,
0.010031872428953648,
0.011244723573327065,
-0.037344515323638916,
-0.08559528738260269,
0.032662346959114075,
0.07581726461648941,
-0.005956130567938089,
0.029202433302998543,
-0.030631529167294502,
0.024332227185368538,
0.016443997621536255,
-0.04494128376245499,
-0.028412669897079468,
-0.03181617334485054,
-0.08559528738260269,
-0.010718214325606823,
0.012344750575721264,
-0.02121078222990036,
-0.039036866277456284,
-0.016020910814404488,
0.002284672111272812,
0.00499713234603405,
-0.004207369405776262,
-0.000054391704907175153,
-0.007596769370138645,
0.009425447322428226,
-0.07043935358524323,
0.0008814320899546146,
0.015588420443236828,
0.02641945891082287,
-0.05832964926958084,
0.027453672140836716,
0.04452759772539139,
-0.04791229963302612,
0.009176296181976795,
0.009712206199765205,
0.007056157570332289,
0.0620904266834259,
-0.0247271079570055,
-0.01763804443180561,
-0.013341356068849564,
0.03930011764168739,
-0.07875066995620728,
-0.013378963805735111,
0.036272693425416946,
-0.02931525744497776,
-0.0692359060049057,
0.005467229522764683,
0.04099246859550476,
0.016133733093738556,
0.009561775252223015,
-0.001155851292423904,
0.0486268475651741,
-0.03858557343482971,
0.03360254317522049,
0.04245917126536369,
-0.02666390873491764,
0.020421018823981285,
-0.027810946106910706,
0.046295166015625,
-0.0069809420965611935,
-0.0028699429240077734,
-0.07356079667806625,
-0.05562189221382141,
0.02871353179216385,
0.011442163959145546,
0.011884055100381374,
0.03375297412276268,
0.0038524458650499582,
0.019650058820843697,
-0.04366261884570122,
0.02549806796014309,
0.03687441721558571,
0.04843880608677864,
0.05377911031246185,
-0.0036902623251080513,
0.004190915729850531,
-0.04573104903101921,
0.012890063226222992,
0.05118417367339134,
-0.056825339794158936,
-0.009397241286933422,
0.003960568457841873,
-0.010831037536263466,
0.09379377961158752,
-0.006510844919830561,
-0.05532103031873703,
0.013990090228617191,
0.03467436507344246,
0.07581726461648941,
-0.04253438860177994,
0.05513298884034157,
0.033734168857336044,
0.029898177832365036,
-0.016387585550546646,
-0.04655841737985611,
-0.0395633727312088,
-0.006407423876225948,
0.024388639256358147,
-0.03773939609527588,
0.010925057344138622,
-0.010473763570189476,
-0.03982662782073021,
0.023034758865833282,
-0.021285997703671455,
-0.02645706571638584,
-0.020214175805449486,
-0.030932391062378883,
-0.0557723231613636,
0.006933932658284903,
0.04415152221918106,
0.02198174223303795,
0.03570857644081116,
0.040315527468919754,
0.025404049083590508,
0.00884722825139761,
-0.05746467038989067,
-0.03711886703968048,
0.020778292790055275,
0.0008079794351942837,
-0.004289636388421059,
-0.006891623605042696,
0.009406642988324165,
-0.015306361950933933,
0.005011235363781452,
0.023749306797981262,
0.006393320858478546,
0.01453540287911892,
0.012222524732351303,
-0.02290313132107258,
-0.009298521094024181,
-0.012410564348101616,
-0.04388826712965965,
0.043474581092596054,
-0.007300608325749636,
-0.04761143773794174,
0.0027312643360346556,
-0.013407169841229916,
-0.014638824388384819,
0.06378277391195297,
-0.03217344731092453,
0.041330937296152115,
0.03497522696852684,
-0.06660336256027222,
-0.032248660922050476,
0.004623405169695616,
0.008259606547653675,
0.07220691442489624,
0.05118417367339134,
-0.1012401133775711,
0.0014138170517981052,
-0.050507236272096634,
-0.05035680532455444,
0.013040494173765182,
0.06178956478834152,
0.008424140512943268,
-0.011489173397421837,
0.007460441440343857,
-0.025968164205551147,
0.03584020584821701,
-0.011272928677499294,
0.004747980739921331,
-0.001003069686703384,
-0.007291206158697605,
-0.05216197669506073,
-0.03482479602098465,
-0.017675651237368584,
-0.021342409774661064,
0.03452393412590027,
-0.025892948731780052,
-0.05231240764260292,
0.0282998476177454,
-0.030405882745981216,
0.10093925148248672,
-0.008292512968182564,
0.018079934641718864,
-0.011696016415953636,
0.0007668459438718855,
-0.02201934903860092,
-0.0023916191421449184,
-0.0057774935849010944,
0.03307603299617767,
0.05599796772003174,
-0.025573283433914185,
0.028995590284466743,
-0.019001325592398643,
0.03779580816626549,
-0.010849841870367527,
-0.008983556181192398,
-0.030424686148762703,
0.04527975618839264,
0.03728810325264931,
0.021850114688277245,
0.02233901433646679,
0.014290952123701572,
-0.05731423944234848,
0.0298793725669384,
-0.022414231672883034,
-0.0387360043823719,
0.06265454739332199,
0.04610712453722954,
-0.0007539182552136481,
0.022113367915153503,
-0.006985643412917852,
-0.02359887585043907,
-0.019443217664957047,
-0.06645292788743973,
0.022921936586499214,
-0.032511916011571884,
0.048814885318279266,
-0.0021260143257677555,
0.030105018988251686,
0.0673179104924202,
0.002797077875584364,
-0.0408044308423996,
0.0051522646099328995,
-0.011395154520869255,
0.012476377189159393,
-0.04385066032409668,
0.004409511107951403,
0.04573104903101921,
0.019057737663388252,
0.014526001177728176,
0.010483166202902794,
0.00907757505774498,
-0.04373783618211746,
0.038059063255786896,
0.004968926776200533,
0.005796297453343868,
-0.03339570015668869,
0.05325260013341904,
0.025874145328998566,
0.01241996604949236,
0.05675012618303299,
0.03538891300559044,
0.01307810191065073,
0.061375878751277924,
-0.006990344263613224,
0.03446752205491066,
0.0025620292872190475,
-0.05799118056893349,
-0.031327273696660995,
0.01846541464328766,
-0.019405608996748924,
-0.019856901839375496,
-0.04381305351853371,
-0.09695283323526382,
-0.04110529273748398,
0.03845394402742386,
0.014610618352890015,
-0.028769943863153458,
-0.001466703019104898,
0.011968672275543213,
-0.0020907570142298937,
-0.02183130942285061,
0.06133827194571495,
0.007808313239365816,
0.03800265118479729,
0.0530269555747509,
0.06145109608769417,
-0.06904786825180054,
0.018333787098526955,
-0.027303241193294525,
-0.03937533497810364,
-0.0300862155854702,
0.01050196960568428,
-0.07739678770303726,
0.01936800219118595,
0.024501461535692215,
-0.01917996257543564,
0.04339936748147011,
-0.007845920510590076,
0.01987570710480213,
-0.026438262313604355,
0.021662075072526932,
0.005269788671284914,
0.0561860091984272,
-0.032605934888124466,
-0.002157745882868767,
-0.026381850242614746,
-0.00948655977845192,
0.029033198952674866,
-0.03798384591937065,
-0.031120428815484047,
-0.0014008894795551896,
0.0015971550019457936,
-0.0031496507581323385,
-0.0077989110723137856,
-0.04181984066963196,
0.003062682691961527,
-0.04569343850016594,
-0.06077415496110916,
-0.04042835161089897,
0.030819566920399666,
-0.05133460462093353,
0.011019076220691204,
-0.012278936803340912,
-0.050770487636327744,
0.03585900738835335,
0.015597822144627571,
0.013125111348927021,
0.0019908612594008446,
-0.07393687218427658,
0.0249339509755373,
0.00530269555747509,
0.02258346602320671,
-0.04949182644486427,
0.0229407399892807,
0.02359887585043907,
0.008767311461269855,
-0.011799437925219536,
-0.008574571460485458,
0.025723714381456375,
-0.013595208525657654,
0.02233901433646679,
-0.03568977490067482,
-0.026231419295072556,
0.0067740995436906815,
0.00439775874838233,
-0.0017064525745809078,
0.04223352670669556,
-0.04655841737985611,
0.016002105548977852,
-0.009115182794630527,
-0.033170051872730255,
0.016791868954896927,
0.054380834102630615,
0.014140521176159382,
-0.012984082102775574,
0.004200317896902561,
-0.07495228201150894,
-0.006623668596148491,
-0.026438262313604355,
-0.020421018823981285,
0.005373210180550814,
0.007554460782557726,
-0.04659602791070938,
-0.06408364325761795,
-0.005335602443665266,
0.046934496611356735,
-0.032248660922050476,
-0.08431661874055862,
0.01794830895960331,
0.005617660470306873,
-0.0023246302735060453,
0.006929231807589531,
-0.010887449607253075,
-0.023993756622076035,
-0.03538891300559044,
0.022715093567967415,
-0.0088942376896739,
0.010934459045529366,
0.007897631265223026,
0.020326999947428703,
-0.04674645885825157,
0.07262060046195984,
-0.01641579158604145,
0.046934496611356735,
-0.028487885370850563,
-0.05486973747611046,
-0.03206062316894531,
0.020627861842513084,
0.005500136408954859,
0.0334521122276783,
-0.03053750842809677,
-0.006539050955325365,
0.03482479602098465,
0.030199039727449417,
0.05140982195734978,
-0.031590525060892105,
-0.009228006936609745,
-0.04798751324415207,
-0.0011117797112092376,
0.02090992033481598,
-0.040353137999773026,
-0.024087777361273766,
-0.0020813550800085068,
0.034448716789484024,
-0.029052002355456352,
0.003340040100738406,
0.06709226220846176,
-0.06081176549196243,
0.03134607523679733,
0.023843325674533844,
-0.04494128376245499,
0.02794257365167141,
0.05904419720172882,
0.052951738238334656,
-0.021041547879576683,
0.02365528792142868,
-0.07649420201778412,
0.0102011077105999,
-0.02075948938727379,
-0.004534086678177118,
0.00020272938127163798,
-0.0007157228537835181,
0.03369656205177307,
0.007667283993214369,
0.01440377626568079,
-0.08281230926513672,
0.09454593062400818,
0.011686614714562893,
-0.020834704861044884,
0.0006493216496892273,
-0.03585900738835335,
0.04024031385779381,
0.07792329788208008,
0.0439634844660759,
0.034298285841941833,
-0.0013609312009066343,
-0.013407169841229916,
0.0019426763756200671,
-0.009397241286933422,
-0.027397260069847107,
-0.041481368243694305,
-0.007380524650216103,
-0.02075948938727379,
-0.04757382720708847,
0.03798384591937065,
-0.017769671976566315,
0.046633634716272354,
0.024858735501766205,
-0.03508804738521576,
0.003753725439310074,
-0.054531265050172806,
-0.01729017123579979,
0.012231927365064621,
0.023674091324210167,
-0.030612723901867867,
-0.023674091324210167,
0.02544165588915348,
-0.022978346794843674,
0.02401256188750267,
-0.04072921350598335,
0.05799118056893349,
0.001722905901260674,
-0.0715675875544548,
-0.020778292790055275,
-0.02233901433646679,
0.09018342941999435,
-0.05201154574751854,
-0.03446752205491066,
0.001892140950076282,
0.006783501245081425,
-0.006586060859262943,
-0.0336589552462101,
-0.016086723655462265,
-0.012993484735488892,
-0.0034058536402881145,
-0.006553153973072767,
0.04919096454977989,
0.01682947762310505,
-0.02329801395535469,
-0.02820582687854767,
-0.007582666352391243,
-0.03824710100889206,
0.010793429799377918,
0.007831818424165249,
0.03294440731406212,
0.010031872428953648,
-0.027867358177900314,
-0.00010929757991107181,
-0.01574825309216976,
0.005015936214476824,
0.06547512859106064,
-0.012100299820303917,
0.04486607015132904,
-0.012908866629004478,
-0.05148503556847572,
0.03533250093460083,
-0.041180506348609924,
-0.028976786881685257,
-0.007211289834231138,
0.005349705461412668,
0.03273756429553032,
-0.02737845666706562,
-0.0012316544307395816,
0.05885615944862366,
0.024501461535692215,
-0.014497795142233372,
0.006576658692210913,
-0.010671204887330532,
0.019386805593967438,
-0.01748761348426342,
-0.004870206117630005,
-0.02457667700946331,
0.001202273415401578,
-0.07769764959812164,
0.01616193912923336,
-0.013595208525657654,
0.015419185161590576,
-0.03441110998392105,
-0.04388826712965965,
-0.012805446051061153,
-0.028920374810695648,
0.0016994010657072067,
-0.016002105548977852,
0.026588693261146545,
-0.011790036223828793,
-0.0015231146244332194,
0.07476424425840378,
-0.011207115836441517,
-0.013266140595078468,
0.03211703523993492,
0.002209456404671073,
-0.013397768139839172,
0.024031365290284157,
0.02100393921136856,
0.03294440731406212,
0.0074698431417346,
-0.014037099666893482,
0.007201888132840395,
-0.03364014998078346,
0.01455420721322298,
0.0013244986766949296,
-0.03794623911380768,
-0.03476838394999504,
-0.03038707748055458,
0.031176840886473656,
-0.06122544780373573,
0.015691841021180153,
0.03503163903951645,
-0.022000545635819435,
0.03685561567544937,
-0.03437350317835808,
-0.013115709647536278,
0.02743486873805523,
0.045054107904434204,
0.002403371501713991,
-0.05374150350689888,
-0.0006475587724708021,
-0.00591382198035717,
-0.062391288578510284,
0.05054484307765961,
-0.002073128242045641,
0.051372215151786804,
0.042083095759153366,
0.08597136288881302,
0.016848281025886536,
0.002811180893331766,
-0.008663889952003956,
-0.04798751324415207,
-0.02326040528714657,
-0.046633634716272354,
0.027923768386244774,
-0.03354613110423088,
0.03354613110423088,
0.049078140407800674,
-0.011385751888155937,
0.06205281987786293,
-0.020232979208230972,
-0.00838653277605772,
0.016848281025886536,
-0.011884055100381374,
0.05629882961511612,
-0.01605851761996746,
0.037551358342170715,
-0.016970505937933922,
0.006195880006998777,
0.014779853634536266,
-0.04140615463256836,
0.03533250093460083,
-0.04302328824996948,
-0.031383682042360306,
0.03318885713815689,
-0.03824710100889206,
0.005476631689816713,
-0.0538543276488781,
0.041895054280757904,
0.00823610182851553,
0.04919096454977989,
-0.047348182648420334,
0.042797643691301346,
-0.08379010856151581,
-0.03196660429239273,
-0.02672032080590725,
-0.047084927558898926,
-0.06573837995529175,
0.007864724844694138,
0.00848995428532362,
0.05156025290489197,
0.003897105110809207,
-0.07393687218427658,
0.04885249212384224,
0.047084927558898926,
0.02269628830254078,
-0.025479264557361603,
-0.007845920510590076,
-0.04460281506180763,
-0.03104521334171295,
-0.0027124604675918818,
0.0057304841466248035,
-0.012354152277112007,
0.03952576592564583,
0.02702118270099163,
-0.08950649201869965,
-0.014309756457805634,
0.04727296531200409,
-0.020326999947428703,
0.04084203764796257,
0.02707759477198124,
0.02656988985836506,
0.04584387317299843,
-0.048062730580568314,
0.0015148880193009973,
-0.008950648829340935,
-0.006689481902867556,
-0.013472983613610268,
-0.017045721411705017,
-0.04858923703432083,
0.02421940304338932,
-0.015202941372990608,
-0.010746420361101627,
-0.009420746006071568,
-0.015061912126839161,
-0.004698620643466711,
0.04738578945398331,
0.0010688833426684141,
-0.009604084305465221,
0.03568977490067482
] |
7,515 | gitignorefile | _Path | null | class _Path:
def __init__(self, path):
if isinstance(path, str):
abs_path = os.path.abspath(path)
self.__parts = tuple(_path_split(abs_path))
self.__joined = abs_path
self.__is_dir = None
else:
self.__parts = path
self.__joined = None
self.__is_dir = None
@property
def parts(self):
return self.__parts
def join(self, name):
return _Path(self.__parts + (name,))
def relpath(self, base_path):
if self.__parts[: len(base_path.__parts)] == base_path.__parts:
return "/".join(self.__parts[len(base_path.__parts) :])
else:
return None
def parents(self):
for i in range(len(self.__parts) - 1, 0, -1):
yield _Path(self.__parts[:i])
def isfile(self):
return os.path.isfile(str(self))
def isdir(self):
if self.__is_dir is not None:
return self.__is_dir
self.__is_dir = os.path.isdir(str(self))
return self.__is_dir
def __str__(self):
if self.__joined is None:
self.__joined = os.sep.join(self.__parts) if self.__parts != ("",) else os.sep
return self.__joined
| (path) | [
0.01259549055248499,
0.015457217581570148,
-0.05793536454439163,
0.025580331683158875,
0.012274276465177536,
-0.022738073021173477,
0.03920760005712509,
0.043451521545648575,
0.0029128289315849543,
-0.0018993007251992822,
0.08020621538162231,
0.017403969541192055,
0.009855436161160469,
0.0294154342263937,
-0.0811406597495079,
0.019292321056127548,
0.055988609790802,
-0.021706294268369675,
0.001988121308386326,
0.02741027995944023,
0.0215894877910614,
0.011534510180354118,
0.03803955018520355,
0.011407971382141113,
-0.022037241607904434,
0.032257694751024246,
-0.007013177033513784,
0.013539665378630161,
0.017598645761609077,
-0.0746385008096695,
0.002491843653842807,
0.026573175564408302,
0.04827946797013283,
-0.011777854524552822,
-0.005908394698053598,
0.0034895543940365314,
-0.02106386609375477,
0.02005155384540558,
-0.0026938191149383783,
-0.05532671511173248,
-0.013442328199744225,
0.017511041834950447,
-0.019156048074364662,
-0.010687672533094883,
0.01037619262933731,
-0.02075238525867462,
0.002401806181296706,
0.005830524489283562,
-0.010269121266901493,
-0.014269698411226273,
0.04493105411529541,
0.006302612368017435,
-0.03381509706377983,
-0.062335025519132614,
-0.025054708123207092,
0.04072606936097145,
0.03926600515842438,
0.03077816218137741,
0.0011802188819274306,
-0.017588911578059196,
0.01726769655942917,
-0.010531933046877384,
0.050109416246414185,
0.007986553013324738,
-0.02209564484655857,
0.004591903183609247,
-0.05968744307756424,
-0.0409596785902977,
-0.011923860758543015,
0.07051138579845428,
-0.08433333039283752,
0.027780162170529366,
0.01746237277984619,
-0.006818501744419336,
0.02250446192920208,
0.002146295038983226,
-0.019204717129468918,
0.002637850120663643,
0.07915496826171875,
-0.04072606936097145,
-0.06490474194288254,
-0.03278331831097603,
-0.04975900053977966,
-0.05680624768137932,
0.056027546525001526,
0.02721560373902321,
0.020635580644011497,
-0.058636195957660675,
-0.009534222073853016,
0.05960956960916519,
-0.03936334326863289,
0.01383167877793312,
0.00010973298049066216,
0.016839411109685898,
0.004769544582813978,
-0.013666205108165741,
0.020927593111991882,
-0.034262850880622864,
0.0024881933350116014,
-0.03219929337501526,
-0.035197291523218155,
0.0147466529160738,
-0.05014835298061371,
0.020032087340950966,
0.008731186389923096,
0.0020282731857150793,
-0.02721560373902321,
-0.008380770683288574,
0.02462642267346382,
-0.06591705232858658,
-0.06400923430919647,
-0.02227085269987583,
-0.011612380854785442,
0.06350307911634445,
-0.0027911567594856024,
-0.03474953770637512,
-0.036871496587991714,
-0.06069975346326828,
0.049875807017087936,
-0.033425744622945786,
0.026573175564408302,
0.048084795475006104,
-0.03819528967142105,
0.021394813433289528,
0.05435333773493767,
0.007383060175925493,
0.008779855445027351,
0.005470375530421734,
-0.030622420832514763,
-0.03714404255151749,
0.0023482705000787973,
0.032024085521698,
-0.02741027995944023,
0.014444906264543533,
0.011709718033671379,
0.06237395852804184,
-0.022738073021173477,
0.026203293353319168,
-0.024061864241957664,
0.07191304862499237,
0.05081024765968323,
-0.03103123977780342,
-0.009894371032714844,
0.021511618047952652,
0.01914631389081478,
0.03490527719259262,
0.029026083648204803,
0.01712169125676155,
-0.016586333513259888,
0.01779332011938095,
-0.05548245459794998,
-0.05960956960916519,
0.06237395852804184,
0.034691136330366135,
0.04898029938340187,
-0.0561443492770195,
-0.05069344490766525,
-0.0026840853970497847,
0.048357341438531876,
-0.020363034680485725,
-0.0215894877910614,
-0.09048507362604141,
-0.001534284558147192,
0.0032170091290026903,
0.027118267491459846,
0.03642374649643898,
0.024976838380098343,
-0.023283163085579872,
-0.0048985169269144535,
0.0032170091290026903,
0.03264704346656799,
-0.019068444147706032,
-0.03286118805408478,
0.0038545706775039434,
-0.08067343384027481,
-0.006906105671077967,
0.015106801874935627,
0.07008310407400131,
-0.004212286323308945,
-0.022738073021173477,
0.028383655473589897,
-0.025482993572950363,
0.0010147448629140854,
-0.005592047236859798,
0.025229915976524353,
0.05890874192118645,
0.021394813433289528,
0.010230186395347118,
0.07853201031684875,
0.03151792660355568,
-0.12521514296531677,
0.026242228224873543,
0.02057717740535736,
0.04263388738036156,
0.01737476885318756,
-0.022777007892727852,
0.014104223810136318,
-0.019321521744132042,
-0.030233070254325867,
0.06883718073368073,
-0.019623268395662308,
0.018396813422441483,
0.03323107212781906,
-0.0029468971770256758,
0.0020647747442126274,
0.02663157880306244,
-0.019710872322320938,
0.04072606936097145,
-0.017423437908291817,
0.03381509706377983,
-0.014824522659182549,
-0.045398276299238205,
0.032257694751024246,
-0.048084795475006104,
0.00594733003526926,
-0.032238226383924484,
-0.0006533788982778788,
0.04259495064616203,
-0.008896660059690475,
0.064359650015831,
0.0716405063867569,
0.026436902582645416,
0.029532240703701973,
-0.0022107812110334635,
-0.007285722531378269,
-0.06646214425563812,
-0.023536240682005882,
-0.0012568723177537322,
0.013452062383294106,
-0.0333673432469368,
0.032588642090559006,
-0.06938227266073227,
-0.01002577692270279,
0.009466085582971573,
0.007538800127804279,
0.0060738688334822655,
0.0031513061840087175,
-0.008035222068428993,
-0.008293166756629944,
-0.005811057053506374,
-0.027994304895401,
-0.026748383417725563,
-0.002674351679161191,
-0.033172667026519775,
0.0015075167175382376,
-0.01197252981364727,
0.036131732165813446,
-0.03685203194618225,
0.0482405349612236,
-0.042283471673727036,
-0.006526488810777664,
0.0681752860546112,
-0.04376300424337387,
-0.012799900025129318,
0.0354309007525444,
0.026787318289279938,
-0.03802008181810379,
0.013890081085264683,
-0.006726031191647053,
0.04796798899769783,
-0.00762640405446291,
-0.022056709975004196,
0.018659625202417374,
-0.01821187324821949,
-0.003316780086606741,
-0.09780485928058624,
-0.0070569789968431,
-0.03550877049565315,
-0.01921444945037365,
0.010804478079080582,
0.13814157247543335,
0.015583756379783154,
-0.017520776018500328,
0.0170438215136528,
0.0008833390893414617,
0.018932171165943146,
-0.04072606936097145,
-0.007032644469290972,
0.013539665378630161,
0.03414604440331459,
-0.04426915943622589,
0.011057555675506592,
-0.036793626844882965,
-0.04072606936097145,
0.024723760783672333,
-0.003662328701466322,
-0.03297799080610275,
0.002559979911893606,
-0.0216673593968153,
0.05844151973724365,
0.07530039548873901,
-0.008551111444830894,
-0.020363034680485725,
-0.014094490557909012,
0.052406586706638336,
0.007407394237816334,
0.0016243219142779708,
-0.04018097743391991,
0.04384087398648262,
-0.07051138579845428,
-0.006166339386254549,
0.0003796168020926416,
0.013510464690625668,
0.04131009429693222,
-0.01845521666109562,
-0.04578762501478195,
-0.024490149691700935,
0.006623826455324888,
0.018172938376665115,
0.014493574388325214,
-0.003124538343399763,
-0.05443120747804642,
0.011232763528823853,
0.0406481996178627,
0.043295782059431076,
0.03463273122906685,
0.012206139974296093,
-0.0016206717118620872,
-0.07549507170915604,
0.06591705232858658,
-0.056767310947179794,
0.10255493968725204,
-0.030194135382771492,
0.04162157326936722,
-0.049603261053562164,
0.0019966382533311844,
0.009797033853828907,
0.03792274370789528,
0.01436703559011221,
0.02746868133544922,
-0.02587234415113926,
-0.0030710026621818542,
0.014532510191202164,
0.006502154283225536,
-0.01678100973367691,
0.0665789470076561,
0.016450060531497,
-0.030135734006762505,
0.02486003376543522,
0.00746093038469553,
0.09546875953674316,
-0.03879878297448158,
-0.014006886631250381,
-0.013452062383294106,
-0.027721760794520378,
-0.012877769768238068,
0.023205293342471123,
0.05910341441631317,
0.0406481996178627,
0.024821098893880844,
0.03465219959616661,
0.000715431640855968,
0.0027546552009880543,
-0.05380824953317642,
-0.046916741877794266,
0.01331578940153122,
-0.033503614366054535,
0.056767310947179794,
-0.008419705554842949,
0.02275753952562809,
0.09905078262090683,
-0.0004383235645946115,
-0.011028354987502098,
-0.0027449214830994606,
0.00044227790203876793,
-0.022037241607904434,
0.01492186076939106,
0.014337834902107716,
-0.013091912493109703,
0.017345568165183067,
-0.0057575213722884655,
-0.028188981115818024,
0.03607333078980446,
-0.08277592808008194,
0.048006925731897354,
0.010444329120218754,
0.03490527719259262,
-0.015243074856698513,
0.010668205097317696,
0.017131425440311432,
0.007684806827455759,
0.02106386609375477,
0.025599800050258636,
0.017987996339797974,
-0.03323107212781906,
0.0198860801756382,
0.09928439557552338,
-0.004689240828156471,
0.014386503025889397,
-0.0024881933350116014,
-0.015875769779086113,
-0.01896137185394764,
0.016819944605231285,
-0.04282856360077858,
-0.02924022637307644,
-0.0684867650270462,
0.08347675949335098,
-0.009174072183668613,
-0.01470771711319685,
-0.02791643515229225,
0.058714065700769424,
-0.02536618895828724,
-0.026670513674616814,
0.0665789470076561,
0.0039616418071091175,
-0.0025940481573343277,
0.08269806206226349,
0.06428177654743195,
-0.026767851784825325,
-0.03807848319411278,
-0.01302377600222826,
-0.06591705232858658,
0.0039032394997775555,
0.008794455789029598,
0.018153470009565353,
-0.02832525409758091,
-0.03920760005712509,
-0.046332716941833496,
0.06794167309999466,
-0.012030932120978832,
-0.07397660613059998,
-0.035859186202287674,
-0.04341258853673935,
0.01979847624897957,
0.016625268384814262,
-0.030116265639662743,
-0.057273466140031815,
-0.019068444147706032,
0.033756691962480545,
0.01803666539490223,
-0.015418282710015774,
-0.011223030276596546,
-0.02898714877665043,
-0.04660526290535927,
0.015554554760456085,
-0.021297475323081017,
-0.028714604675769806,
-0.0028641601093113422,
-0.025677669793367386,
0.004879049025475979,
-0.019594067707657814,
0.012984841130673885,
-0.0228548776358366,
0.04430809244513512,
0.03648214787244797,
-0.010853147134184837,
-0.06050507724285126,
0.03550877049565315,
-0.021141735836863518,
0.00714458292350173,
-0.006906105671077967,
0.021141735836863518,
0.0533020906150341,
-0.004073580261319876,
-0.05945383012294769,
-0.032919589430093765,
0.01619698293507099,
0.010892082005739212,
-0.025599800050258636,
0.022562865167856216,
0.031401123851537704,
0.03938280791044235,
0.1179732233285904,
-0.03373722732067108,
-0.007855148054659367,
-0.03194621205329895,
0.028870344161987305,
0.002074508462101221,
-0.036793626844882965,
-0.06284118443727493,
0.05918128415942192,
-0.04325684905052185,
-0.06050507724285126,
0.05073237791657448,
-0.011330101639032364,
0.001279989955946803,
-0.01693674921989441,
-0.007947618141770363,
-0.018902970477938652,
-0.07273068279027939,
-0.059142351150512695,
-0.05960956960916519,
-0.023205293342471123,
0.006093336269259453,
-0.006288011558353901,
-0.0340876430273056,
-0.013101646676659584,
0.04563188552856445,
-0.012624692171812057,
-0.026826253160834312,
0.06147845461964607,
0.0737040638923645,
-0.0687982439994812,
0.01914631389081478,
-0.02959064207971096,
0.04290643334388733,
-0.06872037798166275,
0.033172667026519775,
-0.05057663843035698,
-0.041855186223983765,
0.015564288944005966,
-0.051550015807151794,
0.0028787606861442327,
0.03870144486427307,
0.0016364890616387129,
0.08425546437501907,
-0.019516196101903915,
-0.03412657603621483,
-0.03920760005712509,
-0.04356832802295685,
0.005635849200189114,
-0.0457097552716732,
-0.015554554760456085,
-0.007154316641390324,
0.004523766692727804,
0.010337257757782936,
-0.01231321133673191,
0.005840258207172155,
0.04189411923289299,
-0.00030889493064023554,
-0.03297799080610275,
-0.029863188043236732,
-0.0072078523226082325,
-0.026514774188399315,
-0.04718928784132004,
-0.0023689549416303635,
0.0089745307341218,
0.030739227309823036,
0.006618959363549948,
0.04621591046452522,
-0.004776844754815102,
0.011534510180354118,
-0.015418282710015774,
0.05030409246683121,
0.0689539834856987,
0.11587072908878326,
-0.03420444577932358,
0.018844567239284515,
-0.007962219417095184,
0.014775853604078293,
0.025833409279584885,
0.05423653498291969,
-0.020947059616446495,
-0.0028349587228149176,
0.057623881846666336,
-0.012916704639792442,
0.050109416246414185,
0.030894966796040535,
0.06646214425563812,
0.018951639533042908,
0.014483841136097908,
0.01821187324821949,
-0.0013809778029099107,
0.04679993912577629,
0.022699138149619102,
0.007962219417095184,
0.013140581548213959,
-0.045826561748981476,
0.008697118610143661,
-0.015282009728252888,
-0.053068481385707855,
0.034788474440574646,
-0.060076791793107986,
0.023828255012631416,
0.021531086415052414,
0.015097067691385746,
0.05193936452269554,
0.011709718033671379,
0.043373651802539825,
-0.031732071191072464,
-0.007319790776818991,
0.04442489892244339,
-0.034184981137514114,
-0.02359464392066002,
0.016479263082146645,
0.033075328916311264,
0.001558618969283998,
0.012069866992533207,
0.022952215746045113,
0.010317790322005749,
0.01803666539490223,
-0.01163184829056263,
-0.001637705834582448,
0.004336392041295767,
-0.04668313264846802,
-0.03546983748674393,
0.02258233353495598,
0.05540458485484123,
-0.026436902582645416,
-0.0457097552716732,
-0.0034433191176503897,
-0.05007048323750496,
0.016128847375512123,
0.05848045274615288,
0.04493105411529541,
-0.06591705232858658,
-0.014814788475632668,
-0.030719758942723274,
0.009300611913204193,
-0.010950484313070774,
0.010940751060843468,
-0.019934749230742455,
-0.01856228895485401,
0.08495629578828812,
0.011544244363904,
-0.0509270541369915,
0.05225084722042084,
0.02579447440803051,
-0.05100492388010025,
0.03406817466020584,
-0.0008973313961178064,
0.0357423834502697,
0.035353031009435654,
-0.005295167677104473,
-0.001613371423445642,
0.010619536973536015,
-0.05999892204999924,
-0.03101177141070366,
-0.03936334326863289,
-0.006054401397705078,
-0.05225084722042084,
-0.03161526471376419,
-0.020090488716959953,
0.023750383406877518,
-0.0717962458729744,
-0.007241920568048954,
0.015535087324678898,
-0.01904897578060627,
0.0011741352500393987,
-0.041271161288022995,
0.04964219778776169,
-0.04975900053977966,
-0.008989131078124046,
-0.016420859843492508,
-0.024392813444137573,
-0.055248845368623734,
-0.00859978049993515,
-0.035372499376535416,
0.020090488716959953,
0.01436703559011221,
-0.059882115572690964,
-0.04637165367603302,
-0.05579393729567528,
-0.01856228895485401,
-0.05295167490839958,
-0.031245382502675056,
-0.014843990094959736,
-0.026748383417725563,
0.016128847375512123,
-0.05556032434105873,
0.003995710052549839,
0.04368513450026512,
0.018494151532649994,
-0.07051138579845428,
-0.028461525216698647,
0.01180705614387989,
0.05443120747804642,
-0.07358725368976593,
0.030641889199614525,
0.04119328781962395,
0.024684825912117958,
-0.041699446737766266,
0.00922760833054781,
-0.0152625422924757,
0.00889179389923811,
0.03474953770637512,
0.004314491059631109,
0.006706563290208578,
0.016927015036344528,
-0.043023236095905304,
-0.011135426349937916,
-0.005738053936511278,
-0.039986301213502884,
-0.06763019412755966,
-0.036462679505348206,
-0.007071579806506634,
0.023983994498848915,
-0.03278331831097603,
0.0038059018552303314,
-0.001576869748532772,
-0.039577484130859375,
0.03994736820459366,
-0.02756601944565773,
-0.0002710245025809854,
0.07058925926685333,
0.04197198897600174,
0.008843124844133854,
-0.0255413968116045,
0.04099861532449722,
-0.04473637789487839,
0.0035941924434155226,
-0.004462930839508772,
0.02637850120663643,
0.029863188043236732,
-0.01979847624897957,
0.014610379934310913,
0.06295798718929291,
-0.041855186223983765,
-0.02267966978251934,
-0.026320097967982292,
0.0536135733127594,
-0.00007231882773339748,
-0.008390504866838455,
-0.048590950667858124,
0.03196568042039871,
-0.023088488727808,
-0.00020440905063878745,
0.031576331704854965,
0.0017910125898197293,
0.024684825912117958,
-0.010415127500891685,
0.04777331277728081,
0.042711757123470306,
-0.08674730360507965,
0.0608944296836853,
-0.0409596785902977,
0.020382501184940338,
-0.026261694729328156,
0.03994736820459366,
-0.03103123977780342,
0.03268598020076752,
-0.07903816550970078,
0.023399969562888145,
-0.010619536973536015,
-0.01836761273443699,
0.007986553013324738,
-0.005606648046523333,
-0.024042397737503052,
0.01914631389081478,
0.024645891040563583,
-0.08184149116277695,
0.024431748315691948,
0.0019479695474728942,
0.026670513674616814,
0.004482398275285959,
-0.042283471673727036,
0.014727185480296612,
0.017316365614533424,
0.002282567787915468,
0.02225138433277607,
0.009957640431821346,
0.003718297928571701,
0.00763127114623785,
-0.029473837465047836,
-0.013627269305288792,
-0.0171995609998703,
0.04769544303417206,
0.012342412956058979,
-0.030719758942723274,
0.013510464690625668,
0.01770571619272232,
0.0057867225259542465,
0.0035747247748076916,
-0.006672495044767857,
0.007806478999555111,
-0.06548876315355301,
-0.029804784804582596,
-0.011145159602165222,
-0.014308633282780647,
-0.04629378020763397,
-0.04956432804465294,
-0.016002308577299118,
0.0022229484748095274,
0.0030491016805171967,
0.05135533958673477,
0.04485318437218666,
-0.028967682272195816,
0.010152315720915794
] |
7,516 | gitignorefile | __init__ | null | def __init__(self, path):
if isinstance(path, str):
abs_path = os.path.abspath(path)
self.__parts = tuple(_path_split(abs_path))
self.__joined = abs_path
self.__is_dir = None
else:
self.__parts = path
self.__joined = None
self.__is_dir = None
| (self, path) | [
0.009275514632463455,
0.061277784407138824,
-0.028647538274526596,
0.024717235937714577,
0.0029368095565587282,
-0.03898860141634941,
0.0371369943022728,
0.07797720283269882,
-0.0282807108014822,
-0.0026092843618243933,
0.07588104158639908,
0.0987292006611824,
-0.029957640916109085,
0.029905235394835472,
-0.0529630109667778,
0.03170444071292877,
0.03867417946457863,
0.030307000502943993,
-0.05055242404341698,
0.029486004263162613,
-0.01725839637219906,
0.008672867901623249,
0.014035547152161598,
0.08608236163854599,
0.01380846370011568,
0.054570067673921585,
0.01986113004386425,
0.013232018798589706,
0.016454866155982018,
-0.06690248847007751,
0.035267915576696396,
0.04325079545378685,
0.016542207449674606,
-0.0005933665088377893,
0.00004616058504325338,
-0.034464385360479355,
-0.015677539631724358,
0.022918030619621277,
-0.08440542966127396,
-0.03467400372028351,
0.05331237241625786,
0.011415345594286919,
-0.046395037323236465,
0.020891742780804634,
0.01401807926595211,
0.01830647699534893,
-0.0002490556216798723,
-0.024088388308882713,
-0.021695271134376526,
0.005065723322331905,
0.01937202550470829,
0.012734180316329002,
-0.01779117062687874,
-0.03916328400373459,
-0.03954757750034332,
0.09670291095972061,
0.06697236001491547,
0.052194420248270035,
-0.024490151554346085,
0.0013319358695298433,
-0.031599633395671844,
0.009555002674460411,
0.060544129461050034,
-0.008738372474908829,
-0.008044019341468811,
0.02707541733980179,
-0.057190269231796265,
-0.0105419447645545,
-0.005899820942431688,
0.07231757044792175,
-0.01679549366235733,
0.024140791967511177,
-0.011293069459497929,
0.008214332163333893,
0.054570067673921585,
0.006873662583529949,
-0.05111140385270119,
0.037486352026462555,
0.0686492845416069,
0.0022009694948792458,
-0.04649984836578369,
-0.0092842485755682,
-0.0588672012090683,
-0.010148914530873299,
0.016489803791046143,
0.019424429163336754,
-0.0018199484329670668,
-0.055967509746551514,
-0.015214637853205204,
0.08084195852279663,
-0.04143412411212921,
0.027826542034745216,
-0.03933796286582947,
0.029328791424632072,
0.005908554885536432,
-0.009310450404882431,
0.03186165168881416,
-0.04167867451906204,
-0.0048473733477294445,
-0.0026595047675073147,
-0.026516441255807877,
-0.03270011767745018,
-0.07644002139568329,
-0.016874099150300026,
-0.007930477149784565,
-0.021677803248167038,
0.017074981704354286,
-0.05149569734930992,
0.002938993042334914,
-0.03636839985847473,
-0.04307611659169197,
0.019110005348920822,
-0.01675182394683361,
0.11340232938528061,
-0.03661295399069786,
-0.02419319562613964,
-0.014533385634422302,
-0.08796890825033188,
0.04796716198325157,
-0.0044019389897584915,
0.041399188339710236,
0.028909560292959213,
-0.06812524795532227,
0.08559326082468033,
0.06211625039577484,
0.02745971456170082,
-0.006140006240457296,
-0.03556487336754799,
-0.010410934686660767,
-0.017205990850925446,
0.04817677661776543,
0.015179702080786228,
-0.01930215209722519,
-0.03794052079319954,
-0.039931874722242355,
0.016716886311769485,
-0.03308441489934921,
0.0467793345451355,
-0.031093060970306396,
0.06470151245594025,
0.02550329640507698,
-0.014943883754312992,
0.019179876893758774,
-0.03710205852985382,
0.009327918291091919,
0.06714703887701035,
0.025311149656772614,
-0.0028057994786649942,
-0.032822392880916595,
0.05387134850025177,
-0.04520721361041069,
-0.056351806968450546,
0.043285731226205826,
0.019494300708174706,
0.023005371913313866,
-0.060614001005887985,
-0.030935848131775856,
-0.007100746966898441,
0.053591858595609665,
-0.003659548470750451,
0.0001783647749107331,
-0.06833486258983612,
-0.017005110159516335,
-0.009913096204400063,
0.01438490767031908,
0.025538234040141106,
0.020891742780804634,
-0.042062971740961075,
-0.02141578309237957,
-0.013625049032270908,
0.026114678010344505,
-0.025800254195928574,
-0.05862264707684517,
0.01479540579020977,
-0.06190663203597069,
-0.002508843084797263,
0.006755753420293331,
0.04601074382662773,
-0.0001735883706714958,
-0.003722870023921132,
0.012524564750492573,
0.0007942486554384232,
-0.00038866326212882996,
0.01897026039659977,
0.040735404938459396,
0.04125944525003433,
0.010210053063929081,
0.03254290670156479,
0.08377658575773239,
0.0696624293923378,
-0.07993362098932266,
0.0374164804816246,
-0.005345211364328861,
0.0029062405228614807,
0.02141578309237957,
0.0039717890322208405,
0.02574784867465496,
-0.04297130927443504,
-0.044997598975896835,
0.07986374944448471,
-0.001536093303002417,
-0.0021376479417085648,
0.03165203705430031,
-0.02787894755601883,
0.01380846370011568,
0.02943360060453415,
-0.005751342978328466,
0.0611729770898819,
-0.0002281759079778567,
0.04985370486974716,
-0.003919384907931089,
-0.04838639125227928,
0.04063059389591217,
-0.0038298615254461765,
0.025468360632658005,
-0.04276169091463089,
-0.009458928368985653,
0.032333288341760635,
0.04489279165863991,
0.05338224396109581,
0.0746932178735733,
0.045416831970214844,
0.02861260250210762,
0.005017686169594526,
-0.02974802441895008,
-0.04150399565696716,
-0.022935498505830765,
-0.013188349083065987,
-0.03839468955993652,
0.029223984107375145,
0.0167692918330431,
-0.09551508724689484,
-0.007332197856158018,
-0.007589851040393114,
-0.004934713244438171,
0.007244857959449291,
0.023739028722047806,
0.009345386177301407,
-0.06271015852689743,
-0.06623870134353638,
0.005768810864537954,
-0.035267915576696396,
-0.03130267560482025,
-0.039757195860147476,
0.008070221170783043,
-0.006161841098219156,
-0.013109742663800716,
-0.024402812123298645,
0.01450718380510807,
-0.03318922221660614,
0.014332504011690617,
0.08363684266805649,
-0.04870081692934036,
0.0017096817027777433,
0.003860430559143424,
0.008227433077991009,
-0.03318922221660614,
-0.032333288341760635,
-0.0031071226112544537,
0.002380016492679715,
0.00014602165902033448,
-0.049015242606401443,
0.026586314663290977,
0.007616053335368633,
-0.016612078994512558,
-0.06861434876918793,
-0.005821214988827705,
-0.030935848131775856,
0.004947814159095287,
-0.0246823001652956,
0.01013144664466381,
0.00988689437508583,
0.012026726268231869,
0.020664658397436142,
-0.03338136896491051,
-0.007786366157233715,
-0.005345211364328861,
-0.05264858901500702,
0.01372985728085041,
0.05369666963815689,
-0.006812524516135454,
0.00604829890653491,
-0.019162409007549286,
-0.023442070931196213,
0.010140180587768555,
0.010707891546189785,
-0.021712739020586014,
-0.019267216324806213,
-0.05565308406949043,
0.003602777374908328,
0.02688327059149742,
0.016900300979614258,
-0.02304030768573284,
0.005598497577011585,
0.0745534747838974,
0.008258002810180187,
-0.04363509267568588,
-0.015520328655838966,
0.04077034071087837,
-0.08014323562383652,
-0.001480413950048387,
-0.02690073847770691,
0.006821258459240198,
0.035669680684804916,
-0.01275164820253849,
-0.04056072235107422,
-0.060614001005887985,
0.02019302174448967,
0.04167867451906204,
0.03884885832667351,
0.03853443264961243,
0.006052665878087282,
-0.02157299406826496,
0.061766888946294785,
0.05366173014044762,
0.06924320012331009,
0.010873837396502495,
-0.044927727431058884,
-0.04111969843506813,
0.04496266320347786,
-0.023843836039304733,
0.05352198705077171,
-0.011860779486596584,
0.03133761137723923,
-0.007074544671922922,
0.021800078451633453,
0.014760470017790794,
0.015127298422157764,
0.0027424779254943132,
0.05834316089749336,
-0.04953928291797638,
0.03572208434343338,
-0.001930215279571712,
-0.012804052792489529,
0.011738504283130169,
0.007179352920502424,
-0.026219485327601433,
-0.049015242606401443,
-0.012149002403020859,
-0.030638892203569412,
0.07664963603019714,
-0.039687324315309525,
-0.03954757750034332,
0.014760470017790794,
0.030848508700728416,
-0.011939385905861855,
0.016411196440458298,
0.008707803674042225,
0.02199222706258297,
-0.02281322330236435,
-0.007568016182631254,
-0.02150312252342701,
-0.049259793013334274,
-0.02321498841047287,
-0.012681776657700539,
0.0031267739832401276,
-0.04898030310869217,
0.03161710128188133,
0.015336913987994194,
-0.004947814159095287,
0.103620246052742,
-0.01115332543849945,
-0.02541595697402954,
-0.0052229356952011585,
0.02443774789571762,
-0.038220010697841644,
-0.005022053141146898,
0.008707803674042225,
-0.018690772354602814,
0.026865802705287933,
0.005266605410724878,
-0.025643041357398033,
-0.01450718380510807,
-0.07378488034009933,
0.04601074382662773,
0.0205074455589056,
0.026376698166131973,
0.00952880084514618,
-0.018254071474075317,
-0.0026747894007712603,
-0.04146905988454819,
0.047792479395866394,
0.044997598975896835,
0.01708371564745903,
-0.036088913679122925,
0.02435040846467018,
0.060439322143793106,
0.015188436023890972,
0.03982706740498543,
0.01979125663638115,
-0.01766015961766243,
0.026132145896553993,
0.029486004263162613,
-0.05764443799853325,
0.010900039225816727,
0.0006048299255780876,
0.07546181231737137,
-0.00551552465185523,
0.00153718504589051,
0.02190488576889038,
0.040351107716560364,
-0.058832261711359024,
-0.016384994611144066,
0.07678937911987305,
-0.008179396390914917,
0.0046639591455459595,
0.06498100608587265,
0.049818769097328186,
-0.01683916337788105,
-0.03301454335451126,
0.04454343020915985,
-0.05240403488278389,
0.0027228263206779957,
-0.022428927943110466,
0.012681776657700539,
-0.0010742826852947474,
0.0029979476239532232,
-0.03552993759512901,
0.04608061537146568,
-0.016874099150300026,
-0.0529630109667778,
0.0029673785902559757,
-0.034219834953546524,
-0.003458666382357478,
-0.005943491123616695,
-0.009860692545771599,
-0.0014050832251086831,
-0.0359841026365757,
0.049993447959423065,
-0.008450150489807129,
-0.04636010155081749,
0.02936372719705105,
-0.03787064924836159,
-0.02485698089003563,
0.03280492499470711,
-0.01666448265314102,
-0.04276169091463089,
0.010934974998235703,
-0.01663828082382679,
-0.018446220085024834,
-0.039442770183086395,
0.000016444495486211963,
0.026271888986229897,
0.031110528856515884,
0.02772173471748829,
-0.024402812123298645,
-0.054814621806144714,
0.03254290670156479,
0.03902353718876839,
-0.016411196440458298,
-0.021695271134376526,
0.0046552252024412155,
0.03685750439763069,
-0.012900127097964287,
-0.03416743129491806,
-0.03867417946457863,
-0.0030394340865314007,
0.03505830094218254,
0.02483951300382614,
0.017468011006712914,
-0.0372767373919487,
0.03472640737891197,
0.06553997844457626,
-0.048106905072927475,
-0.009336652234196663,
0.011537621729075909,
0.0038800821639597416,
0.026464037597179413,
-0.03334643319249153,
-0.061592210084199905,
-0.0164810698479414,
-0.015188436023890972,
-0.012812786735594273,
0.04733831062912941,
0.015957029536366463,
-0.0022730249911546707,
0.003482684725895524,
-0.040595658123493195,
-0.02199222706258297,
-0.05111140385270119,
-0.017232192680239677,
-0.05125114694237709,
-0.021450718864798546,
0.035669680684804916,
-0.015799816697835922,
-0.011895716190338135,
-0.04985370486974716,
0.013511506840586662,
0.01786104217171669,
0.009074632078409195,
0.03214114159345627,
0.07029128074645996,
-0.07951439172029495,
-0.011266867630183697,
-0.0031857285648584366,
0.07664963603019714,
-0.03794052079319954,
0.043704964220523834,
-0.03133761137723923,
-0.02124110236763954,
-0.00884318072348833,
-0.029066771268844604,
0.0026595047675073147,
-0.01066422089934349,
-0.017101183533668518,
0.06840473413467407,
-0.05149569734930992,
-0.054814621806144714,
-0.020717062056064606,
-0.04297130927443504,
-0.019738852977752686,
-0.04000174626708031,
-0.026691121980547905,
0.00386261404491961,
0.007786366157233715,
0.04702388867735863,
-0.03787064924836159,
-0.0014498449163511395,
-0.019232280552387238,
0.02403598465025425,
-0.014664395712316036,
-0.03472640737891197,
-0.02625442110002041,
-0.026586314663290977,
-0.04031617194414139,
-0.056771036237478256,
0.019179876893758774,
0.01086510345339775,
0.06365343183279037,
0.02387877181172371,
0.015258308500051498,
-0.018184199929237366,
-0.017232192680239677,
0.07476308941841125,
0.06124284863471985,
0.1178741455078125,
-0.03041180782020092,
0.007100746966898441,
-0.0051050265319645405,
0.023651687428355217,
0.028961963951587677,
0.024053452536463737,
0.006166208069771528,
-0.029381195083260536,
0.019965937361121178,
-0.021642865613102913,
0.0007920651696622372,
0.039757195860147476,
0.07644002139568329,
0.014297567307949066,
0.018044456839561462,
-0.0354076586663723,
-0.05083191394805908,
0.023267392069101334,
0.03766103461384773,
-0.021800078451633453,
0.006380191072821617,
-0.07259705662727356,
-0.0044805449433624744,
-0.016847897320985794,
-0.045731253921985626,
0.01855102926492691,
-0.0817502960562706,
0.03849949687719345,
-0.005384514573961496,
-0.016865365207195282,
0.004567884840071201,
-0.01606183685362339,
0.029311323538422585,
-0.009013494476675987,
0.003327656304463744,
-0.009039696305990219,
-0.028245775029063225,
0.03201886638998985,
-0.009144504554569721,
0.027180226519703865,
0.013520240783691406,
0.05135595425963402,
0.03222848102450371,
0.007738329004496336,
0.03776584193110466,
0.0041617536917328835,
-0.03909340873360634,
0.01524084061384201,
-0.04953928291797638,
-0.0515306331217289,
0.026464037597179413,
0.008878116495907307,
-0.03350364789366722,
-0.062430672347545624,
0.030307000502943993,
-0.054395388811826706,
0.03525044769048691,
0.05404602736234665,
-0.024001048877835274,
-0.04967902600765228,
0.0052884407341480255,
-0.05687584728002548,
0.0020732346456497908,
-0.03338136896491051,
-0.021206166595220566,
0.009100833907723427,
-0.04740818217396736,
0.0742739886045456,
-0.002184593118727207,
-0.03301454335451126,
0.025730380788445473,
0.04660465568304062,
-0.05970566347241402,
0.0241058561950922,
0.040595658123493195,
0.028560198843479156,
0.028245775029063225,
0.02607974223792553,
0.008450150489807129,
0.025974933058023453,
-0.014708065427839756,
-0.0013013668358325958,
-0.013467837125062943,
-0.0008242718176916242,
-0.04744311794638634,
-0.035198044031858444,
-0.009965500794351101,
0.04538189619779587,
-0.06746146082878113,
-0.009362854063510895,
0.030726233497262,
-0.0329621396958828,
0.024629896506667137,
-0.06218612194061279,
0.051879994571208954,
-0.06679767370223999,
-0.012900127097964287,
-0.022027162835001945,
-0.005965325981378555,
-0.05904188007116318,
0.005991527810692787,
-0.03839468955993652,
0.07144416868686676,
0.03098825365304947,
-0.05960085615515709,
-0.036508142948150635,
-0.03521551191806793,
-0.018341412767767906,
-0.06777588278055191,
-0.03561727702617645,
-0.011424079537391663,
-0.02869994379580021,
0.01599196530878544,
-0.006450063548982143,
0.02599240094423294,
0.030883444473147392,
0.0017719113966450095,
-0.018917856737971306,
-0.022446395829319954,
0.004808070138096809,
0.061452466994524,
-0.03923315554857254,
0.013572645373642445,
0.03145989030599594,
-0.03933796286582947,
-0.016201579943299294,
0.033625923097133636,
-0.011572557501494884,
-0.0008608454372733831,
0.011301803402602673,
0.02754705399274826,
0.00731472996994853,
0.008996025659143925,
-0.006266649346798658,
-0.02901436761021614,
0.01209659781306982,
-0.0045242151245474815,
-0.029311323538422585,
-0.048351455479860306,
-0.02426306903362274,
0.03259531036019325,
-0.030726233497262,
0.04702388867735863,
0.0234595388174057,
-0.049748897552490234,
0.022219311445951462,
-0.008306039497256279,
-0.08147080987691879,
0.04880562424659729,
0.05254377797245979,
-0.003925935830920935,
0.021625397726893425,
0.059391241520643234,
-0.028088562190532684,
-0.027826542034745216,
0.002056858269497752,
-0.004685794003307819,
-0.015695009380578995,
-0.020088212564587593,
0.017188522964715958,
0.040840212255716324,
-0.02952094003558159,
0.004877942148596048,
-0.007244857959449291,
0.06323420256376266,
0.016323857009410858,
-0.016900300979614258,
0.011328005231916904,
-0.011633696034550667,
-0.05851783975958824,
-0.019075069576501846,
0.026848334819078445,
0.006179308984428644,
-0.007332197856158018,
0.007035241927951574,
0.04772260785102844,
0.022603606805205345,
-0.07692912220954895,
0.06770601123571396,
0.013066072948276997,
0.02927638776600361,
0.004572252277284861,
0.007899908348917961,
-0.04856107383966446,
0.04150399565696716,
-0.06106816977262497,
0.04146905988454819,
0.012087863869965076,
0.009834490716457367,
-0.046150486916303635,
-0.011249399743974209,
0.0011517970124259591,
0.05327743664383888,
-0.00185925152618438,
-0.08594261854887009,
0.034778811037540436,
-0.017310800030827522,
0.04007161781191826,
-0.009118301793932915,
-0.05477968603372574,
0.029311323538422585,
0.03374819830060005,
0.03643827140331268,
0.09062404185533524,
0.0049041444435715675,
-0.013293157331645489,
0.037311673164367676,
0.003663915442302823,
-0.05970566347241402,
-0.023232456296682358,
0.03572208434343338,
0.014245163649320602,
-0.028874622657895088,
0.039198219776153564,
0.009921831078827381,
-0.015188436023890972,
0.014227695763111115,
0.026533909142017365,
-0.01832394488155842,
-0.08426568657159805,
-0.015363116748631,
-0.014812873676419258,
0.0123411500826478,
-0.05215948447585106,
-0.061766888946294785,
-0.0271278228610754,
0.02256867103278637,
-0.006760120391845703,
0.039687324315309525,
0.046709463000297546,
0.0017708196537569165,
-0.005965325981378555
] |
7,517 | gitignorefile | __str__ | null | def __str__(self):
if self.__joined is None:
self.__joined = os.sep.join(self.__parts) if self.__parts != ("",) else os.sep
return self.__joined
| (self) | [
-0.03675675392150879,
0.03328021988272667,
-0.012589779682457447,
0.038714416325092316,
0.02119673229753971,
-0.08282927423715591,
0.03260516747832298,
0.015053730458021164,
0.07533615827560425,
-0.02776164561510086,
0.01793959178030491,
-0.022023675963282585,
-0.01561908982694149,
0.04806393012404442,
0.011847218498587608,
0.03753306716680527,
-0.026394657790660858,
-0.05265430361032486,
0.034512195736169815,
0.08343682438135147,
-0.018074603751301765,
0.032470155507326126,
0.035474151372909546,
-0.025837738066911697,
-0.018682152032852173,
0.009796738624572754,
0.012193184345960617,
-0.03635172173380852,
-0.02001538686454296,
-0.008716650307178497,
0.035474151372909546,
-0.025095175951719284,
0.03952448070049286,
-0.05805474519729614,
0.03144069388508797,
0.02349192090332508,
-0.017332041636109352,
0.036250464618206024,
0.003603107063099742,
-0.032132625579833984,
0.014994663186371326,
0.016125380992889404,
0.0019239073153585196,
-0.02175365388393402,
-0.03085002303123474,
-0.00442583067342639,
0.02982056327164173,
0.04654505476355553,
0.016192886978387833,
-0.011467499658465385,
0.04762514308094978,
0.040604569017887115,
-0.05039286985993385,
-0.0483677051961422,
-0.0661216527223587,
0.03260516747832298,
0.07432357966899872,
-0.018850916996598244,
-0.010919017717242241,
0.023221898823976517,
0.002803588518872857,
-0.02617526426911354,
0.08789218962192535,
-0.016834188252687454,
0.039389468729496,
-0.022563720121979713,
-0.028959868475794792,
0.03307770565152168,
0.060383688658475876,
0.06456902623176575,
0.019593477249145508,
-0.04435112699866295,
-0.030698135495185852,
0.0066492934711277485,
0.009341076016426086,
-0.0075479610823094845,
-0.03544039651751518,
0.040672075003385544,
0.034596577286720276,
-0.058628544211387634,
-0.005248554050922394,
-0.02023477852344513,
-0.04165090620517731,
-0.003442781511694193,
0.041549645364284515,
-0.030968157574534416,
-0.05943860858678818,
-0.03550790250301361,
-0.06166629120707512,
0.024150099605321884,
-0.022664977237582207,
0.051034171134233475,
-0.04641004279255867,
0.045734990388154984,
-0.02158488892018795,
-0.03346586227416992,
-0.005248554050922394,
-0.035710420459508896,
0.015365944243967533,
-0.02958429418504238,
-0.007353882305324078,
-0.02941552922129631,
-0.05943860858678818,
0.004311915021389723,
0.006666169967502356,
-0.07020574063062668,
-0.009737671352922916,
-0.01126498356461525,
-0.01656416617333889,
0.00855210516601801,
-0.04846896231174469,
0.011096219532191753,
-0.01680043525993824,
-0.02323877438902855,
0.010758692398667336,
-0.02198992297053337,
-0.04846896231174469,
-0.026934701949357986,
0.06828182935714722,
-0.028419824317097664,
0.015804730355739594,
0.019829746335744858,
-0.05052788183093071,
0.00642568152397871,
-0.017019828781485558,
0.0067294565960764885,
-0.046848829835653305,
-0.013222643174231052,
0.01617600955069065,
-0.0953177958726883,
0.023778818547725677,
0.03289206326007843,
-0.013948327861726284,
-0.03682425990700722,
0.0619700662791729,
0.023356908932328224,
-0.07297346740961075,
0.049380287528038025,
0.01804085075855255,
0.11293673515319824,
0.004430049564689398,
-0.037836842238903046,
0.002293078228831291,
0.026782814413309097,
-0.0019734816160053015,
0.0360817015171051,
0.0314575731754303,
0.06537909805774689,
-0.004780234768986702,
-0.018209613859653473,
0.008986672386527061,
0.0037908568046987057,
-0.004379420541226864,
-0.04134713113307953,
-0.006311765871942043,
0.0075479610823094845,
-0.019863499328494072,
0.0024280892685055733,
0.03682425990700722,
-0.04374357685446739,
-0.0014060133835300803,
-0.08944481611251831,
0.004058769438415766,
0.015737224370241165,
0.04644379764795303,
0.030782517045736313,
0.07648375630378723,
0.008391779847443104,
0.022108057513833046,
-0.0018426897004246712,
0.038613155484199524,
-0.03959198668599129,
-0.031103167682886124,
0.06078872084617615,
-0.03716178983449936,
0.031120045110583305,
-0.03803936019539833,
0.03441093862056732,
-0.012716352008283138,
-0.025719603523612022,
0.010648995637893677,
-0.01617600955069065,
0.02735661156475544,
0.021804282441735268,
0.0600799135863781,
-0.01308763213455677,
0.0007810599636286497,
-0.03685801476240158,
0.04735512286424637,
0.01913781464099884,
-0.004311915021389723,
0.009560469537973404,
-0.03611545264720917,
0.01727297529578209,
-0.01944158971309662,
-0.06224009022116661,
0.0237113144248724,
-0.07094830274581909,
-0.007438264321535826,
0.012758542783558369,
-0.040368299931287766,
-0.008682897314429283,
-0.011096219532191753,
-0.00007693255611229688,
0.0187496580183506,
0.028031667694449425,
-0.013982080854475498,
0.023778818547725677,
0.04715260490775108,
0.007780011277645826,
0.030259348452091217,
-0.009121683426201344,
0.004505993332713842,
0.010859950445592403,
0.039389468729496,
0.008037376217544079,
-0.03186260536313057,
0.020538553595542908,
-0.0018954284023493528,
0.05764971300959587,
0.01928970217704773,
-0.029044250026345253,
0.050494126975536346,
-0.013998957350850105,
-0.06615541130304337,
-0.022833742201328278,
-0.01826024241745472,
0.017973344773054123,
0.02151738479733467,
0.0370267778635025,
0.04262973368167877,
-0.04347355291247368,
-0.05795348808169365,
0.0243694931268692,
-0.017298288643360138,
0.0460050106048584,
-0.030647505074739456,
-0.006223164964467287,
-0.019036555662751198,
-0.013627676293253899,
-0.03328021988272667,
-0.031187549233436584,
0.000049211786972591653,
-0.06251011043787003,
0.07385104149580002,
-0.0384443923830986,
-0.005151514895260334,
0.01772019825875759,
0.03564291447401047,
0.006193631328642368,
0.05295807868242264,
0.0745260939002037,
-0.0478951670229435,
0.029685551300644875,
0.012522273696959019,
-0.04347355291247368,
-0.021956169977784157,
-0.003164321184158325,
-0.0065817879512906075,
-0.00632864236831665,
-0.04347355291247368,
-0.001138100866228342,
0.006417243275791407,
-0.011670016683638096,
-0.0013553842436522245,
-0.007860173471271992,
-0.03621670976281166,
0.0010885264491662383,
0.013340778648853302,
0.022175563499331474,
-0.025196434929966927,
0.009003548882901669,
-0.07094830274581909,
0.018293995410203934,
-0.05417317897081375,
0.015247808769345284,
-0.03668925166130066,
-0.0126572847366333,
-0.033803388476371765,
0.010994961485266685,
-0.0016443922650068998,
0.01677512191236019,
-0.0356091633439064,
-0.04927903041243553,
0.030630629509687424,
-0.0046578808687627316,
0.03611545264720917,
-0.05896607041358948,
-0.005699997302144766,
0.044486138969659805,
0.03888317942619324,
0.04111086204648018,
0.006830714643001556,
0.010927455499768257,
0.02570272609591484,
-0.04995408281683922,
0.05660337954759598,
-0.020116643980145454,
0.051270440220832825,
-0.04617377370595932,
-0.0384443923830986,
0.00664507457986474,
0.016311021521687508,
-0.003552478039637208,
-0.04536370933055878,
-0.04965030774474144,
-0.02055543102324009,
0.009712357074022293,
0.05788598209619522,
-0.003400590503588319,
-0.02617526426911354,
-0.010885264724493027,
0.0014186706393957138,
0.06247635930776596,
0.03289206326007843,
0.08903978019952774,
-0.06355644762516022,
-0.0006275904015637934,
0.002212915336713195,
0.06389397382736206,
-0.014918719418346882,
0.038005609065294266,
-0.010269276797771454,
0.04701759293675423,
0.023441292345523834,
-0.01817586086690426,
-0.01898592710494995,
0.07445859163999557,
-0.010387411341071129,
0.036419227719306946,
-0.004278162494301796,
-0.03685801476240158,
-0.021466754376888275,
0.0328751876950264,
0.0628138855099678,
-0.0029512569308280945,
0.028571711853146553,
-0.06112624704837799,
0.004603032488375902,
-0.022580595687031746,
0.0412796251475811,
-0.033010199666023254,
-0.01673293113708496,
0.015585336834192276,
-0.021770529448986053,
0.03905194252729416,
0.017070457339286804,
0.05575956031680107,
0.022158686071634293,
-0.031204426661133766,
0.0027972599491477013,
-0.017821457237005234,
0.020757947117090225,
-0.012665723450481892,
0.00039474907680414617,
-0.010184895247220993,
-0.054915741086006165,
0.0553545244038105,
0.020116643980145454,
0.03533913940191269,
0.043372295796871185,
-0.025365198031067848,
0.02394758351147175,
0.012260690331459045,
0.04904276132583618,
0.002350035822018981,
-0.04593750461935997,
-0.004400515928864479,
-0.02381257154047489,
-0.022799989208579063,
-0.05197925120592117,
-0.00007904210360720754,
0.023913830518722534,
-0.06672920286655426,
-0.03449532017111778,
0.06416399776935577,
0.005193705670535564,
0.01615913398563862,
-0.0011781823122873902,
-0.07553867995738983,
-0.04327103868126869,
0.0422247014939785,
0.022023675963282585,
0.04725386202335358,
-0.031035661697387695,
0.08451691269874573,
0.047962673008441925,
-0.01952597126364708,
0.027457870543003082,
0.013771126046776772,
-0.008611172437667847,
0.01498622540384531,
0.008104881271719933,
-0.032689549028873444,
-0.0768887847661972,
-0.03567666560411453,
0.040132030844688416,
-0.06973320245742798,
0.002689673099666834,
-0.004387858789414167,
0.02188866399228573,
-0.04617377370595932,
-0.01944158971309662,
0.07432357966899872,
-0.03567666560411453,
0.019627230241894722,
0.009982378222048283,
-0.0000762074050726369,
-0.029854316264390945,
-0.013939890079200268,
-0.014142406173050404,
-0.06986821442842484,
-0.01977911777794361,
-0.020268531516194344,
0.06845059990882874,
0.015652842819690704,
-0.03763432800769806,
-0.021854910999536514,
0.060383688658475876,
0.042967263609170914,
-0.08478692919015884,
0.017045143991708755,
-0.012885116040706635,
0.07648375630378723,
-0.007581713609397411,
0.0007863338105380535,
-0.024234481155872345,
0.007531084585934877,
0.07540366798639297,
-0.018918421119451523,
-0.0159650556743145,
-0.010033007711172104,
-0.016311021521687508,
-0.01209192629903555,
0.05100042000412941,
-0.023036258295178413,
0.04728761687874794,
0.006290670484304428,
0.01615913398563862,
-0.007193556986749172,
-0.005489042494446039,
-0.03123817965388298,
-0.02587149105966091,
0.014893405139446259,
0.016024122014641762,
-0.02323877438902855,
-0.04698384180665016,
-0.007408730685710907,
0.006400367245078087,
0.03447844460606575,
-0.015365944243967533,
0.0182771198451519,
-0.038309384137392044,
-0.0182771198451519,
-0.004033454693853855,
-0.04482366517186165,
0.07918397337198257,
-0.028841733932495117,
0.026681557297706604,
0.03493410721421242,
-0.03898443654179573,
0.07567368447780609,
0.03201449289917946,
0.03935571759939194,
-0.005805474705994129,
-0.026917826384305954,
0.02902737259864807,
0.016741368919610977,
-0.08377435058355331,
-0.013366092927753925,
0.034360308200120926,
0.010556175373494625,
-0.01928970217704773,
0.023896953091025352,
-0.006986821070313454,
0.05565829947590828,
-0.0016370088560506701,
-0.0078011066652834415,
-0.013661429286003113,
-0.04833395034074783,
-0.07871143519878387,
-0.0811416357755661,
-0.033162087202072144,
0.04215719550848007,
0.006476310547441244,
0.020133521407842636,
0.009045739658176899,
0.041482143104076385,
-0.007674533873796463,
0.035305388271808624,
0.08971483260393143,
0.043372295796871185,
-0.0806690976023674,
-0.04283225163817406,
-0.011231230571866035,
0.07614622265100479,
-0.04094209894537926,
-0.050089094787836075,
-0.06450152397155762,
0.0036431883927434683,
0.0013068646658211946,
-0.009113244712352753,
0.011644702404737473,
-0.004771796520799398,
0.005522795487195253,
0.01035365927964449,
0.0059109521098434925,
0.021483631804585457,
-0.06413024663925171,
-0.030934404581785202,
0.013433597981929779,
-0.10389099270105362,
0.02641153521835804,
-0.01851338893175125,
-0.020369790494441986,
0.006636636331677437,
-0.015568460337817669,
0.008543667383491993,
-0.013897698372602463,
0.04728761687874794,
-0.023289404809474945,
-0.002142245415598154,
-0.06774178892374039,
-0.011644702404737473,
-0.05552329123020172,
-0.012353509664535522,
-0.0295674167573452,
0.041077107191085815,
-0.04212344437837601,
0.02664780430495739,
-0.007915021851658821,
0.046612560749053955,
-0.002119040349498391,
0.02585461363196373,
0.013172014616429806,
0.11752711236476898,
-0.07810388505458832,
0.010058321990072727,
0.05292432755231857,
0.023829448968172073,
0.0058434465900063515,
0.02079170010983944,
0.009248255752027035,
-0.04529620334506035,
-0.012319757603108883,
-0.0159397404640913,
0.039186954498291016,
0.033010199666023254,
0.0887022539973259,
0.005147296003997326,
-0.025112053379416466,
0.0012952621327713132,
-0.0017962796846404672,
0.027947284281253815,
0.055860817432403564,
-0.021078597754240036,
-0.03533913940191269,
-0.009838929399847984,
-0.044857416301965714,
0.006868686527013779,
-0.018631523475050926,
0.027424117550253868,
-0.024150099605321884,
0.014235226437449455,
0.04992033168673515,
-0.010362097062170506,
0.0025673191994428635,
-0.013501103967428207,
0.01720546931028366,
-0.0071513657458126545,
-0.0032254981342703104,
-0.023137517273426056,
-0.027255352586507797,
0.013627676293253899,
-0.05035911872982979,
0.0018215941963717341,
0.03959198668599129,
0.038950685411691666,
-0.0010331508237868547,
0.0199310053139925,
-0.01842900738120079,
0.016876379027962685,
-0.015821605920791626,
0.023981336504220963,
-0.02577023208141327,
-0.00806690938770771,
-0.003442781511694193,
0.003908991347998381,
0.011956915259361267,
-0.046140022575855255,
0.0028647654689848423,
-0.014952472411096096,
0.04003077372908592,
0.009391705505549908,
0.068585604429245,
-0.05147295817732811,
0.0013596033677458763,
0.01905343309044838,
-0.004527088720351458,
-0.010809320956468582,
0.02782914973795414,
-0.018310872837901115,
0.036486733704805374,
0.08559700101613998,
0.03366837650537491,
-0.032942693680524826,
-0.01944158971309662,
0.05683964863419533,
-0.029702428728342056,
0.04995408281683922,
-0.043136026710271835,
0.07540366798639297,
-0.044789910316467285,
-0.007463579066097736,
-0.012691037729382515,
-0.011518129147589207,
-0.005683120805770159,
-0.015011539682745934,
0.0035419301129877567,
0.03336460143327713,
0.005067132879048586,
0.008784155361354351,
-0.07540366798639297,
0.04593750461935997,
-0.06861936300992966,
-0.007931898348033428,
-0.020774822682142258,
-0.03527163341641426,
0.04424986615777016,
-0.08006154745817184,
-0.007999404333531857,
-0.019255949184298515,
0.035372890532016754,
-0.013408283703029156,
-0.04900900647044182,
-0.028740474954247475,
0.007995184510946274,
-0.03945697471499443,
-0.037769339978694916,
0.0012952621327713132,
-0.00456506060436368,
-0.01984662190079689,
-0.08093911409378052,
-0.04046955704689026,
-0.06656043976545334,
-0.01804085075855255,
-0.04256223142147064,
-0.029381778091192245,
-0.020437296479940414,
-0.05275556445121765,
-0.04300101473927498,
0.024892659857869148,
0.008716650307178497,
-0.006007991265505552,
-0.005919390358030796,
0.0023605837486684322,
0.07540366798639297,
-0.01999850943684578,
-0.020285408943891525,
0.025432704016566277,
-0.007134489715099335,
-0.03479909524321556,
0.04404735192656517,
-0.05221552029252052,
0.01851338893175125,
-0.023036258295178413,
0.006535378284752369,
0.032470155507326126,
0.030934404581785202,
-0.007117613218724728,
-0.01647978462278843,
-0.017737075686454773,
-0.04003077372908592,
-0.048435211181640625,
-0.0483677051961422,
-0.020369790494441986,
0.05565829947590828,
0.007370758801698685,
0.02214181050658226,
-0.024892659857869148,
0.014446181245148182,
-0.018007097765803337,
-0.0024977042339742184,
-0.06882187724113464,
0.038781922310590744,
0.06247635930776596,
-0.010648995637893677,
0.037431810051202774,
0.07297346740961075,
-0.03945697471499443,
0.007531084585934877,
-0.036723002791404724,
-0.0230025053024292,
-0.0064805299043655396,
0.03908569738268852,
0.02634402923285961,
0.03574417158961296,
-0.06696547567844391,
-0.019120939075946808,
-0.011990668252110481,
0.026985330507159233,
0.05197925120592117,
0.01890154555439949,
-0.03410716354846954,
0.019188443198800087,
-0.03908569738268852,
0.05464571714401245,
0.0017583078006282449,
-0.015695033594965935,
-0.0016549399588257074,
0.033162087202072144,
0.09349514544010162,
-0.019070308655500412,
-0.05289057269692421,
0.07391854375600815,
-0.0441148579120636,
0.008666020818054676,
0.0011148958001285791,
0.02806541882455349,
0.02158488892018795,
0.0016760354628786445,
-0.01755143515765667,
0.057278431951999664,
-0.027154095470905304,
0.05572580546140671,
0.006767428480088711,
0.0036727222613990307,
0.010336782783269882,
0.02278311364352703,
0.003560916054993868,
-0.050257857888936996,
0.048907749354839325,
0.0024428560864180326,
0.031930111348629,
0.02808229625225067,
-0.023913830518722534,
0.01329014915972948,
-0.007189337629824877,
-0.016066312789916992,
0.03581167757511139,
-0.031930111348629,
0.010716501623392105,
0.08330181241035461,
0.015720346942543983,
-0.003352070925757289,
-0.016040999442338943,
0.05005534365773201,
0.022361204028129578,
-0.039490729570388794,
0.0033921522554010153,
0.02349192090332508,
0.035710420459508896,
0.006569130811840296,
-0.016032561659812927,
-0.003993373364210129,
-0.03959198668599129,
0.009020425379276276,
0.04735512286424637,
-0.024791402742266655,
-0.027795396745204926,
-0.0460050106048584,
0.01363611500710249,
0.034664083272218704,
0.02641153521835804,
0.036014195531606674,
0.06804556399583817,
0.0014429304283112288,
-0.05174298211932182
] |
7,518 | gitignorefile | isdir | null | def isdir(self):
if self.__is_dir is not None:
return self.__is_dir
self.__is_dir = os.path.isdir(str(self))
return self.__is_dir
| (self) | [
0.031240887939929962,
0.04628546163439751,
0.030503055080771446,
-0.002415949944406748,
0.08098156750202179,
-0.026651931926608086,
0.0434781014919281,
0.00999672431498766,
-0.06287768483161926,
0.016376271843910217,
0.020461341366171837,
-0.030179129913449287,
0.015170546248555183,
0.018553776666522026,
-0.02150510437786579,
-0.010122695937752724,
-0.028379539027810097,
0.019219623878598213,
0.015431487001478672,
-0.015017581172287464,
-0.02989119477570057,
0.0477251335978508,
0.062085866928100586,
-0.058234743773937225,
-0.05132431536912918,
0.03779139742255211,
0.05571531504392624,
-0.027407759800553322,
-0.017231076955795288,
0.030737003311514854,
-0.020749276503920555,
0.025410214439034462,
0.06730467826128006,
-0.032608576118946075,
0.004082820378243923,
0.052620019763708115,
-0.02989119477570057,
0.031024936586618423,
-0.06514517217874527,
-0.062085866928100586,
-0.028235571458935738,
0.02945929393172264,
0.0014846620615571737,
0.018301833420991898,
-0.0031087922398000956,
-0.004696930758655071,
-0.03793536499142647,
-0.015467478893697262,
0.005146828480064869,
-0.018499787896871567,
0.06122206151485443,
-0.022530870512127876,
-0.009011448360979557,
-0.01185030210763216,
0.011346416547894478,
0.022512875497341156,
0.020497333258390427,
-0.025176268070936203,
-0.002870346652343869,
0.006217584479600191,
0.020353365689516068,
-0.005146828480064869,
0.01203925907611847,
-0.06500120460987091,
0.0008070037583820522,
-0.004238035064190626,
-0.07183964550495148,
0.016358276829123497,
-0.009753779508173466,
0.09242695569992065,
-0.11970874667167664,
0.018607763573527336,
-0.00033461133716627955,
0.0521521270275116,
0.028397535905241966,
0.004424742888659239,
-0.02613005042076111,
0.003689160104840994,
0.015476476401090622,
-0.028523506596684456,
-0.05326787382364273,
-0.026238026097416878,
0.007873207330703735,
-0.006950917653739452,
0.008611039258539677,
0.03753945231437683,
0.0062490771524608135,
-0.0034529638942331076,
0.012831078842282295,
-0.011508380062878132,
-0.005052349995821714,
0.0009099178714677691,
0.024258477613329887,
-0.024816351011395454,
-0.009029444307088852,
0.009051939472556114,
-0.0059296502731740475,
-0.03174477443099022,
-0.024204488843679428,
-0.07227154821157455,
-0.021001219749450684,
0.022188948467373848,
0.07486295700073242,
0.005272799637168646,
0.012615128420293331,
-0.0017366046085953712,
-0.04362206906080246,
-0.02548219822347164,
-0.02782166562974453,
-0.026310009881854057,
-0.044773805886507034,
-0.0016803675098344684,
0.022692833095788956,
0.054347626864910126,
0.009258892387151718,
-0.04520570859313011,
-0.010833533480763435,
-0.04786910116672516,
-0.030521051958203316,
-0.0008525559096597135,
0.038511231541633606,
0.08263719081878662,
0.004903883673250675,
-0.054275643080472946,
0.06330958753824234,
0.032806530594825745,
0.007589772343635559,
0.0031785264145582914,
-0.007913698442280293,
0.04750918596982956,
-0.002564416266977787,
0.0470052994787693,
0.0034529638942331076,
0.00012076937855454162,
0.03399426117539406,
0.012831078842282295,
0.008979955688118935,
0.04675335809588432,
-0.019057661294937134,
0.0880359560251236,
0.014360730536282063,
-0.026633936911821365,
0.028613485395908356,
-0.0056417156010866165,
0.0008795497706159949,
0.11776518821716309,
-0.0045057241804897785,
0.09206704050302505,
-0.018445800989866257,
0.0019424328347668052,
-0.018292834982275963,
-0.052296094596385956,
0.040742725133895874,
0.011715332977473736,
-0.030377084389328957,
0.019147640094161034,
-0.054455604404211044,
0.03334640711545944,
0.016448255628347397,
-0.026399990543723106,
-0.03125888481736183,
-0.04491777345538139,
-0.03232064098119736,
-0.040814708918333054,
0.013649892061948776,
-0.0033314914908260107,
-0.004809405189007521,
0.0020920238457620144,
-0.006707972846925259,
0.03984292969107628,
0.036351725459098816,
0.00600163359194994,
-0.0026274018455296755,
0.029297329485416412,
-0.04513372480869293,
0.03757544606924057,
0.024330461397767067,
0.04794108495116234,
-0.02791164629161358,
0.0390511080622673,
0.02586011216044426,
-0.030665019527077675,
-0.0274797435849905,
0.022134961560368538,
0.021343141794204712,
0.07205559313297272,
0.00736482348293066,
-0.002892841352149844,
0.03564988449215889,
0.06496521085500717,
-0.06953617185354233,
0.030880969017744064,
-0.024546412751078606,
-0.04887687414884567,
-0.03307646885514259,
0.021037211641669273,
-0.004584456328302622,
-0.013164003379642963,
0.005007360130548477,
0.029207350686192513,
0.0236826092004776,
0.0014745392836630344,
0.008201632648706436,
0.007706745527684689,
-0.018193857744336128,
0.031096920371055603,
-0.07320733368396759,
0.02548219822347164,
0.01681717112660408,
0.034624118357896805,
-0.013415945693850517,
-0.10048912465572357,
0.026184039190411568,
0.038547225296497345,
-0.0019379338482394814,
-0.05395171791315079,
0.028649477288126945,
0.025356227532029152,
-0.027335776016116142,
0.042254380881786346,
0.030449068173766136,
0.03151082620024681,
0.03546992689371109,
-0.0156384389847517,
-0.03735949471592903,
-0.04995662719011307,
-0.011139463633298874,
-0.00977177545428276,
-0.05989036709070206,
-0.01803189516067505,
0.0069374204613268375,
-0.03304047882556915,
-0.02154109627008438,
0.04488178342580795,
0.0020245390478521585,
-0.020965227857232094,
0.010068708099424839,
0.025410214439034462,
-0.0873161256313324,
-0.02177504263818264,
-0.030754998326301575,
-0.05999834090471268,
0.026094060391187668,
0.021487107500433922,
-0.0009847133187577128,
-0.048408977687358856,
0.03546992689371109,
0.030341092497110367,
-0.009429853409528732,
-0.01185030210763216,
0.006977911572903395,
0.0015364001737907529,
-0.08573248237371445,
-0.03919507563114166,
0.002343966392800212,
-0.050820428878068924,
-0.06748463958501816,
0.05146828293800354,
-0.017141098156571388,
0.013415945693850517,
0.007067890837788582,
-0.05780284106731415,
-0.016178317368030548,
0.02400653436779976,
-0.01706911437213421,
-0.02789364941418171,
0.04319016635417938,
-0.016592223197221756,
0.027281789109110832,
0.018931690603494644,
0.1180531233549118,
-0.04088669270277023,
-0.013910832814872265,
-0.007472798693925142,
0.015755413100123405,
0.012660117819905281,
0.018481792882084846,
-0.05114435777068138,
-0.014441711828112602,
0.022494878619909286,
0.04236235469579697,
0.0008874229970388114,
-0.042722273617982864,
-0.015413491055369377,
-0.05787482485175133,
-0.0012844576267525554,
-0.04711327329277992,
-0.0021583836060017347,
-0.034714095294475555,
0.06370549649000168,
0.03165479376912117,
0.004777912050485611,
-0.01004171371459961,
0.030269108712673187,
0.04153454303741455,
0.019021669402718544,
-0.0201554112136364,
-0.04502575099468231,
0.013092019595205784,
-0.04337012767791748,
-0.05697502940893173,
0.03743147850036621,
-0.04732922464609146,
0.008737010881304741,
-0.022890789434313774,
0.005650713574141264,
-0.012579136528074741,
0.01499958522617817,
0.044701822102069855,
0.012624125927686691,
0.014558685943484306,
0.008822491392493248,
0.004971368238329887,
0.03323843330144882,
0.04189446195960045,
-0.034804075956344604,
0.004651940893381834,
-0.0429382249712944,
-0.05582329258322716,
0.11690139025449753,
-0.08220528811216354,
0.05895457789301872,
-0.032896511256694794,
0.0035609393380582333,
-0.010743553750216961,
0.01187729649245739,
0.050568487495183945,
0.056399159133434296,
0.0073288315907120705,
0.04570959508419037,
-0.03743147850036621,
-0.02785765752196312,
0.06402942538261414,
-0.022404899820685387,
-0.0009357869857922196,
-0.005659711547195911,
-0.0009284761035814881,
-0.05924251303076744,
0.028685469180345535,
0.004424742888659239,
-0.004424742888659239,
-0.01965152658522129,
0.004393249750137329,
-0.02756972424685955,
0.014936599880456924,
-0.007220855914056301,
0.04563761129975319,
0.04099466651678085,
0.10336846858263016,
0.0016657457454130054,
-0.0009031693916767836,
0.04301020875573158,
-0.010527603328227997,
-0.015341507270932198,
-0.05369977653026581,
-0.016628215089440346,
-0.0002861067478079349,
0.06007032468914986,
0.024492423981428146,
0.026813896372914314,
0.03370632603764534,
0.038511231541633606,
-0.03602779656648636,
0.013658890500664711,
-0.018184859305620193,
-0.03930305317044258,
-0.0599263571202755,
-0.054599568247795105,
0.08098156750202179,
-0.007666254881769419,
0.022584859281778336,
-0.027281789109110832,
0.00451697176322341,
-0.05891858786344528,
0.02987319976091385,
0.011832306161522865,
0.013164003379642963,
-0.019075658172369003,
0.017824942246079445,
-0.001996420556679368,
0.013424944132566452,
0.03926705941557884,
0.02393455058336258,
0.018400810658931732,
0.029603261500597,
0.005587727762758732,
0.02391655556857586,
-0.021235166117548943,
-0.024420440196990967,
-0.05348382517695427,
-0.06860038638114929,
0.020695287734270096,
-0.03757544606924057,
-0.0017635985277593136,
-0.05517543852329254,
-0.052116136997938156,
0.01981348916888237,
-0.001948056509718299,
-0.006689976900815964,
0.007279342971742153,
0.0862363651394844,
0.002391205634921789,
0.018553776666522026,
0.07932594418525696,
-0.012822081334888935,
0.009591815993189812,
0.03600980341434479,
0.003909609746187925,
-0.042902231216430664,
-0.06773658096790314,
0.030934957787394524,
0.0016297539696097374,
-0.0148016307502985,
0.026885880157351494,
-0.008867481723427773,
0.022800808772444725,
0.017384042963385582,
-0.012147234752774239,
0.09638606011867523,
0.03604579344391823,
-0.03323843330144882,
-0.0027263793163001537,
0.0037813892122358084,
0.011121467687189579,
-0.005304292310029268,
-0.0030233117286115885,
-0.003585683647543192,
-0.030683014541864395,
-0.004217789974063635,
-0.00008857358625391498,
-0.009411857463419437,
0.00200204411521554,
0.010977501049637794,
0.005857666488736868,
0.011859300546348095,
-0.0016758685233071446,
-0.034552134573459625,
0.012597132474184036,
-0.09163513779640198,
0.0342102125287056,
-0.02384457178413868,
-0.013316968455910683,
-0.04783311113715172,
0.0336703360080719,
-0.013424944132566452,
0.008017174899578094,
-0.006213085725903511,
0.020623305812478065,
0.036333728581666946,
0.010446622036397457,
-0.024654386565089226,
0.03937503695487976,
0.008624536916613579,
-0.0009594066068530083,
-0.08148545026779175,
-0.006460529286414385,
-0.02596808783710003,
0.015917375683784485,
-0.004642942920327187,
-0.017896926030516624,
-0.03584783896803856,
0.025122281163930893,
-0.007301837671548128,
-0.02569814957678318,
0.01803189516067505,
-0.017968909814953804,
0.00042430966277606785,
-0.005808177869766951,
-0.0037319003604352474,
0.008066663518548012,
0.02577013336122036,
0.013784862123429775,
-0.012543144635856152,
0.014351733028888702,
-0.016259297728538513,
0.014072796329855919,
-0.02190101332962513,
0.00881799217313528,
-0.03521798178553581,
-0.042902231216430664,
-0.05510345473885536,
-0.011283431202173233,
0.00424478342756629,
-0.019093653187155724,
0.0027803669217973948,
-0.05348382517695427,
-0.058558668941259384,
0.04768914356827736,
0.04178648814558983,
-0.025194264948368073,
0.07752635329961777,
-0.004062575288116932,
-0.0353439524769783,
-0.03800734877586365,
0.0016769932117313147,
0.010086704045534134,
-0.025194264948368073,
0.021001219749450684,
-0.016700198873877525,
0.014612673781812191,
0.001173107884824276,
-0.007261347025632858,
0.00023535266518592834,
0.017474021762609482,
-0.01293005608022213,
-0.015296517871320248,
-0.032680559903383255,
-0.05200815945863724,
-0.044197939336299896,
-0.008417584002017975,
0.020299378782510757,
0.026831891387701035,
-0.02787565439939499,
-0.0007783228065818548,
0.08465272933244705,
0.04340611770749092,
0.005416766740381718,
-0.0004707053303718567,
0.02001144364476204,
-0.03203270584344864,
-0.01077054813504219,
-0.07137174904346466,
-0.005340284202247858,
-0.01381185557693243,
-0.04373004287481308,
0.06892430782318115,
-0.00996073242276907,
0.04005888104438782,
0.010527603328227997,
0.02366461232304573,
-0.00795418955385685,
-0.02557217888534069,
-0.005385274067521095,
0.02992718666791916,
0.034804075956344604,
0.052692003548145294,
-0.020947230979800224,
0.02166706696152687,
-0.07061592489480972,
0.0148916095495224,
0.03142084553837776,
-0.058738626539707184,
0.048372987657785416,
-0.02353864163160324,
0.028613485395908356,
-0.00699590751901269,
-0.003774640616029501,
-0.021307149901986122,
0.09602613747119904,
0.02379058301448822,
-0.017438029870390892,
0.03431818634271622,
-0.013155004940927029,
0.0017006128327921033,
0.08875579386949539,
0.02942330203950405,
0.024402445182204247,
0.021037211641669273,
-0.004116562660783529,
0.002192125888541341,
-0.03987891972064972,
-0.0342102125287056,
-0.009609811939299107,
0.006046623457223177,
0.024870337918400764,
-0.046465422958135605,
0.008057666011154652,
-0.04509773477911949,
0.040922682732343674,
-0.007652757689356804,
0.003792636562138796,
-0.022890789434313774,
-0.06514517217874527,
-0.03559589758515358,
0.03379630669951439,
0.03703556954860687,
-0.022800808772444725,
0.0599263571202755,
-0.03818730637431145,
-0.036999575793743134,
-0.009024945087730885,
-0.09098728746175766,
0.04099466651678085,
0.001050510792993009,
-0.09235497564077377,
-0.11035087704658508,
-0.018427804112434387,
0.024492423981428146,
-0.022782813757658005,
-0.020857252180576324,
-0.022404899820685387,
0.006438034120947123,
0.03696358576416969,
-0.04783311113715172,
0.054275643080472946,
-0.02971123531460762,
-0.002169630955904722,
-0.06665682792663574,
0.05020856857299805,
0.0012968297814950347,
0.02584211714565754,
-0.020821260288357735,
0.004384251777082682,
0.014234758913516998,
0.02202698588371277,
-0.019093653187155724,
0.02164907194674015,
0.03408424183726311,
-0.05780284106731415,
0.0028141094371676445,
0.006294067017734051,
-0.00040575137245468795,
0.03836726397275925,
0.003032309701666236,
0.034822072833776474,
0.013982816599309444,
0.04322616010904312,
-0.05927850306034088,
-0.0024024529848247766,
0.012129238806664944,
-0.04570959508419037,
0.021235166117548943,
0.0029918188229203224,
-0.03746746852993965,
-0.052548035979270935,
-0.02947728894650936,
0.03304047882556915,
0.062481775879859924,
0.040742725133895874,
-0.062085866928100586,
0.005731695331633091,
0.0022314919624477625,
0.046609390527009964,
-0.07007604837417603,
-0.031186901032924652,
-0.029045388102531433,
-0.04131859540939331,
-0.03739548847079277,
0.04502575099468231,
-0.020461341366171837,
-0.0024249479174613953,
-0.016880156472325325,
-0.00368466111831367,
-0.016610218212008476,
-0.030934957787394524,
-0.048516955226659775,
0.00996073242276907,
0.01947156712412834,
0.0018906946061179042,
-0.034408167004585266,
-0.056291185319423676,
0.008498565293848515,
0.0030885469168424606,
-0.04765314981341362,
-0.007778729312121868,
-0.014900607988238335,
0.013478931039571762,
-0.008264618925750256,
-0.016241302713751793,
-0.04146255925297737,
-0.010104699991643429,
-0.05283597111701965,
-0.03636971861124039,
-0.04617748782038689,
0.06316561996936798,
0.028865428641438484,
-0.030161133036017418,
0.044341906905174255,
0.042398348450660706,
-0.06550508737564087,
-0.00900694914162159,
0.056579120457172394,
-0.014081793837249279,
-0.030629027634859085,
-0.00320102134719491,
0.00547975255176425,
-0.009083432145416737,
-0.04570959508419037,
0.03689160197973251,
-0.01596236601471901,
-0.10826335102319717,
0.06874434649944305,
-0.020173408091068268,
0.028937412425875664,
0.0237725879997015,
0.044449880719184875,
0.0023214714601635933,
-0.033004485070705414,
0.050244562327861786,
-0.04398198798298836,
-0.06748463958501816,
-0.02170305885374546,
0.010131693445146084,
0.015341507270932198,
0.04283025115728378,
-0.03555990383028984,
0.03757544606924057,
0.07219956070184708,
-0.028955407440662384,
-0.031096920371055603,
0.05927850306034088,
0.004872391000390053,
0.040850698947906494,
-0.009933738969266415,
0.03951900452375412,
-0.017537007108330727,
0.026669928804039955,
0.04628546163439751,
-0.012750097550451756,
0.0020729030948132277,
-0.00796318706125021,
0.032518595457077026,
-0.0177619569003582,
-0.0660809576511383,
0.010383635759353638,
-0.03203270584344864,
-0.01947156712412834,
0.029225347563624382,
0.0781022161245346,
-0.05006460100412369,
0.019003674387931824,
-0.05801879242062569,
-0.02935131825506687,
0.018571771681308746,
0.03800734877586365,
-0.07011204212903976,
0.0053492821753025055,
-0.004328014794737101,
-0.012174228206276894,
0.026058068498969078,
-0.02971123531460762,
0.0259860847145319,
0.006388545501977205,
0.05722697079181671,
-0.04139057546854019,
0.02980121597647667,
0.01774396002292633,
0.07903800904750824,
-0.04776112735271454,
0.05546337366104126,
0.07299138605594635,
0.04693331569433212,
0.02749774046242237,
-0.066620834171772,
0.010482613928616047,
-0.0018524532206356525,
0.02163107506930828,
0.011409402824938297,
0.011265435256063938,
-0.014063797891139984,
0.06089813634753227,
-0.03728751093149185,
-0.0020087927114218473,
0.013667888008058071,
0.014522694051265717,
0.014504698105156422,
-0.03636971861124039,
0.01990346796810627,
0.0432981438934803,
-0.018859706819057465,
-0.009528830647468567,
-0.05812676623463631,
0.02402453124523163,
0.010977501049637794,
0.00878200028091669,
0.06287768483161926,
-0.036639660596847534,
0.004768914543092251
] |
7,519 | gitignorefile | isfile | null | def isfile(self):
return os.path.isfile(str(self))
| (self) | [
0.06924022734165192,
-0.033925339579582214,
0.00038233789382502437,
0.03424730896949768,
0.05110830441117287,
-0.06930801272392273,
0.05483636260032654,
0.022453084588050842,
-0.02762152999639511,
0.014759725891053677,
0.0377211831510067,
-0.014895291067659855,
0.025283019989728928,
-0.0019095712341368198,
-0.017199909314513206,
0.014081896282732487,
-0.023181749507784843,
0.005613271147012711,
0.01020132564008236,
0.019673986360430717,
-0.04138145595788956,
0.033484749495983124,
0.03429814428091049,
-0.03734837472438812,
0.03816176950931549,
0.08154281973838806,
0.03656887263059616,
-0.026520058512687683,
0.024977996945381165,
-0.00672321580350399,
-0.04453336074948311,
-0.019623149186372757,
0.07510344684123993,
-0.003173086792230606,
0.0028405268676579,
0.05276898294687271,
-0.03316278010606766,
0.03153599053621292,
-0.03555212914943695,
-0.04148313030600548,
-0.016471244394779205,
0.046160150319337845,
0.009226947091519833,
0.04551621526479721,
-0.03372199088335037,
0.010582604445517063,
-0.0565987192094326,
-0.002677424345165491,
0.024588245898485184,
-0.003156141145154834,
0.06741008907556534,
-0.004651601426303387,
-0.028062118217349052,
-0.013480323366820812,
-0.03694167733192444,
0.004791403654962778,
0.023435935378074646,
0.029333047568798065,
-0.03758561611175537,
0.013768400996923447,
0.026672570034861565,
-0.018487785011529922,
0.09279478341341019,
-0.10675805807113647,
0.028062118217349052,
0.026858972385525703,
-0.03477262705564499,
-0.028689110651612282,
0.010921519249677658,
0.0667661502957344,
-0.044465579092502594,
0.021300774067640305,
0.0038127878215163946,
0.05263341963291168,
0.021792201325297356,
-0.014844453893601894,
-0.0151155861094594,
0.036534979939460754,
0.010633441619575024,
-0.028739947825670242,
-0.010404674336314201,
-0.04280489683151245,
0.015318934805691242,
-0.021656634286046028,
-0.015268097631633282,
-0.009692953899502754,
0.028960242867469788,
-0.01948758214712143,
-0.0154799185693264,
0.06134352087974548,
-0.00258845929056406,
0.022520866245031357,
-0.012200920842587948,
-0.04290657117962837,
0.021436341106891632,
-0.049447622150182724,
0.026638677343726158,
-0.03619606792926788,
-0.005121844820678234,
-0.059276141226291656,
-0.026757298037409782,
0.043991100043058395,
0.039686884731054306,
-0.008828721940517426,
0.04046638682484627,
0.02524912916123867,
-0.04019525647163391,
0.0009219532948918641,
-0.002652005758136511,
-0.025520259514451027,
-0.04799028858542442,
-0.030536195263266563,
0.009574334137141705,
0.05944560095667839,
0.030400628224015236,
-0.10919824242591858,
-0.01523420587182045,
0.006464793812483549,
-0.015928979963064194,
-0.02728261612355709,
0.031010674312710762,
0.05266730859875679,
-0.025316910818219185,
-0.02718094177544117,
0.08337295800447464,
0.011107921600341797,
0.01143836323171854,
-0.019962063059210777,
0.03453538566827774,
-0.019284233450889587,
0.014861400239169598,
0.004854950122535229,
-0.005570906680077314,
0.02968890778720379,
0.008451679721474648,
0.010235217399895191,
0.0009436649852432311,
0.044126663357019424,
0.0018470839131623507,
0.053514596074819565,
0.026299763470888138,
-0.020775457844138145,
0.015979817137122154,
0.0005025466089136899,
-0.03775507211685181,
0.06581719219684601,
-0.010243689641356468,
0.02965501695871353,
0.0018153106793761253,
-0.0026901336386799812,
0.006024204660207033,
-0.03234938532114029,
-0.008303404785692692,
-0.025757500901818275,
-0.013437959365546703,
-0.04073752090334892,
-0.011768804863095284,
0.025791391730308533,
-0.01203993707895279,
-0.049074817448854446,
0.0004247022152412683,
0.006125879008322954,
-0.030942892655730247,
-0.002399938181042671,
0.01716601848602295,
-0.0018153106793761253,
-0.07239213585853577,
0.030993729829788208,
0.014081896282732487,
0.04419444873929024,
-0.001967822201550007,
-0.015590066090226173,
-0.01219244860112667,
0.06446153670549393,
-0.004090274218469858,
0.025706663727760315,
0.009032070636749268,
0.03778896480798721,
0.02350371889770031,
0.05178613215684891,
-0.0003630091669037938,
-0.025079671293497086,
-0.02558804303407669,
0.041957613080739975,
0.045583996921777725,
0.06907077133655548,
0.008888032287359238,
-0.017487987875938416,
0.08133947104215622,
0.014895291067659855,
-0.00824409443885088,
0.021944712847471237,
-0.007667940109968185,
-0.009531970135867596,
-0.038432903587818146,
-0.06452931463718414,
0.008303404785692692,
0.010455511510372162,
-0.046160150319337845,
0.013878547586500645,
0.004338105209171772,
-0.03411174193024635,
-0.008519462309777737,
0.02374095842242241,
-0.04792250692844391,
0.03462011367082596,
-0.008760939352214336,
0.004009781870990992,
-0.018877536058425903,
0.06608832627534866,
-0.0401613675057888,
-0.12377157062292099,
-0.031129295006394386,
0.049786537885665894,
0.05822550877928734,
0.010921519249677658,
0.004922732710838318,
0.0353148877620697,
-0.06924022734165192,
0.057378221303224564,
0.07713693380355835,
0.07700137048959732,
-0.01131974346935749,
0.01303126197308302,
0.007862815633416176,
-0.01540366280823946,
0.010023395530879498,
0.03406090661883354,
-0.03633163124322891,
0.0011756096500903368,
-0.01404800545424223,
-0.0348065160214901,
0.007875525392591953,
0.04792250692844391,
-0.008794831112027168,
0.016522081568837166,
0.010591077618300915,
0.04812585562467575,
-0.038432903587818146,
-0.01697114296257496,
0.01601370982825756,
-0.014980020001530647,
0.019809551537036896,
-0.016378041356801987,
0.00993866752833128,
-0.10079316794872284,
0.030197279527783394,
0.03362031653523445,
-0.052057262510061264,
-0.01886059157550335,
0.09503161907196045,
0.016894886270165443,
-0.09177803993225098,
-0.06134352087974548,
-0.013073625974357128,
-0.012446634471416473,
-0.059852298349142075,
-0.026537002995610237,
0.035857152193784714,
0.04080530256032944,
-0.015301988460123539,
-0.020233193412423134,
0.07551014423370361,
0.03245105966925621,
-0.04483838379383087,
-0.04043249785900116,
-0.00803227350115776,
0.01745409518480301,
-0.0016151393065229058,
-0.01419204380363226,
0.05741211399435997,
-0.009108326397836208,
-0.017589662224054337,
-0.01018438022583723,
-0.020233193412423134,
-0.029231373220682144,
-0.001179846003651619,
-0.02036876045167446,
-0.00009015654359245673,
0.021300774067640305,
-0.012853331863880157,
0.023486772552132607,
0.007329025771468878,
-0.014658051542937756,
-0.023029237985610962,
-0.04192372038960457,
-0.027536801993846893,
-0.013065152801573277,
-0.027214832603931427,
0.034654006361961365,
0.0024041745346039534,
0.030553139746189117,
-0.017979413270950317,
-0.03545045480132103,
0.00045700499322265387,
0.04839698597788811,
0.005816619843244553,
-0.05473468825221062,
0.04460114613175392,
-0.05819161608815193,
-0.038907382637262344,
0.006193662062287331,
-0.04995599389076233,
-0.013726036064326763,
-0.04270322248339653,
0.014615686610341072,
-0.03775507211685181,
-0.01119265053421259,
-0.01847083866596222,
0.023198695853352547,
0.0324002243578434,
0.011980626732110977,
0.011531565338373184,
0.025232182815670967,
0.06849461793899536,
0.0343489833176136,
-0.013946331106126308,
-0.021588852629065514,
-0.037653397768735886,
0.06473266333341599,
-0.058394964784383774,
0.07578127831220627,
-0.02577444538474083,
0.004634655546396971,
0.020758511498570442,
-0.021538015455007553,
0.02950250543653965,
-0.008515226654708385,
-0.05310789868235588,
0.049786537885665894,
0.008743993937969208,
-0.026147251948714256,
0.09848854690790176,
-0.010624968446791172,
-0.044126663357019424,
0.0030989493243396282,
0.006786762271076441,
-0.028468815609812737,
0.045007843524217606,
0.03148515522480011,
0.004757511895149946,
-0.039110731333494186,
0.026774244382977486,
-0.02423238568007946,
-0.03439981862902641,
-0.00996408611536026,
-0.0010855854488909245,
0.02887551300227642,
0.09509940445423126,
-0.03782285749912262,
-0.030146442353725433,
-0.027841825038194656,
-0.025791391730308533,
-0.0102775814011693,
-0.06757954508066177,
0.006397010758519173,
-0.0029443195089697838,
0.067681223154068,
0.026875918731093407,
0.05585310608148575,
0.09184582531452179,
0.0013704854063689709,
-0.04487227648496628,
-0.02645227499306202,
-0.01847083866596222,
-0.014996965415775776,
0.01606454700231552,
0.0263675469905138,
0.01948758214712143,
-0.0031243679113686085,
0.002368164947256446,
0.014014113694429398,
-0.025232182815670967,
-0.09509940445423126,
0.03680611401796341,
-0.03565380349755287,
0.007151095662266016,
-0.029383884742856026,
-0.007481537293642759,
0.010125069878995419,
0.02936694025993347,
0.05558197572827339,
-0.021588852629065514,
0.01640346087515354,
0.006464793812483549,
0.01141294464468956,
-0.024401841685175896,
-0.02775709517300129,
-0.0037280593533068895,
-0.056564826518297195,
0.009396404027938843,
0.0067613436840474606,
-0.052158936858177185,
-0.01044703833758831,
-0.03853457793593407,
-0.05375183746218681,
0.0302311722189188,
0.017420204356312752,
-0.0029527924489229918,
0.04124589264392853,
0.037551723420619965,
0.012853331863880157,
-0.010946937836706638,
0.04985431954264641,
-0.03453538566827774,
0.04283878952264786,
0.030993729829788208,
0.000917716883122921,
-0.021114371716976166,
-0.034942083060741425,
0.043991100043058395,
-0.01745409518480301,
-0.037653397768735886,
-0.036060500890016556,
-0.02235141023993492,
0.06778289377689362,
-0.03660276532173157,
-0.04066973552107811,
0.05727654695510864,
-0.0028850093949586153,
-0.04460114613175392,
0.06036067008972168,
-0.007786560337990522,
0.0357893705368042,
-0.0302311722189188,
-0.01409884262830019,
0.005439577158540487,
-0.0065029216930270195,
0.0387040339410305,
0.033349186182022095,
-0.05548030138015747,
-0.010591077618300915,
0.011540037579834461,
-0.01567479409277439,
0.024639083072543144,
-0.045821238309144974,
-0.040601953864097595,
-0.07049421221017838,
-0.05931003391742706,
0.033111944794654846,
-0.0362638495862484,
-0.012963478453457355,
-0.01606454700231552,
0.03928018733859062,
0.0006513512344099581,
-0.033400021493434906,
-0.03978855907917023,
0.01683557592332363,
0.07659467309713364,
0.001339771319180727,
-0.03938186168670654,
0.057581569999456406,
0.0024253567680716515,
-0.020521271973848343,
-0.021792201325297356,
-0.004973569884896278,
-0.008337296545505524,
0.0005936298985034227,
0.021012697368860245,
0.008667738176882267,
-0.062461938709020615,
0.07442562282085419,
-0.0013164709089323878,
-0.108317069709301,
0.03751783445477486,
-0.05171835049986839,
-0.011845060624182224,
0.04155091568827629,
0.046160150319337845,
0.03734837472438812,
0.009735318832099438,
0.006210607942193747,
-0.056022562086582184,
-0.02002984657883644,
0.0011247724760323763,
0.05920835956931114,
0.008430497720837593,
0.07076534628868103,
-0.038670141249895096,
-0.030265063047409058,
-0.035484347492456436,
-0.07388335466384888,
-0.07476453483104706,
0.008392369374632835,
0.03258662670850754,
-0.06354646384716034,
-0.031214023008942604,
-0.005854747723788023,
0.015683267265558243,
-0.044668927788734436,
0.07625576108694077,
0.003156141145154834,
-0.03616217523813248,
-0.015700213611125946,
0.04697354510426521,
0.025316910818219185,
-0.015844251960515976,
0.07164651900529861,
-0.04426223039627075,
0.004935442004352808,
0.022215843200683594,
-0.00771454069763422,
-0.011404472403228283,
0.05876776948571205,
-0.03185795992612839,
-0.009057489223778248,
0.00029734449344687164,
-0.061987459659576416,
-0.05049825832247734,
-0.028739947825670242,
0.002389347180724144,
0.02267337776720524,
-0.018996156752109528,
0.05019323527812958,
0.07828924804925919,
0.029824474826455116,
-0.011878952383995056,
0.0023258007131516933,
0.006490212399512529,
0.019707877188920975,
-0.014793616719543934,
-0.09177803993225098,
-0.001723168301396072,
-0.039686884731054306,
-0.05629369616508484,
0.018369164317846298,
-0.043313268572092056,
0.025164399296045303,
0.001474277931265533,
0.023097021505236626,
0.007748432457447052,
-0.018301382660865784,
0.016471244394779205,
-0.02945166826248169,
-0.014819035306572914,
0.07245991379022598,
-0.008955814875662327,
-0.010269108228385448,
-0.016810158267617226,
-0.009616698138415813,
0.017132127657532692,
-0.010794426314532757,
0.019080884754657745,
-0.0353148877620697,
0.011404472403228283,
-0.03406090661883354,
-0.0019381671445444226,
-0.08296626061201096,
0.0803227350115776,
0.013920912519097328,
0.0387040339410305,
0.009133744984865189,
-0.003643330652266741,
-0.008447443135082722,
0.12831301987171173,
0.056666500866413116,
0.032857757061719894,
-0.00009141423652181402,
-0.03775507211685181,
-0.005066771525889635,
-0.026282817125320435,
-0.01901310309767723,
0.0016140801599249244,
0.02863827347755432,
-0.06717284768819809,
-0.03372199088335037,
0.004297859035432339,
0.0034145633690059185,
0.04622793570160866,
-0.012624564580619335,
0.04066973552107811,
0.015386717393994331,
0.005041352938860655,
-0.040500279515981674,
0.024045981466770172,
0.013514215126633644,
0.007388335652649403,
0.05548030138015747,
-0.04022914916276932,
-0.035958826541900635,
-0.03883960098028183,
-0.08188173919916153,
0.017386313527822495,
0.00916763674467802,
-0.07612019032239914,
-0.057547677308321,
-0.04005969315767288,
0.0287738386541605,
-0.013565052300691605,
0.001105708535760641,
0.0061089335940778255,
-0.013505741953849792,
0.021588852629065514,
-0.040364716202020645,
0.04290657117962837,
-0.014344555325806141,
0.039822451770305634,
-0.06452931463718414,
0.02084323950111866,
-0.021216046065092087,
0.027536801993846893,
-0.045685671269893646,
-0.008760939352214336,
-0.011641711927950382,
0.004854950122535229,
0.007015529554337263,
-0.026672570034861565,
0.02050432562828064,
-0.02563888020813465,
0.036636654287576675,
0.0012550427345559,
0.01115028653293848,
0.017860792577266693,
-0.004867659416049719,
0.043313268572092056,
0.08011938631534576,
0.02626587264239788,
-0.019216451793909073,
-0.017098234966397285,
0.03487430140376091,
-0.025994740426540375,
0.03168850392103195,
0.04033082351088524,
0.02597779408097267,
-0.022181952372193336,
-0.005185391288250685,
0.0019625267013907433,
0.016361096873879433,
0.001926516997627914,
-0.06446153670549393,
0.022707270458340645,
-0.026130305603146553,
0.04799028858542442,
-0.031180132180452347,
-0.010142015293240547,
-0.0657832995057106,
-0.021656634286046028,
-0.0034272726625204086,
0.006871491204947233,
0.012421215884387493,
-0.009684481658041477,
-0.06029288470745087,
-0.03439981862902641,
-0.04429612308740616,
-0.04066973552107811,
-0.03378977254033089,
-0.007401044946163893,
-0.024994943290948868,
0.0633431151509285,
-0.046499066054821014,
-0.038466792553663254,
0.04046638682484627,
-0.02538469433784485,
-0.016318732872605324,
0.029773637652397156,
-0.027316506952047348,
0.060530126094818115,
0.0010082705412060022,
-0.030993729829788208,
-0.009404877200722694,
-0.0006465852493420243,
-0.017487987875938416,
-0.010760534554719925,
-0.011514618992805481,
0.04731246083974838,
0.011972153559327126,
0.009006652049720287,
-0.04202539473772049,
-0.018386110663414,
-0.0018862709403038025,
-0.02911275438964367,
0.09747180342674255,
-0.017335476353764534,
-0.04622793570160866,
0.023351207375526428,
0.014590268023312092,
-0.005791201256215572,
-0.011599347926676273,
0.03370504453778267,
-0.017284639179706573,
-0.031366534531116486,
0.023080075159668922,
-0.007468828000128269,
0.02267337776720524,
0.061546869575977325,
0.031756285578012466,
-0.00668508792296052,
-0.0047109113074839115,
0.02118215523660183,
-0.0512777604162693,
-0.08933785557746887,
-0.008930396288633347,
-0.02645227499306202,
0.025401640683412552,
0.039686884731054306,
0.01809803396463394,
0.03565380349755287,
0.1093338131904602,
-0.02567277103662491,
-0.00006890820077387616,
0.01614927500486374,
0.008146656677126884,
0.039347972720861435,
0.007129913195967674,
0.007367153652012348,
-0.0324002243578434,
-0.021504122763872147,
0.002745207166299224,
-0.005922530312091112,
0.0003394440282136202,
-0.03894127532839775,
0.025333857163786888,
-0.000062752136727795,
-0.037077244371175766,
0.005295538809150457,
-0.02897718735039234,
-0.02167358063161373,
0.0017178728012368083,
0.0715787410736084,
-0.0396529957652092,
0.007888234220445156,
-0.0333830751478672,
-0.01339559443295002,
0.01610691100358963,
-0.023825688287615776,
-0.02433406002819538,
-0.008023800328373909,
-0.01770828105509281,
-0.012522890232503414,
0.0338575579226017,
0.010582604445517063,
0.003749241353943944,
-0.053175680339336395,
0.06083514913916588,
-0.028519652783870697,
-0.013505741953849792,
-0.0006635310128331184,
0.011692549102008343,
-0.0319087989628315,
0.045922912657260895,
0.05036269128322601,
0.016996560618281364,
-0.010769007727503777,
-0.04226263612508774,
-0.02640143781900406,
-0.013480323366820812,
0.0725276991724968,
0.0049312058836221695,
-0.013641308061778545,
0.04236431047320366,
0.01518336869776249,
-0.01003186870366335,
0.014759725891053677,
0.028960242867469788,
0.047617483884096146,
0.04849866032600403,
-0.03140042722225189,
-0.0050032250583171844,
0.04575345292687416,
0.003647567005828023,
-0.02485937625169754,
-0.031807124614715576,
0.033484749495983124,
0.023486772552132607,
-0.007307843305170536,
0.021554959937930107,
-0.05503971129655838,
0.02235141023993492
] |
7,520 | gitignorefile | join | null | def join(self, name):
return _Path(self.__parts + (name,))
| (self, name) | [
-0.033732641488313675,
0.008362258784472942,
-0.045410607010126114,
0.06833279132843018,
-0.03264825791120529,
-0.05311806499958038,
-0.0016286593163385987,
0.048346783965826035,
0.023589493706822395,
0.024323536083102226,
0.05011516064405441,
-0.02110375463962555,
0.03419975936412811,
0.059958018362522125,
0.0007236168603412807,
-0.0050173550844192505,
0.047779567539691925,
0.011069044470787048,
-0.016816271468997,
0.051916904747486115,
0.015147991478443146,
0.020002689212560654,
0.05301797017455101,
-0.055887412279844284,
-0.0001587473670952022,
0.07013453543186188,
0.008016089908778667,
0.04504358768463135,
-0.016349153593182564,
-0.06496286392211914,
0.009083789773285389,
-0.015072918497025967,
0.04767946898937225,
-0.010159831494092941,
0.0404057651758194,
0.027409857138991356,
-0.02826067991554737,
0.03610159829258919,
0.034233126789331436,
-0.021821115165948868,
0.06486276537179947,
0.0008398751961067319,
-0.010368365794420242,
-0.04601119086146355,
0.04397588595747948,
0.01721666008234024,
0.006210175808519125,
0.011661283671855927,
0.01242869347333908,
0.04447637125849724,
0.006894171237945557,
0.0031926727388054132,
-0.022922180593013763,
-0.0248407032340765,
-0.04154019430279732,
0.0037181812804192305,
0.03496716916561127,
0.004229092039167881,
-0.036501988768577576,
0.028294045478105545,
0.026992786675691605,
-0.06025831028819084,
0.0495479442179203,
0.029845546931028366,
0.008504061959683895,
0.030863197520375252,
-0.025307822972536087,
0.004395920317620039,
0.0031259413808584213,
0.06175976246595383,
0.03246474638581276,
0.010435097850859165,
-0.01392180472612381,
-0.03144709765911102,
-0.004621138330549002,
0.02679259143769741,
0.02444031648337841,
0.02719298005104065,
0.05221719294786453,
-0.03890431299805641,
-0.06649767607450485,
-0.016507640480995178,
-0.09836184233427048,
-0.04644494131207466,
0.0006620989879593253,
0.05772252008318901,
-0.06816595792770386,
-0.1162458211183548,
-0.057355500757694244,
-0.027810243889689445,
0.0110023133456707,
0.04083951935172081,
-0.0600581131875515,
0.016282422468066216,
0.010343342088162899,
-0.0784759372472763,
-0.0026650787331163883,
-0.019185231998562813,
0.0000971643312368542,
0.0034637684002518654,
-0.02257184125483036,
-0.047279082238674164,
-0.04397588595747948,
0.007453045342117548,
0.04711225628852844,
-0.03354912996292114,
0.014388923533260822,
-0.02013615146279335,
-0.02507426217198372,
0.00659805117174983,
-0.03910450637340546,
0.008983693085610867,
-0.01745021902024746,
-0.023889783769845963,
-0.04844687879085541,
0.03566784784197807,
0.002172935986891389,
-0.01116914115846157,
0.05461951717734337,
-0.012353620491921902,
0.03683564439415932,
0.014897748827934265,
-0.03426649048924446,
0.01811753213405609,
0.021771065890789032,
0.02167096920311451,
-0.04280808940529823,
0.0025086775422096252,
-0.023489395156502724,
-0.07380475103855133,
-0.023722955957055092,
0.07907652109861374,
-0.05902377888560295,
-0.04294155165553093,
0.01965234987437725,
0.05114949494600296,
-0.02767678163945675,
0.02816058322787285,
0.009467494674026966,
0.08881928026676178,
-0.011552846059203148,
-0.03693573921918869,
0.004817161243408918,
0.020169517025351524,
-0.011219189502298832,
0.00933403242379427,
-0.0021145460195839405,
0.023239154368638992,
-0.022705303505063057,
0.008516574278473854,
-0.029662035405635834,
0.01589871756732464,
0.05024862289428711,
0.00570552097633481,
0.034533414989709854,
-0.061726395040750504,
-0.02282208390533924,
0.025708209723234177,
0.012145085260272026,
-0.05892368406057358,
0.03710256889462471,
-0.07040145993232727,
-0.02175438404083252,
-0.0007804426713846624,
0.02225486747920513,
-0.0154649643227458,
0.040872883051633835,
0.02036971040070057,
0.02986222878098488,
0.0042666285298764706,
0.05545365810394287,
0.010485146194696426,
0.008454013615846634,
0.032114408910274506,
-0.09595952183008194,
-0.03983854874968529,
-0.040539227426052094,
0.008633353747427464,
0.021070389077067375,
-0.06873317807912827,
0.022421695291996002,
-0.004308335483074188,
0.03168065473437309,
0.00900871679186821,
0.01039339043200016,
0.0098595404997468,
-0.04661177098751068,
0.01811753213405609,
0.055253464728593826,
0.013729952275753021,
-0.04377569258213043,
0.026492301374673843,
0.01860133185982704,
0.021971261128783226,
-0.025391235947608948,
-0.06155956909060478,
0.007365460507571697,
0.011277579702436924,
0.005225890316069126,
0.04587772488594055,
-0.044776659458875656,
0.010576901026070118,
-0.016307447105646133,
0.03450005128979683,
0.07273705303668976,
-0.0071110473945736885,
0.0646292045712471,
0.011386017315089703,
0.011294262483716011,
0.03221450373530388,
0.014630824327468872,
0.03126358613371849,
0.0084081357344985,
0.02120385132730007,
-0.0027172125410288572,
-0.008458184078335762,
-0.059624362736940384,
-0.00393714290112257,
0.05852329730987549,
0.060758791863918304,
-0.04791302978992462,
-0.0318308025598526,
0.10410073399543762,
0.014297167770564556,
-0.06252717226743698,
-0.042908187955617905,
-0.039972010999917984,
0.00513413455337286,
0.016032179817557335,
-0.020019371062517166,
0.03313206136226654,
-0.03623506426811218,
-0.03706920146942139,
-0.04991496726870537,
-0.030095789581537247,
0.029111502692103386,
-0.036735545843839645,
0.011052361689507961,
0.025691526010632515,
-0.014564093202352524,
0.019268644973635674,
-0.0015233490848913789,
-0.019368741661310196,
-0.0142888268455863,
0.04767946898937225,
-0.007373801898211241,
-0.007136072032153606,
-0.03403293341398239,
0.04457646608352661,
-0.0019737849943339825,
-0.001281448290683329,
0.07206973433494568,
-0.018534600734710693,
0.03913787007331848,
-0.009826174937188625,
0.01745021902024746,
-0.06699816137552261,
-0.01242869347333908,
-0.02192121185362339,
0.003832875518128276,
0.004045581445097923,
-0.020419759675860405,
0.004222836345434189,
-0.05842319875955582,
-0.02572489343583584,
-0.03850392624735832,
-0.044376272708177567,
-0.02328920178115368,
-0.024373585358262062,
-0.013613172806799412,
-0.04077278822660446,
-0.01351307611912489,
-0.015072918497025967,
-0.011302603408694267,
0.017433535307645798,
0.03173070400953293,
-0.021620921790599823,
0.04961467534303665,
-0.05018189176917076,
0.007669921964406967,
-0.014238778501749039,
-0.00450852932408452,
-0.04481002688407898,
-0.011269237846136093,
-0.00399970356374979,
-0.010034710168838501,
0.04093961417675018,
-0.010768753476440907,
-0.0205532219260931,
0.012128402478992939,
0.04467656463384628,
0.027459904551506042,
-0.005125793162733316,
-0.00746555719524622,
-0.006856634747236967,
-0.00047259271377697587,
0.024140026420354843,
-0.008274673484265804,
0.05481971427798271,
-0.028961356729269028,
0.0009279812802560627,
0.011369334533810616,
-0.006506295874714851,
0.028527604416012764,
-0.025107627734541893,
-0.07267031818628311,
-0.001796530093997717,
0.041273269802331924,
0.03241470083594322,
0.02093692682683468,
-0.06833279132843018,
-0.06175976246595383,
-0.06049186736345291,
0.03516736254096031,
0.0676654726266861,
0.023606175556778908,
0.022421695291996002,
0.02459046058356762,
-0.015173015184700489,
0.03286513686180115,
-0.03393283486366272,
0.049648042768239975,
-0.0467785969376564,
0.02452372945845127,
0.022204820066690445,
0.00978446751832962,
0.009192228317260742,
0.02897804044187069,
-0.027860291302204132,
0.026892689988017082,
-0.021971261128783226,
-0.0007402996998280287,
0.00021687652042601258,
0.01891830563545227,
-0.031947579234838486,
0.030079105868935585,
0.02620869316160679,
-0.019835861399769783,
0.016741199418902397,
0.010668656788766384,
0.04287482053041458,
-0.03663545101881027,
-0.0366688147187233,
-0.00885023083537817,
0.004191556014120579,
0.02110375463962555,
0.026659129187464714,
0.06105908378958702,
0.04093961417675018,
-0.017233341932296753,
-0.02525777369737625,
-0.03213109076023102,
0.007836749777197838,
-0.018634699285030365,
0.0469120591878891,
0.05568721890449524,
-0.05011516064405441,
0.014947797171771526,
-0.0008784541860222816,
0.032598208636045456,
0.04844687879085541,
-0.010793778114020824,
0.018534600734710693,
-0.021003657951951027,
0.025524698197841644,
-0.014539068564772606,
-0.017266707494854927,
0.03366591036319733,
-0.05164998024702072,
-0.015548378229141235,
-0.03540092334151268,
-0.03173070400953293,
0.0845484808087349,
-0.027860291302204132,
0.007198632229119539,
0.002514933468773961,
0.04204067960381508,
-0.014188729226589203,
0.00842898990958929,
0.004208238795399666,
-0.014705896377563477,
0.027626732364296913,
0.05188353732228279,
0.055987510830163956,
0.01343800313770771,
0.03686900809407234,
0.06055859848856926,
-0.051850173622369766,
0.02427348867058754,
0.011819770559668541,
0.065596804022789,
0.017650412395596504,
0.015948766842484474,
-0.010960605926811695,
-0.06466256827116013,
-0.05642126128077507,
0.006639758124947548,
-0.0525842159986496,
-0.008333063684403896,
0.016307447105646133,
0.056287799030542374,
-0.002175021218135953,
-0.008470696397125721,
0.07240339368581772,
-0.007215315010398626,
-0.028777847066521645,
0.04487675800919533,
0.04254116490483284,
-0.014263802208006382,
-0.032181140035390854,
-0.07420513778924942,
-0.02727639302611351,
-0.08975351601839066,
0.009976319968700409,
0.06716499477624893,
0.002771431813016534,
0.01581530272960663,
-0.04741254448890686,
0.03540092334151268,
0.03937143087387085,
-0.06866644322872162,
-0.010718705132603645,
-0.01860133185982704,
0.02971208468079567,
-0.007390484679490328,
-0.047445911914110184,
-0.03233128413558006,
0.032915182411670685,
0.01570686511695385,
-0.010660314932465553,
-0.03700247034430504,
-0.020319662988185883,
0.00829552672803402,
-0.008370599709451199,
0.04117317497730255,
-0.003453341545537114,
0.04654503986239433,
-0.04017220437526703,
-0.0018382370471954346,
-0.05872349068522453,
0.02370627224445343,
-0.018801527097821236,
-0.05088257044553757,
-0.005246743559837341,
0.006564685609191656,
-0.07734150439500809,
-0.0571553073823452,
-0.041773755103349686,
-0.006919195409864187,
-0.0053093042224645615,
0.011711332015693188,
0.0006203919765539467,
0.030913246795535088,
-0.006172639783471823,
-0.013905121944844723,
-0.03893767669796944,
0.04971477389335632,
-0.04918092116713524,
0.028777847066521645,
0.018301041796803474,
-0.018317725509405136,
0.03284845128655434,
0.07760842889547348,
-0.00397467939183116,
-0.0016995612531900406,
-0.010251586325466633,
0.008078650571405888,
0.005893202498555183,
-0.005192524287849665,
-0.06155956909060478,
0.025224408134818077,
-0.021537506952881813,
-0.033332254737615585,
0.031780753284692764,
0.04240770265460014,
0.045110318809747696,
0.006531320046633482,
0.04564416781067848,
0.014730921015143394,
-0.05642126128077507,
-0.05505327135324478,
-0.09268969297409058,
-0.0357012115418911,
0.03603486716747284,
0.029011406004428864,
0.009634322486817837,
-0.015606768429279327,
0.08061133325099945,
-0.014272144064307213,
-0.018284359946846962,
0.0712689608335495,
0.05331825837492943,
-0.07026799768209457,
0.0197190809994936,
-0.04667850211262703,
0.04941448196768761,
-0.008032772690057755,
-0.01375497691333294,
-0.06893336772918701,
0.0036326819099485874,
0.013946828432381153,
-0.058990415185689926,
-0.005384376738220453,
0.022521793842315674,
-0.015606768429279327,
0.08207942545413971,
-0.06980087608098984,
-0.011586211621761322,
-0.03328220546245575,
-0.0009279812802560627,
0.002396068535745144,
-0.03940479829907417,
-0.012019963935017586,
0.017416853457689285,
0.005363523494452238,
0.021170485764741898,
-0.026926055550575256,
0.0016495127929374576,
0.02654235064983368,
-0.015698524191975594,
-0.03536755591630936,
0.01795070245862007,
-0.024156708270311356,
-0.004197812173515558,
-0.05855666100978851,
-0.02282208390533924,
-0.019101817160844803,
0.04531051218509674,
-0.01996932365000248,
0.08021094650030136,
-0.01843450404703617,
0.05892368406057358,
0.002990393666550517,
0.003403293201699853,
0.046711865812540054,
0.09569259732961655,
-0.10950596630573273,
0.01876816153526306,
0.02549133263528347,
0.018784843385219574,
-0.0007048487314023077,
-0.0009660389623604715,
0.023639541119337082,
-0.05835646763443947,
-0.0375029556453228,
0.014780969358980656,
0.003626425750553608,
0.028294045478105545,
0.1065697893500328,
-0.01883489266037941,
0.030245933681726456,
0.0070151216350495815,
-0.03077978454530239,
0.014438971877098083,
0.04841351509094238,
-0.052150461822748184,
-0.04134000092744827,
-0.05708857625722885,
-0.05855666100978851,
0.0024023246951401234,
-0.03012915514409542,
0.03760305419564247,
0.031463779509067535,
0.03328220546245575,
0.01946883834898472,
0.01026826910674572,
0.004047666676342487,
-0.0238731000572443,
0.03580131009221077,
-0.01728339120745659,
-0.01367990393191576,
0.012211816385388374,
0.003213526215404272,
-0.035033900290727615,
0.005321816075593233,
0.02687600627541542,
0.04150683060288429,
-0.0033052817452698946,
0.01164460089057684,
-0.008558281697332859,
-0.005738886538892984,
0.03051285818219185,
0.0013752891682088375,
0.010593583807349205,
-0.03500053286552429,
-0.025391235947608948,
0.01728339120745659,
0.0077408235520124435,
0.02347271330654621,
-0.005317645613104105,
-0.008750133216381073,
-0.028394142165780067,
0.04187385365366936,
0.016215691342949867,
0.03246474638581276,
-0.04190721735358238,
-0.04821332171559334,
-0.0034074638970196247,
-0.013729952275753021,
0.005059062037616968,
0.058656759560108185,
-0.028794528916478157,
0.010535194538533688,
0.07620707154273987,
-0.028794528916478157,
0.008057797327637672,
-0.008128698915243149,
0.013412979431450367,
-0.06326121091842651,
0.02832741104066372,
0.03193089738488197,
0.023105692118406296,
-0.017350122332572937,
0.024824021384119987,
-0.014555751346051693,
-0.0012595520820468664,
-0.00643122335895896,
0.010827143676578999,
-0.009309007786214352,
0.03546765446662903,
-0.05238402262330055,
-0.026725860312581062,
-0.03158055990934372,
0.043475400656461716,
-0.06519641727209091,
-0.03476697579026222,
0.048913996666669846,
-0.017066514119505882,
0.025474650785326958,
-0.015014528296887875,
-0.033582497388124466,
-0.029495207592844963,
-0.014747603796422482,
-0.03199762850999832,
0.01810084842145443,
-0.01858465000987053,
0.00147121527697891,
-0.048580341041088104,
0.00013066029350738972,
-0.0057555693201720715,
-0.034700244665145874,
0.015948766842484474,
-0.08408135920763016,
-0.044943489134311676,
-0.0748724490404129,
0.0020540710538625717,
0.015948766842484474,
-0.0542524978518486,
-0.04167366027832031,
-0.039972010999917984,
-0.036401890218257904,
0.002406495390459895,
0.020586587488651276,
-0.00543859601020813,
0.04751264303922653,
0.04621138423681259,
0.037402860820293427,
-0.02801043726503849,
-0.02263857237994671,
0.02507426217198372,
-0.007453045342117548,
-0.052484117448329926,
0.04717898741364479,
-0.005250914487987757,
-0.038370463997125626,
0.02427348867058754,
0.023973196744918823,
-0.03368259221315384,
-0.01189484354108572,
0.014388923533260822,
-0.041273269802331924,
-0.017600364983081818,
-0.03676891326904297,
-0.05108276382088661,
0.006977585144340992,
-0.003657706081867218,
0.02485738694667816,
-0.043308574706315994,
0.026358839124441147,
-0.004087288398295641,
-0.032765038311481476,
-0.06613066047430038,
0.004350042436271906,
0.0009550908580422401,
0.06826605647802353,
0.05902377888560295,
0.008266332559287548,
0.01876816153526306,
0.026892689988017082,
-0.003301111049950123,
0.018718112260103226,
-0.00799940712749958,
-0.025624794885516167,
0.04360886290669441,
-0.01841782219707966,
0.0581229105591774,
0.06175976246595383,
-0.08141211420297623,
-0.015147991478443146,
0.0027651756536215544,
0.020336344838142395,
0.06319448351860046,
0.005563716869801283,
-0.0804111436009407,
0.002767261117696762,
-0.011277579702436924,
0.09676029533147812,
-0.0076157026924192905,
-0.04450973495841026,
0.01206167135387659,
-0.022755352780222893,
0.02986222878098488,
0.025841671973466873,
-0.013329564593732357,
0.07580668479204178,
-0.03158055990934372,
0.004156104754656553,
-0.013971853069961071,
-0.011436065658926964,
0.04117317497730255,
0.03910450637340546,
-0.014505703002214432,
0.0823463499546051,
-0.05158324912190437,
-0.00018194688891526312,
-0.023022277280688286,
-0.009108814410865307,
0.016574371606111526,
0.003543011611327529,
0.05098266527056694,
-0.09609298408031464,
0.04464319720864296,
0.045010220259428024,
0.07347109168767929,
0.04230760410428047,
-0.01753363385796547,
0.028060486540198326,
0.02500753104686737,
-0.036802276968955994,
0.00794935878366232,
-0.01833440735936165,
0.007486410904675722,
0.027409857138991356,
-0.013346247375011444,
-0.03002905659377575,
-0.0015139649622142315,
0.04157356172800064,
-0.014071949757635593,
-0.05221719294786453,
0.03426649048924446,
0.039738453924655914,
0.03623506426811218,
0.015973789617419243,
-0.01940210722386837,
-0.007365460507571697,
-0.0768076553940773,
0.018000751733779907,
-0.00386624108068645,
-0.015122966840863228,
-0.031046709045767784,
-0.01946883834898472,
0.06973414123058319,
0.01654934696853161,
0.04010547325015068,
0.030396079644560814,
0.026508985087275505,
-0.01719997636973858,
-0.0023314226418733597
] |
7,521 | gitignorefile | parents | null | def parents(self):
for i in range(len(self.__parts) - 1, 0, -1):
yield _Path(self.__parts[:i])
| (self) | [
-0.01694241166114807,
-0.00788652990013361,
-0.06854335218667984,
0.0198877714574337,
-0.05310439318418503,
0.037981949746608734,
0.03886116296052933,
0.02686871401965618,
0.05693775787949562,
0.0456838458776474,
0.04849732294678688,
-0.013979467563331127,
-0.0035410255659371614,
0.04262419044971466,
-0.04751260578632355,
-0.016423676162958145,
0.02268366515636444,
-0.030825166031718254,
-0.0015485117910429835,
-0.0009237219346687198,
-0.004857645370066166,
0.005640143994241953,
0.054792482405900955,
-0.02850404754281044,
-0.0270973090082407,
0.017751285806298256,
-0.0010061480570584536,
0.014102557674050331,
-0.0040619587525725365,
-0.05296371877193451,
-0.02716764435172081,
0.026165343821048737,
0.023211192339658737,
-0.03580150380730629,
0.01277494803071022,
0.014691629447042942,
-0.06147449091076851,
0.007249101530760527,
0.009583408944308758,
0.0007396369474008679,
0.033427633345127106,
-0.001050658174790442,
-0.04280003160238266,
-0.005772025790065527,
0.034851957112550735,
0.00853714719414711,
0.03896666690707207,
-0.0009424051968380809,
0.014674045145511627,
0.013873962685465813,
0.05036125332117081,
0.01713583804666996,
-0.001996909733861685,
-0.03597734868526459,
-0.0347464494407177,
0.011183574795722961,
0.018815133720636368,
0.0006632553995586932,
0.01344314869493246,
0.00535879610106349,
0.007301853969693184,
-0.043468233197927475,
0.0034772828221321106,
0.006879832595586777,
0.03124718740582466,
-0.05700809508562088,
0.010401075705885887,
-0.04536733031272888,
-0.03397274389863014,
0.05901269614696503,
-0.03668071702122688,
-0.030825166031718254,
0.011869359761476517,
0.01343435700982809,
-0.008669028989970684,
0.0034926689695566893,
0.0002796992484945804,
0.04673890024423599,
0.09994880110025406,
-0.04192081838846207,
-0.07983243465423584,
-0.009521864354610443,
-0.08989061415195465,
-0.03893150016665459,
0.024600347504019737,
0.06572987884283066,
0.022244058549404144,
-0.03323420509696007,
-0.021980294957756996,
0.08524838089942932,
-0.0512404665350914,
0.03384965658187866,
0.0029805281665176153,
0.01223862823098898,
0.006963357795029879,
0.02131209522485733,
-0.014761966653168201,
-0.016212666407227516,
0.023299112915992737,
-0.020766982808709145,
-0.021734116598963737,
0.029629439115524292,
-0.030526233837008476,
0.012335341423749924,
0.027660002931952477,
0.0025387241039425135,
-0.04304620996117592,
-0.04951721057295799,
0.06829717755317688,
-0.03601251542568207,
-0.0508887805044651,
0.012396886944770813,
-0.020977994427084923,
0.036188360303640366,
-0.017461147159337997,
-0.04258901998400688,
-0.012458431534469128,
-0.024582762271165848,
0.0891169086098671,
-0.022402316331863403,
-0.022314395755529404,
0.024653099477291107,
-0.03532673045992851,
0.025338884443044662,
-0.014937808737158775,
0.0184986162930727,
0.024670682847499847,
0.009688913822174072,
-0.05405394360423088,
-0.05869618058204651,
0.05018541216850281,
0.017724910750985146,
-0.014234439469873905,
-0.047829121351242065,
-0.016819322481751442,
0.02591916359961033,
0.03843913972377777,
-0.056375060230493546,
-0.03738408535718918,
0.007297458127140999,
-0.01433115266263485,
-0.01277494803071022,
0.029207415878772736,
0.05676191672682762,
-0.02438933588564396,
0.053561583161354065,
0.042167000472545624,
0.019430581480264664,
-0.004134493414312601,
0.0030025083106011152,
-0.04547283425927162,
-0.0031783506274223328,
0.10170722007751465,
0.009838379919528961,
-0.02278917096555233,
-0.026306018233299255,
-0.07420548051595688,
0.03402549773454666,
0.017654573544859886,
-0.04884900897741318,
-0.01716221496462822,
-0.06752346456050873,
0.02991078607738018,
0.010154896415770054,
-0.0022123167291283607,
0.020837320014834404,
-0.019448164850473404,
-0.006048977375030518,
-0.0056577278301119804,
0.009310852736234665,
0.042237333953380585,
0.016203874722123146,
-0.023123271763324738,
-0.062072355300188065,
-0.047899458557367325,
-0.02307051792740822,
0.03559049591422081,
0.045261822640895844,
-0.008123917505145073,
0.03875565528869629,
0.009592200629413128,
-0.026165343821048737,
0.019641591235995293,
-0.01865687407553196,
0.03471128270030022,
0.005429132841527462,
0.01696878857910633,
-0.016107160598039627,
0.07054795324802399,
-0.02020428702235222,
-0.05391326919198036,
0.049060020595788956,
0.026780791580677032,
0.04554317146539688,
0.020731814205646515,
0.0256202332675457,
0.005574203096330166,
-0.00680070323869586,
-0.04512115195393562,
0.04818080738186836,
-0.041955988854169846,
-0.03840397298336029,
-0.016625896096229553,
-0.020485635846853256,
-0.007570013869553804,
0.042061492800712585,
-0.05655090510845184,
-0.004176256246864796,
-0.000769859878346324,
0.029207415878772736,
-0.018938222900032997,
-0.011333039961755276,
0.051873497664928436,
-0.09312611818313599,
-0.004224612843245268,
-0.042061492800712585,
-0.028082026168704033,
-0.00640945415943861,
0.029013989493250847,
0.01076155249029398,
0.012335341423749924,
0.021997880190610886,
-0.007833776995539665,
-0.02150552161037922,
-0.04265935719013214,
-0.040443744510412216,
-0.005521450191736221,
-0.03423650935292244,
-0.035098135471343994,
-0.023580461740493774,
-0.020731814205646515,
-0.05757078900933266,
-0.01578185148537159,
-0.017557859420776367,
0.029348090291023254,
0.05131080001592636,
-0.05240102484822273,
0.011930904351174831,
-0.0006539137684740126,
0.03006904385983944,
-0.03685655817389488,
0.020520804449915886,
-0.006475395057350397,
-0.004598277620971203,
0.027712756767868996,
0.006475395057350397,
0.025989500805735588,
-0.040443744510412216,
0.059294044971466064,
0.020643893629312515,
0.02403765171766281,
0.020854905247688293,
-0.0569729246199131,
0.018867885693907738,
0.0458596870303154,
-0.00858110748231411,
0.004182850010693073,
-0.030983423814177513,
-0.004009205847978592,
0.03597734868526459,
0.005143389105796814,
0.026130175217986107,
-0.017513899132609367,
-0.002626645378768444,
0.013205761089920998,
0.007029298692941666,
0.015430167317390442,
-0.051873497664928436,
-0.06534302234649658,
0.027906183153390884,
0.08989061415195465,
-0.005117012653499842,
-0.01288924552500248,
0.05289338156580925,
0.020485635846853256,
-0.003910294733941555,
-0.054792482405900955,
0.026323601603507996,
-0.07722996920347214,
-0.002439812757074833,
-0.01992294006049633,
0.04979855567216873,
-0.04434744268655777,
-0.04965788498520851,
-0.006281968671828508,
-0.01597527787089348,
-0.011130821891129017,
-0.013249722309410572,
-0.04997440055012703,
0.02405523508787155,
0.053491245955228806,
-0.012634273618459702,
-0.023140855133533478,
-0.06143932044506073,
0.06551886349916458,
-0.01851620152592659,
0.010137312114238739,
-0.01277494803071022,
0.0013056294992566109,
-0.014304776675999165,
0.039283182471990585,
-0.036504875868558884,
0.015412583015859127,
0.039177678525447845,
-0.01432236097753048,
0.02996353805065155,
-0.012528768740594387,
-0.004094928968697786,
-0.021997880190610886,
-0.03713790699839592,
-0.02296501211822033,
-0.014594916254281998,
0.02414315566420555,
-0.03267151117324829,
-0.028996406123042107,
-0.04740710183978081,
0.019061312079429626,
0.012906829826533794,
-0.025286132469773293,
0.04019756615161896,
-0.027361072599887848,
0.11155439913272858,
-0.01433115266263485,
0.0371730774641037,
-0.01696878857910633,
0.06551886349916458,
-0.00043411084334366024,
0.053526416420936584,
-0.00859429594129324,
-0.023123271763324738,
-0.007095239590853453,
0.016019240021705627,
-0.01703033223748207,
0.00863825622946024,
-0.007781024556607008,
0.04979855567216873,
0.05574202910065651,
0.016247835010290146,
0.01347831729799509,
-0.02009878307580948,
0.08982028067111969,
-0.013970675878226757,
0.022419901564717293,
-0.016687439754605293,
-0.04118228331208229,
0.030807582661509514,
0.023580461740493774,
0.04139329120516777,
0.00533681595697999,
0.039283182471990585,
0.0016683044377714396,
0.039318352937698364,
0.011218742467463017,
-0.019237155094742775,
-0.0035278373397886753,
0.03446510434150696,
-0.023387033492326736,
0.008172273635864258,
-0.030807582661509514,
0.05022057890892029,
0.0765969306230545,
-0.030825166031718254,
0.017382018268108368,
-0.03741925582289696,
-0.0013693723594769835,
-0.060489773750305176,
0.05556618794798851,
-0.022279227152466774,
-0.0569729246199131,
0.008712989278137684,
-0.0458596870303154,
0.00921413954347372,
0.03829846531152725,
-0.054757311940193176,
0.0031827467028051615,
-0.008225026540458202,
0.03337487950921059,
0.03159887343645096,
0.03163404017686844,
0.030895503237843513,
-0.010348322801291943,
-0.000799533270765096,
0.050607431679964066,
0.0009753755875863135,
0.002099118195474148,
-0.022367149591445923,
0.08004344254732132,
-0.009688913822174072,
-0.002745338948443532,
-0.017557859420776367,
0.02162861078977585,
-0.05138113722205162,
0.0032530836760997772,
-0.005820382386445999,
0.010110936127603054,
-0.0880618542432785,
0.05468697473406792,
-0.006624861154705286,
-0.02574332244694233,
-0.08749915659427643,
0.056445397436618805,
-0.07856636494398117,
-0.022525407373905182,
0.029295338317751884,
0.03854464739561081,
-0.07378345727920532,
0.027800677344202995,
0.057887304574251175,
-0.012669442221522331,
-0.049341365694999695,
-0.04097127169370651,
-0.030807582661509514,
0.027835845947265625,
0.002655219752341509,
0.017417186871170998,
-0.05007990449666977,
-0.03173954784870148,
0.013495901599526405,
0.04132295399904251,
0.02700938656926155,
-0.00995267741382122,
-0.029189832508563995,
0.04174497723579407,
0.008005223236978054,
0.03453544154763222,
-0.0028618343640118837,
-0.05672674626111984,
-0.016335755586624146,
0.027853431180119514,
0.0049147941172122955,
0.009310852736234665,
-0.025936748832464218,
0.007679915055632591,
-0.03571358323097229,
-0.023685965687036514,
0.011711101047694683,
-0.0005506064044311643,
0.013038711622357368,
-0.04434744268655777,
0.020520804449915886,
0.04839181900024414,
0.004472990054637194,
-0.022173721343278885,
-0.020432882010936737,
0.1106400117278099,
-0.0049807350151240826,
-0.027783093973994255,
0.04702024906873703,
-0.009143803268671036,
0.05901269614696503,
-0.012555144727230072,
-0.03423650935292244,
0.039142511785030365,
-0.05669157952070236,
-0.03857981413602829,
0.0484621562063694,
0.0272731501609087,
-0.0228419229388237,
-0.07722996920347214,
-0.0008753652800805867,
0.07800367474555969,
0.016247835010290146,
0.12027617543935776,
-0.017549067735671997,
-0.013944299891591072,
-0.016247835010290146,
-0.005640143994241953,
-0.004031185992062092,
-0.06165033206343651,
-0.03523880988359451,
0.06003258377313614,
-0.024617930874228477,
-0.07125132530927658,
-0.023756302893161774,
-0.033673811703920364,
-0.02693904936313629,
-0.011139613576233387,
-0.006308344658464193,
0.01282770000398159,
-0.07842569798231125,
-0.07258772850036621,
-0.04311654716730118,
0.003191538853570819,
0.0033871636260300875,
-0.020450467243790627,
-0.04002172127366066,
-0.05412428081035614,
-0.010524165816605091,
-0.03298802673816681,
-0.06172066926956177,
0.019659176468849182,
-0.0015210364945232868,
-0.06492099910974503,
0.015386207029223442,
0.01130666397511959,
0.06407696008682251,
0.037981949746608734,
-0.00637428555637598,
-0.005433529149740934,
-0.049200695008039474,
-0.01367174368351698,
-0.0007610677275806665,
0.06551886349916458,
0.033726565539836884,
-0.0029805281665176153,
0.05683225020766258,
0.01269581913948059,
-0.01433115266263485,
-0.02846887893974781,
0.00990871712565422,
0.03173954784870148,
-0.045085981488227844,
-0.014937808737158775,
0.01564117893576622,
-0.037559930235147476,
-0.01150009036064148,
0.0018661271315068007,
-0.02015153504908085,
0.042026326060295105,
0.012423262931406498,
0.015254325233399868,
-0.07244705408811569,
0.03319903835654259,
0.009820795617997646,
-0.020503219217061996,
-0.007099635433405638,
-0.011992448940873146,
-0.00467740697786212,
-0.0025343280285596848,
-0.012660650536417961,
0.05015024170279503,
-0.0008226125501096249,
0.008053580299019814,
0.054651807993650436,
0.020468050613999367,
0.0229298435151577,
0.005042279604822397,
-0.002620051149278879,
0.021048331633210182,
0.03847431018948555,
0.026306018233299255,
0.05447596311569214,
0.015175196342170238,
0.05131080001592636,
0.09186004847288132,
-0.007367794867604971,
0.001450699521228671,
-0.0018507408676669002,
0.021857205778360367,
0.03896666690707207,
0.016362132504582405,
-0.019254738464951515,
-0.031088929623365402,
0.025461973622441292,
0.03801712021231651,
-0.012528768740594387,
0.023896977305412292,
-0.039107341319322586,
-0.036540042608976364,
-0.013830001465976238,
0.05862584337592125,
0.0368213914334774,
-0.040514081716537476,
-0.05032608285546303,
0.03177471458911896,
0.003006904385983944,
0.03808745741844177,
0.01572909951210022,
0.01009335182607174,
0.02159344218671322,
0.00322231138125062,
0.045261822640895844,
-0.011561635881662369,
-0.016792945563793182,
0.029436010867357254,
0.01502573024481535,
-0.04441777989268303,
-0.02581365965306759,
-0.013170593418180943,
-0.06302190572023392,
0.07448682188987732,
-0.01876237988471985,
0.03583667427301407,
0.031001009047031403,
-0.01685449108481407,
-0.018059011548757553,
0.01727651245892048,
0.04480463266372681,
-0.026112591847777367,
-0.007961262948811054,
0.03193297237157822,
-0.04712575301527977,
-0.007728272117674351,
0.07357244193553925,
0.026657702401280403,
-0.03437718376517296,
-0.002560704480856657,
-0.06094696372747421,
-0.046422384679317474,
-0.020432882010936737,
0.050431590527296066,
0.03133510798215866,
0.019553670659661293,
0.09558790922164917,
0.0035476197954267263,
-0.06776964664459229,
0.05954022333025932,
0.010831889696419239,
-0.0006753446068614721,
0.06460448354482651,
0.04431227594614029,
0.021874789148569107,
0.029418427497148514,
-0.09664296358823776,
-0.08348995447158813,
0.010383491404354572,
-0.049376536160707474,
0.009759251028299332,
-0.010814305394887924,
-0.010629670694470406,
-0.013223345391452312,
-0.08799152076244354,
-0.0371730774641037,
0.0014177290722727776,
-0.05542551353573799,
0.0198877714574337,
0.011623180471360683,
-0.016617102548480034,
0.024635516107082367,
0.0031585684046149254,
0.05517933517694473,
-0.05426495522260666,
-0.0029497556388378143,
-0.00998784601688385,
0.027431407943367958,
-0.032073646783828735,
-0.015588425099849701,
-0.06302190572023392,
-0.04283519834280014,
-0.006238007918000221,
-0.059469886124134064,
-0.01002301461994648,
-0.023580461740493774,
-0.01432236097753048,
-0.05131080001592636,
-0.05440562590956688,
-0.025250963866710663,
0.025057537481188774,
-0.020679062232375145,
-0.029400844126939774,
0.0366455502808094,
0.0287502259016037,
0.0000034644724564714124,
-0.07072380185127258,
-0.04849732294678688,
0.04262419044971466,
-0.003121201880276203,
-0.02841612510383129,
0.019711928442120552,
0.016362132504582405,
0.06094696372747421,
0.010427452623844147,
0.011280287988483906,
0.005991828627884388,
0.0015584029024466872,
0.015500504523515701,
0.03435959666967392,
-0.0347464494407177,
0.023369450122117996,
-0.016669856384396553,
-0.03854464739561081,
0.006251195911318064,
-0.05011507496237755,
-0.005684104282408953,
-0.04860283061861992,
-0.007578806020319462,
0.010357115417718887,
-0.004884021822363138,
0.008040391840040684,
0.002870626514777541,
-0.08306793123483658,
0.04019756615161896,
-0.00743813207373023,
0.009970261715352535,
0.05317473039031029,
0.03311111778020859,
0.00785575807094574,
-0.04596519470214844,
0.08313827216625214,
0.012423262931406498,
0.042131830006837845,
0.002047464484348893,
0.03738408535718918,
0.030860334634780884,
0.0033585892524570227,
0.04135812446475029,
0.0736427828669548,
-0.07786300033330917,
-0.02841612510383129,
-0.026024669408798218,
0.036329030990600586,
0.008308551274240017,
-0.035186056047677994,
-0.009099842049181461,
0.029207415878772736,
0.011878151446580887,
0.047547776252031326,
0.051873497664928436,
-0.019360244274139404,
0.06492099910974503,
-0.022279227152466774,
0.02289467491209507,
0.001807879307307303,
-0.05036125332117081,
0.00986475683748722,
-0.06580021232366562,
0.07645625621080399,
0.0006412751390598714,
0.07293941080570221,
-0.0006137997261248529,
0.017891960218548775,
-0.016450053080916405,
0.007679915055632591,
0.003490470815449953,
-0.018146932125091553,
0.03833363577723503,
0.036118023097515106,
-0.00644462276250124,
-0.03981070965528488,
0.03981070965528488,
-0.07828502357006073,
-0.01735564135015011,
-0.01488505583256483,
-0.04301104322075844,
0.04142846167087555,
-0.03156370297074318,
0.021118666976690292,
0.018973391503095627,
-0.022173721343278885,
-0.053807761520147324,
-0.001988117815926671,
0.010260402224957943,
-0.021083500236272812,
0.027536913752555847,
-0.022156137973070145,
-0.008712989278137684,
0.02435416728258133,
0.018779965117573738,
-0.029119495302438736,
-0.009926301427185535,
0.01853378489613533,
0.009477903135120869,
0.020309792831540108,
-0.03857981413602829,
-0.0765969306230545,
-0.014463034458458424,
-0.005371984094381332,
-0.01863929070532322,
-0.030825166031718254,
0.0061325025744736195,
-0.042096663266420364,
-0.00792169850319624,
0.004004810005426407,
0.05721910670399666,
0.033550724387168884,
0.039283182471990585,
0.03587184101343155,
0.003587184241041541
] |
7,522 | gitignorefile | relpath | null | def relpath(self, base_path):
if self.__parts[: len(base_path.__parts)] == base_path.__parts:
return "/".join(self.__parts[len(base_path.__parts) :])
else:
return None
| (self, base_path) | [
-0.018736476078629494,
0.008796264417469501,
-0.023641586303710938,
0.07314332574605942,
-0.006833354476839304,
-0.04021149501204491,
0.07522322982549667,
0.06624497473239899,
-0.01497531495988369,
0.004619122017174959,
0.042984701693058014,
0.018459156155586243,
0.029655978083610535,
-0.001282608020119369,
-0.014940650202333927,
0.023086944594979286,
0.07536188513040543,
-0.017921848222613335,
-0.00018903303134720773,
-0.01908312737941742,
0.015859274193644524,
0.03137189894914627,
0.008271954953670502,
0.006421706639230251,
-0.04003816843032837,
0.05019503831863403,
0.021197697147727013,
-0.021111035719513893,
0.013441385701298714,
-0.06243181228637695,
0.01849382184445858,
0.004814113024622202,
0.03209986537694931,
0.009636892937123775,
0.021267028525471687,
0.025964146479964256,
-0.013207396492362022,
0.01708121970295906,
-0.049016427248716354,
-0.010330194607377052,
-0.00935957208275795,
0.01039085816591978,
-0.009714889340102673,
-0.025530831888318062,
0.026952100917696953,
0.027680067345499992,
-0.012878078036010265,
0.03528905287384987,
0.00785597413778305,
0.06381841748952866,
0.014342677779495716,
-0.011699465103447437,
-0.06354109197854996,
-0.03653699532151222,
-0.02014041319489479,
0.050749678164720535,
-0.018372492864727974,
0.017973845824599266,
-0.025305509567260742,
0.036640990525484085,
0.03584369644522667,
-0.028321372345089912,
-0.027142759412527084,
0.015538622625172138,
0.0466592013835907,
0.04041948541998863,
-0.012479429133236408,
-0.022220317274332047,
0.01588527299463749,
0.05688539892435074,
-0.031475894153118134,
0.06208516284823418,
-0.07383662462234497,
-0.0010410357499495149,
0.053488221019506454,
0.0006320960819721222,
0.07019679248332977,
-0.02488952875137329,
0.0631251111626625,
-0.00817662663757801,
0.003815325675532222,
-0.020209742709994316,
-0.038928888738155365,
-0.10912568122148514,
0.014394675381481647,
0.03421443700790405,
-0.03955285996198654,
-0.029603980481624603,
-0.026813440024852753,
-0.01137014664709568,
-0.01339805405586958,
0.02735074982047081,
0.010884835384786129,
0.0187191441655159,
0.05556812509894371,
-0.06513568758964539,
-0.057925350964069366,
-0.02534017525613308,
0.027957389131188393,
-0.034318432211875916,
-0.015417295508086681,
0.06253580749034882,
-0.064269058406353,
0.012843413278460503,
0.04000350460410118,
0.03584369644522667,
0.009879548102617264,
0.003750328440219164,
-0.00013243145076557994,
-0.037056971341371536,
-0.08118562400341034,
-0.06645296514034271,
-0.022913619875907898,
0.019620437175035477,
-0.0237455815076828,
0.027108093723654747,
-0.0237455815076828,
0.025166848674416542,
0.05598410591483116,
0.03209986537694931,
0.0052734254859387875,
0.03327848017215729,
-0.05050702393054962,
-0.03948352858424187,
0.07439126819372177,
-0.009636892937123775,
-0.022757627069950104,
0.042950037866830826,
-0.05172030255198479,
-0.052066951990127563,
0.021440353244543076,
0.04173675924539566,
-0.08458279818296432,
-0.021388355642557144,
-0.051754966378211975,
0.07612451910972595,
0.026501454412937164,
0.026380127295851707,
-0.06555166840553284,
0.041390106081962585,
0.019603103399276733,
-0.029569314792752266,
0.01643991470336914,
-0.006751024629920721,
0.030921252444386482,
0.09158514440059662,
0.002472053747624159,
0.0385475717484951,
-0.00876593217253685,
0.013935362920165062,
-0.0036333338357508183,
-0.06215449050068855,
0.03428376466035843,
-0.014628664590418339,
-0.034769076853990555,
-0.032342519611120224,
-0.02168300934135914,
0.025218846276402473,
0.030383944511413574,
-0.05626142770051956,
0.048704441636800766,
-0.06402640789747238,
0.043678004294633865,
-0.026328129693865776,
0.010191533714532852,
0.03393711522221565,
0.02041773311793804,
0.003672332037240267,
0.02502818964421749,
-0.00025917566381394863,
-0.0003398802946321666,
0.007063010241836309,
-0.02378024533390999,
-0.04683252424001694,
-0.03972618281841278,
-0.037646278738975525,
-0.020105747506022453,
-0.0034361763391643763,
-0.021752338856458664,
0.03209986537694931,
0.03674498572945595,
-0.039102211594581604,
0.00682468805462122,
0.012496761977672577,
0.008046631701290607,
0.06232781708240509,
-0.020400401204824448,
-0.005520414095371962,
0.049605730921030045,
0.02712542563676834,
-0.07175672054290771,
0.011543472297489643,
-0.00695034908130765,
-0.006946015637367964,
0.014256014488637447,
-0.037230297923088074,
0.08721734583377838,
0.0012761083198711276,
-0.017367206513881683,
0.025998812168836594,
0.013536714017391205,
-0.04925908148288727,
-0.02014041319489479,
0.0034231769386678934,
0.008167959749698639,
-0.004047148395329714,
0.02461220882833004,
0.03383312001824379,
-0.018389826640486717,
0.036051686853170395,
-0.015001313760876656,
-0.009307574480772018,
0.00648237019777298,
-0.055914778262376785,
-0.03164922073483467,
-0.04249938949942589,
-0.08236423134803772,
0.02410956472158432,
0.015772612765431404,
0.11196821182966232,
0.022774958983063698,
-0.0784817487001419,
0.11820793151855469,
-0.0010209949687123299,
-0.025149516761302948,
-0.02712542563676834,
0.011448143050074577,
-0.010962831787765026,
-0.006937349680811167,
-0.040939461439847946,
0.004558458458632231,
-0.053765542805194855,
0.027888057753443718,
0.0033105153124779463,
0.05019503831863403,
0.007591653149574995,
-0.00305919349193573,
-0.007253668271005154,
0.04149410128593445,
0.0010632430203258991,
0.015651283785700798,
-0.00685935327783227,
0.017107218503952026,
0.015529956668615341,
-0.020625723525881767,
0.008960924111306667,
0.00026296713622286916,
-0.04055814445018768,
0.028616024181246758,
-0.011222819797694683,
-0.01395269576460123,
0.05185896158218384,
-0.06003992259502411,
-0.009827550500631332,
0.0553254708647728,
0.035046398639678955,
-0.040800802409648895,
0.03159722313284874,
-0.04041948541998863,
0.04783781245350838,
-0.009784219786524773,
-0.020487062633037567,
0.01107549387961626,
0.006686027627438307,
-0.018025843426585197,
-0.06523968279361725,
-0.018025843426585197,
0.005641742143779993,
0.01504464540630579,
-0.019412444904446602,
-0.025669492781162262,
-0.01111882459372282,
-0.013571379706263542,
-0.004601789638400078,
0.05459750443696976,
0.006231048610061407,
-0.040072835981845856,
0.00581073435023427,
0.044267307966947556,
0.026172136887907982,
-0.027194757014513016,
0.00012437452096492052,
0.021405687555670738,
-0.0187191441655159,
0.0031913539860397577,
0.001867581275291741,
0.008787598460912704,
-0.0631251111626625,
-0.0416327640414238,
0.016145261004567146,
0.0659329891204834,
-0.003054860280826688,
-0.05688539892435074,
0.0363290049135685,
-0.03237718716263771,
0.046139225363731384,
0.06021324545145035,
-0.0007328414940275252,
0.03287982940673828,
-0.018511153757572174,
-0.02383224293589592,
0.0013367722276598215,
-0.030470607802271843,
0.03232518956065178,
-0.036190345883369446,
-0.050333697348833084,
0.035635702311992645,
0.008120295591652393,
0.00906491931527853,
0.01008753851056099,
-0.04145943745970726,
-0.027316084131598473,
0.01020886655896902,
0.019343115389347076,
0.038235586136579514,
-0.011742796748876572,
0.015096643008291721,
0.021925663575530052,
-0.05667740851640701,
0.04003816843032837,
-0.050333697348833084,
0.10163801908493042,
0.008345618844032288,
0.03709163889288902,
-0.05199762433767319,
-0.014550668187439442,
-0.002137318952009082,
-0.01377070415765047,
-0.008869927376508713,
0.03729962930083275,
0.04031549021601677,
0.0175318643450737,
0.02365891821682453,
-0.04561924934387207,
0.0017700857715681195,
-0.026744110509753227,
0.02643212489783764,
-0.03917154297232628,
0.036190345883369446,
0.01747986674308777,
0.061253201216459274,
-0.03858223557472229,
0.05352288484573364,
0.007400995120406151,
0.0013010238762944937,
0.02735074982047081,
0.016275255009531975,
0.021076370030641556,
0.007990301586687565,
-0.0636797547340393,
-0.05123499035835266,
-0.02762806974351406,
-0.013294058851897717,
-0.009004254825413227,
-0.030765259638428688,
-0.0009316240902990103,
-0.017280543223023415,
0.008969590067863464,
0.03050527162849903,
0.09893414378166199,
0.042395394295454025,
-0.0037893266417086124,
-0.02201232686638832,
0.005095766857266426,
0.016656571999192238,
0.024577543139457703,
-0.06322910636663437,
0.019932422786951065,
0.0034231769386678934,
0.01230610441416502,
-0.010312861762940884,
-0.022982949391007423,
0.054770831018686295,
-0.04128611087799072,
0.002996362978592515,
-0.052344273775815964,
0.009350906126201153,
-0.016084598377346992,
0.03544504567980766,
0.0037806604523211718,
0.0011851125163957477,
0.020331069827079773,
-0.011682132259011269,
0.00602739118039608,
-0.05369621142745018,
0.0046277884393930435,
0.06905284523963928,
-0.0695728212594986,
-0.025288177654147148,
0.02105903811752796,
-0.0005021020187996328,
-0.020209742709994316,
0.01712455041706562,
-0.01986309140920639,
-0.05095766857266426,
-0.06624497473239899,
0.06361042708158493,
-0.04395532235503197,
0.05847999453544617,
-0.055048149079084396,
0.05241360515356064,
0.026449456810951233,
-0.03140656277537346,
0.0480458028614521,
0.04912042245268822,
-0.0234682597219944,
0.09047586470842361,
0.06804755330085754,
-0.028252040967345238,
-0.06485836952924728,
-0.09519031643867493,
-0.010165534913539886,
-0.0374382883310318,
0.005165097303688526,
0.01725454442203045,
-0.04243006184697151,
-0.0129214096814394,
-0.027177423238754272,
0.0377156101167202,
0.017046554014086723,
-0.04447529837489128,
-0.012730751186609268,
0.002046323148533702,
0.01314673200249672,
0.004515126813203096,
-0.009827550500631332,
-0.029621312394738197,
0.007106341887265444,
0.046000562608242035,
0.0037611613515764475,
-0.010867503471672535,
-0.023260269314050674,
-0.04690185561776161,
-0.023450927808880806,
0.02379757910966873,
-0.010364859364926815,
0.007660983130335808,
0.0234682597219944,
-0.029829302802681923,
-0.033590465784072876,
0.030626600608229637,
-0.007366329897195101,
-0.04516860097646713,
-0.014472671784460545,
0.0430193655192852,
0.0016715069068595767,
-0.07390595227479935,
-0.00979288574308157,
-0.08160160481929779,
-0.009558896534144878,
-0.04204874485731125,
-0.005520414095371962,
0.019169790670275688,
0.013086068443953991,
-0.03437042981386185,
-0.08000700920820236,
-0.03385045379400253,
0.047421831637620926,
0.009784219786524773,
-0.0044241310097277164,
0.008787598460912704,
0.08929724991321564,
0.07778844237327576,
-0.04069680720567703,
-0.0068810186348855495,
-0.030747927725315094,
0.005191096104681492,
-0.025825485587120056,
-0.01033886056393385,
-0.009212245233356953,
0.049605730921030045,
-0.0056937397457659245,
0.0025673825293779373,
0.0036095017567276955,
0.03924087435007095,
0.03917154297232628,
-0.027333417907357216,
0.045827239751815796,
0.03639833629131317,
-0.019845759496092796,
-0.05369621142745018,
-0.021111035719513893,
-0.011664800345897675,
0.026172136887907982,
0.018008509650826454,
-0.02072971872985363,
-0.09463567286729813,
0.06413040310144424,
-0.018233833834528923,
-0.027004098519682884,
0.042811375111341476,
0.10600581765174866,
-0.06627963483333588,
0.031198574230074883,
-0.017783187329769135,
0.000159378134412691,
0.016240591183304787,
0.008406282402575016,
0.04319269210100174,
0.002610713941976428,
0.05854932218790054,
-0.0413554422557354,
0.01790451444685459,
0.08000700920820236,
-0.034266434609889984,
0.0028360369615256786,
-0.05400819703936577,
0.020521728321909904,
-0.04450996592640877,
-0.008553609251976013,
0.005849732551723719,
0.027506742626428604,
0.029465319588780403,
0.004766448866575956,
0.0004417089803609997,
0.01981109380722046,
0.0034405093174427748,
-0.010763508267700672,
0.0751538947224617,
-0.014351343736052513,
-0.02128436043858528,
0.007708647754043341,
0.0027580405585467815,
-0.02757607214152813,
-0.03192653879523277,
-0.0321345292031765,
-0.021769670769572258,
0.016309920698404312,
-0.03955285996198654,
0.05064568296074867,
-0.011387479491531849,
0.01643991470336914,
0.015902606770396233,
0.008523277007043362,
0.06548234075307846,
0.13394588232040405,
-0.05172030255198479,
-0.06801289319992065,
0.0004065022512804717,
0.011742796748876572,
-0.022497637197375298,
-0.05480549484491348,
0.03220386058092117,
-0.02799205295741558,
-0.0002467178856022656,
0.008263288997113705,
-0.015495291911065578,
0.01725454442203045,
0.045272596180438995,
0.02707342803478241,
0.013276726007461548,
0.008523277007043362,
0.023138942196965218,
0.018199168145656586,
0.01039085816591978,
-0.03473441302776337,
-0.02497619204223156,
0.045584581792354584,
0.008505944162607193,
0.014628664590418339,
-0.01653524488210678,
0.03388511762022972,
0.027316084131598473,
0.0617385096848011,
-0.03227319195866585,
0.021856334060430527,
0.007812642492353916,
-0.0486004464328289,
0.05151231214404106,
0.018649814650416374,
-0.021128367632627487,
0.045272596180438995,
-0.04035015404224396,
-0.02072971872985363,
0.03400644659996033,
0.036190345883369446,
-0.007808309514075518,
-0.05043769255280495,
0.037230297923088074,
-0.002056072698906064,
-0.010720176622271538,
-0.011023496277630329,
0.11113625019788742,
0.028286706656217575,
-0.027194757014513016,
-0.034994401037693024,
0.007171338889747858,
0.017687857151031494,
-0.019065795466303825,
-0.051338985562324524,
-0.03159722313284874,
-0.049605730921030045,
0.018389826640486717,
0.027108093723654747,
0.03419710323214531,
-0.038235586136579514,
-0.02324293740093708,
-0.04759515821933746,
0.01040819101035595,
-0.009662891738116741,
0.022618966177105904,
0.027974721044301987,
0.021942997351288795,
0.08236423134803772,
-0.00633504381403327,
-0.030019961297512054,
0.006348043214529753,
0.01707255281507969,
-0.051061663776636124,
0.004237806424498558,
0.028529362753033638,
0.03948352858424187,
0.015252635814249516,
0.007335998117923737,
-0.03475174307823181,
-0.013406720012426376,
-0.022670963779091835,
0.011543472297489643,
-0.040072835981845856,
0.003927987068891525,
-0.026328129693865776,
-0.028529362753033638,
-0.014273347333073616,
0.0006342626875266433,
-0.07550054788589478,
0.03941419720649719,
0.029569314792752266,
-0.018337829038500786,
-0.011058161035180092,
0.016110597178339958,
0.032949160784482956,
-0.06579432636499405,
-0.0176705252379179,
-0.022757627069950104,
0.01972443237900734,
-0.01776585355401039,
-0.003063526703044772,
0.0008471279288642108,
0.013788036070764065,
0.0681515485048294,
0.0005838899523951113,
-0.011127491481602192,
-0.01780051924288273,
-0.007474658079445362,
0.008648937568068504,
-0.01137014664709568,
-0.05955461040139198,
-0.020885711535811424,
-0.026137471199035645,
-0.00803796574473381,
-0.04981372132897377,
0.018511153757572174,
0.034405093640089035,
-0.03235985338687897,
0.03104258142411709,
0.019187122583389282,
0.06579432636499405,
0.007734646555036306,
-0.011725463904440403,
0.021665675565600395,
-0.022428307682275772,
-0.034179769456386566,
0.011196820996701717,
-0.002701709745451808,
-0.014905985444784164,
0.006998013239353895,
0.02041773311793804,
-0.05296824499964714,
-0.043989989906549454,
-0.049883052706718445,
-0.053488221019506454,
-0.008315286599099636,
-0.03369446098804474,
-0.02977730520069599,
-0.0030570270027965307,
-0.0025088852271437645,
-0.01554728951305151,
-0.020937709137797356,
-0.007847308181226254,
-0.002563049551099539,
0.05144298076629639,
-0.00266054505482316,
-0.0307305958122015,
0.03601701930165291,
0.07047411054372787,
0.032949160784482956,
-0.009836217388510704,
-0.009333573281764984,
0.011820793151855469,
0.009853549301624298,
0.014420674182474613,
-0.057925350964069366,
-0.018875136971473694,
0.034994401037693024,
-0.03539304807782173,
0.03629434108734131,
0.005750070326030254,
-0.029551982879638672,
-0.0286333579570055,
-5.881892661818711e-7,
0.05258692800998688,
0.024404218420386314,
0.009168914519250393,
-0.008830929175019264,
0.06021324545145035,
0.012115445919334888,
0.054216187447309494,
-0.030799925327301025,
-0.10246998071670532,
0.021700341254472733,
0.0034990066196769476,
-0.0024395552463829517,
0.010052873753011227,
-0.03625967726111412,
0.05078434571623802,
-0.04981372132897377,
-0.04236073046922684,
0.006469370797276497,
-0.015417295508086681,
-0.011708131060004234,
-0.017453867942094803,
-0.10288596153259277,
0.05657341331243515,
-0.0117341298609972,
0.0283560361713171,
-0.001983492635190487,
0.047456495463848114,
-0.01449867058545351,
0.005581078119575977,
0.04620855301618576,
-0.068463534116745,
0.007379329297691584,
0.011560805141925812,
-0.012332103215157986,
0.02104170434176922,
-0.003834824776276946,
-0.0038196586538106203,
-0.013779370114207268,
-0.02826937474310398,
-0.06811688840389252,
0.024820199236273766,
-0.01799117773771286,
-0.014351343736052513,
-0.025496168062090874,
-0.008579608052968979,
0.04537659138441086,
-0.01758386194705963,
-0.02196032926440239,
-0.03712630271911621,
0.013710039667785168,
0.023589588701725006,
-0.003984317649155855,
-0.008934924378991127,
-0.022046992555260658,
-0.015581954270601273,
-0.07030078768730164,
-0.04322735592722893,
0.028026718646287918,
-0.0008622939349152148,
0.005368754733353853,
-0.027974721044301987,
-0.006933016236871481,
0.03684898093342781,
0.05834133177995682,
0.03941419720649719,
0.055914778262376785,
-0.048184461891651154,
0.00910825002938509
] |
7,523 | gitignorefile | _fnmatch_pathname_to_regexp | null | def _fnmatch_pathname_to_regexp(pattern, anchored, directory_only):
# Implements `fnmatch` style-behavior, as though with `FNM_PATHNAME` flagged;
# the path separator will not match shell-style `*` and `.` wildcards.
# Frustratingly, python's fnmatch doesn't provide the FNM_PATHNAME
# option that `.gitignore`'s behavior depends on.
if not pattern:
if directory_only:
return "[^/]+(/.+)?$" # Empty name means no path fragment.
else:
return ".*"
i, n = 0, len(pattern)
res = ["(?:^|.+/)" if not anchored else ""]
while i < n:
c = pattern[i]
i += 1
if c == "*":
if i < n and pattern[i] == "*":
i += 1
if i < n and pattern[i] == "/":
i += 1
res.append("(.+/)?") # `/**/` matches `/`.
else:
res.append(".*")
else:
res.append("[^/]*")
elif c == "?":
res.append("[^/]")
elif c == "[":
j = i
if j < n and pattern[j] == "!":
j += 1
if j < n and pattern[j] == "]":
j += 1
while j < n and pattern[j] != "]":
j += 1
if j >= n:
res.append("\\[")
else:
stuff = pattern[i:j].replace("\\", "\\\\")
i = j + 1
if stuff[0] == "!":
stuff = f"^{stuff[1:]}"
elif stuff[0] == "^":
stuff = f"\\{stuff}"
res.append(f"[{stuff}]")
else:
res.append(re.escape(c))
if directory_only: # In this case we are interested if there is something after slash.
res.append("(/.+)?$")
else:
res.append("(?:/.+)?$")
return "".join(res)
| (pattern, anchored, directory_only) | [
-0.0018386268056929111,
-0.005039113573729992,
0.054901283234357834,
0.008565564639866352,
0.013920202851295471,
-0.05827924981713295,
0.0667056143283844,
-0.004060059320181608,
-0.0460294708609581,
-0.036619413644075394,
0.0783243402838707,
0.08574844896793365,
-0.00911309290677309,
0.015683429315686226,
0.015237982384860516,
0.0074241082184016705,
0.08508028090000153,
0.051560431718826294,
-0.026856712996959686,
0.07104871422052383,
-0.008574845269322395,
0.03945913538336754,
0.01527510304003954,
0.01877371408045292,
-0.009140933863818645,
0.019766688346862793,
-0.019079959020018578,
-0.006287291646003723,
0.011498088017106056,
-0.01637015864253044,
-0.008941411040723324,
0.002958043245598674,
0.02360866405069828,
0.01817978546023369,
-0.019209880381822586,
-0.046771883964538574,
0.030327482149004936,
0.07787889987230301,
0.007164264563471079,
-0.02511204592883587,
-0.010050387121737003,
0.0363224521279335,
-0.01727033220231533,
-0.01847675070166588,
-0.019859490916132927,
-0.0036122926976531744,
-0.028842661529779434,
-0.002191272098571062,
-0.04810822382569313,
0.04428480565547943,
0.037380386143922806,
-0.02702375501394272,
-0.07921523600816727,
-0.018374668434262276,
0.044915854930877686,
0.043245431035757065,
0.010950559750199318,
0.03431794047355652,
0.035654280334711075,
-0.017493056133389473,
0.005136555060744286,
-0.003665653523057699,
-0.007939156144857407,
-0.016954807564616203,
-0.011303205043077469,
-0.03628532961010933,
-0.0007888115360401571,
-0.040015943348407745,
-0.02648550644516945,
0.013335554860532284,
-0.0890893042087555,
0.033983856439590454,
0.029121065512299538,
-0.06414429843425751,
-0.015581347979605198,
0.019172759726643562,
0.019228441640734673,
0.008134039118885994,
0.021028786897659302,
0.05994967371225357,
-0.018838675692677498,
-0.00588824599981308,
0.030680127441883087,
-0.029436590149998665,
0.029250986874103546,
0.0016309837810695171,
-0.028415774926543236,
-0.03812279552221298,
-0.03257327526807785,
-0.01305715087801218,
-0.01751161552965641,
-0.022736331447958946,
-0.007331307046115398,
0.03574708104133606,
-0.07357291132211685,
0.001008054707199335,
0.037027738988399506,
0.05545809119939804,
0.027506321668624878,
0.05683154985308647,
-0.024666599929332733,
0.05783380568027496,
-0.0467347614467144,
0.025149166584014893,
0.008941411040723324,
0.010764957405626774,
-0.03001195751130581,
-0.0008276720764115453,
-0.06421853601932526,
-0.045175701379776,
-0.016509361565113068,
-0.006315132137387991,
-0.014300689101219177,
0.01285298727452755,
-0.0031738062389194965,
0.05319373682141304,
-0.05527248606085777,
-0.055495209991931915,
-0.0005829085130244493,
-0.034819070249795914,
0.0178085807710886,
0.017558015882968903,
-0.036972060799598694,
-0.016333037987351418,
0.017121849581599236,
-0.013799561187624931,
-0.012314739637076855,
-0.010662876069545746,
0.01285298727452755,
0.04042426869273186,
-0.048924874514341354,
0.11314341425895691,
-0.07825010269880295,
0.0013630199246108532,
-0.04636355862021446,
0.08225911855697632,
-0.01864379271864891,
-0.04398784413933754,
0.013651079498231411,
0.023979870602488518,
0.0268381517380476,
-0.019209880381822586,
-0.035412997007369995,
-0.004101819824427366,
-0.018690193071961403,
-0.014950298704206944,
0.05152331292629242,
0.06035800278186798,
0.040906839072704315,
-0.008333561941981316,
-0.00013318443961907178,
-0.013604679144918919,
0.04576962813735008,
0.061954185366630554,
0.08292729407548904,
-0.0059949676506221294,
0.03856824338436127,
-0.033928174525499344,
0.02242080681025982,
-0.024889323860406876,
0.037324704229831696,
-0.04042426869273186,
-0.05230284482240677,
0.021604156121611595,
0.02498212456703186,
0.0076143513433635235,
0.03585844486951828,
-0.045212820172309875,
-0.044730253517627716,
0.011869293637573719,
0.048145342618227005,
0.017242491245269775,
-0.030680127441883087,
0.036006927490234375,
-0.0028211611788719893,
0.05620050057768822,
-0.027691924944519997,
0.02815593034029007,
0.00989262480288744,
0.0333528071641922,
0.0797349214553833,
-0.014161487109959126,
0.032053589820861816,
0.002007989212870598,
0.017261052504181862,
0.016583602875471115,
-0.034039538353681564,
-0.005837205331772566,
0.056089140474796295,
0.026188543066382408,
-0.08359546214342117,
-0.029919156804680824,
0.0042039016261696815,
-0.010662876069545746,
-0.012259058654308319,
-0.006417213939130306,
-0.03203502669930458,
0.029455149546265602,
-0.013289154507219791,
-0.034986112266778946,
-0.03298160061240196,
-0.013094271533191204,
-0.021734077483415604,
0.004830310586839914,
-0.02318177931010723,
-0.008732607588171959,
-0.01644439995288849,
0.04283710569143295,
-0.011934254318475723,
-0.01924700103700161,
-0.029752114787697792,
-0.022699210792779922,
-0.03945913538336754,
0.025353331118822098,
-0.02702375501394272,
-0.046883244067430496,
0.024907883256673813,
0.09101957082748413,
-0.06210266798734665,
0.01959964632987976,
0.009122373536229134,
0.05612625926733017,
0.037918634712696075,
-0.004046139307320118,
0.025780215859413147,
-0.02646694704890251,
0.002600757870823145,
0.023144658654928207,
0.013279873877763748,
-0.0582050085067749,
-0.008296441286802292,
-0.07921523600816727,
0.05248844623565674,
0.02056477963924408,
-0.05007561296224594,
-0.025668855756521225,
0.054827041923999786,
-0.06993509829044342,
0.04584386944770813,
0.016119595617055893,
-0.032294873148202896,
0.033983856439590454,
0.03519027307629585,
-0.0006525095086544752,
0.012667384929955006,
-0.00037265545688569546,
0.008403162471950054,
0.035171713680028915,
0.018810834735631943,
0.02349730394780636,
-0.043431032449007034,
0.03298160061240196,
-0.007164264563471079,
-0.011052641086280346,
-0.003654053434729576,
-0.013493317179381847,
-0.04124092310667038,
0.058353491127491,
0.014504851773381233,
0.03353840857744217,
0.048330944031476974,
0.029659314081072807,
-0.0026610789354890585,
-0.05345357954502106,
-0.031032772734761238,
-0.08099702000617981,
0.029844915494322777,
0.001183797256089747,
-0.017771460115909576,
0.021437112241983414,
-0.056942909955978394,
-0.023627225309610367,
-0.023144658654928207,
0.01752089522778988,
-0.06845027953386307,
0.008361401967704296,
-0.026077181100845337,
0.012964349240064621,
0.043059829622507095,
-0.023385941982269287,
-0.08842112869024277,
-0.011711531318724155,
-0.02438819594681263,
0.02444387786090374,
0.00902493204921484,
0.058427732437849045,
0.03201646730303764,
-0.006245531141757965,
-0.02139999344944954,
0.036600854247808456,
0.011024801060557365,
-0.03424369916319847,
-0.004134300164878368,
0.011971374973654747,
-0.039125051349401474,
-0.0047003887593746185,
0.009423977695405483,
-0.09733006358146667,
0.006013527978211641,
-0.02646694704890251,
-0.03472626581788063,
0.06503518670797348,
0.04146364703774452,
0.01703832857310772,
-0.08359546214342117,
-0.062882199883461,
-0.03346416726708412,
-0.03628532961010933,
-0.04272574558854103,
0.014504851773381233,
0.022940494120121002,
-0.045175701379776,
-0.03997882455587387,
-0.029436590149998665,
0.031719502061605453,
0.038048554211854935,
0.040609873831272125,
0.02600293979048729,
0.03340848907828331,
0.029083944857120514,
0.03628532961010933,
0.0597640722990036,
-0.01846746914088726,
0.00033611489925533533,
-0.03351984918117523,
-0.025316210463643074,
-0.012769466266036034,
0.006134169641882181,
-0.009642060846090317,
0.042948465794324875,
-0.011126882396638393,
-0.020880304276943207,
0.004101819824427366,
0.021548474207520485,
-0.00044631652417592704,
0.020100774243474007,
0.008500603958964348,
-0.06551775336265564,
-0.04268862307071686,
0.02425827458500862,
0.02826729230582714,
0.017465215176343918,
-0.025297649204730988,
-0.029863476753234863,
-0.043356794863939285,
0.0028072409331798553,
0.03741750493645668,
0.05497552454471588,
0.021028786897659302,
-0.08834689110517502,
0.05994967371225357,
-0.05631186068058014,
-0.06845027953386307,
-0.03090285137295723,
-0.007632911670953035,
0.05330509692430496,
-0.07045479118824005,
0.03454066440463066,
-0.014486291445791721,
0.03316720575094223,
0.08203639835119247,
0.01389236282557249,
-0.003301408141851425,
-0.05007561296224594,
0.03348273038864136,
-0.0068255397491157055,
0.021604156121611595,
-0.01919132098555565,
0.026689669117331505,
-0.05144907161593437,
0.01069999672472477,
0.0015834231162443757,
0.049815766513347626,
-0.06908132880926132,
0.0399417020380497,
-0.045992352068424225,
0.00876044761389494,
-0.06421853601932526,
0.024666599929332733,
0.07398124039173126,
0.005586641374975443,
0.04242878034710884,
0.06403293460607529,
-0.015989674255251884,
-0.03901369124650955,
0.010300950147211552,
0.021362872794270515,
0.022272326052188873,
-0.01894075609743595,
-0.008528444916009903,
-0.01308499090373516,
0.005860405508428812,
0.0040739793330430984,
-0.03132973611354828,
-0.014217168092727661,
-0.023404501378536224,
0.0644412636756897,
0.011201123706996441,
-0.03552435711026192,
0.0314410999417305,
0.0011078162351623178,
0.011340325698256493,
-0.0489991158246994,
-0.010737116448581219,
0.015516386367380619,
0.02624422311782837,
0.07561454176902771,
0.05189451947808266,
-0.020639020949602127,
-0.02587301842868328,
0.003025324083864689,
-0.032183509320020676,
-0.020156454294919968,
-0.016778485849499702,
0.026095740497112274,
0.01087631843984127,
-0.04454465210437775,
-0.01305715087801218,
0.015173021703958511,
0.03361264988780022,
-0.02253216877579689,
-0.07542894035577774,
-0.024165472015738487,
0.0766168013215065,
0.045509785413742065,
0.01763225719332695,
-0.006537855602800846,
0.00664921710267663,
0.0356171615421772,
0.05868757888674736,
-0.029677873477339745,
0.010570074431598186,
-0.04428480565547943,
0.0023432341404259205,
-0.01237042061984539,
-0.034522105008363724,
0.044618893414735794,
-0.00657497625797987,
0.008240760304033756,
0.0013641798868775368,
-0.048739273101091385,
0.04190909117460251,
0.026522627100348473,
0.030141880735754967,
0.016602162271738052,
-0.0356171615421772,
0.06187994405627251,
-0.0008062117849476635,
-0.05942998826503754,
-0.030865730717778206,
0.009182694368064404,
0.007252425886690617,
0.0007412508130073547,
0.026225663721561432,
-0.02546469122171402,
0.011145442724227905,
0.02724647708237171,
-0.0012122177286073565,
-0.004131980240345001,
0.0010161747923120856,
0.08819840848445892,
0.03530163690447807,
0.07698800414800644,
0.03333424776792526,
-0.02904682420194149,
-0.02670823037624359,
0.057945165783166885,
-0.006301212124526501,
-0.03184942528605461,
-0.056089140474796295,
0.037436068058013916,
-0.02325601875782013,
-0.026392705738544464,
0.012630264274775982,
0.00902493204921484,
0.060877688229084015,
-0.04161212593317032,
0.011628009378910065,
0.011999214999377728,
-0.010393751785159111,
-0.05434447526931763,
-0.04391360282897949,
-0.0052896770648658276,
-0.003245727391913533,
-0.010022546164691448,
-0.025297649204730988,
-0.03699062019586563,
-0.0013978204224258661,
-0.03543155640363693,
-0.08404091000556946,
0.02540901117026806,
0.08359546214342117,
-0.007493709214031696,
0.00047792698023840785,
-0.01036591175943613,
0.02372002601623535,
-0.011628009378910065,
0.045992352068424225,
0.016834165900945663,
0.0008102718275040388,
0.0005800084909424186,
-0.02977067418396473,
-0.06863588094711304,
0.04524994269013405,
-0.03168238326907158,
0.012917948886752129,
0.02565029449760914,
-0.03530163690447807,
-0.05894742161035538,
-0.012760186567902565,
-0.020583340898156166,
-0.03879096731543541,
-0.04146364703774452,
0.026262784376740456,
0.004616867285221815,
0.00989262480288744,
0.023348821327090263,
-0.0040345387533307076,
-0.008584124967455864,
-0.0035728521179407835,
-0.051783155649900436,
0.0021321112290024757,
-0.023218899965286255,
-0.0310142133384943,
-0.002804921008646488,
0.002540437038987875,
-0.014987418428063393,
0.028712740167975426,
0.025743095204234123,
-0.0020775904413312674,
0.041983332484960556,
-0.008050517179071903,
0.029733553528785706,
0.03572852164506912,
0.0063290526159107685,
0.04885063320398331,
0.03125549480319023,
0.005558801349252462,
-0.06926693022251129,
0.01584119163453579,
-0.03353840857744217,
0.05768532305955887,
-0.027599122375249863,
-0.04524994269013405,
-0.01389236282557249,
-0.015998953953385353,
0.03287024050951004,
-0.04977864772081375,
0.06548063457012177,
-0.021047348156571388,
0.007688592188060284,
0.033389925956726074,
-0.003948697820305824,
0.09376648813486099,
0.021140148863196373,
-0.024221153929829597,
0.0191170796751976,
-0.03294448181986809,
-0.06124889478087425,
-0.04506433755159378,
-0.05341646075248718,
0.04966728389263153,
-0.023738587275147438,
-0.01121040340512991,
-0.014848216436803341,
0.010542234405875206,
0.054827041923999786,
0.05612625926733017,
0.039125051349401474,
0.013446916826069355,
-0.012453941628336906,
0.045509785413742065,
0.053156618028879166,
-0.019395483657717705,
-0.03509747236967087,
-0.002074110321700573,
0.050409696996212006,
-0.04959304258227348,
0.048739273101091385,
-0.02479652129113674,
0.05616338178515434,
-0.036786455661058426,
-0.026095740497112274,
-0.029362348839640617,
-0.054010387510061264,
-0.005906806327402592,
-0.02947371080517769,
0.06963814049959183,
-0.03190510720014572,
-0.05850197374820709,
-0.004890631418675184,
0.00413894047960639,
0.04684612527489662,
-0.010338070802390575,
-0.022996176034212112,
-0.010644315741956234,
-0.038048554211854935,
0.035116031765937805,
0.0967361330986023,
-0.010959840379655361,
-0.012760186567902565,
0.004308302886784077,
-0.011739371344447136,
-0.02672678977251053,
0.031775183975696564,
-0.023293139412999153,
0.007117863744497299,
0.010542234405875206,
-0.055309608578681946,
0.027821846306324005,
-0.005391758866608143,
0.03186798468232155,
0.058242131024599075,
-0.011386726051568985,
0.0027701205108314753,
0.063587486743927,
-0.06559199839830399,
-0.030383164063096046,
0.0017643857281655073,
0.033853933215141296,
-0.03539443761110306,
-0.01679704524576664,
0.017307452857494354,
-0.01234258059412241,
0.02694951370358467,
-0.01804058440029621,
-0.0007482109358534217,
-0.036192528903484344,
-0.049704406410455704,
0.009331176057457924,
-0.006946181412786245,
-0.0069693815894424915,
-0.0013943404192104936,
-0.016101034358143806,
0.04458177089691162,
-0.06603744626045227,
-0.027339279651641846,
-0.008806848898530006,
-0.04640067741274834,
-0.04146364703774452,
-0.06128601357340813,
-0.10386327654123306,
-0.007535470183938742,
-0.03853112459182739,
0.0005750784184783697,
-0.03819703683257103,
-0.011730091646313667,
-0.014801816083490849,
0.03875384479761124,
-0.012964349240064621,
0.021362872794270515,
0.04621507599949837,
-0.016936248168349266,
-0.002307273680344224,
0.01422644779086113,
0.08322425186634064,
-0.023218899965286255,
-0.020787503570318222,
0.03400241583585739,
0.044210564345121384,
-0.048330944031476974,
-0.007999476976692677,
0.012676665559411049,
0.010310230776667595,
-0.042280297726392746,
-0.010653595440089703,
0.02522340789437294,
-0.03890232741832733,
-0.013808841817080975,
0.010412312112748623,
-0.012416820973157883,
0.023701466619968414,
-0.01631447859108448,
-0.03305584192276001,
0.06462686508893967,
0.002563637448474765,
0.04268862307071686,
0.05660882592201233,
0.029733553528785706,
0.020397737622261047,
0.001917507965117693,
0.011498088017106056,
0.02355298399925232,
0.06536927819252014,
0.07071463018655777,
0.007117863744497299,
-0.02229088544845581,
0.02624422311782837,
0.0437651202082634,
-0.01314995251595974,
0.003735254518687725,
0.01852315105497837,
0.03635957092046738,
-0.029121065512299538,
-0.08277881145477295,
0.05883605778217316,
0.013020030222833157,
0.04357951506972313,
0.026207102462649345,
-0.02761768363416195,
0.011507367715239525,
0.044433288276195526,
0.009029571898281574,
-0.061174653470516205,
0.002934842836111784,
-0.02939946949481964,
-0.018912917003035545,
-0.031997907906770706,
-0.028731299564242363,
0.0034986110404133797,
-0.04781125858426094,
0.00795307569205761,
-0.01156304869800806,
-0.020342057570815086,
0.01063503511250019,
-0.05649746581912041,
0.017827140167355537,
-0.023645784705877304,
0.08730751276016235,
-0.04554690420627594,
0.04996424913406372,
-0.0627337172627449,
0.04640067741274834,
-0.01273234561085701,
-0.009864783845841885,
-0.000576818420086056,
-0.008120118640363216,
-0.012982909567654133,
0.032072149217128754,
0.006032088305801153,
-0.03747318685054779,
0.03671221435070038,
0.020397737622261047,
0.028415774926543236,
0.027469201013445854,
0.0019963891245424747,
0.021956801414489746,
-0.05408462882041931,
-0.03244335204362869,
0.03348273038864136,
-0.04762565717101097,
0.019042838364839554,
-0.03533875569701195,
-0.01877371408045292,
0.06458974629640579,
0.046957485377788544,
0.0298820361495018,
0.004445184953510761,
-0.03686069697141647,
0.03138541802763939,
-0.0035914124455302954,
-0.05204299837350845,
-0.04417344555258751,
-0.028582816943526268,
-0.026615427806973457,
-0.03712054342031479,
0.019228441640734673,
-0.012973629869520664,
-0.0007186305010691285,
-0.0018792274640873075,
-0.014430610463023186,
0.06956389546394348,
0.011757931672036648,
-0.028527136892080307,
-0.011256804689764977,
0.01656504161655903,
-0.03327856585383415,
-0.0060367281548678875
] |
7,524 | gitignorefile | <lambda> | null | _path_split = lambda path: path.split(os.sep)
| (path) | [
-0.013002033345401287,
-0.0076240734197199345,
-0.010510117746889591,
0.034530822187662125,
-0.020003128796815872,
0.0375312939286232,
0.0563138909637928,
0.07296056300401688,
0.033005163073539734,
0.011967972852289677,
0.07418109476566315,
-0.03987064212560654,
0.01810452528297901,
-0.011366183869540691,
-0.008009727112948895,
0.01722303219139576,
0.04844825342297554,
0.05407625436782837,
-0.007768163923174143,
0.034242644906044006,
-0.027156788855791092,
-0.012332436628639698,
0.009543864987790585,
-0.04807531461119652,
-0.026393957436084747,
0.06533224880695343,
0.019579332321882248,
0.005907703656703234,
0.058009073138237,
-0.05275401100516319,
0.000566825910937041,
0.031106559559702873,
-0.021410128101706505,
0.00912007037550211,
-0.012323961593210697,
0.011874738149344921,
0.019731899723410606,
0.058449819684028625,
-0.011967972852289677,
-0.037090547382831573,
-0.005492384545505047,
-0.0020871907472610474,
0.010103275068104267,
0.022969692945480347,
-0.01756206899881363,
0.006831576582044363,
-0.013298689387738705,
-0.05726319178938866,
0.045803774148225784,
0.03393751010298729,
-0.00677648326382041,
0.0010282328585162759,
-0.028445126488804817,
-0.029072342440485954,
0.0065010166727006435,
0.0683496743440628,
0.08286041766405106,
0.0020437517669051886,
0.03003859519958496,
-0.01893516443669796,
0.017189128324389458,
-0.02283407934010029,
0.04475276172161102,
0.029258813709020615,
0.01637544296681881,
0.0023732525296509266,
-0.0011219974840059876,
-0.016968755051493645,
-0.030835330486297607,
0.0040430049411952496,
-0.04380346089601517,
0.007746974006295204,
-0.014943014830350876,
0.0000773425999796018,
0.000987972249276936,
-0.007674929220229387,
-0.016502581536769867,
0.011315329000353813,
0.08252137899398804,
-0.005979748908430338,
-0.06780721247196198,
-0.03637856990098953,
-0.03219147399067879,
0.032666124403476715,
0.04370174929499626,
-0.007501172833144665,
0.024308886379003525,
-0.036581993103027344,
-0.04227779805660248,
0.06556957960128784,
-0.03037763200700283,
0.018206236883997917,
-0.04895680770277977,
0.06462027132511139,
-0.057059772312641144,
-0.015773653984069824,
0.029275763779878616,
0.009196353144943714,
0.0073019894771277905,
-0.020901573821902275,
-0.0007813721895217896,
0.02268151380121708,
-0.042413413524627686,
-0.004894833080470562,
0.02217295952141285,
-0.04875338822603226,
0.004627842456102371,
-0.012620617635548115,
-0.03722615912556648,
-0.027360210195183754,
-0.052482783794403076,
0.00903531163930893,
-0.005522049963474274,
0.06563737988471985,
-0.02697031944990158,
0.011993400752544403,
-0.00012488711217883974,
-0.039124760776758194,
0.021189754828810692,
-0.02915710210800171,
-0.017680730670690536,
0.028716355562210083,
-0.0528557226061821,
0.02081681415438652,
0.06153504550457001,
0.031191319227218628,
0.012400244362652302,
0.03475119546055794,
-0.007865636609494686,
0.04692259058356285,
0.007992775179445744,
0.06122991442680359,
-0.038650110363960266,
-0.06207750365138054,
-0.010476214811205864,
0.025698933750391006,
-0.013129171915352345,
0.057907361537218094,
0.0027038126718252897,
0.020545585080981255,
0.007251134142279625,
-0.015553279779851437,
-0.01636696606874466,
0.014180183410644531,
0.021121947094798088,
0.026665186509490013,
0.05682244524359703,
0.013917430303990841,
0.018375754356384277,
0.0647897943854332,
-0.017180653288960457,
0.006416257470846176,
0.038785725831985474,
-0.009857473894953728,
0.022630658000707626,
-0.02573283761739731,
-0.008522518910467625,
0.025139523670077324,
0.07397767156362534,
-0.014366653747856617,
0.009187877178192139,
-0.030920090153813362,
-0.01824014075100422,
0.009637100622057915,
0.012510430999100208,
0.041023366153240204,
0.042413413524627686,
-0.01723998412489891,
-0.0170280858874321,
0.004526131320744753,
0.09370957314968109,
0.01425646711140871,
-0.03512413799762726,
0.01673990674316883,
-0.048007506877183914,
0.008399618789553642,
-0.011679792776703835,
0.0647219866514206,
-0.0024156318977475166,
0.030326776206493378,
0.04210827872157097,
0.0046914117410779,
0.009620148688554764,
0.03997235372662544,
0.025003910064697266,
0.07262152433395386,
-0.009535389021039009,
0.021359272301197052,
0.03153035417199135,
0.03902305290102959,
-0.07119757682085037,
-0.0018646983662620187,
-0.013866575434803963,
-0.024444499984383583,
-0.01657886430621147,
-0.03648028150200844,
0.0006907859933562577,
0.010789822787046432,
-0.06438294798135757,
-0.006759531795978546,
0.007170612923800945,
-0.01604488119482994,
-0.029597848653793335,
-0.037972040474414825,
-0.01067116018384695,
0.01050164271146059,
-0.032852593809366226,
0.03648028150200844,
-0.03003859519958496,
0.023766428232192993,
0.0011696744477376342,
-0.06092478334903717,
0.010772870853543282,
0.01603640615940094,
0.026648234575986862,
-0.02542770467698574,
-0.01739254966378212,
0.06231483072042465,
0.06563737988471985,
-0.009908328764140606,
0.028733307495713234,
0.025461608543992043,
0.03034372813999653,
0.001526721753180027,
0.05258449539542198,
-0.07221468538045883,
-0.005780565086752176,
-0.019714947789907455,
0.005352532025426626,
0.0066027273423969746,
-0.012764708139002323,
-0.06624764949083328,
-0.0021804256830364466,
-0.02781790867447853,
0.020274357870221138,
-0.05166909843683243,
0.07262152433395386,
-0.05885666236281395,
0.021376224234700203,
-0.018290996551513672,
0.0025279377587139606,
-0.032513558864593506,
0.0024770821910351515,
-0.02681775391101837,
0.0003197004261892289,
0.037090547382831573,
-0.025376850739121437,
0.006674772594124079,
0.0443459190428257,
0.017629874870181084,
-0.016095736995339394,
0.05892447009682655,
-0.02612272836267948,
0.010467738844454288,
-0.019155537709593773,
0.019189441576600075,
-0.05133005976676941,
0.054652612656354904,
-0.02030825987458229,
0.016934851184487343,
0.014197135344147682,
-0.027326306328177452,
-0.008670847862958908,
-0.03820936381816864,
-0.024190222844481468,
-0.03273393213748932,
0.03715835511684418,
-0.007001094985753298,
0.05533068627119064,
-0.011586558073759079,
-0.01839270628988743,
0.02285103127360344,
-0.03787032887339592,
-0.02851293422281742,
-0.04570206254720688,
0.013256310485303402,
-0.049465361982584,
-0.035056330263614655,
0.056924156844615936,
0.040887750685214996,
0.007666453253477812,
-0.009857473894953728,
-0.11133944243192673,
-0.006369640119373798,
-0.028614643961191177,
0.044956181198358536,
0.017129797488451004,
-0.0664171651005745,
-0.04353222995996475,
-0.0036488757468760014,
0.011103431694209576,
0.003699731081724167,
-0.018646983429789543,
0.035937823355197906,
0.04248122125864029,
-0.004801598377525806,
-0.030835330486297607,
-0.06387439370155334,
0.051126640290021896,
-0.04661745950579643,
-0.03671760484576225,
0.016078785061836243,
-0.00648830272257328,
0.004227356053888798,
-0.03398836776614189,
-0.042040470987558365,
-0.011518750339746475,
0.012705376371741295,
-0.0018085455521941185,
-0.011891690082848072,
-0.015154912136495113,
-0.011671316809952259,
0.009865949861705303,
-0.007916492410004139,
0.059602539986371994,
0.04651574790477753,
-0.001546852057799697,
0.04827873781323433,
-0.02969956025481224,
0.03810765594244003,
-0.01032364834100008,
0.04841434955596924,
-0.05583924055099487,
0.03498852252960205,
-0.00508130295202136,
0.026749946177005768,
0.03463253378868103,
0.0019197918009012938,
0.00999308843165636,
0.0818433091044426,
-0.04248122125864029,
0.010688112117350101,
-0.03885353356599808,
-0.013230882585048676,
0.027343258261680603,
-0.0057339477352797985,
0.016663622111082077,
-0.028919776901602745,
-0.0060560316778719425,
-0.020274357870221138,
0.034361306577920914,
-0.0648576021194458,
-0.0230544526129961,
0.0035132612101733685,
-0.007420652080327272,
-0.010577925480902195,
0.038650110363960266,
0.038989149034023285,
0.015629563480615616,
-0.007992775179445744,
0.061840180307626724,
-0.02015569433569908,
-0.022308573126792908,
0.005623760633170605,
-0.01891821250319481,
0.01355296652764082,
-0.0886240303516388,
0.014273418113589287,
0.029970789328217506,
0.012518906965851784,
0.07058730721473694,
0.0025915070436894894,
0.037633005529642105,
0.0012215893948450685,
0.08163988590240479,
-0.015790604054927826,
-0.006187408231198788,
0.011739123612642288,
-0.009450630284845829,
-0.0037251587491482496,
-0.015790604054927826,
0.03475119546055794,
0.03851449862122536,
-0.03502242639660835,
0.012815563008189201,
-0.012756232172250748,
0.028241705149412155,
0.002652957336977124,
-0.06889212876558304,
0.060992587357759476,
-0.053499892354011536,
0.043261002749204636,
0.09533694386482239,
-0.006543396040797234,
-0.04193876311182976,
0.00511944480240345,
0.03173377737402916,
-0.023986801505088806,
0.006217074114829302,
-0.032852593809366226,
-0.02113889902830124,
0.022054295986890793,
-0.003720920765772462,
-0.003106418065726757,
-0.0375991016626358,
-0.05272010713815689,
0.02764839120209217,
-0.058415915817022324,
0.055195070803165436,
0.0014928182354196906,
0.03342895582318306,
0.009196353144943714,
-0.04031138867139816,
0.03617515042424202,
0.02369862049818039,
0.024512307718396187,
0.033700186759233475,
0.08313164114952087,
-0.02949613891541958,
-0.03861621022224426,
0.00913702230900526,
-0.04227779805660248,
0.0005684151547029614,
-0.05411015823483467,
0.02695336751639843,
0.0032950066961348057,
-0.010883057489991188,
0.03820936381816864,
0.034886810928583145,
-0.01808757521212101,
-0.04112507402896881,
-0.0528896264731884,
-0.03892134130001068,
0.01219682302325964,
0.05234716832637787,
-0.015460045076906681,
0.004295163322240114,
-0.029767366126179695,
0.028224753215909004,
-0.030987896025180817,
-0.05505945906043053,
0.014205611310899258,
-0.061501141637563705,
-0.04997391626238823,
-0.001504472573287785,
-0.03532755747437477,
0.012374816462397575,
0.04278635233640671,
0.03037763200700283,
0.010815250687301159,
-0.028292560949921608,
0.06333193928003311,
0.007458793465048075,
-0.037124451249837875,
0.05560191720724106,
-0.006200122181326151,
-0.030055547133088112,
0.02834341488778591,
0.008806461468338966,
-0.07187564671039581,
-0.06865480542182922,
-0.02217295952141285,
0.025665029883384705,
0.017129797488451004,
0.02488524839282036,
-0.022291621193289757,
0.011086479760706425,
0.006106887012720108,
-0.008052106946706772,
0.031123511493206024,
0.022189911454916,
0.07784268260002136,
0.10171081870794296,
-0.030750570818781853,
-0.0063993060030043125,
-0.05661902204155922,
0.0005096136010251939,
0.028207801282405853,
0.01978275552392006,
-0.03844669088721275,
0.011967972852289677,
-0.0037272777408361435,
-0.04061651974916458,
0.029953837394714355,
0.03290345147252083,
0.013561442494392395,
0.004530369304120541,
0.002114737406373024,
0.012968129478394985,
-0.03631076216697693,
-0.060653552412986755,
-0.04353222995996475,
0.0026126967277377844,
0.02524123527109623,
-0.021223658695816994,
-0.02949613891541958,
-0.015137960202991962,
0.02181697078049183,
-0.020681200549006462,
-0.03502242639660835,
0.036921028047800064,
0.09438764303922653,
-0.03378494456410408,
-0.02081681415438652,
0.025020861998200417,
0.0119510218501091,
0.007895302027463913,
0.03722615912556648,
0.04831264168024063,
-0.010001564398407936,
-0.014476840384304523,
-0.0179180558770895,
-0.019528478384017944,
0.010069371201097965,
-0.0392264723777771,
0.04214218258857727,
-0.03566659614443779,
-0.06550177186727524,
-0.07879198342561722,
-0.06858699768781662,
-0.03103875182569027,
-0.01091696135699749,
-0.026919463649392128,
0.03447996824979782,
-0.022579802200198174,
-0.0020511681213974953,
-0.025834549218416214,
0.037633005529642105,
0.01467178575694561,
0.044617146253585815,
-0.008090248331427574,
-0.05726319178938866,
-0.011705220676958561,
-0.055025555193424225,
-0.019562380388379097,
-0.018969068303704262,
-0.0170280858874321,
0.0056746164336800575,
0.016994183883070946,
0.046346232295036316,
-0.02456316351890564,
-0.005772089120000601,
0.014781972393393517,
0.049872204661369324,
-0.0018858881667256355,
0.09988002479076385,
-0.03705664351582527,
-0.030920090153813362,
-0.047159917652606964,
0.045329123735427856,
-0.015299002639949322,
-0.010510117746889591,
0.0018064265605062246,
-0.004797360394150019,
0.0050685894675552845,
0.05546630173921585,
-0.014010665938258171,
0.01067116018384695,
0.05512726679444313,
0.006967191118746996,
0.02249504253268242,
0.002250351943075657,
-0.04031138867139816,
0.011145810596644878,
0.04499008506536484,
-0.05051637440919876,
-0.013875051401555538,
-0.05950083211064339,
-0.08218234032392502,
-0.01722303219139576,
-0.036921028047800064,
0.03634466603398323,
-0.048516061156988144,
0.045464735478162766,
-0.017951959744095802,
-0.01142551563680172,
0.017646826803684235,
0.04977049678564072,
0.0340900756418705,
-0.01287489477545023,
0.023478247225284576,
-0.003735753707587719,
0.04078603908419609,
-0.024190222844481468,
-0.04048090800642967,
0.05272010713815689,
0.035056330263614655,
-0.022766271606087685,
-0.008848841302096844,
-0.019545430317521095,
0.0004063135420437902,
-0.010476214811205864,
0.003985792864114046,
0.032157570123672485,
-0.04787189140915871,
-0.032344039529561996,
-0.0006674772594124079,
0.020850718021392822,
-0.01929115317761898,
-0.0010377682046964765,
-0.006471350789070129,
-0.008001251146197319,
0.03003859519958496,
0.02488524839282036,
0.009687955491244793,
-0.06726475805044174,
-0.05309304967522621,
-0.013408876955509186,
0.0047422670759260654,
-0.05217765271663666,
-0.021952586248517036,
0.008251290768384933,
-0.017697682604193687,
0.08286041766405106,
0.022189911454916,
-0.054347481578588486,
0.05319475755095482,
-0.0023351109120994806,
-0.06377268582582474,
-0.008658133447170258,
-0.040887750685214996,
0.010137178935110569,
0.07560504227876663,
-0.017968911677598953,
0.06156894937157631,
0.08096181601285934,
0.0341070294380188,
-0.036921028047800064,
0.021952586248517036,
-0.017511213198304176,
-0.05424576997756958,
-0.01501929759979248,
-0.02064729668200016,
-0.004106574226170778,
-0.007806305307894945,
-0.03858230635523796,
0.015943171456456184,
-0.09147193282842636,
0.002481320174410939,
-0.07696118950843811,
-0.0020172647200524807,
-0.07024827599525452,
0.03719225525856018,
-0.04471885785460472,
0.054313577711582184,
-0.009832045994699001,
-0.008119913749396801,
-0.036242954432964325,
0.0006616500904783607,
-0.02181697078049183,
-0.07126538455486298,
-0.0682818666100502,
-0.027580583468079567,
-0.06712914258241653,
0.010459262877702713,
-0.05919569730758667,
-0.04027748480439186,
0.021444031968712807,
0.0716044157743454,
-0.03354761749505997,
0.010137178935110569,
0.028411222621798515,
-0.0324627049267292,
0.010128702968358994,
-0.01467178575694561,
-0.0011569606140255928,
0.07140100002288818,
-0.034208741039037704,
0.029631752520799637,
-0.022461140528321266,
-0.016604291275143623,
0.008882745169103146,
-0.018969068303704262,
0.03654808923602104,
-0.019494574517011642,
-0.07214687764644623,
0.020257405936717987,
-0.029428331181406975,
0.005822944454848766,
-0.031106559559702873,
0.04346442595124245,
-0.035564884543418884,
-0.027529729530215263,
-0.012239201925694942,
0.010781346820294857,
-0.04037919640541077,
0.050075627863407135,
-0.00258091208525002,
0.032123666256666183,
0.012391768395900726,
-0.04536302760243416,
0.020274357870221138,
0.007471507415175438,
-0.035564884543418884,
0.04048090800642967,
0.022037344053387642,
-0.01007784716784954,
0.01946067065000534,
0.0920143872499466,
0.04044700413942337,
0.005678853951394558,
0.03681931644678116,
0.015926219522953033,
0.021427080035209656,
-0.08428436517715454,
0.06906164437532425,
0.034242644906044006,
-0.05404235050082207,
-0.01673990674316883,
0.009187877178192139,
0.016782285645604134,
0.006238263566046953,
0.0025533654261380434,
-0.05102492868900299,
0.02813999354839325,
-0.08984456211328506,
0.0021412246860563755,
-0.033513717353343964,
-0.05438138544559479,
0.043735653162002563,
-0.021562693640589714,
-0.024444499984383583,
0.026868607848882675,
-0.04627842456102371,
0.07411328703165054,
-0.019833609461784363,
-0.0230544526129961,
-0.04519350826740265,
0.036581993103027344,
-0.013035937212407589,
0.008369953371584415,
-0.08638639003038406,
0.08611515909433365,
0.030123354867100716,
-0.05702586844563484,
-0.03620905056595802,
0.015638038516044617,
0.032666124403476715,
0.040345292538404465,
0.030157258734107018,
-0.08062277734279633,
-0.004286687355488539,
-0.026512620970606804,
0.05139786750078201,
0.00119404261931777,
-0.012866418808698654,
0.0239020437002182,
-0.01212053932249546,
0.008721702732145786,
0.01252738293260336,
0.07418109476566315,
-0.022037344053387642,
0.03600563108921051,
-0.002994112204760313,
-0.018206236883997917,
0.0013338950229808688,
0.02591930702328682,
0.03036068007349968,
-0.0178841520100832,
0.002286374568939209,
-0.020274357870221138,
0.03354761749505997,
-0.006051793694496155,
-0.05733099952340126,
-0.055364590138196945,
-0.07540161907672882,
0.04176924377679825,
-0.031971100717782974,
-0.02113889902830124,
0.03705664351582527,
-0.03375104069709778,
0.034378256648778915,
-0.0015330787282437086,
0.011501798406243324,
0.1109326034784317,
0.01807062327861786,
0.004793122410774231,
-0.010789822787046432
] |
7,525 | gitignorefile | _rule_from_pattern | null | def _rule_from_pattern(pattern):
# Takes a `.gitignore` match pattern, such as "*.py[cod]" or "**/*.bak",
# and returns an `_IgnoreRule` suitable for matching against files and
# directories. Patterns which do not match files, such as comments
# and blank lines, will return `None`.
# Store the exact pattern for our repr and string functions
orig_pattern = pattern
# Early returns follow
# Discard comments and separators
if not pattern.lstrip() or pattern.lstrip().startswith("#"):
return
# Discard anything with more than two consecutive asterisks
if "***" in pattern:
return
# Strip leading bang before examining double asterisks
if pattern.startswith("!"):
negation = True
pattern = pattern[1:]
else:
negation = False
# Discard anything with invalid double-asterisks -- they can appear
# at the start or the end, or be surrounded by slashes
for m in re.finditer("\\*\\*", pattern):
start_index = m.start()
if (
start_index != 0
and start_index != len(pattern) - 2
and (pattern[start_index - 1] != "/" or pattern[start_index + 2] != "/")
):
return
# Special-casing '/', which doesn't match any files or directories
if pattern.rstrip() == "/":
return
directory_only = pattern.endswith("/")
# A slash is a sign that we're tied to the `base_path` of our rule
# set.
anchored = "/" in pattern[:-1]
if pattern.startswith("/"):
pattern = pattern[1:]
if pattern.startswith("**"):
pattern = pattern[2:]
anchored = False
if pattern.startswith("/"):
pattern = pattern[1:]
if pattern.endswith("/"):
pattern = pattern[:-1]
# patterns with leading hashes are escaped with a backslash in front, unescape it
if pattern.startswith("\\#"):
pattern = pattern[1:]
# trailing spaces are ignored unless they are escaped with a backslash
i = len(pattern) - 1
striptrailingspaces = True
while i > 1 and pattern[i] == " ":
if pattern[i - 1] == "\\":
pattern = pattern[: i - 1] + pattern[i:]
i -= 1
striptrailingspaces = False
else:
if striptrailingspaces:
pattern = pattern[:i]
i -= 1
regexp = _fnmatch_pathname_to_regexp(pattern, anchored, directory_only)
return _IgnoreRule(regexp, negation, directory_only)
| (pattern) | [
0.003834010800346732,
-0.017199117690324783,
0.026475265622138977,
0.006265813019126654,
-0.007648410275578499,
-0.0726010650396347,
0.06754134595394135,
0.05765724554657936,
-0.006932597607374191,
-0.05338198319077492,
0.038850001990795135,
0.09099647402763367,
-0.006442314945161343,
-0.01991528458893299,
-0.01248259749263525,
0.017944347113370895,
0.05118551477789879,
0.07205194979906082,
-0.017591344192624092,
0.06573710590600967,
-0.03773215785622597,
0.04745936766266823,
0.02622031979262829,
0.04094841331243515,
0.013875001110136509,
0.015090901404619217,
-0.0012085469206795096,
-0.010433215647935867,
-0.01411033608019352,
-0.034986574202775955,
-0.026337986811995506,
0.0399286225438118,
0.030240638181567192,
0.04679258167743683,
-0.016002828255295753,
-0.07640565931797028,
-0.011198056861758232,
0.06185406818985939,
-0.11029399931430817,
-0.01864054799079895,
0.019523058086633682,
0.044635336846113205,
0.031789932399988174,
0.02457297034561634,
-0.01577729731798172,
-0.001158905797637999,
-0.018611131235957146,
-0.008364222943782806,
-0.023749293759465218,
-0.010070406831800938,
-0.004378224723041058,
0.00825636088848114,
-0.06954170018434525,
-0.03302544355392456,
0.005731404758989811,
0.011521643958985806,
-0.037928272038698196,
0.024788694456219673,
0.00788864865899086,
0.022396113723516464,
-0.029926856979727745,
0.024318022653460503,
-0.015875354409217834,
-0.04498834162950516,
-0.029809188097715378,
-0.061344172805547714,
-0.04098763316869736,
-0.009364400058984756,
0.007516033947467804,
-0.001532133435830474,
-0.04028162732720375,
-0.013904417864978313,
0.0812692642211914,
-0.028063781559467316,
-0.009472262114286423,
-0.061344172805547714,
0.021925443783402443,
0.02023887075483799,
0.04173286259174347,
0.0419289767742157,
-0.05346042662858963,
0.0452628992497921,
0.053421203047037125,
-0.024318022653460503,
0.08432862907648087,
0.01669902913272381,
0.005128357093781233,
0.013600442558526993,
-0.026514489203691483,
-0.020336925983428955,
-0.03549646958708763,
-0.0027504859026521444,
-0.013463162817060947,
-0.0074866171926259995,
-0.04420388862490654,
0.032044876366853714,
0.03433940187096596,
-0.004782707896083593,
0.03169187530875206,
0.020336925983428955,
-0.03137809410691261,
0.039987459778785706,
-0.02049381658434868,
0.009761529043316841,
0.005751016084104776,
-0.007873940281569958,
0.008025928400456905,
0.02537703327834606,
-0.07624876499176025,
-0.013247438706457615,
0.007324823644012213,
-0.004356161691248417,
-0.008040636777877808,
0.004542469512671232,
0.027063606306910515,
-0.004596400540322065,
-0.08417173475027084,
-0.047969259321689606,
0.013620053417980671,
-0.010992138646543026,
-0.026945937424898148,
0.06099116802215576,
-0.05687279626727104,
0.029730742797255516,
0.0625992938876152,
-0.04655724763870239,
-0.017885513603687286,
-0.037516433745622635,
0.04820459708571434,
0.035123854875564575,
0.003762919921427965,
0.07958269119262695,
-0.058088697493076324,
-0.03390795364975929,
-0.06930636614561081,
0.07373852282762527,
-0.0012496081180870533,
-0.032182157039642334,
0.035182688385248184,
0.0023619369603693485,
0.07566042989492416,
0.01991528458893299,
-0.013718110509216785,
-0.05416643247008324,
-0.036378975957632065,
-0.00015566476213280112,
0.02749505452811718,
0.05663745850324631,
0.03290777653455734,
0.017826680094003677,
-0.01903277449309826,
-0.051695410162210464,
0.0505971759557724,
0.0825243890285492,
0.04188975319266319,
-0.00016286579193547368,
-0.01912102662026882,
0.01228648517280817,
-0.00763860484585166,
0.00168534682597965,
0.04561590403318405,
-0.026592934504151344,
-0.02816183865070343,
0.003762919921427965,
-0.019925089552998543,
0.0289659034460783,
0.006329549942165613,
-0.07177738845348358,
-0.0232982337474823,
-0.03839894011616707,
-0.02622031979262829,
-0.0372810959815979,
-0.03647703304886818,
0.05577456206083298,
-0.007770981173962355,
0.05499010905623436,
-0.009609540924429893,
0.041301414370536804,
-0.022062722593545914,
0.06534487754106522,
0.04753781110048294,
-0.015081096440553665,
0.03979134559631348,
-0.009295760653913021,
0.038575444370508194,
0.01651272177696228,
-0.018689576536417007,
-0.016022438183426857,
0.02110176719725132,
0.04294876381754875,
-0.04832226410508156,
-0.017493287101387978,
-0.0004302230663597584,
0.018267933279275894,
-0.002520053181797266,
-0.05977526679635048,
0.018071820959448814,
0.02337667904794216,
0.0033363739494234324,
-0.006182464770972729,
-0.029809188097715378,
0.0008114178781397641,
0.022003887221217155,
0.04294876381754875,
-0.010933304205536842,
-0.037183042615652084,
-0.03761449083685875,
0.029397351667284966,
-0.02649487741291523,
0.020866431295871735,
-0.05573533847928047,
-0.020336925983428955,
-0.016091078519821167,
0.01912102662026882,
-0.01564001850783825,
-0.03182915225625038,
0.021866608411073685,
0.08150459825992584,
-0.053028978407382965,
0.08158304542303085,
-0.032574381679296494,
0.0216312725096941,
-0.019542668014764786,
-0.01671864092350006,
0.03514346480369568,
-0.01884646713733673,
0.021454771980643272,
0.01437508873641491,
0.01716970093548298,
-0.024180743843317032,
-0.015532156452536583,
-0.05691201612353325,
0.07471908628940582,
0.023866962641477585,
0.04102685675024986,
-0.008942756801843643,
0.03816360607743263,
-0.03477085009217262,
-0.013855389319360256,
0.028456008061766624,
-0.052754420787096024,
0.014531979337334633,
0.018679771572351456,
0.0004185788566246629,
-0.006888472009450197,
0.04436077922582626,
0.007873940281569958,
0.022670673206448555,
0.02488674968481064,
0.009839974343776703,
-0.03233904764056206,
0.09091802686452866,
0.041301414370536804,
0.02070954255759716,
-0.024278799071907997,
-0.028279507532715797,
-0.032515548169612885,
-0.0126492939889431,
0.023866962641477585,
0.042321205139160156,
-0.007020848337560892,
0.04420388862490654,
0.06036360561847687,
-0.0645996481180191,
-0.025847705081105232,
-0.03167226165533066,
-0.021199824288487434,
0.006888472009450197,
-0.028710955753922462,
0.017061838880181313,
-0.06679611653089523,
-0.022356892004609108,
0.009531095623970032,
0.03959523141384125,
-0.05604911968111992,
0.004986175335943699,
0.010580301284790039,
0.0352807454764843,
0.024141520261764526,
-0.016424471512436867,
-0.03347650170326233,
0.03453551605343819,
0.016208745539188385,
-0.021748941391706467,
0.06318763643503189,
0.03979134559631348,
0.0011693242704495788,
-0.019797615706920624,
-0.04200742393732071,
0.03475124016404152,
0.032574381679296494,
-0.06761979311704636,
0.021415548399090767,
0.010501855984330177,
0.00747190834954381,
0.04879293590784073,
-0.009119258262217045,
-0.11398092657327652,
0.024200353771448135,
-0.024729859083890915,
-0.0572650209069252,
0.05487244203686714,
0.09531095623970032,
0.02710282802581787,
-0.0692279189825058,
-0.029652297496795654,
-0.04334099218249321,
-0.035123854875564575,
0.0006759772659279406,
-0.014267226681113243,
0.05412721261382103,
-0.01118825189769268,
0.022278446704149246,
0.010560689494013786,
0.014924205839633942,
0.0005212317919358611,
0.02043498307466507,
0.01344355195760727,
0.02776961214840412,
0.0326332189142704,
0.021003711968660355,
0.04679258167743683,
-0.019130831584334373,
-0.014600618742406368,
0.02349434792995453,
-0.004748388193547726,
-0.05040106177330017,
0.03275088593363762,
-0.02976996637880802,
0.018267933279275894,
0.010207685641944408,
-0.030064135789871216,
-0.066521555185318,
0.022788340225815773,
-0.03475124016404152,
-0.0045204064808785915,
0.03620247542858124,
-0.027455830946564674,
0.008854505605995655,
-0.021886220201849937,
0.0665607824921608,
0.034457068890333176,
-0.02849523164331913,
0.015816520899534225,
-0.0005141840083524585,
-0.041850533336400986,
-0.015090901404619217,
0.006707067601382732,
-0.013992668129503727,
0.005500971805304289,
0.05040106177330017,
-0.05212685838341713,
-0.04918516054749489,
-0.03390795364975929,
0.0156498234719038,
-0.007942579686641693,
-0.10935265570878983,
-0.020336925983428955,
-0.010080212727189064,
0.014669259078800678,
0.0705614909529686,
0.028240283951163292,
-0.004356161691248417,
0.0035202298313379288,
0.014139753766357899,
0.02749505452811718,
-0.002860799664631486,
0.025730036199092865,
-0.007668021600693464,
-0.06012827157974243,
-0.02835795283317566,
0.015522350557148457,
0.05585300549864769,
-0.08966290205717087,
0.02622031979262829,
-0.011070583947002888,
0.023749293759465218,
-0.024219965562224388,
0.031044701114296913,
0.07165972143411636,
0.015620407648384571,
0.07146360725164413,
-0.003108392469584942,
-0.0037016344722360373,
-0.010609718039631844,
-0.008285777643322945,
0.00003707762880367227,
0.001376468688249588,
0.007128710858523846,
-0.0039051019120961428,
-0.025592757388949394,
0.0043242936953902245,
0.04573357105255127,
-0.06099116802215576,
-0.025984983891248703,
-0.038575444370508194,
0.0326332189142704,
0.030613252893090248,
-0.00537840137258172,
0.032044876366853714,
0.005893198307603598,
-0.07079682499170303,
0.03367261588573456,
0.04314487800002098,
0.015022261999547482,
0.013296467252075672,
0.07154205441474915,
0.06110883876681328,
-0.024671025574207306,
-0.00763860484585166,
-0.015267403796315193,
-0.07891590893268585,
0.00036403490230441093,
-0.02482791617512703,
0.012188428081572056,
-0.013629859313368797,
0.03979134559631348,
-0.06036360561847687,
0.018336573615670204,
-0.011011749505996704,
-0.005108745768666267,
-0.07381696254014969,
0.0512639619410038,
0.025612369179725647,
0.03877155855298042,
0.00722186453640461,
0.012717933394014835,
-0.01724814623594284,
-0.02349434792995453,
0.04745936766266823,
-0.06185406818985939,
-0.03002491407096386,
-0.02170971781015396,
0.0018361087422817945,
-0.009001590311527252,
-0.05840247496962547,
0.030907422304153442,
-0.02257261611521244,
-0.03602597489953041,
-0.01537526585161686,
-0.03812438249588013,
0.03267243877053261,
-0.0009683083626441658,
0.06236395984888077,
-0.015169346705079079,
-0.021474381908774376,
0.045106008648872375,
-0.00795238558202982,
-0.03308427706360817,
-0.021121378988027573,
-0.05298975482583046,
0.016934365034103394,
0.0059079066850245,
-0.013943640515208244,
-0.016149912029504776,
0.011992314830422401,
0.01018807478249073,
0.0022050465922802687,
-0.01645388826727867,
-0.019591696560382843,
0.08221060782670975,
0.03667314723134041,
0.05773569270968437,
-0.0024992162361741066,
-0.027122439816594124,
-0.061736397445201874,
0.06369753181934357,
0.00047067139530554414,
-0.0199643112719059,
-0.03494735062122345,
-0.01982703246176243,
-0.02922084927558899,
0.00460865767672658,
0.04832226410508156,
-0.017356008291244507,
0.017748234793543816,
-0.01185503602027893,
0.002250397577881813,
-0.014522174373269081,
0.0025102475192397833,
-0.017934542149305344,
-0.02316095493733883,
-0.04938127472996712,
0.00612363126128912,
0.0015762589173391461,
-0.027789223939180374,
-0.015806714072823524,
-0.030201414600014687,
-0.017493287101387978,
-0.06785512715578079,
0.02123904787003994,
0.035045407712459564,
-0.03959523141384125,
0.008305389434099197,
-0.035790637135505676,
0.01448295172303915,
-0.012296290136873722,
0.03494735062122345,
0.012992491945624352,
-0.02535742148756981,
0.015532156452536583,
-0.04891060292720795,
-0.06558021903038025,
0.03900689259171486,
-0.015061484649777412,
0.036849647760391235,
-0.0565982349216938,
-0.004309584852308035,
-0.0060746027156710625,
-0.0058049471117556095,
0.004069346468895674,
0.0545978844165802,
-0.02049381658434868,
0.018591521307826042,
0.031927209347486496,
0.03441784530878067,
-0.0049665640108287334,
-0.0064913430251181126,
-0.015885159373283386,
0.02416113205254078,
-0.03914417326450348,
-0.040516965091228485,
-0.002000353531911969,
-0.01541448850184679,
0.000858607585541904,
0.020533040165901184,
0.048557598143815994,
-0.029201237484812737,
0.03373144939541817,
-0.03806554898619652,
0.024141520261764526,
-0.030260248109698296,
-0.0023300684988498688,
0.04239964857697487,
0.01604204997420311,
0.017061838880181313,
0.04134063795208931,
0.0031059409957379103,
-0.08370106667280197,
0.011521643958985806,
-0.018199294805526733,
0.04122297093272209,
0.023729683831334114,
-0.03582986071705818,
0.03343728184700012,
0.016748057678341866,
-0.018728800117969513,
-0.035594526678323746,
-0.0206310972571373,
0.0029564048163592815,
0.03184876590967178,
-0.005770627409219742,
-0.018356185406446457,
0.050832509994506836,
0.07797456532716751,
-0.03602597489953041,
0.03353533893823624,
0.01405150257050991,
-0.013423941098153591,
-0.023259012028574944,
-0.053970322012901306,
0.004716519732028246,
-0.06605088710784912,
-0.012011926621198654,
-0.03116236999630928,
-0.009119258262217045,
0.010992138646543026,
0.04585123807191849,
-0.008692712523043156,
0.04494911804795265,
-0.03408445417881012,
0.01723833940923214,
0.06267774105072021,
0.010511660948395729,
-0.0269655492156744,
0.017728623002767563,
0.02876978926360607,
-0.005221510771661997,
0.026534100994467735,
-0.01191386952996254,
0.06510954350233078,
-0.005054814741015434,
0.008957465179264545,
-0.015571379102766514,
-0.032064490020275116,
-0.010913693346083164,
0.0022540746722370386,
0.06503109633922577,
-0.033064667135477066,
-0.012227650731801987,
0.037987105548381805,
0.02137632668018341,
0.04632190987467766,
-0.023062897846102715,
-0.02682827040553093,
-0.012306096032261848,
-0.0005984513554722071,
-0.031240815296769142,
0.09546785056591034,
0.016953976824879646,
-0.002806868636980653,
0.025200530886650085,
-0.009467358700931072,
0.020160425454378128,
0.07577809691429138,
-0.017218729481101036,
0.04275265336036682,
-0.07550353556871414,
-0.034515902400016785,
-0.02643604390323162,
-0.0029441476799547672,
0.04655724763870239,
0.05487244203686714,
-0.040830742567777634,
0.01031554862856865,
0.022651061415672302,
-0.023808129131793976,
-0.02655371092259884,
-0.04745936766266823,
-0.040713075548410416,
-0.0010216266382485628,
-0.017032422125339508,
-0.0046944571658968925,
-0.0026009497232735157,
0.013757333159446716,
0.040516965091228485,
-0.025337809696793556,
-0.03610441833734512,
-0.07401307672262192,
-0.01770901121199131,
0.009805654175579548,
-0.006564885377883911,
-0.030985867604613304,
0.0035520982928574085,
0.021748941391706467,
-0.006868860684335232,
0.029318906366825104,
-0.017944347113370895,
-0.011806007474660873,
-0.021140990778803825,
-0.01075680274516344,
-0.1277872920036316,
-0.014659453183412552,
0.03282932937145233,
-0.0625992938876152,
-0.04153675213456154,
-0.009810556657612324,
-0.03877155855298042,
0.01467906404286623,
-0.004986175335943699,
0.017424646764993668,
0.04581201821565628,
-0.01251201517879963,
0.030593641102313995,
0.022866785526275635,
0.1265321671962738,
0.01354160811752081,
-0.03588869422674179,
0.02182738669216633,
-0.02310212142765522,
-0.04451766982674599,
0.025730036199092865,
-0.053695764392614365,
0.029377739876508713,
-0.040242403745651245,
0.02949540875852108,
0.0339667871594429,
-0.05444099381566048,
0.0312800370156765,
0.034045230597257614,
0.0003217480261810124,
0.036378975957632065,
-0.051616962999105453,
-0.016071466729044914,
0.04341943562030792,
-0.0036697660107165575,
0.020611485466361046,
0.013463162817060947,
0.03853622078895569,
-0.03969328850507736,
-0.01751289889216423,
-0.029142403975129128,
0.024063074961304665,
-0.01671864092350006,
0.05420565605163574,
0.089192233979702,
-0.030868198722600937,
-0.031652651727199554,
0.04400777444243431,
-0.0025065704248845577,
-0.020729152485728264,
0.05047950893640518,
0.011433392763137817,
0.008177915588021278,
-0.04871448874473572,
0.06357986479997635,
-0.006559982895851135,
0.019993729889392853,
0.014659453183412552,
-0.05891237035393715,
0.004630720242857933,
0.020886043086647987,
0.02457297034561634,
-0.045968908816576004,
0.033986397087574005,
-0.016012633219361305,
-0.011521643958985806,
-0.03235865756869316,
-0.06503109633922577,
0.04239964857697487,
-0.05244063958525658,
0.0272989422082901,
0.006535468623042107,
-0.06032438576221466,
0.016551943495869637,
-0.04369399696588516,
-0.0023386485408991575,
-0.03141731768846512,
0.02176855318248272,
-0.05224452540278435,
0.037653710693120956,
-0.03783021494746208,
-0.008575044572353363,
0.020199647173285484,
-0.009624249301850796,
0.00236438843421638,
-0.021748941391706467,
-0.062010958790779114,
0.005314664449542761,
-0.004956758115440607,
-0.030534807592630386,
0.07369929552078247,
0.02855406515300274,
0.04145830497145653,
0.06083427742123604,
0.009202606044709682,
0.001043076510541141,
-0.03353533893823624,
0.03324116766452789,
0.039987459778785706,
-0.03681042417883873,
-0.05051872879266739,
-0.06063816696405411,
-0.006363869644701481,
0.0003572935238480568,
0.062285516411066055,
0.019866256043314934,
0.0346139594912529,
0.010952915996313095,
0.036849647760391235,
-0.01737562008202076,
-0.08268127590417862,
-0.023886574432253838,
-0.006403092294931412,
-0.027730390429496765,
-0.04738092049956322,
0.045498237013816833,
-0.012208039872348309,
0.0029564048163592815,
0.0006306261639110744,
-0.012492403388023376,
0.008325000293552876,
0.06997314840555191,
0.014159364625811577,
0.0077660782262682915,
-0.019660336896777153,
0.01982703246176243,
-0.020611485466361046
] |
7,527 | gitignorefile | ignore | Returns `shutil.copytree()`-compatible ignore function for skipping ignored files.
It will check if file is ignored by any `.gitignore` in the directory tree.
Args:
ignore_names (list[str], optional): List of names of ignore files.
Returns:
Callable[[str, list[str]], list[str]]: Callable compatible with `shutil.copytree()`.
| def ignore(ignore_names=DEFAULT_IGNORE_NAMES):
"""Returns `shutil.copytree()`-compatible ignore function for skipping ignored files.
It will check if file is ignored by any `.gitignore` in the directory tree.
Args:
ignore_names (list[str], optional): List of names of ignore files.
Returns:
Callable[[str, list[str]], list[str]]: Callable compatible with `shutil.copytree()`.
"""
matches = Cache(ignore_names=ignore_names)
return lambda root, names: {name for name in names if matches(os.path.join(root, name))}
| (ignore_names=['.gitignore', '.git/info/exclude']) | [
-0.043146681040525436,
-0.07422691583633423,
0.024388844147324562,
-0.002206468256190419,
-0.029599353671073914,
-0.013501619920134544,
0.022725136950612068,
0.039892397820949554,
0.052580446004867554,
-0.031226495280861855,
0.02331017702817917,
0.002916057361289859,
-0.03312787413597107,
-0.03959987685084343,
-0.045194320380687714,
-0.0462181381881237,
0.04471897333860397,
0.06340368092060089,
0.002648676047101617,
-0.0381007120013237,
-0.03071458637714386,
0.005265357438474894,
0.03473673388361931,
0.03970957174897194,
-0.03568742424249649,
-0.003814184805378318,
0.001153510995209217,
0.021774446591734886,
-0.02815503627061844,
0.02700323984026909,
-0.02400491200387478,
0.04252507537603378,
0.005503030028194189,
-0.0014534580986946821,
-0.040587130934000015,
-0.025321250781416893,
-0.022194944322109222,
0.10421019792556763,
-0.028776641935110092,
-0.05481090769171715,
-0.009164098650217056,
-0.0001691130455583334,
0.03669295832514763,
-0.010027946904301643,
-0.007427262142300606,
-0.0013231952907517552,
-0.01316339336335659,
-0.025211555883288383,
0.04863142594695091,
0.026765568181872368,
0.04292729124426842,
0.06223360076546669,
-0.04033117741346359,
0.01407751813530922,
0.007061612326651812,
0.04928959533572197,
0.05400647968053818,
0.008620195090770721,
0.019324593245983124,
-0.0213722325861454,
-0.02506529539823532,
0.04563309997320175,
0.05437212809920311,
-0.005740702152252197,
-0.019032074138522148,
-0.02991015650331974,
-0.040696825832128525,
-0.04950898513197899,
-0.015311586670577526,
0.0155858239158988,
-0.06987567991018295,
-0.05206853523850441,
0.03744254261255264,
0.008528782054781914,
0.0003316558140795678,
-0.010466726496815681,
0.04541371017694473,
0.036656394600868225,
0.020714063197374344,
0.035504598170518875,
-0.08607397228479385,
-0.07027789950370789,
0.0046071880497038364,
0.0450480580329895,
0.03755223751068115,
0.04530401527881622,
0.025321250781416893,
0.0029114866629242897,
0.0577361062169075,
-0.010640409775078297,
-0.0334569588303566,
0.016170863062143326,
-0.01937944069504738,
0.027094652876257896,
-0.04479210451245308,
0.044974926859140396,
0.024992166087031364,
0.013684445060789585,
0.014872807078063488,
0.03981926664710045,
-0.004858572036027908,
0.02610739693045616,
-0.009090968407690525,
-0.022140096873044968,
0.015311586670577526,
-0.046364396810531616,
-0.015101337805390358,
-0.01952570118010044,
0.024315712973475456,
-0.03404199704527855,
-0.017916841432452202,
-0.06632887572050095,
0.03784475848078728,
-0.002454424509778619,
0.026180528104305267,
-0.01872127130627632,
-0.06245299056172371,
-0.039782702922821045,
-0.03069630265235901,
-0.008149420842528343,
0.015713801607489586,
0.06903468817472458,
-0.013885552063584328,
0.04076995700597763,
0.006019510328769684,
0.024151170626282692,
0.07956540584564209,
0.010183347389101982,
-0.005009402520954609,
0.04526744782924652,
0.03985583037137985,
-0.00014161788567434996,
0.004506634082645178,
0.02897774800658226,
-0.001951655955053866,
0.08622022718191147,
0.0009821126004680991,
-0.011079189367592335,
0.07309339940547943,
-0.028027059510350227,
0.03161042928695679,
-0.07192332297563553,
0.023419871926307678,
0.04263477027416229,
0.015869202092289925,
-0.019671959802508354,
-0.01224012766033411,
-0.03137275576591492,
0.022194944322109222,
0.04204972833395004,
0.0351937972009182,
-0.016719337552785873,
-0.0900229886174202,
0.04753447696566582,
-0.046108443289995193,
0.032396573573350906,
0.018511023372411728,
0.029617635533213615,
-0.034937839955091476,
0.015558400191366673,
0.05784580111503601,
-0.012496083043515682,
0.027734538540244102,
0.002157334005460143,
-0.020494673401117325,
-0.03894170746207237,
0.018492739647626877,
-0.009817698039114475,
-0.009936533868312836,
0.02296280860900879,
-0.02632678672671318,
-0.002245318377390504,
-0.030751150101423264,
0.014918512664735317,
-0.02056780271232128,
-0.022432615980505943,
-0.0013231952907517552,
0.02608911506831646,
-0.05967405065894127,
0.05334831029176712,
0.04066026210784912,
-0.01130772102624178,
0.020494673401117325,
0.02296280860900879,
0.04972837492823601,
0.0013574749464169145,
0.023383306339383125,
0.019361158832907677,
0.007203301414847374,
0.042086295783519745,
0.003236000891774893,
0.025942854583263397,
-0.0060652163811028,
0.021518493071198463,
0.03949018195271492,
0.02608911506831646,
-0.012989710085093975,
-0.009388059377670288,
-0.07298370450735092,
-0.012450376525521278,
-0.007696928922086954,
-0.03012954629957676,
0.01713983528316021,
-0.0351937972009182,
0.034115128219127655,
-0.02749686688184738,
-0.04329293966293335,
-0.008419087156653404,
0.06980255246162415,
-0.007011335343122482,
0.0248276237398386,
-0.004346662200987339,
-0.04084308445453644,
-0.002052209572866559,
-0.021609904244542122,
0.026966674253344536,
0.015421281568706036,
0.040367741137742996,
0.004716882947832346,
0.014808817766606808,
-0.02850240468978882,
0.04673004895448685,
-0.047168828547000885,
0.005274498835206032,
0.05945466086268425,
0.004771730396896601,
0.01892237924039364,
-0.0023344457149505615,
0.05481090769171715,
-0.028813205659389496,
-0.018191078677773476,
-0.009607449173927307,
-0.0013323365710675716,
-0.0153024448081851,
0.03945361450314522,
-0.05287296324968338,
-0.008990415371954441,
-0.08899916708469391,
0.007166736759245396,
0.004163837525993586,
-0.03832010179758072,
0.009863403625786304,
0.03649185225367546,
0.0600031353533268,
0.05956435576081276,
-0.07525073736906052,
-0.030330652371048927,
0.011783065274357796,
0.04292729124426842,
0.04365858808159828,
-0.00008070006151683629,
0.014159789308905602,
-0.011783065274357796,
-0.011847054585814476,
0.008784737437963486,
0.045450273901224136,
0.04303698614239693,
0.00958002544939518,
-0.0006678822683170438,
0.013702726922929287,
0.015339010395109653,
-0.030111262574791908,
0.003085170406848192,
-0.04435332491993904,
0.0027355176862329245,
-0.0427444651722908,
0.033786043524742126,
-0.040916215628385544,
-0.05945466086268425,
-0.009845121763646603,
0.04493836313486099,
0.0300015676766634,
0.046108443289995193,
0.03384089097380638,
-0.018108807504177094,
-0.049253031611442566,
-0.014625992625951767,
0.0577726736664772,
0.011746500618755817,
0.010649551637470722,
-0.00197108113206923,
0.059052448719739914,
-0.0496552474796772,
-0.00046077591832727194,
0.008432799018919468,
0.034444212913513184,
-0.013199958950281143,
-0.040477436035871506,
-0.05499373376369476,
-0.013775857165455818,
0.03150073438882828,
0.011362568475306034,
0.01863900013267994,
-0.08782909065485,
0.00034308238537050784,
-0.0060560754500329494,
-0.030330652371048927,
-0.043585460633039474,
0.0080717196688056,
0.06676765531301498,
-0.03162870928645134,
0.04106247425079346,
0.04117216914892197,
-0.06168512627482414,
0.00014811674191150814,
-0.017779722809791565,
-0.00931950006633997,
0.015083055011928082,
-0.02122597210109234,
0.003736484097316861,
-0.0008552778162993491,
-0.021646469831466675,
0.01200245600193739,
-0.029946720227599144,
0.04764417186379433,
-0.041281864047050476,
0.07126515358686447,
-0.02852068655192852,
0.017322661355137825,
0.004511204548180103,
0.007459256332367659,
0.01796254701912403,
-0.0784684494137764,
-0.04095277935266495,
-0.05217823013663292,
-0.0124138118699193,
-0.041281864047050476,
-0.0016031459672376513,
0.051081281155347824,
-0.003754766657948494,
-0.018867531791329384,
-0.05631007254123688,
-0.027661409229040146,
-0.009397200308740139,
0.007125601172447205,
0.025833159685134888,
0.03073286823928356,
0.0236575435847044,
0.04095277935266495,
0.020714063197374344,
0.02343815378844738,
-0.01905035600066185,
-0.0288863368332386,
0.03164699301123619,
-0.04753447696566582,
-0.0141415074467659,
0.025211555883288383,
0.025686901062726974,
0.018602434545755386,
0.05645633488893509,
0.07309339940547943,
0.029928438365459442,
-0.04303698614239693,
-0.0032657100819051266,
0.034809865057468414,
0.023255329579114914,
-0.028685228899121284,
0.01437003817409277,
0.0004250679339747876,
-0.03460875526070595,
0.028264731168746948,
0.008080861531198025,
0.0248276237398386,
-0.013529043644666672,
0.013894692994654179,
-0.009945675730705261,
0.03555944561958313,
-0.00565386051312089,
-0.055725034326314926,
-0.07598203420639038,
-0.026948392391204834,
0.02113455906510353,
-0.021847577765583992,
-0.0461815744638443,
0.018328197300434113,
-0.0589061863720417,
-0.001791684189811349,
-0.03473673388361931,
-0.026619307696819305,
0.06336711347103119,
-0.07027789950370789,
0.018410468474030495,
0.024443691596388817,
0.031829819083213806,
0.0038118993397802114,
0.022926244884729385,
0.07422691583633423,
-0.007834047079086304,
-0.00023467291612178087,
-0.005726990289986134,
0.010064511559903622,
-0.052836399525403976,
0.004634611774235964,
0.04457271471619606,
-0.05045967549085617,
-0.057662978768348694,
0.01564067043364048,
0.003955874126404524,
-0.05162975564599037,
-0.03230516240000725,
0.04194003343582153,
-0.0635499432682991,
-0.023950064554810524,
-0.02875835821032524,
-0.006796516012400389,
0.06223360076546669,
0.011179743334650993,
0.012596636079251766,
0.03351180627942085,
-0.03762536868453026,
-0.060551609843969345,
-0.04102591052651405,
0.05737045779824257,
-0.006746239494532347,
0.001531158690340817,
0.03727800026535988,
0.015329868532717228,
-0.02932511642575264,
-0.000040957063902169466,
-0.08234433829784393,
-0.010137641802430153,
-0.1258566677570343,
0.020640932023525238,
-0.02608911506831646,
0.07722524553537369,
0.00033022748539224267,
0.018867531791329384,
-0.027222629636526108,
-0.032945048063993454,
0.04764417186379433,
-0.06775490939617157,
-0.00854706484824419,
0.004252964630723,
-0.03949018195271492,
0.08863351494073868,
-0.053640831261873245,
0.0014625992625951767,
-0.07415378838777542,
-0.04629126936197281,
0.05499373376369476,
-0.06446406245231628,
0.03534005582332611,
0.029416529461741447,
-0.03795445337891579,
-0.03084256313741207,
0.008693324401974678,
-0.05367739498615265,
0.053384874016046524,
0.03473673388361931,
-0.02239605225622654,
-0.01616172306239605,
0.010229053907096386,
0.030751150101423264,
-0.06987567991018295,
-0.015485269948840141,
0.0305866077542305,
-0.05919870734214783,
0.017368366941809654,
-0.0196171123534441,
-0.021079711616039276,
0.056163813918828964,
-0.018675565719604492,
0.09038864076137543,
-0.00987254548817873,
0.03934391960501671,
-0.04376828297972679,
-0.00040735676884651184,
-0.04892394691705704,
0.024297431111335754,
0.006545132026076317,
0.08322189748287201,
-0.03755223751068115,
0.003512523602694273,
-0.0002135337854269892,
0.017039282247424126,
-0.05780923739075661,
-0.03199436143040657,
0.0005924669676460326,
0.010238194838166237,
-0.01830991543829441,
-0.06322085857391357,
-0.02910572662949562,
0.020293565467000008,
-0.004378656856715679,
0.002854353981092572,
-0.05934496596455574,
0.034444212913513184,
-0.03223203122615814,
0.01316339336335659,
-0.0124138118699193,
0.007235296070575714,
0.01748720370233059,
0.013081122189760208,
-0.026820415630936623,
-0.008757313713431358,
0.02460823394358158,
-0.01281602680683136,
0.03715002164244652,
0.0025915431324392557,
-0.04673004895448685,
-0.004854001570492983,
-0.0036153625696897507,
0.024571668356657028,
0.030751150101423264,
0.006088069640100002,
-0.03568742424249649,
0.0000694520422257483,
-0.047278523445129395,
-0.03340211138129234,
-0.017734017223119736,
-0.006750809960067272,
0.01687473990023136,
0.009735426865518093,
0.04698600247502327,
0.0283012967556715,
-0.00999138131737709,
-0.024535102769732475,
0.038502927869558334,
0.009269223548471928,
-0.01091464702039957,
-0.04563309997320175,
-0.01583263836801052,
0.017404932528734207,
-0.013300512917339802,
0.02241433411836624,
-0.01131686195731163,
0.03949018195271492,
-0.0060652163811028,
0.012166998349130154,
0.02298109233379364,
-0.01027476042509079,
-0.010219912976026535,
-0.05334831029176712,
-0.02760656177997589,
0.015284162946045399,
-0.011965890415012836,
0.03879544511437416,
0.048082951456308365,
-0.0031080234330147505,
0.031793251633644104,
0.015978896990418434,
-0.004936272744089365,
0.0461815744638443,
-0.0016511374851688743,
0.00987254548817873,
0.07517760246992111,
-0.06643857061862946,
0.018757836893200874,
-0.015457846224308014,
-0.003914738539606333,
0.06903468817472458,
-0.05510342866182327,
-0.04800982400774956,
-0.020842039957642555,
0.08256372809410095,
-0.06669452786445618,
-0.0013483337825164199,
-0.012276693247258663,
-0.018346479162573814,
0.027277477085590363,
-0.0029366251546889544,
-0.018904095515608788,
-0.01829163171350956,
-0.06855934113264084,
-0.04248851165175438,
-0.037698496133089066,
0.0007078752387315035,
0.026875263080000877,
0.025558922439813614,
0.0004539199871942401,
0.006270894315093756,
0.03367634862661362,
0.047388218343257904,
-0.012779461219906807,
-0.07005850970745087,
0.03616276755928993,
0.04237881675362587,
-0.023712391033768654,
-0.02469964511692524,
-0.0230725035071373,
0.053055789321660995,
-0.06289177387952805,
-0.01950741745531559,
0.020988300442695618,
-0.018191078677773476,
-0.01119802612811327,
0.0029960433021187782,
0.03477329760789871,
0.04003865644335747,
0.043585460633039474,
0.09762850403785706,
-0.00361993326805532,
0.06782804429531097,
0.021152842789888382,
-0.009186951443552971,
-0.02504701353609562,
-0.02886805310845375,
0.004029003903269768,
0.05671228840947151,
-0.03886857628822327,
-0.03217718377709389,
-0.011152319610118866,
-0.022926244884729385,
0.02632678672671318,
0.016079451888799667,
-0.03248798847198486,
-0.0020213578827679157,
-0.05481090769171715,
0.0021584767382591963,
-0.008661330677568913,
-0.004716882947832346,
0.018474457785487175,
0.07100919634103775,
-0.05024028569459915,
0.025997702032327652,
0.06201421096920967,
0.006563414353877306,
-0.0008844155236147344,
-0.05484747514128685,
-0.013209099881350994,
-0.04987463727593422,
-0.031153365969657898,
-0.037698496133089066,
-0.020732345059514046,
0.002243033144623041,
-0.05631007254123688,
0.021646469831466675,
0.02126253768801689,
-0.03934391960501671,
0.031482450664043427,
-0.02725919522345066,
-0.028484120965003967,
0.023035939782857895,
-0.004794583190232515,
-0.027752822265028954,
0.0063166008330881596,
0.029837025329470634,
-0.0635133758187294,
-0.03963644057512283,
-0.03959987685084343,
-0.013693585991859436,
-0.06358650326728821,
-0.011627664789557457,
0.0010586704593151808,
-0.041720643639564514,
-0.023401588201522827,
0.00406785449013114,
0.00857905950397253,
0.01529330387711525,
-0.03658326342701912,
0.010238194838166237,
0.002813218394294381,
-0.02148192748427391,
0.0176151804625988,
-0.038612622767686844,
0.13104890286922455,
-0.06311116367578506,
0.03373119607567787,
0.03736941143870354,
-0.016344547271728516,
-0.0046094730496406555,
0.009260081686079502,
-0.02850240468978882,
0.07627455145120621,
0.013995246961712837,
0.011243731714785099,
-0.031902946531772614,
-0.018675565719604492,
0.049801506102085114,
0.0043169534765183926,
0.010667833499610424,
0.05623694509267807,
0.005918956361711025,
-0.03188466653227806,
0.006458289921283722,
-0.01987306773662567,
-0.009863403625786304,
0.0392707921564579,
0.004481495823711157,
-0.03299989551305771,
-0.05901588127017021,
0.03407856449484825,
0.05206853523850441,
0.045194320380687714,
0.006522278767079115,
0.060332220047712326,
-0.03104367107152939,
0.010777528397738934,
0.05758984759449959,
0.060880694538354874,
0.004070139490067959,
0.03363978490233421,
0.052031971514225006,
0.08095487207174301,
-0.020183870568871498,
0.06413497775793076,
0.019671959802508354,
-0.039526745676994324,
-0.02932511642575264,
-0.02089688740670681,
0.027972212061285973,
0.012432093732059002,
-0.030787715688347816,
-0.034352801740169525,
0.022085249423980713,
-0.08073548227548599,
-0.0013357645366340876,
0.01021077111363411,
0.004527201876044273,
0.017222106456756592,
-0.07890722900629044,
-0.025888007134199142,
0.017752299085259438,
0.04563309997320175,
-0.029507940635085106,
-0.011143178679049015,
0.059052448719739914,
-0.0680839940905571,
0.05758984759449959,
-0.02146364562213421,
-0.010594704188406467,
-0.015777790918946266,
-0.0178985595703125,
0.05437212809920311,
-0.06954659521579742,
0.025814877822995186,
0.022103531286120415,
-0.12132260948419571,
-0.0014888803707435727,
0.025357816368341446,
0.02747858501970768,
0.03161042928695679,
0.009237228892743587,
0.009817698039114475,
0.03568742424249649,
-0.011920183897018433,
0.042781028896570206,
0.013583891093730927,
-0.04837547242641449,
0.007267290260642767,
0.04490179941058159,
-0.030513478443026543,
-0.023931780830025673,
0.0074181207455694675,
-0.05437212809920311,
-0.047278523445129395,
0.007495821453630924,
0.040587130934000015,
-0.007143883500248194,
0.022597160190343857,
0.007207872346043587,
0.009095539338886738,
-0.0009324070415459573,
-0.052836399525403976,
-0.01998276263475418,
0.020055893808603287,
0.024187736213207245,
-0.015887485817074776,
-0.01972680725157261,
-0.00560358352959156,
0.03023924119770527,
0.005868679843842983,
-0.04976494237780571,
0.006823939736932516,
0.03245142102241516,
-0.011499687097966671,
0.0132730882614851,
0.021518493071198463
] |
7,528 | gitignorefile | ignored | Checks if file is ignored by any `.gitignore` in the directory tree.
Args:
path (str): Path to check against ignore rules.
is_dir (bool, optional): Set if you know whether the specified path is a directory.
ignore_names (list[str], optional): List of names of ignore files.
Returns:
bool: `True` if the path is ignored.
| def ignored(path, is_dir=None, ignore_names=DEFAULT_IGNORE_NAMES):
"""Checks if file is ignored by any `.gitignore` in the directory tree.
Args:
path (str): Path to check against ignore rules.
is_dir (bool, optional): Set if you know whether the specified path is a directory.
ignore_names (list[str], optional): List of names of ignore files.
Returns:
bool: `True` if the path is ignored.
"""
return Cache(ignore_names=ignore_names)(path, is_dir=is_dir)
| (path, is_dir=None, ignore_names=['.gitignore', '.git/info/exclude']) | [
-0.0028504154179245234,
-0.056515756994485855,
0.02249319851398468,
-0.010991201736032963,
0.023368846625089645,
-0.010297981090843678,
0.04713902994990349,
0.0046838028356432915,
-0.011465511284768581,
-0.024481648579239845,
0.04195811599493027,
0.033730678260326385,
-0.006681373808532953,
-0.05950755253434181,
-0.09208894520998001,
-0.029571350663900375,
0.036777202039957047,
0.03382188826799393,
-0.0013100509531795979,
-0.08486484736204147,
-0.03010038658976555,
0.013718479312956333,
0.050969988107681274,
0.05414421111345291,
0.01083613932132721,
-0.026433613151311874,
0.03606573864817619,
0.03433268517255783,
0.013061744160950184,
0.02822139300405979,
-0.011310448870062828,
0.07559757679700851,
-0.012733375653624535,
0.028805159032344818,
-0.048561956733465195,
-0.02442692033946514,
-0.0038195566739887,
0.05027676746249199,
-0.02831260673701763,
-0.06286419928073883,
-0.038564980030059814,
0.03747042268514633,
0.05812111124396324,
0.043563470244407654,
-0.04713902994990349,
-0.043745897710323334,
-0.05501985922455788,
-0.02212834544479847,
0.01647312194108963,
0.0074612475000321865,
0.07494084537029266,
0.00768472021445632,
-0.006389491260051727,
0.009832792915403843,
0.036777202039957047,
0.0071511222049593925,
0.06574654579162598,
0.01100944448262453,
0.010352709330618382,
-0.027801811695098877,
-0.048087649047374725,
0.04695660248398781,
0.03991493955254555,
-0.05764680355787277,
-0.01013379730284214,
-0.03694138303399086,
-0.020960815250873566,
-0.06016428768634796,
0.013672873377799988,
-0.0003195315657649189,
-0.06392227858304977,
0.0016429794486612082,
0.046993087977170944,
0.016619062051177025,
-0.03871092200279236,
-0.011082415468990803,
0.03783527389168739,
0.04889032617211342,
0.009942249394953251,
0.0437094122171402,
-0.09398617595434189,
-0.030063902959227562,
0.007310745771974325,
0.030957791954278946,
0.012350279837846756,
0.012532706372439861,
0.05396178364753723,
-0.0000833033918752335,
0.04622689634561539,
0.012605677358806133,
0.011456389911472797,
0.013335383497178555,
-0.006489825900644064,
-0.021416882053017616,
-0.019373703747987747,
0.045205309987068176,
0.07187607884407043,
-0.0020465983543545008,
-0.006831876002252102,
0.020121652632951736,
-0.013426597230136395,
0.004261941183358431,
0.03449686989188194,
-0.02203713171184063,
0.0007553601171821356,
-0.010681076906621456,
-0.009198861196637154,
-0.03805418685078621,
0.04407426342368126,
-0.06498035043478012,
-0.00449909595772624,
-0.021070271730422974,
0.0049118357710540295,
0.016500484198331833,
0.060127805918455124,
-0.030939549207687378,
-0.05071459338068962,
-0.06264529377222061,
-0.043381042778491974,
0.04962003231048584,
0.007944677956402302,
0.05377935990691185,
0.013162078335881233,
0.03962305560708046,
0.04841601848602295,
0.026543069630861282,
0.01888115145266056,
-0.0076391133479774,
-0.03933117166161537,
0.027820054441690445,
-0.0015346637228503823,
-0.021343911066651344,
0.006371248513460159,
0.04192163050174713,
-0.02108851447701454,
0.10157512873411179,
-0.0008015368366613984,
-0.009194300509989262,
0.0616237036883831,
0.026251185685396194,
0.07297063618898392,
-0.03380364552140236,
0.029388923197984695,
0.010316223837435246,
0.03575561195611954,
0.028677459806203842,
-0.013390111736953259,
0.026597796007990837,
0.008314091712236404,
0.022894537076354027,
0.018206173554062843,
-0.030428756028413773,
-0.040681131184101105,
0.06658570468425751,
-0.025047169998288155,
0.02692616544663906,
-0.011137143708765507,
0.06290068477392197,
0.0011686703655868769,
-0.009750701487064362,
0.03579209744930267,
-0.0077896155416965485,
0.03712381049990654,
0.015497138723731041,
-0.04075409844517708,
-0.010462164878845215,
-0.032727330923080444,
-0.020668933168053627,
-0.026251185685396194,
0.030775366351008415,
-0.02749168686568737,
-0.010744926519691944,
0.010982080362737179,
0.013645509257912636,
-0.030337542295455933,
-0.005071459338068962,
0.01079053245484829,
0.030301056802272797,
-0.036795444786548615,
0.031085491180419922,
0.04217702895402908,
-0.05078756436705589,
0.04487694054841995,
0.028367334976792336,
0.007994845509529114,
0.006152336951345205,
-0.008938902989029884,
-0.03294624388217926,
0.028257878497242928,
0.09150517731904984,
-0.015670444816350937,
0.06706001609563828,
0.0033270048443228006,
-0.024317463859915733,
-0.0082593634724617,
0.06797214597463608,
0.045205309987068176,
-0.015214378014206886,
-0.08471890538930893,
-0.008792961947619915,
0.05275776982307434,
-0.007953799329698086,
-0.006394051946699619,
-0.014648854732513428,
0.00897538848221302,
-0.0043303510174155235,
-0.06246286258101463,
-0.0330374538898468,
0.038637951016426086,
0.025247840210795403,
-0.012660405598580837,
-0.050495680421590805,
-0.012049276381731033,
0.01268776971846819,
0.02081487327814102,
0.07523272931575775,
0.006576478481292725,
0.05921567231416702,
-0.02398909628391266,
0.026962649077177048,
0.03562791272997856,
0.020249351859092712,
-0.025904575362801552,
-0.005495600868016481,
0.01810583844780922,
-0.014502913691103458,
0.024098552763462067,
0.05436312407255173,
0.013618145138025284,
-0.02460934780538082,
-0.019829770550131798,
0.05370638892054558,
0.025028927251696587,
0.0022700708359479904,
-0.0004489404382184148,
0.0041160001419484615,
0.0011470072204247117,
-0.05677115544676781,
-0.053560446947813034,
-0.0018744332483038306,
-0.003418218344449997,
0.037087325006723404,
-0.005121626425534487,
-0.011255720630288124,
-0.035500213503837585,
-0.05527525767683983,
0.011036808602511883,
0.026816708967089653,
0.01268776971846819,
-0.012979651801288128,
-0.025503236800432205,
0.05414421111345291,
-0.026707252487540245,
-0.03537251427769661,
-0.0071876076981425285,
0.01105505134910345,
0.02740047313272953,
0.00352995446883142,
0.0028891810216009617,
0.03340230882167816,
-0.016509605571627617,
-0.009522668085992336,
0.005112505052238703,
0.004857107996940613,
0.019829770550131798,
-0.021270940080285072,
0.048160620033741,
-0.0211979690939188,
-0.033931344747543335,
-0.009071161970496178,
0.030209843069314957,
0.018069352954626083,
0.0723503828048706,
-0.020431777462363243,
0.02665252424776554,
-0.0392582006752491,
0.01783219911158085,
0.04334455728530884,
-0.04615392908453941,
0.08252979069948196,
-0.016235966235399246,
0.06275475025177002,
0.0019337218254804611,
-0.005591374821960926,
-0.004230016376823187,
0.04035276174545288,
-0.032636117190122604,
0.033110424876213074,
-0.03918522968888283,
0.009157815016806126,
0.05213752016425133,
0.005678027402609587,
0.00845091138035059,
-0.01799638383090496,
0.026232942938804626,
0.03849200904369354,
0.0049620033241808414,
-0.010580741800367832,
-0.00013069155102130026,
-0.002207361627370119,
-0.051225386559963226,
0.0681910589337349,
0.004715727176517248,
-0.06352093815803528,
-0.010334466584026814,
-0.021799977868795395,
-0.04505936801433563,
0.015241741202771664,
-0.023204661905765533,
0.03321988135576248,
0.029644321650266647,
0.012979651801288128,
-0.006635767407715321,
-0.04640932381153107,
0.05998186394572258,
-0.055202286690473557,
0.05454555153846741,
-0.05184563621878624,
-0.05027676746249199,
0.002652026480063796,
-0.02156282216310501,
0.039586570113897324,
-0.07494084537029266,
-0.044475603848695755,
-0.04903626814484596,
0.015843749046325684,
-0.011228356510400772,
0.0035003102384507656,
0.01665554754436016,
-0.006936770863831043,
0.044621542096138,
-0.06592897325754166,
-0.005449994467198849,
-0.05750086158514023,
0.039221715182065964,
-0.028002481907606125,
-0.01658257655799389,
-0.013262413442134857,
0.04713902994990349,
0.02917001210153103,
0.0074202013202011585,
-0.05968998000025749,
-0.04090004041790962,
0.037087325006723404,
-0.0562603585422039,
-0.03590155392885208,
-0.0020146735478192568,
0.04312564432621002,
0.06454252451658249,
0.05239291489124298,
0.07734887301921844,
0.011356054805219173,
-0.008501078933477402,
-0.0012895279796794057,
-0.010808775201439857,
0.0037283434066921473,
-0.023204661905765533,
0.043089158833026886,
-0.030684152618050575,
-0.004284744616597891,
0.018260901793837547,
-0.006124972831457853,
0.027436958625912666,
0.008897856809198856,
-0.022803323343396187,
0.006175139918923378,
0.02787478268146515,
0.011730030179023743,
-0.015296469442546368,
-0.0077257659286260605,
0.0071648042649030685,
0.027984239161014557,
-0.018434206023812294,
-0.02028583735227585,
0.03276381641626358,
-0.04954706132411957,
0.008072376251220703,
-0.04524179548025131,
0.0074612475000321865,
0.057610318064689636,
-0.055786050856113434,
0.022310771048069,
0.026050517335534096,
0.014229274354875088,
0.04972948879003525,
0.044475603848695755,
0.10223186016082764,
-0.05210103467106819,
-0.02639712765812874,
-0.0968320369720459,
0.018142323940992355,
-0.066987045109272,
-0.004252819810062647,
0.004806940443813801,
-0.07866234332323074,
-0.06125884875655174,
0.03613870590925217,
0.021252697333693504,
-0.007306185085326433,
-0.032727330923080444,
0.04349049925804138,
-0.021635793149471283,
0.023168176412582397,
0.0010660553816705942,
-0.005769241135567427,
0.050021372735500336,
0.013016137294471264,
0.044949911534786224,
0.0043554347939789295,
-0.026032274588942528,
-0.05556713789701462,
-0.03597452491521835,
0.034752264618873596,
-0.0016110548749566078,
-0.019610857591032982,
0.04695660248398781,
-0.0020283556077629328,
-0.08698099851608276,
0.013955634087324142,
-0.04608095809817314,
-0.011620573699474335,
-0.10172106325626373,
0.0072012897580862045,
0.00916693639010191,
0.024737045168876648,
-0.010553378611803055,
0.011711787432432175,
-0.02989971823990345,
0.007114637177437544,
0.02415328100323677,
-0.054436095058918,
-0.04557016119360924,
0.04797819256782532,
-0.009896642528474331,
-0.0007547900313511491,
-0.06603842228651047,
-0.041410837322473526,
-0.061404790729284286,
-0.07395573705434799,
0.010060826316475868,
-0.11609628051519394,
0.053378019481897354,
-0.0034980298951268196,
-0.02287629432976246,
-0.01351781003177166,
0.029735533520579338,
-0.011173628270626068,
0.06775323301553726,
0.0745759904384613,
-0.015205256640911102,
-0.039294686168432236,
0.04582555964589119,
0.03553669899702072,
-0.060857512056827545,
-0.0433080717921257,
-0.0013203124981373549,
-0.0343509279191494,
0.027455201372504234,
0.0249924436211586,
0.0049620033241808414,
-0.006038320250809193,
0.016692033037543297,
0.047357942909002304,
-0.06917615979909897,
0.06122236326336861,
-0.05472797527909279,
-0.03265435993671417,
-0.073262520134449,
0.04162974655628204,
0.01567956618964672,
0.0503862239420414,
0.004816061817109585,
-0.006280035246163607,
-0.011109779588878155,
0.01810583844780922,
-0.04713902994990349,
-0.026068760082125664,
0.02451813407242298,
-0.03871092200279236,
0.01908182166516781,
-0.0032198294065892696,
-0.02805721014738083,
-0.013143835589289665,
-0.03655828908085823,
0.0049209571443498135,
-0.030775366351008415,
-0.0049711246974766254,
0.017640652135014534,
-0.0007069030543789268,
-0.014585006050765514,
0.006184261292219162,
-0.008409866131842136,
0.00207054172642529,
-0.03747042268514633,
-0.014512035064399242,
-0.01670115441083908,
-0.022073617205023766,
0.037543393671512604,
-0.013016137294471264,
-0.02378842793405056,
-0.0046359156258404255,
-0.00682731531560421,
0.005171793978661299,
0.062170982360839844,
0.00909852609038353,
-0.021453367546200752,
0.0046131121926009655,
-0.0305564533919096,
-0.03973251208662987,
0.0004369686939753592,
-0.025484994053840637,
0.017275797203183174,
-0.0031993063166737556,
0.019920984283089638,
0.04006087779998779,
-0.020942572504281998,
-0.029407165944576263,
-0.0030738881323486567,
0.006631206721067429,
-0.029097041115164757,
-0.015706930309534073,
0.0071420008316636086,
0.015506260097026825,
0.010754047892987728,
-0.013262413442134857,
0.020304080098867416,
0.04615392908453941,
-0.045862045139074326,
0.02898758463561535,
0.0005162102170288563,
0.014904252253472805,
-0.012906680814921856,
-0.032453689724206924,
0.011574966832995415,
0.04403777793049812,
0.01624508760869503,
0.045971501618623734,
0.01999395340681076,
-0.043089158833026886,
-0.01152936089783907,
-0.0072012897580862045,
-0.016099147498607635,
0.049765974283218384,
-0.03332933783531189,
0.01577077805995941,
0.04389183595776558,
-0.029133526608347893,
0.0021241295617073774,
0.006530872080475092,
-0.014475549571216106,
0.02628767117857933,
-0.03369419276714325,
-0.013289776630699635,
-0.04166623204946518,
0.1326606124639511,
-0.009176057763397694,
0.026451855897903442,
-0.005983592011034489,
-0.014247517101466656,
0.016938308253884315,
-0.010991201736032963,
-0.01133781298995018,
-0.03830958530306816,
-0.02574039250612259,
-0.019884498789906502,
-0.02267562597990036,
0.008241121657192707,
0.013982998207211494,
0.03548197075724602,
-0.033092182129621506,
0.02249319851398468,
-0.03757987916469574,
-0.0023019956424832344,
-0.0025995788164436817,
-0.033274609595537186,
0.047175515443086624,
0.008637898601591587,
-0.026068760082125664,
0.0023202381562441587,
0.0015335235511884093,
0.0442202053964138,
-0.06713298708200455,
-0.054290153086185455,
0.014758311212062836,
-0.050969988107681274,
0.002528888639062643,
-0.003238071920350194,
0.06406822055578232,
-0.005326856393367052,
0.0643601045012474,
0.09413211792707443,
-0.01926424726843834,
0.07173013687133789,
0.008815765380859375,
0.016664668917655945,
0.033457037061452866,
0.02526608295738697,
-0.03728799521923065,
0.0696139857172966,
0.013116471469402313,
-0.06352093815803528,
-0.04396480694413185,
-0.03980548307299614,
0.008802083320915699,
-0.016746761277318,
-0.018662240356206894,
0.03546372801065445,
0.02147161029279232,
-0.010425679385662079,
-0.023569514974951744,
-0.018032869324088097,
0.026725495234131813,
0.044475603848695755,
0.013262413442134857,
0.049474090337753296,
0.023770185187458992,
0.001181212137453258,
-0.010909110307693481,
-0.050969988107681274,
-0.054655008018016815,
-0.051590241491794586,
-0.01310735009610653,
0.0229675080627203,
-0.03602925315499306,
0.025776877999305725,
-0.01522349938750267,
0.01457588467746973,
0.005308613646775484,
-0.05370638892054558,
0.00384236010722816,
0.016692033037543297,
-0.019282490015029907,
-0.02767411433160305,
0.0034615446347743273,
0.016464000567793846,
-0.04863492771983147,
-0.0005777791957370937,
-0.02628767117857933,
0.008715430274605751,
-0.055494166910648346,
-0.021489853039383888,
-0.07048963755369186,
-0.012633041478693485,
0.01787780597805977,
-0.031213190406560898,
-0.015606595203280449,
0.016026176512241364,
-0.0017512952908873558,
0.0766921415925026,
-0.03482523560523987,
0.0006156897288747132,
-0.025849847123026848,
0.02510189823806286,
-0.04702957347035408,
-0.0388568639755249,
0.08698099851608276,
-0.005969909951090813,
0.034387413412332535,
0.019100064411759377,
-0.04863492771983147,
0.02128918282687664,
0.005892378743737936,
-0.0847918763756752,
0.03362122178077698,
0.024372192099690437,
-0.02229253016412258,
-0.039586570113897324,
-0.018917636945843697,
0.08617831766605377,
0.04130138084292412,
-0.023551272228360176,
0.06716947257518768,
-0.0031879046000540257,
-0.03506239131093025,
0.020687175914645195,
-0.004225455690175295,
-0.010662834160029888,
-0.03292800113558769,
0.008966267108917236,
-0.01915479265153408,
-0.11682599037885666,
0.06063859909772873,
0.04283376410603523,
0.073262520134449,
0.026962649077177048,
0.058923788368701935,
-0.015588352456688881,
-0.013536052778363228,
0.0423959381878376,
-0.001337414956651628,
-0.05425366759300232,
0.005003049038350582,
0.044621542096138,
0.043818868696689606,
0.030775366351008415,
0.007625431288033724,
0.025120140984654427,
0.013554295524954796,
-0.02490122988820076,
-0.018753454089164734,
0.010398315265774727,
0.006576478481292725,
0.017485588788986206,
-0.007625431288033724,
0.0338948592543602,
-0.04038924723863602,
-0.009695973247289658,
-0.0022894537542015314,
-0.016591697931289673,
0.01633630134165287,
-0.06654921919107437,
-0.03431444242596626,
0.020048681646585464,
0.005107944365590811,
0.01609002612531185,
-0.0018094436964020133,
0.031067248433828354,
-0.08515673130750656,
0.07289766520261765,
0.006115851458162069,
0.02305872179567814,
-0.05746437609195709,
-0.09770768135786057,
0.032453689724206924,
-0.09924006462097168,
-0.01453027781099081,
-0.005495600868016481,
-0.09362132847309113,
0.03371243551373482,
0.006371248513460159,
-0.006261792499572039,
-0.013308019377291203,
0.014284001663327217,
0.037433937191963196,
0.014712704345583916,
-0.017348768189549446,
-0.009312877431511879,
0.02933419495820999,
-0.015159649774432182,
-0.0034478625748306513,
-0.0074658081866800785,
-0.025977546349167824,
0.0065263113938272,
-0.05118890106678009,
-0.0437094122171402,
-0.021161483600735664,
0.014274880290031433,
0.05060513690114021,
-0.004483133554458618,
0.030611181631684303,
0.01411981787532568,
0.002980394521728158,
-0.016755882650613785,
-0.03593803942203522,
0.017804834991693497,
0.01670115441083908,
0.0013545174151659012,
-0.01235940121114254,
0.009869278408586979,
-0.01740349642932415,
0.013572538271546364,
-0.031067248433828354,
0.011693544685840607,
-0.04702957347035408,
0.01670115441083908,
-0.04732145741581917,
-0.013937391340732574,
0.0014468708541244268
] |
7,530 | gitignorefile | parse | Parses single `.gitignore` file.
Args:
path (str): Path to `.gitignore` file.
base_path (str): Base path for applying ignore rules.
Returns:
Callable[[str], bool]: Callable which returns `True` if specified path is ignored.
You can also pass `is_dir: bool` optional parameter if you know whether the specified path is a directory.
| def parse(path, base_path=None):
"""Parses single `.gitignore` file.
Args:
path (str): Path to `.gitignore` file.
base_path (str): Base path for applying ignore rules.
Returns:
Callable[[str], bool]: Callable which returns `True` if specified path is ignored.
You can also pass `is_dir: bool` optional parameter if you know whether the specified path is a directory.
"""
if base_path is None:
base_path = os.path.dirname(path) or os.path.dirname(os.path.abspath(path))
rules = []
with open(path) as ignore_file:
for line in ignore_file:
line = line.rstrip("\r\n")
rule = _rule_from_pattern(line)
if rule:
rules.append(rule)
return _IgnoreRules(rules, base_path).match
| (path, base_path=None) | [
-0.019526474177837372,
-0.057860422879457474,
0.009971368126571178,
0.0023935067001730204,
-0.03398212045431137,
-0.03297930583357811,
0.07757610827684402,
0.022705202922225,
-0.02075633965432644,
-0.02527845837175846,
0.07311075180768967,
0.07106728106737137,
-0.022005125880241394,
0.00002734676127147395,
-0.04779445007443428,
-0.028684237971901894,
0.07644084841012955,
0.0320521779358387,
-0.005974306259304285,
-0.016092311590909958,
-0.031087206676602364,
0.017795201390981674,
0.040982890874147415,
0.06084994226694107,
0.023556647822260857,
0.008613785728812218,
0.042837146669626236,
0.015780115500092506,
-0.00839146412909031,
-0.00664600171148777,
0.0016177456127479672,
0.05502227321267128,
-0.06054720655083656,
0.04189109802246094,
-0.019129132851958275,
-0.031143968924880028,
-0.04809718579053879,
0.07750042527914047,
-0.08650682121515274,
-0.013178477995097637,
-0.006858862936496735,
0.019100751727819443,
0.008164412342011929,
0.05509795621037483,
-0.05032986402511597,
-0.045523930341005325,
-0.019412947818636894,
0.020548207685351372,
0.027643583714962006,
0.005945924669504166,
0.022478150203824043,
0.05948762968182564,
-0.049043238162994385,
-0.030916916206479073,
0.005633728113025427,
-0.02974381484091282,
0.03131425753235817,
0.025543352589011192,
-0.00020502679399214685,
0.03112504817545414,
-0.049421656876802444,
0.0414748340845108,
0.008793535642325878,
-0.03239275515079498,
0.000662235077470541,
-0.04601587727665901,
-0.041172098368406296,
-0.07568400353193283,
-0.035249825567007065,
0.005487090442329645,
-0.04889186844229698,
0.014427264221012592,
0.021532099694013596,
-0.021172601729631424,
-0.010557918809354305,
-0.015922022983431816,
0.024710828438401222,
0.03233599290251732,
0.013840712606906891,
0.043858882039785385,
-0.04908107966184616,
0.008424576371908188,
0.05918489396572113,
-0.01166479755192995,
0.029062658548355103,
-0.012610848061740398,
0.04408593475818634,
0.0015905466862022877,
-0.021380731835961342,
0.030689865350723267,
0.03649861365556717,
-0.007464335300028324,
0.019412947818636894,
0.014417802914977074,
-0.003810216672718525,
0.008159682154655457,
0.043593987822532654,
0.023234989494085312,
0.005383024923503399,
0.0011600939324125648,
-0.04715113714337349,
0.07473795861005783,
-0.05566558614373207,
-0.03763387352228165,
-0.02249707095324993,
0.02075633965432644,
0.022383544594049454,
-0.03400104120373726,
-0.004153159912675619,
-0.049232445657253265,
-0.007052803412079811,
-0.04438867047429085,
-0.0001838884927565232,
0.049043238162994385,
0.047832291573286057,
-0.008727312088012695,
-0.03909078985452652,
0.012478400953114033,
-0.03823934495449066,
0.03490924835205078,
-0.018220923840999603,
0.09513479471206665,
0.002308362163603306,
0.07125649601221085,
0.09854057431221008,
-0.04332909360527992,
-0.0018861873541027308,
-0.038296107202768326,
0.007005501072853804,
0.05948762968182564,
0.025997456163167953,
0.003490924835205078,
0.02910050004720688,
-0.016830231994390488,
-0.01440834254026413,
0.08998828381299973,
0.002660765778273344,
-0.025127090513706207,
0.004098761826753616,
-0.022251097485423088,
0.09604300558567047,
-0.018589884042739868,
0.0032378563191741705,
-0.06592077016830444,
-0.019006146118044853,
0.007289316039532423,
0.029800577089190483,
-0.018079016357660294,
-0.0013374782865867019,
0.03835286945104599,
0.015042196027934551,
-0.06436924636363983,
0.02548658847808838,
0.08317672461271286,
0.018722331151366234,
-0.006527745630592108,
-0.011825625784695148,
0.036914873868227005,
-0.0212104432284832,
0.020321156829595566,
-0.0014829335268586874,
0.04208030924201012,
0.03897726535797119,
0.03517414256930351,
-0.04215599223971367,
0.003952124156057835,
-0.016111232340335846,
-0.014427264221012592,
-0.023821542039513588,
-0.030727706849575043,
-0.007398111745715141,
-0.0038480586372315884,
-0.03854208067059517,
0.01797495223581791,
-0.020983390510082245,
0.0025212233886122704,
0.0005954202497377992,
0.08166304230690002,
-0.0340956449508667,
0.040528785437345505,
0.05116238817572594,
-0.03810689598321915,
0.07261880487203598,
-0.017227571457624435,
0.048589132726192474,
0.05362211912870407,
0.05343290790915489,
-0.030178997665643692,
0.02204296737909317,
0.09066943824291229,
-0.034322697669267654,
-0.010548458434641361,
0.004122413229197264,
-0.027208400890231133,
0.013263622298836708,
0.00945104006677866,
0.03649861365556717,
0.026073141023516655,
-0.050254181027412415,
0.003942663781344891,
0.05150296539068222,
-0.05937410518527031,
-0.002183010568842292,
-0.022061888128519058,
-0.017416782677173615,
-0.004952572286128998,
-0.06872107833623886,
-0.031087206676602364,
0.0037960258778184652,
0.02204296737909317,
-0.07295938581228256,
-0.028362581506371498,
-0.02306470088660717,
0.026811059564352036,
0.02510816976428032,
-0.012563545256853104,
0.004664027132093906,
0.07137002050876617,
0.03019791841506958,
0.08915576338768005,
0.07787884026765823,
-0.015089498832821846,
0.02418104000389576,
0.031635913997888565,
0.05521148443222046,
-0.00930913258343935,
0.03863668441772461,
0.050443392246961594,
0.016035549342632294,
-0.03369830548763275,
-0.002594542456790805,
-0.06917518377304077,
0.040339574217796326,
-0.0024242533836513758,
0.0032851588912308216,
0.018249306827783585,
0.08340377360582352,
-0.052297648042440414,
-0.024900037795305252,
0.015212485566735268,
-0.00008824873657431453,
0.010709286667406559,
-0.015108419582247734,
0.006357456557452679,
-0.0848417729139328,
-0.028741002082824707,
0.008793535642325878,
-0.008665818721055984,
0.023405279964208603,
0.0073224278166890144,
-0.017255954444408417,
0.08098188787698746,
0.024748669937253,
0.008907062001526356,
0.019394027069211006,
0.012468940578401089,
-0.02037791907787323,
-0.030992601066827774,
0.013698805123567581,
0.03161699324846268,
-0.01106878649443388,
-0.0026181936264038086,
0.04696192592382431,
-0.03383075073361397,
-0.015373313799500465,
-0.02703811228275299,
0.05150296539068222,
-0.013689344748854637,
0.020169787108898163,
-0.008911792188882828,
-0.0062581212259829044,
0.0005803426029160619,
0.0662991926074028,
-0.004765727557241917,
-0.05241117626428604,
-0.021513178944587708,
0.0038220423739403486,
0.027113795280456543,
0.014569171704351902,
0.030992601066827774,
-0.056914374232292175,
0.047378189861774445,
0.025070328265428543,
-0.02139965258538723,
0.00863270740956068,
0.06103915348649025,
-0.011239075101912022,
0.008263747207820415,
-0.0752677470445633,
0.029232947155833244,
0.04158836230635643,
-0.014748920686542988,
0.0012558815069496632,
0.007696117274463177,
0.04575098305940628,
0.08181440830230713,
0.006347996182739735,
-0.009351705200970173,
0.007180520333349705,
-0.010964720509946346,
-0.01263922918587923,
0.04991360381245613,
-0.013973159715533257,
-0.03823934495449066,
-0.04083152115345001,
-0.04529687762260437,
-0.004498468246310949,
-0.039507050067186356,
-0.015543603338301182,
0.00046090377145446837,
0.05067044124007225,
0.01726541481912136,
0.0037960258778184652,
-0.008812456391751766,
-0.01194861251860857,
-0.0600174181163311,
0.002428983571007848,
-0.03159807249903679,
-0.0455617718398571,
-0.033300962299108505,
-0.05365996062755585,
0.04249656945466995,
-0.022572755813598633,
-0.025543352589011192,
-0.018798016011714935,
0.027378689497709274,
-0.04049094393849373,
0.0021404384169727564,
-0.0025685259606689215,
0.03029252402484417,
0.014786763116717339,
-0.012629768811166286,
-0.02964920923113823,
-0.043291252106428146,
-0.008959094062447548,
-0.07454874366521835,
0.02104015462100506,
0.003069932572543621,
0.02648940309882164,
-0.007672466337680817,
0.03753926604986191,
-0.02232678234577179,
0.004914730321615934,
0.025883929803967476,
-0.026905665174126625,
-0.0579739511013031,
0.018126320093870163,
0.01750192604959011,
0.019507553428411484,
0.027832793071866035,
0.05305448919534683,
-0.01629098318517208,
-0.04537256062030792,
-0.02130504883825779,
-0.034303776919841766,
-0.027908477932214737,
-0.06493687629699707,
0.0041744462214410305,
-0.000004915025783702731,
0.003325365949422121,
0.09180469810962677,
-0.008590134792029858,
0.003997061401605606,
0.012421637773513794,
0.007634624373167753,
0.018485818058252335,
-0.007369730155915022,
0.05199491232633591,
-0.013660963624715805,
0.019677842035889626,
0.002161724492907524,
0.06917518377304077,
-0.05695221573114395,
-0.05381133034825325,
0.012308111414313316,
-0.0186182651668787,
0.015477379783987999,
-0.03657429665327072,
-0.0142191331833601,
0.05668732151389122,
-0.030406050384044647,
0.03557148203253746,
0.014332658611238003,
0.0020115389488637447,
0.019157513976097107,
0.01857096329331398,
0.10315730422735214,
-0.053016647696495056,
-0.009715934284031391,
-0.028097687289118767,
0.006716955453157425,
-0.057103581726551056,
-0.029232947155833244,
-0.008183333091437817,
-0.043972406536340714,
-0.054227590560913086,
0.07780315726995468,
-0.024218881502747536,
-0.011030944064259529,
0.003859884338453412,
0.01593148335814476,
0.005524932406842709,
0.08779344707727432,
-0.033944278955459595,
0.013774489052593708,
-0.021815914660692215,
0.06512609124183655,
0.052940964698791504,
-0.035514719784259796,
0.011248535476624966,
-0.009924065321683884,
-0.044804930686950684,
0.03428485617041588,
0.008812456391751766,
-0.020434681326150894,
0.024427013471722603,
-0.0031006792560219765,
-0.06467198580503464,
0.012109440751373768,
-0.04166404530405998,
-0.0279652401804924,
-0.01823984645307064,
-0.04143699258565903,
-0.0039000913966447115,
-0.0103687085211277,
0.02278088591992855,
0.007308236788958311,
-0.022251097485423088,
0.020907707512378693,
0.018296608701348305,
-0.020226551219820976,
-0.036725662648677826,
0.02030223421752453,
-0.0014214402763172984,
-0.025959614664316177,
-0.08839891850948334,
-0.04548608884215355,
-0.02232678234577179,
-0.01907237060368061,
0.007696117274463177,
-0.08612839877605438,
0.07405680418014526,
0.003966315183788538,
0.029687052592635155,
0.01890208013355732,
-0.024124277755618095,
0.0037771048955619335,
0.0377095565199852,
0.016650481149554253,
-0.035155221819877625,
-0.0931670144200325,
0.003119600238278508,
0.05956331267952919,
-0.024710828438401222,
-0.005118131171911955,
0.0024881118442863226,
-0.030727706849575043,
0.06663976609706879,
0.03057633899152279,
-0.03517414256930351,
0.04919460415840149,
0.057746898382902145,
0.05093533545732498,
-0.04945949837565422,
0.03140886127948761,
-0.053016647696495056,
0.010822813026607037,
0.008183333091437817,
0.023462042212486267,
-0.02306470088660717,
-0.017199190333485603,
-0.03290362283587456,
-0.04892970994114876,
0.009370625950396061,
0.0044204192236065865,
0.013187938369810581,
0.01643289066851139,
-0.0057519846595823765,
-0.02177807316184044,
0.01046331413090229,
-0.004742076154798269,
-0.046356454491615295,
-0.025524431839585304,
0.0011151565704494715,
0.03576069325208664,
-0.050140656530857086,
0.042383044958114624,
-0.03258196637034416,
-0.05029202252626419,
-0.03999899700284004,
0.021513178944587708,
0.013187938369810581,
-0.006726416293531656,
-0.008424576371908188,
-0.004292702302336693,
-0.03296038508415222,
-0.010964720509946346,
0.03203325718641281,
0.065996453166008,
-0.027946319431066513,
0.052297648042440414,
-0.020207630470395088,
0.005056637804955244,
0.0609634667634964,
-0.0021297952625900507,
0.021645626053214073,
-0.01690591499209404,
-0.015165182761847973,
-0.05176785960793495,
-0.0139826200902462,
-0.03112504817545414,
0.07087807357311249,
-0.029497841373085976,
0.030879074707627296,
0.02066173404455185,
0.016972139477729797,
0.044426511973142624,
0.0034649083390831947,
-0.019564315676689148,
-0.006499364040791988,
-0.02196728251874447,
-0.006456791888922453,
-0.01412452757358551,
-0.00014323789218906313,
-0.012364874593913555,
-0.04003683850169182,
0.028003083541989326,
-0.04677271470427513,
0.04805934429168701,
-0.0014249879168346524,
0.023821542039513588,
-0.061001308262348175,
-0.03258196637034416,
0.004169715568423271,
0.03229815140366554,
0.0034554479643702507,
0.04295067489147186,
0.003441257169470191,
-0.06663976609706879,
-0.021191522479057312,
-0.012658149935305119,
-0.028419343754649162,
-0.0021510813385248184,
-0.02788955718278885,
-0.011191772297024727,
0.054795220494270325,
-0.03763387352228165,
-0.01714242808520794,
-0.0025685259606689215,
-0.009096271358430386,
0.04151267930865288,
-0.05668732151389122,
-0.03702840209007263,
0.033017147332429886,
0.09483206272125244,
-0.04684840142726898,
0.020491445437073708,
0.018343910574913025,
-0.016830231994390488,
-0.02001841925084591,
-0.03856100142002106,
0.007005501072853804,
-0.08083052188158035,
0.022856570780277252,
-0.06478551030158997,
-0.004914730321615934,
-0.019658921286463737,
0.0367635078728199,
0.05199491232633591,
0.02770034596323967,
-0.0147299999371171,
-0.03038712963461876,
-0.014048843644559383,
0.008188063278794289,
0.00847660843282938,
0.04991360381245613,
-0.0021215174347162247,
-0.003911917097866535,
0.0023757682647556067,
0.0010489330161362886,
0.0044227843172848225,
-0.03536335378885269,
0.03260088711977005,
0.02353772707283497,
-0.04768092557787895,
0.017889807000756264,
-0.00977269746363163,
0.04953518137335777,
-0.02889236994087696,
0.0722782239317894,
0.06187167763710022,
-0.02342420071363449,
0.04249656945466995,
0.013708265498280525,
-0.0336226187646389,
-0.03992331400513649,
0.01954539492726326,
-0.052108440548181534,
0.041172098368406296,
0.029346473515033722,
-0.061644624918699265,
-0.04030173271894455,
-0.01315009593963623,
0.0212104432284832,
-0.03699055686593056,
-0.021248284727334976,
0.06588292866945267,
-0.029024817049503326,
-0.02936539426445961,
-0.03258196637034416,
-0.0014084320282563567,
0.039885472506284714,
0.01106878649443388,
0.021834835410118103,
-0.03383075073361397,
0.049800075590610504,
-0.0033986850176006556,
0.013821791857481003,
-0.03462543338537216,
-0.03670674189925194,
-0.012355414219200611,
-0.006064181216061115,
0.009280751459300518,
-0.00762043334543705,
-0.0028830876108258963,
0.022913333028554916,
0.014001541770994663,
-0.01897776499390602,
-0.07110512256622314,
0.015004354529082775,
0.04230735823512077,
-0.022989017888903618,
-0.06966713070869446,
-0.011844547465443611,
0.041550520807504654,
-0.053962696343660355,
0.011409363709390163,
-0.03712300583720207,
-0.008382003754377365,
-0.007804913446307182,
-0.03350909426808357,
-0.10830381512641907,
0.006291233003139496,
0.024218881502747536,
-0.005217466037720442,
-0.031635913997888565,
-0.04287499189376831,
0.012951425276696682,
0.08718797564506531,
0.008557023480534554,
0.027530057355761528,
-0.011021483689546585,
0.009663901291787624,
0.0008898783707991242,
-0.013481213711202145,
0.05820100009441376,
0.07303506880998611,
0.03557148203253746,
-0.0034530828706920147,
0.005155973136425018,
-0.025070328265428543,
0.015155722387135029,
-0.021267205476760864,
0.05714142695069313,
-0.04594019055366516,
-0.01274329423904419,
-0.02454053983092308,
-0.03587421774864197,
0.06285557150840759,
0.01519356481730938,
0.04291283339262009,
0.02425672486424446,
-0.021059075370430946,
0.01654641516506672,
0.026470482349395752,
-0.062098726630210876,
-0.010633602738380432,
-0.017161348834633827,
-0.0015195929445326328,
0.008845568634569645,
-0.0173600185662508,
0.026716453954577446,
0.04953518137335777,
0.053584277629852295,
0.04268578067421913,
0.042193833738565445,
-0.005572235211730003,
-0.016849152743816376,
0.06868323683738708,
0.01809793896973133,
-0.05464385449886322,
0.01616799645125866,
0.010993101634085178,
0.01255408488214016,
-0.014531329274177551,
0.048210714012384415,
-0.00865635834634304,
0.03328204154968262,
-0.052940964698791504,
-0.013083872385323048,
0.0008201071759685874,
-0.016631560400128365,
0.024143198505043983,
0.005794556811451912,
0.05207059532403946,
-0.020245471969246864,
-0.022856570780277252,
-0.003017899813130498,
-0.060357995331287384,
0.024748669937253,
-0.05362211912870407,
-0.008760423399508,
0.013689344748854637,
0.018599344417452812,
0.08370651304721832,
-0.004157890100032091,
0.010018670000135899,
-0.04908107966184616,
-0.0010430201655253768,
-0.004060919862240553,
-0.029781656339764595,
-0.06940223276615143,
-0.07401896268129349,
0.045902349054813385,
-0.07311075180768967,
-0.01797495223581791,
0.010775510221719742,
-0.06406651437282562,
0.021456416696310043,
0.002715163864195347,
-0.048021502792835236,
0.0018944652983918786,
0.004834315739572048,
-0.0077528804540634155,
0.01825876720249653,
-0.016801849007606506,
-0.03112504817545414,
-0.0021439860574901104,
0.005222196690738201,
-0.017293795943260193,
0.010926878079771996,
-0.06906165927648544,
-0.029800577089190483,
-0.052751753479242325,
-0.05199491232633591,
-0.006031069438904524,
0.032260309904813766,
0.032563045620918274,
-0.04011252522468567,
0.043669670820236206,
-0.050708286464214325,
-0.0011045135324820876,
-0.005969576071947813,
-0.01897776499390602,
-0.03954489529132843,
-0.001149450894445181,
0.021626705303788185,
-0.016470732167363167,
0.010709286667406559,
0.0025661608669906855,
0.030311444774270058,
-0.05157865211367607,
0.057103581726551056,
-0.02675429731607437,
0.02981949970126152,
-0.03481464460492134,
-0.026697533205151558,
0.014256974682211876
] |
7,532 | hsbalance.IC_matrix | Alpha |
Docstring for ALPHA.
Alpha is the an influence coefficient matrix
Influence coefficient matrix is a representation of the change of vibration
vector in a measuring point when putting a unit weight on a balancing plane.
| class Alpha():
"""
Docstring for ALPHA.
Alpha is the an influence coefficient matrix
Influence coefficient matrix is a representation of the change of vibration
vector in a measuring point when putting a unit weight on a balancing plane.
"""
def __init__(self:'Influence matrix', name:'string'=''):
"""
Instantiate an instance of Alpha
name: optional name of Alpha
"""
self.name = name
self.value = None
def add(self, direct_matrix:'np.array'=None, A:'initial_vibration numpy.array'=None,
B:'trial matrix numpy.array'=None, U:'trial weight row vector numpy.array'=None,
keep_trial:'optional keep the previous trial weight in every succeeding trial'=False,
name:'string'=''):
'''
Method to add new values for Alpha instance
either the direct_matrix is needed or ALL of (A, B, U)
Args:
direct_matrix: numpy array M rows -> measuring points,
N columns -> balancing planes
A: Initial vibration column array -> numpy array
B: Trial matrix MxN array -> numpy array
'''
self.A = A
self.B = B
self.U = U
self.keep_trial = keep_trial
try: # test if direct input
_ = direct_matrix.shape
if direct_matrix.ndim < 2:
raise IndexError('Influence coefficient matrix should be of more than 1 dimensions.')
if direct_matrix.shape[0] >= direct_matrix.shape[1]:
self.value = direct_matrix
else:
raise tools.CustomError('Number of rows(measuring points) should be '
'equal or more than the number of columns '
'(balancing planes)!')
if self.A is not None or self.B is not None or self.U is not None:
raise ValueError('Either (direct Matrix) or (A, B, U) should be input, but not both.')
except AttributeError:
# if direct matrix is not input calculate it from A, B, U
# test the exstiance of A, A0, B, U to calculate ALPHA
try:
all([A.shape, B.shape, U.shape])
# Test dimensions
if A.shape[1] > 1:
raise tools.CustomError('`A` should be column vector')
elif U.ndim > 1:
raise tools.CustomError('`U` should be row vector')
elif B.shape[0] != A.shape[0] or B.shape[1] != U.shape[0]:
raise tools.CustomError('`B` dimensions should match `A`and `U`')
else:
self.A = A
self.B = B
self.U = U
if not keep_trial:
self.value = (self.B - self.A) / self.U
else:
_A_keep_trial = np.delete((np.insert(self.B, [0], self.A, axis=1)),
-1, axis=1)
self.value = (self.B - _A_keep_trial) / self.U
except AttributeError:
raise tools.CustomError('Either direct_matrix or (A,B,U) '
'should be passed "numpy arrays"')
if self.value is not None:
self.M = self.value.shape[0]
self.N = self.value.shape[1]
def check(self, ill_condition_remove=False):
'''
Method to check the alpha value
* check the symmetrical of the matrix (check for square matrix only,
for square matrix it should be symmetric obeying the reciprocity law)
* check for ill conditioned planes:
if for any reason two or more planes has independent readings
for example [[1, 2 , 3], [2, 4, 6]] this is named as ill-conditioned planes
as they does not carry new information from the system and considering them
cause solution infiltration.
ill_condition_remove = True : remove the ill_condition planes after the check
'''
if self.M == self.N:
_check_sym = np.allclose(self.value, self.value.T, 0.1, 1e-06)
if not _check_sym:
warnings.warn('\nWarning: Influence Matrix is asymmetrical!')
_logger.info('\nInfluence Matrix is asymmetrical, check your data.')
else:
_logger.info('\nInfluence Matrix is symmetric --> OK')
else:
_logger.info('\nNot a square matrix --> no exact solution.')
# Checking ILL-CONDITIONED planes
ill_plane = tools.ill_condition(self.value)
if ill_plane:
_logger.info(f'\nIll-conditioned found in plane # {ill_plane}')
if ill_condition_remove:
_logger.warn(f'\nRemoving Ill-conditioned plane # {ill_plane}')
_logger.info(f'\nIC matrix before removing\n{tools.convert_cart_math(self.value)}\n')
self.value = np.delete(self.value,[ill_plane], axis=1)
_logger.info(f'\nIC matrix after removing\n{tools.convert_cart_math(self.value)}\n')
else:
_logger.info('\nNo ill conditioned planes --> ok')
def _info(self):
'''
Method to summarize the results for alpha.
return generator of tuples(title:str, item)
'''
if self.name:
yield ('Name', self.name)
if self.value is not None:
_index = (f'Sensor {m+1}' for m in range(self.value.shape[0]))
_columns = (f'Plane {n+1}' for n in range(self.value.shape[1]))
yield ('Coefficient Values', pd.DataFrame(tools.convert_cart_math(self.value),
index=_index, columns=_columns))
if self.A is not None:
_index = (f'Sensor {m+1}' for m in range(self.A.shape[0]))
yield ('Initial Vibration', pd.DataFrame(tools.convert_cart_math(self.A),
index=_index, columns=['Vibration']))
if self.B is not None:
_index = (f'Sensor {m+1}' for m in range(self.B.shape[0]))
_columns = (f'Plane {n+1}' for n in range(self.B.shape[1]))
yield ('Trial Runs Vibration', pd.DataFrame(tools.convert_cart_math(self.B),
index=_index, columns=_columns))
if self.U is not None:
_index = (f'Plane {n+1}' for n in range(self.U.shape[0]))
yield ('Trial Masses', pd.DataFrame(tools.convert_cart_math(self.U),
index=_index, columns=['Mass']))
def __repr__(self):
'''
Method to print out alpha value
'''
formatter = tools.InfoFormatter(name = 'Influence Coefficient Matrix', info_parameters=
self._info())
return ''.join(formatter.info())
def save(self, file:str):
'''
Method to save influence coefficient values
'''
if isinstance(file, str):
self.file = file
np.save(file, self.value)
def load(self, file:str):
'''
Method to load influence coefficient value
'''
if isinstance(file, str):
self.file = file + '.npy'
_matrix = np.load(self.file)
self.add(direct_matrix=_matrix)
@property
def shape(self):
'''
returns shape of Influence coefficient matrix
(no. Measuring Points, no. Balancing Planes)
'''
if (self.M is not None) and (self.N is not None):
return (self.M, self.N)
| (name: 'string' = '') | [
0.0333855114877224,
-0.04406396672129631,
-0.023709440603852272,
0.06795752048492432,
0.002305226633325219,
-0.06619822978973389,
-0.08616407960653305,
-0.04283655807375908,
-0.004740865435451269,
0.0010624754941090941,
-0.055069729685783386,
0.008412862196564674,
0.008515146560966969,
0.025755122303962708,
-0.06092037633061409,
0.034756116569042206,
0.04105681553483009,
0.038888394832611084,
0.0170916635543108,
0.036617688834667206,
-0.03610626608133316,
-0.03739504516124725,
-0.023034365847706795,
0.13231463730335236,
0.002269427292048931,
0.04144549369812012,
0.009297619573771954,
-0.025857405737042427,
0.017971307039260864,
-0.027739431709051132,
-0.030337447300553322,
-0.01227408554404974,
0.0025149087887257338,
-0.04369574412703514,
0.017337145283818245,
-0.03974757716059685,
0.016079051420092583,
-0.029989682137966156,
-0.0742173045873642,
0.025141417980194092,
0.032362669706344604,
-0.04819624125957489,
0.09197381138801575,
-0.019945388659834862,
-0.013511721976101398,
0.003835651557892561,
-0.0072059109807014465,
0.04713248834013939,
-0.002096822950989008,
-0.024159491062164307,
0.030051052570343018,
-0.04979187250137329,
0.05376049131155014,
0.03690408170223236,
-0.023668527603149414,
0.06775294989347458,
0.00862765870988369,
-0.006193298846483231,
0.058670125901699066,
-0.0646844282746315,
-0.010300002992153168,
0.001766956876963377,
0.015700601041316986,
-0.000880921317730099,
-0.02358669973909855,
0.010121005587279797,
-0.03201490640640259,
0.0057637058198452,
0.0400339737534523,
0.0630887970328331,
-0.015874482691287994,
0.0037308104801923037,
0.03573804348707199,
-0.013910629786550999,
0.006341610569506884,
-0.015915397554636,
-0.02168421633541584,
-0.029989682137966156,
0.002278377069160342,
-0.08935534209012985,
0.03142165765166283,
0.054537851363420486,
0.031626224517822266,
-0.0019894246943295,
0.01918848603963852,
-0.015148267149925232,
0.003764052875339985,
0.02741212397813797,
0.04463675618171692,
0.02444588579237461,
-0.04475949704647064,
-0.010617083869874477,
0.011373985558748245,
0.04103635624051094,
0.011936548165977001,
0.017306460067629814,
-0.010770509950816631,
-0.08452752977609634,
0.008034411817789078,
-0.01642681658267975,
0.010105662979185581,
0.02268660068511963,
-0.00414761807769537,
0.04036128148436546,
-0.009998264722526073,
-0.011650152504444122,
-0.03733367472887039,
-0.00046155674499459565,
0.0604294128715992,
0.008806656114757061,
-0.07331719994544983,
0.05212394893169403,
-0.06092037633061409,
-0.04279564321041107,
-0.02990785427391529,
-0.04226376488804817,
-0.05879286676645279,
0.007630389649420977,
-0.06546178460121155,
0.02471182495355606,
0.03829514607787132,
-0.010253975167870522,
-0.010862565599381924,
0.04619147256016731,
0.04586416482925415,
-0.017541714012622833,
0.020293153822422028,
0.016212020069360733,
0.06333427876234055,
-0.08919168263673782,
-0.051346588879823685,
-0.01995561644434929,
-0.003375373315066099,
0.048278067260980606,
-0.000973616202827543,
-0.012908246368169785,
0.021806957200169563,
-0.04582324996590614,
-0.010259089060127735,
0.00752810575067997,
0.039952147752046585,
-0.007666189223527908,
0.011261473409831524,
-0.033426426351070404,
-0.003234732896089554,
-0.022175179794430733,
0.06132951378822327,
-0.012447968125343323,
-0.04336843267083168,
-0.00350578548386693,
-0.040484022349119186,
0.0036719972267746925,
-0.02900775521993637,
-0.06902126967906952,
0.04369574412703514,
-0.013787888921797276,
0.03356962278485298,
-0.042550161480903625,
0.038622453808784485,
-0.0028204824775457382,
-0.05126476287841797,
-0.0197510477155447,
-0.028455421328544617,
0.02501867711544037,
0.008392405696213245,
0.05359683930873871,
-0.011036448180675507,
0.017398515716195107,
-0.04958730563521385,
-0.017459886148571968,
0.020825030282139778,
-0.058179162442684174,
-0.05032375082373619,
0.03847925737500191,
-0.0625978335738182,
0.03266952186822891,
-0.022134266793727875,
0.005543794948607683,
0.04304112493991852,
0.0020213883835822344,
-0.019198715686798096,
0.030521558597683907,
-0.07065781950950623,
-0.0004516479675658047,
0.012611621990799904,
-0.018206559121608734,
0.051510244607925415,
-0.02411857806146145,
0.054742418229579926,
0.008136695250868797,
-0.02798491343855858,
-0.02195015549659729,
0.0341833271086216,
0.04340934753417969,
0.008786199614405632,
0.0054875388741493225,
0.026041517034173012,
0.012447968125343323,
0.06480716913938522,
-0.0025775579269975424,
-0.012110430747270584,
-0.04430944845080376,
0.03917478770017624,
0.020201098173856735,
0.003045507473871112,
-0.028885014355182648,
0.0036438689567148685,
0.0008764463709667325,
-0.03011242300271988,
0.042713817209005356,
-0.029785113409161568,
-0.03747687488794327,
0.00045420508831739426,
-0.012202486395835876,
0.05858829990029335,
-0.055642519146203995,
0.06132951378822327,
-0.00013632545596919954,
0.019771505147218704,
0.025591466575860977,
0.015894940122961998,
-0.011629696004092693,
-0.0493009090423584,
-0.02205243892967701,
0.010494343005120754,
0.020293153822422028,
0.04733705520629883,
0.036188095808029175,
0.0005274020950309932,
-0.00519602932035923,
-0.00019577804778236896,
-0.009282276965677738,
-0.040586307644844055,
0.00145499047357589,
-0.00573813496157527,
0.01230477076023817,
-0.033896930515766144,
0.013808345422148705,
-0.046682436019182205,
-0.04361391440033913,
-0.011445584706962109,
-0.046477869153022766,
0.05175572633743286,
0.04064767807722092,
-0.02608243003487587,
-0.0027028557378798723,
0.06263874471187592,
0.04815532639622688,
-0.053105875849723816,
0.005482424516230822,
-0.03780418261885643,
-0.032628610730171204,
-0.000054658034059684724,
0.010964849032461643,
-0.03686317056417465,
-0.05969296768307686,
0.019311226904392242,
-0.011997918598353863,
0.054742418229579926,
-0.0652163028717041,
0.027718976140022278,
-0.051714811474084854,
0.04529137536883354,
0.05625622346997261,
-0.012243400327861309,
0.016375675797462463,
0.024834565818309784,
0.0320558175444603,
0.028537247329950333,
0.0023742683697491884,
0.014544790610671043,
0.062475092709064484,
-0.044718582183122635,
-0.003958392422646284,
-0.03181033581495285,
0.038990676403045654,
0.0022668701130896807,
0.005004246719181538,
-0.045986905694007874,
0.014964155852794647,
-0.030071508139371872,
-0.019290771335363388,
-0.035553932189941406,
0.02444588579237461,
-0.05658353120088577,
-0.04676426574587822,
-0.017603084444999695,
-0.06562544405460358,
0.039849862456321716,
-0.03238312900066376,
0.013593548908829689,
0.007942356169223785,
0.011864949017763138,
-0.002367875538766384,
0.08100896328687668,
-0.018963461741805077,
-0.03393784537911415,
-0.030460188165307045,
0.01705075055360794,
-0.00464625284075737,
0.04124092683196068,
-0.017265547066926956,
0.061165858060121536,
-0.05183755233883858,
-0.04390031099319458,
-0.022031983360648155,
0.014074284583330154,
0.02158193290233612,
0.027432579547166824,
-0.01938282698392868,
0.03334459662437439,
0.039890777319669724,
-0.001585402642376721,
0.031094348058104515,
0.03886793553829193,
-0.061902303248643875,
0.015639230608940125,
0.0050298175774514675,
0.05146932974457741,
0.10171125084161758,
0.007533219642937183,
-0.025796035304665565,
-0.001658280030824244,
-0.003994191996753216,
-0.01752125658094883,
-0.055683434009552,
0.07560836523771286,
-0.02274797111749649,
0.013307154178619385,
-0.03620855137705803,
-0.04443218931555748,
-0.012161572463810444,
-0.005426168441772461,
0.0310125220566988,
0.014800501056015491,
-0.018513411283493042,
-0.029130496084690094,
-0.021029599010944366,
0.039358898997306824,
0.022441118955612183,
0.04279564321041107,
0.02561192400753498,
-0.04134320840239525,
0.01901460438966751,
0.03739504516124725,
-0.06263874471187592,
0.044186707586050034,
-0.014616389758884907,
0.01124101597815752,
0.06235235184431076,
-0.025120960548520088,
0.03483794629573822,
0.011312615126371384,
0.0572790652513504,
0.043082039803266525,
0.04835989698767662,
-0.034326523542404175,
-0.07041233777999878,
0.0008425647974945605,
-0.006193298846483231,
0.03573804348707199,
0.03197399154305458,
-0.04214102402329445,
0.02814856916666031,
-0.030767040327191353,
-0.05658353120088577,
-0.04770527780056,
-0.04040219634771347,
0.04529137536883354,
-0.031094348058104515,
0.028434963896870613,
-0.03420378267765045,
0.018339529633522034,
-0.02894638478755951,
-0.007574133574962616,
0.039256613701581955,
-0.009901095181703568,
0.043122950941324234,
0.007466735318303108,
0.005129544530063868,
0.07601749897003174,
0.014452734962105751,
-0.06394798308610916,
0.01748034358024597,
0.004569539800286293,
-0.030132878571748734,
0.010750052519142628,
0.013665148057043552,
-0.022870711982250214,
0.0024100677110254765,
0.0045081693679094315,
-0.018810035660862923,
0.01985333301126957,
-0.06509356200695038,
0.00033561952295713127,
0.012918474152684212,
0.015444890595972538,
0.041486408561468124,
-0.03727230429649353,
-0.037354134023189545,
-0.04246833547949791,
-0.06112494319677353,
-0.012867332436144352,
0.02741212397813797,
-0.017603084444999695,
-0.05596982687711716,
0.05126476287841797,
0.017500799149274826,
-0.020006759092211723,
0.07789953052997589,
-0.006489922292530537,
0.014309537597000599,
-0.013235555030405521,
0.004694837611168623,
-0.03954301029443741,
-0.01659047231078148,
-0.0027130842208862305,
-0.049382735043764114,
0.018595239147543907,
0.0445549301803112,
0.014534562826156616,
0.03424469754099846,
0.024159491062164307,
0.05641987919807434,
-0.027841717004776,
-0.014381136745214462,
-0.053678665310144424,
0.017101891338825226,
-0.04480041190981865,
0.0003762134874705225,
-0.017429200932383537,
-0.04210011288523674,
-0.0053596836514770985,
-0.08305463939905167,
-0.054742418229579926,
-0.0035313565749675035,
-0.04733705520629883,
-0.021643303334712982,
0.059774793684482574,
0.01389017328619957,
0.047418881207704544,
0.013348067179322243,
0.03780418261885643,
-0.0012689613504335284,
-0.057770028710365295,
-0.019024832174181938,
-0.011885405518114567,
-0.004664152394980192,
-0.056869927793741226,
0.0044314563274383545,
0.024629997089505196,
0.0747900903224945,
-0.0034316296223551035,
-0.016007453203201294,
-0.00542105408385396,
0.020037444308400154,
-0.019331684336066246,
-0.05416962876915932,
0.02471182495355606,
0.021131882444024086,
0.028557704761624336,
0.025468725711107254,
-0.04385939612984657,
0.007333765737712383,
0.006781431846320629,
0.04885086044669151,
0.044186707586050034,
0.0031733624637126923,
-0.024302689358592033,
-0.0011366314720362425,
0.009297619573771954,
-0.04885086044669151,
-0.027125727385282516,
-0.04027945548295975,
0.022666143253445625,
-0.005032374989241362,
-0.014841414988040924,
0.011997918598353863,
-0.0006642069783993065,
-0.015833569690585136,
-0.024323144927620888,
-0.03154439851641655,
-0.00253536575473845,
-0.007026913575828075,
0.023095736280083656,
0.024098120629787445,
0.010438086465001106,
-0.028128111734986305,
0.02375035546720028,
-0.04263198748230934,
-0.055847086012363434,
-0.027330296114087105,
0.05167389661073685,
0.07073964178562164,
-0.039583925157785416,
0.0254482701420784,
0.02481410838663578,
-0.02767806127667427,
0.01442204974591732,
-0.022134266793727875,
0.04120001196861267,
0.0038433228619396687,
-0.11365802586078644,
0.011619467288255692,
0.018605466932058334,
-0.04300021007657051,
-0.03892930597066879,
-0.042386505752801895,
-0.028619075194001198,
-0.034694746136665344,
-0.03802920877933502,
-0.02874181605875492,
0.04533228650689125,
-0.014217481948435307,
-0.022297920659184456,
-0.0038663367740809917,
-0.03011242300271988,
0.005080959759652615,
-0.02237974852323532,
-0.012110430747270584,
0.012672992423176765,
-0.013808345422148705,
-0.0197510477155447,
0.016733668744564056,
-0.015393748879432678,
0.0668119341135025,
-0.03784509748220444,
-0.03614718094468117,
0.03510388359427452,
-0.0008163545280694962,
-0.05011918023228645,
-0.02677796222269535,
0.04905542731285095,
0.07851322740316391,
0.015577859245240688,
0.002218285109847784,
0.06182047352194786,
-0.07225345075130463,
-0.016570014879107475,
0.0063620675355196,
0.03187170624732971,
0.02184787206351757,
0.007737787906080484,
-0.0789632797241211,
-0.0151073532178998,
-0.002462488366290927,
-0.017193946987390518,
0.030828410759568214,
-0.024302689358592033,
-0.014278852380812168,
0.019935159012675285,
0.0022067781537771225,
0.04361391440033913,
0.028394050896167755,
0.06398889422416687,
0.05596982687711716,
0.021766044199466705,
0.015393748879432678,
0.033896930515766144,
0.00712919794023037,
-0.027330296114087105,
-0.04966913163661957,
-0.026757504791021347,
-0.024895936250686646,
-0.03637220710515976,
-0.015833569690585136,
0.0143197663128376,
0.04150686413049698,
0.024793652817606926,
-0.011701294220983982,
-0.004786893259733915,
-0.03408104181289673,
-0.011373985558748245,
-0.013839030638337135,
-0.0885370671749115,
-0.013194641098380089,
-0.012253628112375736,
-0.031217088922858238,
-0.03919524699449539,
-0.02958054468035698,
0.01442204974591732,
0.0011474990751594305,
0.00087005365639925,
-0.053515009582042694,
0.048441722989082336,
-0.01682572439312935,
-0.04062722250819206,
0.022625230252742767,
0.026491567492485046,
-0.0004379035672172904,
-0.03334459662437439,
0.011844492517411709,
-0.05494698882102966,
-0.07515831291675568,
-0.021970612928271294,
0.05871104076504707,
0.0072263674810528755,
-0.01079096645116806,
0.03117617592215538,
0.027698518708348274,
-0.05682901293039322,
-0.008750399574637413,
-0.012908246368169785,
-0.018165646120905876,
-0.012499109841883183,
-0.016130194067955017,
0.0078093865886330605,
-0.027268925681710243,
0.028700903058052063,
0.00842820480465889,
0.04651878401637077,
0.02201152592897415,
0.01070913951843977,
-0.036392662674188614,
-0.01124101597815752,
-0.040484022349119186,
-0.03264906629920006,
0.0186872947961092,
0.04590507969260216,
0.04799167439341545,
0.007236596196889877,
0.030071508139371872,
-0.02990785427391529,
-0.0005913296481594443,
-0.001766956876963377,
-0.020671604201197624,
0.06898035854101181,
-0.097538061439991,
0.01712234877049923,
-0.025591466575860977,
0.03847925737500191,
0.03207627683877945,
-0.003375373315066099,
0.007983269169926643,
-0.01744965836405754,
-0.013634462840855122,
0.036392662674188614,
0.020763659849762917,
0.001199919730424881,
0.04799167439341545,
-0.0069502005353569984,
0.01022328995168209,
0.01482095755636692,
0.020763659849762917,
0.016805268824100494,
0.028885014355182648,
-0.041752345860004425,
-0.0524921715259552,
0.06517539173364639,
0.031217088922858238,
-0.04835989698767662,
0.020211325958371162,
-0.054537851363420486,
-0.010238632559776306,
-0.014984612353146076,
0.017439428716897964,
0.0067609753459692,
0.07008502632379532,
0.005717677995562553,
0.038417886942625046,
-0.05318770185112953,
0.003989077638834715,
0.019464652985334396,
-0.047582536935806274,
0.04492315277457237,
0.004160403273999691,
0.07147608697414398,
0.032955918461084366,
-0.000410095090046525,
0.05122384801506996,
-0.03964529559016228,
-0.005559137556701899,
0.010279546491801739,
-0.003073635511100292,
0.028005370870232582,
0.014555019326508045,
0.008561174385249615,
-0.010126120410859585,
0.01672344096004963,
0.00048584918840788305,
0.030767040327191353,
0.07155791670084,
0.005942702759057283,
-0.012938931584358215,
0.04529137536883354,
-0.010412515141069889,
-0.02195015549659729,
-0.0015061325393617153,
-0.025530096143484116,
-0.05588800087571144,
-0.06182047352194786,
-0.008361720480024815,
0.04023854061961174,
0.00712919794023037,
-0.006331382319331169,
0.014432278461754322,
-0.05396506190299988,
0.05011918023228645,
0.011067133396863937,
0.0049863471649587154,
0.018902091309428215,
-0.017378058284521103,
-0.01632453314960003,
0.056542620062828064,
0.013818574137985706,
0.05449693650007248,
-0.04729614034295082,
0.0019587394781410694,
-0.023607157170772552,
-0.045618683099746704,
0.025366442278027534,
0.10318414121866226,
-0.014923241920769215,
-0.030153336003422737,
-0.0033728163689374924,
0.03164668381214142,
-0.028332680463790894,
0.014974383637309074,
-0.02295253984630108,
0.04279564321041107,
-0.004208988510072231,
0.04619147256016731,
0.03455154970288277,
-0.010678454302251339,
-0.06022484600543976,
0.05854738503694534,
-0.028557704761624336,
-0.0684075653553009,
-0.0052343858405947685,
-0.02894638478755951,
0.02338213287293911,
0.06157499551773071,
-0.0011046676663681865,
0.08387291431427002,
0.0016902438364923,
-0.06317062675952911,
-0.002246413379907608,
-0.013368524610996246,
0.019065745174884796,
0.061902303248643875,
0.015301693230867386,
-0.020927315577864647,
-0.03401967138051987,
-0.0019817533902823925,
-0.017439428716897964,
0.07442186772823334,
0.0066484627313911915,
0.05809733644127846,
-0.014329994097352028,
-0.038192860782146454,
0.05523338168859482,
-0.028864556923508644,
-0.0013117928756400943,
0.0519602932035923,
0.0821545422077179,
-0.02847587689757347,
0.05699266865849495,
-0.03213764727115631,
0.009512416087090969,
-0.08182723075151443,
-0.02111142687499523,
0.0017963635036721826,
0.029866941273212433,
0.10220221430063248,
-0.034387893974781036,
0.05416962876915932,
-0.009696527384221554,
0.04680517688393593
] |
7,533 | hsbalance.IC_matrix | __init__ |
Instantiate an instance of Alpha
name: optional name of Alpha
| def __init__(self:'Influence matrix', name:'string'=''):
"""
Instantiate an instance of Alpha
name: optional name of Alpha
"""
self.name = name
self.value = None
| (self: 'Influence matrix', name: 'string' = '') | [
0.03128989785909653,
-0.06204124167561531,
0.003422051900997758,
-0.011300625279545784,
-0.028704844415187836,
-0.035454701632261276,
-0.0664573684334755,
0.011390384286642075,
0.031397607177495956,
0.007719251327216625,
-0.027771353721618652,
0.01883138343691826,
-0.039888784289360046,
0.05001356825232506,
-0.04534611478447914,
-0.011516045778989792,
0.05744559317827225,
0.06792940944433212,
-0.014496035873889923,
0.020806076005101204,
-0.0011792053701356053,
0.03279784321784973,
-0.004191732965409756,
0.07313542068004608,
0.03640614449977875,
0.06451857835054398,
0.034413501620292664,
-0.005430403631180525,
-0.007086452562361956,
-0.0441972017288208,
-0.034395549446344376,
-0.02613774500787258,
0.023211609572172165,
0.042330220341682434,
0.026873765513300896,
-0.0413249246776104,
-0.025401722639799118,
0.008361026644706726,
-0.0899023488163948,
-0.015070492401719093,
0.08645561337471008,
-0.029853755608201027,
0.01636301726102829,
-0.020824028179049492,
-0.0018221023492515087,
0.016793860122561455,
0.019280176609754562,
-0.028309905901551247,
-0.02769954688847065,
-0.023193657398223877,
0.0013733087107539177,
-0.024181004613637924,
0.06362099200487137,
0.020788123831152916,
-0.04846971854567528,
0.0770488977432251,
-0.004317395389080048,
0.03513156995177269,
0.005461819004267454,
0.034198079258203506,
-0.0217216145247221,
0.011758394539356232,
0.025904372334480286,
-0.04276106134057045,
-0.0311821848154068,
-0.007436511572450399,
-0.04703357815742493,
0.02015981264412403,
-0.0022338705603033304,
0.06204124167561531,
0.020770171657204628,
0.020572703331708908,
-0.0027443733997642994,
0.012862427160143852,
0.02518630214035511,
-0.009123975411057472,
-0.05942028388381004,
0.04197118431329727,
0.002971014240756631,
-0.035095665603876114,
0.011713515035808086,
0.040678661316633224,
-0.0484338141977787,
0.0012745740823447704,
0.0014798971824347973,
-0.041648056358098984,
-0.022744864225387573,
-0.022349925711750984,
0.022601250559091568,
0.03812951222062111,
-0.03495205193758011,
0.003027113387361169,
-0.026407020166516304,
0.032869648188352585,
0.00475272536277771,
-0.010941590182483196,
0.06390821933746338,
-0.062472082674503326,
0.05317307636141777,
0.0014294078573584557,
-0.0110493004322052,
-0.015258985571563244,
-0.005695192143321037,
0.02450413629412651,
-0.04836200922727585,
-0.049151886254549026,
-0.008190484717488289,
-0.0308770053088665,
0.030428212136030197,
0.04014010727405548,
-0.0025379282888025045,
0.03830903023481369,
-0.023301368579268456,
0.03453916311264038,
0.004209684673696756,
-0.04911598190665245,
-0.02423485927283764,
-0.01828385517001152,
-0.013957483693957329,
-0.005246398039162159,
0.018795479089021683,
0.035167474299669266,
-0.03592144697904587,
0.07805419713258743,
0.051377903670072556,
0.03895529359579086,
0.005659288261085749,
-0.03863216191530228,
0.009990147314965725,
-0.06573929637670517,
0.0004016703460365534,
-0.011336528696119785,
-0.05256271734833717,
0.04821839556097984,
0.044340815395116806,
-0.009083583950996399,
0.05213187634944916,
-0.00892201904207468,
-0.036352287977933884,
0.03744734451174736,
0.008185996674001217,
0.008046871051192284,
0.0043802266009151936,
-0.06193352863192558,
-0.0449511744081974,
-0.010699241422116756,
0.02094968967139721,
-0.0407145619392395,
-0.016766931861639023,
-0.0087784044444561,
-0.04398178309202194,
0.022349925711750984,
-0.033910851925611496,
-0.016623318195343018,
0.010726169683039188,
-0.042078897356987,
0.010286351665854454,
-0.07791058719158173,
0.04958272725343704,
-0.0039740679785609245,
-0.03619072213768959,
0.011605804786086082,
-0.030715439468622208,
-0.050803445279598236,
0.0025065126828849316,
0.014074170030653477,
-0.01910065859556198,
-0.028417617082595825,
-0.03197206184267998,
-0.034610968083143234,
-0.0159680787473917,
-0.08774814009666443,
-0.03610096499323845,
0.041827570647001266,
-0.011354479938745499,
0.010681290179491043,
-0.027717499062418938,
0.05547089874744415,
0.07047855854034424,
-0.02752002887427807,
0.0013935044407844543,
0.05819956585764885,
-0.08408598601818085,
0.015483382157981396,
0.03726782649755478,
-0.03455711528658867,
0.00622925627976656,
0.049151886254549026,
0.042689256370067596,
0.005883685313165188,
0.018580058589577675,
0.02836376056075096,
0.002166551537811756,
0.029566528275609016,
-0.004333103075623512,
-0.022529443725943565,
0.0011191793018952012,
-0.0040907543152570724,
0.01931608095765114,
0.04983405023813248,
0.008652742020785809,
-0.008275755681097507,
0.007898769341409206,
0.049367304891347885,
0.04864923655986786,
-0.022996189072728157,
0.06904242187738419,
-0.031325798481702805,
-0.07094530761241913,
-0.013006040826439857,
-0.04175576567649841,
-0.02375016175210476,
0.030284598469734192,
-0.004523840267211199,
0.03870396688580513,
-0.06588291376829147,
0.004149097483605146,
-0.005488746799528599,
0.02450413629412651,
0.049654532223939896,
0.07270457595586777,
0.024001486599445343,
0.0325465202331543,
-0.009972196072340012,
0.0021901133004575968,
-0.005363084841519594,
0.021972939372062683,
-0.01808638498187065,
-0.043371424078941345,
-0.021470289677381516,
-0.030284598469734192,
-0.049367304891347885,
-0.021165110170841217,
-0.009496474638581276,
-0.024181004613637924,
0.04875694587826729,
-0.010241472162306309,
-0.02383992075920105,
-0.09543149173259735,
-0.05758920684456825,
0.03687288984656334,
0.012961162254214287,
0.027196897193789482,
0.030069177970290184,
-0.012386705726385117,
-0.018274879083037376,
0.027663642540574074,
0.05299355834722519,
-0.07934672385454178,
-0.045992378145456314,
-0.0325465202331543,
-0.025832565501332283,
0.013831821270287037,
0.04333551973104477,
-0.012925257906317711,
-0.021667759865522385,
-0.039601556956768036,
-0.04821839556097984,
0.03687288984656334,
-0.05586583912372589,
-0.028417617082595825,
-0.0399605892598629,
0.04466394707560539,
0.09600594639778137,
0.04247383400797844,
0.0027847648598253727,
0.003816990414634347,
0.0348084382712841,
0.021254869177937508,
-0.042402029037475586,
0.0827934592962265,
0.03409036993980408,
0.019567405804991722,
-0.007607053034007549,
-0.0033188294619321823,
-0.03812951222062111,
0.012916282750666142,
0.007844913750886917,
-0.03348001092672348,
0.01737729087471962,
0.02375016175210476,
-0.04929549992084503,
-0.044628046452999115,
0.03308507055044174,
0.0011792053701356053,
-0.03577783331274986,
0.0022406023927032948,
-0.021578000858426094,
-0.01607578992843628,
-0.05288584902882576,
0.031325798481702805,
0.04082227498292923,
-0.006072178483009338,
0.008455272763967514,
0.05561451241374016,
-0.0031774593517184258,
-0.03290555253624916,
0.035562410950660706,
0.013149655424058437,
0.002663590479642153,
0.11323962360620499,
-0.05101886764168739,
0.04893646389245987,
-0.010286351665854454,
-0.06950916349887848,
-0.03619072213768959,
-0.04179167002439499,
0.06588291376829147,
-0.0039202128536999226,
0.017736326903104782,
0.059707511216402054,
0.06724724918603897,
-0.043766360729932785,
0.043945878744125366,
-0.00009642051736591384,
-0.008567471988499165,
0.04574105143547058,
-0.05618897080421448,
0.01870572194457054,
0.10462278872728348,
-0.013715134933590889,
-0.0469258688390255,
-0.048685140907764435,
-0.04265335202217102,
-0.028722796589136124,
-0.04778755083680153,
0.03231314569711685,
-0.02008800581097603,
0.010609482415020466,
-0.013831821270287037,
-0.06591881811618805,
-0.0011393750319257379,
0.02992556244134903,
-0.0027847648598253727,
-0.06696002185344696,
-0.03164893016219139,
-0.042617447674274445,
0.021775469183921814,
-0.0043802266009151936,
-0.022708959877490997,
0.02886641025543213,
-0.026496779173612595,
-0.042617447674274445,
0.030356405302882195,
0.0372319258749485,
-0.025850515812635422,
0.01356254518032074,
-0.056404389441013336,
0.07862865179777145,
0.000752851425204426,
-0.0255812406539917,
-0.012027670629322529,
0.005210494622588158,
0.039242520928382874,
0.06003064289689064,
0.0625079870223999,
-0.005479771178215742,
-0.024001486599445343,
-0.03394675627350807,
-0.03058977797627449,
0.07198651134967804,
0.004014459438621998,
-0.05069573596119881,
-0.002079036785289645,
-0.02780725620687008,
-0.024540038779377937,
0.009115000255405903,
-0.025653047487139702,
0.05299355834722519,
-0.005017513409256935,
0.014352422207593918,
-0.02305004373192787,
-0.0378422848880291,
-0.008042383007705212,
-0.04200708866119385,
0.00945159513503313,
-0.030661584809422493,
0.011749418452382088,
0.017691446468234062,
-0.06652917712926865,
0.04577695578336716,
0.0034377595875412226,
0.02375016175210476,
0.024827266111969948,
-0.02721484936773777,
-0.012970137409865856,
-0.026855815201997757,
0.033821091055870056,
-0.0038326981011778116,
0.06003064289689064,
-0.010995445773005486,
-0.02414510026574135,
0.012530320324003696,
-0.06731905043125153,
-0.0010440063197165728,
-0.010744120925664902,
0.0002709591935854405,
-0.000632799114100635,
-0.05471692606806755,
-0.014864047057926655,
0.0077731069177389145,
-0.0469258688390255,
0.009025241248309612,
0.020141860470175743,
-0.02181137353181839,
-0.0155910924077034,
0.06853977590799332,
0.022260166704654694,
-0.012808571569621563,
0.04175576567649841,
0.023283416405320168,
0.007355728652328253,
-0.05231139436364174,
-0.023821968585252762,
0.0364779494702816,
-0.010115809738636017,
0.08135732263326645,
-0.0625079870223999,
-0.004171537235379219,
-0.016084766015410423,
-0.025509433820843697,
0.046566832810640335,
0.015869345515966415,
0.08624019473791122,
-0.0036464487202465534,
0.017520906403660774,
-0.012108453549444675,
0.007741691078990698,
0.00006146369560156018,
-0.010322255082428455,
-0.07575637847185135,
-0.03866806626319885,
0.0322413370013237,
-0.061718109995126724,
-0.009559305384755135,
-0.0031797033734619617,
-0.045202501118183136,
-0.07417662441730499,
0.02028547413647175,
0.005318205337971449,
0.027448222041130066,
-0.0057939267717301846,
0.04958272725343704,
0.027663642540574074,
-0.07503830641508102,
-0.036908794194459915,
-0.010438941419124603,
0.036136869341135025,
0.017206750810146332,
-0.02055475115776062,
0.038452643901109695,
0.0702272355556488,
0.05127019062638283,
-0.01322146225720644,
0.06265159696340561,
-0.04846971854567528,
-0.056117162108421326,
-0.04398178309202194,
0.05184464901685715,
-0.001497848890721798,
-0.0110493004322052,
0.01022351998835802,
-0.02450413629412651,
-0.04060685262084007,
-0.007719251327216625,
0.0679653137922287,
0.07403300702571869,
-0.009097048081457615,
-0.011749418452382088,
-0.042330220341682434,
0.019764874130487442,
0.014639650471508503,
-0.008648253977298737,
-0.04082227498292923,
0.012386705726385117,
-0.013580497354269028,
0.0027443733997642994,
-0.0030450650956481695,
-0.03215157985687256,
-0.0175568088889122,
-0.025706902146339417,
-0.05769691616296768,
-0.0019657164812088013,
0.036424096673727036,
0.01249441597610712,
0.032869648188352585,
0.0002614223340060562,
-0.02498883195221424,
0.029584480449557304,
0.0014866291312500834,
-0.06782170385122299,
0.04398178309202194,
0.020321378484368324,
0.054681021720170975,
-0.004698869772255421,
0.018023554235696793,
0.04369455203413963,
0.02238583005964756,
-0.05482463911175728,
0.01598603092133999,
0.0013037456665188074,
-0.022834623232483864,
-0.09715485572814941,
-0.03125399351119995,
0.028202194720506668,
-0.07292000204324722,
-0.037590958178043365,
-0.0470694825053215,
-0.016336090862751007,
-0.016722053289413452,
-0.019764874130487442,
-0.019136562943458557,
0.017565784975886345,
-0.019728969782590866,
0.008755965158343315,
0.016578439623117447,
-0.03351591154932976,
-0.003610545303672552,
-0.024970881640911102,
0.0016021934570744634,
0.02211655303835869,
-0.0007337777060456574,
0.010483820922672749,
-0.011713515035808086,
-0.03649590164422989,
0.03462892025709152,
0.008343074470758438,
-0.016722053289413452,
0.027053283527493477,
0.053137172013521194,
0.0032043869141489267,
-0.051880549639463425,
-0.0175568088889122,
0.058450888842344284,
-0.010295326821506023,
0.04969043657183647,
0.011390384286642075,
0.009115000255405903,
0.02094968967139721,
0.0050040497444570065,
0.033551815897226334,
0.027771353721618652,
0.027268704026937485,
-0.043371424078941345,
0.007750667165964842,
-0.021739566698670387,
-0.059599801898002625,
0.023965582251548767,
0.0023494348861277103,
-0.0029351108241826296,
0.006673562340438366,
-0.026424972340464592,
-0.04821839556097984,
-0.01279062032699585,
-0.006960790138691664,
0.06380051374435425,
-0.003038333263248205,
-0.06214895099401474,
0.014011339284479618,
0.013921580277383327,
0.005497722886502743,
0.009927316568791866,
0.033839043229818344,
0.021075351163744926,
-0.03694469854235649,
-0.001953374594449997,
0.011767370626330376,
-0.0030181375332176685,
0.027286656200885773,
0.009738823398947716,
0.01682976260781288,
-0.07065808027982712,
0.028417617082595825,
0.014962781220674515,
-0.04577695578336716,
-0.0014742872444912791,
0.005322693381458521,
0.0252760611474514,
-0.06222075596451759,
-0.03568807616829872,
0.018247950822114944,
0.028238099068403244,
-0.04265335202217102,
-0.0610000379383564,
0.014065193943679333,
-0.009801654145121574,
-0.05098296329379082,
-0.0015887296758592129,
-0.004283735994249582,
-0.01586036942899227,
-0.009106024168431759,
0.006817176006734371,
-0.03032050095498562,
-0.023337271064519882,
-0.024378472939133644,
0.017700422555208206,
0.019728969782590866,
-0.05195235833525658,
0.011031349189579487,
-0.005771487019956112,
-0.03240290284156799,
0.00917334295809269,
-0.04369455203413963,
0.03852444887161255,
0.0405709482729435,
-0.011300625279545784,
0.017915844917297363,
-0.009774726815521717,
0.00026647126651369035,
0.009864484891295433,
0.055542707443237305,
-0.011417311616241932,
-0.018122289329767227,
-0.0014170660870149732,
0.0008880505338311195,
-0.03365952521562576,
0.004155829548835754,
0.024827266111969948,
0.03588554263114929,
0.04595647379755974,
-0.026209551841020584,
0.017520906403660774,
-0.023283416405320168,
0.02500678412616253,
0.002937354613095522,
-0.031325798481702805,
0.0311821848154068,
-0.07320722937583923,
0.010169665329158306,
-0.05575812980532646,
0.061754010617733,
0.024252811446785927,
-0.038560353219509125,
-0.05586583912372589,
-0.038847580552101135,
-0.030930861830711365,
0.014262663200497627,
0.012287971563637257,
-0.006126034073531628,
0.0770488977432251,
-0.06358508765697479,
0.017081087455153465,
0.021201014518737793,
0.036244578659534454,
0.0028116924222558737,
0.028417617082595825,
-0.060856424272060394,
-0.06717544049024582,
0.026119792833924294,
0.010546651668846607,
-0.04516659677028656,
0.00673190550878644,
-0.019944392144680023,
0.028004726395010948,
0.016192477196455002,
0.04469985142350197,
-0.025060640648007393,
0.060928232967853546,
0.026586538180708885,
0.005201519001275301,
-0.06950916349887848,
-0.026119792833924294,
0.017161870375275612,
0.02662244252860546,
0.05202416330575943,
-0.0016145353438332677,
0.01978282630443573,
-0.03532904013991356,
-0.004066071007400751,
0.045130692422389984,
-0.0771925151348114,
0.05945618823170662,
0.01375103835016489,
-0.05109067261219025,
0.01698235236108303,
-0.005286789499223232,
0.02752002887427807,
-0.0024436817038804293,
0.08523489534854889,
0.009034217335283756,
-0.0005573456874117255,
0.002914915094152093,
0.02015981264412403,
-0.029207494109869003,
0.01920836977660656,
0.033551815897226334,
-0.011973815970122814,
0.02375016175210476,
0.017099039629101753,
-0.06846796721220016,
-0.05026489496231079,
-0.025329915806651115,
0.04161215201020241,
0.002369630616158247,
-0.005363084841519594,
0.00709094014018774,
-0.042904678732156754,
-0.0004330859228502959,
0.005206007044762373,
0.00979267805814743,
0.02906387858092785,
0.04236612468957901,
-0.05557861179113388,
0.0448075607419014,
0.023516789078712463,
0.033444106578826904,
-0.0003783891734201461,
0.016946449875831604,
0.02471955679357052,
-0.037303730845451355,
-0.0019286909373477101,
0.09155391156673431,
-0.01958535611629486,
-0.0034041001927107573,
0.0107082175090909,
0.05202416330575943,
-0.006054226774722338,
0.027268704026937485,
-0.06078461930155754,
0.04613599181175232,
0.02690966986119747,
0.0351136177778244,
0.053603917360305786,
-0.0133201964199543,
-0.009972196072340012,
0.009272078052163124,
-0.08042383193969727,
-0.043586842715740204,
0.0058522699400782585,
-0.02044703997671604,
0.01837361417710781,
0.04778755083680153,
-0.03773457184433937,
0.059887029230594635,
-0.02798677422106266,
-0.028309905901551247,
0.03204387053847313,
-0.0014305298682302237,
0.04940320923924446,
0.05870221555233002,
-0.024575943127274513,
0.03233109787106514,
0.00440042233094573,
0.026514731347560883,
0.01313170325011015,
0.049151886254549026,
0.022224264219403267,
0.0351136177778244,
0.0007354606641456485,
0.03766276687383652,
0.03448530659079552,
0.017700422555208206,
-0.006458141375333071,
0.06333376467227936,
0.0643390640616417,
-0.0829370766878128,
0.06649327278137207,
-0.013975435867905617,
0.0031931670382618904,
-0.07403300702571869,
-0.0497981496155262,
-0.0044340817257761955,
0.05198826268315315,
0.026568586006760597,
-0.02866894192993641,
0.006265160162001848,
0.025347867980599403,
0.008343074470758438
] |
7,534 | hsbalance.IC_matrix | __repr__ |
Method to print out alpha value
| def __repr__(self):
'''
Method to print out alpha value
'''
formatter = tools.InfoFormatter(name = 'Influence Coefficient Matrix', info_parameters=
self._info())
return ''.join(formatter.info())
| (self) | [
0.0245605930685997,
-0.030792124569416046,
0.07846856862306595,
0.021114103496074677,
0.0714363381266594,
-0.05524827912449837,
-0.03380345180630684,
-0.04456067830324173,
0.02203664742410183,
0.003542225807905197,
-0.009060091339051723,
-0.042820025235414505,
-0.006005247589200735,
0.017293373122811317,
-0.029295165091753006,
-0.006718914955854416,
0.03909503296017647,
-0.03552669659256935,
0.03291571885347366,
0.031488385051488876,
0.002889481373131275,
0.004084003623574972,
0.020417841151356697,
0.017685018479824066,
0.0009410397033207119,
0.023342136293649673,
0.014717208221554756,
-0.029991425573825836,
0.0014458287041634321,
-0.01594436727464199,
-0.07596202939748764,
-0.050095949321985245,
0.015587533824145794,
0.010591864585876465,
-0.004423430655151606,
-0.015213293954730034,
0.01292433775961399,
-0.025343885645270348,
-0.018920881673693657,
0.004839011002331972,
0.04243708401918411,
-0.018416093662381172,
0.022019241005182266,
-0.03888615593314171,
-0.045396190136671066,
-0.0323064923286438,
0.049608565866947174,
0.006022654008120298,
-0.028546685352921486,
-0.0763101652264595,
0.012271593324840069,
-0.01664062775671482,
0.04048755392432213,
0.020957443863153458,
-0.04285483807325363,
0.005543975159525871,
0.0484597384929657,
-0.037145502865314484,
0.03133172541856766,
0.0059704347513616085,
0.0010998741490766406,
0.015909554436802864,
0.005543975159525871,
-0.04125344008207321,
-0.014543143101036549,
-0.028494464233517647,
-0.020348215475678444,
0.03133172541856766,
0.01056575495749712,
0.02520463429391384,
0.007645811885595322,
-0.010844258591532707,
-0.013037479482591152,
-0.006906034890562296,
-0.04372516646981239,
-0.03669293224811554,
-0.013716333545744419,
0.003927344921976328,
0.01208882499486208,
-0.04981744661927223,
-0.015265513211488724,
0.022906973958015442,
0.046092450618743896,
-0.002856844337657094,
0.025796454399824142,
-0.10450871288776398,
-0.00030787772266194224,
0.0001410199620295316,
-0.024212462827563286,
0.09510919451713562,
-0.022541437298059464,
-0.015552720986306667,
-0.03166244924068451,
0.03728475421667099,
-0.043899230659008026,
0.004899933934211731,
0.034482307732105255,
-0.03871208801865578,
0.08793771266937256,
-0.028477057814598083,
0.013498752377927303,
0.012959150597453117,
0.014160200022161007,
0.013063589110970497,
-0.07951296120882034,
-0.021740736439824104,
-0.02236737124621868,
0.009103607386350632,
0.009799867868423462,
0.031523197889328,
-0.015648456290364265,
0.051975853741168976,
-0.01163625530898571,
-0.07429100573062897,
0.04738053306937218,
-0.04612726345658302,
-0.03718031570315361,
-0.005056592635810375,
-0.001155357458628714,
0.003701060311868787,
0.014290749095380306,
-0.010644083842635155,
-0.016840802505612373,
-0.007449988275766373,
-0.05329874902963638,
0.0369018130004406,
-0.02064412645995617,
0.0020681116729974747,
-0.006148851476609707,
-0.1142563670873642,
0.0015208942350000143,
0.00021186991943977773,
-0.03317681699991226,
0.08160173892974854,
0.09260266274213791,
-0.03267202898859978,
0.04783310368657112,
-0.040034983307123184,
0.019338637590408325,
0.10757226496934891,
0.00789385475218296,
-0.03721512854099274,
-0.010452612303197384,
-0.012045308016240597,
-0.04233264550566673,
-0.021740736439824104,
0.051070716232061386,
0.01765020564198494,
0.013098402880132198,
-0.05402982234954834,
0.029138505458831787,
0.053263936191797256,
-0.005665820557624102,
-0.05281136557459831,
0.048981934785842896,
-0.002330297138541937,
0.04264596104621887,
-0.05194104090332985,
0.08097510784864426,
-0.024525780230760574,
-0.03909503296017647,
-0.00628375168889761,
-0.010252437554299831,
-0.023655453696846962,
-0.013733739964663982,
0.03476081043481827,
-0.03321162983775139,
-0.028633717447519302,
-0.015526611357927322,
-0.018520532175898552,
-0.005718040280044079,
-0.08661481738090515,
-0.05500458553433418,
0.06774615496397018,
0.009773758240044117,
0.0421585775911808,
-0.03483043611049652,
0.08055735379457474,
0.02696269191801548,
-0.010174107737839222,
0.0008404083200730383,
-0.004812901373952627,
-0.08912135660648346,
0.02525685355067253,
0.032010581344366074,
-0.08034846931695938,
0.04745015874505043,
-0.014369077980518341,
0.007254165131598711,
-0.025918301194906235,
0.045396190136671066,
0.027676358819007874,
0.008581412024796009,
0.03208020702004433,
-0.007215000223368406,
-0.05841626599431038,
0.0034377865958958864,
-0.04981744661927223,
0.03263721615076065,
-0.05051370710134506,
-0.019878240302205086,
-0.01112276315689087,
-0.02187998965382576,
0.05420388653874397,
0.045500628650188446,
-0.00015625066589564085,
0.0340123288333416,
-0.01056575495749712,
-0.05911252647638321,
0.006127093452960253,
0.0013946969993412495,
0.003204974578693509,
0.0008861004025675356,
-0.011984385550022125,
-0.004664945881813765,
-0.027206383645534515,
0.014221122488379478,
0.010557051748037338,
-0.04922562465071678,
0.0571281835436821,
0.0039360481314361095,
-0.04038311541080475,
0.057162996381521225,
0.010235031135380268,
-0.04424736276268959,
0.021636297926306725,
0.05744149908423424,
0.04536137729883194,
-0.010905181989073753,
-0.03449971228837967,
-0.024090616032481194,
-0.016527485102415085,
-0.07331623882055283,
0.025117600336670876,
-0.044003669172525406,
0.06924311816692352,
-0.022541437298059464,
0.013994838111102581,
-0.024421339854598045,
-0.009660615585744381,
-0.0138555858284235,
0.044804368168115616,
0.08396902680397034,
0.013516158796846867,
0.01495219673961401,
-0.08201950043439865,
0.040835682302713394,
0.04734572023153305,
-0.06847722828388214,
-0.0317842960357666,
-0.02417764998972416,
-0.04188007488846779,
0.01690172590315342,
0.002711064647883177,
-0.0018831673078238964,
-0.058451078832149506,
-0.039129845798015594,
-0.007236758712679148,
0.025117600336670876,
-0.01963454857468605,
-0.05521346628665924,
-0.0035835662856698036,
0.030356962233781815,
0.04048755392432213,
0.050304826349020004,
0.020243776962161064,
-0.054482392966747284,
0.032654620707035065,
0.04167119786143303,
0.0005012532346881926,
0.07456950843334198,
0.030792124569416046,
-0.03731956705451012,
0.02835521288216114,
-0.03516115993261337,
-0.03267202898859978,
0.005961731541901827,
0.0035400500055402517,
-0.03641442954540253,
0.0021486165933310986,
-0.005600546021014452,
-0.03429083526134491,
-0.08006996661424637,
-0.006140148267149925,
0.009617099538445473,
-0.03369901329278946,
0.023655453696846962,
0.00368365366011858,
0.014377781189978123,
-0.01329857762902975,
0.018764223903417587,
0.0525328628718853,
0.0024151538964360952,
-0.011383860372006893,
0.04685833677649498,
-0.029974019154906273,
0.018642377108335495,
0.024212462827563286,
-0.0029286460485309362,
0.02920813299715519,
0.01787649095058441,
-0.06562256067991257,
0.004712813999503851,
-0.01297655701637268,
-0.03787657618522644,
-0.01468239538371563,
-0.013507455587387085,
0.063046395778656,
0.010043558664619923,
0.015239403583109379,
0.017397811636328697,
0.031070629134774208,
0.012201966717839241,
0.018572751432657242,
-0.007232407107949257,
-0.011705880984663963,
-0.001067780889570713,
0.022402184084057808,
0.040522366762161255,
0.09608396142721176,
-0.0035400500055402517,
0.016031399369239807,
-0.019269011914730072,
0.02081819251179695,
-0.00117711559869349,
-0.060957614332437515,
0.018224621191620827,
0.002926470246165991,
0.05643192306160927,
-0.03338569402694702,
-0.0342734269797802,
-0.046092450618743896,
0.009364704601466656,
0.009712835773825645,
-0.019338637590408325,
-0.019860833883285522,
-0.020069710910320282,
-0.011836430057883263,
-0.033298663794994354,
-0.013168028555810452,
0.01883384957909584,
-0.014012244530022144,
-0.0409749373793602,
0.014055760577321053,
0.004429957829415798,
0.0010264404118061066,
0.0069974190555512905,
-0.01942567154765129,
0.01850312575697899,
0.027084536850452423,
-0.03476081043481827,
-0.02081819251179695,
-0.0032223809976130724,
0.017345592379570007,
0.014334265142679214,
0.04508287459611893,
-0.034586746245622635,
-0.03665811941027641,
-0.013881695456802845,
0.05590972676873207,
0.04337703436613083,
-0.013020073063671589,
-0.025535358116030693,
0.009634505957365036,
-0.061340559273958206,
-0.05027001351118088,
-0.00007411367550957948,
-0.020348215475678444,
0.08731108158826828,
-0.0008474796777591109,
-0.025169821456074715,
0.01208882499486208,
-0.01158403605222702,
-0.04762422665953636,
-0.055178653448820114,
0.030356962233781815,
-0.02706713043153286,
0.007123616058379412,
-0.01798092946410179,
-0.06896461546421051,
0.03599667176604271,
0.01597047783434391,
-0.05232398211956024,
0.0036945329047739506,
-0.02182777039706707,
0.018955694511532784,
-0.028320400044322014,
0.038920968770980835,
-0.04254152253270149,
0.03060065396130085,
-0.024543186649680138,
-0.01403835415840149,
0.02670159377157688,
-0.028477057814598083,
-0.012732865288853645,
-0.006766782607883215,
0.04174082353711128,
-0.005474349018186331,
-0.05615341663360596,
-0.002271550241857767,
0.00909490417689085,
-0.028877409175038338,
0.00628375168889761,
-0.029295165091753006,
-0.028007082641124725,
-0.020400434732437134,
0.02520463429391384,
0.02342916838824749,
0.0041579813696444035,
0.040209051221609116,
0.018329059705138206,
0.0012010495411232114,
-0.016161948442459106,
-0.014212419278919697,
0.031906142830848694,
-0.022054053843021393,
-0.00984338391572237,
-0.07568352669477463,
-0.0015644105151295662,
0.011836430057883263,
-0.008855564519762993,
0.004382090177386999,
0.0012413021177053452,
0.07540502399206161,
0.010652787052094936,
0.0037315215449780226,
-0.056675612926483154,
0.011523112654685974,
0.04167119786143303,
0.02348138950765133,
-0.06283751875162125,
-0.08605781197547913,
0.058868832886219025,
-0.03986091911792755,
-0.005474349018186331,
-0.028111521154642105,
-0.010635380633175373,
-0.0171367134898901,
-0.006201070733368397,
0.051279593259096146,
0.07491763681173325,
-0.0015916081611067057,
0.04536137729883194,
-0.01984342746436596,
-0.024055803194642067,
0.01348134595900774,
0.003766334615647793,
0.006279400084167719,
0.009260266087949276,
0.008846861310303211,
0.053577251732349396,
0.05493495985865593,
-0.013037479482591152,
-0.01751965656876564,
0.01617935486137867,
-0.006092280149459839,
0.012027901597321033,
-0.03568335622549057,
0.016840802505612373,
0.035004500299692154,
-0.02236737124621868,
0.03354235365986824,
-0.059460654854774475,
0.02590089477598667,
0.0329679399728775,
-0.013455236330628395,
0.06983494013547897,
0.014804241247475147,
-0.05744149908423424,
-0.03805064037442207,
0.040626805275678635,
0.010644083842635155,
-0.008698905818164349,
-0.02851187065243721,
-0.0010280723217874765,
0.044316988438367844,
-0.03371641784906387,
0.03777213767170906,
0.0010112096788361669,
-0.008594466373324394,
-0.0866844430565834,
-0.06715433299541473,
-0.014055760577321053,
-0.022854754701256752,
0.024525780230760574,
0.026684187352657318,
-0.011810320429503918,
0.0034073253627866507,
0.02776339091360569,
-0.01728466898202896,
-0.015509204939007759,
0.060748737305402756,
-0.03302015736699104,
0.005526568274945021,
0.003986091818660498,
0.016788583248853683,
0.03954760357737541,
-0.018329059705138206,
-0.062141258269548416,
0.044595491141080856,
0.00731508806347847,
-0.022175900638103485,
-0.029608482494950294,
-0.04957375302910805,
0.0053176903165876865,
-0.03888615593314171,
0.018311653286218643,
-0.021636297926306725,
0.008507434278726578,
-0.00979116465896368,
0.0014654109254479408,
-0.06182794272899628,
0.03550929203629494,
-0.01403835415840149,
-0.021914802491664886,
0.007924315519630909,
-0.03552669659256935,
0.0008534631924703717,
0.01712801121175289,
0.01695394515991211,
-0.0041014100424945354,
0.009991339407861233,
-0.029173318296670914,
-0.029225539416074753,
-0.030426587909460068,
0.042297832667827606,
-0.0037097635213285685,
0.011879946105182171,
-0.04713684320449829,
0.07345549017190933,
-0.02369026653468609,
-0.010470018722116947,
0.04633614420890808,
0.01682339608669281,
-0.038538023829460144,
0.06147981062531471,
0.0003473143733572215,
0.00151110312435776,
0.018799036741256714,
-0.007885151542723179,
0.037528447806835175,
-0.04626651853322983,
0.011627552099525928,
-0.09204564988613129,
0.023446574807167053,
-0.048216044902801514,
0.00795912928879261,
0.021584078669548035,
0.010069669224321842,
-0.02374248579144478,
-0.010452612303197384,
-0.013516158796846867,
0.015291623771190643,
-0.011592739261686802,
0.03382086008787155,
0.09733723104000092,
0.03011327050626278,
0.020139338448643684,
-0.012341219000518322,
0.004305936861783266,
-0.003729345742613077,
-0.0014512682100757957,
0.05939102917909622,
-0.005704985465854406,
-0.029486635699868202,
0.028546685352921486,
0.003646664787083864,
0.053577251732349396,
-0.021688517183065414,
-0.03857283666729927,
-0.007785063702613115,
-0.014725911431014538,
0.024804282933473587,
0.0009916273411363363,
-0.07707604765892029,
-0.0022051879204809666,
0.012236779555678368,
-0.0005439536180347204,
0.04525693878531456,
-0.010722413659095764,
0.0011662364704534411,
0.006074873730540276,
-0.033629387617111206,
-0.03192354738712311,
0.025239447131752968,
0.01651007868349552,
-0.044595491141080856,
0.013638004660606384,
0.02379470504820347,
-0.011575332842767239,
-0.022297745570540428,
-0.058659955859184265,
-0.009886900894343853,
-0.051975853741168976,
0.02182777039706707,
-0.02734563499689102,
-0.013498752377927303,
0.004651891067624092,
0.03134913370013237,
0.04922562465071678,
-0.01292433775961399,
-0.004799846559762955,
-0.011671068146824837,
0.007415175437927246,
0.025483136996626854,
-0.016135839745402336,
0.060644298791885376,
-0.011209795251488686,
-0.04327259585261345,
0.014995712786912918,
-0.013594488613307476,
0.023133259266614914,
-0.04508287459611893,
-0.05987841263413429,
-0.011427377350628376,
-0.04995669797062874,
0.017241153866052628,
-0.00775895407423377,
0.0009404957527294755,
0.07484801113605499,
-0.004429957829415798,
0.06429966539144516,
-0.05695411562919617,
0.020417841151356697,
0.03108803555369377,
0.029608482494950294,
0.03194095566868782,
-0.05430832505226135,
0.028372619301080704,
-0.06739802658557892,
0.03218464553356171,
0.06694545596837997,
-0.03006105124950409,
-0.02727600932121277,
-0.07094895839691162,
-0.031175067648291588,
0.0062141260132193565,
0.02584867551922798,
-0.04017423465847969,
0.05664080008864403,
-0.0063794879242777824,
0.013899101875722408,
-0.04226301982998848,
-0.00054096186067909,
0.00909490417689085,
0.04375997930765152,
-0.06607513129711151,
-0.09949564188718796,
0.036832187324762344,
-0.01617935486137867,
-0.07004381716251373,
0.008389940485358238,
0.002515241503715515,
0.04153194651007652,
-0.013794663362205029,
0.02193220891058445,
-0.02856409177184105,
0.07951296120882034,
-0.025866081938147545,
0.011644958518445492,
-0.05291580408811569,
-0.028738155961036682,
0.029434416443109512,
-0.026684187352657318,
0.09643208980560303,
0.008620576933026314,
-0.0050261314027011395,
0.02027858980000019,
0.01150570623576641,
-0.027798203751444817,
-0.0233769491314888,
0.04006979614496231,
-0.01510885450989008,
-0.03839877247810364,
-0.007576185744255781,
0.027954863384366035,
0.012750272639095783,
0.03599667176604271,
0.057685188949108124,
-0.008690202608704567,
0.06339452415704727,
-0.017206339165568352,
0.006179312709718943,
0.0008251775871030986,
0.03246315196156502,
0.007019177079200745,
-0.02299400605261326,
0.042019326239824295,
-0.02562239021062851,
-0.05493495985865593,
-0.07331623882055283,
-0.03227167949080467,
0.0233769491314888,
-0.010478721931576729,
0.062036819756031036,
0.022924380376935005,
-0.02182777039706707,
-0.005087053868919611,
0.034691184759140015,
-0.01798092946410179,
0.03267202898859978,
0.055422343313694,
-0.00851613748818636,
0.04257633537054062,
0.04306371882557869,
0.04006979614496231,
0.03759807348251343,
-0.011566629633307457,
-0.039721667766571045,
-0.01149700302630663,
0.025535358116030693,
0.1456577181816101,
-0.007989590056240559,
-0.01958232931792736,
-0.03596185892820358,
0.03589223325252533,
-0.0274500735104084,
-0.0023564069997519255,
-0.009486550465226173,
0.054169073700904846,
0.008624928072094917,
0.037528447806835175,
0.05973915755748749,
0.004334222059696913,
-0.035004500299692154,
0.08466529101133347,
-0.07324661314487457,
-0.026510123163461685,
-0.019025320187211037,
-0.03718031570315361,
-0.004181915428489447,
0.013185434974730015,
-0.04087049886584282,
0.07087932527065277,
0.0005020691896788776,
0.005143625196069479,
-0.02584867551922798,
-0.015883445739746094,
0.048912305384874344,
-0.024421339854598045,
0.021705923601984978,
0.014891273342072964,
0.003385567106306553,
0.03284609317779541,
0.036727745085954666,
0.058868832886219025,
0.024108022451400757,
0.05674523860216141,
-0.007123616058379412,
0.014064463786780834,
0.0542386993765831,
0.0325675904750824,
-0.01958232931792736,
0.03157541900873184,
0.07338586449623108,
-0.06774615496397018,
0.08647556602954865,
0.001906013349071145,
0.010731116868555546,
-0.04243708401918411,
-0.005570084787905216,
-0.03369901329278946,
0.040034983307123184,
0.060365792363882065,
-0.060957614332437515,
0.033942703157663345,
-0.003840312361717224,
0.004227607510983944
] |
7,535 | hsbalance.IC_matrix | _info |
Method to summarize the results for alpha.
return generator of tuples(title:str, item)
| def _info(self):
'''
Method to summarize the results for alpha.
return generator of tuples(title:str, item)
'''
if self.name:
yield ('Name', self.name)
if self.value is not None:
_index = (f'Sensor {m+1}' for m in range(self.value.shape[0]))
_columns = (f'Plane {n+1}' for n in range(self.value.shape[1]))
yield ('Coefficient Values', pd.DataFrame(tools.convert_cart_math(self.value),
index=_index, columns=_columns))
if self.A is not None:
_index = (f'Sensor {m+1}' for m in range(self.A.shape[0]))
yield ('Initial Vibration', pd.DataFrame(tools.convert_cart_math(self.A),
index=_index, columns=['Vibration']))
if self.B is not None:
_index = (f'Sensor {m+1}' for m in range(self.B.shape[0]))
_columns = (f'Plane {n+1}' for n in range(self.B.shape[1]))
yield ('Trial Runs Vibration', pd.DataFrame(tools.convert_cart_math(self.B),
index=_index, columns=_columns))
if self.U is not None:
_index = (f'Plane {n+1}' for n in range(self.U.shape[0]))
yield ('Trial Masses', pd.DataFrame(tools.convert_cart_math(self.U),
index=_index, columns=['Mass']))
| (self) | [
0.0379190631210804,
-0.0433565117418766,
-0.025935208424925804,
-0.027079934254288673,
0.04729150980710983,
-0.03834833577275276,
-0.021517278626561165,
-0.05959732085466385,
0.031676728278398514,
0.020050598308444023,
-0.018083101138472557,
0.0453597828745842,
0.011000105179846287,
0.021177439019083977,
-0.033626340329647064,
0.02219696156680584,
0.015158682130277157,
0.021284757182002068,
0.028510842472314835,
0.050117552280426025,
-0.018977418541908264,
0.03147997707128525,
-0.041353240609169006,
0.05466068536043167,
-0.010078958235681057,
0.03332227095961571,
-0.0016198325902223587,
-0.040172744542360306,
0.012922888621687889,
0.006188677158206701,
-0.02366364188492298,
-0.041281696408987045,
0.00988220889121294,
-0.010517174378037453,
-0.027491319924592972,
-0.0023185182362794876,
-0.011357832700014114,
-0.06782504171133041,
-0.055197276175022125,
0.0421760156750679,
0.06836163252592087,
-0.06092090904712677,
0.021248985081911087,
-0.03902801498770714,
-0.03287511318922043,
-0.03006695583462715,
0.0055402969010174274,
-0.012377354316413403,
-0.002881938125938177,
-0.05569809675216675,
0.004842729307711124,
0.009515538811683655,
0.016401782631874084,
0.031050704419612885,
0.005710217170417309,
0.040101196616888046,
-0.014049728401005268,
-0.00525411544367671,
0.05612736940383911,
0.009873265400528908,
0.0025555123575031757,
0.0353255420923233,
0.006644779350608587,
0.008437885902822018,
-0.017349759116768837,
-0.026292935013771057,
-0.015230227261781693,
-0.023645754903554916,
-0.023627869784832,
0.04199714958667755,
0.04575328528881073,
-0.005777291022241116,
-0.009828549809753895,
0.03552229329943657,
-0.036166202276945114,
-0.008133817464113235,
-0.07243972271680832,
-0.050189100205898285,
0.08370812237262726,
-0.10989373922348022,
0.0023162823636084795,
0.03423447534441948,
-0.014165989123284817,
-0.038813378661870956,
0.02654334343969822,
-0.02525552734732628,
0.011044821701943874,
0.022035984322428703,
0.03207022696733475,
0.07490803301334381,
-0.05483955144882202,
-0.019120508804917336,
0.025899434462189674,
0.016500158235430717,
-0.04550287500023842,
0.002902060281485319,
-0.030317364260554314,
-0.049008600413799286,
0.008098045364022255,
0.0026538872625678778,
0.0005958390538580716,
0.003668937599286437,
0.006184205878525972,
0.07261858135461807,
-0.03970769792795181,
-0.026364481076598167,
0.003767312504351139,
-0.027616525068879128,
0.04543133080005646,
0.008746425621211529,
-0.06972099095582962,
0.03809792548418045,
0.002164248377084732,
-0.04829314723610878,
-0.01419281866401434,
-0.0628526359796524,
-0.006412256509065628,
0.004614678211510181,
-0.08528211712837219,
-0.028135228902101517,
0.020605076104402542,
-0.018163589760661125,
0.0028551085852086544,
0.05602005124092102,
-0.02745554782450199,
-0.0046951668336987495,
0.014845671132206917,
-0.05938268452882767,
0.012761911377310753,
-0.032338522374629974,
0.0133789898827672,
0.00653298944234848,
0.015096079558134079,
0.03528976812958717,
0.03593367710709572,
-0.020032713189721107,
0.06829008460044861,
-0.03051411360502243,
0.0003138495667371899,
0.029762886464595795,
-0.016115602105855942,
-0.033107634633779526,
-0.03294665738940239,
-0.023949822410941124,
0.007033807225525379,
-0.02466527745127678,
0.043857332319021225,
0.004505124408751726,
0.0005105994059704244,
-0.05816641077399254,
0.002949011977761984,
0.008236664347350597,
-0.0009401512797921896,
-0.018387168645858765,
0.03033524937927723,
-0.03931419923901558,
0.0010955389589071274,
0.0013895458541810513,
0.017144067212939262,
-0.01262776367366314,
-0.021177439019083977,
-0.03636294975876808,
-0.038670290261507034,
0.009980583563446999,
-0.019979054108262062,
0.0421760156750679,
-0.007243971806019545,
-0.03258892893791199,
0.00905496533960104,
-0.061672136187553406,
0.047756556421518326,
-0.017510736361145973,
-0.048829738050699234,
0.006801284849643707,
-0.06546404212713242,
0.038598742336034775,
-0.011366775259375572,
0.020533530041575432,
0.04439392313361168,
-0.013629399240016937,
-0.021284757182002068,
-0.022035984322428703,
-0.09658629447221756,
0.01604405604302883,
-0.00916675478219986,
-0.055197276175022125,
0.04797119274735451,
-0.031640954315662384,
0.04450124129652977,
-0.008746425621211529,
-0.04832891747355461,
-0.019048962742090225,
0.0027790917083621025,
0.023627869784832,
0.0320165678858757,
-0.015364374965429306,
0.006264694035053253,
0.01183182094246149,
0.027473434805870056,
-0.014452171511948109,
-0.02498723194003105,
-0.03512879088521004,
-0.020748166367411613,
0.03457431495189667,
0.0026695379056036472,
0.006479330360889435,
0.012609876692295074,
0.011259458027780056,
-0.088358573615551,
0.03282145410776138,
-0.011000105179846287,
-0.0017003212124109268,
0.004073616117238998,
0.02108800783753395,
0.004286016803234816,
-0.04274837672710419,
0.04167519509792328,
-0.016070885583758354,
0.010579776018857956,
0.004252479877322912,
0.020927030593156815,
-0.10266765207052231,
0.006510631646960974,
0.0054240357130765915,
0.025899434462189674,
0.00857650488615036,
0.05598427727818489,
0.0004393334675114602,
-0.03841987997293472,
0.0004941104562021792,
0.0004980230587534606,
-0.042712606489658356,
-0.05047528073191643,
-0.0015818241517990828,
-0.06353231519460678,
0.04857932776212692,
-0.02591732144355774,
-0.0011458443477749825,
-0.04074510559439659,
-0.05923959240317345,
-0.02547016367316246,
-0.010007413104176521,
0.022143302485346794,
0.02981654554605484,
-0.030317364260554314,
-0.09837492555379868,
0.010973275639116764,
0.03960037976503372,
-0.07526576519012451,
-0.020050598308444023,
-0.008572033606469631,
-0.010257821530103683,
0.0279384795576334,
-0.008572033606469631,
0.006609006319195032,
-0.10574410110712051,
-0.011393604800105095,
-0.016097715124487877,
0.04832891747355461,
-0.07315517216920853,
0.009989527054131031,
0.013486308045685291,
-0.007986255921423435,
0.07326249033212662,
0.022429483011364937,
0.020605076104402542,
0.015579011291265488,
-0.00714112538844347,
-0.0015169860562309623,
0.03586213290691376,
-0.0035012532025575638,
0.06807544827461243,
-0.049902915954589844,
-0.010114731267094612,
-0.019084736704826355,
0.02974500134587288,
0.030138500034809113,
-0.01426436472684145,
-0.056592412292957306,
-0.0050350078381598,
-0.019567666575312614,
-0.010150504298508167,
-0.050010234117507935,
0.012431013397872448,
0.014031842350959778,
-0.032857224345207214,
-0.011769218370318413,
-0.032195430248975754,
0.032302748411893845,
-0.009390333667397499,
-0.008460244163870811,
0.00480248499661684,
-0.03208811208605766,
-0.015042420476675034,
0.06693072617053986,
0.011599298566579819,
-0.00012757998774759471,
0.019674984738230705,
-0.0046102069318294525,
0.0030451512429863214,
0.025040891021490097,
-0.022948186844587326,
0.10839128494262695,
0.021910779178142548,
-0.06832585483789444,
0.04414351284503937,
0.018709123134613037,
0.006206563673913479,
0.004064673092216253,
-0.040101196616888046,
0.004122803919017315,
0.05362327769398689,
0.0816332995891571,
0.04940209910273552,
0.0033313327003270388,
-0.058989182114601135,
-0.04975982755422592,
0.04950941726565361,
0.01520339772105217,
0.08986102789640427,
-0.036094654351472855,
0.010758639313280582,
0.013370047323405743,
-0.002951247850432992,
0.037346698343753815,
0.010409856215119362,
-0.02487991377711296,
-0.03967192396521568,
0.011876536533236504,
-0.020640848204493523,
-0.07004294544458389,
-0.019317258149385452,
0.01021310593932867,
0.05820218473672867,
-0.05208505317568779,
0.027008388191461563,
-0.02477259561419487,
0.016848942264914513,
0.04317764937877655,
-0.007100881077349186,
0.03266047686338425,
-0.013280615210533142,
-0.03176615759730339,
0.04178251326084137,
0.0346100889146328,
-0.05959732085466385,
0.05051105469465256,
-0.05602005124092102,
0.020372552797198296,
0.03242795169353485,
-0.023019732907414436,
0.01858391799032688,
0.010731810703873634,
0.0726543590426445,
0.10044974088668823,
0.04060201719403267,
-0.016696907579898834,
-0.024951457977294922,
-0.028761250898241997,
0.06238758936524391,
0.060420092195272446,
0.04446546733379364,
-0.023717300966382027,
0.042712606489658356,
-0.016205033287405968,
-0.07404948770999908,
-0.002381120342761278,
0.01737658865749836,
0.03702474385499954,
-0.026114070788025856,
-0.0018825384322553873,
0.01579364761710167,
0.03534342721104622,
-0.021803461015224457,
-0.021141666918992996,
0.01858391799032688,
0.006394370459020138,
-0.007539096754044294,
-0.008616749197244644,
-0.05108341574668884,
0.0531582348048687,
0.002843929687514901,
0.002407949883490801,
0.038777608424425125,
0.019335145130753517,
-0.05068991705775261,
-0.023609982803463936,
-0.000019109049389953725,
-0.05612736940383911,
0.0033022675197571516,
-0.024897798895835876,
-0.01183182094246149,
-0.01306597888469696,
-0.010320424102246761,
0.027616525068879128,
-0.03713206201791763,
0.014031842350959778,
-0.03092549927532673,
-0.09215047955513,
-0.016097715124487877,
-0.0222685057669878,
-0.10259610414505005,
-0.0382767915725708,
-0.0011860886588692665,
-0.01858391799032688,
-0.10774737596511841,
0.08063166588544846,
-0.009130981750786304,
0.0001279293210245669,
0.044966284185647964,
0.028063684701919556,
-0.012100116349756718,
-0.02690107189118862,
-0.0117245027795434,
-0.0133789898827672,
-0.0043821558356285095,
-0.032338522374629974,
0.013602569699287415,
0.012529388070106506,
0.05974040925502777,
0.04557441920042038,
0.046254102140665054,
0.025166094303131104,
0.07057953625917435,
0.008214306086301804,
-0.00036555228871293366,
-0.04818582907319069,
0.014622091315686703,
0.006948847323656082,
-0.040029652416706085,
-0.008929760195314884,
-0.052621643990278244,
0.001387310097925365,
-0.057772912085056305,
0.011536695994436741,
-0.023735186085104942,
-0.03621986135840416,
0.0031189322471618652,
0.012591990642249584,
0.03956460580229759,
0.0667518600821495,
0.020998574793338776,
0.036130428314208984,
-0.008880573324859142,
-0.028331978246569633,
0.0016600769013166428,
0.00027416422381065786,
-0.02473682351410389,
-0.029476705938577652,
-0.002694131573662162,
0.020658735185861588,
0.08213412016630173,
0.04575328528881073,
-0.02860027365386486,
0.03652392700314522,
0.03162306919693947,
0.04074510559439659,
-0.04589637368917465,
-0.013146467506885529,
0.02877913787961006,
0.043606922030448914,
0.014085500501096249,
-0.019013190641999245,
-0.0034095854498445988,
0.03784751892089844,
0.015400147996842861,
0.04160365089774132,
0.0050797234289348125,
-0.037382472306489944,
0.010722867213189602,
0.01548063661903143,
0.024307550862431526,
-0.014246477745473385,
-0.02623927593231201,
0.010204162448644638,
-0.012082229368388653,
-0.041138604283332825,
0.0017360938945785165,
0.02352055162191391,
-0.03350113332271576,
-0.012296865694224834,
-0.014121273532509804,
0.03346536308526993,
0.020658735185861588,
-0.005325661040842533,
0.07519421726465225,
0.01726927049458027,
-0.02466527745127678,
0.00787446554750204,
-0.017439192160964012,
-0.020479870960116386,
-0.005786234512925148,
-0.01376354694366455,
0.04661183059215546,
-0.06049163639545441,
0.04804273694753647,
0.07455030828714371,
-0.001484567066654563,
-0.011125310324132442,
-0.005786234512925148,
0.05559077858924866,
-0.0232701413333416,
-0.021105892956256866,
-0.05988350138068199,
0.0465402826666832,
-0.04446546733379364,
0.006197620648890734,
-0.0273482296615839,
-0.03899224475026131,
-0.019335145130753517,
-0.016983089968562126,
-0.03645238280296326,
-0.006774455308914185,
-0.005710217170417309,
-0.03920688107609749,
0.005750461481511593,
-0.02108800783753395,
-0.012672479264438152,
-0.0042569516226649284,
0.017403418198227882,
0.0013414763379842043,
-0.0029355972073972225,
-0.017752202227711678,
0.013736717402935028,
-0.05068991705775261,
0.04596792161464691,
0.0019317258847877383,
0.010284651070833206,
-0.012761911377310753,
0.011080593802034855,
-0.058023322373628616,
-0.015096079558134079,
0.0492590107023716,
0.028850683942437172,
0.020050598308444023,
-0.023717300966382027,
0.04958096519112587,
-0.02171402983367443,
0.0031122248619794846,
0.01685788482427597,
0.06807544827461243,
0.015042420476675034,
-0.008196420036256313,
-0.12384509295225143,
0.027992138639092445,
-0.04811428114771843,
0.017170896753668785,
0.023359574377536774,
0.047541920095682144,
-0.022286392748355865,
0.002419128781184554,
-0.04239065200090408,
0.01142937783151865,
0.00785657949745655,
-0.027491319924592972,
0.11354254931211472,
-0.000060121892602182925,
-0.013119637966156006,
0.027688071131706238,
-0.009578140452504158,
0.03618408739566803,
-0.02021157555282116,
-0.009390333667397499,
-0.015534295700490475,
0.003910403233021498,
0.0043419115245342255,
0.03353690728545189,
0.07540885359048843,
0.00033872274798341095,
-0.011974911205470562,
-0.02860027365386486,
-0.038741834461688995,
-0.006966733373701572,
-0.007512267213314772,
-0.04593214765191078,
-0.05204927921295166,
-0.017948953434824944,
-0.015060307458043098,
-0.006792341358959675,
-0.02801002562046051,
0.007400477305054665,
0.029870204627513885,
0.03253526985645294,
-0.0523354597389698,
0.015981454402208328,
-0.01038302667438984,
-0.04847200959920883,
-0.002685188315808773,
0.08699920773506165,
0.047398827970027924,
-0.017573339864611626,
-0.023914050310850143,
-0.058881863951683044,
-0.05480377748608589,
0.020157916471362114,
0.029566137120127678,
-0.029727114364504814,
-0.03584424778819084,
-0.060384318232536316,
0.006774455308914185,
-0.056520868092775345,
0.05584118515253067,
0.011259458027780056,
-0.005249643698334694,
0.018056271597743034,
-0.03183770552277565,
0.06049163639545441,
0.023109164088964462,
-0.03525399789214134,
0.011840764433145523,
0.026453912258148193,
0.02845718339085579,
0.016437556594610214,
-0.0016857885057106614,
0.028832796961069107,
-0.05612736940383911,
-0.026883184909820557,
-0.03813369944691658,
0.03203445300459862,
0.009971640072762966,
-0.026883184909820557,
0.02960190922021866,
-0.06750308722257614,
0.04060201719403267,
-0.01041879877448082,
-0.004914274904876947,
0.0741925835609436,
-0.07676821947097778,
0.036130428314208984,
-0.0702933594584465,
0.020122144371271133,
0.011652957648038864,
0.024611618369817734,
-0.030871840193867683,
-0.03566538169980049,
0.0017618054989725351,
0.02606041170656681,
0.04786387458443642,
-0.018941644579172134,
0.0006304938578978181,
0.016813170164823532,
0.014845671132206917,
-0.020515643060207367,
0.01023099198937416,
0.027294570580124855,
0.03566538169980049,
-0.07512266933917999,
-0.047255739569664,
0.03661336004734039,
0.0195497814565897,
-0.03103281743824482,
0.01678634062409401,
-0.024236004799604416,
0.011992798186838627,
-0.0033961706794798374,
0.044894739985466,
-0.02860027365386486,
0.01851237192749977,
-0.019496122375130653,
0.030263705179095268,
-0.02289452776312828,
-0.06399735808372498,
0.020819712430238724,
-0.025595366954803467,
0.08950329571962357,
0.00036611122777685523,
-0.019317258149385452,
0.0507972352206707,
0.00012653195881284773,
-0.00631388183683157,
0.025845777243375778,
0.055304594337940216,
0.0445370115339756,
-0.006769983563572168,
-0.028063684701919556,
0.0519777350127697,
-0.007717960048466921,
0.04364269599318504,
0.024933572858572006,
-0.014550546184182167,
0.04721996560692787,
0.013647285290062428,
0.02334168739616871,
-0.0022201433312147856,
-0.002725432626903057,
-0.02532707154750824,
-0.02484413981437683,
-0.038813378661870956,
-0.026972616091370583,
-0.058023322373628616,
-0.026936843991279602,
-0.022840868681669235,
0.023770960047841072,
0.021177439019083977,
-0.030979158356785774,
-0.0028551085852086544,
0.005428507458418608,
-0.0402800627052784,
0.06342499703168869,
-0.023162823170423508,
-0.004163048230111599,
-0.01419281866401434,
0.027652297168970108,
0.03652392700314522,
0.028922228142619133,
0.02241159789264202,
0.0023788847029209137,
0.00909520871937275,
-0.023073391988873482,
-0.030657203868031502,
0.027670184150338173,
0.10424164682626724,
-0.038849152624607086,
0.029476705938577652,
-0.021624596789479256,
0.016464386135339737,
0.0022000211756676435,
0.04281992465257645,
0.012967604212462902,
0.04031583294272423,
0.0057683479972183704,
0.04575328528881073,
0.03151575103402138,
0.06614372134208679,
-0.0531582348048687,
0.10474246740341187,
-0.03552229329943657,
0.004098210018128157,
0.010061072185635567,
-0.043678466230630875,
0.03040679544210434,
-0.0004122244718018919,
-0.023359574377536774,
0.03841987997293472,
0.02650757133960724,
-0.005026064347475767,
0.0007646415033377707,
0.014165989123284817,
0.054016776382923126,
0.04671914875507355,
-0.019746530801057816,
0.0390995629131794,
-0.005526882130652666,
0.020569302141666412,
-0.019603440538048744,
0.01040091272443533,
0.05991927534341812,
0.06517785787582397,
-0.019961167126893997,
-0.03190924972295761,
0.0765535831451416,
-0.02396770939230919,
-0.011491980403661728,
0.05573386698961258,
0.03006695583462715,
-0.02219696156680584,
0.08428048342466354,
-0.04038738086819649,
-0.005419563967734575,
-0.0582379586994648,
-0.021231098100543022,
0.016795283183455467,
0.03806215524673462,
0.08256339281797409,
-0.031301114708185196,
0.027813274413347244,
-0.010025299154222012,
0.038527198135852814
] |
7,536 | hsbalance.IC_matrix | add |
Method to add new values for Alpha instance
either the direct_matrix is needed or ALL of (A, B, U)
Args:
direct_matrix: numpy array M rows -> measuring points,
N columns -> balancing planes
A: Initial vibration column array -> numpy array
B: Trial matrix MxN array -> numpy array
| def add(self, direct_matrix:'np.array'=None, A:'initial_vibration numpy.array'=None,
B:'trial matrix numpy.array'=None, U:'trial weight row vector numpy.array'=None,
keep_trial:'optional keep the previous trial weight in every succeeding trial'=False,
name:'string'=''):
'''
Method to add new values for Alpha instance
either the direct_matrix is needed or ALL of (A, B, U)
Args:
direct_matrix: numpy array M rows -> measuring points,
N columns -> balancing planes
A: Initial vibration column array -> numpy array
B: Trial matrix MxN array -> numpy array
'''
self.A = A
self.B = B
self.U = U
self.keep_trial = keep_trial
try: # test if direct input
_ = direct_matrix.shape
if direct_matrix.ndim < 2:
raise IndexError('Influence coefficient matrix should be of more than 1 dimensions.')
if direct_matrix.shape[0] >= direct_matrix.shape[1]:
self.value = direct_matrix
else:
raise tools.CustomError('Number of rows(measuring points) should be '
'equal or more than the number of columns '
'(balancing planes)!')
if self.A is not None or self.B is not None or self.U is not None:
raise ValueError('Either (direct Matrix) or (A, B, U) should be input, but not both.')
except AttributeError:
# if direct matrix is not input calculate it from A, B, U
# test the exstiance of A, A0, B, U to calculate ALPHA
try:
all([A.shape, B.shape, U.shape])
# Test dimensions
if A.shape[1] > 1:
raise tools.CustomError('`A` should be column vector')
elif U.ndim > 1:
raise tools.CustomError('`U` should be row vector')
elif B.shape[0] != A.shape[0] or B.shape[1] != U.shape[0]:
raise tools.CustomError('`B` dimensions should match `A`and `U`')
else:
self.A = A
self.B = B
self.U = U
if not keep_trial:
self.value = (self.B - self.A) / self.U
else:
_A_keep_trial = np.delete((np.insert(self.B, [0], self.A, axis=1)),
-1, axis=1)
self.value = (self.B - _A_keep_trial) / self.U
except AttributeError:
raise tools.CustomError('Either direct_matrix or (A,B,U) '
'should be passed "numpy arrays"')
if self.value is not None:
self.M = self.value.shape[0]
self.N = self.value.shape[1]
| (self, direct_matrix: 'np.array' = None, A: 'initial_vibration numpy.array' = None, B: 'trial matrix numpy.array' = None, U: 'trial weight row vector numpy.array' = None, keep_trial: 'optional keep the previous trial weight in every succeeding trial' = False, name: 'string' = '') | [
0.01420117262750864,
-0.05172068998217583,
-0.005794558674097061,
0.07089577615261078,
-0.011799282394349575,
-0.055443618446588516,
-0.07065558433532715,
-0.027701793238520622,
0.011408975347876549,
0.04743732139468193,
-0.06489104777574539,
0.022837966680526733,
-0.01499179471284151,
0.02994355745613575,
-0.04239335283637047,
0.04535568132996559,
0.06609199941158295,
0.04475520923733711,
-0.007791129406541586,
0.029122911393642426,
-0.014751605689525604,
-0.04045182466506958,
-0.04055190458893776,
0.15067854523658752,
0.003375155385583639,
0.03682897239923477,
-0.005729507654905319,
-0.03460722789168358,
0.025960423052310944,
-0.007706062402576208,
-0.00442348001524806,
-0.030524013563990593,
0.008406613953411579,
-0.02265782468020916,
0.03008366748690605,
-0.027621731162071228,
-0.01992567628622055,
-0.05284157022833824,
-0.11368944495916367,
0.029803447425365448,
0.06765322387218475,
-0.04331407696008682,
0.10984642058610916,
-0.00260955304838717,
0.022978076711297035,
0.024499274790287018,
0.009477456100285053,
0.03664883226156235,
0.006730294786393642,
0.008706849999725819,
0.010268078185617924,
-0.03514765202999115,
0.042513445019721985,
0.014521424658596516,
-0.03286585584282875,
0.06120815500617027,
0.024599352851510048,
-0.0029548245947808027,
0.012449794448912144,
-0.040631964802742004,
-0.009132184088230133,
-0.04507546126842499,
0.024159006774425507,
-0.03206522762775421,
-0.02389880083501339,
-0.0025607645511627197,
-0.031404707580804825,
0.006244913209229708,
0.055843934416770935,
0.078701913356781,
-0.007600979879498482,
0.011889353394508362,
0.022437652572989464,
0.0024569330271333456,
0.025299903005361557,
-0.005429271142929792,
0.026841117069125175,
0.0038880587089806795,
-0.004228326492011547,
-0.04571596533060074,
0.04223322495818138,
0.029222989454865456,
0.015111888758838177,
0.0051065175794065,
-0.007305747363716364,
-0.00016028234676923603,
-0.07149624824523926,
-0.04575599730014801,
0.053361982107162476,
0.02810210920870304,
-0.037549540400505066,
-0.03526774421334267,
0.022297542542219162,
0.0654514953494072,
0.031104469671845436,
-0.014091085642576218,
-0.0019290175987407565,
-0.05015946179628372,
0.019115038216114044,
0.03290588781237602,
-0.024219052866101265,
0.0053542121313512325,
0.019255148246884346,
-0.0035477911587804556,
0.016783203929662704,
-0.016342857852578163,
-0.034787368029356,
-0.028882723301649094,
0.04451502114534378,
0.04611628130078316,
-0.036168456077575684,
0.05372226610779762,
-0.0627293512225151,
-0.035027556121349335,
-0.07169640809297562,
-0.0050789956003427505,
-0.02618059702217579,
-0.007070562336593866,
-0.0598871149122715,
0.035868220031261444,
0.033626455813646317,
0.006750310771167278,
0.007380806840956211,
0.051640626043081284,
-0.007135613821446896,
-0.012569889426231384,
0.03128461167216301,
0.0034902459010481834,
0.058325886726379395,
-0.06036749109625816,
-0.052321162074804306,
-0.026140565052628517,
-0.019225124269723892,
0.014321266673505306,
-0.004693692550063133,
-0.001522447681054473,
0.05320185422897339,
-0.019175086170434952,
-0.014891715720295906,
0.030303841456770897,
0.044635117053985596,
0.028022045269608498,
0.03937097266316414,
-0.00021063446183688939,
0.0029973580967634916,
-0.002994856098666787,
0.0631696954369545,
0.009162208065390587,
-0.05284157022833824,
0.007180649321526289,
-0.04347420111298561,
0.012890140525996685,
-0.016132691875100136,
-0.04663668945431709,
0.007866188883781433,
-0.017393684014678,
0.03959114849567413,
-0.03098437562584877,
0.013250424526631832,
-0.022918030619621277,
-0.030724171549081802,
-0.0033776571508497,
-0.022938046604394913,
0.0566045306622982,
0.01139896735548973,
0.038590360432863235,
-0.002724643563851714,
0.04403464123606682,
-0.038350172340869904,
-0.03332621976733208,
0.02618059702217579,
-0.06809356808662415,
-0.02018588036298752,
0.04807782545685768,
-0.0608879029750824,
-0.010428204201161861,
-0.008321546949446201,
-0.01219959743320942,
0.06897426396608353,
-0.010748456232249737,
0.025119762867689133,
0.045035429298877716,
-0.0416327528655529,
-0.0390707366168499,
0.020936470478773117,
-0.04927876964211464,
0.005519342143088579,
0.00355779891833663,
0.03708918020129204,
-0.00046192589798010886,
0.028042061254382133,
0.021236706525087357,
0.03316609188914299,
0.027921967208385468,
-0.01616271585226059,
0.04111234471201897,
0.030924329534173012,
-0.009612562134861946,
0.0672929435968399,
0.037309352308511734,
-0.02507973089814186,
-0.08066345751285553,
0.01630282588303089,
0.010588330216705799,
0.04203306883573532,
-0.04183290898799896,
0.0002778748457785696,
-0.005159058608114719,
-0.03182503581047058,
0.024679414927959442,
-0.016332849860191345,
-0.022277526557445526,
0.008726865984499454,
-0.019715510308742523,
0.03410683199763298,
-0.06453076750040054,
0.07453864067792892,
-0.008987070061266422,
0.04025166854262352,
0.015372093766927719,
0.020065786316990852,
-0.004838806577026844,
-0.01571236178278923,
-0.019805582240223885,
0.006800349801778793,
0.003905572695657611,
0.06112809106707573,
-0.006855393294245005,
-0.046276405453681946,
0.03518768399953842,
-0.003094934858381748,
0.01780400611460209,
-0.020245928317308426,
0.00600972818210721,
-0.0020528649911284447,
0.00449853902682662,
-0.03792984038591385,
-0.0021254220046103,
-0.03496750816702843,
-0.020636234432458878,
0.009212247096002102,
-0.027982013300061226,
0.02790195122361183,
0.07846172899007797,
-0.03188508376479149,
-0.010348141193389893,
0.04407467320561409,
0.05360217019915581,
-0.05380232632160187,
0.015372093766927719,
-0.038290124386548996,
0.0002689615939743817,
-0.00857674703001976,
0.024319132789969444,
-0.08162421733140945,
-0.023758690804243088,
0.03488744795322418,
-0.014631510712206364,
0.008871980011463165,
-0.0413525328040123,
0.010608346201479435,
-0.0517607219517231,
0.0213167704641819,
0.05516339838504791,
-0.024319132789969444,
0.021096596494317055,
0.037209272384643555,
0.04195300489664078,
0.024379178881645203,
0.033386263996362686,
-0.0801430493593216,
0.031244581565260887,
-0.011248849332332611,
-0.03496750816702843,
-0.02141684852540493,
0.03490746393799782,
0.007155629340559244,
-0.011318904347717762,
-0.057485226541757584,
-0.020456092432141304,
-0.03624851629137993,
-0.01586247980594635,
-0.025319918990135193,
0.041272468864917755,
-0.07161634415388107,
-0.02662094309926033,
0.019555384293198586,
-0.040631964802742004,
0.014911731705069542,
-0.058125726878643036,
0.04319398105144501,
0.011128755286335945,
0.026100533083081245,
-0.0014974280493333936,
0.04767750948667526,
-0.023378392681479454,
-0.0576053187251091,
-0.02756168320775032,
0.026781069114804268,
0.012379739433526993,
0.01769392006099224,
-0.024599352851510048,
0.00884696003049612,
-0.02746160514652729,
-0.04851816967129707,
-0.05496324226260185,
0.010318117216229439,
0.03865040838718414,
0.007430845871567726,
-0.030503997579216957,
-0.0022655322682112455,
0.05428270623087883,
-0.01750377006828785,
0.04199303686618805,
0.018964920192956924,
-0.041272468864917755,
0.02151692844927311,
-0.004368436522781849,
0.031124485656619072,
0.08462657779455185,
0.0037804741878062487,
-0.022677840664982796,
-0.0416327528655529,
-0.009947826154530048,
-0.0031199546065181494,
-0.020756328478455544,
0.06352998316287994,
-0.008561735972762108,
0.008381593972444534,
0.012970203533768654,
-0.06068774312734604,
0.012709999457001686,
-0.0009745166753418744,
0.0355079360306263,
-0.029162943363189697,
-0.014061061665415764,
-0.02201732061803341,
-0.004408468026667833,
0.03654875233769417,
0.03995142877101898,
0.001760134706273675,
0.03887058049440384,
-0.04615631327033043,
0.024319132789969444,
0.004688688553869724,
-0.04223322495818138,
0.03440706804394722,
0.0034602221567183733,
0.034427084028720856,
-0.0015737380599603057,
-0.06521130353212357,
0.010938605293631554,
-0.0061698537319898605,
0.06172856315970421,
0.023978864774107933,
0.07149624824523926,
-0.04415473714470863,
-0.05596402660012245,
0.016933321952819824,
-0.04403464123606682,
0.0043484210036695,
0.040732044726610184,
-0.040131572633981705,
0.026741037145256996,
-0.022918030619621277,
-0.015272014774382114,
-0.06377016752958298,
-0.04115237668156624,
0.051080185920000076,
-0.03262566775083542,
0.0566045306622982,
-0.024579336866736412,
0.03118453361093998,
0.018954912200570107,
-0.003652873681858182,
0.01863466016948223,
0.008316542953252792,
0.04367436096072197,
0.026100533083081245,
0.012800070457160473,
0.04151265695691109,
0.01883481815457344,
-0.05035961791872978,
0.012129542417824268,
0.023518502712249756,
-0.009212247096002102,
0.049999333918094635,
-0.005934668704867363,
-0.02028595842421055,
-0.014911731705069542,
-0.002937310840934515,
-0.019415274262428284,
-0.02107658050954342,
-0.06429057568311691,
-0.027281463146209717,
-0.031604863703250885,
0.014621502719819546,
0.02027595229446888,
-0.010908582247793674,
-0.030924329534173012,
-0.03833015635609627,
-0.04215316101908684,
-0.03128461167216301,
-0.0013848395319655538,
-0.016492975875735283,
-0.04567593336105347,
0.04049185663461685,
0.006264928728342056,
-0.02940313145518303,
0.04907860979437828,
-0.00899707805365324,
0.01571236178278923,
-0.03376656398177147,
0.00579956267029047,
-0.009252279065549374,
-0.01691330596804619,
-0.02107658050954342,
-0.07269719243049622,
-0.010888566263020039,
0.02964332140982151,
0.023358376696705818,
0.024159006774425507,
-0.005234117619693279,
0.04427483305335045,
0.015001801773905754,
-0.011459015309810638,
-0.0497591458261013,
0.008811932057142258,
-0.0327257476747036,
-0.0074858893640339375,
0.004330907016992569,
-0.044394925236701965,
0.016823235899209976,
-0.0627293512225151,
-0.04639650136232376,
0.009767684154212475,
-0.02191724255681038,
-0.03702913224697113,
0.052481286227703094,
-0.006585180759429932,
0.03508760407567024,
-0.04383448511362076,
0.001955288229510188,
0.005824582185596228,
-0.08078355342149734,
-0.06236906722187996,
0.01502181775867939,
-0.042353320866823196,
-0.04323401302099228,
-0.021556958556175232,
0.02796199731528759,
0.03664883226156235,
-0.014971778728067875,
-0.02383875474333763,
0.013991006650030613,
0.018864842131733894,
-0.021536944434046745,
-0.09559520334005356,
0.04339413717389107,
0.0484781377017498,
0.026881147176027298,
0.00206912774592638,
-0.0471971295773983,
0.021096596494317055,
-0.008406613953411579,
0.03218531981110573,
0.05015946179628372,
-0.023418422788381577,
-0.01304025948047638,
-0.005519342143088579,
0.016933321952819824,
-0.035027556121349335,
-0.013600699603557587,
-0.05344204232096672,
0.00224926951341331,
-0.03664883226156235,
0.013470597565174103,
0.011789274401962757,
-0.021476896479725838,
0.0006767824525013566,
-0.02497965283691883,
-0.010518275201320648,
-0.014761613681912422,
-0.007901215925812721,
0.01591251790523529,
0.050880029797554016,
-0.0021391829941421747,
-0.001328545156866312,
0.04451502114534378,
-0.0036078384146094322,
-0.03965119272470474,
-0.012249637395143509,
0.061888687312603,
0.09271293878555298,
-0.07826156914234161,
0.0036053364165127277,
0.03652873635292053,
-0.06212887912988663,
0.029583273455500603,
0.026841117069125175,
0.02618059702217579,
-0.039190832525491714,
-0.08894997835159302,
0.03708918020129204,
-0.008406613953411579,
-0.04111234471201897,
-0.06304959952831268,
-0.032205335795879364,
-0.008081357926130295,
-0.022317558526992798,
-0.0052991691045463085,
0.00045285627129487693,
0.018754754215478897,
0.013991006650030613,
-0.0021654535084962845,
-0.032545603811740875,
-0.028742613270878792,
0.0022179950028657913,
-0.025620155036449432,
-0.032005179673433304,
0.02087642438709736,
0.0015824949368834496,
-0.050599806010723114,
-0.003270072629675269,
-0.005934668704867363,
0.03664883226156235,
-0.03865040838718414,
-0.060847871005535126,
0.024519288912415504,
0.008141404949128628,
-0.04679681733250618,
-0.010002869181334972,
0.03544788807630539,
0.08310537785291672,
0.012830093502998352,
0.00884696003049612,
0.029663337394595146,
-0.055243462324142456,
-0.044194769114255905,
-0.030924329534173012,
0.025440014898777008,
-0.029963573440909386,
0.0375695563852787,
-0.05596402660012245,
-0.01547217182815075,
0.0019215117208659649,
-0.04675678536295891,
-0.015151920728385448,
-0.02319825068116188,
-0.035668060183525085,
0.013520636595785618,
-0.03302598372101784,
-0.008947039023041725,
0.05720500275492668,
0.058125726878643036,
0.05796560272574425,
-0.014781628735363483,
0.01943529024720192,
0.018714724108576775,
0.022297542542219162,
-0.04759744554758072,
-0.051240310072898865,
-0.0009132184204645455,
0.026781069114804268,
-0.03038390353322029,
-0.04367436096072197,
0.007365794852375984,
0.02870258130133152,
0.0357881560921669,
-0.02493962086737156,
-0.0032050213776528835,
-0.03238547965884209,
-0.04615631327033043,
-0.013880920596420765,
-0.0809837132692337,
0.009747669100761414,
0.013030251488089561,
-0.050639837980270386,
-0.04239335283637047,
-0.009747669100761414,
0.0000206021450139815,
0.012750030495226383,
0.013400542549788952,
-0.014251211658120155,
0.023358376696705818,
-0.020956486463546753,
-0.033626455813646317,
0.01883481815457344,
-0.002320575527846813,
-0.03658878430724144,
-0.03991140052676201,
-0.01967547833919525,
-0.03738941624760628,
-0.07085574418306351,
-0.03430698812007904,
0.0350075401365757,
0.0152219757437706,
-0.01487169973552227,
0.04507546126842499,
0.002704627811908722,
-0.03206522762775421,
-0.0022530225105583668,
-0.011459015309810638,
0.004258350003510714,
-0.0018114250851795077,
0.0020203394815325737,
-0.044995397329330444,
-0.02141684852540493,
-0.008396605961024761,
0.0242390688508749,
0.05568380653858185,
0.023478470742702484,
0.01666310988366604,
-0.015412124805152416,
-0.0010645875008776784,
-0.02940313145518303,
-0.03374654799699783,
0.015282022766768932,
0.048958517611026764,
0.08462657779455185,
0.009162208065390587,
0.006339987739920616,
-0.050199493765830994,
0.033686500042676926,
-0.006074779201298952,
-0.024159006774425507,
0.05284157022833824,
-0.10167999565601349,
0.027921967208385468,
0.010798495262861252,
0.024459242820739746,
0.04783763363957405,
-0.007455865852534771,
0.033926691859960556,
-0.0022417637519538403,
-0.00681536179035902,
0.037609588354825974,
0.043794453144073486,
0.039831336587667465,
0.03833015635609627,
0.006495109759271145,
0.021797148510813713,
0.030123699456453323,
0.01013797614723444,
0.031244581565260887,
0.03823007643222809,
-0.051640626043081284,
-0.04867829754948616,
0.057285066694021225,
0.03518768399953842,
-0.05736513063311577,
-0.019945692270994186,
-0.04123243689537048,
0.008396605961024761,
-0.02061621844768524,
-0.0004678680852521211,
0.03202519565820694,
0.12329699844121933,
0.00185020559001714,
0.049398861825466156,
-0.08366581797599792,
0.014841676689684391,
0.04803779348731041,
-0.04923873767256737,
0.013880920596420765,
0.01838446408510208,
0.05100012198090553,
-0.0018339428352192044,
-0.02255774661898613,
0.026560895144939423,
-0.026400769129395485,
-0.012509841471910477,
-0.005041466094553471,
0.01631283387541771,
0.057925570756196976,
0.01645294390618801,
0.007776117417961359,
-0.023678628727793694,
0.023858770728111267,
-0.006905432790517807,
0.021877210587263107,
0.04467514529824257,
-0.0007518414640799165,
0.007736085914075375,
0.015642305836081505,
-0.022137416526675224,
0.004531064536422491,
0.025620155036449432,
-0.044795241206884384,
-0.04303385689854622,
-0.03406680002808571,
-0.034126847982406616,
0.03310604393482208,
0.02548004500567913,
-0.013870912604033947,
0.05192084610462189,
-0.043354108929634094,
0.04111234471201897,
0.010082932189106941,
0.016723155975341797,
0.0074858893640339375,
0.015652313828468323,
-0.02706128917634487,
0.06669247150421143,
0.01065838523209095,
0.05464299023151398,
-0.014761613681912422,
0.01844451017677784,
0.012189589440822601,
-0.049398861825466156,
0.03226538375020027,
0.0811438336968422,
-0.011208818294107914,
-0.010488251224160194,
-0.00005050848631071858,
0.03164489567279816,
0.004508547019213438,
0.005534354131668806,
-0.022737888619303703,
0.048718325793743134,
-0.05360217019915581,
0.007706062402576208,
0.04739728942513466,
-0.03524772822856903,
-0.02642078511416912,
0.032245367765426636,
-0.013130329549312592,
-0.03893062844872475,
0.00004265074312570505,
-0.02756168320775032,
0.005444283131510019,
0.04567593336105347,
0.02716136910021305,
0.1073644682765007,
0.015972565859556198,
-0.02007579430937767,
0.00820145197212696,
-0.024118974804878235,
0.03959114849567413,
0.06633218377828598,
0.02091645449399948,
0.016723155975341797,
0.008406613953411579,
-0.0058996411971747875,
-0.023318344727158546,
0.0732976645231247,
-0.029022833332419395,
0.0497591458261013,
-0.017513778060674667,
-0.05031958594918251,
0.05264141410589218,
-0.018264368176460266,
0.000018979775632033125,
0.050439681857824326,
0.08878985047340393,
-0.05700484663248062,
0.047117069363594055,
-0.04879838973283768,
0.027241431176662445,
-0.07778119295835495,
0.002687114058062434,
-0.029783431440591812,
0.017874062061309814,
0.08758890628814697,
-0.0507599338889122,
0.07922232896089554,
-0.002196728251874447,
0.059767019003629684
] |
7,537 | hsbalance.IC_matrix | check |
Method to check the alpha value
* check the symmetrical of the matrix (check for square matrix only,
for square matrix it should be symmetric obeying the reciprocity law)
* check for ill conditioned planes:
if for any reason two or more planes has independent readings
for example [[1, 2 , 3], [2, 4, 6]] this is named as ill-conditioned planes
as they does not carry new information from the system and considering them
cause solution infiltration.
ill_condition_remove = True : remove the ill_condition planes after the check
| def check(self, ill_condition_remove=False):
'''
Method to check the alpha value
* check the symmetrical of the matrix (check for square matrix only,
for square matrix it should be symmetric obeying the reciprocity law)
* check for ill conditioned planes:
if for any reason two or more planes has independent readings
for example [[1, 2 , 3], [2, 4, 6]] this is named as ill-conditioned planes
as they does not carry new information from the system and considering them
cause solution infiltration.
ill_condition_remove = True : remove the ill_condition planes after the check
'''
if self.M == self.N:
_check_sym = np.allclose(self.value, self.value.T, 0.1, 1e-06)
if not _check_sym:
warnings.warn('\nWarning: Influence Matrix is asymmetrical!')
_logger.info('\nInfluence Matrix is asymmetrical, check your data.')
else:
_logger.info('\nInfluence Matrix is symmetric --> OK')
else:
_logger.info('\nNot a square matrix --> no exact solution.')
# Checking ILL-CONDITIONED planes
ill_plane = tools.ill_condition(self.value)
if ill_plane:
_logger.info(f'\nIll-conditioned found in plane # {ill_plane}')
if ill_condition_remove:
_logger.warn(f'\nRemoving Ill-conditioned plane # {ill_plane}')
_logger.info(f'\nIC matrix before removing\n{tools.convert_cart_math(self.value)}\n')
self.value = np.delete(self.value,[ill_plane], axis=1)
_logger.info(f'\nIC matrix after removing\n{tools.convert_cart_math(self.value)}\n')
else:
_logger.info('\nNo ill conditioned planes --> ok')
| (self, ill_condition_remove=False) | [
0.021101536229252815,
0.02877994254231453,
-0.022659746930003166,
0.08102689683437347,
-0.0026212651282548904,
-0.059812720865011215,
-0.05722196027636528,
-0.03159598633646965,
-0.019355591386556625,
-0.004885831847786903,
-0.0276723001152277,
-0.01642690785229206,
0.02560720406472683,
-0.03841080516576767,
-0.0790744423866272,
-0.009743503294885159,
0.012606479227542877,
0.027221733704209328,
0.030788719654083252,
-0.02305399253964424,
-0.007537604309618473,
-0.015131529420614243,
-0.012625252828001976,
0.10986316204071045,
0.01454954780638218,
0.043066661804914474,
0.008241614326834679,
-0.011911855079233646,
-0.0035012781154364347,
0.0034074101131409407,
-0.04569496586918831,
0.05294157937169075,
0.0019008279778063297,
0.01891441084444523,
0.019843704998493195,
-0.011592703871428967,
0.07389292865991592,
-0.029981454834342003,
-0.07787293195724487,
0.012935017235577106,
-0.013601480051875114,
-0.007889609783887863,
0.113768070936203,
-0.010766665451228619,
-0.023354370146989822,
-0.03606410324573517,
0.02622673287987709,
0.05391780659556389,
0.0009920679731294513,
0.01255015842616558,
0.03242202475667,
-0.05204044654965401,
0.07640858739614487,
0.058085549622774124,
0.012972564436495304,
0.018247948959469795,
0.027916356921195984,
-0.03968740999698639,
0.08260387927293777,
-0.0711895301938057,
-0.009368031285703182,
0.024067766964435577,
0.0045197466388344765,
-0.011301713064312935,
-0.007711260113865137,
0.013263555243611336,
-0.04599534347653389,
0.003189167007803917,
0.02954966202378273,
0.03292891010642052,
-0.055419694632291794,
-0.010560154914855957,
0.022997671738266945,
-0.024274276569485664,
0.007124584633857012,
-0.03435570374131203,
0.024462012574076653,
-0.03413042053580284,
-0.0014397011836990714,
-0.0838804841041565,
0.014446293003857136,
0.036139197647571564,
0.04235326498746872,
0.02906154841184616,
-0.030751172453165054,
-0.03416796773672104,
0.04678383469581604,
0.01547884102910757,
0.0711144357919693,
-0.0035270918160676956,
-0.025682298466563225,
0.01286930963397026,
-0.01629549264907837,
0.004806044045835733,
0.05827328562736511,
0.0758453831076622,
-0.0036561605520546436,
-0.056208185851573944,
-0.017393749207258224,
-0.04096401482820511,
0.011761666275560856,
0.06420574337244034,
0.017074597999453545,
0.01943068578839302,
0.007950623519718647,
0.001993522746488452,
-0.040250618010759354,
-0.022472010925412178,
0.008983172476291656,
-0.01531926542520523,
-0.06754744797945023,
0.04073873162269592,
-0.08740992844104767,
-0.02906154841184616,
0.009170908480882645,
-0.05549478903412819,
-0.06225328892469406,
-0.027315601706504822,
-0.085382379591465,
-0.02795390412211418,
0.027109092101454735,
-0.03724684193730354,
0.0026916663628071547,
-0.03356721252202988,
0.07655877619981766,
-0.011949402280151844,
0.011761666275560856,
0.03572617843747139,
0.010879307053983212,
-0.09356766939163208,
-0.07085160166025162,
-0.005355172324925661,
-0.0001392620470141992,
0.031032776460051537,
-0.012662800028920174,
-0.04625817388296127,
0.03125806152820587,
-0.04378005862236023,
0.022847482934594154,
0.01993757300078869,
0.024386918172240257,
0.01847323216497898,
-0.006021635141223669,
-0.0045173997059464455,
0.016558323055505753,
-0.026114091277122498,
0.022697294130921364,
-0.004550253506749868,
0.012399968691170216,
0.014108367264270782,
-0.023110313341021538,
0.024142861366271973,
-0.02622673287987709,
-0.0711144357919693,
0.007401495706290007,
0.015948181971907616,
0.01791941002011299,
-0.03762231394648552,
0.012277940288186073,
-0.01699950359761715,
-0.07374273985624313,
-0.004604227840900421,
-0.03189636394381523,
0.008875223807990551,
0.018933184444904327,
0.022659746930003166,
0.003355782711878419,
0.003853283356875181,
-0.02245323732495308,
0.018285496160387993,
0.005528828129172325,
-0.02341069094836712,
-0.05305422097444534,
0.03031937964260578,
-0.04648345708847046,
0.02324172854423523,
-0.025194184854626656,
0.01728110760450363,
0.016886861994862556,
-0.032009005546569824,
-0.01470912341028452,
0.01090746745467186,
-0.05008799210190773,
-0.01696195639669895,
0.026771167293190956,
0.0028582820668816566,
0.03356721252202988,
-0.020519554615020752,
-0.0053645591251552105,
0.008851757273077965,
-0.051289502531290054,
-0.008753195405006409,
0.048473458737134933,
0.05891158804297447,
0.016098370775580406,
-0.03535070642828941,
0.02194635011255741,
0.035500895231962204,
0.03687136992812157,
-0.03934948518872261,
0.01320723444223404,
-0.034524668008089066,
0.030563436448574066,
0.029136642813682556,
0.0002816041524056345,
-0.015093982219696045,
-0.021364368498325348,
0.02230304852128029,
0.004493932705372572,
0.07618330419063568,
0.0018832277273759246,
-0.015262944623827934,
0.004336704034358263,
0.021232953295111656,
0.04929949715733528,
-0.01500011421740055,
0.04047590121626854,
0.023204181343317032,
0.01517846342176199,
0.030375700443983078,
-0.030694851651787758,
0.003625653451308608,
-0.05778517201542854,
-0.008626473136246204,
-0.017525164410471916,
0.04096401482820511,
0.03433693200349808,
0.0789993479847908,
0.02228427492082119,
-0.02718418650329113,
0.009316403418779373,
-0.013742282055318356,
-0.02511909045279026,
-0.020970121026039124,
-0.014943793416023254,
0.004709829110652208,
-0.04081382602453232,
0.002339661121368408,
-0.04145212844014168,
-0.038936465978622437,
-0.009536993689835072,
-0.029324378818273544,
0.037509672343730927,
0.03598900884389877,
0.014981340616941452,
-0.013132140040397644,
0.02433059737086296,
0.05354233458638191,
0.0150095010176301,
-0.006561376620084047,
-0.05662120506167412,
-0.05924951285123825,
0.003705441253259778,
0.002665852662175894,
-0.013113366439938545,
-0.06871140748262405,
-0.012775441631674767,
-0.028329376131296158,
0.06623329222202301,
-0.056658752262592316,
0.03867363557219505,
-0.029268058016896248,
0.06259121745824814,
0.014596481807529926,
-0.00561330933123827,
0.01485931221395731,
0.023429464548826218,
0.054931581020355225,
0.09597069025039673,
-0.03964986279606819,
-0.02277238853275776,
0.0000430106338171754,
-0.029756171628832817,
0.018905024975538254,
-0.025006448850035667,
0.060451023280620575,
0.002604838227853179,
0.007523524109274149,
-0.031539663672447205,
0.0426911897957325,
-0.0061248899437487125,
-0.03525684028863907,
-0.02326050214469433,
0.03155843913555145,
-0.07062631845474243,
-0.02954966202378273,
-0.02354210615158081,
-0.06889914721250534,
0.04678383469581604,
-0.020782385021448135,
-0.03604533150792122,
0.005397412925958633,
0.0010131882736459374,
-0.018632806837558746,
0.06135215610265732,
-0.009344563819468021,
-0.035801272839307785,
-0.04697157070040703,
-0.0068758344277739525,
0.008344869129359722,
0.048135533928871155,
-0.008297935128211975,
-0.035651084035634995,
-0.09544502943754196,
0.027935130521655083,
-0.010945014655590057,
-0.01415530126541853,
0.029512114822864532,
0.022509558126330376,
-0.028648527339100838,
0.06871140748262405,
0.016905635595321655,
0.015929408371448517,
0.002264566719532013,
0.06018819287419319,
-0.011799213476479053,
0.05038836970925331,
0.00874380860477686,
0.027390696108341217,
0.08358010649681091,
0.03709665313363075,
-0.01122661866247654,
-0.03598900884389877,
0.018416911363601685,
-0.03444957360625267,
-0.08297935128211975,
0.05891158804297447,
-0.029812492430210114,
0.026620978489518166,
-0.019374364987015724,
-0.032459571957588196,
-0.010804212652146816,
-0.032459571957588196,
-0.005383332725614309,
0.026170412078499794,
-0.03983759880065918,
-0.010851146653294563,
-0.042278166860342026,
0.03852344676852226,
0.03790391609072685,
0.046408362686634064,
0.03841080516576767,
-0.02040691301226616,
-0.00893623847514391,
0.003935418091714382,
-0.024124087765812874,
0.0014643415343016386,
0.024950126186013222,
-0.002431182423606515,
0.06702178716659546,
-0.004247528966516256,
0.03812919929623604,
0.0026283052284270525,
0.046370815485715866,
0.05725950747728348,
0.05072629451751709,
-0.018998892977833748,
-0.0047403364442288876,
0.008490364998579025,
0.0021589649841189384,
0.07704689353704453,
-0.020632196217775345,
-0.02451833337545395,
0.011348647065460682,
-0.011198458261787891,
-0.07460632175207138,
-0.01415530126541853,
-0.03456221520900726,
0.03193391114473343,
-0.015065821819007397,
-0.046220626682043076,
-0.05196535214781761,
0.04509421065449715,
-0.04659609869122505,
-0.003322928911074996,
0.07682161033153534,
-0.01121723186224699,
0.028686074540019035,
-0.021608425304293633,
0.009837371297180653,
0.08117708563804626,
0.01653016358613968,
-0.06270385533571243,
-0.023335596546530724,
-0.02433059737086296,
-0.022866256535053253,
-0.04667119309306145,
0.05267874896526337,
0.026189185678958893,
-0.0033792497124522924,
0.02324172854423523,
-0.04914930835366249,
0.03687136992812157,
-0.05117686092853546,
-0.002571984427049756,
0.039912693202495575,
-0.014211622066795826,
0.05354233458638191,
-0.06120196729898453,
-0.039574768394231796,
-0.02273484133183956,
-0.0197310633957386,
0.0005784618551842868,
-0.02162719890475273,
-0.03274117410182953,
-0.009978173300623894,
-0.017994504421949387,
0.04629572108387947,
-0.0012472716625779867,
0.06398046016693115,
0.018445070832967758,
0.031032776460051537,
0.05226572975516319,
-0.015272331424057484,
-0.03623306751251221,
0.0039307246915996075,
0.058085549622774124,
-0.010466286912560463,
0.00349658471532166,
0.022077765315771103,
0.04077627882361412,
0.005735337734222412,
-0.0001253285154234618,
0.03035692684352398,
-0.03347334638237953,
-0.017459457740187645,
-0.04302911460399628,
0.04340458661317825,
-0.06270385533571243,
0.010212843306362629,
-0.06247857213020325,
-0.03259098529815674,
0.011301713064312935,
-0.06886159628629684,
-0.07239104062318802,
0.03443079814314842,
-0.027371922507882118,
0.0059230737388134,
0.03236570209264755,
0.04152722284197807,
0.00793654378503561,
0.03660853952169418,
0.010438126511871815,
-0.008302628993988037,
-0.02183370850980282,
0.017910024151206017,
-0.03240324929356575,
0.002853588666766882,
-0.03523806482553482,
0.02921173721551895,
0.00923661608248949,
0.07314198464155197,
-0.05609554424881935,
-0.043066661804914474,
-0.013939404860138893,
0.009696569293737411,
-0.0032009005080908537,
-0.036739952862262726,
-0.005097034852951765,
0.021101536229252815,
0.009208455681800842,
0.029906360432505608,
-0.08801068365573883,
-0.0011047095758840442,
0.027296828106045723,
0.04776006191968918,
0.009217842482030392,
0.010935627855360508,
-0.009827984496951103,
0.0012472716625779867,
-0.011179684661328793,
-0.06773518025875092,
-0.019139694049954414,
0.014117754064500332,
0.02068851701915264,
0.020519554615020752,
-0.025025222450494766,
0.0506136529147625,
-0.002539130626246333,
0.007809821516275406,
-0.06022574007511139,
0.024875031784176826,
0.0025227037258446217,
-0.01902705244719982,
0.011001335456967354,
-0.02119540609419346,
-0.04141458123922348,
-0.03174617514014244,
0.018538938835263252,
-0.050463464111089706,
-0.04625817388296127,
-0.05590780824422836,
0.02909909561276436,
0.07212820649147034,
0.026620978489518166,
-0.0029967373702675104,
-0.028648527339100838,
-0.03615797311067581,
0.026038996875286102,
-0.023917578160762787,
0.031539663672447205,
0.01793818362057209,
-0.08801068365573883,
0.004127847496420145,
0.01698072999715805,
-0.027296828106045723,
-0.012503224425017834,
-0.05722196027636528,
-0.025494562461972237,
0.005308238323777914,
-0.01604204997420311,
-0.051139313727617264,
0.06251612305641174,
-0.004005819093436003,
0.004339050501585007,
0.008781355805695057,
-0.03332315757870674,
-0.034712404012680054,
-0.001249618362635374,
-0.0036209600511938334,
0.013423130847513676,
-0.019824931398034096,
-0.0032525279093533754,
0.036383256316185,
-0.038636088371276855,
0.05725950747728348,
-0.047347042709589005,
-0.04483138024806976,
0.027860036119818687,
-0.024462012574076653,
-0.02008776180446148,
-0.012381195090711117,
0.02671484649181366,
0.039274390786886215,
-0.008696874603629112,
0.047797609120607376,
0.007490670308470726,
-0.06567008793354034,
-0.010494447313249111,
-0.0013141526142135262,
0.028704848140478134,
-0.0030624449718743563,
0.022565878927707672,
-0.029155416414141655,
-0.041977789252996445,
0.023898804560303688,
0.00529415812343359,
0.03794146329164505,
-0.05196535214781761,
-0.0001293618988711387,
-0.03189636394381523,
0.011742892675101757,
0.02130804769694805,
-0.02104521542787552,
0.08906200528144836,
0.04490647464990616,
0.05136459693312645,
0.015507001429796219,
0.016952568665146828,
-0.001162790460512042,
-0.0371529720723629,
-0.051890257745981216,
0.02466852217912674,
-0.038974013179540634,
-0.05962498486042023,
-0.01723417267203331,
0.044005341827869415,
0.006068569142371416,
0.03908665478229523,
0.03677750006318092,
0.0014397011836990714,
-0.0323469303548336,
0.0036819742526859045,
-0.002665852662175894,
-0.08395557850599289,
-0.033097874373197556,
0.020500781014561653,
-0.02040691301226616,
-0.022547105327248573,
-0.033285610377788544,
0.020425686612725258,
-0.03178372234106064,
-0.008640553802251816,
-0.04839836433529854,
-0.007786354515701532,
-0.015450680628418922,
-0.01636120118200779,
0.029286831617355347,
0.04295402020215988,
0.02816041372716427,
0.0004743269819300622,
0.029437020421028137,
-0.020669743418693542,
-0.07325462251901627,
-0.005984087940305471,
0.033736176788806915,
0.028723621740937233,
-0.011038882657885551,
0.022058991715312004,
0.06341725587844849,
-0.0130288852378726,
-0.022697294130921364,
0.003510664915665984,
-0.019092760980129242,
-0.03384881839156151,
-0.006861754227429628,
-0.013479451648890972,
-0.04081382602453232,
0.007758194115012884,
0.016286106780171394,
0.01802266575396061,
-0.006350173614919186,
0.021852482110261917,
-0.04832326993346214,
0.02909909561276436,
-0.01381737645715475,
-0.03968740999698639,
0.017647193744778633,
0.06495668739080429,
0.04299156740307808,
0.023354370146989822,
0.03668363392353058,
-0.018097760155797005,
-0.0056180027313530445,
0.01136742066591978,
-0.016670964658260345,
0.05970007926225662,
-0.050012897700071335,
-0.018097760155797005,
-0.027221733704209328,
0.021758614107966423,
0.006087342742830515,
-0.02795390412211418,
0.013958178460597992,
-0.04659609869122505,
-0.01990002579987049,
0.008443430997431278,
0.031201738864183426,
-0.023955125361680984,
0.0348062738776207,
-0.019355591386556625,
0.006838287226855755,
0.013423130847513676,
0.018313655629754066,
-0.000054560801800107583,
0.011724119074642658,
-0.018219787627458572,
-0.03097645565867424,
0.06225328892469406,
0.01783492974936962,
-0.037866368889808655,
0.06702178716659546,
-0.020275497809052467,
-0.030281832441687584,
-0.0024875032249838114,
0.0006547296070493758,
0.0014608214842155576,
0.0616525337100029,
0.0009621474891901016,
-0.004315583501011133,
-0.03197145834565163,
0.029737398028373718,
-0.008485671132802963,
-0.022378142923116684,
0.0647314041852951,
-0.010663410648703575,
0.08485671877861023,
0.025025222450494766,
-0.011282939463853836,
0.04340458661317825,
-0.028028998523950577,
0.0005922486889176071,
0.0011416701599955559,
-0.004364864435046911,
0.038485899567604065,
-0.019355591386556625,
0.00015150889521464705,
-0.008499751798808575,
0.003968271892517805,
0.015647804364562035,
0.006908688228577375,
0.011883694678544998,
-0.006650551222264767,
-0.022565878927707672,
0.05125195533037186,
-0.009419658221304417,
-0.027540884912014008,
0.014117754064500332,
-0.0347311794757843,
-0.06976273655891418,
-0.09529484063386917,
-0.0033980233129113913,
0.07073896378278732,
0.00021266979456413537,
0.022640973329544067,
-0.01928049698472023,
-0.0790744423866272,
0.09056389331817627,
0.05771007761359215,
0.005988781340420246,
0.024386918172240257,
-0.0348062738776207,
-0.00952291302382946,
0.02292257733643055,
0.018445070832967758,
0.04599534347653389,
-0.03964986279606819,
-0.022847482934594154,
-0.028535885736346245,
-0.045281946659088135,
-0.002054536947980523,
0.08801068365573883,
-0.0021953389514237642,
-0.0695749968290329,
0.009034799411892891,
0.02969985082745552,
-0.041639864444732666,
-0.04081382602453232,
0.00493276584893465,
-0.005941847339272499,
0.010081428103148937,
0.03615797311067581,
0.010663410648703575,
-0.025963902473449707,
-0.06180272251367569,
0.05594535544514656,
-0.0051064216531813145,
-0.08005066961050034,
0.0237110685557127,
-0.03418674319982529,
0.008429350331425667,
0.06461876630783081,
-0.016079597175121307,
0.10610844194889069,
0.022077765315771103,
-0.018905024975538254,
-0.013685961253941059,
-0.021890029311180115,
0.008800129406154156,
0.05076384171843529,
0.057597432285547256,
-0.01866096816956997,
0.016323653981089592,
-0.008114892989397049,
0.015075208619236946,
0.08403067290782928,
-0.003839203156530857,
0.06829839199781418,
0.01454016100615263,
-0.046708740293979645,
0.051890257745981216,
-0.014765444211661816,
0.02038813941180706,
0.005805738735944033,
0.048473458737134933,
0.012775441631674767,
0.040400806814432144,
-0.008490364998579025,
0.005219063255935907,
-0.037847597151994705,
-0.04160231724381447,
0.0016368241049349308,
0.01855771243572235,
0.08876162767410278,
-0.049224402755498886,
0.017910024151206017,
-0.005486587528139353,
0.045732513070106506
] |
7,538 | hsbalance.IC_matrix | load |
Method to load influence coefficient value
| def load(self, file:str):
'''
Method to load influence coefficient value
'''
if isinstance(file, str):
self.file = file + '.npy'
_matrix = np.load(self.file)
self.add(direct_matrix=_matrix)
| (self, file: str) | [
0.001999582862481475,
-0.02061108499765396,
0.04689620062708855,
0.09010086208581924,
-0.010074821300804615,
-0.02047436125576496,
-0.07649686187505722,
0.021944141015410423,
-0.010630261152982712,
-0.0036936739925295115,
-0.012407667934894562,
-0.0041166627779603004,
-0.039547305554151535,
0.028506873175501823,
-0.018799496814608574,
-0.008741766214370728,
0.030694451183080673,
-0.00991246197372675,
-0.06925050914287567,
0.008006876334547997,
-0.024644432589411736,
-0.029053768143057823,
0.009972278960049152,
0.05051937699317932,
0.008827218785881996,
0.02684910036623478,
-0.0008182054152712226,
-0.017406625673174858,
0.005182679742574692,
-0.06412337720394135,
-0.0743776485323906,
-0.0203718189150095,
-0.02594330534338951,
0.039820753037929535,
0.010074821300804615,
-0.03623175993561745,
0.013826175592839718,
-0.04891287535429001,
-0.08005167543888092,
0.016834095120429993,
0.0552363395690918,
-0.004533242434263229,
0.0710962787270546,
0.009938097558915615,
-0.035445597022771835,
-0.0062294695526361465,
-0.04197414964437485,
0.026045849546790123,
-0.02334555797278881,
-0.013689451850950718,
0.029344305396080017,
-0.03705209866166115,
0.016432469710707664,
-0.008711857721209526,
-0.019209668040275574,
0.05701374635100365,
0.008130782283842564,
0.04846852272748947,
0.04607585817575455,
0.006793454755097628,
0.01699645444750786,
-0.0380091667175293,
0.018799496814608574,
-0.05202333629131317,
0.0056227585300803185,
0.007754792459309101,
-0.013057105243206024,
0.018389325588941574,
0.05656939744949341,
0.020491452887654305,
-0.0046229674480855465,
0.006216651760041714,
0.026951642706990242,
-0.0019942421931773424,
0.02739599533379078,
0.004118798766285181,
-0.017568985000252724,
-0.010502083227038383,
-0.039684031158685684,
0.03684701398015022,
-0.041871607303619385,
-0.034847430884838104,
0.023824090138077736,
0.01992746628820896,
-0.039547305554151535,
-0.077659010887146,
0.05862025171518326,
-0.014902873896062374,
-0.023465190082788467,
0.021140888333320618,
-0.03677865117788315,
0.014723424799740314,
-0.052672773599624634,
0.028335969895124435,
0.036265939474105835,
-0.05380074307322502,
0.05680866166949272,
-0.004046164453029633,
-0.015902666375041008,
0.003016464877873659,
-0.013552728109061718,
-0.015714671462774277,
0.039684031158685684,
-0.003195914439857006,
-0.0005164520698599517,
-0.022080864757299423,
0.01823551207780838,
0.006396101787686348,
0.02255939692258835,
0.03903459385037422,
-0.062209244817495346,
0.01595393754541874,
-0.0377357192337513,
0.03869278356432915,
-0.009169027209281921,
-0.04081200063228607,
-0.01256148237735033,
0.04060691222548485,
-0.001278579467907548,
0.0880500078201294,
0.013339097611606121,
0.05014338716864586,
-0.048707786947488785,
0.044469356536865234,
0.00424056826159358,
0.025003330782055855,
0.03190787509083748,
-0.008310232311487198,
0.0760183334350586,
-0.07888952642679214,
0.00568684795871377,
-0.0902375876903534,
-0.01577448658645153,
0.0011215609265491366,
0.017517713829874992,
-0.02479824610054493,
0.06094455346465111,
-0.039820753037929535,
0.019893286749720573,
0.079299695789814,
0.05069028213620186,
0.04142725467681885,
0.04006002098321915,
-0.02274739183485508,
-0.01600520871579647,
0.008634950965642929,
0.015150685794651508,
-0.0006531756953336298,
-0.10534554719924927,
-0.001545617706142366,
-0.0317198783159256,
0.0033219566103070974,
-0.06637931615114212,
-0.06983158737421036,
0.048707786947488785,
-0.04286285489797592,
0.021499788388609886,
-0.0239266324788332,
0.02397790364921093,
-0.0073232585564255714,
-0.0366419292986393,
0.0650804415345192,
-0.03623175993561745,
-0.018355146050453186,
-0.027515627443790436,
0.02725927159190178,
-0.013381823897361755,
-0.02028636634349823,
-0.08135055005550385,
0.0013255781959742308,
-0.04850270226597786,
-0.11409585922956467,
-0.019363481551408768,
0.06309794634580612,
0.02247394435107708,
-0.015928301960229874,
-0.03961566835641861,
-0.00804960262030363,
0.02165360189974308,
0.06514880061149597,
0.013552728109061718,
0.031155893579125404,
-0.005528761073946953,
0.006246560253202915,
0.02794288843870163,
0.0018147923983633518,
0.03951312601566315,
-0.014484157785773277,
0.06925050914287567,
0.04204251244664192,
0.09386076033115387,
0.03009628690779209,
0.013313462026417255,
0.01777406968176365,
0.012621298432350159,
-0.0732838585972786,
0.03616339713335037,
-0.02279866300523281,
-0.011330969631671906,
0.025157146155834198,
-0.02129470370709896,
-0.03105335123836994,
0.08353812992572784,
-0.009451019577682018,
-0.012595662847161293,
0.01627865619957447,
0.008019695058465004,
-0.006515734829008579,
-0.04166652262210846,
0.06542225182056427,
0.02014964260160923,
-0.04026510566473007,
0.02512296475470066,
-0.024319713935256004,
0.07020757347345352,
-0.011493328958749771,
-0.07143808901309967,
-0.0059132962487638,
-0.022320130839943886,
0.02138015627861023,
0.08524717390537262,
0.09030594676733017,
-0.06050020083785057,
0.023533552885055542,
-0.019585657864809036,
-0.01609920524060726,
0.02334555797278881,
0.020183824002742767,
-0.03465943783521652,
0.06692621111869812,
-0.005366401746869087,
-0.006238014902919531,
-0.016329927369952202,
-0.039137136191129684,
0.06993412971496582,
0.0042170691303908825,
-0.03616339713335037,
0.08456355333328247,
0.03647102415561676,
0.012501665391027927,
-0.008929761126637459,
0.003715036902576685,
0.030335552990436554,
-0.02630220539867878,
0.0023520735558122396,
0.003099780762568116,
0.057731546461582184,
0.007605250924825668,
-0.058278441429138184,
0.0274814460426569,
0.0716431736946106,
0.019705291837453842,
-0.0029374214354902506,
0.04289703443646431,
-0.014082532376050949,
-0.022268859669566154,
0.013971444219350815,
-0.0330871157348156,
0.01850895956158638,
-0.04070945829153061,
-0.002167282858863473,
-0.020679447799921036,
0.0858624279499054,
-0.01910712569952011,
-0.036265939474105835,
-0.003347592195495963,
-0.050314292311668396,
0.004627239890396595,
0.052638594061136246,
-0.018030427396297455,
0.007477072533220053,
0.060295116156339645,
-0.00038773962296545506,
0.020491452887654305,
0.008263233117759228,
-0.05937223136425018,
0.02329428680241108,
0.009126300923526287,
-0.003294184571132064,
0.0899641364812851,
-0.03753063082695007,
-0.017389534041285515,
-0.016124840825796127,
-0.005212587770074606,
-0.07260023802518845,
-0.0355481393635273,
-0.012681115418672562,
-0.05120299383997917,
-0.02703709527850151,
-0.027464356273412704,
0.03231804445385933,
0.05069028213620186,
0.0012593526626005769,
-0.007767610251903534,
-0.030609000474214554,
-0.07335221767425537,
-0.03365109860897064,
0.007942787371575832,
0.03999165818095207,
0.058517709374427795,
-0.0019440389005467296,
-0.035855770111083984,
0.05862025171518326,
-0.05916714668273926,
-0.02184159681200981,
-0.05434763804078102,
-0.02042309008538723,
-0.005387764889746904,
-0.00541340047493577,
0.05738973617553711,
0.042110875248909,
0.06839598715305328,
-0.08442683517932892,
0.021687783300876617,
0.029053768143057823,
0.0369153767824173,
-0.000026837349651032127,
0.003454407677054405,
0.07130136340856552,
0.023089200258255005,
0.011501873843371868,
-0.006789181847125292,
-0.042828671634197235,
-0.009536472149193287,
-0.013048560358583927,
-0.026558563113212585,
0.09967151284217834,
-0.025772402063012123,
0.030233008787035942,
-0.04983575642108917,
0.04122216999530792,
-0.030694451183080673,
-0.007895789109170437,
-0.00891267042607069,
0.0033903184812515974,
-0.01650937646627426,
-0.007848789915442467,
0.005101500079035759,
0.024370985105633736,
0.04067527502775192,
0.058004993945360184,
-0.046212583780288696,
-0.042110875248909,
-0.022730302065610886,
0.0019130625296384096,
-0.02977156825363636,
0.006212379317730665,
-0.02854105457663536,
0.016928093507885933,
-0.004353792872279882,
-0.05376656353473663,
-0.03365109860897064,
0.021944141015410423,
0.008938306011259556,
-0.036265939474105835,
0.03920549526810646,
-0.021944141015410423,
-0.006712275091558695,
0.004652875475585461,
-0.046520210802555084,
0.029156310483813286,
-0.005639849230647087,
-0.040641095489263535,
0.005708211101591587,
0.0029011042788624763,
-0.00918611790984869,
-0.0038581695407629013,
-0.025020422413945198,
0.021414335817098618,
0.029754476621747017,
-0.008511045016348362,
-0.04344392940402031,
-0.002775062108412385,
0.04945976659655571,
0.026678195223212242,
0.007951333187520504,
-0.026746558025479317,
0.03975239023566246,
0.012108584865927696,
-0.017791161313652992,
0.01809878833591938,
0.01973947137594223,
-0.020662356168031693,
-0.00740871112793684,
-0.032984573394060135,
0.044606078416109085,
0.03578740730881691,
0.04108544811606407,
-0.022217588499188423,
-0.02001291885972023,
0.03513797000050545,
-0.004165797494351864,
-0.004323884379118681,
-0.03295039013028145,
-0.008395684882998466,
0.0045204246416687965,
0.04135889559984207,
0.054313454777002335,
0.007348894141614437,
-0.004900686908513308,
-0.02917340211570263,
-0.036129213869571686,
-0.040777817368507385,
0.057150471955537796,
-0.06948977708816528,
-0.007536889519542456,
-0.045973315834999084,
0.016201749444007874,
-0.00911775603890419,
0.005537306424230337,
-0.011852228082716465,
0.055099617689847946,
0.050997909158468246,
-0.012228218838572502,
-0.02302083931863308,
0.0210554376244545,
-0.008558044210076332,
-0.10254271328449249,
0.01600520871579647,
0.03794080391526222,
0.008784492500126362,
0.05926968902349472,
0.010228635743260384,
0.01023718062788248,
0.014911419712007046,
-0.024490617215633392,
-0.012006042525172234,
-0.027823256328701973,
0.0021790326572954655,
0.07444600760936737,
-0.07731720805168152,
-0.007827427238225937,
0.0072548966854810715,
-0.0710962787270546,
0.012886201031506062,
-0.04299957677721977,
-0.04877614974975586,
-0.0046656932681798935,
-0.0019216076470911503,
0.0200983714312315,
0.01856023073196411,
-0.004682783968746662,
0.01897040195763111,
-0.03534305468201637,
-0.08770819753408432,
-0.03588994964957237,
-0.010707167908549309,
0.020542724058032036,
-0.022456854581832886,
-0.049801576882600784,
-0.01492850948125124,
0.011518964543938637,
0.03305293247103691,
-0.026233844459056854,
0.022679029032588005,
0.011681323871016502,
-0.005195497535169125,
-0.07977823168039322,
0.06203833967447281,
0.026011668145656586,
-0.026541471481323242,
-0.0028071068227291107,
0.00740871112793684,
-0.05639849230647087,
0.01755189336836338,
-0.009433929808437824,
0.008352958597242832,
0.041871607303619385,
0.002307211048901081,
-0.012544391676783562,
-0.024182990193367004,
-0.019448934122920036,
-0.03013046644628048,
-0.08381157368421555,
-0.008070966228842735,
0.040196742862463,
-0.013834720477461815,
0.03344601392745972,
0.0025357957929372787,
-0.013467276468873024,
-0.015210501849651337,
-0.08100873976945877,
-0.03272821381688118,
-0.0049946848303079605,
0.02821633592247963,
0.0035783133935183287,
0.0008481136756017804,
-0.004644330125302076,
0.04819507524371147,
-0.04235013946890831,
-0.009245934896171093,
0.0812138244509697,
0.02096998505294323,
0.016945183277130127,
0.017722798511385918,
0.060978733003139496,
0.0038239886052906513,
-0.003960712347179651,
-0.014800331555306911,
0.05171570926904678,
-0.011006250977516174,
-0.01987619511783123,
-0.06849852949380875,
0.04286285489797592,
-0.03223259374499321,
0.042110875248909,
-0.04628094285726547,
0.007096810266375542,
-0.00015528277435805649,
-0.022354310378432274,
-0.03204459697008133,
-0.01709899678826332,
-0.02006419003009796,
0.029344305396080017,
0.004439244978129864,
0.006989995017647743,
-0.06774654984474182,
0.07171154022216797,
-0.03406127169728279,
0.033668190240859985,
0.036539386957883835,
-0.04108544811606407,
0.0121000399813056,
-0.014783240854740143,
-0.015278863720595837,
-0.00845977384597063,
-0.10138056427240372,
-0.060568563640117645,
0.039649847894907,
0.062072522938251495,
0.027498537674546242,
-0.03896623104810715,
0.025054601952433586,
0.058962058275938034,
-0.002537932014092803,
0.020799079909920692,
0.057184651494026184,
-0.040230922400951385,
-0.04043601080775261,
-0.026182573288679123,
-0.012006042525172234,
-0.05079282447695732,
0.03794080391526222,
0.0036894013173878193,
0.029293034225702286,
0.0027900163549929857,
-0.04043601080775261,
0.012202582322061062,
0.01604793407022953,
-0.020901622250676155,
-0.0036060854326933622,
0.027242179960012436,
-0.010698623023927212,
-0.00849822722375393,
0.09850936383008957,
-0.0478532649576664,
0.01581721380352974,
-0.024405164644122124,
-0.019534386694431305,
-0.009331386536359787,
0.0085452264174819,
-0.03310420736670494,
0.018628593534231186,
0.06022675335407257,
-0.05814171954989433,
-0.0030015106312930584,
-0.049528129398822784,
0.03766735643148422,
-0.025293869897723198,
-0.01604793407022953,
0.054860349744558334,
-0.00594747718423605,
0.005400582682341337,
0.032078780233860016,
-0.04580241069197655,
0.03725718706846237,
0.047614000737667084,
0.006793454755097628,
-0.007942787371575832,
-0.012544391676783562,
-0.021687783300876617,
0.0035612229257822037,
-0.01782534085214138,
0.040641095489263535,
0.012433303520083427,
0.04176906496286392,
-0.03406127169728279,
0.05462108552455902,
0.04245268180966377,
-0.037496451288461685,
0.01071571372449398,
-0.02479824610054493,
-0.017791161313652992,
-0.003597540082409978,
-0.022405583411455154,
0.014757605269551277,
-0.031019169837236404,
0.020269276574254036,
0.04224759712815285,
0.009818464517593384,
-0.057184651494026184,
-0.04525551572442055,
-0.0061183818615973,
0.019175486639142036,
-0.05995330587029457,
-0.010638806037604809,
-0.007682158146053553,
0.021824507042765617,
0.010681532323360443,
0.0363684818148613,
0.015125050209462643,
-0.020816169679164886,
-0.00551594328135252,
-0.04166652262210846,
-0.017517713829874992,
-0.03377073258161545,
-0.011655688285827637,
-0.01235639676451683,
-0.0205085426568985,
0.005763754714280367,
-0.004052573349326849,
-0.008652041666209698,
0.01280929334461689,
0.021311793476343155,
-0.032796576619148254,
0.038453515619039536,
0.021533969789743423,
-0.028318878263235092,
0.0043516564182937145,
-0.06637931615114212,
-0.0011653552064672112,
-0.008600769564509392,
0.036676108837127686,
-0.011544600129127502,
0.01832096464931965,
-0.05345893278717995,
0.03650520369410515,
0.001398212625645101,
0.015261773951351643,
0.027293451130390167,
-0.01369799766689539,
0.010801165364682674,
-0.022371402010321617,
-0.04088035970926285,
-0.03595831245183945,
0.037223003804683685,
-0.0317198783159256,
-0.0659007802605629,
0.05352729558944702,
-0.01301437895745039,
-0.0276181697845459,
-0.005486035253852606,
-0.03026719018816948,
0.04689620062708855,
0.09098956733942032,
-0.02283284440636635,
0.028318878263235092,
0.03592412918806076,
0.04381991922855377,
-0.0015434814849868417,
-0.028438512235879898,
0.01718444935977459,
0.027498537674546242,
-0.04276031255722046,
0.06159399077296257,
-0.01064735185354948,
0.032523129135370255,
-0.006246560253202915,
0.0059132962487638,
0.017517713829874992,
-0.04928886517882347,
0.022952476516366005,
-0.015646308660507202,
0.0038944866973906755,
0.05082700401544571,
-0.007344621699303389,
0.0003519564925227314,
-0.056056682020425797,
0.03852187842130661,
0.03371946141123772,
0.013604000210762024,
0.06395246833562851,
0.05174988880753517,
-0.017355354502797127,
-0.003195914439857006,
0.05393746495246887,
-0.022986657917499542,
0.07102791965007782,
-0.018799496814608574,
-0.011134429834783077,
-0.05407419055700302,
0.039137136191129684,
-0.0010558695066720247,
-0.012646934948861599,
0.03835097327828407,
0.03729136660695076,
-0.011655688285827637,
0.01096352469176054,
-0.02611421048641205,
0.041187990456819534,
-0.030711542814970016,
-0.002358482452109456,
-0.014697788283228874,
0.04628094285726547,
-0.025328049436211586,
0.002877604914829135,
-0.01787661202251911,
-0.013475821353495121,
-0.04713546484708786,
-0.011749685741961002,
0.02375572919845581,
0.03346310555934906,
0.010553354397416115,
-0.020542724058032036,
0.023037929087877274,
0.07314713299274445,
-0.04795580729842186,
0.011245517060160637,
-0.02584076300263405,
0.01089516282081604,
-0.004210660234093666,
0.032300952821969986,
0.028711959719657898,
0.014501248486340046,
-0.011254062876105309,
0.0073232585564255714,
-0.04057273268699646,
-0.08271779119968414,
-0.031241346150636673,
0.006605459842830896,
0.0008561248541809618,
0.0024289805442094803,
0.029122130945324898,
0.03341183438897133,
-0.0244735274463892,
-0.029190491884946823,
-0.029891200363636017,
-0.023584824055433273,
0.03397581726312637,
0.012270944193005562,
-0.049117960035800934,
-0.014039806090295315,
-0.020047100260853767,
0.04258940741419792,
-0.02561858668923378,
0.012860565446317196,
0.03783826157450676,
0.03534305468201637,
-0.005011775065213442,
0.04915213957428932,
0.005819298792630434,
0.023499371483922005,
0.030027924105525017,
0.03467652574181557,
0.03009628690779209,
-0.04549478366971016,
0.03630011901259422,
-0.0727369636297226,
0.03431762754917145,
-0.07560815662145615,
-0.03465943783521652,
-0.06330303102731705,
-0.02594330534338951,
0.032078780233860016,
0.016244474798440933,
-0.0007941719377413392,
0.04737473279237747,
0.017517713829874992
] |
7,539 | hsbalance.IC_matrix | save |
Method to save influence coefficient values
| def save(self, file:str):
'''
Method to save influence coefficient values
'''
if isinstance(file, str):
self.file = file
np.save(file, self.value)
| (self, file: str) | [
0.016088712960481644,
-0.02194770611822605,
0.022392477840185165,
0.06452591717243195,
-0.008912513963878155,
-0.04050831496715546,
-0.11652983725070953,
0.036265891045331955,
0.04026882350444794,
-0.01718353107571602,
0.020083092153072357,
-0.022734608501195908,
0.00316471210680902,
-0.004913857206702232,
-0.002051717136055231,
0.0204252228140831,
0.013822094537317753,
-0.02242669090628624,
-0.02774682827293873,
0.07390030473470688,
0.003834006143733859,
-0.04550343006849289,
-0.024274198338389397,
-0.029046926647424698,
0.03787390515208244,
0.03551320359110832,
0.041055724024772644,
-0.009827714413404465,
-0.008527616038918495,
-0.01639663055539131,
-0.07335289567708969,
-0.06890518963336945,
0.009605329483747482,
0.043348003178834915,
0.044990234076976776,
-0.024342624470591545,
-0.04108993709087372,
0.04731672257184982,
-0.08710656315088272,
0.018372436985373497,
0.003355022519826889,
0.004094881005585194,
0.015515643171966076,
0.020373903214931488,
-0.05176442861557007,
-0.00001769124901329633,
-0.07177909463644028,
0.040166184306144714,
0.023042526096105576,
-0.043519068509340286,
0.012137099169194698,
-0.01570381410419941,
-0.015173511579632759,
-0.0018165020737797022,
-0.021092379465699196,
0.06449170410633087,
0.06367059051990509,
0.03241691738367081,
0.03181818872690201,
-0.006021506618708372,
0.029936466366052628,
-0.021109485998749733,
0.09175954759120941,
-0.06469698250293732,
0.005166178569197655,
0.044408608227968216,
-0.048069413751363754,
0.028020532801747322,
0.04779570549726486,
0.059222884476184845,
0.039208218455314636,
-0.06603129208087921,
0.010725808329880238,
0.009348730556666851,
0.003397788852453232,
0.011709434911608696,
-0.03433284908533096,
0.013856307603418827,
-0.057272735983133316,
0.010760021395981312,
-0.03263930231332779,
-0.0176368560642004,
0.03027859702706337,
0.008258188143372536,
-0.014224098064005375,
-0.07608994096517563,
0.030347023159265518,
0.009451369754970074,
-0.009656649082899094,
0.047658853232860565,
-0.022204304113984108,
0.031955040991306305,
-0.013240471482276917,
0.018081625923514366,
0.019022485241293907,
-0.07540567964315414,
0.025762468576431274,
-0.03428152948617935,
-0.01088832039386034,
0.003962305374443531,
0.00044744324986822903,
0.0003044431796297431,
0.048651035875082016,
0.006290934514254332,
0.00997311994433403,
-0.027712615206837654,
0.03169844299554825,
0.029543016105890274,
0.024599222466349602,
0.016747314482927322,
-0.0640469342470169,
0.051148589700460434,
-0.03476051613688469,
-0.008578935638070107,
-0.006586022675037384,
-0.029423270374536514,
-0.03392229229211807,
0.04512708634138107,
0.020493648946285248,
0.02384653314948082,
-0.019381724298000336,
0.06483383476734161,
-0.06811828911304474,
0.06336267292499542,
0.01635386422276497,
0.033374883234500885,
0.04516129940748215,
0.051901280879974365,
0.04208211973309517,
-0.05022483691573143,
-0.03392229229211807,
-0.0640469342470169,
0.010409337468445301,
0.02755865640938282,
0.04988270625472069,
-0.00013925803068559617,
0.019501470029354095,
-0.0174743440002203,
0.0024633435532450676,
0.04420332983136177,
0.034846048802137375,
-0.0020014666952192783,
0.02059628814458847,
-0.00802297331392765,
0.037155430763959885,
0.030535195022821426,
0.01917644590139389,
-0.0036928770132362843,
-0.08197459578514099,
-0.01657624915242195,
-0.021708214655518532,
0.04943793639540672,
-0.08587489277124405,
-0.05511731281876564,
0.05576736107468605,
-0.06391008198261261,
0.028465302661061287,
0.01917644590139389,
0.002749878214672208,
-0.0015812868950888515,
-0.04355328157544136,
0.05641740933060646,
0.0033464692533016205,
-0.019142232835292816,
0.010742914862930775,
0.07650050520896912,
-0.013531282544136047,
0.06243891641497612,
-0.009425709955394268,
0.00021677209588233382,
-0.03303275257349014,
-0.10482895374298096,
-0.06322582066059113,
0.05860704928636551,
-0.015960413962602615,
0.02892717905342579,
0.028413983061909676,
-0.017859240993857384,
0.0025895044673234224,
0.08512220531702042,
0.029132459312677383,
-0.007372924126684666,
-0.05323559045791626,
0.056383196264505386,
0.04755621403455734,
-0.04608505219221115,
0.00929741095751524,
-0.007826247252523899,
0.025882214307785034,
0.028670581057667732,
0.1027761697769165,
0.042218971997499466,
-0.008386487141251564,
-0.012453570030629635,
0.02184506691992283,
-0.10352885723114014,
0.06490226089954376,
-0.06815250217914581,
-0.00823252834379673,
0.02661779522895813,
-0.005063539370894432,
-0.020459435880184174,
0.050840672105550766,
-0.048958953469991684,
-0.0006527219084091485,
0.009485582821071148,
0.03347752243280411,
-0.04492180794477463,
-0.06401272118091583,
0.052551329135894775,
0.010862660594284534,
-0.004285191185772419,
0.006162635516375303,
-0.02844819612801075,
0.10380256175994873,
-0.005486926529556513,
-0.018663248047232628,
0.028653474524617195,
-0.039755627512931824,
0.043348003178834915,
0.029611442238092422,
0.0473509356379509,
-0.032245852053165436,
0.03334067016839981,
0.023059632629156113,
-0.023282017558813095,
0.047487787902355194,
-0.02071603573858738,
0.004623045679181814,
-0.001991844270378351,
-0.022854354232549667,
0.03547899052500725,
-0.06904204189777374,
-0.02932063117623329,
0.017397364601492882,
0.015661047771573067,
-0.02550586871802807,
0.007603862322866917,
-0.01693548634648323,
0.010400784201920033,
-0.004691471811383963,
-0.008095676079392433,
0.019330404698848724,
0.013266131281852722,
0.010255377739667892,
-0.015173511579632759,
0.06647606194019318,
0.03534213826060295,
-0.03169844299554825,
0.014070139266550541,
0.14465300738811493,
-0.014206991530954838,
-0.045058660209178925,
0.035205285996198654,
0.01770528219640255,
0.009186218492686749,
0.0004677572869695723,
-0.011307431384921074,
0.05162757635116577,
-0.03234849125146866,
-0.02172532118856907,
-0.005679375492036343,
0.049301084131002426,
-0.039755627512931824,
-0.0337512269616127,
-0.015909094363451004,
-0.022033238783478737,
-0.030056212097406387,
0.030826007947325706,
0.02230694331228733,
-0.030381236225366592,
0.09518085420131683,
-0.06828935444355011,
-0.007646628655493259,
-0.022751715034246445,
-0.04304008558392525,
0.009827714413404465,
0.02011730521917343,
0.0034298638347536325,
0.05511731281876564,
0.017773708328604698,
-0.022939886897802353,
0.0174743440002203,
-0.033015646040439606,
0.008690129034221172,
-0.01965542882680893,
0.0029850932769477367,
-0.004285191185772419,
0.01623411849141121,
-0.01953568309545517,
0.0009162697242572904,
0.07814273238182068,
-0.009827714413404465,
0.0072617316618561745,
-0.0046273223124444485,
-0.05316716432571411,
-0.028636367991566658,
-0.04536657780408859,
0.07574781030416489,
0.02353861555457115,
-0.005670822225511074,
-0.01528470404446125,
0.017910560593008995,
-0.026104599237442017,
-0.02531769685447216,
-0.01413001213222742,
0.005927420221269131,
-0.02762708254158497,
0.011418623849749565,
0.0749266967177391,
0.039105579257011414,
0.037326496094465256,
-0.04574292153120041,
0.05617791786789894,
0.04396383836865425,
0.020219944417476654,
0.027763934805989265,
-0.037737052887678146,
0.02001466602087021,
0.05155915021896362,
0.0059701865538954735,
-0.04119257628917694,
-0.03534213826060295,
-0.03335777670145035,
0.02755865640938282,
-0.022631969302892685,
0.03457234054803848,
0.029953572899103165,
0.0305694080889225,
-0.04273216798901558,
0.019809387624263763,
-0.030347023159265518,
0.03948192298412323,
-0.014301077462732792,
0.032724834978580475,
0.01628543809056282,
-0.0006655518081970513,
-0.012137099169194698,
0.03558162972331047,
0.026925712823867798,
0.0018400235567241907,
-0.042218971997499466,
-0.04646139591932297,
-0.0038404210936278105,
-0.034264422953128815,
0.012684508226811886,
-0.008168378844857216,
-0.017320383340120316,
0.03323803097009659,
0.03151027113199234,
-0.03718964383006096,
0.014420823194086552,
0.01651637628674507,
0.032776154577732086,
-0.029474589973688126,
0.015738029032945633,
-0.006509043276309967,
0.016713101416826248,
-0.022512223571538925,
-0.0623362772166729,
0.015079425647854805,
-0.017551323398947716,
0.02054496854543686,
0.010161291807889938,
0.032673515379428864,
0.0016668196767568588,
0.005170455202460289,
-0.0028268578462302685,
0.02312805876135826,
-0.021810853853821754,
-0.0010108903516083956,
-0.01206867303699255,
0.003765579778701067,
-0.026942819356918335,
0.018252691254019737,
0.033374883234500885,
-0.028003426268696785,
0.0058932071551680565,
0.025249270722270012,
-0.04002933204174042,
0.03399071842432022,
-0.036984365433454514,
-0.03705279156565666,
0.015592622570693493,
0.026361197233200073,
0.037326496094465256,
0.04091887176036835,
0.02808895893394947,
0.007792034652084112,
-0.01782502792775631,
0.02059628814458847,
-0.008454913273453712,
-0.02762708254158497,
-0.029354844242334366,
0.028585048392415047,
0.006000123452395201,
0.0019287638133391738,
0.05268818140029907,
-0.026583582162857056,
0.05439883470535278,
-0.06811828911304474,
-0.0440322645008564,
-0.05405670404434204,
0.054912034422159195,
-0.05388563871383667,
-0.013488516211509705,
-0.03445259481668472,
0.022529330104589462,
0.013642475008964539,
-0.010452103801071644,
-0.023042526096105576,
0.016678888350725174,
0.020801568403840065,
-0.031253669410943985,
0.03411046415567398,
0.0482746921479702,
-0.055801574140787125,
-0.07383187860250473,
0.025813788175582886,
0.0169440396130085,
-0.04143207147717476,
0.0706842765212059,
0.00009662529191700742,
0.07116325944662094,
0.02324780449271202,
-0.03157869726419449,
-0.009015153162181377,
-0.01934751123189926,
0.02803763933479786,
0.08683285862207413,
-0.03770283982157707,
-0.03344330936670303,
-0.07191594690084457,
-0.03457234054803848,
0.03322092443704605,
-0.03198925405740738,
-0.03074047528207302,
-0.039105579257011414,
-0.0147544015198946,
0.04540079087018967,
0.0017897729994729161,
-0.004011486656963825,
0.0018827898893505335,
-0.004227456636726856,
-0.029696974903345108,
-0.04916423186659813,
0.007830523885786533,
-0.002865347545593977,
-0.015002446249127388,
-0.04622190445661545,
0.02059628814458847,
0.012787147425115108,
0.04365592077374458,
-0.02979961410164833,
0.033734120428562164,
-0.018098732456564903,
-0.027165204286575317,
-0.10790812969207764,
0.05720430985093117,
-0.0364711694419384,
-0.005837610922753811,
0.020579181611537933,
0.0033015646040439606,
-0.06014663726091385,
0.007894674316048622,
-0.034794729202985764,
-0.0007174060447141528,
0.014557676389813423,
0.018919846042990685,
-0.002766984747722745,
-0.013300344347953796,
-0.03298143297433853,
-0.049301084131002426,
-0.03790811821818352,
-0.012812807224690914,
0.040405675768852234,
-0.03866080939769745,
0.029115352779626846,
-0.03657380864024162,
-0.03015885129570961,
-0.04454546049237251,
-0.07191594690084457,
-0.060522980988025665,
0.03636853024363518,
0.062062572687864304,
-0.016011733561754227,
-0.01156402938067913,
-0.02177664078772068,
0.048719462007284164,
0.027644189074635506,
0.00009488790965406224,
0.04834311828017235,
-0.040816232562065125,
-0.015327471308410168,
-0.013967500068247318,
0.06849463284015656,
0.015259044244885445,
0.007774928119033575,
-0.06965788453817368,
0.00045786757254973054,
-0.019039593636989594,
-0.02136608399450779,
-0.05847019702196121,
-0.0007580341189168394,
-0.022649075835943222,
-0.014172778464853764,
-0.05521995201706886,
0.001258400734513998,
-0.03948192298412323,
-0.014711635187268257,
-0.0375317744910717,
-0.01265884842723608,
-0.015199171379208565,
0.020031772553920746,
-0.014480696059763432,
-0.036676447838544846,
-0.06479962170124054,
0.016259778290987015,
-0.03400782495737076,
0.017269063740968704,
-0.018321117386221886,
-0.029303524643182755,
0.007770651485770941,
-0.034315742552280426,
0.0015780794201418757,
-0.01322336494922638,
-0.09073315560817719,
-0.028140278533101082,
0.0397898405790329,
0.05155915021896362,
0.02194770611822605,
-0.03392229229211807,
0.04632454365491867,
0.07143696397542953,
0.0029850932769477367,
0.02738759107887745,
0.06787879765033722,
-0.03551320359110832,
-0.00947702955454588,
-0.016490716487169266,
-0.0320918932557106,
-0.025454549118876457,
-0.012017353437840939,
-0.03156159073114395,
0.03783969208598137,
-0.009348730556666851,
-0.011358750984072685,
-0.0176368560642004,
0.039208218455314636,
-0.030706262215971947,
0.02826002426445484,
0.006872557569295168,
0.04119257628917694,
-0.013266131281852722,
0.0621994249522686,
-0.008416423574090004,
0.039276644587516785,
0.00008112248178804293,
-0.0015566962538287044,
-0.006504766643047333,
-0.022529330104589462,
-0.028140278533101082,
0.02355572208762169,
0.03712121769785881,
-0.04006354510784149,
0.02962854877114296,
-0.00427663791924715,
0.025933533906936646,
-0.03436706215143204,
-0.038797661662101746,
0.05470675602555275,
0.04215054586529732,
0.017842134460806847,
-0.014010266400873661,
-0.026155918836593628,
0.057272735983133316,
0.05977029353380203,
0.019210658967494965,
-0.04225318506360054,
-0.003547471249476075,
-0.04211633279919624,
0.040987297892570496,
-0.0472140833735466,
-0.015943307429552078,
0.02815738506615162,
0.03327224403619766,
-0.0011664530029520392,
0.03221163898706436,
-0.009588222950696945,
0.028961392119526863,
0.004212488420307636,
0.04002933204174042,
-0.038044970482587814,
-0.05316716432571411,
-0.003436278784647584,
-0.012333824299275875,
-0.04215054586529732,
-0.020493648946285248,
0.03161291033029556,
-0.006136975716799498,
-0.05125122889876366,
-0.056383196264505386,
-0.024274198338389397,
0.04259531572461128,
-0.030466768890619278,
-0.023299124091863632,
-0.005191838834434748,
0.03534213826060295,
0.024872926995158195,
0.05521995201706886,
-0.014010266400873661,
0.019843600690364838,
0.013172045350074768,
-0.05330401659011841,
0.001258400734513998,
0.03436706215143204,
0.017380258068442345,
-0.0008350135758519173,
-0.06685240566730499,
0.017423024401068687,
0.00746701005846262,
-0.010041546076536179,
-0.020527862012386322,
0.006218231748789549,
-0.056041065603494644,
-0.015464323572814465,
0.007757821585983038,
-0.027353378012776375,
-0.00016718982078600675,
-0.10640275478363037,
-0.02302541956305504,
-0.021554255858063698,
0.04519551247358322,
-0.043587494641542435,
-0.007787758018821478,
-0.020869994536042213,
0.01451491005718708,
-0.002471896819770336,
-0.0004185759462416172,
0.017089445143938065,
-0.014976786449551582,
0.052790820598602295,
0.0010520529467612505,
-0.02119501866400242,
-0.05877811461687088,
0.010503423400223255,
-0.035615842789411545,
-0.05812806636095047,
0.019860707223415375,
-0.06038612872362137,
-0.04054252803325653,
0.009100685827434063,
-0.0438954122364521,
0.014771508052945137,
0.08690128475427628,
-0.012402250431478024,
0.0944281667470932,
0.04533236473798752,
0.02442815713584423,
-0.01811583898961544,
-0.04026882350444794,
0.025420336052775383,
0.01436950359493494,
-0.02454790286719799,
0.04259531572461128,
-0.010760021395981312,
0.0006580676999874413,
0.001960838446393609,
0.000636684475466609,
-0.019604109227657318,
-0.024872926995158195,
0.011889053508639336,
-0.029064033180475235,
-0.0017063785344362259,
0.03636853024363518,
-0.03453812748193741,
0.0028268578462302685,
-0.012051566503942013,
0.03464076668024063,
0.013197705149650574,
0.01716642454266548,
0.043176937848329544,
0.034965794533491135,
-0.04430596902966499,
0.051490724086761475,
0.03900294005870819,
-0.015592622570693493,
0.08785925060510635,
-0.031835295259952545,
-0.0071590919978916645,
-0.07335289567708969,
-0.01058895606547594,
-0.024941353127360344,
-0.039516136050224304,
0.06698925793170929,
-0.006325147580355406,
0.006457723677158356,
0.027353378012776375,
-0.009519796818494797,
0.013787881471216679,
-0.042697954922914505,
0.021451616659760475,
0.006107039283961058,
0.03722385689616203,
0.007146262098103762,
-0.02827713079750538,
-0.0042167650535702705,
-0.04892474040389061,
-0.012077226303517818,
-0.048719462007284164,
0.006697215139865875,
0.04208211973309517,
0.007137708831578493,
-0.02974829450249672,
-0.031886614859104156,
0.05607527866959572,
-0.055391017347574234,
-0.001486131688579917,
-0.013941840268671513,
0.018782993778586388,
-0.007278838194906712,
0.02796921320259571,
0.042218971997499466,
-0.010007333010435104,
-0.048958953469991684,
-0.010024439543485641,
-0.0316300168633461,
-0.035444777458906174,
0.039276644587516785,
-0.007744991686195135,
-0.0241373460739851,
-0.0027584314811974764,
0.016037393361330032,
-0.0051319655030965805,
-0.03948192298412323,
-0.026600688695907593,
-0.024359731003642082,
-0.06018085032701492,
0.016559142619371414,
0.027302056550979614,
0.019501470029354095,
0.01383920107036829,
0.0023179377894848585,
0.0004177740775048733,
-0.003342192620038986,
0.007851907052099705,
0.03790811821818352,
0.022614862769842148,
-0.006983750034123659,
0.0004420974582899362,
0.03465787321329117,
0.03722385689616203,
0.028020532801747322,
0.04108993709087372,
0.07684263586997986,
-0.016037393361330032,
0.07602151483297348,
-0.029765401035547256,
0.025574294850230217,
0.0016497131437063217,
-0.022238517180085182,
-0.01816715858876705,
0.004285191185772419,
0.027952106669545174,
0.022443797439336777,
0.02962854877114296,
-0.0021126591600477695,
-0.02743891067802906
] |
7,540 | hsbalance.IC_matrix | Condition |
Docstring for conditions.
Condition is defined as speed or load or operating condition that is concerned in
the balancing process.
Conditions class is meant to be used for creating multispeed-multi_condition
It is designed to arrange the conditions speeds and loads in explicit way.
| class Condition():
"""
Docstring for conditions.
Condition is defined as speed or load or operating condition that is concerned in
the balancing process.
Conditions class is meant to be used for creating multispeed-multi_condition
It is designed to arrange the conditions speeds and loads in explicit way.
"""
def __init__(self:'condition', name:'string'=''):
"""
Instantiate a conditions instance that will encapsulate all model speeds and loads
name: optional name of Alpha
"""
self.name = name
def add(self, alpha:'Alpha instance', A:'initial_vibration numpy.array'):
'''
Method to add a new condition
Args:
alpha: Alpha class instance
A: Initial vibration column array -> numpy array
'''
if isinstance(alpha, Alpha):
self.alpha = alpha
else:
raise TypeError('alpha should be class Alpha.')
try:
_A_shape = A.shape
# Test dimensions
if A.ndim != 2:
raise IndexError('A should be column vector of Mx1 dimension.')
elif _A_shape[1] != 1:
raise IndexError('A should be column vector of Mx1 dimension.')
elif _A_shape[0] != self.alpha.value.shape[0]:
raise IndexError('A and alpha should have the same 0 dimension(M).')
else:
self.A = A
except AttributeError:
raise TypeError('`A` should be passed as "numpy array"')
def _info(self):
'''
Method to summarize the results for condition.
'''
if self.name:
yield ('Name', self.name)
if self.alpha is not None:
yield ('Condition IC Matrix', str(self.alpha))
if self.A is not None:
_index = (f'Sensor {m+1}' for m in range(self.A.shape[0]))
yield ('Initial Vibration', pd.DataFrame(tools.convert_cart_math(self.A),
index=_index, columns=['Vibration']))
def __repr__(self):
'''
Method to print out condition value
'''
formatter = tools.InfoFormatter(name = 'Operation Condition', info_parameters=
self._info(), level=2)
return ''.join(formatter.info())
def save(self, file:str):
'''
Method to save condition instance.
'''
if isinstance(file, str):
self.file = file
with open(self.file, 'wb') as f:
pickle.dump(self, f)
def load(self, file:str):
'''
Method to load condition instance.
'''
if isinstance(file, str):
self.file = file
with open(self.file, 'rb') as f:
_loaded_instance = pickle.load(f)
self.add(_loaded_instance.alpha, _loaded_instance.A)
| (name: 'string' = '') | [
0.06684405356645584,
-0.025412101298570633,
-0.07718310505151749,
0.0379098579287529,
0.02185213565826416,
-0.0883932113647461,
-0.09543740004301071,
-0.016512185335159302,
-0.004026265349239111,
-0.022761063650250435,
-0.02955908514559269,
-0.005529309622943401,
-0.008748428896069527,
0.00228770449757576,
-0.05892881006002426,
-0.00195395783521235,
0.03938686475157738,
0.01992066390812397,
-0.042037904262542725,
-0.004999102093279362,
0.01140893530100584,
0.03192608430981636,
-0.02355637401342392,
0.07574397325515747,
0.0734337791800499,
0.0612768717110157,
-0.011389999650418758,
0.008005190640687943,
0.0014817414339631796,
-0.024351686239242554,
-0.02293148636817932,
0.005084313917905092,
-0.01693824492394924,
-0.03291075676679611,
0.006338823586702347,
-0.013936890289187431,
0.039992816746234894,
-0.008762630634009838,
-0.08915065228939056,
0.018604611977934837,
0.04431022331118584,
-0.04650679603219032,
0.04340129345655441,
-0.005216865800321102,
-0.03783411160111427,
-0.018358444795012474,
-0.03783411160111427,
0.02194681577384472,
0.06392791122198105,
-0.0451812781393528,
0.017695685848593712,
-0.005074846092611551,
0.038269639015197754,
0.01969343237578869,
-0.036906249821186066,
0.06673043966293335,
0.004324507433921099,
0.06502620130777359,
0.0332326665520668,
-0.03631923347711563,
-0.003015556838363409,
0.010481071658432484,
0.045370638370513916,
-0.01339721493422985,
-0.003694885643199086,
0.01103968359529972,
-0.07494866102933884,
0.04404511675238609,
-0.0006917555001564324,
0.03965196758508682,
-0.016038784757256508,
-0.04177279770374298,
0.039235375821590424,
0.00840758066624403,
-0.02323446236550808,
-0.02397296577692032,
-0.0822579488158226,
-0.03328947350382805,
0.0296537633985281,
-0.06915424764156342,
0.029312916100025177,
0.008398112840950489,
0.02633996494114399,
-0.026605069637298584,
0.02088639885187149,
-0.032513100653886795,
0.0006450072396546602,
0.0296537633985281,
0.051884617656469345,
-0.021776391193270683,
-0.07494866102933884,
0.04722636565566063,
-0.009079808369278908,
0.06082240864634514,
0.0385347455739975,
0.0035765354987233877,
-0.004468894097954035,
-0.04662041366100311,
0.008151944726705551,
-0.006291483528912067,
-0.03221012279391289,
-0.028536541387438774,
-0.010784047655761242,
0.01419252622872591,
-0.037625815719366074,
-0.04222726449370384,
-0.05355098843574524,
0.00036984359030611813,
0.004475995432585478,
-0.03338415548205376,
-0.034482441842556,
0.05824711173772812,
-0.03777730464935303,
-0.030789922922849655,
-0.006684405263513327,
-0.0346907377243042,
-0.04431022331118584,
-0.019343117251992226,
-0.06055730581283569,
-0.010888195596635342,
0.044613197445869446,
-0.006409833673387766,
-0.024881893768906593,
0.10134543478488922,
0.03236161172389984,
0.02332914248108864,
0.00798152107745409,
-0.012592434883117676,
0.043969374150037766,
-0.08975660800933838,
-0.015697937458753586,
-0.02548784576356411,
0.02401083894073963,
0.01572634093463421,
0.037455394864082336,
-0.04188641533255577,
-0.024465302005410194,
-0.012545094825327396,
-0.030335459858179092,
0.014211462810635567,
0.03169885277748108,
-0.03253203630447388,
0.003649912541732192,
-0.03823176771402359,
0.028119949623942375,
-0.032835010439157486,
0.01461858581751585,
-0.05877732113003731,
-0.05461140349507332,
0.00017042392573785037,
-0.02988099679350853,
-0.017316965386271477,
-0.03578902408480644,
-0.051695261150598526,
0.004260598216205835,
-0.02302616648375988,
-0.0036570136435329914,
-0.05748967453837395,
0.017648344859480858,
-0.050180379301309586,
-0.06949508935213089,
-0.022874679416418076,
-0.055444587022066116,
-0.017099201679229736,
0.003214384661987424,
0.03857261687517166,
-0.024616790935397148,
-0.01398423034697771,
-0.03927324712276459,
0.035183075815439224,
0.03578902408480644,
-0.03563753888010979,
-0.008014658465981483,
0.030979283154010773,
-0.10626879334449768,
0.03919750452041626,
0.019343117251992226,
0.018377380445599556,
0.06688192486763,
-0.007096263114362955,
0.004298470448702574,
0.023045102134346962,
-0.09581612050533295,
0.04048515111207962,
0.017316965386271477,
-0.02336701564490795,
0.030335459858179092,
-0.008966192603111267,
0.05730031430721283,
0.039462607353925705,
-0.012365203350782394,
-0.02978631667792797,
0.04563574120402336,
0.029369724914431572,
0.00797678716480732,
-0.0031055028084665537,
0.027267828583717346,
0.006807489320635796,
0.03414159268140793,
0.0705176368355751,
0.006831159349530935,
-0.031320132315158844,
0.027684420347213745,
0.008909384720027447,
-0.017724089324474335,
-0.023158717900514603,
0.042037904262542725,
0.020413000136613846,
-0.04218938946723938,
-0.02613166905939579,
-0.041507694870233536,
-0.04105323180556297,
0.006447705440223217,
0.003174145705997944,
0.09498293697834015,
-0.02997567690908909,
0.03544817864894867,
0.007243017200380564,
0.017269624397158623,
0.01918216049671173,
0.023177655413746834,
0.028574412688612938,
-0.06684405356645584,
0.006461907643824816,
-0.04999101907014847,
0.013728594407439232,
-0.0018947827629745007,
0.049536556005477905,
0.01414518617093563,
0.007006317377090454,
0.02624528482556343,
-0.00877683237195015,
-0.006674937438219786,
-0.02537422999739647,
0.018453124910593033,
0.026207413524389267,
-0.027400381863117218,
0.06453385949134827,
-0.029104620218276978,
-0.037625815719366074,
0.04275747016072273,
-0.020697040483355522,
0.019210563972592354,
-0.0005130470381118357,
0.018500464037060738,
-0.08286390453577042,
0.06763936579227448,
0.01982598379254341,
-0.048779115080833435,
-0.033478833734989166,
-0.02707846835255623,
-0.025639334693551064,
-0.011816059239208698,
0.024143390357494354,
-0.0033066975884139538,
-0.03374394029378891,
0.024446366354823112,
-0.037209223955869675,
0.03866729512810707,
-0.039159633219242096,
-0.005122186150401831,
-0.027438253164291382,
0.042454496026039124,
0.04271959885954857,
-0.030789922922849655,
0.007115199230611324,
0.012100099585950375,
0.02420019917190075,
0.012232651002705097,
0.0063624936155974865,
0.019106416031718254,
0.02132192812860012,
-0.07233548909425735,
0.007015785202383995,
-0.0693814754486084,
-0.003529195673763752,
-0.00011228452058276162,
-0.03342202678322792,
-0.03961409628391266,
-0.02677549421787262,
0.0002050412876997143,
-0.004677189979702234,
0.0007568479632027447,
0.01820695586502552,
-0.03671688959002495,
-0.03885665535926819,
-0.03995494544506073,
-0.04574935883283615,
0.05218759551644325,
-0.0014994939556345344,
-0.0036996195558458567,
0.014883690513670444,
0.034330952912569046,
0.001061599119566381,
0.07233548909425735,
-0.043855760246515274,
-0.023537438362836838,
-0.050066765397787094,
0.06097389757633209,
-0.051468025892972946,
0.039462607353925705,
-0.043022576719522476,
0.07354739308357239,
-0.013681254349648952,
-0.10286030918359756,
-0.011844463646411896,
0.04101536050438881,
0.013482426293194294,
-0.0032262196764349937,
-0.007148337084800005,
0.053399499505758286,
0.027267828583717346,
0.040523022413253784,
0.04946081340312958,
0.035183075815439224,
-0.01146574318408966,
-0.022685319185256958,
-0.007105731405317783,
-0.0016722847940400243,
0.08612089604139328,
-0.012223183177411556,
0.026415709406137466,
-0.007375569082796574,
-0.007048923056572676,
0.0083081666380167,
-0.06192069500684738,
0.05904242396354675,
-0.028536541387438774,
0.01418305840343237,
-0.006561321206390858,
-0.05688372254371643,
0.03802347183227539,
0.060670919716358185,
0.02978631667792797,
0.059269655495882034,
0.02077278308570385,
-0.029180364683270454,
-0.022306598722934723,
0.056921593844890594,
0.0005340541829355061,
0.05143015459179878,
0.009363848716020584,
-0.047718700021505356,
0.0411289744079113,
0.01842472143471241,
-0.058209240436553955,
0.02601805329322815,
0.017373772338032722,
0.008270294405519962,
0.04184854403138161,
-0.01323625911027193,
0.038818784058094025,
-0.00829396490007639,
0.07350952178239822,
0.022647447884082794,
-0.026529325172305107,
-0.019579816609621048,
-0.013965294696390629,
0.016644736751914024,
-0.012592434883117676,
0.06676831096410751,
0.03736071288585663,
-0.05173313245177269,
0.019115883857011795,
0.019087480381131172,
-0.022571703419089317,
-0.0278359092772007,
-0.021927880123257637,
-0.0033422026317566633,
-0.03503158688545227,
-0.012393606826663017,
-0.021776391193270683,
0.015016241930425167,
-0.03650859370827675,
0.009681026451289654,
0.03238054737448692,
-0.003893713466823101,
0.020166831091046333,
0.028082076460123062,
-0.02313978224992752,
0.06536704301834106,
-0.006769617088139057,
-0.026945916935801506,
0.01120063941925764,
0.042795341461896896,
-0.02389722317457199,
0.010187564417719841,
-0.005425161682069302,
0.02312084659934044,
0.02624528482556343,
0.01787557639181614,
-0.020924272015690804,
-0.061541974544525146,
-0.07930393517017365,
-0.01183499488979578,
-0.012743922881782055,
0.014902626164257526,
0.06714703142642975,
-0.02957802079617977,
-0.03328947350382805,
-0.03544817864894867,
-0.04359065368771553,
-0.015035177581012249,
0.037663690745830536,
-0.019314711913466454,
-0.04521914944052696,
0.06949508935213089,
0.012848070822656155,
-0.046431053429841995,
0.03616774454712868,
0.02079172059893608,
0.0467340312898159,
-0.04593871906399727,
0.009269168600440025,
-0.020602360367774963,
-0.003555232658982277,
0.05052122846245766,
-0.06567002087831497,
0.016568994149565697,
0.03726603463292122,
0.011494147591292858,
0.0903625562787056,
0.05775477737188339,
0.01701398938894272,
-0.03823176771402359,
0.05430842563509941,
-0.018159616738557816,
0.040977489203214645,
-0.02463572658598423,
0.015546449460089207,
-0.039462607353925705,
0.006319887470453978,
-0.10899557173252106,
-0.03332734853029251,
-0.004786072298884392,
-0.02654826082289219,
-0.024029774591326714,
-0.03353564441204071,
0.058436471968889236,
-0.0002544524031691253,
-0.011929675005376339,
0.0006976729491725564,
0.031755659729242325,
0.04283321648836136,
-0.09354380518198013,
-0.07320654392242432,
-0.03397117182612419,
-0.012336798943579197,
-0.00840758066624403,
-0.013804338872432709,
0.0017740657785907388,
0.08119753748178482,
0.05298290774226189,
0.028233565390110016,
0.014798478223383427,
0.019769176840782166,
-0.0296537633985281,
-0.06112538278102875,
0.01980704814195633,
-0.061428360641002655,
0.008914118632674217,
-0.009444326162338257,
-0.02399190329015255,
-0.003167044837027788,
-0.006220473442226648,
0.048589758574962616,
0.0351073294878006,
-0.01123851165175438,
-0.007967318408191204,
0.012459883466362953,
0.01398423034697771,
-0.04957442730665207,
-0.0028025268111377954,
-0.007830033078789711,
-0.02109469473361969,
0.025752950459718704,
-0.004312672186642885,
0.01660686545073986,
0.006637065205723047,
-0.04431022331118584,
0.018907587975263596,
-0.02291255071759224,
-0.03200182691216469,
0.022893615067005157,
0.00008743102807784453,
0.004165918566286564,
0.04499191790819168,
-0.00786790531128645,
0.02401083894073963,
-0.0560884103178978,
-0.05214972421526909,
0.0016308623598888516,
0.06381429731845856,
0.04468894377350807,
0.017847172915935516,
0.05116505175828934,
-0.021151503548026085,
0.027229957282543182,
0.01929577626287937,
-0.026851236820220947,
0.008923586457967758,
0.016237612813711166,
-0.09823992848396301,
-0.008057264611124992,
0.030770987272262573,
-0.05309652164578438,
-0.025431038811802864,
-0.04805954918265343,
-0.03139587491750717,
-0.006637065205723047,
-0.01833004131913185,
-0.05658074468374252,
0.014230398461222649,
0.020110024139285088,
-0.008435985073447227,
-0.02077278308570385,
-0.03150949254631996,
0.024332750588655472,
-0.04465106874704361,
0.010263307951390743,
0.01926737278699875,
-0.015385493636131287,
0.0013645750004798174,
-0.029275044798851013,
-0.05048335716128349,
0.029199300333857536,
-0.01173084694892168,
-0.05067271739244461,
0.06157984584569931,
0.029937803745269775,
-0.00022693604114465415,
-0.02687017247080803,
0.020829591900110245,
0.05934540182352066,
0.04639318212866783,
0.022533830255270004,
0.046128079295158386,
-0.0031007686629891396,
0.00006479660078184679,
-0.01482688169926405,
0.03578902408480644,
0.056505002081394196,
0.026832301169633865,
-0.051240794360637665,
0.0012935650302097201,
-0.008663216605782509,
0.009770971722900867,
0.02217404730618,
-0.02946440503001213,
0.01441028993576765,
0.02613166905939579,
0.009789908304810524,
-0.021511288359761238,
-0.019447265192866325,
0.07907670736312866,
0.020280448719859123,
0.04006855934858322,
-0.010566283948719501,
0.022685319185256958,
-0.0038440064527094364,
-0.026283157989382744,
-0.0225906390696764,
-0.005221599712967873,
-0.014997306279838085,
-0.046128079295158386,
-0.013614978641271591,
0.03972771391272545,
0.01863301731646061,
0.028214629739522934,
-0.005870157852768898,
0.03620561584830284,
-0.007891574874520302,
-0.013624446466565132,
-0.021359799429774284,
-0.014637522399425507,
0.023821478709578514,
0.010301180183887482,
0.01865195296704769,
-0.04794593155384064,
-0.0028403988108038902,
0.03991707041859627,
-0.0034487175289541483,
0.002634469885379076,
-0.068964883685112,
0.007830033078789711,
-0.030600564554333687,
-0.00893778819590807,
0.019636623561382294,
0.0467340312898159,
0.01403157040476799,
-0.01365285087376833,
0.058739449828863144,
-0.03031652420759201,
-0.03813708946108818,
-0.0009047854109667242,
0.025866566225886345,
0.009453793987631798,
-0.003391909645870328,
-0.016635268926620483,
0.03696305677294731,
-0.04404511675238609,
-0.01585889421403408,
-0.010537879541516304,
-0.012753390707075596,
-0.025942308828234673,
-0.04616595059633255,
-0.0007254852098412812,
-0.004457059316337109,
0.01065149623900652,
0.015660066157579422,
0.03885665535926819,
-0.0011089390609413385,
0.012005419470369816,
-0.004852348007261753,
0.028991004452109337,
-0.012450414709746838,
-0.04790806025266647,
0.010471603833138943,
0.05464927479624748,
0.022874679416418076,
-0.00845965463668108,
0.013302534818649292,
-0.0041020093485713005,
0.00553877791389823,
-0.010244372300803661,
-0.031963955610990524,
0.014978369697928429,
-0.09286210685968399,
0.03162310644984245,
-0.03781517595052719,
0.07017678767442703,
0.01681516133248806,
0.03751220181584358,
-0.032929692417383194,
-0.03351670503616333,
-0.028744837269186974,
0.017818769440054893,
0.04078812897205353,
-0.0013811439275741577,
0.027021661400794983,
0.037966664880514145,
-0.03211544454097748,
0.0018225893145427108,
0.0035741685424000025,
0.00893778819590807,
0.02058342471718788,
-0.018689824268221855,
-0.037114545702934265,
0.046431053429841995,
0.012857538647949696,
-0.06695766746997833,
0.004083073232322931,
-0.04915783554315567,
-0.014703798107802868,
-0.040977489203214645,
0.0013042164500802755,
0.018386848270893097,
0.006353025324642658,
0.006698607467114925,
0.023101910948753357,
-0.07362313568592072,
0.02045087143778801,
0.017269624397158623,
-0.04188641533255577,
0.03705773875117302,
-0.019220031797885895,
0.06290536373853683,
0.01905907690525055,
-0.0012947485083714128,
0.04885486140847206,
-0.01831110566854477,
-0.007479717023670673,
0.011266915127635002,
-0.00560031970962882,
-0.009714163839817047,
0.003081832779571414,
0.00925496593117714,
-0.029956739395856857,
0.0548386350274086,
-0.006177867762744427,
0.03705773875117302,
0.04586297273635864,
0.015110922046005726,
-0.03387648984789848,
0.06665469706058502,
0.04040940850973129,
-0.018689824268221855,
0.0007325861952267587,
-0.0033706065732985735,
-0.06070879101753235,
-0.04241662472486496,
0.06726064532995224,
0.027495061978697777,
-0.02493870258331299,
0.006878499407321215,
-0.04703700542449951,
-0.01905907690525055,
-0.023537438362836838,
-0.006651267409324646,
-0.0003210242430213839,
0.02408658154308796,
-0.019409392029047012,
-0.02796846069395542,
0.020924272015690804,
0.0021717215422540903,
0.024503175169229507,
-0.058853063732385635,
0.017496857792139053,
0.021700646728277206,
-0.02829037234187126,
0.05711095407605171,
0.15209388732910156,
0.018680356442928314,
-0.028669092804193497,
0.026396773755550385,
0.03408478572964668,
-0.020413000136613846,
0.01419252622872591,
-0.051354411989450455,
0.04317406192421913,
-0.025128062814474106,
0.05881519243121147,
0.02688910998404026,
-0.048589758574962616,
-0.04109110310673714,
0.042037904262542725,
0.010225435718894005,
-0.03457712382078171,
0.0062488773837685585,
0.018917055800557137,
0.0011124896118417382,
0.034444570541381836,
-0.05506586655974388,
0.015489641577005386,
0.013009026646614075,
-0.07059337943792343,
0.004400251433253288,
-0.015442301519215107,
0.04340129345655441,
0.0898323506116867,
0.01638910174369812,
-0.004932825919240713,
0.00569973373785615,
-0.004502032417804003,
-0.02291255071759224,
0.012857538647949696,
0.01350136287510395,
0.05995135381817818,
-0.010168627835810184,
-0.04733997955918312,
0.0411289744079113,
-0.003839272540062666,
0.01736430451273918,
0.011541487649083138,
0.060898151248693466,
-0.04037153720855713,
0.059610504657030106,
-0.02312084659934044,
-0.003176512662321329,
-0.08407580852508545,
-0.004644052125513554,
-0.03662221133708954,
0.02935078926384449,
0.07381249964237213,
0.0018332407344132662,
0.03599731996655464,
-0.031206516548991203,
0.02313978224992752
] |
7,541 | hsbalance.IC_matrix | __init__ |
Instantiate a conditions instance that will encapsulate all model speeds and loads
name: optional name of Alpha
| def __init__(self:'condition', name:'string'=''):
"""
Instantiate a conditions instance that will encapsulate all model speeds and loads
name: optional name of Alpha
"""
self.name = name
| (self: 'condition', name: 'string' = '') | [
0.043617669492959976,
0.00038335841963998973,
-0.03343064710497856,
-0.021521877497434616,
-0.028355073183774948,
-0.0607275627553463,
-0.05222642049193382,
0.0020849318243563175,
0.0391339473426342,
-0.012213665060698986,
-0.007815131917595863,
0.028911054134368896,
-0.010151151567697525,
0.0252344012260437,
-0.0406046062707901,
-0.021916445344686508,
0.02586212195456028,
0.046881821006536484,
-0.051042716950178146,
-0.04429919645190239,
0.006931837648153305,
0.0574275404214859,
-0.00019588270515669137,
0.042003531008958817,
0.06836783140897751,
0.10187021642923355,
-0.012653070501983166,
0.03208553045988083,
-0.01781832054257393,
-0.03655132278800011,
-0.010859580710530281,
0.01309247501194477,
0.011953609064221382,
0.03683827817440033,
0.013307694345712662,
-0.003017546609044075,
0.004387324210256338,
0.041680701076984406,
-0.12532906234264374,
-0.0020793271251022816,
0.05315903574228287,
-0.007712006103247404,
-0.009989737533032894,
0.005245957523584366,
-0.032139334827661514,
-0.029144208878278732,
-0.01439275499433279,
-0.007801680359989405,
0.05401990935206413,
-0.02713550068438053,
0.0065372702665627,
0.042003531008958817,
0.04013830050826073,
-0.007411596365272999,
-0.039636123925447464,
0.023171886801719666,
-0.008451820351183414,
0.1045963242650032,
0.010662296786904335,
0.028839314356446266,
-0.00029676652047783136,
0.019405558705329895,
0.031063241884112358,
-0.027153434231877327,
-0.03698175773024559,
-0.0031812023371458054,
-0.06858304888010025,
0.027225174009799957,
0.009864193387329578,
0.054414477199316025,
-0.01170252077281475,
-0.02234688214957714,
0.0036093981470912695,
0.04013830050826073,
0.00559568777680397,
-0.03838067874312401,
-0.08716360479593277,
0.002191420178860426,
0.024194177240133286,
-0.04257744550704956,
0.009648974984884262,
0.015558523125946522,
-0.05545470118522644,
-0.02611321024596691,
-0.011164473369717598,
-0.04203939810395241,
-0.05154489353299141,
-0.0365871898829937,
0.0607275627553463,
-0.00620099063962698,
-0.09785280376672745,
0.03866763785481453,
-0.0409633070230484,
0.05484491586685181,
0.026202885434031487,
0.03578012064099312,
0.035134464502334595,
-0.07292329519987106,
0.0036519935820251703,
0.015468848869204521,
-0.01613244041800499,
0.005914032459259033,
-0.015531620942056179,
-0.023315366357564926,
-0.029933344572782516,
-0.07141675800085068,
-0.03863177075982094,
-0.03737632557749748,
0.008604266680777073,
-0.0005243155173957348,
-0.00007489221025025472,
0.008223150856792927,
-0.02026643417775631,
0.022400686517357826,
-0.01678706333041191,
-0.035977404564619064,
-0.02469635382294655,
-0.04049699753522873,
-0.009066090919077396,
-0.02220340259373188,
0.020678937435150146,
0.001100754365324974,
-0.04677421227097511,
0.08242879062891006,
0.06646672636270523,
0.056315578520298004,
-0.016249017789959908,
-0.031063241884112358,
0.025001246482133865,
-0.0479220449924469,
0.03362793102860451,
-0.024265917018055916,
-0.0052011203952133656,
-0.013056605122983456,
0.041824180632829666,
-0.027745286002755165,
0.004743780475109816,
0.0270637609064579,
-0.015253630466759205,
0.06140908971428871,
-0.0033179561141878366,
0.03938503563404083,
-0.01744168810546398,
-0.05405578017234802,
-0.027422457933425903,
-0.03708936646580696,
-0.03465022146701813,
-0.058073196560144424,
-0.014383787289261818,
0.015567490831017494,
-0.013038670644164085,
0.015540588647127151,
-0.022831125184893608,
0.018490878865122795,
-0.03294640779495239,
-0.018194952979683876,
-0.037950243800878525,
-0.06643085926771164,
0.02801430970430374,
-0.017800385132431984,
-0.0391339473426342,
-0.017181631177663803,
-0.056602537631988525,
-0.05696123465895653,
0.01745065487921238,
-0.0015345546416938305,
-0.05606449022889137,
-0.02882138080894947,
0.00596335344016552,
0.03029204159975052,
-0.0004153049667365849,
-0.03909807652235031,
0.002753006760030985,
0.04110678657889366,
-0.03730458766222,
0.012446818873286247,
0.002058029407635331,
0.03920568525791168,
0.03576218709349632,
-0.04071221873164177,
0.05039706081151962,
0.032318685203790665,
-0.0768330991268158,
0.034291524440050125,
0.05498839542269707,
-0.03167302906513214,
-0.004645138513296843,
0.0420752689242363,
0.014222373254597187,
0.03240836039185524,
0.024499069899320602,
-0.005703297443687916,
0.020840350538492203,
0.0037394261453300714,
0.0011259752791374922,
-0.01835636794567108,
0.052907947450876236,
0.0024794996716082096,
0.008241085335612297,
0.08809621632099152,
-0.023638194426894188,
0.013782968744635582,
-0.025700708851218224,
0.01690364070236683,
0.047312259674072266,
0.009846258908510208,
0.07841137051582336,
0.0016029314137995243,
-0.04440680518746376,
-0.04634377360343933,
-0.06399171054363251,
-0.001716145547106862,
0.0012991591356694698,
0.021898509934544563,
0.05000249296426773,
-0.035905662924051285,
0.0009326146682724357,
0.0013518428895622492,
0.03558283671736717,
0.03744806721806526,
0.033484455198049545,
0.024158306419849396,
0.007478852290660143,
-0.022687645629048347,
-0.0076940711587667465,
-0.006308600306510925,
-0.02055339328944683,
0.018885446712374687,
-0.024427330121397972,
0.001920154900290072,
-0.0016074151499196887,
-0.02487570233643055,
0.027565937489271164,
-0.01477835513651371,
-0.0058557442389428616,
0.0018876479007303715,
-0.02121698297560215,
0.034578483551740646,
-0.08529837429523468,
-0.07102219015359879,
0.04964379593729973,
0.012769646942615509,
-0.03518826887011528,
0.0040017240680754185,
0.012276437133550644,
-0.06589281558990479,
0.02392515353858471,
0.02684854157269001,
-0.02787083014845848,
-0.043653540313243866,
-0.0035847376566380262,
-0.01007941272109747,
-0.019118601456284523,
0.04440680518746376,
-0.029054533690214157,
0.007761327084153891,
-0.01170252077281475,
-0.05710471421480179,
0.048998139798641205,
-0.03673066943883896,
-0.03276705741882324,
0.004306617192924023,
-0.0007442982168868184,
0.062341704964637756,
-0.016804998740553856,
-0.008846388198435307,
0.006066479254513979,
0.006205474492162466,
-0.024230046197772026,
-0.024624614045023918,
0.09978976845741272,
0.0010654450161382556,
-0.003235007170587778,
0.012231600470840931,
-0.031045308336615562,
-0.04451441392302513,
0.012339209206402302,
-0.020391978323459625,
-0.0749678686261177,
-0.020535457879304886,
0.037770893424749374,
-0.00481103640049696,
0.01108376681804657,
0.02347678132355213,
-0.013540847226977348,
-0.05749928206205368,
-0.012966930866241455,
0.00213985750451684,
-0.03276705741882324,
-0.01697538048028946,
0.0018932525999844074,
0.02347678132355213,
0.034112174063920975,
0.006635912228375673,
0.07005371153354645,
-0.04028178006410599,
0.0013955591712146997,
-0.017352012917399406,
0.04494485259056091,
-0.04046113044023514,
0.06883413344621658,
-0.058467764407396317,
0.06413519382476807,
0.014204438775777817,
-0.08135269582271576,
-0.015397109091281891,
-0.007052898406982422,
0.027494197711348534,
0.004887259565293789,
-0.0024996763095259666,
0.04476550221443176,
0.05405578017234802,
-0.011523171328008175,
0.058467764407396317,
0.011774260550737381,
0.04451441392302513,
-0.003938951995223761,
-0.03407630696892738,
0.0031296396628022194,
0.08773751556873322,
-0.021199049428105354,
0.009613105095922947,
-0.02040991373360157,
-0.03931329399347305,
-0.03434532880783081,
-0.049249228090047836,
0.014356885105371475,
-0.012966930866241455,
-0.007613364141434431,
0.006380339618772268,
-0.0654623731970787,
0.04372527822852135,
0.05419925972819328,
-0.012321274727582932,
-0.039600253105163574,
0.013612587004899979,
0.005228022579103708,
0.011218278668820858,
0.021486006677150726,
-0.035098593682050705,
0.08163965493440628,
-0.02329743094742298,
-0.040030691772699356,
0.03873937949538231,
0.00714257312938571,
-0.036371972411870956,
0.01155904121696949,
-0.025736577808856964,
0.08472445607185364,
0.011505236849188805,
-0.03194205090403557,
0.004779650364071131,
0.02026643417775631,
0.043617669492959976,
0.06646672636270523,
-0.010043542832136154,
0.0028897603042423725,
0.008765680715441704,
-0.007851001806557178,
-0.05699710547924042,
0.09605930745601654,
0.015181890688836575,
-0.04268505424261093,
0.012213665060698986,
0.022257206961512566,
-0.002286699367687106,
0.062341704964637756,
-0.01161284651607275,
0.005591204389929771,
-0.03578012064099312,
-0.038165461272001266,
-0.023351237177848816,
0.00605302769690752,
-0.02392515353858471,
-0.015406076796352863,
0.01247372105717659,
0.017692776396870613,
-0.005792971700429916,
0.005752618424594402,
-0.024965377524495125,
0.017916962504386902,
0.01099409256130457,
0.02125285379588604,
0.02188057452440262,
0.01799766905605793,
-0.029036598280072212,
-0.03468609228730202,
0.04623616486787796,
0.03859589993953705,
0.04411984607577324,
0.0501101016998291,
-0.041824180632829666,
-0.02882138080894947,
-0.035833925008773804,
-0.01309247501194477,
-0.001148954383097589,
-0.023315366357564926,
0.01421340648084879,
-0.06643085926771164,
0.020822415128350258,
-0.009290277026593685,
-0.0555981807410717,
0.015594393014907837,
0.029502905905246735,
-0.03716110810637474,
-0.011603878811001778,
0.07934398949146271,
0.03353825956583023,
-0.019961541518568993,
0.03375347703695297,
-0.003230523318052292,
0.0006400516722351313,
-0.09075058251619339,
-0.02622082084417343,
0.0018136665457859635,
0.0038335842546075583,
0.12640516459941864,
-0.04576985910534859,
-0.0026924763806164265,
0.005062124691903591,
0.009953867644071579,
0.02403276227414608,
0.06671781837940216,
0.041752442717552185,
0.008299374021589756,
0.05534709244966507,
0.03613881766796112,
0.03884698823094368,
-0.0019235177896916866,
0.005488078575581312,
-0.07984616607427597,
0.022436557337641716,
-0.0592569001019001,
-0.06090691313147545,
0.02385341376066208,
0.004793101456016302,
-0.012446818873286247,
-0.07503961026668549,
0.03873937949538231,
-0.021934378892183304,
-0.037735022604465485,
-0.017074022442102432,
0.009092993102967739,
0.036407843232154846,
-0.08364836126565933,
-0.04576985910534859,
-0.03445293754339218,
0.014724550768733025,
0.015935156494379044,
-0.06076343357563019,
-0.017056087031960487,
0.0676863044500351,
0.0731743797659874,
-0.008433885872364044,
0.04397637024521828,
-0.032318685203790665,
-0.0486394427716732,
-0.025001246482133865,
0.010877515189349651,
-0.048711180686950684,
-0.008021382614970207,
0.015926189720630646,
0.004028626251965761,
-0.01715472899377346,
-0.02213166281580925,
0.09541365504264832,
0.023315366357564926,
0.002208234276622534,
0.010204956866800785,
-0.032426293939352036,
-0.014590038917958736,
-0.01799766905605793,
-0.006192023400217295,
0.015092216432094574,
-0.02622082084417343,
0.007429531309753656,
0.011361757293343544,
-0.0008205215563066304,
0.009079542011022568,
-0.04128613322973251,
0.02984366938471794,
-0.04053286835551262,
-0.015755807980895042,
0.06643085926771164,
0.003918774891644716,
-0.020069150254130363,
0.0054297903552651405,
-0.020212629809975624,
0.008155894465744495,
-0.027350718155503273,
-0.06374062597751617,
0.0270637609064579,
0.05932864174246788,
0.009299244731664658,
0.012025348842144012,
0.0391339473426342,
-0.004990385379642248,
0.04770682752132416,
-0.011639748699963093,
0.0021477038972079754,
-0.0018708340357989073,
-0.015827547758817673,
-0.08285922557115555,
-0.023727869614958763,
0.019297949969768524,
-0.04637964442372322,
-0.04311549291014671,
-0.041573092341423035,
-0.014796290546655655,
-0.006461046636104584,
0.021719161421060562,
-0.02618495002388954,
0.01353188045322895,
0.028444746509194374,
0.025539293885231018,
-0.027153434231877327,
-0.03274912387132645,
0.015271564945578575,
-0.041895922273397446,
0.010608491487801075,
0.008456303738057613,
-0.01587238349020481,
0.017683809623122215,
-0.04824487492442131,
-0.00846975576132536,
-0.004972450435161591,
0.005228022579103708,
-0.03240836039185524,
0.06535476446151733,
0.030919762328267097,
0.05534709244966507,
-0.037770893424749374,
-0.02336917072534561,
0.04203939810395241,
0.01913653500378132,
0.06481672078371048,
-0.02702789008617401,
0.016473203897476196,
-0.02557516284286976,
0.0121598606929183,
0.06090691313147545,
0.0555981807410717,
0.07116567343473434,
-0.03482957184314728,
0.02527027018368244,
-0.021593617275357246,
-0.0354931615293026,
0.023602325469255447,
-0.0446220263838768,
0.0034793701488524675,
-0.010751971043646336,
-0.020427847281098366,
-0.09318972378969193,
-0.054593827575445175,
0.022956669330596924,
0.0020221597515046597,
0.008021382614970207,
-0.04487311467528343,
0.010778873227536678,
0.03931329399347305,
0.008084154687821865,
-0.010222891345620155,
0.027189305052161217,
0.03863177075982094,
-0.05986668914556503,
-0.01789006032049656,
0.026687126606702805,
-0.014814225025475025,
0.0223110131919384,
0.01616830937564373,
0.025987666100263596,
-0.0515807643532753,
0.03490130975842476,
0.056566666811704636,
-0.014338950626552105,
0.01858055405318737,
0.041608963161706924,
0.05427100136876106,
-0.05954385921359062,
-0.02860616147518158,
0.038237202912569046,
0.011119636707007885,
-0.05739167332649231,
-0.0537688210606575,
-0.018849577754735947,
-0.043223101645708084,
0.012581330724060535,
0.03870350867509842,
0.011594911105930805,
-0.016266951337456703,
0.01340633537620306,
0.036371972411870956,
-0.021629486232995987,
0.007770294323563576,
-0.02318982221186161,
-0.0034659188240766525,
-0.006577623542398214,
-0.05348186567425728,
-0.03201379254460335,
0.03409424051642418,
-0.03916981443762779,
0.010429142974317074,
-0.02977192960679531,
0.04021003842353821,
0.0112451808527112,
-0.006546237505972385,
-0.02058926224708557,
0.0008782495278865099,
-0.015352272428572178,
0.0036856213118880987,
0.0512220673263073,
-0.027530066668987274,
-0.008438369259238243,
0.028767574578523636,
0.01690364070236683,
-0.02607734128832817,
-0.011675618588924408,
0.02333330176770687,
0.0654982477426529,
-0.004748264327645302,
-0.043581802397966385,
0.03167302906513214,
0.02227514237165451,
0.041680701076984406,
-0.03734045475721359,
-0.015056346543133259,
0.01384574081748724,
-0.08988970518112183,
-0.005990255624055862,
-0.06592868268489838,
0.05168837308883667,
0.018455009907484055,
-0.012626167386770248,
-0.043402452021837234,
-0.05599274858832359,
-0.007541624363511801,
0.0159082543104887,
0.01938762329518795,
0.00490071065723896,
0.03043552115559578,
-0.013630522415041924,
0.013137312605977058,
0.031009437516331673,
0.056172098964452744,
-0.03610294684767723,
0.04397637024521828,
-0.028373008593916893,
-0.04960792511701584,
0.029431166127324104,
0.004748264327645302,
-0.051042716950178146,
0.028032245114445686,
-0.02761974185705185,
0.029718125239014626,
0.012043283320963383,
0.02666919305920601,
-0.015773741528391838,
-0.01370226126164198,
0.039887212216854095,
-0.0493927076458931,
-0.07647440582513809,
-0.002461564727127552,
0.024642549455165863,
0.0010430263355374336,
0.015325370244681835,
-0.009151281788945198,
0.014204438775777817,
-0.07410699874162674,
-0.03280292823910713,
0.03952851518988609,
-0.039636123925447464,
0.03226488083600998,
0.011863934807479382,
-0.029933344572782516,
0.002143220277503133,
0.011935674585402012,
0.018831642344594002,
-0.030812153592705727,
0.0848679319024086,
-0.01163078099489212,
0.023530585691332817,
-0.01825772598385811,
0.02245449088513851,
-0.05007423460483551,
0.04275679588317871,
0.06607215851545334,
-0.04214701056480408,
0.023387106135487556,
0.04483724385499954,
-0.041608963161706924,
-0.05161663517355919,
0.023907218128442764,
-0.01025876123458147,
0.014894932508468628,
0.034040436148643494,
-0.056494925171136856,
-0.03407630696892738,
-0.041465483605861664,
0.004255054518580437,
0.03389695659279823,
0.04447854682803154,
-0.000818840169813484,
-0.05183185264468193,
-0.020732741802930832,
-0.003817891236394644,
0.012518558651208878,
-0.0018988572992384434,
-0.0006198749179020524,
0.07034067064523697,
-0.03353825956583023,
0.03560077026486397,
0.1035202294588089,
-0.00023357401369139552,
-0.0541275218129158,
0.033340975642204285,
0.0358518585562706,
0.021629486232995987,
0.02776322141289711,
-0.04250570759177208,
0.03065074048936367,
0.03852415829896927,
0.017934897914528847,
0.007093252148479223,
-0.05688949301838875,
0.0018697130726650357,
0.013496010564267635,
-0.07640266418457031,
-0.023835478350520134,
0.017289241775870323,
0.01917240582406521,
0.010016640648245811,
0.03248009830713272,
-0.07963094115257263,
0.01606070064008236,
0.005972320679575205,
-0.05115032568573952,
0.02801430970430374,
-0.0018954945262521505,
0.03240836039185524,
0.07066349685192108,
-0.014114764519035816,
0.04386875778436661,
0.015083248727023602,
-0.012895191088318825,
-0.020320238545536995,
0.027296913787722588,
0.02944910153746605,
0.02849855273962021,
0.02044578269124031,
0.02040991373360157,
0.037663284689188004,
0.008810518309473991,
0.028103984892368317,
0.007025996223092079,
0.043294843286275864,
-0.03716110810637474,
0.030381716787815094,
0.00631756754592061,
-0.022041989490389824,
-0.03036378137767315,
-0.02561103366315365,
-0.029108338057994843,
0.0431513637304306,
0.025342009961605072,
0.006241344381123781,
-0.02381754294037819,
0.025503424927592278,
0.02304634265601635
] |
7,542 | hsbalance.IC_matrix | __repr__ |
Method to print out condition value
| def __repr__(self):
'''
Method to print out condition value
'''
formatter = tools.InfoFormatter(name = 'Operation Condition', info_parameters=
self._info(), level=2)
return ''.join(formatter.info())
| (self) | [
0.05592077970504761,
-0.02074480429291725,
0.05381055921316147,
-0.011070135980844498,
0.055410243570804596,
-0.08236657828092575,
-0.017494387924671173,
-0.06197914853692055,
0.03648634999990463,
-0.075219064950943,
0.014329061843454838,
-0.0016156357014551759,
0.02179991453886032,
-0.04063871502876282,
-0.01912810653448105,
0.009172641672194004,
0.008355783298611641,
-0.07222391664981842,
0.004479959141463041,
0.021459557116031647,
0.015894707292318344,
0.01609041355550289,
0.028709176927804947,
-0.012635781429708004,
0.0691947340965271,
0.0356014221906662,
-0.03566949442028999,
-0.025441741570830345,
-0.015613911673426628,
-0.013818524777889252,
-0.06776522845029831,
-0.042136289179325104,
0.0007572959875687957,
-0.031585197895765305,
0.007743138819932938,
0.054491277784109116,
0.007836737670004368,
0.0017719875322654843,
-0.05115577206015587,
0.0033631599508225918,
-0.013333515264093876,
-0.020949019119143486,
-0.05197262763977051,
-0.011027591302990913,
-0.060583680868148804,
-0.05619306489825249,
0.039549570530653,
0.008172840811312199,
0.020064089447259903,
-0.05704395845532417,
0.03238504007458687,
0.04982837662100792,
-0.010517054237425327,
-0.0058754258789122105,
-0.06776522845029831,
-0.0494539812207222,
0.029032517224550247,
0.005615903064608574,
0.02394416742026806,
0.021442538127303123,
-0.012831487692892551,
0.0684799775481224,
-0.0034801580477505922,
-0.004956459626555443,
-0.007815465331077576,
-0.003371668979525566,
-0.04931784048676491,
0.03767760470509529,
-0.00435445224866271,
0.009053516201674938,
-0.013954668305814266,
-0.03999203443527222,
-0.014329061843454838,
0.0014688564697280526,
-0.038936927914619446,
-0.06769715994596481,
-0.045812152326107025,
-0.006449779495596886,
0.009640633128583431,
-0.08100514858961105,
-0.011980593204498291,
0.00587117113173008,
0.03791585564613342,
-0.03543124347925186,
0.0048245713114738464,
-0.06027735769748688,
0.002807951532304287,
0.01399721298366785,
0.013486675918102264,
0.03978782147169113,
-0.04506336525082588,
0.028556015342473984,
-0.041727859526872635,
0.032929614186286926,
0.013690890744328499,
0.03187450394034386,
0.014167391695082188,
-0.028283730149269104,
0.0035992832854390144,
0.013844051398336887,
0.013631328009068966,
-0.01669454760849476,
-0.006947552785277367,
-0.0150012681260705,
-0.025816135108470917,
-0.022106235846877098,
-0.055818673223257065,
0.019077051430940628,
0.015120393596589565,
-0.028828302398324013,
0.008691886439919472,
0.02550981380045414,
-0.014618365094065666,
-0.09407488256692886,
0.06327250599861145,
0.012865522876381874,
-0.029611123725771904,
-0.030853429809212685,
-0.015835143625736237,
-0.01950250007212162,
0.024250490590929985,
-0.03027482144534588,
0.031687308102846146,
0.0021974346600472927,
-0.0322999507188797,
0.06602940708398819,
-0.0573502816259861,
0.015324607491493225,
0.017732638865709305,
-0.07596784830093384,
0.0454377606511116,
-0.06197914853692055,
0.009487472474575043,
0.012406039983034134,
0.04428054392337799,
-0.04887537285685539,
-0.005390415899455547,
0.010176696814596653,
0.005326598882675171,
0.11265841871500015,
0.021510610356926918,
-0.041727859526872635,
-0.07705699652433395,
-0.0022250888869166374,
-0.006892244331538677,
-0.05421898886561394,
-0.021680789068341255,
0.02867514081299305,
0.04424650967121124,
-0.03532913327217102,
0.03211275488138199,
0.01853247918188572,
-0.0029547307640314102,
-0.06575711816549301,
0.004071529489010572,
0.025067348033189774,
0.038970962166786194,
-0.08665508776903152,
0.053334061056375504,
-0.04315736144781113,
-0.03216380625963211,
-0.061502646654844284,
-0.01728166453540325,
-0.029355855658650398,
0.012601746246218681,
0.06225143373012543,
-0.0013603674015030265,
-0.012993156909942627,
0.02212325483560562,
0.033746469765901566,
0.024471722543239594,
-0.05285755917429924,
-0.014039757661521435,
0.047105513513088226,
-0.055444277822971344,
0.03832428157329559,
0.010585126467049122,
0.09427909553050995,
-0.013290970586240292,
-0.03863060474395752,
0.00887482799589634,
-0.006224292330443859,
-0.08454486727714539,
0.0382562130689621,
0.023382578045129776,
-0.08937794715166092,
0.0356014221906662,
-0.043055254966020584,
0.01812404952943325,
0.0009030116489157081,
0.009147115051746368,
-0.020863929763436317,
0.03682670742273331,
0.04189803823828697,
-0.024846116080880165,
-0.0857701525092125,
0.010780831798911095,
-0.04142154008150101,
0.05125787854194641,
0.011784886941313744,
0.000022851167159387842,
0.021544646471738815,
-0.03350822255015373,
0.08189007639884949,
0.011419002898037434,
-0.003065346973016858,
0.05639728158712387,
0.038970962166786194,
-0.012482620775699615,
-0.005752046126872301,
-0.016864726319909096,
0.009189659729599953,
-0.01831124722957611,
0.031091680750250816,
0.01982583850622177,
0.018413353711366653,
0.011333913542330265,
0.0178007110953331,
-0.08992251753807068,
0.05282352492213249,
0.005301071796566248,
-0.037779711186885834,
0.08842494338750839,
-0.03682670742273331,
-0.05044101923704147,
-0.00016153698379639536,
0.02445470541715622,
0.02326345257461071,
0.016592441126704216,
-0.023603809997439384,
0.045914262533187866,
0.010176696814596653,
-0.0037460625171661377,
0.014346078969538212,
-0.04179593175649643,
0.009895902127027512,
-0.056635528802871704,
0.033423133194446564,
-0.007194311823695898,
0.000415874645113945,
0.0026888262946158648,
0.020030053332448006,
0.0247269906103611,
0.016839200630784035,
0.04982837662100792,
-0.12484322488307953,
0.034801580011844635,
0.03529509902000427,
0.008202621713280678,
-0.025407705456018448,
-0.011010573245584965,
-0.057690639048814774,
-0.03621406480669975,
-0.04904555156826973,
0.009998008608818054,
-0.0023612319491803646,
-0.010423456318676472,
-0.016703056171536446,
0.06310232728719711,
0.02891339175403118,
-0.03184046968817711,
0.021306395530700684,
0.0038268975913524628,
-0.008462144993245602,
-0.007743138819932938,
-0.014805561862885952,
-0.05500181391835213,
-0.011112680658698082,
0.030257804319262505,
0.013750453479588032,
0.07412991672754288,
-0.002085754880681634,
-0.06807155162096024,
0.02739879861474037,
-0.06970527023077011,
-0.045812152326107025,
0.01669454760849476,
-0.019434427842497826,
-0.059392429888248444,
-0.04571004584431648,
0.04169382527470589,
0.015477769076824188,
-0.04169382527470589,
0.013290970586240292,
-0.032963648438453674,
-0.0159883052110672,
0.021527627483010292,
0.0015422460855916142,
0.02436961606144905,
0.013325005769729614,
-0.018838802352547646,
0.057554494589567184,
0.027381781488656998,
-0.010066080838441849,
0.05064523220062256,
-0.0362480990588665,
0.06106018275022507,
-0.055410243570804596,
0.012176298536360264,
-0.008134550414979458,
0.02904953435063362,
-0.034393150359392166,
-0.022055182605981827,
-0.003050456289201975,
-0.057554494589567184,
0.030496055260300636,
0.05646535009145737,
0.04662901163101196,
-0.03573756292462349,
-0.013792998157441616,
-0.00810051430016756,
0.011461547575891018,
0.058337319642305374,
0.005173437763005495,
-0.007360236253589392,
0.022838005796074867,
-0.034886669367551804,
-0.01817510463297367,
0.009274749085307121,
0.07569556683301926,
-0.01229542400687933,
0.03473350778222084,
0.0012784688733518124,
0.004871370270848274,
-0.022838005796074867,
-0.1001332476735115,
-0.0166349858045578,
-0.013597291894257069,
0.023093273863196373,
0.04799044504761696,
-0.027875300496816635,
0.0034461221657693386,
0.0691947340965271,
0.04312332719564438,
0.05061119794845581,
0.020166197791695595,
0.008019679225981236,
-0.01562242116779089,
-0.050168734043836594,
-0.018021943047642708,
0.029747268185019493,
0.0006982652121223509,
-0.03051307238638401,
0.017247628420591354,
-0.014039757661521435,
0.006020077969878912,
-0.021765878424048424,
0.03405279293656349,
0.05330002307891846,
0.0038077523931860924,
-0.027279673144221306,
0.04649287089705467,
0.0014475841308012605,
0.022038165479898453,
0.00599880563095212,
0.00015090079978108406,
-0.012925085611641407,
-0.0010354320984333754,
0.021306395530700684,
0.05731624737381935,
0.1147005632519722,
0.03304873779416084,
0.03207871690392494,
0.028147585690021515,
-0.020302340388298035,
-0.028573034331202507,
0.02840285375714302,
0.04516547545790672,
0.04057064279913902,
-0.017145521938800812,
-0.051223840564489365,
-0.029202695935964584,
0.04322543367743492,
-0.05326598882675171,
-0.04312332719564438,
0.08025635778903961,
0.0011316895252093673,
-0.0339166484773159,
-0.034257009625434875,
-0.04914765805006027,
0.03311681002378464,
0.030853429809212685,
-0.04959012567996979,
-0.00838556420058012,
-0.01757947728037834,
0.0035822654608637094,
-0.02950901724398136,
0.02978130429983139,
0.009079042822122574,
0.024012239649891853,
-0.014150373637676239,
-0.012882540933787823,
-0.036043886095285416,
-0.009512999095022678,
-0.011155225336551666,
-0.01523100957274437,
0.024216454476118088,
0.0016018087044358253,
-0.04523354396224022,
-0.007058168761432171,
-0.010908465832471848,
0.010525563731789589,
0.0019666296429932117,
-0.021578680723905563,
-0.016805164515972137,
-0.05231298506259918,
0.01931530237197876,
0.020659714937210083,
-0.022497648373246193,
-0.0046841735020279884,
0.007292164955288172,
-0.0342399887740612,
-0.044076330959796906,
-0.007475106976926327,
-0.0296451598405838,
-0.019893910735845566,
0.014746000058948994,
0.02404627576470375,
0.006747592706233263,
0.001099781016819179,
-0.0006647612317465246,
0.007564451079815626,
0.04244261234998703,
0.05050909146666527,
0.014584329910576344,
0.03978782147169113,
0.004252344835549593,
0.04438265040516853,
0.04458686709403992,
0.035397205501794815,
-0.03852849826216698,
-0.0006642294465564191,
-0.04918169602751732,
0.008934390731155872,
0.02372293546795845,
-0.028045479208230972,
-0.010295822285115719,
-0.031312912702560425,
0.029883410781621933,
0.05510392040014267,
-0.006683775223791599,
-0.022412559017539024,
0.03175538033246994,
0.009998008608818054,
-0.057554494589567184,
-0.0035269572399556637,
-0.03682670742273331,
-0.054627418518066406,
0.02212325483560562,
-0.03202766552567482,
0.03590774163603783,
0.04165978729724884,
0.0037162811495363712,
0.01895792782306671,
-0.014643892645835876,
-0.00528830848634243,
-0.031449057161808014,
-0.005632920656353235,
-0.011597690172493458,
-0.04114925116300583,
-0.02060866169631481,
0.03449525684118271,
-0.06436165422201157,
0.030581144616007805,
-0.002829223871231079,
-0.024658920243382454,
0.03318488225340843,
0.01536715216934681,
-0.04135346785187721,
-0.020404446870088577,
-0.00252928351983428,
-0.013069737702608109,
-0.029611123725771904,
0.058609604835510254,
0.0037630803417414427,
0.06997755169868469,
-0.04114925116300583,
0.03134695068001747,
-0.008798248134553432,
0.003992822021245956,
-0.054627418518066406,
-0.005756300408393145,
-0.04455282911658287,
-0.007092204876244068,
-0.014950213953852654,
-0.028198640793561935,
0.01982583850622177,
0.007049660198390484,
0.015222501009702682,
-0.026139475405216217,
0.01766456663608551,
0.040911003947257996,
0.008823774755001068,
-0.04863712191581726,
0.052006665617227554,
0.009249221533536911,
-0.02074480429291725,
0.0026079912204295397,
-0.010389420203864574,
0.05874574929475784,
-0.0148225799202919,
0.015613911673426628,
-0.026530886068940163,
-0.0171199943870306,
0.019706714898347855,
-0.06163879111409187,
0.056635528802871704,
0.005828626453876495,
0.02031935751438141,
0.012286914512515068,
0.06211528927087784,
-0.051223840564489365,
0.0022591245360672474,
0.017009379342198372,
-0.02413136512041092,
-0.03349120169878006,
-0.014388623647391796,
0.021442538127303123,
-0.03502281382679939,
0.00949598103761673,
-0.00016446193330921233,
-0.005739282816648483,
-0.0461525097489357,
-0.05299370363354683,
-0.032691363245248795,
-0.009249221533536911,
-0.01601383276283741,
-0.021391484886407852,
-0.030172714963555336,
0.039753787219524384,
0.009946955367922783,
-0.031636252999305725,
0.02385907806456089,
0.0056669567711651325,
-0.012652799487113953,
0.0803925022482872,
-0.051632270216941833,
0.051087699830532074,
-0.05285755917429924,
0.0023888859432190657,
0.05905206874012947,
0.004394869320094585,
0.0028994225431233644,
-0.023756971582770348,
-0.0008503625867888331,
-0.009904410690069199,
0.05207473784685135,
0.014516258612275124,
-0.00599880563095212,
-0.008360037580132484,
0.005109620746225119,
0.0012433694209903479,
0.002818587701767683,
-0.004131092224270105,
0.06865015625953674,
0.09448331594467163,
0.054355133324861526,
0.030342893674969673,
0.008623814210295677,
0.021646752953529358,
-0.00587117113173008,
-0.03304873779416084,
0.051598235964775085,
0.011818923056125641,
-0.0244036503136158,
-0.007300673983991146,
0.020166197791695595,
-0.0077218664810061455,
0.007100713439285755,
-0.0037269173189997673,
0.023195380344986916,
-0.03556738421320915,
0.023842060938477516,
0.022038165479898453,
-0.015647947788238525,
-0.0016656257212162018,
0.03999203443527222,
0.05680570751428604,
0.021459557116031647,
0.06167282536625862,
-0.02477804385125637,
-0.025935260578989983,
0.017111485823988914,
-0.05496777594089508,
-0.0125251654535532,
0.03185748681426048,
-0.005313835572451353,
0.0038609332405030727,
0.03143204003572464,
0.012584728188812733,
-0.03682670742273331,
-0.030257804319262505,
0.0038843329530209303,
-0.003775843884795904,
0.02950901724398136,
-0.05816714093089104,
0.004218308720737696,
-0.021034108474850655,
-0.00142843893263489,
0.05905206874012947,
-0.02436961606144905,
-0.0001129429365391843,
0.012967630289494991,
0.032316967844963074,
-0.014380115084350109,
-0.024846116080880165,
0.001511401147581637,
-0.008483417332172394,
-0.07229198515415192,
0.025935260578989983,
0.022378522902727127,
-0.009623615071177483,
-0.01119777001440525,
0.007649540435522795,
0.017596496269106865,
-0.013061229139566422,
0.0007737820851616561,
0.02665001153945923,
-0.0015730910236015916,
0.01174234226346016,
0.03716706857085228,
0.05302773788571358,
-0.06514447182416916,
0.026496851816773415,
-0.01877073012292385,
0.0270244050770998,
0.006424252409487963,
-0.07760156691074371,
0.013682382181286812,
-0.05683974549174309,
0.022140271961688995,
0.06269390136003494,
0.005688229110091925,
-0.04009414464235306,
-0.10455790162086487,
-0.016966834664344788,
0.01483959797769785,
0.03408683091402054,
-0.029492000117897987,
0.01289104949682951,
0.013861069455742836,
0.010066080838441849,
-0.032912593334913254,
-0.0037035178393125534,
-0.006249819416552782,
0.04833080247044563,
-0.050304874777793884,
-0.08508943766355515,
0.029611123725771904,
-0.027637049555778503,
-0.05466145649552345,
0.029151640832424164,
-0.001642226125113666,
0.03037692978978157,
-0.0011774251470342278,
-0.01682218164205551,
-0.04179593175649643,
0.06143457442522049,
-0.021493591368198395,
-0.0011157352710142732,
-0.07801000028848648,
-0.018481425940990448,
0.009385365061461926,
-0.05442320555448532,
0.021953074261546135,
0.019893910735845566,
0.004260853864252567,
-0.016575422137975693,
0.021919040009379387,
-0.04404229298233986,
0.04451879486441612,
0.018055979162454605,
0.0037354263477027416,
0.008555742911994457,
-0.02550981380045414,
-0.004022603388875723,
0.015537331812083721,
0.007611250504851341,
0.04628865420818329,
-0.03798392415046692,
0.06157071888446808,
-0.03105764463543892,
-0.00829196535050869,
-0.03458034619688988,
0.058337319642305374,
0.0051138754934072495,
-0.037235137075185776,
0.008313237689435482,
-0.009096060879528522,
-0.04782026633620262,
-0.09775074571371078,
-0.021816931664943695,
-0.001111480756662786,
0.010397929698228836,
0.05823521316051483,
-0.015324607491493225,
-0.01018520537763834,
-0.014643892645835876,
0.04135346785187721,
0.02693931572139263,
0.023705918341875076,
-0.008730176836252213,
0.005756300408393145,
-0.02710949443280697,
0.017596496269106865,
0.013188863173127174,
0.030768340453505516,
-0.042646825313568115,
0.07433413714170456,
-0.013622819446027279,
0.02845390886068344,
0.15656456351280212,
-0.02266782708466053,
-0.08427257835865021,
-0.01493319682776928,
0.03686074540019035,
-0.07195162773132324,
0.03105764463543892,
-0.022735897451639175,
0.0017315701115876436,
-0.011716815643012524,
0.05309581011533737,
0.011393476277589798,
-0.04931784048676491,
0.005603139754384756,
0.11905714124441147,
-0.01950250007212162,
-0.02602034993469715,
0.0068667177110910416,
0.01674560084939003,
-0.02532261610031128,
0.04598233103752136,
-0.06391918659210205,
-0.007862264290452003,
0.030121661722660065,
0.011614708229899406,
-0.02064269781112671,
-0.02215728908777237,
0.029066551476716995,
0.03459736704826355,
0.08794844150543213,
0.061094217002391815,
0.03886885568499565,
-0.020983055233955383,
0.01129136886447668,
-0.010372402146458626,
0.0030908738262951374,
0.020727787166833878,
-0.004947951063513756,
-0.020438482984900475,
0.027585996314883232,
0.019145123660564423,
0.012533674016594887,
-0.022378522902727127,
0.05874574929475784,
-0.024573829025030136,
0.033525239676237106,
0.059120140969753265,
0.007007115054875612,
0.027279673144221306,
-0.014380115084350109,
0.005688229110091925,
0.014677927829325199,
0.050270840525627136,
-0.022191325202584267,
0.03536317124962807,
-0.05098559334874153,
-0.003514193929731846
] |
7,543 | hsbalance.IC_matrix | _info |
Method to summarize the results for condition.
| def _info(self):
'''
Method to summarize the results for condition.
'''
if self.name:
yield ('Name', self.name)
if self.alpha is not None:
yield ('Condition IC Matrix', str(self.alpha))
if self.A is not None:
_index = (f'Sensor {m+1}' for m in range(self.A.shape[0]))
yield ('Initial Vibration', pd.DataFrame(tools.convert_cart_math(self.A),
index=_index, columns=['Vibration']))
| (self) | [
0.04891369864344597,
-0.03526122868061066,
0.02987741306424141,
-0.02712119370698929,
0.048105206340551376,
-0.05255190655589104,
-0.033974990248680115,
-0.04898719862103462,
0.03448948636651039,
-0.002623001579195261,
-0.0014194527175277472,
0.02807668410241604,
0.025026466697454453,
0.0024622222408652306,
-0.03219263628125191,
0.013073665089905262,
0.018659602850675583,
-0.03094315156340599,
-0.001076648011803627,
0.04226202145218849,
-0.0072672306559979916,
0.030906401574611664,
-0.029105670750141144,
0.019238408654928207,
0.017814360558986664,
0.05729260295629501,
-0.011190248653292656,
-0.04612072929739952,
0.00294226361438632,
-0.015260265208780766,
-0.07901161164045334,
-0.03448948636651039,
0.003500398015603423,
-0.034875355660915375,
-0.01914653368294239,
0.04035104438662529,
-0.009407893754541874,
-0.06298878788948059,
-0.07607164233922958,
0.058248091489076614,
0.05574912205338478,
-0.06067356467247009,
-0.023354360833764076,
-0.014369088225066662,
-0.066002257168293,
-0.05512437969446182,
0.001931650098413229,
-0.024126103147864342,
0.03553684800863266,
-0.06394428014755249,
0.01737336628139019,
0.029656914994120598,
-0.020377645269036293,
0.008323781192302704,
0.0052827526815235615,
-0.01266941986978054,
0.0025311277713626623,
-0.005930464249104261,
0.04821545630693436,
0.030079536139965057,
0.008613184094429016,
0.04046129435300827,
-0.003989626653492451,
0.009352769702672958,
-0.006734361406415701,
-0.004047048278152943,
0.016114693135023117,
0.016298441216349602,
-0.020506268367171288,
0.032119136303663254,
0.014111841097474098,
-0.022600995376706123,
-0.005792653188109398,
0.04538573697209358,
-0.036565836519002914,
-0.0717351883649826,
-0.08334805816411972,
-0.026459701359272003,
0.08445055037736893,
-0.12083263695240021,
0.007712819147855043,
0.043879006057977676,
-0.017722487449645996,
-0.05769684910774231,
0.018852537497878075,
-0.01686806045472622,
0.006421990226954222,
0.000007159709184634266,
0.011456683278083801,
0.06611250340938568,
-0.07239668071269989,
0.014075091108679771,
0.016537314280867577,
0.043548259884119034,
-0.028701426461338997,
0.037208955734968185,
-0.024897843599319458,
-0.03640046343207359,
0.017281493172049522,
0.032119136303663254,
-0.019532404839992523,
0.010721691884100437,
-0.008902586996555328,
0.03592272102832794,
-0.06361353397369385,
-0.037576451897621155,
-0.021719004958868027,
-0.005590530578047037,
0.061224810779094696,
-0.025743084028363228,
-0.038476817309856415,
0.031237147748470306,
-0.026937445625662804,
-0.05817459523677826,
-0.004524792544543743,
-0.034820232540369034,
-0.013422786258161068,
-0.025393962860107422,
-0.0726906806230545,
-0.022784743458032608,
0.02396073006093502,
-0.048582952469587326,
0.004559245426207781,
0.008388092741370201,
-0.017272304743528366,
0.026459701359272003,
-0.023464610800147057,
-0.04108603671193123,
0.03946905583143234,
-0.0523681603372097,
0.013183914124965668,
-0.03469160944223404,
0.06291528791189194,
0.01993664912879467,
0.01914653368294239,
-0.03241313248872757,
0.041857779026031494,
-0.03608809411525726,
0.010887064971029758,
0.07258043438196182,
-0.025779834017157555,
-0.03254175931215286,
-0.06681074947118759,
-0.01144749578088522,
0.023556483909487724,
-0.05218441039323807,
0.042445771396160126,
0.008723433129489422,
-0.0038816749583929777,
-0.0790851041674614,
-0.000018751619791146368,
0.009637578390538692,
0.0036473963409662247,
-0.037888821214437485,
0.00011340692435624078,
-0.0186136644333601,
0.008172188885509968,
-0.004687868990004063,
0.030759403482079506,
-0.022968491539359093,
-0.023041989654302597,
-0.088639996945858,
-0.0452754907310009,
0.035408224910497665,
-0.008172188885509968,
0.040645040571689606,
-0.0273416917771101,
-0.03290925547480583,
0.013211475685238838,
-0.007423416245728731,
0.027966434136033058,
-0.05008968338370323,
-0.03502235561609268,
0.0027493282686918974,
-0.05229466035962105,
0.050898175686597824,
-0.0054894695058465,
0.05876258760690689,
0.039946798235177994,
-0.018126733601093292,
-0.0013195398496463895,
-0.008130845613777637,
-0.12024464458227158,
0.040865540504455566,
-0.01290829200297594,
-0.06857472658157349,
0.04961194097995758,
-0.03581247106194496,
0.04057154059410095,
0.007685257121920586,
-0.036051344126462936,
-0.02712119370698929,
0.03046540543437004,
0.02807668410241604,
0.035775721073150635,
-0.032339636236429214,
0.032872505486011505,
-0.0034866170026361942,
0.027745936065912247,
-0.030428657308220863,
-0.00419634347781539,
-0.02528371475636959,
-0.02919754572212696,
0.052698906511068344,
-0.011318872682750225,
0.050530679523944855,
0.01661081239581108,
0.033019501715898514,
-0.0819515734910965,
0.016913997009396553,
-0.03165976703166962,
0.024567097425460815,
0.003390149213373661,
0.01678537391126156,
0.013854593969881535,
-0.0064495522528886795,
0.04171077907085419,
-0.010262321680784225,
-0.04013054817914963,
0.018494227901101112,
0.03983655199408531,
-0.05707210674881935,
0.003573897061869502,
-0.01060225535184145,
-0.01427721418440342,
0.003932205494493246,
0.03066752851009369,
-0.00741882249712944,
-0.02680882252752781,
-0.010317445732653141,
-0.008792337961494923,
-0.003663474228233099,
-0.035187728703022,
0.0011139718117192388,
-0.06379728019237518,
0.03851356357336044,
-0.03094315156340599,
0.04898719862103462,
-0.042078275233507156,
-0.039946798235177994,
-0.02835230529308319,
0.0051908791065216064,
0.011337246745824814,
0.05501412972807884,
0.010096948593854904,
-0.15346626937389374,
0.019899901002645493,
0.04457724839448929,
-0.051008425652980804,
-0.015499137341976166,
-0.030685903504490852,
-0.05490387976169586,
-0.01444258727133274,
-0.03829306736588478,
0.015168391168117523,
-0.06589200347661972,
-0.025099966675043106,
0.003585381433367729,
0.04358500987291336,
-0.06133505702018738,
0.01268779393285513,
0.03114527277648449,
-0.03237638622522354,
0.027304941788315773,
-0.015379701741039753,
0.02247237227857113,
-0.002054531592875719,
-0.004901475738734007,
-0.022141624242067337,
0.0368230827152729,
0.07820311933755875,
0.046892471611499786,
-0.0773211270570755,
-0.002374941948801279,
-0.04303376376628876,
0.00366806797683239,
0.011438308283686638,
-0.02973041497170925,
-0.09033048152923584,
-0.002069460926577449,
-0.013560596853494644,
0.0019683996215462685,
-0.024548722431063652,
0.0163627527654171,
-0.01866878941655159,
-0.044283248484134674,
-0.007014577277004719,
-0.007914941757917404,
0.020285770297050476,
0.002673532348126173,
-0.023391110822558403,
0.028793299570679665,
-0.030594030395150185,
0.0021555928979068995,
0.0811430811882019,
-0.023280862718820572,
-0.004134328570216894,
0.022545870393514633,
-0.0034567578695714474,
-0.02421797625720501,
0.03899130970239639,
-0.02517346665263176,
0.051008425652980804,
0.0036979271098971367,
-0.07798261940479279,
0.04013054817914963,
0.0342322401702404,
0.0017743159551173449,
-0.0020924294367432594,
-0.05383814126253128,
0.00211884337477386,
0.05607986822724342,
0.07879111170768738,
0.02295011654496193,
0.004609776195138693,
-0.04038779437541962,
-0.05119217187166214,
0.03862381353974342,
0.0313657708466053,
0.10333983600139618,
-0.005760497413575649,
0.00962839089334011,
0.03866056352853775,
-0.015140829607844353,
0.0017961360281333327,
-0.018870912492275238,
-0.011631243862211704,
-0.04248252138495445,
0.0026850164867937565,
-0.0048922887071967125,
-0.059534329921007156,
0.01605038158595562,
0.024126103147864342,
0.031237147748470306,
-0.0190914086997509,
0.03009791113436222,
-0.02252749539911747,
0.011199436150491238,
0.012577545829117298,
-0.0059074959717690945,
0.020561393350362778,
-0.051118671894073486,
-0.03617996722459793,
0.06276829540729523,
0.050787925720214844,
-0.04564298316836357,
0.037264078855514526,
-0.0471864677965641,
0.01205386407673359,
0.03573897108435631,
-0.0355919748544693,
0.037741824984550476,
0.016197379678487778,
0.04692922160029411,
0.07496915757656097,
0.03208238631486893,
-0.028958672657608986,
-0.025504212826490402,
-0.02623920328915119,
0.07570414245128632,
0.06508351862430573,
0.07739462703466415,
-0.00023585768940392882,
0.029840663075447083,
-0.04479774460196495,
-0.05821134150028229,
0.006619519088417292,
0.059424079954624176,
0.03219263628125191,
-0.017501989379525185,
-0.03770507499575615,
0.013468722812831402,
0.017419302836060524,
-0.03711708262562752,
-0.012843980453908443,
0.02973041497170925,
0.01504895556718111,
-0.02824205718934536,
-0.021443383768200874,
-0.058101095259189606,
0.03066752851009369,
0.011364809237420559,
-0.034250613301992416,
0.008135439828038216,
-0.016776185482740402,
-0.02824205718934536,
-0.0190914086997509,
0.035297974944114685,
-0.06434852629899979,
0.019109783694148064,
-0.03522447869181633,
-0.02184762805700302,
-0.06431177258491516,
-0.04520199075341225,
0.018769850954413414,
-0.048362452536821365,
0.0447242446243763,
0.010593067854642868,
-0.07614514231681824,
-0.031604643911123276,
-0.013652470894157887,
-0.05530812591314316,
-0.03706195577979088,
-0.009123084135353565,
-0.02818693220615387,
-0.10672079771757126,
0.052331410348415375,
-0.02486109361052513,
-0.01250404678285122,
-0.012779667973518372,
0.05122892186045647,
-0.016123879700899124,
-0.04887694865465164,
0.0008699315949343145,
-0.02162713184952736,
-0.0023657544516026974,
0.012210049666464329,
-0.004448996856808662,
0.009848888963460922,
0.05718235298991203,
0.026257578283548355,
0.026037082076072693,
0.06412802636623383,
0.07044895738363266,
-0.007519884034991264,
0.06140855699777603,
-0.04211502522230148,
0.03158626705408096,
0.00013738028064835817,
-0.02813180722296238,
-0.016142254695296288,
0.005650248844176531,
-0.027488689869642258,
-0.017492802813649178,
-0.0012253689346835017,
-0.052698906511068344,
-0.02803993411362171,
-0.0242731012403965,
0.0079103484749794,
0.042445771396160126,
0.04292351379990578,
-0.0045431675389409065,
0.04332775995135307,
0.016748623922467232,
-0.022729618474841118,
-0.0002661473990883678,
-0.007795505691319704,
-0.03891780972480774,
-0.027782686054706573,
-0.019661027938127518,
0.014947894029319286,
0.054021891206502914,
0.03702520579099655,
-0.003305165795609355,
0.018099170178174973,
0.04020404815673828,
-0.0061004310846328735,
-0.032027263194322586,
-0.01403834205120802,
-0.025504212826490402,
0.014176152646541595,
0.017887860536575317,
-0.0523681603372097,
0.0027562188915908337,
0.04542248696088791,
0.00786900520324707,
0.0282971803098917,
-0.024658972397446632,
-0.043548259884119034,
-0.004823382943868637,
0.007294792681932449,
0.010776815935969353,
-0.021241260692477226,
-0.009711078368127346,
-0.0014320854097604752,
-0.008581028319895267,
-0.052588656544685364,
0.027323316782712936,
0.023868855088949203,
-0.014396649785339832,
-0.04226202145218849,
0.02046951837837696,
-0.007593383081257343,
0.008080314844846725,
0.0019098300253972411,
0.013707594946026802,
0.025265339761972427,
-0.02967528998851776,
0.004049344919621944,
-0.05431588739156723,
-0.009968324564397335,
0.018429916352033615,
0.015508324839174747,
-0.010005074553191662,
-0.004375497344881296,
0.052331410348415375,
0.045459236949682236,
0.009802951477468014,
0.002946857362985611,
0.017722487449645996,
0.02019389718770981,
-0.029418043792247772,
-0.03649233654141426,
-0.014506898820400238,
0.01551751233637333,
-0.05483037978410721,
0.023923980072140694,
-0.05674136057496071,
-0.003635912202298641,
-0.0005891417968086898,
0.030171409249305725,
-0.042335521429777145,
-0.02860955148935318,
-0.00003025380829058122,
-0.028370680287480354,
-0.016261691227555275,
-0.04560623690485954,
0.009182802401483059,
-0.013928093016147614,
0.004669493995606899,
0.002912404714152217,
-0.04420975223183632,
-0.018907662481069565,
0.0010134846670553088,
-0.029179170727729797,
0.05685160681605339,
0.012834792956709862,
-0.0061509618535637856,
-0.024824345484375954,
0.028462553396821022,
-0.04520199075341225,
-0.04171077907085419,
0.026588324457406998,
0.05244165658950806,
-0.007005389779806137,
0.009394112974405289,
0.05133917182683945,
0.016224941238760948,
-0.029601791873574257,
0.024603847414255142,
0.04398925229907036,
0.01838397979736328,
-0.010225571691989899,
-0.07360941916704178,
0.03309300169348717,
-0.03316650167107582,
0.02320736274123192,
0.012706168927252293,
0.021590381860733032,
-0.034930482506752014,
-0.01920165866613388,
-0.021939503028988838,
-0.023942355066537857,
-0.01044606976211071,
0.03052053041756153,
0.13016703724861145,
0.044283248484134674,
0.004285920411348343,
0.00665167486295104,
-0.007106450852006674,
0.023887230083346367,
-0.029546666890382767,
-0.0019546186085790396,
-0.030502155423164368,
0.010675754398107529,
0.02596358209848404,
0.05501412972807884,
0.05596961826086044,
0.005236816126853228,
-0.0075887893326580524,
0.013735157437622547,
-0.041122786700725555,
0.010887064971029758,
0.03210076317191124,
-0.03158626705408096,
-0.016059568151831627,
0.030318407341837883,
0.03134739771485329,
0.015453200787305832,
0.0006454145768657327,
0.005236816126853228,
0.01258673332631588,
0.04696597158908844,
-0.02289499156177044,
0.005131160840392113,
-0.024511974304914474,
-0.04479774460196495,
-0.008897993713617325,
0.07397691160440445,
0.04806845635175705,
-0.02258262038230896,
-0.0414535328745842,
-0.01723555475473404,
-0.03548172488808632,
0.013799468986690044,
0.017446866258978844,
-0.01841154135763645,
-0.04531223699450493,
-0.0355919748544693,
0.014736583456397057,
-0.04512849077582359,
0.02627595327794552,
0.007428009994328022,
0.002907810965552926,
-0.02908729761838913,
-0.029583416879177094,
0.0381828173995018,
0.03483860567212105,
-0.034397613257169724,
0.0301346592605114,
0.029124045744538307,
-0.003902346594259143,
0.011566932313144207,
0.005411376245319843,
-0.005278159398585558,
-0.03928530588746071,
0.00022911069390829653,
-0.014589585363864899,
0.03739270195364952,
0.03142089396715164,
0.010216385126113892,
0.013386036269366741,
-0.06864822655916214,
0.029307793825864792,
-0.008213532157242298,
0.026845572516322136,
0.05347064509987831,
-0.08511204272508621,
0.03437923640012741,
-0.04303376376628876,
0.03713545575737953,
0.057623349130153656,
0.021535256877541542,
-0.02739681676030159,
-0.06497326493263245,
0.011576119810342789,
0.005654842592775822,
0.04659847542643547,
-0.01144749578088522,
0.021131010726094246,
0.03358912095427513,
0.044283248484134674,
0.008594809100031853,
0.008810712955892086,
0.02283986657857895,
0.0252285897731781,
-0.050383683294057846,
-0.05490387976169586,
0.015223516151309013,
0.004864726215600967,
-0.045348986983299255,
0.03066752851009369,
-0.020322520285844803,
0.019863151013851166,
-0.007074295077472925,
0.01536132674664259,
-0.05130242183804512,
0.02860955148935318,
-0.029583416879177094,
0.015839071944355965,
-0.03127389773726463,
-0.027268191799521446,
0.03691495954990387,
-0.05688835680484772,
0.07945260405540466,
0.02717631869018078,
0.0023462313693016768,
0.01285316701978445,
0.0002918433747254312,
-0.04013054817914963,
0.06376053392887115,
0.05394839122891426,
0.05688835680484772,
-0.002634485950693488,
-0.01940378174185753,
0.0452754907310009,
0.016316816210746765,
0.026294328272342682,
0.04465074464678764,
-0.011245372705161572,
0.07820311933755875,
-0.014295588247478008,
0.04119628667831421,
-0.03597784414887428,
0.041380032896995544,
-0.017887860536575317,
-0.040755290538072586,
-0.04465074464678764,
-0.014102653600275517,
-0.04060829058289528,
-0.05119217187166214,
-0.008553465828299522,
0.02702932059764862,
-0.00042032336932606995,
0.043180763721466064,
0.0061509618535637856,
-0.014075091108679771,
-0.02342786081135273,
0.048729948699474335,
-0.025191841647028923,
0.029271043837070465,
-0.019422156736254692,
0.012595920823514462,
0.026422951370477676,
-0.005374626722186804,
0.0012138847960159183,
0.021884378045797348,
0.0005417692591436207,
0.011089187115430832,
-0.015058142133057117,
0.061776053160429,
0.12568357586860657,
-0.04108603671193123,
-0.021719004958868027,
-0.013312537223100662,
0.005562968552112579,
-0.015195953659713268,
0.06335628777742386,
0.03184351697564125,
0.017281493172049522,
0.02289499156177044,
0.04590023308992386,
0.010877877473831177,
0.04292351379990578,
-0.03538985177874565,
0.11135124415159225,
-0.02967528998851776,
0.004648822359740734,
0.026680199429392815,
-0.0007263785228133202,
0.003436086233705282,
-0.002260099397972226,
-0.06302554160356522,
0.012081426568329334,
0.03880756348371506,
-0.0029491542372852564,
-0.013174726627767086,
0.019054660573601723,
0.03165976703166962,
0.037888821214437485,
0.02497134357690811,
0.03674958646297455,
0.04115953668951988,
0.020708391442894936,
0.008470779284834862,
0.0012827902100980282,
0.05343389883637428,
0.04068179056048393,
-0.012513233348727226,
-0.019367031753063202,
0.07096344977617264,
-0.03151277080178261,
0.01184255350381136,
0.006307147443294525,
0.01787867397069931,
-0.014240464195609093,
0.061224810779094696,
-0.01444258727133274,
0.017391741275787354,
-0.00818137638270855,
0.009876451455056667,
0.002985903760418296,
0.05688835680484772,
0.08988948911428452,
-0.055234625935554504,
0.0372273288667202,
-0.01099731307476759,
0.0372273288667202
] |
7,544 | hsbalance.IC_matrix | add |
Method to add a new condition
Args:
alpha: Alpha class instance
A: Initial vibration column array -> numpy array
| def add(self, alpha:'Alpha instance', A:'initial_vibration numpy.array'):
'''
Method to add a new condition
Args:
alpha: Alpha class instance
A: Initial vibration column array -> numpy array
'''
if isinstance(alpha, Alpha):
self.alpha = alpha
else:
raise TypeError('alpha should be class Alpha.')
try:
_A_shape = A.shape
# Test dimensions
if A.ndim != 2:
raise IndexError('A should be column vector of Mx1 dimension.')
elif _A_shape[1] != 1:
raise IndexError('A should be column vector of Mx1 dimension.')
elif _A_shape[0] != self.alpha.value.shape[0]:
raise IndexError('A and alpha should have the same 0 dimension(M).')
else:
self.A = A
except AttributeError:
raise TypeError('`A` should be passed as "numpy array"')
| (self, alpha: 'Alpha instance', A: 'initial_vibration numpy.array') | [
0.009456921368837357,
-0.01178152859210968,
-0.019354110583662987,
0.030959531664848328,
0.022929072380065918,
-0.0656525194644928,
-0.05910135805606842,
-0.006965014152228832,
0.018720125779509544,
0.004803305957466364,
-0.0054681082256138325,
-0.03958875313401222,
0.023880047723650932,
-0.004195738583803177,
-0.07945927232503891,
-0.02032269537448883,
0.024848634377121925,
0.04409708082675934,
-0.030466433614492416,
-0.010355065576732159,
0.00010380656021879986,
0.009553780779242516,
-0.029656343162059784,
0.08453114330768585,
0.0625530481338501,
0.07516227662563324,
0.010311038233339787,
0.01724083162844181,
0.02768394909799099,
-0.021784380078315735,
0.023809606209397316,
-0.032861482352018356,
-0.005538551136851311,
-0.022330310195684433,
0.009950020350515842,
0.03486909717321396,
0.014881003648042679,
-0.04120893403887749,
-0.034428831189870834,
0.05033125355839729,
0.05917179957032204,
-0.0329495370388031,
0.07156970351934433,
-0.0038105053827166557,
0.030977142974734306,
-0.032861482352018356,
0.02752545475959778,
0.028564482927322388,
0.04053972661495209,
-0.014379099942743778,
0.013577815145254135,
-0.01255639735609293,
0.0927024856209755,
-0.011490952223539352,
-0.03154068440198898,
0.08086812496185303,
0.01963588036596775,
0.02731412649154663,
0.0329495370388031,
0.0014958049869164824,
0.030360769480466843,
-0.04628080129623413,
-0.0029563887510448694,
-0.04152592644095421,
0.008549973368644714,
-0.014343878254294395,
-0.06868155300617218,
0.01084816362708807,
0.03913087397813797,
0.05036647245287895,
-0.03839122876524925,
-0.0018282061209902167,
0.013489761389791965,
-0.006832933984696865,
-0.011059490963816643,
0.016818175092339516,
-0.02167871594429016,
-0.005564967170357704,
0.003007019404321909,
-0.0448015071451664,
0.07326032221317291,
0.03004377707839012,
0.012318653054535389,
0.031875286251306534,
0.05533267930150032,
-0.02018181048333645,
-0.08171343803405762,
-0.020058536902070045,
0.01572631485760212,
0.015171579085290432,
-0.02423226088285446,
0.0030950726941227913,
-0.01091860607266426,
0.04821797460317612,
0.06635694950819016,
0.010821747593581676,
0.05068346485495567,
-0.04515371844172478,
0.05283196642994881,
0.012873388826847076,
-0.01598166860640049,
-0.005217156372964382,
0.018156586214900017,
0.011719890870153904,
0.0023488211445510387,
-0.04300522059202194,
-0.012010467238724232,
-0.031734399497509,
-0.008224176242947578,
0.04223035275936127,
0.026768196374177933,
0.04300522059202194,
-0.026363151147961617,
-0.053888604044914246,
-0.02321084402501583,
-0.0014088524039834738,
-0.023404560983181,
-0.03934220224618912,
-0.050155144184827805,
0.02067490853369236,
0.03603139892220497,
0.01426463108509779,
0.008792119100689888,
0.08291096240282059,
0.022770576179027557,
-0.02666253224015236,
-0.020023314282298088,
-0.057164184749126434,
0.009333646856248379,
-0.09777435660362244,
-0.044484514743089676,
-0.0013031885027885437,
-0.005375652574002743,
0.007924795150756836,
-0.0014825969701632857,
-0.021484998986124992,
0.02645120397210121,
-0.0008860360831022263,
-0.06234171986579895,
0.00011020417878171429,
-0.0012481551384553313,
0.03941264748573303,
-0.015673482790589333,
-0.028071384876966476,
-0.0023334117140620947,
-0.01538290735334158,
0.026363151147961617,
-0.019072338938713074,
-0.012662060558795929,
-0.006216561421751976,
-0.05068346485495567,
-0.034763433039188385,
-0.040715835988521576,
-0.010812941938638687,
0.016976671293377876,
-0.00949214305728674,
-0.008545570075511932,
-0.0454707108438015,
0.043639201670885086,
-0.038039013743400574,
-0.03620750829577446,
0.0112003767862916,
-0.07111182808876038,
0.009800329804420471,
0.010011657141149044,
-0.0008458617958240211,
-0.031047584488987923,
0.07643024623394012,
-0.06829412281513214,
-0.009087097831070423,
0.08706708252429962,
-0.06667394191026688,
0.011526173911988735,
0.03553830087184906,
-0.06720226258039474,
0.03383006900548935,
0.029128024354577065,
0.016465961933135986,
0.07093571871519089,
-0.026222266256809235,
0.04934505745768547,
0.07227412611246109,
-0.052514974027872086,
0.04173725098371506,
0.03930698335170746,
-0.05529745668172836,
-0.00009665222751209512,
0.01668609492480755,
0.007246784400194883,
0.01401808112859726,
0.001359322457574308,
0.006410278379917145,
0.023827215656638145,
0.003768680151551962,
-0.04906328395009041,
0.02137933485209942,
-0.020939068868756294,
0.0016256836242973804,
-0.017936451360583305,
0.03842644765973091,
-0.007955613546073437,
-0.060862425714731216,
-0.01794525794684887,
0.03127652406692505,
0.014977862127125263,
-0.047900982201099396,
0.02833554334938526,
-0.002989408792927861,
-0.038672998547554016,
-0.048253193497657776,
-0.041032824665308,
-0.016738926991820335,
0.00044934687321074307,
-0.023281285539269447,
0.023439781740307808,
-0.056459758430719376,
0.030818646773695946,
0.0031280925031751394,
0.03958875313401222,
0.032685376703739166,
-0.013031885027885437,
0.020815793424844742,
-0.03472821041941643,
-0.002742859534919262,
0.02086862549185753,
-0.011490952223539352,
0.05110612139105797,
0.013956444337964058,
-0.025553060695528984,
0.03055448643863201,
-0.03037838079035282,
-0.0009267607238143682,
0.005111492704600096,
-0.046562571078538895,
-0.028987137600779533,
0.05726984888315201,
-0.01305830106139183,
0.0587843656539917,
-0.016897423192858696,
-0.023316508159041405,
0.03273820877075195,
0.0022002311889082193,
0.0009295123745687306,
0.08974389731884003,
-0.0372641459107399,
-0.006269393023103476,
0.030624929815530777,
0.06998474150896072,
-0.04300522059202194,
-0.00003872968227369711,
-0.05226842314004898,
-0.032385993748903275,
-0.02423226088285446,
0.03606662154197693,
-0.045329827815294266,
0.03377723693847656,
0.015145163051784039,
-0.031118027865886688,
0.025024740025401115,
-0.04800664633512497,
0.0017445555422455072,
0.003317407099530101,
0.06896332651376724,
0.0621303915977478,
-0.02477819100022316,
0.004653615411370993,
0.049626827239990234,
0.04966204613447189,
0.05008470267057419,
0.01297905296087265,
0.03691193461418152,
0.001309792511165142,
0.03395334258675575,
-0.02784244529902935,
0.017452159896492958,
-0.0017071329057216644,
0.019547827541828156,
0.0006174736190587282,
-0.034059006720781326,
-0.011402899399399757,
-0.003999819979071617,
-0.0052259620279073715,
-0.032720595598220825,
0.030818646773695946,
-0.049943819642066956,
-0.011455731466412544,
0.0017302468186244369,
0.014141355641186237,
-0.023950491100549698,
-0.039518311619758606,
-0.00021187819947954267,
0.02426748350262642,
0.035802461206912994,
0.02854687161743641,
0.07558493316173553,
-0.004021833185106516,
0.002115479903295636,
0.00022838817676529288,
0.06096808612346649,
-0.010011657141149044,
0.09213894605636597,
-0.017777957022190094,
0.0341646708548069,
-0.04733744263648987,
-0.13292522728443146,
-0.01668609492480755,
-0.00929842609912157,
0.05374772101640701,
-0.017364105209708214,
-0.0189666748046875,
0.029938112944364548,
0.061073750257492065,
-0.06618084013462067,
0.03472821041941643,
0.0036520096473395824,
0.0017544615548104048,
0.017011892050504684,
-0.02717324160039425,
-0.014370294287800789,
0.0869966372847557,
0.003141300519928336,
-0.0022475598379969597,
-0.04131459817290306,
-0.04744310304522514,
-0.007295214105397463,
-0.04349831864237785,
0.07417608052492142,
-0.04293477535247803,
-0.024003323167562485,
-0.0049618021585047245,
-0.04744310304522514,
0.03108280710875988,
0.01376272737979889,
0.036841489374637604,
-0.02784244529902935,
-0.020903848111629486,
-0.007017846219241619,
-0.027455011382699013,
0.025834830477833748,
0.013630647212266922,
-0.03944786638021469,
0.02594049461185932,
-0.018244639039039612,
0.045541152358055115,
0.036982376128435135,
-0.0772051140666008,
0.002991609973832965,
-0.014431932009756565,
0.013216796331107616,
-0.020040925592184067,
-0.008897783234715462,
0.013419318944215775,
-0.024654917418956757,
0.02358066663146019,
0.03599618002772331,
0.004484112840145826,
-0.014484764076769352,
0.0058951666578650475,
-0.008184552192687988,
-0.004134101327508688,
0.06075676158070564,
0.053888604044914246,
-0.046879563480615616,
0.003808304201811552,
-0.04624557867646217,
0.002901355503126979,
-0.030783426016569138,
-0.03620750829577446,
0.04441407322883606,
-0.056635867804288864,
0.044484514743089676,
0.0001767944631865248,
0.038884326815605164,
0.015576624311506748,
-0.0024963102769106627,
0.01313754916191101,
0.02321084402501583,
0.016184192150831223,
0.03175201267004013,
-0.008792119100689888,
0.050119925290346146,
0.02342217043042183,
-0.035978566855192184,
0.004473106469959021,
0.02187243290245533,
-0.017698708921670914,
0.022154204547405243,
-0.047724876552820206,
-0.001477093668654561,
0.01604330725967884,
-0.007819131016731262,
-0.03224511072039604,
0.004873748868703842,
-0.032385993748903275,
-0.03402378410100937,
-0.0488167367875576,
-0.05293763056397438,
-0.009307230822741985,
-0.023017127066850662,
-0.004094477277249098,
-0.010399091988801956,
-0.030677761882543564,
0.018737737089395523,
0.0066568274050951,
-0.008646831847727299,
-0.05026080831885338,
0.035098034888505936,
0.034235112369060516,
-0.03641883656382561,
0.06593429297208786,
-0.02358066663146019,
0.0519162118434906,
-0.05311373621225357,
-0.0041076852940022945,
-0.002063748659566045,
-0.009439310990273952,
0.08185432851314545,
-0.07156970351934433,
-0.007343643344938755,
0.0025821623858064413,
-0.005243572406470776,
0.027032354846596718,
-0.006810920778661966,
0.05807993933558464,
-0.022929072380065918,
0.00785435177385807,
0.008144928142428398,
0.03944786638021469,
-0.033548299223184586,
-0.025218458846211433,
-0.03243882581591606,
-0.025165626779198647,
0.027613507583737373,
-0.05364205688238144,
-0.0481475293636322,
0.003596976399421692,
-0.05163444206118584,
-0.06618084013462067,
0.024003323167562485,
0.014370294287800789,
0.034235112369060516,
-0.008959420956671238,
0.01967110112309456,
0.03555591404438019,
-0.09657683223485947,
-0.05927746370434761,
0.014977862127125263,
-0.019389331340789795,
-0.025236068293452263,
-0.02974439598619938,
0.032720595598220825,
0.06611040234565735,
0.013542593456804752,
0.0481475293636322,
0.037827685475349426,
0.017390521243214607,
-0.05910135805606842,
-0.07473962008953094,
0.03175201267004013,
-0.010407896712422371,
-0.004596380982547998,
0.030660150572657585,
-0.04240645840764046,
-0.030660150572657585,
0.0006235272740013897,
0.01042550802230835,
0.030994752421975136,
-0.030431212857365608,
-0.015761535614728928,
0.01649237796664238,
0.03058970719575882,
-0.04730222001671791,
-0.018138974905014038,
-0.03497476130723953,
0.01880818046629429,
-0.017091140151023865,
0.04131459817290306,
0.009712276048958302,
-0.028758199885487556,
-0.00013407487131189555,
-0.0022112377919256687,
0.012230600230395794,
-0.02852926217019558,
0.0006939698942005634,
0.016615653410553932,
0.03930698335170746,
0.03208661451935768,
0.007458112668246031,
0.022664913907647133,
0.01196643989533186,
-0.02821226976811886,
0.0043630399741232395,
0.019565436989068985,
0.11503279954195023,
0.007757493760436773,
0.001635589636862278,
0.04684434086084366,
-0.026768196374177933,
0.04709089174866676,
0.039729636162519455,
-0.01383316982537508,
-0.03606662154197693,
-0.1167234256863594,
-0.009448116645216942,
0.011103518307209015,
-0.08981434255838394,
-0.05709374323487282,
-0.0182974711060524,
-0.025870053097605705,
-0.008950615301728249,
-0.00670525711029768,
-0.02682102844119072,
0.00806127768009901,
-0.029955724254250526,
0.03515086695551872,
0.015048304572701454,
0.004979412537068129,
-0.02032269537448883,
-0.03694715350866318,
-0.002233251230791211,
-0.029251297935843468,
-0.009879577904939651,
0.005010231398046017,
-0.03446405380964279,
-0.023668721318244934,
0.04515371844172478,
-0.010302233509719372,
-0.08107945322990417,
-0.0037708815652877092,
0.02854687161743641,
-0.020903848111629486,
-0.004662421066313982,
0.0290575809776783,
0.03589051589369774,
0.0037950961850583553,
0.024531641975045204,
0.007330435328185558,
-0.024461200460791588,
-0.030642539262771606,
-0.03944786638021469,
0.03108280710875988,
0.019917650148272514,
0.02594049461185932,
-0.04325176775455475,
-0.02817704901099205,
0.0015035097021609545,
-0.014414321631193161,
0.009122319519519806,
-0.03913087397813797,
-0.010821747593581676,
-0.00879652239382267,
0.01068966742604971,
-0.05230364575982094,
0.045365046709775925,
0.04223035275936127,
0.029990945011377335,
0.011922413483262062,
-0.02303473651409149,
-0.016087332740426064,
0.03301997855305672,
-0.022330310195684433,
-0.05469869449734688,
0.00009376298112329096,
0.030184661969542503,
-0.09664727747440338,
-0.03502759337425232,
0.018684905022382736,
-0.004455495625734329,
0.0665682777762413,
0.024866245687007904,
0.04187813773751259,
-0.05536789819598198,
-0.08389715850353241,
-0.04941549897193909,
-0.051669660955667496,
-0.00645430525764823,
-0.0189666748046875,
0.023510225117206573,
-0.07657112926244736,
0.002954187337309122,
-0.030026167631149292,
-0.038532111793756485,
-0.044484514743089676,
-0.05061302334070206,
0.005450497847050428,
-0.020780572667717934,
-0.005485719069838524,
0.02918085642158985,
-0.02734934724867344,
0.018015699461102486,
-0.021819600835442543,
0.02014658972620964,
-0.008924199268221855,
-0.03589051589369774,
-0.01433507353067398,
0.032861482352018356,
0.045012835413217545,
0.002720846328884363,
-0.0189666748046875,
0.028088994324207306,
-0.021608274430036545,
-0.0091487355530262,
-0.02171393856406212,
-0.018033310770988464,
0.015920031815767288,
-0.024214651435613632,
-0.01698547601699829,
-0.005494524259120226,
-0.008589597418904305,
-0.047760095447301865,
0.014925030060112476,
0.02171393856406212,
-0.020903848111629486,
0.01898428611457348,
0.029973335564136505,
-0.027983330190181732,
-0.052338868379592896,
0.021238449960947037,
0.08023414760828018,
0.09016655385494232,
-0.011402899399399757,
0.027049966156482697,
0.005512135103344917,
0.02287624031305313,
0.037299368530511856,
-0.05871392413973808,
0.038708221167325974,
-0.10432551801204681,
-0.0016036703018471599,
-0.010900995694100857,
0.04015229269862175,
0.07016085088253021,
-0.03182245418429375,
-0.016994282603263855,
0.00270983949303627,
-0.0485701858997345,
-0.0071279127150774,
0.012406706809997559,
0.026856249198317528,
0.005314015317708254,
-0.009386478923261166,
-0.001444073743186891,
0.01578795164823532,
0.0016366902273148298,
0.08819416165351868,
0.06043976917862892,
-0.05156399682164192,
-0.054733917117118835,
0.022136593237519264,
-0.014370294287800789,
-0.024813413619995117,
-0.06603995710611343,
-0.08488335460424423,
0.019706323742866516,
0.010275817476212978,
0.048957619816064835,
0.006762491539120674,
0.08854637295007706,
0.005155519116669893,
0.020939068868756294,
-0.03455210477113724,
0.015391713008284569,
0.027719171717762947,
-0.021132785826921463,
0.030290326103568077,
-0.023651110008358955,
0.05913658067584038,
-0.05469869449734688,
0.0193012785166502,
0.0386025570333004,
-0.04952116310596466,
-0.034252725541591644,
-0.03138218820095062,
0.016774149611592293,
0.05455780774354935,
-0.014995472505688667,
-0.011306040920317173,
0.002901355503126979,
0.045329827815294266,
-0.017135167494416237,
-0.012309848330914974,
0.024813413619995117,
0.019952872768044472,
-0.012653255835175514,
0.03599618002772331,
0.015911227092146873,
-0.0045743677765131,
-0.0006664532120339572,
0.0035419429186731577,
-0.04272345080971718,
-0.04444929212331772,
-0.020199421793222427,
0.026415983214974403,
0.02884625270962715,
0.01743454858660698,
0.0016201803227886558,
-0.061742957681417465,
0.003035636618733406,
-0.012987857684493065,
0.025711556896567345,
0.03330174833536148,
0.03347785398364067,
-0.034904319792985916,
0.06449022144079208,
0.01863207295536995,
0.0062605878338217735,
-0.014282241463661194,
0.005516537930816412,
0.04783054068684578,
-0.02854687161743641,
-0.022277478128671646,
0.09657683223485947,
-0.007999639958143234,
-0.02921607717871666,
-0.004596380982547998,
0.060897644609212875,
0.0073700593784451485,
-0.04166680946946144,
-0.03983530029654503,
0.03534458577632904,
-0.03058970719575882,
0.017214415594935417,
0.05054258182644844,
-0.06512420624494553,
-0.022471195086836815,
0.00679771276190877,
0.016096139326691628,
-0.04032839834690094,
-0.0024038543924689293,
-0.04525938257575035,
0.010355065576732159,
0.023140400648117065,
0.0013725304743275046,
0.07065394520759583,
0.007616608403623104,
-0.03559113293886185,
-0.05152877792716026,
0.028423598036170006,
0.011367677710950375,
0.04765443131327629,
0.017117556184530258,
0.030448822304606438,
0.029762007296085358,
-0.052514974027872086,
0.04811231046915054,
0.02222464606165886,
-0.01631627231836319,
0.030272716656327248,
-0.019952872768044472,
-0.034781042486429214,
0.002575558377429843,
-0.02358066663146019,
0.024514032527804375,
0.05874914675951004,
0.06551163643598557,
-0.01688861846923828,
0.04966204613447189,
0.0218548234552145,
0.0361722856760025,
-0.06132030114531517,
-0.011182766407728195,
-0.000006315930932032643,
0.05283196642994881,
0.03821512311697006,
-0.04582292586565018,
0.029339350759983063,
0.008858159184455872,
0.05723462998867035
] |
7,545 | hsbalance.IC_matrix | load |
Method to load condition instance.
| def load(self, file:str):
'''
Method to load condition instance.
'''
if isinstance(file, str):
self.file = file
with open(self.file, 'rb') as f:
_loaded_instance = pickle.load(f)
self.add(_loaded_instance.alpha, _loaded_instance.A)
| (self, file: str) | [
0.05092424154281616,
-0.0004216947127133608,
-0.06403689086437225,
0.07499878108501434,
-0.00571076525375247,
-0.05345657840371132,
-0.05772339180111885,
0.005112370941787958,
0.000661811325699091,
-0.02298181876540184,
-0.0011013929033651948,
0.0009333653724752367,
-0.03430795297026634,
0.011534271761775017,
-0.055711399763822556,
-0.016607616096735,
-0.03089103475213051,
0.03312850743532181,
-0.08082662522792816,
-0.023744989186525345,
-0.021698305383324623,
0.024750985205173492,
0.005212103016674519,
0.08811143040657043,
0.09053969383239746,
0.03279895707964897,
0.002647245302796364,
0.021906442940235138,
-0.03666684031486511,
-0.005628377664834261,
0.019322073087096214,
-0.023762334138154984,
-0.04683087766170502,
0.013234059326350689,
0.010883842594921589,
-0.004312343429774046,
0.012063287198543549,
0.018194662407040596,
-0.11170031130313873,
0.01677239127457142,
0.06944845616817474,
-0.01274840533733368,
0.03697904944419861,
0.013268748298287392,
-0.007714086212217808,
-0.0008872933685779572,
-0.011725064367055893,
0.00838619563728571,
0.053525958210229874,
-0.0357649140059948,
0.036597464233636856,
-0.004982284735888243,
0.0293646939098835,
0.023762334138154984,
-0.012418854981660843,
0.06306558102369308,
-0.00022195884957909584,
0.08845832198858261,
0.04443730041384697,
0.028896385803818703,
0.014899156987667084,
-0.03210516646504402,
0.04391695559024811,
-0.046449292451143265,
0.002363224746659398,
0.004964940249919891,
-0.07215423882007599,
0.01136082410812378,
0.007987266406416893,
0.029937071725726128,
0.028584180399775505,
-0.022530855610966682,
0.04946728050708771,
-0.004596363753080368,
-0.005294490605592728,
-0.012063287198543549,
-0.053803473711013794,
-0.008763444609940052,
-0.028046492487192154,
-0.007501612883061171,
0.003915581852197647,
-0.021212652325630188,
-0.01828138716518879,
0.022947128862142563,
-0.02712721936404705,
-0.055433884263038635,
0.06389813125133514,
-0.02632935903966427,
-0.022097235545516014,
-0.002075952012091875,
-0.04585957154631615,
0.04579019173979759,
-0.05175679177045822,
0.04086427763104439,
0.042425304651260376,
-0.05366471782326698,
0.05068141594529152,
-0.03600773960351944,
-0.007783465087413788,
-0.008581324480473995,
-0.03089103475213051,
-0.05706429108977318,
-0.022947128862142563,
-0.016807081177830696,
0.009739087894558907,
-0.04017048701643944,
0.01011200062930584,
-0.0218890979886055,
-0.027231287211179733,
-0.011100652627646923,
-0.01281778421252966,
0.02286040596663952,
-0.026121223345398903,
0.06528571248054504,
-0.004255972802639008,
-0.04717777296900749,
-0.023623576387763023,
0.01591382548213005,
-0.019877105951309204,
-0.008559643290936947,
0.02119530737400055,
0.03902573138475418,
-0.06372468173503876,
0.11947076767683029,
0.009782450273633003,
0.05324844270944595,
0.03167155012488365,
-0.043257854878902435,
0.03694435954093933,
-0.09609001874923706,
0.04752466827630997,
-0.03404778242111206,
-0.029243281111121178,
-0.009140693582594395,
0.014188021421432495,
-0.04447198659181595,
0.01273973286151886,
0.003050511237233877,
-0.017509544268250465,
0.038436006754636765,
0.04197434335947037,
0.006495615933090448,
0.031775616109371185,
-0.025982463732361794,
-0.0019393620314076543,
-0.00636553019285202,
-0.043119095265865326,
-0.01281778421252966,
-0.06549385190010071,
-0.0022168783470988274,
0.007328165229409933,
-0.012531595304608345,
-0.07479064166545868,
-0.020414793863892555,
-0.005806161556392908,
-0.06133110448718071,
-0.00829947181046009,
-0.01716264896094799,
0.007562319282442331,
-0.058660008013248444,
-0.04405571520328522,
0.059596627950668335,
-0.03250409662723541,
-0.026676254346966743,
-0.013780418783426285,
0.0276649072766304,
0.017362114042043686,
-0.000714387686457485,
-0.02619060128927231,
0.03252144157886505,
-0.006803485564887524,
-0.07340306043624878,
-0.0276649072766304,
0.09019280225038528,
-0.05161803215742111,
-0.0013106141705065966,
0.009088658727705479,
-0.000332260737195611,
0.055017609149217606,
0.015176673419773579,
-0.016676995903253555,
0.017483526840806007,
-0.020796379074454308,
0.014691019430756569,
0.04370881989598274,
-0.015332776121795177,
0.03158482536673546,
0.025930430740118027,
0.06310027092695236,
0.020102588459849358,
0.06500819325447083,
0.013095300644636154,
-0.016026567667722702,
0.012332131154835224,
-0.0036987720523029566,
-0.03527925908565521,
-0.004973612725734711,
-0.013910504989326,
-0.04641460254788399,
0.09782449901103973,
-0.010380844585597515,
-0.04426385089755058,
0.031116515398025513,
-0.02575698308646679,
-0.01814262941479683,
-0.007761784363538027,
0.04363944008946419,
0.03333664685487747,
-0.017622286453843117,
0.0037356296088546515,
-0.028965763747692108,
-0.06115765497088432,
0.013685022480785847,
0.014318106696009636,
0.10739880800247192,
-0.060290418565273285,
-0.05401161313056946,
-0.00224831560626626,
0.026346703991293907,
0.0346028134226799,
0.04915507510304451,
0.10191786289215088,
-0.0615045502781868,
0.0217329952865839,
-0.01814262941479683,
-0.021368755027651787,
-0.004691760055720806,
0.00886751338839531,
-0.04683087766170502,
0.04634522274136543,
0.04807969927787781,
-0.018055904656648636,
-0.01528941374272108,
-0.057098980993032455,
0.04017048701643944,
0.07437437027692795,
-0.028636213392019272,
0.06483474373817444,
-0.011404185555875301,
-0.009270778857171535,
0.04651867225766182,
-0.011872494593262672,
-0.004618044942617416,
-0.0403786227107048,
0.019287383183836937,
-0.03725656494498253,
0.05508698523044586,
0.023033853620290756,
-0.06403689086437225,
-0.00015962608449626714,
0.06261461973190308,
0.03781159594655037,
-0.030561482533812523,
0.04971010982990265,
-0.030561482533812523,
-0.012609647586941719,
0.006695081014186144,
-0.07416623085737228,
0.04724715277552605,
-0.026641566306352615,
-0.02227068319916725,
-0.025548845529556274,
0.09699194878339767,
0.03430795297026634,
-0.039095111191272736,
-0.004474950488656759,
-0.02740473486483097,
0.008069653995335102,
0.030492104589939117,
-0.0238143689930439,
0.0036662505008280277,
0.015514896251261234,
-0.0008385112159885466,
0.03493236377835274,
-0.024456124752759933,
-0.0687546655535698,
0.03102979250252247,
-0.02119530737400055,
-0.01826404221355915,
0.02683235891163349,
0.0024846382439136505,
0.015419499948620796,
0.0215768925845623,
-0.016304083168506622,
-0.04370881989598274,
-0.0265895314514637,
-0.006421900819987059,
-0.02424798719584942,
0.01744016632437706,
-0.04696963354945183,
-0.004969276487827301,
0.013702367432415485,
0.0238143689930439,
-0.010346154682338238,
0.029139211401343346,
-0.058660008013248444,
-0.040690828114748,
-0.023085888475179672,
0.06587543338537216,
0.0017550737829878926,
0.01730140671133995,
-0.06649984419345856,
0.06726301461458206,
-0.009765105322003365,
-0.07465188950300217,
-0.04440261051058769,
0.021802375093102455,
0.03241737186908722,
-0.039372626692056656,
0.01459562312811613,
0.0594925582408905,
0.06549385190010071,
-0.010519602335989475,
0.056682705879211426,
0.04027455300092697,
0.021143274381756783,
-0.016278065741062164,
-0.00030082333250902593,
-0.018437489867210388,
0.042564064264297485,
-0.026398738846182823,
0.018194662407040596,
-0.054080989211797714,
0.0073801991529762745,
0.015445517376065254,
-0.05092424154281616,
0.04211309924721718,
-0.021264687180519104,
0.04828783869743347,
-0.02645077370107174,
-0.056960221379995346,
0.022791026160120964,
0.04648398235440254,
0.018350765109062195,
0.005003965925425291,
0.022600233554840088,
-0.01814262941479683,
-0.006872864905744791,
0.0487041138112545,
-0.016252048313617706,
0.03628525882959366,
-0.01619134284555912,
-0.025982463732361794,
0.020813722163438797,
-0.002686271211132407,
-0.013095300644636154,
-0.022374752908945084,
0.0022678286768496037,
0.013659005984663963,
0.02395312674343586,
-0.052797477692365646,
0.016607616096735,
0.002116061747074127,
0.04572081193327904,
-0.003278161399066448,
-0.027508804574608803,
0.007410552818328142,
0.034689538180828094,
0.01405793521553278,
-0.037985045462846756,
0.07021162658929825,
-0.008646367117762566,
-0.058209046721458435,
0.012843801639974117,
0.04821845889091492,
0.008394868113100529,
-0.004865207709372044,
-0.03363150730729103,
-0.012080632150173187,
-0.03697904944419861,
-0.005077681038528681,
-0.012375492602586746,
-0.021004514768719673,
-0.00382235343568027,
0.03947669640183449,
0.015402154996991158,
0.006721097975969315,
0.03394371271133423,
0.027716942131519318,
-0.00567607581615448,
0.04551267623901367,
0.018888453021645546,
-0.00941821001470089,
0.01925269328057766,
0.013641661033034325,
0.012609647586941719,
0.011673029512166977,
0.01072773989289999,
0.07624760270118713,
0.032053135335445404,
0.026259981095790863,
0.006677736062556505,
-0.02227068319916725,
-0.049779485911130905,
-0.015592947602272034,
-0.013407506980001926,
-0.001786511274985969,
0.030214587226510048,
0.005723773967474699,
0.01909659057855606,
-0.007666388060897589,
-0.03836663067340851,
-0.01204594224691391,
0.060429174453020096,
-0.027213942259550095,
-0.012583630159497261,
0.009522277861833572,
0.013416179455816746,
-0.018437489867210388,
0.005407231859862804,
0.0012553277192637324,
0.028618868440389633,
-0.004917242098599672,
-0.04072551801800728,
-0.03005848452448845,
0.0011144013842567801,
0.06188613548874855,
-0.09574312716722488,
-0.03257347643375397,
0.002703615929931402,
-0.0006927067297510803,
0.10594184696674347,
0.02424798719584942,
0.013858471065759659,
-0.034689538180828094,
0.005220775492489338,
0.014760398305952549,
0.023189956322312355,
-0.018212007358670235,
0.0487041138112545,
-0.07479064166545868,
0.00009424443123862147,
-0.033163197338581085,
-0.04662273824214935,
0.04308440536260605,
-0.03743001073598862,
-0.047143083065748215,
-0.05012638121843338,
0.028618868440389633,
0.043778195977211,
-0.014656330458819866,
-0.004132391419261694,
0.03250409662723541,
0.0008406792767345905,
-0.08457309752702713,
-0.062371790409088135,
-0.058347802609205246,
0.0335274375975132,
0.01732742413878441,
-0.027942422777414322,
-0.01376307476311922,
0.03144606575369835,
0.04461074620485306,
0.018853764981031418,
0.04634522274136543,
0.007831163704395294,
-0.005472274497151375,
-0.06632639467716217,
0.03958076238632202,
-0.031116515398025513,
-0.03559146821498871,
-0.010562964715063572,
0.004899897146970034,
-0.03208782151341438,
0.003724789246916771,
0.0031220584642142057,
0.008282126858830452,
0.031047137454152107,
0.0038158493116497993,
0.00934015866369009,
0.0036185525823384523,
-0.04322316497564316,
-0.026537496596574783,
-0.04086427763104439,
-0.02714456431567669,
0.04402102530002594,
0.03335399180650711,
0.022652268409729004,
-0.002608219627290964,
-0.05689084157347679,
0.047281842678785324,
-0.037291254848241806,
-0.03753408044576645,
0.04169682413339615,
-0.0023046862334012985,
-0.00040407892083749175,
0.04107241332530975,
0.02410922944545746,
0.055988915264606476,
-0.025704948231577873,
-0.05012638121843338,
0.058209046721458435,
0.007237105164676905,
0.03614649921655655,
0.009565640240907669,
0.01580108515918255,
-0.031081827357411385,
0.025947775691747665,
0.024456124752759933,
-0.0040066419169306755,
-0.006274470128118992,
0.007969921454787254,
-0.05231182277202606,
0.012548940256237984,
0.015280741266906261,
-0.0066864085383713245,
-0.05151396617293358,
-0.008837159723043442,
-0.006426237057894468,
-0.014361469075083733,
-0.007779128849506378,
-0.07326430827379227,
0.021021859720349312,
0.04072551801800728,
0.025149915367364883,
0.019443485885858536,
-0.030353346839547157,
0.054497264325618744,
-0.08575253933668137,
0.024178607389330864,
0.027994457632303238,
-0.03541801869869232,
0.052797477692365646,
-0.03947669640183449,
-0.04360475018620491,
-0.03061351738870144,
-0.06199020519852638,
-0.06871997565031052,
0.043812885880470276,
0.047940943390131,
0.029243281111121178,
-0.04946728050708771,
-0.0055026281625032425,
-0.024733640253543854,
0.013077955693006516,
0.04582488164305687,
0.04579019173979759,
-0.007679396774619818,
-0.025826361030340195,
-0.0504039004445076,
0.02839338779449463,
0.010233413428068161,
0.0673670843243599,
-0.020831067115068436,
0.01897517777979374,
-0.014890484511852264,
-0.014899156987667084,
0.03252144157886505,
-0.014873139560222626,
0.010389517061412334,
0.03194906562566757,
-0.015072604641318321,
-0.04724715277552605,
-0.025028502568602562,
0.07701077312231064,
-0.07354182004928589,
0.021680962294340134,
-0.029312660917639732,
-0.013182024471461773,
0.0026038833893835545,
-0.002759986324235797,
0.0038462025113403797,
0.014170676469802856,
0.062371790409088135,
-0.056960221379995346,
-0.046171776950359344,
-0.008650703355669975,
-0.02298181876540184,
0.004648398142307997,
0.017622286453843117,
0.07146044820547104,
-0.007432233542203903,
0.00574545469135046,
-0.02008524350821972,
-0.014777743257582188,
0.04669211804866791,
0.021906442940235138,
0.0290524885058403,
-0.030422724783420563,
-0.015697015449404716,
-0.009504933841526508,
0.008199739269912243,
0.0024347719736397266,
-0.023432783782482147,
0.008733090944588184,
0.008533626794815063,
-0.002712288172915578,
0.03975421190261841,
0.02880966104567051,
0.023987816646695137,
0.021351410076022148,
0.03573022410273552,
-0.004019650164991617,
-0.009140693582594395,
0.014708364382386208,
-0.037742216140031815,
0.04554736241698265,
-0.0100946556776762,
-0.05342188850045204,
0.004405571613460779,
-0.02117796242237091,
-0.03071758709847927,
-0.011725064367055893,
0.013407506980001926,
-0.04495764151215553,
-0.036354634910821915,
-0.010233413428068161,
0.01674637384712696,
-0.027907732874155045,
0.005389886908233166,
0.028896385803818703,
-0.031047137454152107,
0.011759753338992596,
-0.021906442940235138,
0.04846128448843956,
-0.011091980151832104,
-0.023224646225571632,
-0.0021225661039352417,
0.026381393894553185,
0.014621640555560589,
-0.01620868593454361,
0.006855519954115152,
0.0026190602220594883,
0.0559542253613472,
-0.007679396774619818,
-0.024317367002367973,
0.022877750918269157,
-0.04318847507238388,
0.029867691919207573,
-0.05782746151089668,
0.029798313975334167,
0.01563630998134613,
0.028341352939605713,
-0.038401320576667786,
-0.012314786203205585,
-0.04384757578372955,
0.058347802609205246,
0.021368755027651787,
-0.007935231551527977,
-0.0013127821730449796,
-0.0058625321835279465,
-0.04887755960226059,
-0.021802375093102455,
-0.01965162344276905,
0.0054549300111830235,
0.03808911144733429,
-0.0031632522586733103,
-0.0743049904704094,
0.0431537851691246,
-0.005589351989328861,
-0.0290524885058403,
-0.02036275900900364,
-0.04141930863261223,
0.01690247841179371,
0.023484816774725914,
-0.004605036228895187,
0.07936966419219971,
0.027630217373371124,
0.01635611802339554,
0.018645627424120903,
-0.08096538484096527,
0.027109874412417412,
-0.021837064996361732,
-0.014586950652301311,
0.016442840918898582,
-0.014179348945617676,
-0.004622381180524826,
0.004886888898909092,
0.016121963039040565,
0.040482692420482635,
-0.07076665759086609,
-0.007167725823819637,
-0.009210072457790375,
-0.004826182033866644,
-0.009669709019362926,
-0.0238143689930439,
-0.004522648639976978,
-0.05304030328989029,
0.03739532083272934,
0.004930250812321901,
0.0015697015915066004,
0.04693494737148285,
0.015870463103055954,
-0.0368402898311615,
0.02161158248782158,
0.08651570975780487,
-0.03781159594655037,
0.03767284005880356,
0.0382278710603714,
-0.014829778112471104,
-0.06670798361301422,
0.07243175804615021,
-0.009192727506160736,
-0.016416823491454124,
0.008256110362708569,
-0.018298732116818428,
0.007848507724702358,
-0.032746925950050354,
0.004847863223403692,
0.004002305679023266,
-0.02563556842505932,
-0.022756338119506836,
-0.00809567142277956,
0.01404926273971796,
0.009713070467114449,
-0.03864414617419243,
-0.06698549538850784,
0.01677239127457142,
0.011725064367055893,
-0.012687698937952518,
0.01412731409072876,
0.09380051493644714,
-0.018506869673728943,
-0.01744016632437706,
0.009609001688659191,
0.05855594202876091,
-0.013129990547895432,
0.019738348200917244,
-0.0647306814789772,
0.006413228344172239,
-0.0382278710603714,
0.03297240659594536,
0.028150560334324837,
-0.021819720044732094,
0.012956542894244194,
0.01604391075670719,
-0.0009783534333109856,
-0.09317609667778015,
-0.04971010982990265,
0.03878290578722954,
0.03982359170913696,
0.03600773960351944,
-0.05127113685011864,
0.04565143212676048,
-0.005602360237389803,
-0.07125230878591537,
-0.014344124123454094,
0.019027212634682655,
0.03919917717576027,
0.05800090730190277,
0.024612227454781532,
-0.013667678460478783,
0.012783095240592957,
0.02837604284286499,
-0.026138566434383392,
-0.014777743257582188,
0.05439319461584091,
0.03611180931329727,
-0.04474950581789017,
0.016425495967268944,
0.004483622964471579,
0.04773280397057533,
0.026554841548204422,
0.07610885053873062,
0.054774779826402664,
-0.028306663036346436,
0.04634522274136543,
-0.03902573138475418,
0.013754402287304401,
-0.09380051493644714,
-0.051132380962371826,
-0.07437437027692795,
0.02022400125861168,
0.009574312716722488,
0.023484816774725914,
-0.002805516356602311,
-0.013884487561881542,
0.010493585839867592
] |
7,546 | hsbalance.IC_matrix | save |
Method to save condition instance.
| def save(self, file:str):
'''
Method to save condition instance.
'''
if isinstance(file, str):
self.file = file
with open(self.file, 'wb') as f:
pickle.dump(self, f)
| (self, file: str) | [
0.05231589451432228,
0.012221477925777435,
-0.04829692468047142,
0.047742582857608795,
-0.017305821180343628,
-0.09680172801017761,
-0.07878565788269043,
0.06083888188004494,
0.022537410259246826,
-0.04912843555212021,
0.0013198070228099823,
-0.004989065229892731,
-0.030644642189145088,
-0.015625474974513054,
-0.006898941937834024,
0.005144973751157522,
-0.042753517627716064,
-0.019938938319683075,
-0.03994717076420784,
0.016041230410337448,
0.002191377803683281,
0.03251554071903229,
0.015114443376660347,
0.03547779843211174,
0.07954787462949753,
0.0641302764415741,
-0.008328101597726345,
0.0298131313174963,
-0.033797454088926315,
0.016751479357481003,
-0.00367900263518095,
-0.047361474484205246,
0.0104285329580307,
0.026591025292873383,
0.012368724681437016,
0.01825859397649765,
-0.03869990259408951,
0.10851217061281204,
-0.13324962556362152,
-0.03428250178694725,
-0.002799853216856718,
0.03041944094002247,
-0.021636607125401497,
0.02823672443628311,
-0.031181659549474716,
-0.004802841693162918,
-0.0640609860420227,
0.016188478097319603,
0.07892424613237381,
-0.021428728476166725,
0.002975249895825982,
0.03918495029211044,
-0.01620580069720745,
0.003817587858065963,
-0.02586345374584198,
0.03452502563595772,
0.028635157272219658,
0.07317295670509338,
0.00987419206649065,
0.005677660461515188,
0.0043524401262402534,
-0.0033888400066643953,
0.09922696650028229,
-0.05006388574838638,
-0.003068361897021532,
0.03658647835254669,
-0.08640784025192261,
0.011944307945668697,
0.023282306268811226,
0.05269700288772583,
0.03261948004364967,
-0.08231958001852036,
0.028132785111665726,
0.03814556449651718,
0.006695395335555077,
-0.032307662069797516,
-0.051900140941143036,
-0.01114744320511818,
-0.045871686190366745,
0.001944522955454886,
-0.011892338283360004,
-0.049232374876737595,
-0.026868196204304695,
-0.015746736899018288,
-0.04964813217520714,
-0.04597562551498413,
0.05751283839344978,
0.01144193671643734,
-0.030991103500127792,
0.015538860112428665,
-0.03617072477936745,
0.06790672242641449,
-0.03296594321727753,
0.03696759045124054,
0.029120204970240593,
-0.06361058354377747,
0.026591025292873383,
-0.028652479872107506,
-0.02995171584188938,
-0.002464217133820057,
-0.05009853094816208,
-0.012195493094623089,
-0.017929453402757645,
-0.039981815963983536,
0.008626925759017467,
-0.04046686366200447,
0.008635587058961391,
-0.022000392898917198,
-0.044312603771686554,
-0.03255018591880798,
-0.017297159880399704,
0.011026181280612946,
-0.04566380754113197,
0.047430768609046936,
0.03192655369639397,
-0.023680737242102623,
-0.03935818374156952,
0.008869449608027935,
-0.0007356922724284232,
-0.03734869882464409,
0.017167234793305397,
0.04559451341629028,
-0.0692925751209259,
0.08807086199522018,
0.014897903427481651,
0.06884217262268066,
0.024789419025182724,
0.008587948977947235,
0.028808388859033585,
-0.030021008104085922,
0.0058985305950045586,
-0.03177064657211304,
0.0045733097940683365,
0.01841450110077858,
0.030367471277713776,
-0.006686733569949865,
-0.03213443234562874,
0.020302724093198776,
-0.03085251897573471,
0.039843231439590454,
0.038561318069696426,
-0.013260866515338421,
0.019783031195402145,
-0.007388320751488209,
0.04909379035234451,
-0.00495441909879446,
-0.0752517357468605,
-0.0327753871679306,
-0.05598840117454529,
-0.007409974932670593,
0.03620536997914314,
0.003733137622475624,
-0.09506941586732864,
-0.006318616680800915,
-0.02579416148364544,
-0.011814383789896965,
0.010653733275830746,
0.016188478097319603,
0.004603625275194645,
-0.06045777350664139,
-0.03911565989255905,
0.01760031469166279,
0.004311297554522753,
-0.02281458117067814,
0.013434098102152348,
0.03345099091529846,
0.014508132822811604,
0.0417141318321228,
0.049682777374982834,
0.027318598702549934,
-0.018431825563311577,
-0.029345406219363213,
-0.0469803661108017,
0.06863429397344589,
-0.07705334573984146,
0.01967909187078476,
0.04753470793366432,
-0.005058357957750559,
0.023750029504299164,
0.024789419025182724,
0.015512875281274319,
-0.023143719881772995,
-0.030367471277713776,
0.047430768609046936,
0.08536845445632935,
-0.031787969172000885,
-0.001648946781642735,
0.03187458589673042,
0.033433668315410614,
0.0409865602850914,
0.03956606239080429,
-0.002498863497748971,
-0.012238801456987858,
-0.015105781145393848,
-0.00488079572096467,
-0.09257487952709198,
0.03511401265859604,
-0.04954419285058975,
-0.03523527458310127,
0.07933999598026276,
0.005283558741211891,
-0.015279012732207775,
0.024252401664853096,
-0.03187458589673042,
-0.003546913620084524,
-0.00674303388223052,
0.0409865602850914,
-0.008068254217505455,
-0.004064442589879036,
0.012351401150226593,
-0.026417793706059456,
-0.030991103500127792,
-0.02735324390232563,
0.012368724681437016,
0.13539768755435944,
-0.04895520582795143,
-0.010376563295722008,
0.015893984586000443,
-0.00779108377173543,
0.05134579911828041,
0.02667764201760292,
0.10248371958732605,
-0.05747819319367409,
0.027249304577708244,
0.010835626162588596,
-0.031268276274204254,
0.006682402919977903,
-0.03956606239080429,
0.003585890866816044,
0.015183735638856888,
0.009891515597701073,
-0.0001461640204070136,
-0.015270351432263851,
-0.016422340646386147,
0.025430375710129738,
0.024858711287379265,
-0.05498366057872772,
-0.0046989028342068195,
-0.03391871601343155,
-0.025447698310017586,
0.05276629701256752,
-0.027457183226943016,
-0.012550617568194866,
-0.0010415540309622884,
0.06974297761917114,
-0.0634027048945427,
0.05235053971409798,
0.02771702967584133,
-0.011866353452205658,
0.005274897441267967,
0.11592648178339005,
-0.008388732559978962,
-0.07622183114290237,
0.013555360026657581,
0.01523570530116558,
-0.006812326144427061,
-0.0176955908536911,
-0.03714082017540932,
0.05848293378949165,
0.012256124056875706,
-0.030367471277713776,
-0.006660748738795519,
0.060561712831258774,
-0.02274528704583645,
-0.034178562462329865,
-0.048262279480695724,
-0.060180600732564926,
-0.027595767751336098,
0.011978954076766968,
0.009397805668413639,
0.005617029499262571,
0.03509669005870819,
-0.030454086139798164,
0.04119443520903587,
-0.05089539662003517,
-0.08003292232751846,
-0.012845111079514027,
-0.022641349583864212,
-0.04562916234135628,
-0.0053138742223382,
0.02988242357969284,
0.017253851518034935,
0.07539032399654388,
-0.021705899387598038,
0.0015612483257427812,
-0.012758495286107063,
-0.006782010663300753,
-0.015045150183141232,
0.037764452397823334,
-0.019661767408251762,
-0.03459431976079941,
0.04680713638663292,
0.015071135014295578,
-0.002024642424657941,
0.011632490903139114,
-0.0357896164059639,
-0.02891232632100582,
-0.05501830577850342,
0.08848661929368973,
-0.03696759045124054,
0.017314482480287552,
-0.03637860342860222,
0.02326498180627823,
0.010523810051381588,
-0.039981815963983536,
-0.006721379701048136,
-0.01699400506913662,
0.024027200415730476,
-0.03300058841705322,
0.05269700288772583,
0.062259379774332047,
0.03360689803957939,
-0.00582923786714673,
0.05893333628773689,
0.05349386855959892,
0.04905914515256882,
-0.0039063687436282635,
-0.03928888961672783,
-0.027335921302437782,
0.061150696128606796,
-0.021047620102763176,
0.002364609157666564,
-0.04316927492618561,
-0.012836449779570103,
0.026105977594852448,
-0.0409865602850914,
0.0186397023499012,
0.005383166950196028,
0.024633510038256645,
0.0047075641341507435,
-0.017418421804904938,
0.04462441802024841,
0.07345013320446014,
0.0038608957547694445,
0.00990883819758892,
0.03518330678343773,
0.00016849464736878872,
-0.009129296988248825,
0.059453029185533524,
-0.012351401150226593,
0.04947489872574806,
-0.02816743217408657,
0.00808990839868784,
0.0018795611103996634,
-0.029865100979804993,
0.03286200389266014,
-0.06544683873653412,
0.012013600207865238,
0.025291789323091507,
0.05023711547255516,
-0.04601027071475983,
0.01893419586122036,
-0.0051016658544540405,
0.014889242127537727,
-0.026885518804192543,
-0.02385396882891655,
0.027474505826830864,
0.0454905740916729,
-0.012438016943633556,
-0.05993807688355446,
0.07739980518817902,
-0.005209935363382101,
-0.0028193416073918343,
-0.0046945721842348576,
0.06603582203388214,
0.044381894171237946,
0.020112169906497,
0.003317381953820586,
-0.01016868557780981,
-0.053771037608385086,
-0.008133215829730034,
-0.009588359855115414,
-0.014560102485120296,
-0.04652996361255646,
0.021134234964847565,
0.03520062938332558,
-0.010263962671160698,
0.014300255104899406,
0.011684460565447807,
-0.004928434267640114,
0.04070938751101494,
-0.04018969461321831,
0.01688140444457531,
0.0016944200033321977,
0.038873136043548584,
0.008756848983466625,
0.02281458117067814,
0.023750029504299164,
0.06548148393630981,
0.016820773482322693,
0.02191377617418766,
0.004768195562064648,
-0.060180600732564926,
-0.02899894304573536,
0.017643621191382408,
-0.004209524020552635,
-0.013104958459734917,
0.05335528403520584,
-0.015175074338912964,
0.06589724123477936,
-0.02891232632100582,
-0.03859596326947212,
-0.02369806170463562,
0.0462181493639946,
-0.022779934108257294,
0.018899550661444664,
-0.007206427864730358,
0.011675799265503883,
0.014473486691713333,
-0.023576797917485237,
0.02130746655166149,
-0.007379659451544285,
-0.018241271376609802,
-0.04046686366200447,
0.009995453990995884,
0.02690284326672554,
0.02757844515144825,
-0.06873823702335358,
-0.005209935363382101,
-0.014863257296383381,
-0.012871095910668373,
0.10920509696006775,
0.03928888961672783,
0.03786839172244072,
-0.0190034881234169,
0.019644444808363914,
0.019038135185837746,
-0.0019553499296307564,
-0.015374289825558662,
0.05013317987322807,
-0.0387345515191555,
-0.010229316540062428,
-0.08065655827522278,
-0.004177043214440346,
0.0737965926527977,
-0.005872545763850212,
-0.02996903844177723,
-0.06014595553278923,
-0.017617637291550636,
0.05789394676685333,
-0.02884303405880928,
-0.050410348922014236,
0.003165804548189044,
0.015738075599074364,
-0.012983696535229683,
-0.06416492164134979,
-0.049232374876737595,
0.011753752827644348,
0.04219917953014374,
-0.006296962965279818,
-0.013997100293636322,
0.027076072990894318,
0.030436763539910316,
-0.008670233190059662,
0.006517833098769188,
-0.00830644741654396,
-0.007661160547286272,
-0.0723414495587349,
0.030887166038155556,
-0.051311153918504715,
-0.011970292776823044,
-0.011571859940886497,
0.029016265645623207,
-0.017184559255838394,
0.011112797074019909,
-0.00983954593539238,
-0.037521928548812866,
0.018016070127487183,
0.026365825906395912,
-0.001153071760199964,
-0.006751695182174444,
-0.032394278794527054,
-0.041263729333877563,
-0.011052166111767292,
-0.021151559427380562,
0.060561712831258774,
0.0010377645958214998,
0.010818303562700748,
0.0008509994368068874,
-0.030609995126724243,
0.00009987875091610476,
-0.01954050548374653,
-0.05626557022333145,
0.08093372732400894,
0.004690241068601608,
-0.05539941415190697,
0.0260886549949646,
-0.01661289483308792,
0.04701501131057739,
0.02721465937793255,
-0.022537410259246826,
0.05553799867630005,
-0.015564844943583012,
0.0046945721842348576,
0.03793768584728241,
0.04077868163585663,
-0.05976484715938568,
0.06309089064598083,
-0.029761161655187607,
-0.04853944852948189,
-0.0014443171676248312,
-0.0041683814488351345,
-0.03721011430025101,
0.020839741453528404,
-0.0052315895445644855,
-0.0357549674808979,
-0.04209524020552635,
0.00393885001540184,
-0.009943484328687191,
0.009571037255227566,
0.002825837815180421,
-0.044381894171237946,
-0.010904919356107712,
0.05494901165366173,
0.003092181170359254,
-0.001013945322483778,
-0.04465906322002411,
-0.0006052273674868047,
-0.060180600732564926,
0.023750029504299164,
0.004945757798850536,
-0.018171977251768112,
0.06395705044269562,
-0.04753470793366432,
-0.03229033946990967,
-0.05494901165366173,
-0.02989974617958069,
-0.03086984157562256,
0.06236331909894943,
0.04465906322002411,
0.020025555044412613,
-0.030176917091012,
0.019505860283970833,
-0.014265608973801136,
0.0290682353079319,
0.06468462198972702,
0.012412033043801785,
0.012160846963524818,
-0.012351401150226593,
-0.03532189130783081,
0.0026591026689857244,
-0.01695069670677185,
0.02446027845144272,
-0.037452638149261475,
-0.007704468443989754,
-0.020995650440454483,
0.008328101597726345,
0.005972153972834349,
-0.021342113614082336,
0.005976484622806311,
0.019471213221549988,
-0.00920725055038929,
-0.003603213932365179,
-0.040744032710790634,
0.04853944852948189,
-0.05113792046904564,
0.04358502849936485,
0.010671056807041168,
0.018899550661444664,
0.008895434439182281,
-0.04361967742443085,
-0.004177043214440346,
0.02929343655705452,
0.03138953819870949,
-0.037071529775857925,
-0.014845934696495533,
0.03518330678343773,
-0.04601027071475983,
0.0033628554083406925,
0.011926984414458275,
0.08315108716487885,
0.020025555044412613,
0.04015504941344261,
-0.015330982394516468,
0.02951863780617714,
0.035893555730581284,
0.05806717649102211,
0.055052950978279114,
-0.048192985355854034,
0.0022195277269929647,
-0.0223641786724329,
0.024633510038256645,
-0.02600203827023506,
-0.028080815449357033,
-0.043411798775196075,
-0.018362533301115036,
0.012715187855064869,
0.01762629859149456,
-0.033277761191129684,
0.035962846130132675,
0.021082265302538872,
0.07261861860752106,
0.016145169734954834,
-0.04129837453365326,
0.039912521839141846,
-0.0529395267367363,
0.026521733030676842,
-0.05598840117454529,
-0.02861783280968666,
0.001565579092130065,
-0.000004136239112995099,
-0.029310759156942368,
-0.024044523015618324,
0.04157554358243942,
-0.008990711532533169,
-0.018691672012209892,
-0.060353834182024,
0.05882939696311951,
-0.028877681121230125,
0.02825404703617096,
-0.02205236256122589,
-0.0052315895445644855,
0.042441703379154205,
-0.016153831034898758,
0.027024105191230774,
0.02712804265320301,
-0.022450795397162437,
0.025655576959252357,
-0.0417141318321228,
0.01753968372941017,
0.003432147903367877,
0.00943245179951191,
0.009189927950501442,
0.03675971180200577,
-0.05009853094816208,
-0.018171977251768112,
-0.004781187511980534,
-0.01914207451045513,
0.02220826968550682,
-0.08689288794994354,
-0.006786341778934002,
0.00491977296769619,
0.05605769529938698,
-0.027093397453427315,
-0.025759514421224594,
-0.021653929725289345,
0.021151559427380562,
-0.00041900353971868753,
0.0015385117148980498,
-0.008107230998575687,
0.014932550489902496,
-0.01263723336160183,
0.005136311985552311,
-0.033537607640028,
-0.039981815963983536,
0.02056257240474224,
0.033953361213207245,
-0.07102488726377487,
0.01624910905957222,
-0.057131730020046234,
-0.05252377316355705,
0.006665079388767481,
-0.03338169679045677,
-0.003300058888271451,
0.055780522525310516,
0.003185293171554804,
0.08010222017765045,
0.022537410259246826,
0.008947404101490974,
-0.007570214103907347,
-0.05411750078201294,
0.017998745664954185,
-0.021705899387598038,
-0.02376735396683216,
-0.004664256703108549,
0.026123300194740295,
-0.026885518804192543,
-0.006465863436460495,
-0.008354086428880692,
-0.009943484328687191,
-0.018431825563311577,
0.026105977594852448,
-0.01445616316050291,
-0.016006585210561752,
-0.0034191554877907038,
-0.043792907148599625,
-0.018674349412322044,
-0.050271764397621155,
0.037521928548812866,
-0.02898162044584751,
-0.011450598016381264,
-0.0018958015134558082,
0.004326455295085907,
-0.04050150886178017,
0.047430768609046936,
0.08003292232751846,
-0.02042398601770401,
0.037002235651016235,
0.0005927763413637877,
-0.030142270028591156,
-0.0618436224758625,
0.04808904603123665,
-0.04895520582795143,
-0.022762611508369446,
0.03617072477936745,
-0.02459886483848095,
0.003393170889467001,
-0.01658691093325615,
0.03033282421529293,
-0.02087438851594925,
-0.028063492849469185,
-0.010454517789185047,
0.016344387084245682,
0.012645894661545753,
0.011208074167370796,
-0.05633486434817314,
-0.04112514480948448,
-0.001866568811237812,
0.056681327521800995,
-0.03227301687002182,
0.012732510454952717,
0.063368059694767,
0.02154999040067196,
-0.02676425687968731,
-0.020753126591444016,
0.009519067592918873,
-0.011779737658798695,
-0.014014423824846745,
-0.017522359266877174,
-0.02749183028936386,
-0.025690222159028053,
0.0030878502875566483,
-0.0014248285442590714,
-0.039773937314748764,
0.01728849671781063,
-0.01688140444457531,
-0.029189497232437134,
-0.0521773099899292,
0.021723221987485886,
0.030575348064303398,
0.022312209010124207,
0.022693319246172905,
-0.056300219148397446,
0.022468117997050285,
0.0015883157029747963,
-0.055260829627513885,
0.005937507376074791,
-0.012282108888030052,
-0.0022000393364578485,
0.07033196091651917,
0.049821361899375916,
0.02220826968550682,
0.008492670953273773,
0.011043503880500793,
-0.01359866838902235,
-0.01997358538210392,
0.06139322370290756,
0.043411798775196075,
-0.026261886581778526,
-0.011286028660833836,
0.03442108631134033,
0.02816743217408657,
0.03786839172244072,
0.06461532413959503,
0.04732682928442955,
0.013061650097370148,
0.06343735009431839,
-0.015088458545506,
0.019471213221549988,
-0.011078150942921638,
-0.03766051307320595,
-0.042892105877399445,
0.007908015511929989,
-0.01252463273704052,
0.010186008177697659,
0.014767980203032494,
-0.019783031195402145,
-0.009137958288192749
] |
7,547 | hsbalance.tools | CustomError |
The class is used to raise custom expections
| class CustomError(Exception):
'''
The class is used to raise custom expections
'''
pass
| null | [
-0.0015756633365526795,
-0.07907687872648239,
0.016227014362812042,
0.06169268488883972,
-0.006660407409071922,
-0.06649807095527649,
-0.0561099573969841,
0.023602928966283798,
0.0824689194560051,
-0.03155301883816719,
0.07808753103017807,
-0.0042223804630339146,
0.052541252225637436,
-0.0137183191254735,
-0.04399048909544945,
0.032330360263586044,
0.014575161971151829,
0.010255614295601845,
-0.0010070111602544785,
-0.022295581176877022,
0.008762763813138008,
0.04225913807749748,
0.0045227170921862125,
-0.0035664979368448257,
-0.002217191271483898,
0.12797875702381134,
-0.009398771449923515,
-0.0007160600507631898,
0.038160424679517746,
-0.08692096918821335,
-0.07943021506071091,
-0.04035111516714096,
-0.01701318845152855,
0.058300647884607315,
-0.015741175040602684,
-0.02397393248975277,
-0.02446860447525978,
0.04815986752510071,
-0.09568373113870621,
0.01356815081089735,
-0.09335170686244965,
0.047912534326314926,
-0.0374184176325798,
-0.044661831110715866,
0.05490861088037491,
-0.02517527900636196,
0.008594929240643978,
0.015917843207716942,
-0.06119801476597786,
-0.00752608384937048,
0.004540383815765381,
-0.004990888759493828,
0.015838341787457466,
-0.016686351969838142,
0.03309003263711929,
0.06925410032272339,
0.03727708011865616,
0.04084578901529312,
-0.051551904529333115,
0.0032330360263586044,
-0.025457950308918953,
0.05911332368850708,
0.013011644594371319,
-0.016721686348319054,
-0.02501627802848816,
-0.005176390986889601,
-0.004920221399515867,
-0.0007541542290709913,
0.004374756943434477,
0.03284269943833351,
0.06441338360309601,
-0.008396176621317863,
-0.023814931511878967,
0.016023844480514526,
0.10112512111663818,
-0.026146957650780678,
-0.06547339260578156,
-0.014451493509113789,
0.024486271664500237,
0.008440343663096428,
0.018355870619416237,
0.007676252163946629,
-0.016571518033742905,
0.024362603202462196,
0.07822886854410172,
-0.06625073403120041,
-0.034326713532209396,
-0.06402470916509628,
0.04494449868798256,
0.03943243995308876,
-0.05858331918716431,
-0.012110634706914425,
-0.058265313506126404,
0.0017931866459548473,
0.012834976427257061,
0.0021332737524062395,
0.05349526181817055,
-0.018903544172644615,
0.012225469574332237,
-0.011315626092255116,
0.02363826334476471,
0.02646496146917343,
0.008272508159279823,
-0.014018655754625797,
0.02059956267476082,
0.009098434820771217,
-0.014742997474968433,
-0.021023567765951157,
0.04151712730526924,
0.015228835865855217,
-0.01566167362034321,
-0.0015933301765471697,
-0.03505105525255203,
0.002524153096601367,
-0.0012212218716740608,
-0.0064174882136285305,
0.014389660209417343,
0.019203880801796913,
0.009160268120467663,
0.009601940400898457,
0.045792508870363235,
-0.027083300054073334,
-0.033496372401714325,
0.0665334090590477,
0.03277203068137169,
0.034909721463918686,
0.0038977516815066338,
0.014787164516746998,
0.03301936760544777,
-0.0009589794208295643,
0.001964334398508072,
-0.01980455406010151,
-0.016845352947711945,
-0.06642740219831467,
-0.02893832139670849,
0.06278803199529648,
0.011474627070128918,
0.032083023339509964,
-0.008559594862163067,
-0.002835531486198306,
0.03706507757306099,
0.07660351693630219,
0.010679618455469608,
0.008029589429497719,
-0.028620317578315735,
0.009098434820771217,
-0.04194113239645958,
0.006907743401825428,
0.00040992643334902823,
0.0126494737342,
0.0056357295252382755,
-0.024539273232221603,
-0.0012201176723465323,
-0.003782917046919465,
-0.022436916828155518,
0.007384748663753271,
0.023691263049840927,
-0.04522716999053955,
-0.0018693748861551285,
0.010140779428184032,
0.012349137105047703,
-0.08395293354988098,
0.07582617551088333,
-0.01244630478322506,
0.0010219175601378083,
0.039997778832912445,
-0.0027251136489212513,
-0.07105612009763718,
-0.019486550241708755,
-0.0328073650598526,
-0.007331748027354479,
0.00539722666144371,
-0.0065014054998755455,
-0.0006514655542559922,
-0.042789142578840256,
0.01892120949923992,
0.0003257327771279961,
0.043248482048511505,
-0.0179318655282259,
-0.02738363854587078,
0.06702807545661926,
-0.019150879234075546,
-0.017313525080680847,
0.023832598701119423,
0.01258763950318098,
0.00878484733402729,
0.00004868739051744342,
0.03469771891832352,
0.02008722350001335,
0.013479816727340221,
0.03227736055850983,
-0.013939155265688896,
0.011271459050476551,
0.04589850828051567,
0.012463971972465515,
-0.029256325215101242,
-0.040245115756988525,
-0.03547506034374237,
0.07547283917665482,
0.08006622642278671,
-0.046499185264110565,
0.12154801934957504,
0.012243135832250118,
-0.029379993677139282,
0.049043212085962296,
0.0026367793325334787,
0.039997778832912445,
-0.06395404040813446,
-0.0907370075583458,
-0.02621762454509735,
-0.02059956267476082,
-0.02646496146917343,
0.015520338900387287,
0.04727652668952942,
0.059890665113925934,
0.016871854662895203,
0.0435311496257782,
-0.022330915555357933,
-0.025192946195602417,
0.04356648400425911,
0.09702641516923904,
0.009557772427797318,
0.01519350241869688,
-0.001321702147834003,
0.03035167045891285,
0.003312536748126149,
0.022065911442041397,
-0.07462482899427414,
0.011377459391951561,
-0.017401859164237976,
-0.01569700799882412,
0.013541650027036667,
-0.0331077016890049,
0.0007845191285014153,
0.005406060256063938,
0.008661179803311825,
0.025652285665273666,
-0.030192669481039047,
-0.0012642848305404186,
-0.01711035706102848,
-0.01756969466805458,
0.009593106806278229,
-0.023355592042207718,
0.0576293058693409,
0.06215202435851097,
-0.020122557878494263,
-0.024486271664500237,
0.07042011618614197,
-0.026906631886959076,
-0.0002782530791591853,
0.00787942111492157,
-0.005224974825978279,
-0.03992711007595062,
-0.02038756012916565,
0.03134101629257202,
0.0032396609894931316,
-0.0533539280295372,
-0.039079099893569946,
0.039785776287317276,
0.03510405495762825,
0.022913921624422073,
0.011536461301147938,
0.04236513748764992,
0.00846242718398571,
0.0006326945149339736,
-0.0358814001083374,
-0.0352630577981472,
0.04194113239645958,
0.04448515921831131,
0.04798319935798645,
0.13024011254310608,
0.10112512111663818,
-0.009372270666062832,
0.04204713553190231,
-0.04685252159833908,
-0.014460327103734016,
-0.049467217177152634,
0.05695796757936478,
-0.0371004119515419,
0.0029106156434863806,
-0.0003671394952107221,
0.02054656110703945,
0.003904376644641161,
0.030316336080431938,
-0.023355592042207718,
0.012260803021490574,
-0.009010099805891514,
-0.0255992840975523,
-0.0346447192132473,
0.016288848593831062,
-0.0016198304947465658,
-0.008806930854916573,
-0.001489537418819964,
-0.007667418569326401,
0.035704731941223145,
-0.0005253131384961307,
-0.04257714003324509,
-0.0025926120579242706,
0.02263125218451023,
0.0011593878734856844,
0.03482138738036156,
0.005286808591336012,
0.0047921366058290005,
0.008100256323814392,
-0.018232202157378197,
-0.04639318212866783,
0.04038644954562187,
-0.0012554514687508345,
-0.038160424679517746,
-0.015299503691494465,
0.02054656110703945,
0.03886709734797478,
-0.022613584995269775,
0.011960466392338276,
0.03936177119612694,
0.030634339898824692,
0.05685196444392204,
-0.03164135292172432,
-0.019645551219582558,
0.0610213465988636,
-0.03657040745019913,
-0.03936177119612694,
-0.03109367936849594,
-0.055544618517160416,
-0.012887976132333279,
-0.01708385720849037,
-0.004198088310658932,
0.04098712280392647,
-0.0318886861205101,
-0.020016556605696678,
0.021853908896446228,
-0.05748797208070755,
0.015493839047849178,
-0.03296636790037155,
-0.04978521913290024,
-0.05356592684984207,
0.033584706485271454,
-0.027524972334504128,
-0.012322637252509594,
-0.0312703475356102,
0.012808475643396378,
0.008215091191232204,
-0.008917349390685558,
0.05632195994257927,
-0.055261947214603424,
-0.04565117508172989,
-0.0074333325028419495,
-0.01696018874645233,
-0.019574884325265884,
0.003913210239261389,
0.01667751930654049,
0.0416937954723835,
-0.040704451501369476,
-0.031040677800774574,
0.0371004119515419,
-0.013771319761872292,
-0.01904487796127796,
-0.05105723440647125,
0.0035046639386564493,
-0.09052500873804092,
0.03457405045628548,
-0.011660129763185978,
-0.0012399929109960794,
-0.016606850549578667,
-0.03254236280918121,
0.03044000454246998,
-0.01600617729127407,
-0.004065586719661951,
-0.0118809649720788,
0.017092689871788025,
0.008413843810558319,
-0.040881119668483734,
-0.01665101759135723,
-0.0016154138138517737,
0.011580628342926502,
-0.00935460440814495,
-0.055049944669008255,
0.032789696007966995,
-0.06300003081560135,
0.022313248366117477,
0.030828675255179405,
-0.021412238478660583,
-0.046004511415958405,
-0.06095067784190178,
0.007574667688459158,
0.001064980635419488,
0.018620872870087624,
0.04247113689780235,
0.012402137741446495,
0.04519183561205864,
-0.047912534326314926,
-0.058795321732759476,
-0.004924638196825981,
-0.007508416660130024,
-0.06925410032272339,
-0.0579473115503788,
-0.04028044641017914,
0.0305106732994318,
-0.04685252159833908,
0.010776786133646965,
-0.01800253428518772,
0.02842598222196102,
0.007402415387332439,
-0.009946444071829319,
0.04377848654985428,
0.013409148901700974,
-0.009999444708228111,
-0.029627328738570213,
0.00021131224639248103,
0.02538728155195713,
-0.043036479502916336,
0.027030300348997116,
-0.01454866211861372,
-0.04420249164104462,
-0.0015292877797037363,
-0.014106989838182926,
0.007799920160323381,
-0.02501627802848816,
-0.021270902827382088,
-0.042506471276283264,
-0.025775952264666557,
-0.03575773164629936,
0.06586206704378128,
0.044626496732234955,
-0.019150879234075546,
0.0023033171892166138,
-0.036747075617313385,
0.005958149675279856,
0.007967755198478699,
0.00041020248318091035,
-0.009098434820771217,
0.008502177894115448,
-0.04943188279867172,
-0.01250813901424408,
0.016324181109666824,
-0.06540272384881973,
-0.06303536891937256,
-0.028690986335277557,
-0.011492294259369373,
0.04356648400425911,
0.012755475006997585,
-0.02621762454509735,
0.055544618517160416,
0.059007324278354645,
0.06784075498580933,
-0.06462538242340088,
-0.02063489519059658,
0.011121289804577827,
0.012190135195851326,
0.003330203704535961,
0.015652840957045555,
0.018196869641542435,
0.020458227023482323,
-0.0059404824860394,
-0.028160979971289635,
-0.07006677985191345,
-0.10077178478240967,
-0.03602273389697075,
0.0269773006439209,
-0.02112956903874874,
-0.02158890664577484,
0.0717274621129036,
-0.03819575905799866,
-0.06239936128258705,
0.0030210334807634354,
-0.009663773700594902,
0.024168267846107483,
-0.018956543877720833,
0.02609395608305931,
-0.00045547381159849465,
0.01851487159729004,
-0.0013294314267113805,
-0.028037311509251595,
-0.036252401769161224,
-0.008599345572292805,
0.008745097555220127,
-0.007760169450193644,
-0.009124934673309326,
0.006448404863476753,
0.0012642848305404186,
0.05292992293834686,
-0.026729963719844818,
0.015599840320646763,
-0.0015911218943074346,
0.0022834420669823885,
-0.009813942015171051,
0.006739908363670111,
-0.036128733307123184,
0.0002529949997551739,
0.0021741283126175404,
0.01384198758751154,
0.022154245525598526,
-0.010282114148139954,
0.022154245525598526,
0.014857831411063671,
-0.015140501782298088,
-0.045297835022211075,
0.04847787320613861,
-0.015741175040602684,
-0.030192669481039047,
0.04409648850560188,
-0.05324792489409447,
-0.0015690382570028305,
-0.03114667907357216,
0.06215202435851097,
-0.05010322481393814,
0.03135868161916733,
0.024415604770183563,
0.06360070407390594,
-0.029397660866379738,
-0.018868209794163704,
0.05974933132529259,
0.05540328100323677,
-0.01413349062204361,
0.008665596134960651,
-0.026712296530604362,
-0.03513938933610916,
0.022419249638915062,
0.04727652668952942,
0.06946610659360886,
0.03759508579969406,
0.014451493509113789,
0.03397337719798088,
0.0019875220023095608,
0.00360624841414392,
-0.0164036825299263,
0.01775519736111164,
-0.019203880801796913,
0.037913087755441666,
0.08345825970172882,
-0.0003547174856066704,
0.02026389166712761,
0.01021144725382328,
0.010264446958899498,
0.04197646677494049,
0.08296358585357666,
-0.07059678435325623,
0.057169970124959946,
0.03936177119612694,
0.0060553173534572124,
-0.0018218952463939786,
0.07490749657154083,
0.022295581176877022,
-0.00000637490802546381,
-0.04028044641017914,
-0.0410931222140789,
-0.016854187473654747,
-0.023585261777043343,
-0.03360237181186676,
0.00026955766952596605,
0.05600395426154137,
-0.013073478825390339,
0.015175835229456425,
0.019645551219582558,
0.03473305329680443,
0.01658918522298336,
0.031235013157129288,
0.04381382092833519,
0.0717274621129036,
0.015379004180431366,
-0.018267536535859108,
0.028991322964429855,
0.029238658025860786,
-0.04243580624461174,
-0.032118357717990875,
-0.007234580349177122,
-0.013515150174498558,
0.017702197656035423,
-0.0683707594871521,
-0.016394848003983498,
-0.013250146992504597,
0.0361817367374897,
0.023355592042207718,
0.0024402353446930647,
-0.008396176621317863,
0.045580506324768066,
0.02155357226729393,
0.04204713553190231,
-0.023443927988409996,
-0.004138462711125612,
-0.01780819706618786,
-0.027878310531377792,
-0.02213658019900322,
-0.07278747856616974,
-0.05950199440121651,
-0.016889521852135658,
-0.026994965970516205,
-0.03759508579969406,
-0.020581895485520363,
0.024698274210095406,
-0.00475238636136055,
-0.02955666184425354,
0.004496216773986816,
-0.06752274930477142,
0.023655928671360016,
0.01100645586848259,
-0.009487105533480644,
-0.06310603767633438,
-0.01327664777636528,
0.004014794714748859,
-0.0228432547301054,
0.02217191271483898,
0.0031932855490595102,
0.005247058346867561,
0.06077400967478752,
0.003308120183646679,
0.00752608384937048,
-0.019115544855594635,
-0.027860643342137337,
0.025581616908311844,
0.017613861709833145,
-0.011032955721020699,
-0.01590901054441929,
0.01631534844636917,
-0.06183401867747307,
-0.020458227023482323,
-0.0005774855962954462,
0.02630595862865448,
0.00026734932907857,
0.02259591780602932,
-0.0027538223657757044,
0.0133384820073843,
-0.05398993194103241,
0.032083023339509964,
-0.035828396677970886,
0.025122279301285744,
0.007799920160323381,
0.008886432275176048,
-0.04819520190358162,
-0.04222380369901657,
-0.0137183191254735,
0.07455416023731232,
-0.005436976905912161,
-0.13370281457901,
-0.050385892391204834,
0.00896593276411295,
-0.00045851030154153705,
0.02480427548289299,
0.05536795035004616,
0.012684807181358337,
0.026588628068566322,
0.009716774336993694,
-0.0708087906241417,
0.024980943650007248,
-0.04921988025307655,
0.020917566493153572,
0.00535747641697526,
-0.09914643317461014,
0.0597846657037735,
-0.03134101629257202,
0.0007127475109882653,
0.06024400144815445,
-0.028920654207468033,
-0.021906910464167595,
-0.03572239726781845,
-0.005631312727928162,
-0.028337648138403893,
0.013435649685561657,
0.029538994655013084,
0.018143868073821068,
-0.02385026589035988,
0.005556228570640087,
0.026659296825528145,
-0.024168267846107483,
0.02655329555273056,
0.012287302874028683,
0.045545171946287155,
-0.075402170419693,
0.0269773006439209,
-0.005666646175086498,
0.012402137741446495,
-0.010229113511741161,
-0.007835254073143005,
-0.026500293985009193,
0.0210059005767107,
0.002004084875807166,
-0.012269636616110802,
-0.05536795035004616,
-0.015034500509500504,
-0.01753436215221882,
-0.008868765085935593,
0.021624241024255753,
-0.09759175032377243,
-0.012269636616110802,
-0.0251399464905262,
0.0665334090590477,
-0.016112178564071655,
0.03847842663526535,
-0.015175835229456425,
-0.05844198167324066,
-0.037877753376960754,
0.007406832184642553,
-0.038619764149188995,
0.024662939831614494,
-0.052505917847156525,
0.02259591780602932,
-0.030457671731710434,
-0.03890243172645569,
-0.00040164508391171694,
0.022949254140257835,
0.019733885303139687,
-0.011571795679628849,
-0.017163356766104698,
-0.005472310818731785,
0.03254236280918121,
-0.0005774855962954462,
-0.007857337594032288,
-0.024079933762550354,
0.06342403590679169,
-0.00045768218114972115,
0.03498039022088051,
0.0266769640147686,
0.04363715276122093,
-0.047382526099681854,
-0.03038700483739376,
-0.045545171946287155,
0.05035055801272392,
0.03102301061153412,
-0.031235013157129288,
0.00022511447605211288,
0.01102412212640047,
0.00031441496685147285,
-0.02134156972169876,
-0.004379173740744591,
-0.03611106798052788,
-0.004959971643984318,
-0.0251399464905262,
-0.08437693864107132,
0.009707941673696041,
0.0340263769030571,
0.01085628755390644,
0.016730519011616707,
-0.05098656564950943,
0.08783964067697525,
0.0016121012158691883,
-0.004893721081316471,
-0.0542726032435894,
0.007367081940174103,
0.025917287915945053,
0.05625129118561745,
0.01671285182237625,
-0.006333570461720228,
-0.033408038318157196,
-0.06600339710712433,
0.022772585973143578,
0.020687896758317947,
0.00001714065183477942,
0.10593050718307495,
0.013170646503567696,
0.05890132114291191,
-0.012879143469035625,
-0.013497482985258102,
0.008241591975092888,
0.03706507757306099,
-0.02784297615289688,
-0.045580506324768066,
0.039715107530355453,
-0.02250758372247219,
0.0038756681606173515,
0.0032705781050026417,
0.005516477860510349,
-0.04187046363949776,
-0.013135313056409359,
0.000054277294111670926,
0.014018655754625797,
0.0407751202583313,
0.002025064080953598,
0.0444498285651207
] |
7,549 | hsbalance.tools | InfoFormatter |
Class to format info method of every class.
| class InfoFormatter:
'''
Class to format info method of every class.
'''
def __init__(self, name:str, info_parameters:Iterable, level:int=1) -> str:
'''Args: info_parameters generator of tuple(name, parm) from _info method
level: level for nested appearance
'''
self.info_parameters = info_parameters
self.name = name
self.line_header = f'\n{(30+10*level)*"+"}\n'
self.line_separator = f'\n{(20+10*level)*"="}\n'
def info(self):
'''
return generator with the strings to be printed
'''
# Header
yield f'{self.line_header}{self.name}{self.line_header}'
# parameters
for item in self.info_parameters:
title, param = item
yield f'''{self.line_header}{title}{self.line_separator}{param
}{self.line_separator}End of {title}{
self.line_header}
'''
| (name: str, info_parameters: Iterable, level: int = 1) -> str | [
0.03161439299583435,
-0.02083636075258255,
0.026629114523530006,
-0.02506682649254799,
0.014683753252029419,
-0.08481995761394501,
-0.010514725930988789,
-0.016342587769031525,
0.001893616165034473,
0.017316823825240135,
0.005968291778117418,
-0.02889355458319187,
0.01642157882452011,
-0.0032672008965164423,
-0.041497182101011276,
0.034598540514707565,
0.04325256124138832,
-0.017044739797711372,
-0.016254818066954613,
0.014473107643425465,
0.022433755919337273,
0.05150284990668297,
0.02666422165930271,
0.003585363505408168,
0.002442172495648265,
0.022451309487223625,
-0.004412586335092783,
-0.009970557875931263,
-0.0022490806877613068,
-0.0668448731303215,
-0.05115177109837532,
-0.03354531154036522,
-0.022433755919337273,
0.03242186829447746,
0.009189413860440254,
-0.024908842518925667,
-0.057084955275058746,
-0.002345626475289464,
-0.08678598701953888,
0.04325256124138832,
0.06214044988155365,
-0.004043956752866507,
-0.015535112470388412,
-0.038407713174819946,
-0.013314557261765003,
-0.01802775263786316,
0.029490383341908455,
0.0319654680788517,
-0.057014741003513336,
-0.060314856469631195,
0.028050972148776054,
-0.030368072912096977,
0.006762601435184479,
-0.021450743079185486,
-0.018870335072278976,
0.0017509915633127093,
0.05301247537136078,
-0.01990600861608982,
0.06744170188903809,
0.0014163722516968846,
0.023030584678053856,
0.04188336804509163,
0.02299547754228115,
0.013454987667500973,
-0.03647679463028908,
-0.01825595274567604,
-0.03633636608719826,
-0.00817568227648735,
-0.007319934666156769,
0.02745414339005947,
0.043147239834070206,
-0.016755102202296257,
-0.01837882772088051,
0.051046449691057205,
-0.013130242004990578,
-0.0010587135329842567,
-0.09345643222332001,
-0.037600237876176834,
0.09991622716188431,
-0.06077125668525696,
-0.018765011802315712,
-0.0001084769974113442,
-0.0037543189246207476,
-0.02959570661187172,
0.04985279217362404,
-0.05220500007271767,
0.018852781504392624,
-0.03319423645734787,
0.02211778797209263,
0.10504193603992462,
-0.09605439007282257,
0.010005665943026543,
-0.0030609439127147198,
0.008105467073619366,
-0.06129786744713783,
0.008109855465590954,
0.05181881785392761,
-0.07498983293771744,
-0.004471830558031797,
0.02362741529941559,
0.026242930442094803,
-0.007890433073043823,
-0.010154873132705688,
-0.02148585021495819,
-0.03995244950056076,
-0.046447355300188065,
-0.02227577194571495,
0.025417901575565338,
0.03623104467988014,
0.050976235419511795,
-0.03475652262568474,
-0.04388450086116791,
-0.04188336804509163,
-0.005735704209655523,
0.05129220336675644,
-0.05122198909521103,
-0.02880578488111496,
-0.01142752356827259,
-0.02357475273311138,
-0.04890488460659981,
0.039320509880781174,
-0.03493206202983856,
-0.03154417872428894,
0.010067104361951351,
-0.046236708760261536,
-0.008504816330969334,
-0.029420169070363045,
-0.01609683409333229,
0.07562176883220673,
-0.040408845990896225,
0.007469141855835915,
-0.002538718283176422,
-0.009250852279365063,
0.0034866235218942165,
0.1106591522693634,
-0.014025486074388027,
-0.06445755064487457,
-0.008254674263298512,
-0.05733070895075798,
0.08299436420202255,
0.0179750919342041,
-0.07716650515794754,
-0.02750680409371853,
-0.016430357471108437,
-0.05971802771091461,
-0.04476219043135643,
0.041848257184028625,
0.02989412099123001,
-0.008017698302865028,
-0.010892133228480816,
-0.020573053508996964,
0.02211778797209263,
0.045148372650146484,
0.0359150730073452,
0.02666422165930271,
-0.024821072816848755,
-0.012471974827349186,
-0.019080979749560356,
0.02306569367647171,
-0.013472541235387325,
-0.005248586181551218,
-0.05374973639845848,
0.0007125745760276914,
0.0005628187209367752,
0.01670243963599205,
0.07435789704322815,
-0.004116366151720285,
-0.048097413033246994,
0.007688564248383045,
-0.017904875800013542,
0.010541057214140892,
-0.03259740769863129,
-0.03914497420191765,
0.049817685037851334,
0.011655722744762897,
0.06049039587378502,
-0.02594451606273651,
0.04707929119467735,
0.039987556636333466,
-0.008820784278213978,
-0.008210789412260056,
-0.022398648783564568,
-0.04114610701799393,
0.00032776236184872687,
0.0037499305326491594,
-0.023241231217980385,
0.06256174296140671,
-0.019238963723182678,
0.011164216324687004,
-0.012357874773442745,
-0.008460931479930878,
-0.014850514940917492,
0.026980189606547356,
0.029349952936172485,
0.01777322217822075,
0.023767845705151558,
-0.038337498903274536,
0.011453854851424694,
0.06989923119544983,
0.0032167339231818914,
-0.009584374725818634,
0.05582108348608017,
-0.020889021456241608,
-0.005573331378400326,
0.03247452899813652,
0.057225387543439865,
0.05115177109837532,
0.01997622475028038,
-0.11880411952733994,
0.01609683409333229,
0.010620049200952053,
-0.003249647095799446,
0.058313723653554916,
0.003894749330356717,
0.027208389714360237,
-0.03038562834262848,
0.07681542634963989,
0.013481318019330502,
-0.04128653556108475,
-0.003776261117309332,
0.06628315150737762,
0.007434034254401922,
-0.0019671227782964706,
0.037038516253232956,
-0.01955493353307247,
-0.010058327578008175,
0.05181881785392761,
-0.027419036254286766,
-0.008803230710327625,
-0.028647800907492638,
-0.0037543189246207476,
-0.05044962093234062,
-0.05978824198246002,
0.04255041107535362,
-0.05940205976366997,
-0.014201023615896702,
0.005222255364060402,
-0.039039649069309235,
-0.04406003654003143,
-0.030438289046287537,
-0.022539079189300537,
0.0327027291059494,
0.004002266563475132,
-0.024750858545303345,
0.005893688183277845,
-0.07520047575235367,
0.011725937947630882,
0.014569654129445553,
-0.02269706316292286,
-0.01633381098508835,
-0.01823839731514454,
0.03445810824632645,
-0.015894966199994087,
0.017852215096354485,
0.0008222858305089176,
-0.05164327844977379,
-0.05209967866539955,
0.0024838626850396395,
0.01568431966006756,
-0.008737403899431229,
-0.017948759719729424,
-0.016474241390824318,
0.01698330044746399,
0.05936695262789726,
0.05301247537136078,
-0.01572820544242859,
0.00198357948102057,
-0.03763534501194954,
0.00016237264208029956,
0.006872312631458044,
0.0819411352276802,
0.04764101281762123,
-0.010944793932139874,
0.037249162793159485,
-0.06077125668525696,
0.00578397698700428,
-0.015561443753540516,
-0.02945527620613575,
-0.06519481539726257,
-0.04556966572999954,
0.035300690680742264,
-0.017132509499788284,
-0.0538901649415493,
-0.009970557875931263,
0.0639660432934761,
0.004105394706130028,
0.02743658982217312,
0.06975880265235901,
0.028963768854737282,
0.02148585021495819,
-0.006183325778692961,
0.00006202114309417084,
0.0018266922561451793,
0.004210717510432005,
0.05087091028690338,
-0.024294458329677582,
-0.010927240364253521,
0.06368518620729446,
-0.03326445072889328,
-0.09991622716188431,
-0.0008985351305454969,
-0.02155606634914875,
0.06354475766420364,
-0.012726505286991596,
-0.00436650775372982,
0.005143263377249241,
-0.007126842625439167,
-0.00029704321059398353,
0.015306913293898106,
-0.017764445394277573,
0.03352775797247887,
0.039987556636333466,
0.07281316071748734,
0.0003252938622608781,
-0.0204677302390337,
0.0037718727253377438,
-0.05813818424940109,
0.05410081148147583,
0.0076666222885251045,
0.08671577274799347,
-0.021029451861977577,
0.006257929839193821,
0.011199324391782284,
-0.0011936583323404193,
0.040619492530822754,
-0.01365685649216175,
0.00833805464208126,
0.029490383341908455,
0.006512459833174944,
-0.003350581508129835,
-0.03602039813995361,
-0.021292759105563164,
-0.0005438934895209968,
0.013911386020481586,
-0.0020581830758601427,
0.035458676517009735,
-0.05445188656449318,
-0.020011331886053085,
0.012313990853726864,
-0.06361497193574905,
0.05655834451317787,
-0.021731603890657425,
-0.06512459367513657,
0.010514725930988789,
-0.04132164642214775,
-0.0027449754998087883,
0.03784599155187607,
0.02994678169488907,
0.03284315764904022,
0.09008610248565674,
0.0026594006922096014,
-0.052064571529626846,
0.046798430383205414,
0.0017597684636712074,
0.009865235537290573,
-0.025540778413414955,
0.007504249457269907,
-0.06589696556329727,
-0.0010345770278945565,
0.011638169176876545,
0.04497283697128296,
0.016456687822937965,
-0.009048983454704285,
0.011076447553932667,
-0.018659688532352448,
-0.05224010720849037,
0.013832394033670425,
0.020801253616809845,
0.04388450086116791,
0.011225654743611813,
-0.01640402525663376,
-0.004844848532229662,
0.04125142842531204,
-0.0919116958975792,
-0.028560033068060875,
0.0409705676138401,
0.02924462966620922,
0.012524636462330818,
-0.055575329810380936,
-0.06494905799627304,
0.05006343871355057,
0.021643836051225662,
0.035458676517009735,
-0.0072409422136843204,
-0.011015009135007858,
-0.056066837161779404,
0.016368918120861053,
0.04641224816441536,
-0.014411669224500656,
0.039039649069309235,
-0.026032285764813423,
-0.00540657015517354,
-0.015280582942068577,
-0.031017564237117767,
-0.03140374645590782,
-0.05115177109837532,
0.01811552233994007,
-0.0009544878848828375,
-0.07625370472669601,
-0.01537712849676609,
0.024312011897563934,
-0.07197058200836182,
-0.025453010573983192,
-0.03263251483440399,
0.02285504713654518,
-0.050906021147966385,
0.0668448731303215,
0.013174126856029034,
-0.004131725523620844,
0.022152895107865334,
0.046236708760261536,
-0.03939072787761688,
-0.009584374725818634,
0.007837771438062191,
0.03512515500187874,
-0.003346193116158247,
-0.01700085587799549,
0.043217454105615616,
-0.041988689452409744,
0.0000719980089343153,
0.007728060241788626,
0.027067959308624268,
0.02427690476179123,
0.07955382019281387,
0.005371462553739548,
-0.006056061014533043,
-0.07962403446435928,
-0.012945927679538727,
0.03907475993037224,
0.001176104531623423,
-0.02622537687420845,
-0.06656400859355927,
-0.028718017041683197,
-0.02206512726843357,
0.030736703425645828,
-0.04325256124138832,
-0.010216311551630497,
-0.023153461515903473,
0.02822650969028473,
0.03675765544176102,
0.02197735756635666,
0.015851080417633057,
0.04293659329414368,
0.02650623768568039,
-0.025382794439792633,
0.011620615608990192,
0.002718644682317972,
0.001167327631264925,
0.00670116301625967,
-0.025189703330397606,
-0.016298703849315643,
0.06593207269906998,
-0.0010707818437367678,
-0.022679509595036507,
-0.00002691353984118905,
-0.05325822904706001,
0.05726049467921257,
-0.01588618941605091,
0.011155439540743828,
0.040549278259277344,
0.017729338258504868,
-0.0010993067407980561,
0.03612571954727173,
0.050835803151130676,
-0.029999444261193275,
-0.03679276257753372,
0.07442811131477356,
0.00998811237514019,
-0.07407703250646591,
-0.05936695262789726,
0.06652890145778656,
0.023609859868884087,
-0.05146774277091026,
0.02894621528685093,
-0.01832616701722145,
0.043498314917087555,
0.006442244630306959,
-0.019449610263109207,
-0.049466606229543686,
-0.03816195949912071,
0.0017674482660368085,
-0.017009632661938667,
-0.005805919412523508,
-0.01515770610421896,
-0.019800685346126556,
0.011620615608990192,
0.04532391205430031,
-0.01786099188029766,
0.0038552533369511366,
-0.0204677302390337,
-0.03252718970179558,
0.002973174909129739,
-0.04044395312666893,
-0.023399215191602707,
-0.009496605955064297,
0.030069658532738686,
-0.017808329313993454,
0.01146263163536787,
-0.04402492940425873,
-0.06207023561000824,
0.007912375032901764,
-0.012910819612443447,
0.024627981707453728,
-0.0409705676138401,
0.046587783843278885,
0.007539357058703899,
0.022574186325073242,
0.022503972053527832,
-0.012094568461179733,
0.028050972148776054,
-0.006920585408806801,
-0.035809751600027084,
-0.009145529940724373,
0.014113254845142365,
-0.03045584261417389,
-0.04258551821112633,
-0.0531529076397419,
0.004642980173230171,
0.027682341635227203,
0.0012836216483265162,
0.039917342364788055,
-0.020309746265411377,
0.004893121775239706,
-0.024540212005376816,
-0.012454421259462833,
0.03644168749451637,
0.014832960441708565,
0.045148372650146484,
-0.014174693264067173,
0.021854480728507042,
0.005928795784711838,
-0.016921862959861755,
0.018519258126616478,
-0.005428512580692768,
0.021240098401904106,
0.03173727169632912,
0.03637147322297096,
0.016851648688316345,
0.01726416125893593,
0.03384372591972351,
0.057927537709474564,
0.023188568651676178,
-0.052345432341098785,
-0.06874068081378937,
0.01918630301952362,
-0.04248019680380821,
0.03249208256602287,
-0.024171581491827965,
0.015263029374182224,
-0.018993211910128593,
-0.017545022070407867,
-0.012945927679538727,
-0.006916197016835213,
0.05073048174381256,
-0.0031904031056910753,
0.043357886373996735,
-0.018694797530770302,
-0.017106177285313606,
0.04128653556108475,
0.02520725689828396,
-0.008245897479355335,
0.0819411352276802,
-0.01674632541835308,
-0.032228775322437286,
0.0013154378393664956,
0.016553232446312904,
0.012278882786631584,
0.07653456926345825,
-0.031070224940776825,
0.03463364765048027,
0.01570187322795391,
0.022872600704431534,
-0.001984676579013467,
0.025189703330397606,
-0.038758788257837296,
0.022293325513601303,
0.005731315817683935,
0.06544056534767151,
0.03619593381881714,
-0.008417046628892422,
0.014824183657765388,
0.023311445489525795,
-0.012471974827349186,
-0.07702607661485672,
-0.013481318019330502,
-0.0211874358355999,
-0.053117796778678894,
-0.029911674559116364,
0.049747467041015625,
0.04662289097905159,
-0.019958671182394028,
-0.02903398498892784,
-0.018343720585107803,
-0.02657645381987095,
0.027190836146473885,
0.020292192697525024,
0.010137319564819336,
-0.015500005334615707,
-0.0431121326982975,
0.0020406292751431465,
-0.06817895919084549,
0.012401759624481201,
-0.045007944107055664,
0.028507370501756668,
0.045007944107055664,
-0.022749723866581917,
0.05188903212547302,
-0.013955270871520042,
-0.04286637902259827,
0.05869990587234497,
0.006666055414825678,
-0.001725757960230112,
0.03389638662338257,
-0.02285504713654518,
-0.036547012627124786,
0.011339754797518253,
-0.004844848532229662,
-0.022661956027150154,
0.05483807250857353,
-0.0052880821749567986,
-0.02313590794801712,
0.037319377064704895,
-0.06709062308073044,
0.027120620012283325,
-0.051397524774074554,
0.020994344726204872,
0.0007937608752399683,
-0.06621292978525162,
0.0258567463606596,
-0.09310535341501236,
0.036968301981687546,
0.032948482781648636,
-0.0013889444526284933,
-0.05224010720849037,
-0.0703907385468483,
0.01802775263786316,
0.0076973410323262215,
0.015368351712822914,
-0.06642358005046844,
-0.0025584662798792124,
0.009171860292553902,
-0.06919708102941513,
-0.07934317737817764,
0.021749157458543777,
-0.033808618783950806,
0.0041207545436918736,
-0.017316823825240135,
-0.05508382245898247,
0.06098189949989319,
-0.012559743598103523,
-0.03505493700504303,
0.07513026148080826,
-0.021450743079185486,
0.04771122708916664,
-0.009540489874780178,
-0.03630125895142555,
-0.01282305084168911,
0.01732560060918331,
-0.02197735756635666,
0.047816552221775055,
0.0017136897658929229,
-0.020169315859675407,
0.0219071414321661,
-0.027067959308624268,
-0.014069370925426483,
-0.024399781599640846,
-0.020643267780542374,
0.0538901649415493,
0.05719028040766716,
-0.0409354604780674,
0.00468686455860734,
0.033299557864665985,
0.03598529100418091,
-0.04497283697128296,
-0.06522992253303528,
0.002709867898374796,
0.023662522435188293,
0.01505238376557827,
0.03354531154036522,
-0.019730471074581146,
0.03379106521606445,
-0.006556344218552113,
-0.013832394033670425,
-0.013727071695029736,
0.02069593034684658,
0.019010765478014946,
-0.007368207443505526,
-0.017799552530050278,
0.000005241283361101523,
-0.0355464443564415,
-0.03152662515640259,
-0.02306569367647171,
0.020573053508996964,
-0.020994344726204872,
-0.007657845038920641,
0.0008705587824806571,
-0.0069864122197031975,
-0.06905664503574371,
0.04065459966659546,
-0.043147239834070206,
0.03247452899813652,
-0.029209522530436516,
0.022521525621414185,
-0.002716450486332178,
-0.02146829664707184,
0.0226444024592638,
-0.0033066971227526665,
0.008588196709752083,
0.02399604395031929,
0.009250852279365063,
0.03370329737663269,
0.08706684410572052,
0.023030584678053856,
-0.028050972148776054,
-0.024610428139567375,
0.025031719356775284,
0.02931484580039978,
0.049466606229543686,
0.03059627301990986,
0.025558331981301308,
0.024908842518925667,
0.06077125668525696,
0.03707362338900566,
0.0013264090521261096,
-0.027383927255868912,
0.08453910052776337,
-0.04283127188682556,
-0.031789932399988174,
-0.012989811599254608,
-0.05273161455988884,
-0.00018609770631883293,
0.017553800716996193,
-0.10125032067298889,
0.0048316833563148975,
0.00012027095363009721,
-0.018062859773635864,
-0.031649500131607056,
0.0056435465812683105,
0.04641224816441536,
-0.0023982878774404526,
-0.02887600101530552,
0.04837827384471893,
-0.0016698052641004324,
0.058945659548044205,
-0.025031719356775284,
0.02364496886730194,
0.06600228697061539,
0.037108734250068665,
-0.01881767250597477,
0.015614105388522148,
0.05487317964434624,
-0.008847115561366081,
-0.040268417447805405,
0.016719995066523552,
0.04427068307995796,
-0.055434901267290115,
0.048027195036411285,
-0.0051300982013344765,
0.0056654890067875385,
-0.011576730757951736,
-0.0014339260524138808,
-0.004800964146852493,
0.07646435499191284,
0.0355464443564415,
0.052134785801172256,
0.05662855878472328,
-0.030368072912096977,
0.028472263365983963
] |
7,550 | hsbalance.tools | __init__ | Args: info_parameters generator of tuple(name, parm) from _info method
level: level for nested appearance
| def __init__(self, name:str, info_parameters:Iterable, level:int=1) -> str:
'''Args: info_parameters generator of tuple(name, parm) from _info method
level: level for nested appearance
'''
self.info_parameters = info_parameters
self.name = name
self.line_header = f'\n{(30+10*level)*"+"}\n'
self.line_separator = f'\n{(20+10*level)*"="}\n'
| (self, name: str, info_parameters: Iterable, level: int = 1) -> str | [
0.011463405564427376,
-0.0023206407204270363,
0.018416007980704308,
-0.002208802616223693,
-0.00937576126307249,
-0.06285301595926285,
-0.01329941488802433,
0.023709679022431374,
-0.008126902393996716,
0.019963102415204048,
0.011864159256219864,
0.008276020176708698,
0.0029334204737097025,
0.013979763723909855,
-0.029693016782402992,
0.02583460323512554,
0.031035074964165688,
-0.0007531597511842847,
-0.05733567103743553,
0.016039447858929634,
0.007805367931723595,
0.06549984961748123,
0.016803676262497902,
0.03560179844498634,
-0.0007450049160979688,
0.05170648545026779,
0.0006057897699065506,
0.00607187720015645,
0.01257246732711792,
-0.06840763986110687,
-0.07664638012647629,
-0.029767576605081558,
-0.01919887587428093,
0.04033627733588219,
0.014352557249367237,
-0.00429877731949091,
-0.05606817081570625,
-0.008378538303077221,
-0.1130310446023941,
0.03500532731413841,
0.062107428908348083,
0.007339376024901867,
-0.03959069028496742,
-0.020391814410686493,
-0.023858796805143356,
-0.02188299037516117,
0.04156649485230446,
-0.012488588690757751,
-0.03707433119416237,
-0.04730752110481262,
0.017549263313412666,
0.008317959494888783,
0.010829656384885311,
-0.020596850663423538,
-0.03906877711415291,
0.011351567693054676,
0.057522065937519073,
0.006449331063777208,
0.05275030806660652,
0.013737447559833527,
0.012013277038931847,
0.04339318722486496,
0.01620720513164997,
-0.007563052233308554,
-0.026859786361455917,
-0.0022146275732666254,
-0.027213938534259796,
-0.01765178143978119,
0.014333917759358883,
0.0326753668487072,
0.06687919050455093,
0.006281573791056871,
-0.02637515403330326,
0.0444742888212204,
-0.003380772890523076,
-0.000016409840100095607,
-0.08790475130081177,
-0.011137211695313454,
0.1102723702788353,
-0.07228469848632812,
-0.03526628389954567,
0.004294117446988821,
0.0024814079515635967,
-0.004944176413118839,
0.0408581867814064,
-0.03513580560684204,
0.01783817820250988,
-0.04272215813398361,
0.022386260330677032,
0.11586427688598633,
-0.10930310934782028,
0.03985164687037468,
-0.040970027446746826,
0.01257246732711792,
-0.04212568700313568,
-0.0025489768013358116,
0.06214470788836479,
-0.061063606292009354,
0.024362068623304367,
0.021454276517033577,
0.012330151163041592,
-0.05655280128121376,
-0.017185788601636887,
-0.012236952781677246,
-0.06546257436275482,
-0.07235925644636154,
0.01241402979940176,
0.01300118025392294,
0.04026171937584877,
0.02242354117333889,
-0.019683506339788437,
-0.007903226651251316,
-0.03595595061779022,
0.018238931894302368,
0.0007455874001607299,
-0.004014521837234497,
-0.03439021855592728,
-0.050588104873895645,
-0.009389741346240044,
-0.04208840802311897,
0.044362448155879974,
-0.030028531327843666,
-0.06508977711200714,
0.0635613277554512,
-0.019888542592525482,
-0.0022414219565689564,
-0.029357504099607468,
-0.010587341152131557,
0.05107273533940315,
-0.07004793733358383,
0.039516132324934006,
-0.010596660897135735,
0.016449522227048874,
-0.00996291171759367,
0.07426050305366516,
-0.035564519464969635,
-0.020578211173415184,
0.011379527859389782,
-0.02850007824599743,
0.05025259032845497,
0.004426924977451563,
-0.05338405817747116,
-0.016356322914361954,
-0.040597233921289444,
-0.036328744143247604,
-0.014352557249367237,
0.031072353944182396,
0.003054578322917223,
-0.032749924808740616,
-0.021435637027025223,
-0.021864350885152817,
0.0014981646090745926,
0.009627397172152996,
0.015219302847981453,
0.020410453900694847,
-0.037745360285043716,
-0.007889246568083763,
-0.048910532146692276,
0.05513618513941765,
-0.035247642546892166,
-0.016552040353417397,
-0.07194918394088745,
0.011090612038969994,
-0.023411443457007408,
0.00015479675494134426,
0.05655280128121376,
-0.023616479709744453,
-0.09879032522439957,
0.010447543114423752,
-0.021528836339712143,
0.03414790332317352,
-0.02991669438779354,
-0.008853849954903126,
0.03435293957591057,
-0.00038939467049203813,
0.024473905563354492,
-0.015778493136167526,
0.06024346128106117,
0.020168138667941093,
-0.0190683975815773,
-0.004578372463583946,
-0.007138999179005623,
-0.01870492286980152,
0.017437424510717392,
0.025983721017837524,
-0.017437424510717392,
0.05073722079396248,
-0.005503366701304913,
0.020000381395220757,
-0.013057098723948002,
-0.0073533556424081326,
0.0015983529156073928,
0.026654748246073723,
0.011006733402609825,
0.01919887587428093,
0.0030312787275761366,
-0.0012605086667463183,
0.003965592943131924,
0.034017425030469894,
0.0032293254043906927,
-0.031426507979631424,
0.049096930772066116,
-0.03545267879962921,
-0.008951708674430847,
0.01620720513164997,
0.07232197374105453,
0.03966524824500084,
0.019907183945178986,
-0.08879945427179337,
0.04316950961947441,
0.014893108047544956,
-0.006332832854241133,
0.08149269968271255,
0.0038281253073364496,
0.024399347603321075,
-0.036291465163230896,
-0.009832433424890041,
0.008229420520365238,
-0.011323608458042145,
-0.010652579367160797,
0.10184723883867264,
0.011314288713037968,
0.0102145466953516,
-0.01942255161702633,
0.006001978646963835,
-0.030159009620547295,
0.0331413596868515,
-0.03159426525235176,
-0.02061549201607704,
-0.010652579367160797,
-0.027474895119667053,
-0.05360773205757141,
-0.04697200655937195,
0.0158903319388628,
-0.08179093897342682,
-0.016235165297985077,
-0.015433658845722675,
-0.044996198266744614,
-0.05737295001745224,
-0.05532258376479149,
-0.03862142562866211,
0.029245665296912193,
-0.00792186614125967,
0.005158532876521349,
0.0009692636085674167,
-0.041417378932237625,
-0.006668346934020519,
0.055807214230298996,
-0.016039447858929634,
-0.007665570359677076,
0.00785196665674448,
0.01130496896803379,
-0.03877054527401924,
0.0458536222577095,
0.008448436856269836,
-0.025890521705150604,
-0.022255783900618553,
-0.020708689466118813,
0.021398358047008514,
-0.025182213634252548,
-0.030830038711428642,
-0.01847192831337452,
-0.009478279389441013,
0.05573265627026558,
0.05137097090482712,
-0.01495834719389677,
-0.009538858197629452,
-0.028667835518717766,
-0.033924225717782974,
-0.008909769356250763,
0.1043822318315506,
0.07015977054834366,
-0.02141699753701687,
0.021715233102440834,
-0.05256390944123268,
-0.002837891923263669,
0.016729116439819336,
-0.046040020883083344,
-0.05152008682489395,
0.002453448483720422,
0.05655280128121376,
-0.005368229001760483,
-0.03187385946512222,
0.008038364350795746,
0.027083462104201317,
-0.005205132067203522,
0.02527541294693947,
0.05260118842124939,
-0.020727328956127167,
-0.013047778978943825,
-0.020503653213381767,
0.042871274054050446,
-0.0003559014876373112,
0.02005629986524582,
0.09043975174427032,
-0.027158020064234734,
-0.00003513143747113645,
0.06650639325380325,
-0.02188299037516117,
-0.05864044651389122,
0.03096051514148712,
-0.037148892879486084,
0.07575167715549469,
-0.023746958002448082,
-0.027083462104201317,
-0.03526628389954567,
0.012945260852575302,
-0.0010461523197591305,
0.008159521967172623,
-0.013467172160744667,
0.03241441026329994,
0.07258293032646179,
0.05908780172467232,
0.008029043674468994,
0.002260061679407954,
-0.0038560847751796246,
-0.06423234939575195,
0.03739120811223984,
0.013849285431206226,
0.1002814993262291,
-0.02147291600704193,
-0.03604914993047714,
0.005284350365400314,
-0.03213481605052948,
0.0390314981341362,
-0.028127284720540047,
0.0417528934776783,
0.012647026218473911,
-0.012441989034414291,
0.020447734743356705,
-0.035247642546892166,
-0.017987295985221863,
-0.000022371261366060935,
0.00738597521558404,
-0.03118419274687767,
0.058342210948467255,
-0.041454657912254333,
0.006579808425158262,
-0.002630525501444936,
-0.05942331254482269,
0.05066266283392906,
-0.031016435474157333,
-0.058752287179231644,
0.03200433775782585,
-0.00787526648491621,
-0.030941875651478767,
0.06658095121383667,
-0.002730713691562414,
0.04823950305581093,
0.08044888079166412,
-0.020895086228847504,
-0.04253575950860977,
0.023169128224253654,
0.005223771557211876,
0.04384053871035576,
0.005363569129258394,
-0.011547284200787544,
-0.039777085185050964,
0.00851367600262165,
0.023131849244236946,
0.05006619170308113,
0.011901438236236572,
0.014706711284816265,
0.021957548335194588,
-0.013057098723948002,
-0.05427876114845276,
0.02736305631697178,
0.03612370789051056,
0.04462340474128723,
0.035061247646808624,
-0.03699977323412895,
-0.018956558778882027,
0.02682250551879406,
-0.05271302908658981,
-0.02083916775882244,
0.028034085407853127,
0.01603012904524803,
0.008863169699907303,
-0.06460514664649963,
-0.08522063493728638,
-0.005363569129258394,
0.008224761113524437,
0.06192103028297424,
0.0056152050383389,
-0.047046564519405365,
-0.023355524986982346,
0.016412241384387016,
0.03593731299042702,
-0.006193035282194614,
0.03491212800145149,
-0.008867830038070679,
0.002788962796330452,
-0.00010928971460089087,
-0.021864350885152817,
-0.01561073586344719,
-0.058752287179231644,
0.04261031746864319,
-0.013765406794846058,
-0.062293827533721924,
-0.002877501305192709,
0.009296542964875698,
-0.09043975174427032,
-0.025219492614269257,
-0.014035682193934917,
-0.00010229983308818191,
-0.06848219782114029,
0.07053256779909134,
0.018080493435263634,
0.0015354440547525883,
-0.01502358540892601,
0.04044811427593231,
-0.04123098403215408,
-0.02001902088522911,
-0.015675975009799004,
0.03981436789035797,
0.0016589319566264749,
-0.004214898683130741,
0.03211617469787598,
-0.016803676262497902,
-0.039926204830408096,
0.01719510927796364,
0.024846699088811874,
0.006090517155826092,
0.10602252930402756,
0.021137401461601257,
0.01652408018708229,
-0.06822124868631363,
-0.009357121773064137,
0.046599213033914566,
-0.030214928090572357,
-0.03166882321238518,
-0.04883597418665886,
-0.004934856668114662,
-0.03200433775782585,
0.033066801726818085,
-0.034297019243240356,
-0.012087834998965263,
-0.037652160972356796,
0.014967666938900948,
0.018807440996170044,
0.019366633147001266,
0.008164181374013424,
0.06169735640287399,
0.008299320004880428,
-0.006239634472876787,
-0.00440362561494112,
-0.003821135265752673,
-0.023672400042414665,
0.016393601894378662,
-0.04730752110481262,
0.006617087870836258,
0.05711199343204498,
0.029618458822369576,
-0.030531803146004677,
-0.01368152815848589,
-0.059572432190179825,
0.015638696029782295,
-0.024660302326083183,
0.005191151984035969,
0.003914333879947662,
0.010354344733059406,
0.02546180970966816,
0.033980146050453186,
0.02641243301331997,
-0.006486610043793917,
0.002425489015877247,
0.055397141724824905,
0.014054322615265846,
-0.06072809174656868,
-0.07019705325365067,
0.053085822612047195,
0.036738816648721695,
-0.038006316870450974,
0.04022444039583206,
0.004319746978580952,
0.014045001938939095,
0.0353967621922493,
0.0002446458674967289,
-0.053533174097537994,
-0.030121730640530586,
-0.0012139094760641456,
-0.033980146050453186,
-0.009748554788529873,
0.0021575435530394316,
-0.018462607637047768,
0.01801525428891182,
-0.009580797515809536,
-0.01388656534254551,
-0.011705721728503704,
-0.00969263631850481,
-0.02959981933236122,
0.032749924808740616,
-0.04138009995222092,
-0.01630040444433689,
0.03575091436505318,
0.06203287094831467,
0.022348981350660324,
-0.000318913342198357,
-0.031612906605005264,
-0.04257303848862648,
-0.010494142770767212,
-0.008187481202185154,
0.006248954217880964,
-0.05588177591562271,
0.031202832236886024,
0.019627587869763374,
0.02309456840157509,
0.003662697970867157,
-0.039739806205034256,
0.024846699088811874,
0.009944271296262741,
-0.04014987871050835,
-0.016729116439819336,
0.021137401461601257,
-0.02704618312418461,
0.007437234278768301,
-0.07299300283193588,
0.015265901573002338,
-0.001345552271232009,
0.007474513724446297,
0.05618000775575638,
-0.003497270867228508,
0.015582776628434658,
-0.054390598088502884,
0.004037821665406227,
0.014445755630731583,
0.016365643590688705,
0.025927800685167313,
0.021081482991576195,
0.06374771893024445,
0.01450167503207922,
-0.039926204830408096,
0.008341258391737938,
0.010708498768508434,
0.020130859687924385,
0.053085822612047195,
0.007185598369687796,
0.020354535430669785,
0.017325587570667267,
0.024753501638770103,
0.04298311099410057,
0.020727328956127167,
-0.01191075798124075,
-0.06822124868631363,
0.005205132067203522,
-0.028239121660590172,
0.03418518230319023,
-0.0033248537220060825,
0.009701956063508987,
-0.0141847999766469,
-0.003096517641097307,
-0.021006925031542778,
-0.04566722735762596,
0.013802686706185341,
0.006370112299919128,
0.03017764911055565,
-0.04044811427593231,
-0.07426050305366516,
0.0121437544003129,
0.01657067984342575,
0.013085058890283108,
0.05506162717938423,
-0.020988285541534424,
-0.017726339399814606,
-0.008322618901729584,
0.03027084842324257,
0.0038257953710854053,
0.05506162717938423,
-0.026561550796031952,
0.033570073544979095,
0.009823113679885864,
0.018080493435263634,
0.0018837731331586838,
0.04011259973049164,
-0.05949787423014641,
-0.014660111628472805,
0.026580190286040306,
0.056478243321180344,
0.005372888874262571,
-0.009655356407165527,
0.017372185364365578,
0.05994522571563721,
-0.029432062059640884,
-0.0458536222577095,
0.0017847497947514057,
-0.014650791883468628,
-0.049767956137657166,
-0.0014678752049803734,
0.04298311099410057,
0.03899421915411949,
-0.01318757701665163,
-0.03146378695964813,
-0.020485013723373413,
-0.019003158435225487,
-0.009417700581252575,
0.00394928315654397,
0.004836997948586941,
-0.0322280153632164,
-0.04298311099410057,
-0.010522102005779743,
-0.07060712575912476,
0.031016435474157333,
-0.07068168371915817,
0.07053256779909134,
0.03466981276869774,
-0.034557975828647614,
0.05181832239031792,
-0.001759120263159275,
-0.06460514664649963,
0.08208917081356049,
0.027698570862412453,
0.007931185886263847,
0.011286328546702862,
-0.03966524824500084,
-0.03418518230319023,
0.004550412762910128,
0.00878395140171051,
-0.01345785241574049,
0.06781116873025894,
-0.029301583766937256,
-0.03504260629415512,
0.022181224077939987,
-0.05286214500665665,
0.043281346559524536,
-0.06676734983921051,
0.0021785132121294737,
0.006514569744467735,
-0.0975973904132843,
0.027940887957811356,
-0.10617164522409439,
0.02672930806875229,
0.026020999997854233,
-0.0204290933907032,
-0.035061247646808624,
-0.045406270772218704,
0.010447543114423752,
0.001394481398165226,
-0.007782068103551865,
-0.016533400863409042,
0.005275030620396137,
0.007446554023772478,
-0.04462340474128723,
-0.08104535192251205,
0.007194918114691973,
-0.04637553542852402,
0.006794164888560772,
-0.018667643889784813,
-0.05252663046121597,
0.06378500163555145,
0.001670581754297018,
-0.03159426525235176,
0.08596622198820114,
-0.0281459242105484,
0.03880782425403595,
0.013057098723948002,
0.00012377915845718235,
-0.04208840802311897,
0.023075928911566734,
-0.01268430519849062,
0.025722764432430267,
-0.026673387736082077,
-0.039367012679576874,
0.030345406383275986,
-0.00894238892942667,
0.008928408846259117,
-0.014110241085290909,
-0.0019501770148053765,
0.002590916119515896,
0.05211655795574188,
-0.020578211173415184,
-0.01896587945520878,
0.036328744143247604,
0.041864730417728424,
-0.033159997314214706,
-0.029077908024191856,
0.0027912927325814962,
0.004103060346096754,
0.016356322914361954,
0.06091449037194252,
0.018993837758898735,
0.0016962112858891487,
-0.026356514543294907,
-0.0007846142398193479,
-0.06631999462842941,
0.027269858866930008,
0.04618913680315018,
-0.018350768834352493,
0.010764418169856071,
0.0075304326601326466,
-0.021808430552482605,
-0.008863169699907303,
-0.013793366961181164,
-0.0003162921348121017,
0.017055312171578407,
0.0031897160224616528,
-0.007199577987194061,
-0.010950814932584763,
-0.0767209380865097,
0.06572353094816208,
-0.024175669997930527,
0.03263808786869049,
-0.004610992036759853,
-0.015415019355714321,
0.019161595031619072,
-0.025573646649718285,
-0.009249943308532238,
0.011444766074419022,
-0.008676772937178612,
0.02678522653877735,
0.006938622798770666,
0.02695298381149769,
0.09610621631145477,
0.022889532148838043,
-0.0703834518790245,
-0.03323455899953842,
0.051035456359386444,
0.049544282257556915,
0.05215383693575859,
-0.020317256450653076,
0.0010502297664061189,
0.028388239443302155,
0.05364501103758812,
0.04734480008482933,
0.009538858197629452,
-0.038472309708595276,
0.07224741578102112,
-0.043467745184898376,
-0.02236762084066868,
0.0040890807285904884,
-0.038919661194086075,
-0.006057897582650185,
0.020951004698872566,
-0.08656269311904907,
-0.005755002610385418,
0.006220994517207146,
-0.0172510277479887,
-0.03271264582872391,
0.01792205683887005,
0.03343959525227547,
0.002651495160534978,
-0.007926525548100471,
0.04480980336666107,
0.0020422104280442,
0.04417605325579643,
-0.0463009774684906,
0.0345020554959774,
0.05994522571563721,
0.027158020064234734,
-0.011286328546702862,
0.006691646762192249,
0.06318853050470352,
-0.00020824022067245096,
-0.039777085185050964,
0.0140729621052742,
0.003308543935418129,
-0.0852951928973198,
0.07001065462827682,
-0.0002927012974396348,
-0.0061277961358428,
-0.005037374794483185,
-0.025256773456931114,
0.006994541734457016,
0.07023432850837708,
0.036925215274095535,
0.03317863866686821,
0.03817407414317131,
0.0036883275024592876,
0.012544508092105389
] |
7,551 | hsbalance.tools | info |
return generator with the strings to be printed
| def info(self):
'''
return generator with the strings to be printed
'''
# Header
yield f'{self.line_header}{self.name}{self.line_header}'
# parameters
for item in self.info_parameters:
title, param = item
yield f'''{self.line_header}{title}{self.line_separator}{param
}{self.line_separator}End of {title}{
self.line_header}
'''
| (self) | [
0.04122293367981911,
-0.005885186605155468,
-0.0058718714863061905,
-0.0525139719247818,
0.025564610958099365,
-0.05993480980396271,
0.011113503947854042,
0.0038790747057646513,
0.010350116528570652,
0.016457218676805496,
0.0019872491247951984,
0.006067156791687012,
0.004089893773198128,
0.037920840084552765,
-0.015178987756371498,
0.02963009476661682,
0.012959836982190609,
-0.03103259764611721,
-0.03073079325258732,
-0.005578943528234959,
-0.011761495843529701,
0.0561356246471405,
0.0020194267854094505,
-0.023949069902300835,
-0.016616996377706528,
0.03140541538596153,
-0.017176222056150436,
-0.02774825505912304,
0.037778813391923904,
-0.021144064143300056,
-0.06149709224700928,
-0.08549942076206207,
-0.0041764406487345695,
-0.010953725315630436,
0.021179569885134697,
0.025990687310695648,
-0.0339796282351017,
-0.025866415351629257,
-0.06476368010044098,
0.050312574952840805,
0.05606461316347122,
-0.00736314058303833,
0.008272992447018623,
-0.015356519259512424,
-0.04917636886239052,
-0.02927502989768982,
0.02934604324400425,
0.002951469738036394,
-0.020717985928058624,
-0.018924912437796593,
0.05599359795451164,
0.0034308063331991434,
-0.019404249265789986,
-0.03545314446091652,
-0.022564319893717766,
-0.00727881258353591,
0.0403352752327919,
-0.0010907123796641827,
0.05610011890530586,
0.04470256343483925,
0.03559517115354538,
0.0019428660161793232,
0.0017553478246554732,
-0.014060535468161106,
0.004895445425063372,
-0.022812863811850548,
0.033233992755413055,
-0.04193306341767311,
0.012356228195130825,
0.03133440017700195,
0.05546100437641144,
-0.004562573041766882,
-0.042394645512104034,
0.05052561312913895,
-0.015161234885454178,
-0.028919965028762817,
-0.09508614987134933,
-0.012436117976903915,
0.09828172624111176,
-0.10559604316949844,
-0.01398952305316925,
0.014761787839233875,
-0.011468568816781044,
-0.036394063383340836,
0.022830618545413017,
-0.0368911549448967,
0.008148719556629658,
-0.04232363402843475,
0.004345096182078123,
0.11475669592618942,
-0.07435040920972824,
0.021357102319598198,
-0.0035084765404462814,
0.04363736882805824,
-0.054608847945928574,
-0.014504365622997284,
0.024410651996731758,
-0.02938154898583889,
-0.006848297547549009,
0.036429569125175476,
-0.011992287822067738,
-0.003188918810337782,
0.004851062316447496,
-0.003947868477553129,
-0.0370686873793602,
-0.05411176010966301,
-0.00736314058303833,
-0.01014595478773117,
0.048430733382701874,
0.006169237662106752,
-0.053472645580768585,
-0.044311992824077606,
-0.03074854612350464,
-0.02481897547841072,
0.027268918231129646,
-0.031724970787763596,
-0.015267753973603249,
-0.0074164001271128654,
-0.02291938289999962,
-0.04328230768442154,
0.006972569972276688,
-0.06007683649659157,
-0.03527561202645302,
-0.0026208164636045694,
-0.014957072213292122,
0.006058280356228352,
-0.02158789336681366,
-0.015170111320912838,
0.04005122184753418,
-0.05744936317205429,
0.030428988859057426,
-0.02187194488942623,
0.022741852328181267,
-0.017336001619696617,
0.0497799776494503,
-0.0461583249270916,
-0.025085274130105972,
-0.0029847570694983006,
0.014486612752079964,
0.06717811524868011,
-0.025529105216264725,
-0.03371332958340645,
-0.034743014723062515,
-0.003461874322965741,
-0.047010477632284164,
-0.04140046611428261,
0.04473806917667389,
-0.004957581404596567,
0.0034330254420638084,
-0.033127475529909134,
0.02339871972799301,
0.013199505396187305,
0.010501018725335598,
0.013270518742501736,
-0.01832130365073681,
-0.013936263509094715,
-0.01858760230243206,
-0.00026185973547399044,
0.01388300396502018,
0.011033615097403526,
0.01644834131002426,
-0.058869618922472,
0.0023944631684571505,
0.03371332958340645,
0.01069630403071642,
0.0672491267323494,
-0.005059662740677595,
-0.0583370216190815,
0.05240745097398758,
-0.020504947751760483,
0.023878056555986404,
-0.025919673964381218,
-0.029772119596600533,
0.01078507024794817,
-0.004677968565374613,
0.06536728888750076,
-0.02457043156027794,
0.030411234125494957,
0.021996216848492622,
-0.01071405690163374,
-0.0023944631684571505,
-0.037743307650089264,
-0.03699767217040062,
0.021374855190515518,
0.00619586743414402,
-0.04125843942165375,
0.05073865130543709,
-0.004984211642295122,
0.05201688036322594,
-0.02320343442261219,
-0.015613941475749016,
-0.02176542580127716,
0.0050064027309417725,
0.03099709004163742,
0.00009583955397829413,
-0.008468277752399445,
0.02457043156027794,
-0.01387412752956152,
0.03682013973593712,
-0.01595125161111355,
-0.023878056555986404,
0.009675495326519012,
-0.061319559812545776,
0.0012715731281787157,
0.012649156153202057,
0.0646926686167717,
0.04956693947315216,
0.007105719298124313,
-0.09075436741113663,
0.034743014723062515,
0.00214147986844182,
0.022706344723701477,
0.025174040347337723,
0.0034796276595443487,
0.02918626368045807,
-0.02488998882472515,
-0.003910142928361893,
-0.004078797996044159,
-0.04835972189903259,
-0.006080471444875002,
0.06678754836320877,
-0.04338882490992546,
0.025653377175331116,
-0.003819157602265477,
0.010403376072645187,
-0.009426950477063656,
0.06838533282279968,
-0.0494249127805233,
-0.034796275198459625,
-0.002740650437772274,
0.0027694995515048504,
-0.004418327938765287,
-0.039341095834970474,
0.059686265885829926,
-0.059721771627664566,
0.0051573049277067184,
-0.045625727623701096,
-0.019386496394872665,
-0.06891793012619019,
-0.0260794535279274,
-0.04690396040678024,
0.06533177942037582,
0.00022898855968378484,
-0.011424185708165169,
0.006546493154019117,
-0.06692957133054733,
-0.023984575644135475,
0.044311992824077606,
-0.0336245633661747,
-0.003836910706013441,
-0.004318466410040855,
0.014921566471457481,
-0.025298312306404114,
-0.006231374107301235,
0.007229991257190704,
-0.03506257385015488,
-0.010243597440421581,
-0.04193306341767311,
0.036500584334135056,
-0.023718276992440224,
0.0016943211667239666,
0.03209779039025307,
-0.04232363402843475,
0.07910826802253723,
0.09082537889480591,
0.022883877158164978,
-0.02487223595380783,
-0.017912980169057846,
-0.031884752213954926,
0.00768713653087616,
0.10389173775911331,
0.06863387674093246,
-0.07733295112848282,
-0.006129292771220207,
-0.03099709004163742,
0.006675203796476126,
0.0023989013861864805,
-0.037778813391923904,
-0.08344005048274994,
-0.033376019448041916,
0.037778813391923904,
0.0014147083275020123,
-0.0432467982172966,
-0.023878056555986404,
0.033482540398836136,
-0.021215075626969337,
0.02490774169564247,
0.06078696250915527,
-0.0015068029752001166,
0.006914872210472822,
-0.019581781700253487,
0.03685564547777176,
-0.044205471873283386,
-0.012231956236064434,
0.053188592195510864,
-0.001805278705433011,
0.028156578540802002,
0.0872037261724472,
-0.03753026947379112,
-0.05883410945534706,
0.031813737004995346,
-0.025191793218255043,
0.014184808358550072,
-0.012587020173668861,
-0.05411176010966301,
0.00994179304689169,
0.02916851080954075,
0.003022482618689537,
-0.005281577352434397,
-0.044098954647779465,
0.03202677518129349,
0.014167055487632751,
0.07232654094696045,
-0.002589748241007328,
-0.01627080887556076,
-0.014877183362841606,
-0.06146158650517464,
0.08436321467161179,
0.014912690035998821,
0.07136787474155426,
-0.017824213951826096,
-0.016803406178951263,
0.04388591647148132,
-0.014078289270401001,
0.05240745097398758,
0.014238067902624607,
-0.027233412489295006,
0.017486903816461563,
-0.003985594026744366,
0.019848080351948738,
-0.01145081501454115,
-0.010341240093111992,
-0.02157014049589634,
0.04122293367981911,
-0.003168946597725153,
0.04232363402843475,
-0.05684575438499451,
0.02022089622914791,
0.013403667137026787,
-0.058052971959114075,
0.061071015894412994,
-0.04345984011888504,
-0.037814319133758545,
0.016102153807878494,
-0.025191793218255043,
-0.018978172913193703,
0.02490774169564247,
-0.007607247214764357,
0.024463912472128868,
0.036500584334135056,
-0.0028205399867147207,
-0.012240832671523094,
0.05752037465572357,
0.012010040692985058,
0.06188766285777092,
-0.006701833568513393,
-0.02139260806143284,
-0.0376012809574604,
-0.01650160178542137,
0.056703727692365646,
0.02916851080954075,
0.0494249127805233,
0.0017375946044921875,
0.04530617222189903,
-0.058017462491989136,
-0.0583370216190815,
0.018871653825044632,
0.07626775652170181,
0.05989930406212807,
0.01720285229384899,
-0.03749476373195648,
0.025777649134397507,
0.02963009476661682,
-0.05709429830312729,
-0.00927604828029871,
-0.019599534571170807,
0.02165890671312809,
-0.0033509167842566967,
-0.06774622201919556,
-0.06284633278846741,
0.0018263607053086162,
0.012950960546731949,
0.034618742763996124,
-0.016909925267100334,
-0.05847904831171036,
-0.050454601645469666,
0.018179278820753098,
0.030269209295511246,
-0.056348662823438644,
0.008938737213611603,
-0.010412252508103848,
-0.025653377175331116,
-0.03909255191683769,
-0.007314319256693125,
-0.028582654893398285,
-0.07910826802253723,
0.06646798551082611,
-0.009728754870593548,
-0.07264610379934311,
-0.04473806917667389,
0.028689173981547356,
-0.059686265885829926,
-0.06820780038833618,
-0.016510477289557457,
0.012649156153202057,
-0.11397555470466614,
0.05855005979537964,
0.003668255405500531,
0.019208963960409164,
-0.0037326107267290354,
0.025777649134397507,
-0.0748474970459938,
-0.02954132854938507,
-0.03257712721824646,
0.009711001068353653,
-0.01314624585211277,
-0.04044179245829582,
0.04637136310338974,
0.0009509059018455446,
0.02911525033414364,
0.021019790321588516,
0.007465221453458071,
0.004531504586338997,
0.0875587910413742,
-0.00939144380390644,
0.013811991550028324,
-0.05883410945534706,
0.0012016698019579053,
0.059863798320293427,
-0.051697324961423874,
-0.019013678655028343,
-0.058052971959114075,
-0.015702707692980766,
0.005973952356725931,
0.033127475529909134,
-0.03376659005880356,
0.006147046107798815,
-0.022191502153873444,
0.023522991687059402,
0.03144092112779617,
0.037991851568222046,
-0.010465512983500957,
0.036394063383340836,
0.020948778837919235,
-0.0036438447423279285,
0.024126602336764336,
-0.0018685244722291827,
-0.05222991853952408,
0.04161350429058075,
-0.007252182811498642,
-0.04679743945598602,
0.051945868879556656,
-0.0007445248775184155,
-0.0638050064444542,
0.025316065177321434,
-0.05244295671582222,
0.06050291284918785,
-0.04530617222189903,
-0.013377037830650806,
0.005521245766431093,
0.023718276992440224,
0.02799679897725582,
-0.010350116528570652,
0.014983702450990677,
0.03135215491056442,
-0.04452503100037575,
0.03756577521562576,
0.025617869570851326,
-0.06270430982112885,
-0.025298312306404114,
0.02345198020339012,
0.03859546035528183,
-0.04967346042394638,
0.012879948131740093,
0.01473515760153532,
0.0015667200786992908,
-0.012498253956437111,
0.05137776583433151,
-0.01802837662398815,
-0.04637136310338974,
-0.02338096685707569,
-0.03563067689538002,
-0.00039417657535523176,
0.004873253870755434,
-0.004837747663259506,
0.010927096009254456,
0.034743014723062515,
-0.044027939438819885,
-0.02322118729352951,
-0.01161947101354599,
0.011477445252239704,
-0.012453870847821236,
-0.045483704656362534,
-0.047259025275707245,
0.007314319256693125,
0.025280559435486794,
0.03575494885444641,
-0.0038036236073821783,
-0.024463912472128868,
-0.027144646272063255,
0.0023878056090325117,
-0.017646683380007744,
0.03816938400268555,
-0.03071303851902485,
0.02009662427008152,
-0.0018319084774702787,
0.0341571606695652,
-0.016137661412358284,
-0.02934604324400425,
0.03566618263721466,
0.028476135805249214,
-0.05112922191619873,
-0.015667200088500977,
-0.00820641778409481,
-0.027375437319278717,
-0.053543657064437866,
-0.04299825429916382,
0.061213038861751556,
0.01841006986796856,
0.02481897547841072,
0.050135042518377304,
-0.014584255404770374,
-0.006786161568015814,
-0.04047730192542076,
-0.019848080351948738,
0.01869412139058113,
-0.025972934439778328,
0.010501018725335598,
-0.01569383032619953,
0.014211438596248627,
-0.006604190915822983,
-0.00994179304689169,
0.037885334342718124,
-0.0154009023681283,
0.017770955339074135,
0.008006693795323372,
0.036323051899671555,
0.006107101682573557,
0.0017054169438779354,
0.03657159581780434,
0.06678754836320877,
0.014442229643464088,
-0.04282072186470032,
-0.0590471513569355,
0.007514042779803276,
-0.03531111776828766,
0.04512863978743553,
-0.028973225504159927,
0.03406839445233345,
-0.028564902022480965,
-0.03376659005880356,
-0.04903434216976166,
-0.033305007964372635,
0.012755675241351128,
-0.03873748704791069,
0.06455064564943314,
-0.0003880739095620811,
0.003384204115718603,
0.02291938289999962,
0.03096158429980278,
0.03289668262004852,
0.06014784798026085,
-0.05120023339986801,
0.0019461947958916426,
0.03239959478378296,
0.057910945266485214,
0.02018539048731327,
0.06533177942037582,
-0.010092695243656635,
0.040654830634593964,
0.02309691533446312,
0.001482392312027514,
0.00501527963206172,
0.05592258647084236,
-0.037778813391923904,
-0.033127475529909134,
0.01855209656059742,
0.06298836320638657,
0.03392636775970459,
-0.017389262095093727,
0.013714348897337914,
0.05311758071184158,
-0.01003055926412344,
-0.028174331411719322,
-0.0008954271324910223,
-0.00007295456452993676,
-0.06739115715026855,
0.003741487395018339,
0.08052852749824524,
0.05262048915028572,
-0.020700233057141304,
-0.04335331916809082,
-0.03350029140710831,
-0.04754307493567467,
0.022209255024790764,
0.022333528846502304,
0.020629219710826874,
-0.0398026779294014,
-0.07477648556232452,
0.02339871972799301,
-0.04938940703868866,
0.05219441279768944,
-0.0010873835999518633,
0.039376601576805115,
0.020771246403455734,
-0.019386496394872665,
0.02448166534304619,
0.009711001068353653,
-0.0674266591668129,
0.06625495105981827,
-0.0013603391125798225,
-0.010927096009254456,
-0.0002843286201823503,
-0.019120197743177414,
-0.07019615918397903,
0.0245349258184433,
0.002014988334849477,
-0.016705762594938278,
0.054715368896722794,
-0.01885390095412731,
0.01722060516476631,
0.021357102319598198,
-0.06937951594591141,
0.04622933641076088,
-0.03309196978807449,
0.022209255024790764,
0.012853317894041538,
-0.0875587910413742,
0.029044238850474358,
-0.07300116866827011,
0.0155784348025918,
0.014140425249934196,
0.019208963960409164,
-0.02009662427008152,
-0.007407523691654205,
0.028760187327861786,
0.003712638281285763,
0.004034415353089571,
-0.05837252736091614,
-0.02323894202709198,
0.03092607855796814,
0.0038235958199948072,
-0.042749710381031036,
-0.01315512228757143,
-0.016048895195126534,
0.022937137633562088,
-0.03444121032953262,
-0.053366124629974365,
0.0639825388789177,
-0.034707508981227875,
-0.01161947101354599,
0.0655803307890892,
-0.009040817618370056,
0.04981548339128494,
0.0260794535279274,
-0.01799287088215351,
-0.05592258647084236,
0.017593422904610634,
-0.03976717218756676,
0.02036292292177677,
0.012631403282284737,
-0.022155996412038803,
0.04161350429058075,
-0.06643248349428177,
0.004300713073462248,
-0.016297439113259315,
-0.023629512637853622,
0.05421827733516693,
0.006209182552993298,
-0.0403352752327919,
0.03607450798153877,
0.0638050064444542,
0.03405063971877098,
-0.044063448905944824,
-0.006763970013707876,
-0.003246616804972291,
-0.011956781148910522,
-0.004655777011066675,
0.03298544883728027,
0.012604773044586182,
0.04029976949095726,
-0.045412689447402954,
0.028760187327861786,
-0.040761351585388184,
0.03112136386334896,
0.003395299892872572,
-0.02636350505053997,
-0.008499345742166042,
-0.02634575217962265,
-0.012258585542440414,
-0.028564902022480965,
-0.03419266641139984,
0.02332770824432373,
0.008219732902944088,
0.03289668262004852,
0.005201688036322594,
0.01472628116607666,
-0.08478929102420807,
0.05514144524931908,
-0.010314609855413437,
0.005512369330972433,
-0.019084692001342773,
0.04207509011030197,
0.02622147835791111,
-0.03073079325258732,
0.007824723608791828,
0.031547438353300095,
-0.004842185880988836,
-0.01786859706044197,
0.008920984342694283,
0.04466705769300461,
0.0655803307890892,
-0.008814464323222637,
-0.03270139917731285,
-0.01463751494884491,
-0.01841006986796856,
-0.005512369330972433,
0.04182654246687889,
0.05379220098257065,
0.027091385796666145,
0.023718276992440224,
0.040867872536182404,
0.04008673131465912,
0.02629249170422554,
-0.0064044673927128315,
0.0916065201163292,
-0.06877590715885162,
0.006866050884127617,
0.01619979739189148,
0.006107101682573557,
-0.008428332395851612,
0.0007750382064841688,
-0.09118044376373291,
0.028618160635232925,
0.022883877158164978,
0.0023833673913031816,
-0.020860012620687485,
0.009023064747452736,
0.0218009315431118,
-0.028263097628951073,
-0.007931242696940899,
0.06327240914106369,
0.05041909217834473,
0.03417491540312767,
-0.015871362760663033,
0.025617869570851326,
0.04782712459564209,
0.011317666620016098,
-0.0234342273324728,
0.019848080351948738,
0.04452503100037575,
-0.002827197313308716,
-0.022546567022800446,
0.029754366725683212,
0.016856664791703224,
-0.0370686873793602,
0.06362747400999069,
0.018871653825044632,
0.0024122162722051144,
0.01981257274746895,
-0.009577852673828602,
0.015232247300446033,
0.0752025619149208,
0.059615250676870346,
0.025866415351629257,
0.0339796282351017,
-0.023700524121522903,
0.03277241066098213
] |
7,552 | hsbalance.model | LMI |
subclass of model
solving using linear matrix inequality this is mainly to insert 'lazy constraints'
Lazy constraints will relax the solution at certain planes (not to exceed certain vibration limit)
| class LMI(_Model):
"""
subclass of model
solving using linear matrix inequality this is mainly to insert 'lazy constraints'
Lazy constraints will relax the solution at certain planes (not to exceed certain vibration limit)
"""
def __init__(self, A:np.array, alpha:'instance of Alpha class',
conditions=None,
weight_const={},
critical_planes={}, V_max=None, name=''):
"""
Args:
A: Initial vibration vector -> np.ndarray
alpha: Instance of Alpha class
critical_planes: set of critical planes
weight_const: dict class of planes index and maximum permissible weight
V_max: max vibration for non-critical_planes
Return: Solution Matrix W
"""
self.weight_const = weight_const
self.critical_planes = list(critical_planes)
self.V_max = V_max
super().__init__(A=A, alpha=alpha, conditions= conditions, name=name)
def solve(self, solver=None):
'''
solving the LMI model
returns solution matrix W
'''
# Weight constraints
N = self.N
M = self.M
_wc = np.zeros(N)
if self.weight_const != {}:
try:
for key, value in self.weight_const.items():
_wc[key] = value
except NameError:
raise tools.CustomError('Invalid weight constraint format')
else:
pass
# Identify critical planes
if self.V_max:
_Vm = self.V_max
else:
raise tools.CustomError('V_max is not specified')
if self.critical_planes and len(self.critical_planes)>0:
_list_cr = self.critical_planes
else:
raise tools.CustomError('Critical Planes are not set.')
_ALPHA = self.ALPHA.copy()
A = self.A.copy()
_ALPHAcr = _ALPHA[_list_cr]
Acr = A[_list_cr]
_ALPHAncr = np.delete(_ALPHA, _list_cr, axis=0)
_Ancr = np.delete(A, _list_cr, axis=0)
# assign cvxpy variables
_WR = cp.Variable((N, 1))
_WI = cp.Variable((N, 1))
_Vc = cp.Variable()
_RRfcr = cp.diag(np.real(Acr) + np.real(_ALPHAcr) @ _WR-np.imag(_ALPHAcr) @ _WI)
_IRfcr = cp.diag(np.imag(Acr) + np.imag(_ALPHAcr) @ _WR+np.real(_ALPHAcr) @ _WI)
_RRfNcr = cp.diag(np.real(_Ancr) + np.real(_ALPHAncr) @ _WR - np.imag(_ALPHAncr) @ _WI)
_IRfNcr = cp.diag(np.imag(_Ancr)+ np.imag(_ALPHAncr) @ _WR + np.real(_ALPHAncr) @ _WI)
_zcr = np.zeros((_RRfcr.shape[0], _RRfcr.shape[1]))
_Icr = np.eye(_RRfcr.shape[0])
_zncr = np.zeros((_RRfNcr.shape[0], _RRfNcr.shape[1]))
_Incr = np.eye(_RRfNcr.shape[0])
_objective = cp.Minimize(_Vc)
_LMI_real = cp.bmat( [
[_Vc*_Icr, _RRfcr, _zcr, -_IRfcr],
[_RRfcr, _Icr, _IRfcr, _zcr],
[_zcr, _IRfcr, _Vc*_Icr, _RRfcr],
[-_IRfcr, _zcr, _RRfcr, _Icr]
])
_LMI_imag =cp.bmat( [
[_Vm**2*_Incr, _RRfNcr, _zncr, -_IRfNcr],
[_RRfNcr, _Incr, _IRfNcr, _zncr],
[_zncr, _IRfNcr, _Vm**2*_Incr, _RRfNcr],
[-_IRfNcr, _zncr, _RRfNcr, _Incr]
])
# Model weight constraints
_const_LMI_w = []
for i in range(N):
_LMI_weight = cp.bmat( [
[_wc[i]**2, _WR[i], 0, -_WI[i]],
[_WR[i], 1, _WI[i], 0],
[0, _WI[i], _wc[i]**2, _WR[i]],
[-_WI[i], 0, _WR[i], 1]
])
_const_LMI_w.append(_LMI_weight >> 0)
_const_LMI_w.append( _LMI_real >> 0)
_const_LMI_w.append( _LMI_imag >> 0)
# Stating the problem
prob = cp.Problem(_objective, _const_LMI_w)
prob.solve(cp.CVXOPT, kktsolver=cp.ROBUST_KKTSOLVER)
W = _WR + _WI * 1j
self.W = W.value
return self.W
| (A: <built-in function array>, alpha: 'instance of Alpha class', conditions=None, weight_const={}, critical_planes={}, V_max=None, name='') | [
0.03151578828692436,
-0.03873606026172638,
-0.00463082967326045,
0.08237949013710022,
-0.01205725222826004,
-0.06411763280630112,
-0.03684551268815994,
-0.06520368903875351,
0.007818610407412052,
-0.009115845896303654,
-0.04505128413438797,
0.0271514430642128,
0.015677444636821747,
0.03366779163479805,
-0.09372276067733765,
0.02745312638580799,
-0.013344431295990944,
-0.031395114958286285,
-0.009467808529734612,
0.014500882476568222,
-0.04155176505446434,
-0.021479807794094086,
0.013424880802631378,
0.10635320842266083,
0.014259535819292068,
0.036986298859119415,
0.0003236804041080177,
-0.02355136349797249,
0.021801603958010674,
-0.03125432878732681,
-0.0730876624584198,
0.05957227945327759,
-0.01545621082186699,
-0.06528414040803909,
0.03159623593091965,
-0.02787548117339611,
0.08117275685071945,
-0.012952243909239769,
-0.052170995622873306,
-0.035417549312114716,
0.03101298213005066,
-0.04295961558818817,
0.04702227935194969,
-0.0370466373860836,
-0.03163646161556244,
-0.026708975434303284,
-0.026387181133031845,
0.05735993757843971,
0.05398109182715416,
-0.037871234118938446,
0.032863304018974304,
-0.06291089951992035,
0.023149119690060616,
-0.02411450445652008,
-0.029564905911684036,
0.02986658737063408,
0.009628706611692905,
0.07638606429100037,
0.04770609363913536,
-0.09959551692008972,
-0.035357214510440826,
-0.034210819751024246,
0.02813694067299366,
0.01078012865036726,
0.0018364934949204326,
0.0020149890333414078,
-0.04295961558818817,
0.011282932944595814,
0.07059375196695328,
0.05257324129343033,
0.005993429571390152,
-0.045654650777578354,
0.005045643076300621,
0.015214864164590836,
0.044970836490392685,
-0.021962501108646393,
-0.03716731071472168,
-0.07031217962503433,
-0.02077588252723217,
-0.052854809910058975,
0.03334599360823631,
-0.0039419871754944324,
-0.0008063727291300893,
-0.03877628222107887,
0.004992848727852106,
-0.05462468042969704,
0.034592948853969574,
-0.03781089931726456,
0.06496234238147736,
-0.025240786373615265,
-0.06874343007802963,
0.051607854664325714,
0.010397997684776783,
0.059853848069906235,
0.06886410713195801,
0.03232027217745781,
-0.015938902273774147,
-0.05518782138824463,
0.03101298213005066,
-0.01796017773449421,
0.016009295359253883,
0.00543028861284256,
-0.03258173167705536,
0.02443629875779152,
-0.009985697455704212,
-0.012238262221217155,
-0.015335537493228912,
0.010397997684776783,
0.0027176584117114544,
-0.04911394417285919,
-0.057601284235715866,
0.04851057752966881,
-0.04875192418694496,
-0.009754407219588757,
-0.07063397765159607,
0.015084135346114635,
-0.07594359666109085,
-0.002566816983744502,
-0.011202484369277954,
0.03618181124329567,
-0.009643790312111378,
-0.030831972137093544,
-0.040807612240314484,
0.0003106389194726944,
0.01477239653468132,
0.01817135512828827,
0.011262821033596992,
0.004535296466201544,
0.0506424717605114,
-0.05679679661989212,
-0.06331314146518707,
-0.043402086943387985,
-0.02463742159307003,
0.009151042439043522,
-0.04159199073910713,
-0.03644327074289322,
-0.0185233186930418,
-0.0464591383934021,
0.00677277659997344,
0.03523654118180275,
0.029142549261450768,
0.05434311181306839,
0.01151422318071127,
0.02803638018667698,
0.011544391512870789,
0.0028006210923194885,
0.07783413678407669,
-0.01135332603007555,
-0.01926746964454651,
0.0009308168664574623,
-0.05080336704850197,
-0.02198261395096779,
-0.0427987203001976,
-0.026849761605262756,
0.028217388316988945,
0.016431652009487152,
0.016833895817399025,
-0.03477396070957184,
-0.006717468146234751,
-0.03362756595015526,
-0.05981362611055374,
-0.004014893900603056,
-0.05434311181306839,
0.0029464345425367355,
0.0159187912940979,
0.007542067673057318,
0.021359136328101158,
-0.0056565506383776665,
-0.018985899165272713,
0.07574246823787689,
-0.023772597312927246,
-0.07292676717042923,
-0.034592948853969574,
0.0386153869330883,
-0.02807660400867462,
0.06443942338228226,
0.0006951272371225059,
-0.032179489731788635,
0.024717869237065315,
-0.003743379609659314,
0.029504569247364998,
0.013786899857223034,
-0.04090817645192146,
0.01795012131333351,
-0.020242908969521523,
0.03988245502114296,
0.024878766387701035,
-0.006888421718031168,
0.020916666835546494,
0.004467417951673269,
-0.0038313702680170536,
-0.01127287745475769,
0.03465328738093376,
-0.012479607947170734,
-0.012881851755082607,
0.01784956082701683,
0.056716348975896835,
0.02829783782362938,
0.014259535819292068,
0.02093677967786789,
0.004495072178542614,
-0.006340364925563335,
0.008100180886685848,
0.002964032581076026,
0.02312900684773922,
-0.037147197872400284,
-0.03268229216337204,
0.0014920723624527454,
-0.006516346242278814,
0.046378687024116516,
0.028539184480905533,
0.02849895879626274,
-0.007164964452385902,
-0.003253145143389702,
0.044246796518564224,
-0.017869671806693077,
-0.021017229184508324,
0.020735658705234528,
-0.005505709443241358,
-0.009563341736793518,
-0.003258173121139407,
0.014299760572612286,
-0.07433462142944336,
-0.005525821354240179,
-0.009709155187010765,
-0.006254888139665127,
0.04678093269467354,
0.05921025946736336,
0.01686406321823597,
-0.00673255231231451,
-0.011896355077624321,
-0.046016667038202286,
0.0012896935222670436,
-0.026326844468712807,
-0.0007818610174581409,
-0.0055861580185592175,
-0.044649042189121246,
0.07944311201572418,
-0.04561442509293556,
-0.03710697218775749,
-0.032963864505290985,
-0.02614583447575569,
0.008406891487538815,
0.032642070204019547,
-0.00471127824857831,
-0.0024788263253867626,
0.05554984137415886,
0.010840465314686298,
-0.024717869237065315,
0.01681378297507763,
-0.0187948327511549,
-0.0725647434592247,
-0.05607276037335396,
0.01920713298022747,
-0.051084939390420914,
-0.04203445836901665,
0.007537039462476969,
-0.03668461740016937,
0.03215937688946724,
-0.05386041849851608,
0.01711546629667282,
-0.013344431295990944,
0.01571766845881939,
0.04380432888865471,
-0.018392588943243027,
0.023873157799243927,
-0.0058023640885949135,
0.01973004825413227,
0.016200361773371696,
0.025019552558660507,
0.11512211710214615,
0.05611298233270645,
-0.03475384786725044,
0.009658874943852425,
-0.044649042189121246,
0.012570112943649292,
-0.026849761605262756,
0.02735256589949131,
-0.0537799708545208,
-0.004746474791318178,
-0.0033009115140885115,
-0.010689623653888702,
-0.021942388266324997,
0.007285637315362692,
-0.0495966374874115,
-0.035839904099702835,
-0.03095264546573162,
-0.052492789924144745,
-0.012047195807099342,
-0.024396074935793877,
0.016612660139799118,
0.011655008420348167,
0.057078368961811066,
-0.006717468146234751,
0.11455897986888885,
-0.009110817685723305,
-0.004442277830094099,
-0.009699098765850067,
0.02365192398428917,
0.015295312739908695,
-0.0015146986115723848,
-0.017306530848145485,
0.052854809910058975,
-0.04770609363913536,
-0.0034341549035161734,
-0.025039665400981903,
-0.001386483432725072,
-0.014792508445680141,
-0.009844912216067314,
0.03398958593606949,
0.01994122751057148,
0.03280296549201012,
0.016481932252645493,
0.022927885875105858,
0.005395092535763979,
0.0007240385166369379,
0.036302484571933746,
0.018030568957328796,
0.018462982028722763,
0.06307179480791092,
0.013746675103902817,
-0.03161634877324104,
-0.03738854452967644,
-0.01978032849729061,
-0.010357772931456566,
-0.05595208704471588,
0.03765000030398369,
-0.028780529275536537,
0.006360476836562157,
-0.03883662074804306,
-0.013042748905718327,
0.05458445847034454,
-0.02767436020076275,
0.01422936748713255,
0.000666215957608074,
0.015788061544299126,
0.03785112500190735,
-0.0412299707531929,
0.009633734822273254,
-0.01780933514237404,
0.060899682343006134,
0.03618181124329567,
-0.06974904239177704,
0.02777492068707943,
-0.011232652701437473,
-0.07280609011650085,
0.03666450455784798,
0.02004178799688816,
-0.03847460076212883,
0.006943730171769857,
-0.05136650800704956,
0.021077565848827362,
0.019046233966946602,
0.06616907566785812,
0.018040625378489494,
0.05036089941859245,
-0.0464591383934021,
-0.03765000030398369,
0.043522756546735764,
-0.018281972035765648,
0.007567207794636488,
0.018553486093878746,
-0.037147197872400284,
0.012198037467896938,
0.011142147704958916,
-0.023531250655651093,
-0.014621554873883724,
-0.020735658705234528,
0.023973718285560608,
-0.04247692599892616,
-0.013193590566515923,
-0.04295961558818817,
-0.026648638769984245,
-0.013314262963831425,
-0.011695233173668385,
0.017658494412899017,
-0.04509150981903076,
0.011886298656463623,
-0.03791145980358124,
0.009809715673327446,
0.04404567554593086,
-0.024577084928750992,
0.002384550403803587,
-0.004037520382553339,
-0.016532212495803833,
-0.026708975434303284,
0.00868846196681261,
0.02797604352235794,
0.032078929245471954,
-0.0020526994485408068,
0.03344655781984329,
-0.009271714836359024,
0.016582492738962173,
-0.03644327074289322,
0.015486379154026508,
0.0012262144591659307,
0.03867572173476219,
0.05188942700624466,
-0.005294531583786011,
-0.04432724416255951,
-0.04710272699594498,
-0.008864443749189377,
-0.035256654024124146,
0.03765000030398369,
-0.0344722755253315,
-0.019066346809267998,
0.04376410320401192,
0.07421394437551498,
-0.021640706807374954,
0.05506715178489685,
-0.04203445836901665,
0.05522804707288742,
0.021439583972096443,
-0.0485508032143116,
-0.06411763280630112,
-0.03219960257411003,
0.04851057752966881,
-0.0245368592441082,
0.005998457781970501,
0.03513598069548607,
0.04947596415877342,
-0.0013739133719354868,
0.09726250171661377,
0.015948958694934845,
-0.05100448802113533,
-0.024054167792201042,
0.008336498402059078,
-0.002203540876507759,
0.006792888976633549,
-0.007089543621987104,
-0.05832532420754433,
0.0386153869330883,
-0.022223958745598793,
-0.04404567554593086,
-0.03873606026172638,
-0.032963864505290985,
-0.0074465349316596985,
0.010900801979005337,
0.03529687598347664,
-0.001295978669077158,
0.04887259751558304,
0.013525441288948059,
0.009085677564144135,
-0.02286754921078682,
-0.049717310816049576,
-0.0011614784598350525,
-0.014832733199000359,
-0.030148157849907875,
-0.09541218727827072,
0.018553486093878746,
0.035578448325395584,
0.05229166895151138,
0.01650204323232174,
0.0014053386403247714,
0.015043910592794418,
0.03847460076212883,
-0.033848799765110016,
-0.07248429954051971,
-0.009668930433690548,
-0.021318910643458366,
0.032601844519376755,
0.03976178169250488,
0.018141185864806175,
-0.01197680365294218,
-0.019197076559066772,
0.02067532204091549,
0.02823750115931034,
-0.001111826510168612,
-0.0046433997340500355,
-0.009714183397591114,
-0.010056090541183949,
-0.017728887498378754,
0.011373437941074371,
-0.059692952781915665,
0.028619632124900818,
0.00734597397968173,
-0.020977003499865532,
0.04112941026687622,
0.023571476340293884,
-0.039279088377952576,
-0.005772195756435394,
-0.018201522529125214,
0.02234463207423687,
0.0014480770332738757,
-0.017517708241939545,
-0.020132292062044144,
0.010790185071527958,
0.00937227625399828,
-0.005812420044094324,
-0.04887259751558304,
-0.06355448812246323,
0.07091554999351501,
0.03523654118180275,
0.07155913859605789,
-0.025341346859931946,
0.02510000206530094,
-0.009658874943852425,
-0.022163622081279755,
0.06098012998700142,
-0.014309816062450409,
0.003544771810993552,
-0.028056491166353226,
-0.09790609776973724,
-0.001730904565192759,
0.0073057496920228004,
-0.012620393186807632,
-0.03038950450718403,
-0.019649600610136986,
0.022887662053108215,
-0.03561867028474808,
-0.02276698872447014,
-0.04798766225576401,
0.03877628222107887,
-0.030369391664862633,
-0.017618270590901375,
0.014541106298565865,
-0.020856330171227455,
0.055107373744249344,
-0.014551162719726562,
-0.030711298808455467,
0.026286620646715164,
-0.03049006499350071,
-0.0005043757846578956,
-0.00738619826734066,
0.028157051652669907,
0.06568638235330582,
-0.010041005909442902,
-0.10031955689191818,
0.051084939390420914,
0.052130769938230515,
-0.018442869186401367,
-0.052170995622873306,
0.021640706807374954,
0.04275849461555481,
0.005711859092116356,
0.02636706829071045,
0.003635276574641466,
-0.06069856137037277,
-0.06930657476186752,
-0.050924040377140045,
-0.030087821185588837,
0.007547095883637667,
0.05571074038743973,
-0.01419919915497303,
0.019669711589813232,
0.047424521297216415,
-0.030872197821736336,
0.03825336694717407,
-0.07389215379953384,
-0.010247156023979187,
0.013072917237877846,
0.02964535355567932,
-0.0064057293348014355,
-0.01884511299431324,
0.06970881670713425,
0.05647500231862068,
0.01716574653983116,
-0.023631811141967773,
0.015355649404227734,
0.03268229216337204,
-0.019076403230428696,
-0.06431875377893448,
0.05237211659550667,
-0.02761402353644371,
-0.06709423661231995,
0.012117588892579079,
0.024194952100515366,
0.002239994006231427,
0.01697468012571335,
0.02912243641912937,
0.03785112500190735,
-0.02807660400867462,
0.016672996804118156,
0.0027427985332906246,
-0.049717310816049576,
-0.019669711589813232,
0.022324521094560623,
0.007421394344419241,
-0.03280296549201012,
-0.028438623994588852,
0.028096716850996017,
0.01833225227892399,
0.05382019653916359,
-0.05816442519426346,
0.04416634887456894,
-0.001779927988536656,
-0.055670514702796936,
0.044246796518564224,
0.0006831856444478035,
-0.0028282753191888332,
-0.0032380609773099422,
0.062307536602020264,
-0.04312051460146904,
-0.04694182798266411,
-0.0030117989517748356,
0.05752083659172058,
-0.03507564216852188,
0.020816106349229813,
0.03439182788133621,
0.052130769938230515,
-0.04312051460146904,
-0.04010368883609772,
-0.028177164494991302,
0.00734597397968173,
-0.0365438312292099,
0.002492653438821435,
-0.026005050167441368,
-0.04730384796857834,
0.05305593088269234,
0.01890544965863228,
0.040425483137369156,
-0.019538983702659607,
0.034995194524526596,
-0.0030947618652135134,
-0.03984222933650017,
-0.02944423258304596,
-0.05402131751179695,
0.026869872584939003,
0.07369102537631989,
0.0015348107554018497,
-0.005631410516798496,
-0.006456010043621063,
0.024496635422110558,
-0.020795995369553566,
0.0050582136027514935,
0.02725200355052948,
0.02051442489027977,
-0.062307536602020264,
0.009206350892782211,
0.06270977854728699,
0.05269391089677811,
0.010880689136683941,
0.022163622081279755,
0.027433013543486595,
-0.013274039141833782,
0.026688862591981888,
0.04947596415877342,
0.011795793659985065,
-0.013384656049311161,
0.07155913859605789,
-0.018080851063132286,
0.012771234847605228,
0.025984937325119972,
-0.0268899854272604,
-0.011242709122598171,
0.009482893161475658,
0.020182572305202484,
-0.043884776532649994,
0.02473798207938671,
0.018664103001356125,
-0.06834118813276291,
-0.016532212495803833,
-0.0386153869330883,
-0.03640304505825043,
-0.01742720417678356,
-0.010669511742889881,
-0.01333437580615282,
0.045654650777578354,
0.03638293594121933,
-0.01936803013086319,
-0.04859102889895439,
-0.00746664684265852,
0.04010368883609772,
-0.06830096244812012,
0.006737580522894859,
-0.01570761203765869,
0.08809135109186172,
-0.027372676879167557,
-0.038856733590364456,
0.031656570732593536,
-0.004547866992652416,
-0.031093431636691093,
-0.009055509231984615,
0.018442869186401367,
0.0339493602514267,
0.012047195807099342,
-0.026025161147117615,
-0.02938389591872692,
0.012238262221217155,
-0.011735456995666027,
0.1169724389910698,
0.04633846506476402,
-0.009905248880386353,
-0.005239223130047321,
0.07441506534814835,
-0.026165947318077087,
-0.03754943981766701,
0.030309055000543594,
-0.0006102789775468409,
0.00002816490814439021,
-0.04834968224167824,
0.0532570518553257,
0.052331894636154175,
0.01091085746884346,
0.02286754921078682,
-0.02244519256055355,
-0.06049744039773941,
0.01659254916012287,
0.03101298213005066,
-0.009955529123544693,
0.027754809707403183,
-0.001072230632416904,
-0.03362756595015526,
0.03274263069033623,
-0.01670316606760025,
0.05502692610025406,
-0.024396074935793877,
-0.027634136378765106,
0.018855169415473938,
-0.02312900684773922,
0.023008333519101143,
0.09838878363370895,
0.02636706829071045,
-0.08028782159090042,
0.02761402353644371,
0.021902164444327354,
-0.031455449759960175,
-0.00044592475751414895,
-0.011544391512870789,
0.0040174080058932304,
0.029786139726638794,
0.01753782108426094,
0.011544391512870789,
-0.013394712470471859,
-0.03300408646464348,
0.026789424940943718,
-0.004814353305846453,
-0.05727948993444443,
0.002273933496326208,
0.009985697455704212,
0.03209903836250305,
0.05554984137415886,
-0.025924600660800934,
0.030309055000543594,
0.024094391614198685,
-0.03895729407668114,
-0.007702965289354324,
-0.006521374452859163,
-0.03350689262151718,
0.07103621959686279,
-0.000561255554202944,
0.004769100807607174,
0.008085096254944801,
0.0038565106224268675,
-0.02522067353129387,
0.07051330804824829,
-0.016270754858851433,
0.031073318794369698,
0.03268229216337204,
-0.03529687598347664,
0.05615320801734924,
0.009578426368534565,
0.01973004825413227,
-0.009598538279533386,
0.062146637588739395,
-0.03799190744757652,
0.05313638225197792,
-0.02620617114007473,
-0.03742876648902893,
-0.0558716356754303,
0.007778385654091835,
-0.025622917339205742,
0.007868890650570393,
0.10112404078245163,
-0.014048358425498009,
0.020755769684910774,
0.0007630058680661023,
0.035417549312114716
] |
7,553 | hsbalance.model | __init__ |
Args:
A: Initial vibration vector -> np.ndarray
alpha: Instance of Alpha class
critical_planes: set of critical planes
weight_const: dict class of planes index and maximum permissible weight
V_max: max vibration for non-critical_planes
Return: Solution Matrix W
| def __init__(self, A:np.array, alpha:'instance of Alpha class',
conditions=None,
weight_const={},
critical_planes={}, V_max=None, name=''):
"""
Args:
A: Initial vibration vector -> np.ndarray
alpha: Instance of Alpha class
critical_planes: set of critical planes
weight_const: dict class of planes index and maximum permissible weight
V_max: max vibration for non-critical_planes
Return: Solution Matrix W
"""
self.weight_const = weight_const
self.critical_planes = list(critical_planes)
self.V_max = V_max
super().__init__(A=A, alpha=alpha, conditions= conditions, name=name)
| (self, A: <built-in function array>, alpha: 'instance of Alpha class', conditions=None, weight_const={}, critical_planes={}, V_max=None, name='') | [
0.03536481037735939,
-0.02601812407374382,
-0.020257513970136642,
0.011053888127207756,
-0.027582263574004173,
-0.048450175672769547,
-0.071683369576931,
-0.04806867614388466,
0.012913688085973263,
0.037195999175310135,
-0.044902246445417404,
0.015307584777474403,
-0.030386270955204964,
-0.003860277123749256,
-0.07561279088258743,
0.00696709705516696,
0.05379113927483559,
0.014124942943453789,
-0.01955174282193184,
0.044177401810884476,
-0.003197425277903676,
-0.013724369928240776,
-0.02416786178946495,
0.11368623375892639,
0.03395327180624008,
0.07370530068874359,
0.0037601341027766466,
-0.014144017361104488,
0.01864568702876568,
-0.06622795760631561,
-0.056576069444417953,
0.05291369557380676,
-0.02721984125673771,
0.024740109220147133,
0.05237959697842598,
0.011959944851696491,
0.017997141927480698,
-0.009513592347502708,
-0.12131618708372116,
0.038969963788986206,
0.05829280614852905,
-0.053562238812446594,
0.03879828751087189,
-0.018931809812784195,
-0.002982832957059145,
-0.021688129752874374,
0.05211254954338074,
0.025732001289725304,
0.05073915794491768,
-0.027372440323233604,
0.012122080661356449,
-0.051120657473802567,
0.06550311297178268,
-0.004268002696335316,
-0.04455890133976936,
0.10773487389087677,
0.029585126787424088,
0.052150700241327286,
0.05436338484287262,
-0.07595613598823547,
-0.0533333420753479,
-0.04364330694079399,
0.021917028352618217,
-0.029146403074264526,
-0.04024798050522804,
-0.0006312590558081865,
-0.04459704831242561,
0.025579402223229408,
0.03694802522659302,
0.07381975650787354,
0.02472103387117386,
-0.018597999587655067,
-0.027067242190241814,
-0.0014926086878404021,
0.03921793773770332,
0.021306632086634636,
-0.05314259231090546,
-0.0266285203397274,
-0.006652361713349819,
-0.059246551245450974,
0.06607535481452942,
-0.002175727626308799,
-0.0274868905544281,
-0.002989986212924123,
0.012370054610073566,
-0.04143062233924866,
-0.013648070394992828,
-0.055050078779459,
0.029527900740504265,
-0.029566051438450813,
-0.06336672604084015,
0.032980453222990036,
-0.004175012465566397,
0.07721508294343948,
0.036165956407785416,
0.04062947630882263,
0.02372913993895054,
-0.07874107360839844,
0.05192179977893829,
-0.004344302229583263,
-0.005312351975589991,
-0.016690513119101524,
-0.02437768690288067,
0.013352409936487675,
-0.029222702607512474,
-0.04558894410729408,
-0.021478304639458656,
-0.012074394151568413,
0.009227469563484192,
0.014086793176829815,
-0.007725323084741831,
0.0833953395485878,
-0.046466387808322906,
0.016213640570640564,
-0.052188847213983536,
0.028764907270669937,
-0.04135432094335556,
-0.03567000851035118,
0.0068860286846756935,
0.01955174282193184,
0.03593705967068672,
0.0012386745074763894,
-0.007396281696856022,
0.024740109220147133,
0.03067239373922348,
0.013466859236359596,
-0.03429662063717842,
-0.03402956947684288,
0.042804013937711716,
-0.04143062233924866,
-0.017634719610214233,
-0.006909872405230999,
-0.03700524941086769,
0.008798284456133842,
-0.0031568913254886866,
-0.04268956184387207,
0.011053888127207756,
-0.016213640570640564,
-0.017768243327736855,
0.015393421053886414,
0.02029566280543804,
0.03345732390880585,
0.0174916572868824,
-0.004308536648750305,
-0.006628517992794514,
0.0033094901591539383,
0.11429663002490997,
-0.0324845053255558,
-0.001926562050357461,
0.0036099194549024105,
-0.03567000851035118,
0.00911302026361227,
-0.03937053680419922,
-0.0007272294606082141,
0.004008107353001833,
-0.03282785415649414,
0.02550310268998146,
-0.05394373834133148,
0.044482599943876266,
0.0014151170616969466,
-0.035822607576847076,
-0.00002108667467837222,
-0.05878875404596329,
0.0036361473612487316,
-0.004301383625715971,
0.005116834305226803,
0.000750476960092783,
0.0076633295975625515,
-0.029794950038194656,
0.01425846666097641,
0.016175491735339165,
-0.07526944577693939,
-0.09491655975580215,
0.049823563545942307,
-0.006986171938478947,
0.0400572307407856,
0.015841681510210037,
-0.0208106841892004,
0.07481164485216141,
-0.026895569637417793,
0.015612782910466194,
0.04494039714336395,
-0.05306629464030266,
0.017348594963550568,
0.020391037687659264,
-0.014849787577986717,
0.033152125775814056,
0.02287077158689499,
0.0019134480971843004,
-0.013562234118580818,
-0.027944687753915787,
-0.0027467815671116114,
0.0233476422727108,
0.0018454937962815166,
0.009556510485708714,
0.019971391186118126,
0.033323802053928375,
-0.004864092450588942,
-0.01631855219602585,
0.0191320963203907,
-0.0017167384503409266,
-0.02506438083946705,
0.006433000322431326,
0.00501669105142355,
0.03652837872505188,
0.010681928135454655,
0.042842160910367966,
-0.02262279763817787,
-0.02529327943921089,
0.002439199248328805,
-0.008555079810321331,
-0.008989033289253712,
0.03658560290932655,
-0.03696710243821144,
0.03921793773770332,
-0.03959943354129791,
0.021936101838946342,
0.009785409085452557,
0.04066762700676918,
0.014525515027344227,
0.0005671794060617685,
0.013533621095120907,
-0.047839779406785965,
-0.002615641802549362,
-0.010815451852977276,
-0.0242060124874115,
0.026590371504426003,
0.00797329656779766,
-0.04536004364490509,
0.0033309494610875845,
-0.04398665577173233,
-0.03855031728744507,
-0.03345732390880585,
-0.020963283255696297,
-0.04501669853925705,
0.039179787039756775,
-0.035040538758039474,
0.0021399622783064842,
-0.05665236711502075,
-0.056881267577409744,
0.04204101860523224,
-0.03406772017478943,
0.018798286095261574,
0.06779209524393082,
-0.013447784818708897,
-0.02481640875339508,
0.019666193053126335,
0.05634717270731926,
-0.010624703951179981,
-0.0233094934374094,
-0.05894135311245918,
-0.05249404534697533,
-0.06584645807743073,
0.03439199551939964,
-0.046847883611917496,
-0.028288034722208977,
-0.0012350979959592223,
-0.030767768621444702,
0.02317596971988678,
-0.060886990278959274,
-0.03050071932375431,
-0.0500524640083313,
0.001440152758732438,
0.06260372698307037,
0.00919408816844225,
0.004196472000330687,
0.00945636723190546,
0.0300238486379385,
-0.012045781128108501,
0.012484503909945488,
0.10155461728572845,
0.03231283277273178,
0.01526943501085043,
-0.030615169554948807,
-0.029585126787424088,
0.012293755076825619,
-0.008774440735578537,
-0.0016845496138557792,
-0.03343825042247772,
0.028268959373235703,
-0.011540297418832779,
-0.01134954858571291,
-0.02868860773742199,
0.03139723837375641,
-0.018588462844491005,
-0.01921793259680271,
0.005817835684865713,
-0.029222702607512474,
0.0013602768303826451,
-0.04230806604027748,
-0.0009054603287950158,
0.04604674130678177,
0.01509776059538126,
0.022851696237921715,
0.0864473208785057,
-0.03959943354129791,
0.01597520522773266,
-0.0032880310900509357,
0.03925608471035957,
-0.019103484228253365,
0.0549737811088562,
-0.039179787039756775,
0.053524091839790344,
-0.039179787039756775,
-0.07118742167949677,
-0.023977113887667656,
0.01102527603507042,
0.006704817526042461,
0.03811159357428551,
0.00087088713189587,
0.03933238610625267,
0.07549834251403809,
-0.01376251969486475,
0.049136869609355927,
-0.00975679699331522,
0.008373868651688099,
0.030424419790506363,
-0.021936101838946342,
0.017739631235599518,
0.1033095046877861,
0.010920364409685135,
-0.0023998573888093233,
-0.04101097583770752,
-0.06294707953929901,
-0.02506438083946705,
-0.03734859824180603,
0.044902246445417404,
-0.049136869609355927,
0.007606104947626591,
-0.024186937138438225,
-0.07896997034549713,
0.04574154317378998,
0.014182167127728462,
-0.020925134420394897,
-0.02899380587041378,
0.010300430469214916,
0.01814020238816738,
0.001500953920185566,
0.011959944851696491,
-0.0013447784585878253,
0.029222702607512474,
0.004663805942982435,
-0.036471154540777206,
0.044177401810884476,
0.005727230105549097,
-0.06744874268770218,
0.015698619186878204,
-0.02386266365647316,
0.0016762043815106153,
-0.00786361563950777,
-0.05703386664390564,
0.003128279000520706,
0.027753937989473343,
0.062145933508872986,
0.010758227668702602,
0.01731998287141323,
-0.011578447185456753,
-0.00907010119408369,
-0.009871246293187141,
-0.008898427709937096,
0.003283262252807617,
0.021134957671165466,
-0.08812590688467026,
0.013848356902599335,
-0.009294231422245502,
-0.027238916605710983,
-0.003113972721621394,
-0.03214116021990776,
0.056156422942876816,
-0.04268956184387207,
0.01597520522773266,
-0.03593705967068672,
-0.022851696237921715,
0.0011093229986727238,
0.00016839534509927034,
0.03374344855546951,
-0.06657130271196365,
0.01567954383790493,
-0.0004855151055380702,
-0.036299481987953186,
0.058903202414512634,
-0.010548404417932034,
0.0027062473818659782,
-0.012389129027724266,
-0.02037196233868599,
-0.01632809080183506,
-0.00047478548367507756,
0.001025870442390442,
0.034010495990514755,
0.04806867614388466,
-0.02187887765467167,
-0.047801628708839417,
0.0028159278444945812,
-0.03729137405753136,
0.012064856477081776,
0.0007141155074350536,
-0.008130664005875587,
0.033113978803157806,
-0.02071531116962433,
-0.011435385793447495,
-0.039828330278396606,
-0.028020987287163734,
-0.0023271343670785427,
0.020410113036632538,
-0.017033860087394714,
-0.06493086367845535,
0.09087269008159637,
0.06256558001041412,
0.0065760621801018715,
0.02964235097169876,
-0.020314738154411316,
0.05463043227791786,
-0.033152125775814056,
-0.024606583639979362,
-0.02773486264050007,
-0.017997141927480698,
0.05936099961400032,
-0.04040057957172394,
0.008669529110193253,
-0.016604674980044365,
0.03441106900572777,
0.040476877242326736,
0.05794946104288101,
0.01964711770415306,
0.002892227377742529,
-0.0052026710473001,
-0.023576540872454643,
-0.011549835093319416,
0.003910348750650883,
-0.02739151567220688,
-0.05810206010937691,
0.007720554247498512,
-0.01597520522773266,
-0.07538389414548874,
-0.025960899889469147,
-0.0022758706472814083,
-0.02632332220673561,
-0.02395803853869438,
0.02338579297065735,
0.01831187680363655,
0.06294707953929901,
-0.027257991954684258,
0.014086793176829815,
0.02554125338792801,
-0.06100143864750862,
-0.029108254238963127,
-0.00569861801341176,
0.00016466979286633432,
-0.06748689711093903,
-0.018512163311243057,
0.05272294580936432,
0.04772532731294632,
-0.003125894581899047,
-0.0038960424717515707,
0.02639962173998356,
0.02430138736963272,
-0.06073439121246338,
-0.04192656651139259,
0.024396760389208794,
-0.0275250393897295,
0.032980453222990036,
0.006833572871983051,
0.008087745867669582,
-0.019360994920134544,
-0.05062470957636833,
0.04101097583770752,
0.03208393603563309,
-0.031130190938711166,
0.004935623146593571,
-0.0056604682467877865,
0.03277062997221947,
-0.0019241776317358017,
-0.021382931619882584,
-0.05764426290988922,
0.029394377022981644,
-0.012198380194604397,
0.015565095469355583,
0.0024940394796431065,
-0.0018264189129695296,
-0.011940869502723217,
-0.015565095469355583,
0.008445399813354015,
0.029146403074264526,
0.00041010972927324474,
-0.0021494997199624777,
0.01085360161960125,
0.0055031003430485725,
-0.010863139294087887,
-0.017424894496798515,
0.006490224972367287,
-0.05428708344697952,
0.04558894410729408,
0.010710540227591991,
0.12398666888475418,
0.011950407177209854,
0.029394377022981644,
0.017119698226451874,
-0.004258465021848679,
0.03572723641991615,
0.016776349395513535,
0.004246543161571026,
-0.05180735141038895,
-0.11986649036407471,
-0.049136869609355927,
0.006700048688799143,
-0.06405341625213623,
-0.060505494475364685,
-0.038969963788986206,
0.020619936287403107,
0.0012118504382669926,
-0.003705293871462345,
-0.02985217422246933,
-0.02105865813791752,
-0.006919409614056349,
0.012179305776953697,
0.03450644388794899,
-0.045550793409347534,
0.00937053095549345,
0.0005826777196489275,
-0.016232715919613838,
0.015650931745767593,
-0.004792561288923025,
0.011959944851696491,
-0.009284693747758865,
0.007434431463479996,
0.043414406478405,
-0.002348593669012189,
-0.08148784935474396,
0.05203624814748764,
0.05913210287690163,
-0.041163574904203415,
-0.04631378874182701,
-0.025102531537413597,
0.10804007202386856,
0.0030472108628600836,
0.03855031728744507,
0.020352888852357864,
-0.02084883488714695,
-0.031111115589737892,
-0.01951359398663044,
0.006580830551683903,
0.020314738154411316,
0.03944683447480202,
-0.06474011391401291,
0.0021781118120998144,
-0.014935624785721302,
-0.03492609038949013,
0.04028612747788429,
-0.032198384404182434,
-0.049556516110897064,
0.0008923463174141943,
0.00859799887984991,
-0.0064186942763626575,
0.017739631235599518,
0.05203624814748764,
0.03612780570983887,
0.006313782650977373,
-0.047877926379442215,
-0.008273725397884846,
0.04009538143873215,
0.00608488405123353,
-0.03549833595752716,
0.037119701504707336,
-0.005274202208966017,
-0.08247974514961243,
-0.012379591353237629,
0.036680977791547775,
0.039523135870695114,
0.019895091652870178,
0.038054369390010834,
0.02153553068637848,
-0.04425370320677757,
-0.030214596539735794,
-0.006843110080808401,
-0.04936576634645462,
-0.015622319653630257,
0.022889846935868263,
0.018817361444234848,
-0.04196471720933914,
-0.015927517786622047,
0.0061087277717888355,
-0.006428231950849295,
-0.01805436611175537,
-0.05402003601193428,
0.01637577824294567,
0.0033452557399868965,
-0.03542203828692436,
-0.005627087317407131,
0.0059084417298436165,
0.01273247692734003,
0.002125655999407172,
0.020867910236120224,
-0.015708155930042267,
-0.01728183403611183,
-0.034449219703674316,
0.05913210287690163,
-0.030481645837426186,
0.011740583926439285,
0.04474964737892151,
0.03053887002170086,
-0.06470196694135666,
-0.0031640443485230207,
-0.03774917125701904,
0.03765379637479782,
0.012055318802595139,
-0.0283834096044302,
0.004573200363665819,
-0.006180258467793465,
0.009256081655621529,
-0.003280877834185958,
0.029794950038194656,
-0.01076776534318924,
0.008192657493054867,
-0.017510732635855675,
-0.0041225566528737545,
0.0014186935732141137,
-0.04875537380576134,
0.020314738154411316,
0.07565093785524368,
0.03610873222351074,
-0.024091562256217003,
0.028440633788704872,
-0.0100143076851964,
0.0008661184110678732,
0.00913209468126297,
-0.004377683158963919,
0.04764902964234352,
-0.0833953395485878,
-0.007606104947626591,
0.023500241339206696,
0.08873630315065384,
0.02571292780339718,
-0.011006200686097145,
0.02218407578766346,
-0.06371007114648819,
-0.0054124947637319565,
0.0018943732138723135,
0.029909398406744003,
0.03088221698999405,
0.0517692007124424,
-0.010453029535710812,
0.019895091652870178,
0.04196471720933914,
0.020867910236120224,
0.02769671380519867,
0.00930853746831417,
-0.017033860087394714,
-0.022584648802876472,
0.00462088780477643,
0.023462092503905296,
-0.05276109650731087,
-0.05363854020833969,
-0.06199333444237709,
-0.010205056518316269,
-0.003192656673491001,
0.021573679521679878,
0.014907012693583965,
0.04722938314080238,
0.042498815804719925,
0.028536008670926094,
-0.06565570831298828,
0.009713878855109215,
0.03509776294231415,
-0.027124468237161636,
0.045512642711400986,
-0.02670481987297535,
0.054554134607315063,
-0.05981879681348801,
-0.04436815157532692,
0.04459704831242561,
-0.005178827792406082,
-0.0416213683784008,
0.007510730531066656,
-0.023805439472198486,
0.021249407902359962,
0.04146876931190491,
-0.012913688085973263,
0.005164521746337414,
0.04463519901037216,
-0.02132570743560791,
0.08118265122175217,
0.009957082569599152,
0.021421080455183983,
-0.03959943354129791,
0.05600382387638092,
-0.010243206284940243,
-0.09545065462589264,
0.03624225780367851,
0.002718169242143631,
-0.0366237536072731,
-0.04062947630882263,
-0.04436815157532692,
0.027105392888188362,
-0.007329519372433424,
-0.020791610702872276,
-0.004210778046399355,
-0.04459704831242561,
0.007229376584291458,
0.03803529590368271,
0.020963283255696297,
0.020906059071421623,
0.023710066452622414,
-0.053905587643384933,
0.06935623288154602,
-0.02412971295416355,
0.00001632727071410045,
-0.003748212242498994,
0.0023855511099100113,
0.04467334970831871,
-0.06771579384803772,
0.043414406478405,
0.0765283852815628,
0.03032904677093029,
-0.06077254191040993,
0.020963283255696297,
0.07446829974651337,
-0.008149739354848862,
0.01628994010388851,
-0.034525517374277115,
0.0317024365067482,
-0.02231759950518608,
0.03156891092658043,
0.03570815920829773,
-0.01805436611175537,
-0.013037675060331821,
0.015021461062133312,
0.00620410218834877,
-0.02618979848921299,
0.022985219955444336,
-0.012627565301954746,
0.01809251494705677,
0.0416213683784008,
-0.04856462404131889,
-0.0053934198804199696,
0.0036289943382143974,
-0.021764429286122322,
-0.0014639963628724217,
0.028097286820411682,
0.019914165139198303,
0.0834716409444809,
0.002892227377742529,
0.032408207654953,
0.0013865047367289662,
-0.01509776059538126,
0.022412974387407303,
0.05199810117483139,
-0.020314738154411316,
0.04936576634645462,
0.005894135218113661,
-0.05001431331038475,
0.01899857260286808,
0.006943253334611654,
0.020829759538173676,
0.020085839554667473,
0.06042919307947159,
-0.06256558001041412,
0.05092990770936012,
-0.0258846003562212,
-0.00856938585639,
-0.07244636118412018,
-0.03303767740726471,
-0.00956604816019535,
0.030271820724010468,
0.06271817535161972,
-0.05180735141038895,
0.04692418500781059,
0.04562709480524063,
0.02153553068637848
] |
7,554 | hsbalance.model | _info |
Method to summarize the results for Model.
| def _info(self):
'''
Method to summarize the results for Model.
'''
yield ('MODEL TYPE', type(self).__name__)
if self.name:
yield ('MODEL NAME' , self.name)
if self.alpha is not None:
yield ('INFLUENCE COEFFICIENT MATRIX', str(self.alpha))
if self.A is not None and self.conditions is None:
_index = (f'Sensor {m+1}' for m in range(self.A.shape[0]))
yield ('INITIAL VIBRATION' , pd.DataFrame(tools.convert_cart_math(self.A),
index=_index, columns=['Vibration']))
if self.conditions is not None:
yield ('CONDITIONS',''.join(str(condition) for condition in self.conditions))
if self.W is not None:
_index = (f'Plane {n+1}' for n in range(self.W.shape[0]))
yield ('SOLUTION', pd.DataFrame(tools.convert_cart_math(self.W), index=_index,
columns=['Correction Masses']))
yield ('RMSE', self.rmse())
_index = (f'Sensor {m+1}' for m in range(self.A.shape[0]))
yield ('Resiudal Vibration Expected', pd.DataFrame(tools.convert_cart_math(self.expected_residual_vibration()), index=_index,
columns=['Expected Vibration']))
else:
yield ('SOLUTION','No solution calculated.')
if self.split_instance is not None :
if self.split_instance:
yield ('SPLITS','\n\n'.join(str(split.results()) for split in self.split_instance))
| (self) | [
0.041209183633327484,
-0.051744986325502396,
-0.00031756851240061224,
-0.02891741320490837,
0.02340666577219963,
-0.058021631091833115,
-0.03919168934226036,
-0.07251770049333572,
0.0229396540671587,
0.015766341239213943,
-0.02368687465786934,
0.0038878789637237787,
0.008093326352536678,
0.029496509581804276,
-0.02497582882642746,
0.04961540922522545,
0.01197420060634613,
-0.03975210338830948,
0.023425346240401268,
0.03295240178704262,
-0.020455148071050644,
0.03704342991113663,
-0.049989018589258194,
0.03482045233249664,
0.013795549049973488,
0.014440026134252548,
0.00364970276132226,
-0.051147207617759705,
0.03696870803833008,
-0.02067931368947029,
-0.06041273847222328,
-0.014383984729647636,
-0.021519936621189117,
-0.025909854099154472,
-0.031607404351234436,
-0.013431279920041561,
-0.006486803758889437,
-0.05028790608048439,
-0.0536503940820694,
0.031812891364097595,
0.05660191550850868,
-0.05252956598997116,
0.01908213086426258,
-0.008938618935644627,
-0.07838337868452072,
-0.05533163994550705,
-0.013216453604400158,
0.015551515854895115,
0.014094437472522259,
-0.05581733211874962,
-0.003413861384615302,
0.008055965416133404,
-0.02178146317601204,
0.009181465953588486,
0.0038061519153416157,
-0.015056482516229153,
-0.015747660771012306,
-0.015075163915753365,
0.056788720190525055,
-0.001509617897681892,
0.01313239149749279,
0.04815832898020744,
0.004955002572387457,
0.04987693578004837,
-0.00825211126357317,
-0.011339063756167889,
-0.011525868438184261,
0.01122698001563549,
-0.0035189392510801554,
0.044534310698509216,
0.019651886075735092,
-0.046028751879930496,
-0.0037080792244523764,
0.08129753917455673,
0.002029169350862503,
-0.045430976897478104,
-0.07139687240123749,
-0.05884357541799545,
0.08391280472278595,
-0.08817195892333984,
0.005095106549561024,
0.026302143931388855,
-0.02204298973083496,
-0.08204475790262222,
0.005739583633840084,
-0.03377434238791466,
0.0200068149715662,
0.0009019178687594831,
0.031738169491291046,
0.05204387381672859,
-0.09616721421480179,
0.018979387357831,
0.005571458954364061,
0.04416070133447647,
-0.03792141377925873,
0.015663599595427513,
-0.029085539281368256,
-0.055294279009103775,
0.01660696417093277,
-0.02273416891694069,
-0.011189619079232216,
0.02762845903635025,
-0.02505055069923401,
0.04442222788929939,
-0.05947871133685112,
-0.044198062270879745,
-0.01358072366565466,
-0.005090436432510614,
0.041620153933763504,
-0.005524757783859968,
-0.053388867527246475,
0.06605424731969833,
-0.013991694897413254,
-0.030038243159651756,
-0.027385612949728966,
-0.0495406873524189,
-0.017569011077284813,
0.018577756360173225,
-0.05611622333526611,
-0.012263747863471508,
-0.004242808558046818,
-0.021688060835003853,
-0.05383720248937607,
0.017989320680499077,
-0.009461672976613045,
0.013730167411267757,
0.008480946533381939,
-0.04688805341720581,
0.04898026958107948,
-0.06504549831151962,
-0.00042527326149865985,
-0.0162707157433033,
0.03478309139609337,
0.011563229374587536,
0.014841657131910324,
-0.017008595168590546,
0.009480353444814682,
-0.05211859568953514,
0.002552223391830921,
0.07920531928539276,
-0.009928685612976551,
-0.012030242010951042,
-0.027647139504551888,
-0.017130019143223763,
-0.0018843954894691706,
-0.009825943037867546,
0.05275373160839081,
0.0033765004482120275,
-0.015439433045685291,
-0.03911696746945381,
0.005020384211093187,
0.0016765748150646687,
0.023462707176804543,
-0.03007560409605503,
-0.009400961920619011,
-0.007542252074927092,
0.021725421771407127,
-0.003997627180069685,
0.012385171838104725,
-0.03538086637854576,
-0.029029497876763344,
-0.07576810568571091,
0.003173349890857935,
0.013496661558747292,
0.009994067251682281,
0.05368775874376297,
-0.0325414314866066,
-0.023294582962989807,
0.004182097036391497,
-0.02654499001801014,
0.006183245684951544,
-0.025965895503759384,
-0.06074898689985275,
0.014103777706623077,
-0.036707181483507156,
0.06878159940242767,
0.014066416770219803,
0.029627272859215736,
0.018353590741753578,
0.008476276881992817,
0.017288802191615105,
-0.0201562587171793,
-0.10812273621559143,
0.027889985591173172,
-0.030131647363305092,
-0.02661971189081669,
0.025330757722258568,
-0.040387239307165146,
0.025872493162751198,
-0.0054406956769526005,
-0.02067931368947029,
-0.02008153684437275,
0.035903919488191605,
0.02067931368947029,
0.014916379004716873,
0.005781614687293768,
0.029589911922812462,
0.009900664910674095,
0.043376121670007706,
-0.019063450396060944,
0.01341259852051735,
-0.01851237565279007,
-0.017727794125676155,
0.02170674130320549,
-0.04457167163491249,
0.026993323117494583,
-0.006757671013474464,
0.023089097812771797,
-0.09063778817653656,
0.03246670961380005,
-0.002010488882660866,
0.00942431204020977,
0.03625885024666786,
0.04102237895131111,
0.05690080299973488,
-0.003969606012105942,
0.04053668677806854,
0.0016006852965801954,
-0.031271155923604965,
-0.00679036183282733,
0.048419855535030365,
-0.0917586162686348,
-0.017755815759301186,
0.002816085470840335,
-0.016691027209162712,
-0.015925126150250435,
0.03069206140935421,
-0.007733726873993874,
-0.010059448890388012,
-0.024620898067951202,
-0.02633950486779213,
-0.03967738151550293,
-0.037062112241983414,
0.012590656988322735,
-0.048756103962659836,
0.04666388779878616,
-0.03681926429271698,
0.04909235239028931,
-0.042965151369571686,
-0.05402400717139244,
-0.04315195605158806,
-0.008555669337511063,
-0.012814822606742382,
0.006958486046642065,
0.005613490007817745,
-0.08271725475788116,
0.0514460951089859,
0.02144521474838257,
-0.0514460951089859,
-0.036707181483507156,
-0.000908923102542758,
-0.011787395924329758,
-0.000722701835911721,
-0.0016287061152979732,
0.02538679912686348,
-0.07853282243013382,
-0.00042848396697081625,
-0.00518850889056921,
0.0535009503364563,
-0.05301525816321373,
-0.0029748696833848953,
0.015271308831870556,
-0.022510003298521042,
0.04886818677186966,
-0.019091470167040825,
0.015019121579825878,
-0.006103853229433298,
0.009302888996899128,
0.024807704612612724,
0.027665819972753525,
0.05275373160839081,
0.06284119933843613,
-0.09250583499670029,
0.009279537945985794,
-0.033923786133527756,
0.016392137855291367,
-0.011068196035921574,
-0.020324384793639183,
-0.07427366822957993,
0.01449606753885746,
-0.0038808737881481647,
-0.013468640856444836,
-0.009751221165060997,
0.015121865086257458,
0.0009602944483049214,
-0.010414378717541695,
-0.02239791862666607,
-0.028562484309077263,
0.030860185623168945,
-0.003348479513078928,
-0.017270121723413467,
0.0229396540671587,
-0.022005628794431686,
0.006757671013474464,
0.07154631614685059,
-0.014897698536515236,
0.017307482659816742,
0.032765597105026245,
0.0162707157433033,
-0.023238541558384895,
-0.009648478589951992,
-0.000043198655475862324,
0.11918158829212189,
-0.0012142325285822153,
-0.04505736753344536,
0.03069206140935421,
0.04546833783388138,
-0.03726759925484657,
0.021277088671922684,
-0.03244802728295326,
-0.007257374469190836,
0.06482133269309998,
0.11918158829212189,
0.03319524973630905,
-0.01486967783421278,
-0.019651886075735092,
-0.054061368107795715,
0.05518219619989395,
0.03455892577767372,
0.09018945693969727,
-0.03321392834186554,
0.021277088671922684,
0.0650828629732132,
-0.0021844508592039347,
0.04117182269692421,
-0.004593067802488804,
-0.010965453460812569,
-0.046178195625543594,
-0.012852183543145657,
-0.02137049287557602,
-0.04729902744293213,
-0.03530614450573921,
0.028674567118287086,
0.04898026958107948,
-0.020996881648898125,
-0.009064712561666965,
-0.008354853838682175,
-0.0033835056237876415,
0.03625885024666786,
-0.0005119624547660351,
0.07091117650270462,
-0.04625291749835014,
-0.04061140865087509,
0.04636500030755997,
0.012525275349617004,
-0.044123340398073196,
0.0417695976793766,
-0.02757241763174534,
0.004940992221236229,
0.07539449632167816,
-0.04662652686238289,
0.014458706602454185,
0.031887613236904144,
0.057199690490961075,
0.054958030581474304,
0.01603720895946026,
-0.029010815545916557,
-0.024658260866999626,
-0.013552702963352203,
0.04091029614210129,
0.01833491027355194,
0.05503275245428085,
-0.0339985117316246,
0.06030065566301346,
-0.014029055833816528,
-0.07404950261116028,
-0.0100034074857831,
0.03975210338830948,
0.051819708198308945,
-0.018446993082761765,
-0.04457167163491249,
0.02021230012178421,
0.031345877796411514,
-0.02525603584945202,
-0.02335062436759472,
0.05275373160839081,
0.009228167124092579,
-0.000533269892912358,
-0.03285899758338928,
-0.0533515065908432,
0.0200068149715662,
0.0031616745982319117,
0.0012842844007536769,
0.012086283415555954,
0.029832758009433746,
-0.04401125758886337,
0.01313239149749279,
0.025480201467871666,
-0.06157092750072479,
0.0012282428797334433,
-0.01377686858177185,
-0.024938467890024185,
-0.05196915194392204,
-0.02641422674059868,
0.02598457597196102,
-0.04931652173399925,
0.020436467602849007,
0.01939035952091217,
-0.09213222563266754,
-0.022566044703125954,
-0.02899213507771492,
-0.08010198175907135,
-0.03158872574567795,
0.01224506739526987,
-0.03836974874138832,
-0.10378886014223099,
0.05559316650032997,
0.013393918052315712,
-0.007939212024211884,
0.006215936504304409,
0.04856929928064346,
-0.03383038565516472,
-0.032149139791727066,
-0.012898885644972324,
-0.027665819972753525,
0.02973935566842556,
0.004908301401883364,
0.036165449768304825,
0.01856841705739498,
0.05749857798218727,
0.04483319818973541,
0.05196915194392204,
0.08331502974033356,
0.06941673904657364,
-0.005809635389596224,
0.05170762538909912,
-0.052903175354003906,
0.01453342940658331,
0.012702739797532558,
-0.022678127512335777,
-0.029515190050005913,
-0.026115339249372482,
-0.029571231454610825,
-0.026040617376565933,
-0.004060673527419567,
-0.06384994834661484,
-0.015794362872838974,
-0.005739583633840084,
-0.0157570019364357,
0.04464639350771904,
0.0474858321249485,
0.00011390727013349533,
0.038201622664928436,
0.003327463986352086,
-0.01719539985060692,
-0.013010968454182148,
-0.0026923271361738443,
-0.04094765707850456,
-0.058619409799575806,
0.0007431336562149227,
0.022173753008246422,
0.08466002345085144,
0.03332601115107536,
-0.015953147783875465,
0.04289042949676514,
0.022080350667238235,
0.05267900973558426,
-0.043936535716056824,
-0.00787850096821785,
0.014701553620398045,
0.015458113513886929,
0.021127644926309586,
0.004417938180267811,
0.022678127512335777,
0.02047382853925228,
-0.007271384820342064,
0.037379682064056396,
-0.009919345378875732,
-0.054808586835861206,
-0.00781311932951212,
-0.007051888853311539,
0.023574791848659515,
-0.010703926905989647,
-0.023574791848659515,
-0.01763439178466797,
0.002143587451428175,
-0.02716144733130932,
-0.00884521659463644,
0.01283350307494402,
-0.04505736753344536,
-0.015719641000032425,
-0.031009629368782043,
-0.004112045280635357,
0.02966463379561901,
-0.0059544094838202,
0.04591666907072067,
0.04049932211637497,
-0.05010110139846802,
-0.01095611322671175,
-0.05260428786277771,
-0.014421345666050911,
0.007355446927249432,
0.0008686432265676558,
0.008938618935644627,
-0.02224847488105297,
0.0679970234632492,
0.03369962051510811,
-0.0060057807713747025,
-0.03498857468366623,
-0.005814305506646633,
0.05899301916360855,
-0.04688805341720581,
-0.0069071147590875626,
-0.04266626015305519,
0.013860930688679218,
-0.007733726873993874,
0.008270791731774807,
-0.03300844505429268,
-0.035025935620069504,
-0.029888799414038658,
-0.0331205278635025,
-0.034614965319633484,
-0.005641511175781488,
0.006874423939734697,
-0.032018378376960754,
-0.008947959169745445,
-0.012020901776850224,
-0.006893104407936335,
-0.0038762036710977554,
0.04431014508008957,
0.009807262569665909,
-0.04591666907072067,
-0.022808890789747238,
-0.005758264102041721,
-0.025965895503759384,
0.06702563166618347,
-0.010302295908331871,
-0.0027740541845560074,
0.0052679008804261684,
0.025610964745283127,
-0.03384906426072121,
-0.029795397073030472,
0.029795397073030472,
0.06011384725570679,
0.016382798552513123,
-0.011581909842789173,
0.04782208055257797,
-0.03489517420530319,
0.0018517045537009835,
0.018596436828374863,
0.026021936908364296,
0.01255329605191946,
-0.04490792006254196,
-0.07505825161933899,
0.04856929928064346,
-0.03567975386977196,
0.036165449768304825,
0.029720675200223923,
-0.0033461444545537233,
-0.04457167163491249,
-0.01882060430943966,
-0.0009188471012748778,
0.01007812935858965,
0.004366566892713308,
0.04490792006254196,
0.11312910914421082,
0.020529869943857193,
0.01320711337029934,
0.030299771577119827,
-0.007290065288543701,
-0.006215936504304409,
-0.023257222026586533,
0.0028511113487184048,
-0.03758516535162926,
0.011114897206425667,
0.04360028728842735,
0.01851237565279007,
0.05047471076250076,
-0.03015032783150673,
-0.008424905128777027,
0.004109709989279509,
-0.024620898067951202,
0.0050764260813593864,
0.015869084745645523,
-0.03455892577767372,
-0.026096658781170845,
0.002991215093061328,
0.03216782212257385,
-0.011759374290704727,
-0.007999924011528492,
0.008284801617264748,
0.04102237895131111,
0.016541583463549614,
-0.03157004341483116,
0.010703926905989647,
-0.03496989607810974,
-0.052566926926374435,
-0.006608226802200079,
0.08862029016017914,
0.054958030581474304,
-0.006528834812343121,
-0.0009620457421988249,
-0.029309704899787903,
-0.03900488466024399,
0.009947366081178188,
0.0320931002497673,
-0.05465914309024811,
-0.045356255024671555,
-0.04165751487016678,
0.006323349196463823,
-0.058694131672382355,
0.03993890807032585,
0.0436750091612339,
0.010096809826791286,
0.0166349858045578,
-0.02675047516822815,
0.02477034367620945,
0.05469650402665138,
-0.015056482516229153,
0.03648301586508751,
0.020847437903285027,
0.004434283822774887,
0.027310891076922417,
-0.021594658493995667,
-0.010461079888045788,
-0.04946596547961235,
-0.0083174929022789,
-0.02232319675385952,
0.04169487580657005,
-0.01313239149749279,
0.01596248708665371,
0.02577909082174301,
-0.05428553372621536,
0.02505055069923401,
-0.031271155923604965,
0.05238012224435806,
0.03498857468366623,
-0.09766165167093277,
0.042628899216651917,
-0.08025142550468445,
0.02430333010852337,
0.014701553620398045,
0.03829502314329147,
-0.04595403000712395,
-0.005011043976992369,
0.017849218100309372,
0.025069231167435646,
0.044347506016492844,
-0.028543803840875626,
0.002121404279023409,
0.043861813843250275,
0.01642949879169464,
-0.009485024027526379,
-0.0009293548646382987,
-0.005655521526932716,
0.03990154713392258,
-0.06123467907309532,
-0.04625291749835014,
0.06157092750072479,
0.032690875232219696,
-0.05211859568953514,
0.01884862408041954,
-0.02211771160364151,
0.004217122681438923,
0.006949145812541246,
-0.0018295214977115393,
-0.04143334925174713,
-0.008037284947931767,
-0.0005023303092457354,
0.011628611013293266,
-0.04815832898020744,
-0.034334760159254074,
0.041470710188150406,
-0.05443497747182846,
0.05544372275471687,
0.026582350954413414,
-0.01622401364147663,
0.045692503452301025,
0.015738321468234062,
-0.03900488466024399,
0.03573579713702202,
0.03769724816083908,
0.0422179289162159,
0.023051736876368523,
-0.04935388267040253,
0.05551844462752342,
0.006234616972506046,
0.03142059966921806,
0.031756848096847534,
-0.019913412630558014,
0.0746099203824997,
0.01248791441321373,
0.031607404351234436,
-0.03534350544214249,
0.023425346240401268,
-0.018942026421427727,
-0.041134461760520935,
-0.025536242872476578,
-0.005921718664467335,
-0.04614083468914032,
-0.046178195625543594,
-0.008420235477387905,
0.01599050872027874,
-0.015205927193164825,
0.0010571995517238975,
-0.0006386396125890315,
-0.006584876216948032,
-0.06347633898258209,
0.024583537131547928,
-0.01377686858177185,
0.02463957853615284,
-0.0169992558658123,
0.011273682117462158,
0.03926641121506691,
0.012142324820160866,
0.05077359825372696,
-0.017494287341833115,
0.009517714381217957,
-0.0331205278635025,
-0.029477829113602638,
0.06979034841060638,
0.09332777559757233,
-0.004466974642127752,
-0.02852512337267399,
-0.005865676794201136,
0.0019801328890025616,
0.013020308688282967,
0.06975298374891281,
0.015869084745645523,
0.01174069382250309,
0.020361745730042458,
0.018008001148700714,
0.03287767991423607,
0.040461961179971695,
-0.04464639350771904,
0.09698915481567383,
-0.034129273146390915,
0.006673608440905809,
0.03823898360133171,
-0.023014375939965248,
0.01045173965394497,
-0.005393994506448507,
-0.057535938918590546,
-0.005057745147496462,
0.03919168934226036,
-0.03143928200006485,
-0.009769901633262634,
0.022640766575932503,
0.025909854099154472,
0.010040768422186375,
-0.0012819493422284722,
0.03007560409605503,
0.001398702384904027,
0.027591098099946976,
-0.034540243446826935,
0.036240171641111374,
0.07673949748277664,
0.045356255024671555,
-0.012665378861129284,
-0.045430976897478104,
0.08533252030611038,
-0.02925366349518299,
0.016027869656682014,
0.013590063899755478,
0.024172566831111908,
-0.029029497876763344,
0.07487144321203232,
-0.027385612949728966,
0.005851666443049908,
-0.015112524852156639,
0.02204298973083496,
-0.009316899813711643,
0.07640324532985687,
0.08966639637947083,
-0.010741287842392921,
0.03829502314329147,
0.005221199709922075,
0.013496661558747292
] |
7,555 | hsbalance.model | create_split |
Factory method to create a split instance
| def create_split(self):
"""
Factory method to create a split instance
"""
return _Model.Split(self)
| (self) | [
0.016166582703590393,
-0.028013916686177254,
-0.08183840662240982,
-0.02315257489681244,
-0.02334493026137352,
-0.016446372494101524,
0.006872327998280525,
0.05819620192050934,
-0.05889567360281944,
0.0021476023830473423,
0.01921803690493107,
0.0068154954351484776,
0.020651957020163536,
-0.007960883900523186,
-0.01570318080484867,
0.011803616769611835,
0.020756877958774567,
-0.04028967767953873,
0.0020689116790890694,
-0.017032181844115257,
-0.0013858319725841284,
0.011095399968326092,
0.012835339643061161,
-0.007051568012684584,
0.028643442317843437,
0.043507255613803864,
-0.006999107543379068,
0.016420142725110054,
0.08232803642749786,
-0.004264602903276682,
-0.03507860004901886,
0.01175115630030632,
-0.018396154046058655,
0.04532588645815849,
0.021771114319562912,
-0.020634470507502556,
-0.009381689131259918,
0.07211572676897049,
-0.07211572676897049,
0.022453101351857185,
0.013464866206049919,
-0.038296177983284,
0.03731691464781761,
0.016936004161834717,
-0.004432913847267628,
-0.005901808384805918,
0.050012361258268356,
-0.03558571636676788,
-0.007383817806839943,
0.03107411414384842,
-0.018640970811247826,
-0.014085648581385612,
-0.03493870422244072,
0.0126254977658391,
-0.024831311777234077,
0.045990388840436935,
0.061203937977552414,
0.018728405237197876,
-0.006129137240350246,
0.022225772961974144,
-0.02313508838415146,
0.018850812688469887,
0.06638003885746002,
-0.009810117073357105,
-0.0018317464273422956,
-0.024114351719617844,
-0.06274277716875076,
0.012048432603478432,
0.004913801793009043,
0.053404808044433594,
0.03819125518202782,
-0.02925548143684864,
0.038401100784540176,
0.1103069856762886,
0.034099336713552475,
0.026929732412099838,
0.02754177153110504,
-0.015895536169409752,
0.1047811433672905,
-0.022558022290468216,
-0.01178612932562828,
-0.009337971918284893,
-0.03319001942873001,
0.024988694116473198,
0.008262531831860542,
-0.03145882487297058,
0.03257798030972481,
-0.04266788810491562,
0.02724449522793293,
0.016490088775753975,
-0.0828176736831665,
0.06651993840932846,
-0.0355682298541069,
0.02950029820203781,
-0.015091142617166042,
-0.03154625743627548,
-0.028083864599466324,
-0.0002136673138011247,
-0.05466385930776596,
-0.006505104247480631,
-0.051341358572244644,
0.0776415690779686,
-0.09708692878484726,
0.03913554549217224,
-0.006832982413470745,
-0.04906807094812393,
0.006658114027231932,
-0.037841521203517914,
-0.08148866891860962,
-0.007978370413184166,
-0.01970766857266426,
0.11086656153202057,
-0.0472494401037693,
0.08414667099714279,
-0.07484367489814758,
-0.020232273265719414,
-0.0015672579174861312,
0.01928798295557499,
-0.00890954490751028,
-0.06011975184082985,
-0.06515596061944962,
0.0050624399445950985,
-0.08876319974660873,
0.023817075416445732,
0.0463750995695591,
0.05106157064437866,
0.05648249015212059,
-0.028713390231132507,
0.024988694116473198,
-0.022050904110074043,
0.010990478098392487,
0.0018011444481089711,
-0.045500755310058594,
-0.06393188238143921,
-0.01951531320810318,
0.010133623145520687,
0.011523826979100704,
0.014094392769038677,
-0.04682975634932518,
0.025950469076633453,
-0.00393891055136919,
0.03306761384010315,
0.04473133385181427,
0.033906981348991394,
-0.06651993840932846,
0.028783338144421577,
-0.006509475875645876,
0.018815839663147926,
0.0022339436691254377,
0.0671844333410263,
0.009460380300879478,
-0.004244930110871792,
0.0584060437977314,
0.004181540571153164,
-0.03878580778837204,
0.007973998785018921,
-0.015432135201990604,
-0.0017301042098551989,
0.04231815040111542,
-0.023939482867717743,
-0.0173906609416008,
0.010649485513567924,
0.010509590618312359,
-0.01752181351184845,
-0.012398169375956059,
0.037771571427583694,
-0.005967383738607168,
-0.06414172798395157,
-0.032473061233758926,
0.008459258824586868,
0.013989471830427647,
0.0076810941100120544,
-0.032455574721097946,
0.025915496051311493,
-0.07120641320943832,
0.043961912393569946,
0.030304692685604095,
0.013954497873783112,
0.0056220185942947865,
0.024848798289895058,
0.059105515480041504,
-0.025653192773461342,
0.004021972883492708,
-0.013840833678841591,
0.009460380300879478,
0.008673472329974174,
-0.012284504249691963,
0.03878580778837204,
0.026020416989922523,
0.026072876527905464,
-0.00886145606637001,
-0.03266541659832001,
0.02131645753979683,
-0.043996889144182205,
-0.0541042797267437,
0.009364202618598938,
-0.02145635150372982,
0.005206706468015909,
-0.06256791204214096,
0.07883067429065704,
-0.026632456108927727,
0.07400430738925934,
-0.007383817806839943,
-0.029902495443820953,
0.014321721158921719,
0.05284522846341133,
-0.0197601281106472,
-0.011926024220883846,
-0.03544582426548004,
-0.006793636828660965,
0.00967896543443203,
-0.008787136524915695,
-0.005547699984163046,
0.10324230045080185,
0.09149114042520523,
-0.03329494222998619,
-0.016507577151060104,
0.010124879889190197,
0.051691096276044846,
-0.0073182424530386925,
0.030514534562826157,
-0.005499611143022776,
-0.010151110589504242,
0.028048889711499214,
-0.0254258643835783,
-0.039835020899772644,
-0.006212199572473764,
-0.07750166952610016,
-0.022120852023363113,
-0.04609530791640282,
-0.043822020292282104,
-0.06746422499418259,
-0.018798353150486946,
-0.015117372386157513,
0.03843607380986214,
-0.007497482467442751,
-0.0231001153588295,
-0.006277775391936302,
-0.05501359701156616,
-0.011252781376242638,
0.001421898603439331,
0.009984984993934631,
-0.0010191549081355333,
0.009504097513854504,
0.010177340358495712,
0.02708711475133896,
-0.022400641813874245,
0.004323620814830065,
0.021945983171463013,
-0.005919294897466898,
0.016402654349803925,
-0.009198077023029327,
-0.02701716683804989,
0.0310916006565094,
0.04301762580871582,
-0.023974455893039703,
-0.05309004336595535,
-0.053649622946977615,
0.0037028382066637278,
-0.0003278782241977751,
-0.0548037551343441,
-0.03700215369462967,
0.04161867871880531,
0.05816122889518738,
-0.006443900056183338,
0.005053696688264608,
-0.009075669571757317,
0.014549050480127335,
0.040114808827638626,
-0.0005369005957618356,
0.12065918743610382,
0.059350334107875824,
-0.011523826979100704,
-0.002016451209783554,
-0.034239232540130615,
-0.06693962216377258,
-0.04546578228473663,
-0.013534813188016415,
-0.01260801125317812,
-0.03114406019449234,
0.010588280856609344,
-0.018028931692242622,
-0.016358938068151474,
0.0013912966242060065,
0.015344701707363129,
0.02906312607228756,
0.0034711374901235104,
-0.03962517902255058,
-0.008275646716356277,
-0.022138338536024094,
-0.09519835561513901,
0.04049951955676079,
-0.02738439105451107,
0.006985992193222046,
0.03551577031612396,
-0.004430728033185005,
-0.036267705261707306,
0.04091920331120491,
0.030549507588148117,
-0.03532341495156288,
-0.018221287056803703,
-0.032455574721097946,
0.012258274480700493,
0.03644257411360741,
-0.04682975634932518,
-0.03334740176796913,
0.007873449474573135,
-0.01168995164334774,
0.016192812472581863,
-0.005731311626732349,
-0.022732891142368317,
0.0693877786397934,
0.026072876527905464,
0.03906559944152832,
0.04284275695681572,
0.010081162676215172,
-0.01251183357089758,
0.0157206691801548,
0.008245044387876987,
0.07673224806785583,
-0.025775600224733353,
-0.010894300416111946,
-0.01942787878215313,
0.04130391404032707,
0.019969969987869263,
0.04147878289222717,
-0.022435614839196205,
-0.016883542761206627,
-0.053719568997621536,
0.024988694116473198,
-0.05917546525597572,
0.018501076847314835,
0.03500865399837494,
0.00539906183257699,
-0.07288514822721481,
-0.02133394405245781,
0.049347858875989914,
-0.002557450206950307,
0.034151796251535416,
-0.03173861280083656,
0.07722188532352448,
-0.03819125518202782,
-0.062532939016819,
0.03499116376042366,
-0.023030167445540428,
0.0056569925509393215,
0.018501076847314835,
-0.018501076847314835,
0.02936040237545967,
0.0031979058403521776,
0.004174982663244009,
-0.02337990328669548,
0.024341680109500885,
0.001035548746585846,
0.04459144175052643,
-0.025932982563972473,
-0.055363334715366364,
0.0036372626200318336,
-0.0173032283782959,
-0.05970006808638573,
0.010754406452178955,
-0.05704206973314285,
0.03082929737865925,
0.02346733771264553,
-0.011987227946519852,
-0.04452149197459221,
-0.011139116249978542,
0.003923609387129545,
-0.03668738901615143,
-0.03728194162249565,
-0.04273783415555954,
-0.01723328046500683,
0.022313207387924194,
0.006212199572473764,
0.01719830557703972,
0.0468997023999691,
-0.0012514019617810845,
0.004647127352654934,
-0.022190799936652184,
0.05071183294057846,
-0.016638727858662605,
0.004349851049482822,
0.06760411709547043,
0.008953262120485306,
0.01734694465994835,
-0.00967896543443203,
0.032070863991975784,
0.012424399144947529,
0.03731691464781761,
-0.030374640598893166,
0.013709682039916515,
-0.022208286449313164,
-0.0580563060939312,
-0.016560036689043045,
-0.04074433445930481,
-0.05200586095452309,
-0.0066187684424221516,
-0.014138109982013702,
0.022750377655029297,
0.0010907415999099612,
0.04217825457453728,
-0.06249796226620674,
0.026912245899438858,
0.02344985119998455,
-0.02906312607228756,
-0.022435614839196205,
0.03745681047439575,
0.04868336021900177,
-0.013001465238630772,
-0.04252799227833748,
0.013998215086758137,
-0.02143886499106884,
-0.05466385930776596,
-0.04731938615441322,
0.016140352934598923,
-0.022120852023363113,
0.06515596061944962,
0.04147878289222717,
-0.014225543476641178,
-0.012197070755064487,
0.01733820140361786,
0.0315287709236145,
0.043996889144182205,
0.0067236898466944695,
-0.01937541738152504,
0.010999222286045551,
-0.02129897102713585,
0.026894759386777878,
0.043507255613803864,
-0.020057404413819313,
-0.03103913925588131,
-0.022977706044912338,
-0.062532939016819,
-0.006535706110298634,
0.01547585241496563,
-0.03334740176796913,
0.010124879889190197,
0.012293248437345028,
-0.005635133944451809,
0.05707704275846481,
0.03261295706033707,
-0.02133394405245781,
0.03843607380986214,
0.010098650120198727,
0.03560320660471916,
-0.04634012281894684,
-0.0318785086274147,
-0.018203800544142723,
-0.006150995846837759,
-0.022383153438568115,
0.03493870422244072,
0.05809127911925316,
0.04910304397344589,
0.020232273265719414,
-0.014146853238344193,
-0.06900306791067123,
0.033784572035074234,
-0.06879322230815887,
0.020756877958774567,
0.033976927399635315,
-0.004717074800282717,
0.0508517287671566,
-0.00046285477583296597,
-0.006588166579604149,
-0.018396154046058655,
-0.015056168660521507,
0.008485488593578339,
-0.013342458754777908,
0.011279011145234108,
-0.031791072338819504,
0.0212115366011858,
-0.003812131006270647,
0.01156754419207573,
-0.05113151669502258,
-0.008642870001494884,
0.024079376831650734,
0.031983427703380585,
-0.014846326783299446,
0.0037203249521553516,
-0.055468253791332245,
-0.03731691464781761,
-0.013884549960494041,
-0.038296177983284,
0.059560175985097885,
-0.02909810096025467,
-0.003903936827555299,
-0.029832547530531883,
-0.014645228162407875,
0.004996864125132561,
-0.022383153438568115,
-0.025985443964600563,
0.012983977794647217,
-0.009556557983160019,
0.004356408957391977,
0.0001265063474420458,
0.05406930670142174,
0.01723328046500683,
0.030566995963454247,
-0.012030945159494877,
-0.07435403764247894,
0.03163369372487068,
0.029919981956481934,
-0.009425406344234943,
-0.037946440279483795,
0.008196955546736717,
-0.04028967767953873,
-0.026632456108927727,
-0.01948033832013607,
-0.07211572676897049,
-0.04994241148233414,
-0.03116154670715332,
-0.014024444855749607,
-0.010859327390789986,
0.03138887509703636,
-0.012371938675642014,
-0.0003412665973883122,
-0.030811810865998268,
0.003147631185129285,
-0.00959153100848198,
0.03472886234521866,
0.0652608871459961,
-0.029850034043192863,
0.01946285180747509,
-0.03093421831727028,
-0.03910057246685028,
-0.024638956412672997,
-0.02551329880952835,
-0.005154245998710394,
0.06330236047506332,
0.03261295706033707,
0.019130602478981018,
-0.026107851415872574,
0.00677177868783474,
0.06816370040178299,
0.030444586649537086,
0.041933439671993256,
-0.05193591117858887,
-0.006754291709512472,
0.0632324144244194,
0.028451086953282356,
-0.036092836409807205,
0.012756649404764175,
-0.024708904325962067,
0.0173032283782959,
0.0016852940898388624,
0.0146889453753829,
0.020616983994841576,
0.008826482109725475,
-0.010387182235717773,
0.0023279355373233557,
0.057531699538230896,
0.021998444572091103,
-0.0020011502783745527,
-0.03128395602107048,
0.06442151218652725,
0.013115129433572292,
-0.025653192773461342,
-0.04319249466061592,
0.018413642421364784,
0.020074890926480293,
-0.03366216644644737,
0.044066835194826126,
0.059665095061063766,
0.05641254410147667,
0.016254017129540443,
0.03938036039471626,
0.02119405008852482,
0.029885008931159973,
-0.009320485405623913,
-0.014846326783299446,
0.03707209974527359,
-0.012494347058236599,
0.05431412160396576,
0.04850849136710167,
0.015624490566551685,
0.03707209974527359,
-0.006553193088620901,
0.012922774069011211,
-0.09163103997707367,
-0.027734126895666122,
-0.030776837840676308,
0.013097642920911312,
-0.057286884635686874,
-0.00878276489675045,
-0.07204578071832657,
-0.021858548745512962,
-0.05207580700516701,
-0.00008962005085777491,
0.04494117572903633,
0.02521602250635624,
0.031773585826158524,
0.05693714693188667,
0.015134859830141068,
0.0012612382415682077,
-0.0004415426810737699,
-0.02537340298295021,
-0.07057688385248184,
-0.09330977499485016,
-0.030147310346364975,
-0.02136891707777977,
0.00396732660010457,
0.06172854080796242,
-0.010929274372756481,
0.06403680890798569,
0.08323735743761063,
-0.03264793008565903,
-0.03689723089337349,
0.009259281679987907,
-0.034011904150247574,
-0.012030945159494877,
-0.012389425188302994,
-0.013263767585158348,
0.0468997023999691,
-0.045535728335380554,
0.0032809681724756956,
-0.010404669679701328,
-0.030671916902065277,
-0.0018361181719228625,
0.04878828302025795,
-0.08015967160463333,
0.02327498234808445,
-0.006037331186234951,
0.00688544288277626,
0.0434722825884819,
-0.051551200449466705,
0.016070405021309853,
0.06554067134857178,
-0.09540819376707077,
0.024848798289895058,
-0.08120888471603394,
0.01063199806958437,
-0.01951531320810318,
0.012651728466153145,
-0.09114140272140503,
0.06774401664733887,
0.01974264159798622,
0.01939290389418602,
0.006111650262027979,
0.03868088871240616,
0.015169832855463028,
-0.036407601088285446,
-0.05424417555332184,
0.03151128441095352,
-0.032438088208436966,
-0.04833362251520157,
-0.08631503582000732,
0.03312007337808609,
-0.001239379751496017,
0.027314443141222,
0.00577940046787262,
-0.0470745712518692,
0.04539583623409271,
-0.0349561907351017,
-0.009521584026515484,
0.015624490566551685,
-0.016726162284612656,
-0.00039946497417986393,
-0.032193269580602646,
0.025863034650683403,
-0.04231815040111542,
-0.03499116376042366,
0.020319707691669464,
0.0004120336379855871,
0.012223300524055958,
-0.008730304427444935,
0.023677179589867592,
0.002996806986629963,
-0.005307255778461695,
-0.015143603086471558,
0.034239232540130615,
0.0006054817931726575,
0.028363652527332306,
-0.02519853599369526,
-0.024551521986722946,
-0.030654428526759148,
0.003302826778963208,
0.013324971310794353,
-0.008376196026802063,
0.012503090314567089,
0.016866056248545647,
0.0015596074517816305,
-0.002483131131157279,
-0.005241679958999157,
-0.02547832392156124,
0.07159111648797989,
0.047669123858213425,
-0.05403433367609978,
-0.030427100136876106,
0.03103913925588131,
-0.04994241148233414,
0.01273916196078062,
0.0711364597082138,
0.028328679502010345,
0.013097642920911312,
-0.041653651744127274,
0.012844083830714226,
-0.026842297986149788,
-0.05291517451405525,
-0.010570794343948364,
0.04892817512154579,
0.016428885981440544,
-0.026195285841822624,
-0.028783338144421577,
0.0003336161025799811,
0.014872556552290916,
0.05057194083929062,
-0.04410180822014809,
0.005088670179247856,
0.022610483691096306,
-0.04658494144678116,
0.01734694465994835,
0.02892323210835457,
0.034186769276857376,
-0.05812625214457512,
0.05609777942299843,
0.009364202618598938,
-0.012389425188302994,
0.04812378063797951,
-0.014653971418738365,
0.00631274888291955,
0.020896773785352707,
-0.061378806829452515,
0.0824679359793663,
-0.007558686193078756,
-0.03700215369462967,
-0.03966015204787254,
0.007978370413184166,
0.0035520142409950495,
-0.016533806920051575,
0.002852540696039796,
0.004533463157713413,
0.00438701082020998,
-0.07470377534627914,
0.027769099920988083,
0.0713113322854042,
-0.041863493621349335,
0.0076810941100120544,
-0.020214786753058434,
0.01766170747578144,
-0.005683222785592079,
0.0731649324297905,
-0.06004980579018593,
0.009713939391076565,
0.00030683938530273736,
-0.07295509427785873,
0.053719568997621536,
0.04497614875435829,
0.03537587448954582,
-0.027874022722244263,
-0.016726162284612656,
0.016149096190929413,
-0.013893294148147106,
0.035848021507263184,
0.03338237479329109,
-0.05833609402179718,
-0.05088670179247856,
0.0345190204679966,
0.004734561778604984,
-0.02712208777666092,
-0.019113115966320038,
0.0029246739577502012,
-0.0015224479138851166,
0.039904966950416565,
0.016358938068151474,
0.006347722839564085,
0.021858548745512962,
0.06781396269798279,
-0.004041645675897598
] |
7,556 | hsbalance.model | expected_residual_vibration |
Returns the residual_vibration from tools module
| def expected_residual_vibration(self):
"""
Returns the residual_vibration from tools module
"""
return tools.residual_vibration(self.ALPHA, self.W, self.A)
| (self) | [
0.035870812833309174,
-0.07167381793260574,
0.017291223630309105,
0.05817988142371178,
0.03678622841835022,
-0.038074593991041183,
-0.057942550629377365,
-0.023800859227776527,
0.06794433295726776,
0.03093772754073143,
0.0037421935703605413,
-0.00837861467152834,
0.04994112253189087,
0.03115810640156269,
-0.08435404300689697,
0.03422645106911659,
0.03314151242375374,
0.03512491658329964,
-0.04061742126941681,
0.001142153050750494,
-0.014943346381187439,
0.007323341444134712,
-0.05377231538295746,
0.0666220635175705,
-0.027242152020335197,
0.0465845912694931,
0.043397579342126846,
-0.04750000685453415,
0.01080701407045126,
-0.047601718455553055,
-0.08109922707080841,
-0.02261420711874962,
0.051839765161275864,
-0.005530648399144411,
-0.032022666186094284,
0.017731979489326477,
-0.002388138324022293,
-0.022359924390912056,
-0.10035690665245056,
0.011179962195456028,
-0.016850465908646584,
-0.002150807762518525,
0.0646895170211792,
-0.016274092718958855,
-0.01980014517903328,
-0.033429697155952454,
-0.0161723792552948,
-0.0036044572480022907,
0.022190403193235397,
0.024699324741959572,
0.043397579342126846,
-0.0262928307056427,
0.022698968648910522,
0.001450470881536603,
-0.013688884675502777,
0.10957888513803482,
0.011179962195456028,
0.049635980278253555,
0.0464489720761776,
-0.028157569468021393,
0.017715027555823326,
-0.01637580618262291,
0.009806836023926735,
-0.00013310110080055892,
0.014231354929506779,
0.011807193048298359,
-0.03354836255311966,
0.025377413257956505,
0.02261420711874962,
0.06024804711341858,
0.010883299633860588,
0.010535779409110546,
-0.021681837737560272,
0.0012777704978361726,
0.042177021503448486,
-0.002665730193257332,
-0.034090831875801086,
-0.06997859477996826,
0.005000893026590347,
-0.05909529700875282,
0.049263034015893936,
0.030649540945887566,
0.013595648109912872,
-0.003102248767390847,
0.0013392221881076694,
-0.07208066433668137,
-0.04573697969317436,
-0.06207888200879097,
0.046177737414836884,
-0.012959941290318966,
-0.032480377703905106,
0.044380806386470795,
-0.01221404504030943,
0.05478944256901741,
0.026818348094820976,
0.010552731342613697,
-0.012061475776135921,
-0.049229130148887634,
0.06607959419488907,
-0.05743398517370224,
-0.019155962392687798,
0.08760886639356613,
-0.04061742126941681,
0.05790864676237106,
0.05397573858499527,
0.031192010268568993,
-0.008429471403360367,
-0.016680944710969925,
0.0828622505068779,
0.03453158959746361,
-0.012315758503973484,
0.03905782103538513,
-0.08021771162748337,
0.01598590612411499,
-0.08313348889350891,
-0.007590338587760925,
-0.01072225347161293,
0.009450839832425117,
0.022359924390912056,
0.04885618016123772,
0.0403800904750824,
-0.0058442638255655766,
-0.02503836899995804,
0.0028119427151978016,
0.04773733764886856,
-0.010908727534115314,
-0.00511108199134469,
0.028021952137351036,
0.032039619982242584,
-0.03317541629076004,
-0.010891775600612164,
0.012917560525238514,
-0.024004286155104637,
0.001902882126159966,
-0.00901008304208517,
-0.011671575717628002,
0.07920058071613312,
0.007454720791429281,
0.055942192673683167,
0.013680408708751202,
-0.005136510357260704,
0.07994648069143295,
0.021580124273896217,
0.017443792894482613,
-0.0059035965241491795,
0.010196736082434654,
0.05434868857264519,
0.021783551201224327,
0.01697760820388794,
0.02261420711874962,
0.005810359492897987,
-0.008315044455230236,
0.0028627992141991854,
0.006552017293870449,
0.04610992968082428,
-0.04268558695912361,
0.029462888836860657,
-0.045838695019483566,
0.012663277797400951,
-0.0505174957215786,
-0.014417828992009163,
-0.027377769351005554,
0.00027388366288505495,
-0.02444504201412201,
0.018240544945001602,
0.0035514815244823694,
-0.02207173779606819,
0.04624554514884949,
-0.01740988902747631,
0.00622568791732192,
-0.0073021515272557735,
-0.0807601809501648,
-0.09438973665237427,
-0.016918275505304337,
0.006539303343743086,
0.08408281207084656,
-0.014477161690592766,
-0.010662920773029327,
-0.01547733973711729,
0.039329055696725845,
0.02405514195561409,
-0.00850575603544712,
-0.07140257954597473,
-0.02751338668167591,
0.00829809159040451,
-0.002960274461656809,
0.03292113170027733,
-0.002487732330337167,
0.02205478586256504,
-0.031005537137389183,
0.012383567169308662,
0.019139010459184647,
0.031853146851062775,
0.01818968914449215,
-0.009069415740668774,
-0.04872056469321251,
0.02488579973578453,
0.018359210342168808,
0.03705746307969093,
-0.04777124151587486,
-0.019257675856351852,
-0.02630978263914585,
-0.032276950776576996,
0.04536403343081474,
-0.019155962392687798,
-0.019986620172858238,
-0.01080701407045126,
-0.01963062398135662,
-0.049025703221559525,
-0.015002679079771042,
-0.01634190045297146,
0.011120629496872425,
0.032022666186094284,
-0.03381959721446037,
0.012671753764152527,
-0.022512493655085564,
0.012315758503973484,
0.00202154740691185,
0.006043451838195324,
0.014417828992009163,
-0.02181745506823063,
-0.044821564108133316,
-0.02266506478190422,
-0.016460565850138664,
-0.01133253239095211,
0.004521993920207024,
0.009586457163095474,
0.02142755500972271,
-0.01634190045297146,
-0.010383210144937038,
0.00047836932935751975,
0.034260354936122894,
0.0027992287650704384,
-0.06597788631916046,
-0.04834761470556259,
0.029276413843035698,
-0.03617595136165619,
0.03868487477302551,
0.0035747908987104893,
-0.036718420684337616,
-0.01800321415066719,
0.009323698468506336,
0.037294793874025345,
0.0888972282409668,
-0.003388316836208105,
-0.02366524189710617,
0.029886692762374878,
0.05170414596796036,
-0.03351445868611336,
0.008374377153813839,
0.006878346670418978,
-0.06767310202121735,
0.004106665495783091,
0.059569958597421646,
0.03354836255311966,
0.004695753566920757,
0.008120094425976276,
0.0062977345660328865,
0.04221092537045479,
-0.0003250050649512559,
0.035497862845659256,
0.00025269342586398125,
-0.04607602581381798,
0.035463958978652954,
-0.0808958038687706,
0.011697003617882729,
-0.007560672238469124,
0.040176667273044586,
-0.020376520231366158,
0.0222243070602417,
0.07011421769857407,
0.024207713082432747,
-0.06519808620214462,
-0.05078873038291931,
-0.006314686965197325,
0.031446292996406555,
0.014892489649355412,
0.03559957817196846,
0.040176667273044586,
0.04082084819674492,
0.01446020882576704,
0.006382495630532503,
0.006721539422869682,
0.06574055552482605,
-0.023699147626757622,
-0.030395258218050003,
-0.011146058328449726,
-0.010078070685267448,
0.005547600798308849,
-0.04224483296275139,
0.02444504201412201,
0.018715206533670425,
0.046991441398859024,
0.019037296995520592,
0.12402214854955673,
0.029615458101034164,
-0.04021057114005089,
-0.01305317785590887,
0.042753398418426514,
0.019986620172858238,
0.044957179576158524,
0.002139153191819787,
-0.016663992777466774,
-0.015163724310696125,
-0.07404711842536926,
-0.013951643370091915,
0.038718778640031815,
-0.014231354929506779,
-0.019037296995520592,
0.0007617885712534189,
-0.0545182079076767,
0.02910689264535904,
0.027394721284508705,
-0.01496029831469059,
0.004797467030584812,
-0.059569958597421646,
0.05190757289528847,
0.02103765495121479,
0.05211099982261658,
0.057705219835042953,
0.0484832338988781,
0.013087082654237747,
0.044380806386470795,
0.018494827672839165,
0.01295146532356739,
-0.022800682112574577,
0.030632589012384415,
-0.002472899155691266,
0.018443971872329712,
-0.06750357896089554,
-0.07736974954605103,
-0.03397216647863388,
-0.012790419161319733,
-0.01680808514356613,
-0.01822359301149845,
-0.022698968648910522,
0.05119558051228523,
-0.019308531656861305,
0.037091370671987534,
-0.01080701407045126,
0.03512491658329964,
-0.04166845604777336,
-0.04590650275349617,
0.044618137180805206,
0.03665061295032501,
-0.002034261589869857,
0.016087617725133896,
-0.05211099982261658,
0.03115810640156269,
-0.02085117995738983,
-0.050280164927244186,
-0.016307996585965157,
0.011993667110800743,
0.0706566870212555,
0.00850575603544712,
0.06089222803711891,
-0.05573876574635506,
0.008467613719403744,
0.006526588927954435,
0.019308531656861305,
-0.05563705414533615,
0.045974310487508774,
-0.06780871748924255,
0.0020755825098603964,
-0.03576909750699997,
-0.03695575147867203,
-0.04424518719315529,
-0.006607112009078264,
0.0008439006633125246,
-0.02508922666311264,
-0.04929693788290024,
-0.04285511001944542,
-0.05556924641132355,
-0.0057340748608112335,
0.005823073908686638,
-0.02346181683242321,
-0.019969668239355087,
-0.022732872515916824,
0.031446292996406555,
-0.000951441063079983,
-0.00004317508137319237,
0.022800682112574577,
-0.0807601809501648,
-0.051059965044260025,
0.037498220801353455,
0.007454720791429281,
-0.03337884321808815,
-0.0282762348651886,
-0.02666577883064747,
0.0005949155311100185,
-0.000368709908798337,
-0.03888830170035362,
0.03371788561344147,
0.008620182983577251,
-0.03478587418794632,
-0.027632052078843117,
-0.017698075622320175,
0.006492684595286846,
-0.020529089495539665,
-0.010476446710526943,
-0.03475196659564972,
-0.010383210144937038,
-0.0606209933757782,
-0.007213152479380369,
0.005301794037222862,
-0.05089044198393822,
0.06824947148561478,
0.06360457837581635,
-0.0012449256610125303,
-0.029818883165717125,
-0.06397752463817596,
0.028971275314688683,
-0.059773385524749756,
-0.03563348203897476,
-0.004202021285891533,
0.01701151207089424,
0.0019929406698793173,
-0.03337884321808815,
0.011976715177297592,
0.04163455218076706,
0.02585207298398018,
-0.003765502944588661,
0.05038187652826309,
0.0627569705247879,
0.0086032310500741,
0.005547600798308849,
-0.025919882580637932,
0.014587350189685822,
-0.02547912672162056,
0.012349662370979786,
-0.030395258218050003,
-0.0030365590937435627,
-0.018715206533670425,
-0.08754105865955353,
-0.021122416481375694,
-0.03899001330137253,
-0.02507227286696434,
-0.019257675856351852,
-0.017867596819996834,
0.029869740828871727,
0.09567809849977493,
0.035701289772987366,
0.044957179576158524,
0.018274448812007904,
-0.027038726955652237,
-0.04394004866480827,
-0.02873394452035427,
0.005988357588648796,
-0.05360279232263565,
-0.03715917840600014,
0.03268380090594292,
0.015723146498203278,
0.023987334221601486,
-0.011637670919299126,
-0.00819637905806303,
0.005509458482265472,
-0.06207888200879097,
-0.03354836255311966,
-0.0405157096683979,
-0.06150250881910324,
-0.013680408708751202,
0.04875446856021881,
-0.038142405450344086,
-0.03573519363999367,
0.0222751647233963,
0.03312455862760544,
0.0022419258020818233,
-0.04343148320913315,
-0.033870454877614975,
0.018054071813821793,
0.024004286155104637,
-0.022987155243754387,
0.013409174047410488,
-0.058112069964408875,
0.07560671865940094,
0.0007564910338260233,
-0.07452178001403809,
0.03215828537940979,
0.02630978263914585,
-0.0192068200558424,
-0.08659173548221588,
-0.030005358159542084,
-0.0047296578995883465,
0.020088333636522293,
0.004021904431283474,
0.00682325242087245,
-0.06926660239696503,
-0.016825038939714432,
-0.009823787957429886,
-0.03420949727296829,
-0.034701112657785416,
0.07730194181203842,
-0.005539124831557274,
0.072690948843956,
-0.06930050998926163,
0.009255889803171158,
0.048008572310209274,
-0.005505220498889685,
0.025716455653309822,
0.017901500687003136,
0.017333604395389557,
-0.038515351712703705,
-0.04899179935455322,
-0.006496923044323921,
0.008569327183067799,
-0.036277662962675095,
-0.072690948843956,
-0.050653111189603806,
0.03129372373223305,
0.019681479781866074,
-0.014900965616106987,
0.016731800511479378,
0.020054427906870842,
0.0023584719747304916,
0.0005938560352660716,
-0.021190224215388298,
-0.05363669618964195,
0.06587617099285126,
0.03393826261162758,
-0.002005654852837324,
-0.042787302285432816,
0.0116122430190444,
0.03583690896630287,
-0.05756960064172745,
0.037294793874025345,
-0.003767621936276555,
-0.07662384957075119,
-0.039091724902391434,
0.018698254600167274,
0.04892399162054062,
-0.038311924785375595,
-0.02366524189710617,
0.02063080295920372,
0.04302463307976723,
-0.006179069634526968,
0.024207713082432747,
-0.0023372818250209093,
-0.08198074251413345,
-0.07153819501399994,
-0.021139368414878845,
0.005615409463644028,
-0.009772931225597858,
0.03902391716837883,
-0.011671575717628002,
0.015401055105030537,
0.00890837050974369,
-0.041125986725091934,
0.046177737414836884,
-0.008615945465862751,
-0.0444486141204834,
-0.015409531071782112,
-0.028801752254366875,
-0.003532410366460681,
-0.005195843055844307,
0.04590650275349617,
0.011264723725616932,
0.029378127306699753,
-0.005810359492897987,
-0.02061385102570057,
0.0037866930942982435,
-0.0030852966010570526,
-0.030378306284546852,
0.04516060650348663,
-0.04607602581381798,
-0.06496075540781021,
0.037532124668359756,
0.03658280521631241,
0.05319593846797943,
0.0016242307610809803,
-0.03453158959746361,
0.022156499326229095,
-0.005289080087095499,
0.039091724902391434,
-0.0013752455124631524,
-0.054280877113342285,
0.019478054717183113,
0.06587617099285126,
-0.04899179935455322,
-0.026784444227814674,
-0.015223057009279728,
0.03780335932970047,
-0.04590650275349617,
0.0006706705898977816,
-0.06753748655319214,
-0.03929515182971954,
0.01173938438296318,
0.0026212306693196297,
0.057942550629377365,
-0.016113046556711197,
0.02000357210636139,
-0.015485815703868866,
-0.009255889803171158,
-0.025224843993782997,
-0.053094226866960526,
0.018274448812007904,
0.0008534363005310297,
-0.0232583899050951,
0.026225021108984947,
0.021190224215388298,
0.015019631013274193,
-0.010128927417099476,
-0.029886692762374878,
0.019088154658675194,
0.01618085615336895,
-0.02812366560101509,
0.00910332053899765,
-0.012154712341725826,
-0.011179962195456028,
-0.00011787062248913571,
0.006857156753540039,
-0.02302105911076069,
-0.027140438556671143,
-0.0026911585591733456,
-0.049059607088565826,
0.03865097090601921,
0.008221806958317757,
-0.02551303058862686,
0.017460744827985764,
0.03319236636161804,
0.06533370167016983,
-0.017028464004397392,
0.02908994071185589,
-0.02707263082265854,
-0.001723824767395854,
0.012264901772141457,
0.016935227438807487,
0.055264104157686234,
-0.05319593846797943,
-0.008344710804522038,
-0.0667576864361763,
0.016655515879392624,
-0.000856085040140897,
0.04610992968082428,
-0.055128488689661026,
-0.0047508482821285725,
0.019681479781866074,
0.02608940377831459,
0.018545685335993767,
-0.0052763656713068485,
0.0566541850566864,
0.01334136538207531,
0.051839765161275864,
-0.06289258599281311,
0.01273956336081028,
-0.0010208390885964036,
0.03495539352297783,
-0.06794433295726776,
0.0054670777171850204,
0.022512493655085564,
-0.015095915645360947,
-0.025190938264131546,
0.011875001713633537,
-0.018664348870515823,
0.03056477941572666,
0.016214760020375252,
0.0015744336415082216,
0.046415068209171295,
0.03654889762401581,
0.027208248153328896,
0.01221404504030943,
-0.04709315299987793,
0.019359389320015907,
0.014095737598836422,
-0.0010287853656336665,
0.08062456548213959,
-0.028072809800505638,
0.01052730344235897,
-0.0485171377658844,
-0.01698608323931694,
-0.021732693538069725,
0.022156499326229095,
-0.021902216598391533,
0.005984119605273008,
0.01700303517282009,
-0.004284663591533899,
0.01201909501105547,
-0.028666134923696518,
0.005407745484262705,
0.09649180620908737,
0.019325485453009605,
0.02061385102570057,
0.030903823673725128,
-0.024360282346606255,
-0.04705924913287163,
0.04082084819674492,
-0.01863044500350952,
-0.04770343378186226,
0.06794433295726776,
-0.034480731934309006,
-0.031446292996406555,
-0.07113134860992432,
-0.04705924913287163,
-0.01305317785590887,
0.03198876231908798,
0.020885085687041283,
-0.002402971498668194,
-0.031073344871401787,
0.0010706360917538404,
0.019325485453009605,
-0.025190938264131546,
0.04553355276584625,
0.019681479781866074,
-0.018257496878504753,
0.028394900262355804,
-0.04268558695912361,
0.027445578947663307,
0.009332174435257912,
-0.0627908706665039,
-0.0667237788438797,
-0.053094226866960526,
0.03766774386167526,
0.01859654113650322,
0.030463065952062607,
-0.04553355276584625,
0.04400785639882088,
0.0343451164662838,
-0.04109208285808563,
-0.010985012166202068,
-0.011713956482708454,
0.041159890592098236,
-0.04149893671274185,
0.02403819002211094,
0.044787660241127014,
0.021970024332404137,
-0.03390435874462128,
0.027818527072668076,
0.017901500687003136,
-0.014426304958760738,
0.014900965616106987,
0.02508922666311264,
-0.0047508482821285725,
-0.009645789861679077,
-0.0202409029006958,
-0.01111215353012085,
0.032276950776576996,
0.0006335877114906907,
-0.035463958978652954,
0.027445578947663307,
0.04929693788290024,
0.008361662738025188,
0.02712348662316799,
0.039125628769397736,
-0.03141238912940025,
-0.048245903104543686,
0.0162062831223011,
0.049263034015893936,
-0.011357960291206837,
0.026530161499977112,
0.030208783224225044,
-0.0485171377658844,
0.09004997462034225,
0.013400698080658913,
0.03300589323043823,
0.015579053200781345,
0.06906317919492722,
-0.02385171689093113,
0.03463330119848251,
0.00020885614503640682,
0.023750003427267075,
-0.00023865490220487118,
-0.021715741604566574,
-0.02286848984658718,
0.021698789671063423,
0.07370807975530624,
-0.04556746035814285,
0.05923091620206833,
-0.025411317124962807,
0.021122416481375694
] |
7,557 | hsbalance.model | info | null | def info(self):
formatter = tools.InfoFormatter(name='MODEL', info_parameters=self._info(), level=3)
return ''.join(formatter.info())
| (self) | [
0.037419531494379044,
0.012067087925970554,
0.053746115416288376,
-0.0197946485131979,
0.07067738473415375,
-0.062318459153175354,
0.004579624161124229,
-0.04172348976135254,
0.014743722043931484,
0.004757473710924387,
-0.03306221961975098,
-0.03434273600578308,
-0.015028281137347221,
-0.004357312340289354,
0.012502819299697876,
0.009870646521449089,
0.007656420581042767,
-0.06744052469730377,
0.017482604831457138,
0.015721894800662994,
-0.0004223925352562219,
0.007087301928550005,
-0.01209376472979784,
-0.07298942655324936,
0.021768776699900627,
0.006091345101594925,
0.014405808411538601,
-0.022907013073563576,
0.06278087198734283,
-0.02443651854991913,
-0.09803063422441483,
-0.033613551408052444,
0.01328535657376051,
-0.003877118695527315,
-0.028544843196868896,
0.02959415502846241,
0.004417336545884609,
0.004068307112902403,
-0.010386410169303417,
-0.029398519545793533,
0.004452906548976898,
-0.02550361678004265,
-0.0066293394193053246,
0.03243974596261978,
-0.0413677915930748,
-0.042755015194416046,
0.028064649552106857,
-0.002907839138060808,
-0.007727560121566057,
-0.04485363885760307,
-0.014432486146688461,
0.02502342313528061,
-0.033435702323913574,
-0.015321733430027962,
-0.015668539330363274,
-0.0903475359082222,
0.027477744966745377,
-0.06260301917791367,
0.021466432139277458,
0.02116408944129944,
0.06253188103437424,
0.05769437178969383,
0.02443651854991913,
-0.02794015407562256,
-0.01539287343621254,
-0.019634583964943886,
0.03452058508992195,
0.014939356595277786,
-0.0014127918984740973,
0.02507677674293518,
0.010866603814065456,
-0.07782693207263947,
0.006633786018937826,
0.05936615914106369,
-0.009230388328433037,
-0.08024568855762482,
-0.016842346638441086,
-0.03025219775736332,
0.032297465950250626,
-0.02472107857465744,
-0.015908636152744293,
-0.006682694423943758,
-0.0010804355842992663,
-0.03649471327662468,
0.011791421100497246,
-0.06630228459835052,
-0.015054958872497082,
-0.048766329884529114,
-0.020523831248283386,
0.05733867362141609,
-0.06551975011825562,
0.04005170240998268,
-0.01610427163541317,
0.06637343019247055,
-0.06025540456175804,
-0.006033543962985277,
0.00027594459243118763,
-0.03167499229311943,
0.046383146196603775,
-0.008905813097953796,
-0.007518587168306112,
-0.0029478552751243114,
-0.05086495354771614,
0.03012770228087902,
-0.06270972639322281,
-0.006820527836680412,
-0.03073239140212536,
0.032066263258457184,
-0.002954524476081133,
0.015054958872497082,
-0.0023142665158957243,
0.05769437178969383,
0.0017095782095566392,
-0.0616782009601593,
0.04321742430329323,
-0.046738844364881516,
-0.01621987298130989,
-0.0007147326250560582,
-0.029967637732625008,
0.0023765137884765863,
-0.03998056426644325,
0.026179444044828415,
-0.06505734473466873,
-0.02365398220717907,
-0.02632172405719757,
0.002265357878059149,
-0.012342754751443863,
-0.02756666950881481,
0.026873057708144188,
-0.11311227083206177,
-0.005139850080013275,
-0.046738844364881516,
-0.008003226481378078,
0.03517862781882286,
0.0764041393995285,
-0.031870629638433456,
0.024934498593211174,
-0.029789788648486137,
-0.0047041187062859535,
0.12179132550954819,
-0.024525444954633713,
0.03880675882101059,
0.002774452092126012,
-0.015881959348917007,
-0.030643466860055923,
-0.0449247807264328,
0.04986899718642235,
-0.032244112342596054,
0.01984800212085247,
-0.07327398657798767,
0.03987385332584381,
0.0031634976621717215,
0.019456733018159866,
-0.04599187523126602,
-0.034965209662914276,
-0.005042032804340124,
0.014548087492585182,
-0.037881940603256226,
0.025699250400066376,
-0.01830071210861206,
-0.045138198882341385,
-0.03653028607368469,
0.012751808390021324,
-0.0032924385741353035,
0.016957947984337807,
0.046027448028326035,
-0.03834434971213341,
-0.018887614831328392,
0.005299914628267288,
-0.0030367800500243902,
-0.03873561695218086,
-0.04464022070169449,
-0.0048997532576322556,
0.03347127139568329,
0.013747765682637691,
0.05527561902999878,
0.0007352964603342116,
0.06989485025405884,
0.027655595913529396,
0.020666109398007393,
0.04599187523126602,
0.007007269654422998,
-0.057552091777324677,
0.04236374795436859,
-0.022497959434986115,
-0.052572306245565414,
0.011666926555335522,
-0.028687121346592903,
0.0042617181316018105,
-0.023209357634186745,
0.07754237204790115,
0.008692394010722637,
0.052145469933748245,
0.028260283172130585,
-0.028900541365146637,
-0.0058690328150987625,
0.037775229662656784,
-0.030536755919456482,
0.03030555322766304,
-0.028491487726569176,
0.007340737618505955,
-0.026873057708144188,
-0.03585445508360863,
0.05225217714905739,
-0.02395632490515709,
0.03025219775736332,
0.014468055218458176,
-0.018674196675419807,
-0.0616782009601593,
0.029025036841630936,
0.0411188006401062,
0.01794501394033432,
0.014494732953608036,
0.007763130124658346,
0.058334629982709885,
0.00675828056409955,
0.0005099278059788048,
0.025948239490389824,
-0.02948744408786297,
0.008181076496839523,
0.012102657929062843,
-0.039198026061058044,
0.06487949192523956,
0.017553744837641716,
-0.03272430598735809,
-0.025219056755304337,
0.033257853239774704,
0.008452297188341618,
-0.005957957822829485,
-0.04104766249656677,
-0.018407421186566353,
-0.03306221961975098,
-0.08522547036409378,
0.038842327892780304,
-0.07747123390436172,
0.02875826135277748,
-0.03226189687848091,
-0.0021753215696662664,
0.004753027576953173,
-0.039375875145196915,
-0.0177671629935503,
0.004588516894727945,
-0.014352453872561455,
-0.02352948673069477,
0.0393403060734272,
-0.09226831048727036,
0.02810021862387657,
-0.021644283086061478,
-0.009479377418756485,
-0.07121093571186066,
0.022088905796408653,
0.019101034849882126,
0.013658840209245682,
0.02210669033229351,
0.025165703147649765,
-0.04090538248419762,
-0.010128527879714966,
-0.042292606085538864,
0.02098623849451542,
-0.0060024200938642025,
-0.06630228459835052,
-0.005704522132873535,
-0.020417120307683945,
0.036636993288993835,
0.01054647471755743,
0.015455120243132114,
-0.024703294038772583,
-0.009621657431125641,
-0.008456743322312832,
0.001856304006651044,
0.1411413550376892,
0.016949055716395378,
-0.11666925996541977,
-0.004148339387029409,
-0.03396925330162048,
-0.06221175193786621,
-0.020221486687660217,
-0.010181883350014687,
-0.044177811592817307,
0.013614377938210964,
-0.004019398242235184,
-0.04734353348612785,
-0.025930454954504967,
-0.03332899510860443,
0.010226345621049404,
-0.0038282102905213833,
0.007989888079464436,
0.007354076020419598,
-0.010635399259626865,
0.021786561235785484,
-0.009746151976287365,
0.042932864278554916,
-0.029878713190555573,
-0.04019398242235184,
0.019705722108483315,
-0.05246559903025627,
0.037597380578517914,
0.06071781367063522,
0.051967620849609375,
-0.008323355577886105,
-0.027495531365275383,
-0.011080022901296616,
0.0033902558498084545,
-0.03567660599946976,
-0.043644264340400696,
0.02936295047402382,
0.026001594960689545,
-0.03905574604868889,
0.007096194662153721,
-0.0011582447914406657,
-0.009408237412571907,
0.03457393869757652,
0.05449308082461357,
0.05669841542840004,
-0.04844620078802109,
0.020523831248283386,
-0.06327884644269943,
0.043644264340400696,
0.025236841291189194,
0.07441222667694092,
-0.0025388014037162066,
0.04855290800333023,
0.03820206969976425,
-0.011071130633354187,
0.013774442486464977,
-0.03596116602420807,
-0.00769643671810627,
0.004926430527120829,
-0.011951485648751259,
0.014583657495677471,
-0.023440562188625336,
-0.05385282263159752,
0.036281295120716095,
0.01931445486843586,
-0.015579614788293839,
0.04236374795436859,
-0.023760691285133362,
-0.004279503133147955,
-0.012458356097340584,
0.015037174336612225,
0.04599187523126602,
-0.04375097528100014,
-0.03827320784330368,
0.04616972804069519,
-0.04101208969950676,
0.005046478938311338,
0.031212585046887398,
-0.00224312674254179,
0.016664497554302216,
0.015890851616859436,
-0.05918831005692482,
-0.004012729041278362,
-0.007625296711921692,
-0.005833463277667761,
-0.028864972293376923,
-0.011008882895112038,
-0.01824735663831234,
-0.005210990086197853,
0.005273237358778715,
0.0395892970263958,
-0.018887614831328392,
0.013783334754407406,
0.017544852569699287,
0.026054950430989265,
-0.03877118602395058,
-0.04570731893181801,
0.044889211654663086,
0.06964585930109024,
0.09475820511579514,
0.00687832897529006,
-0.029256239533424377,
0.01099109835922718,
0.02733546681702137,
-0.005900156684219837,
-0.02180434763431549,
0.046027448028326035,
0.034378305077552795,
-0.00965722743421793,
-0.03688598424196243,
-0.0791785940527916,
-0.033666908740997314,
0.018096184358000755,
-0.01559740025550127,
-0.01913660392165184,
0.016246549785137177,
0.02520127221941948,
-0.0012782932026311755,
0.01883426122367382,
-0.0662311464548111,
0.013000797480344772,
-0.019599013030529022,
-0.03905574604868889,
-0.06651570647954941,
-0.007860947400331497,
0.005175420083105564,
-0.012502819299697876,
0.039909426122903824,
0.0026343956124037504,
-0.07277601212263107,
-0.017980583012104034,
-0.015437335707247257,
-0.07188676297664642,
-0.038415487855672836,
-0.020755035802721977,
-0.03386254236102104,
-0.053639404475688934,
0.0006335888174362481,
0.047450244426727295,
-0.021484218537807465,
-0.031586069613695145,
0.024685509502887726,
-0.023156002163887024,
0.0035970057360827923,
-0.013329818844795227,
0.027726734057068825,
0.030341122299432755,
-0.0028189143631607294,
-0.027353251352906227,
0.024632154032588005,
-0.0034591725561767817,
0.029967637732625008,
0.048161640763282776,
0.026019379496574402,
0.03802422061562538,
0.01550847478210926,
0.04766366258263588,
-0.06299428641796112,
0.0545642226934433,
0.0893515795469284,
0.02959415502846241,
-0.035089705139398575,
-0.04574288800358772,
0.040798671543598175,
-0.012822947464883327,
-0.053568266332149506,
-0.02626836858689785,
0.049762286245822906,
-0.013854474760591984,
-0.022302325814962387,
0.030981380492448807,
0.0027322126552462578,
-0.007109533064067364,
0.033542413264513016,
0.03674370422959328,
-0.010421980172395706,
0.009888431057333946,
0.008976953104138374,
-0.03537426143884659,
-0.018194003030657768,
0.003499188693240285,
0.00219088327139616,
0.01747371256351471,
0.005326591897755861,
-0.0428972952067852,
0.03249309957027435,
-0.01752706617116928,
0.03309778869152069,
-0.016175411641597748,
-0.006055775098502636,
0.021555358543992043,
-0.04560060799121857,
0.02900725044310093,
0.0029033927712589502,
0.012289399281144142,
0.024045251309871674,
-0.09824405610561371,
0.07000155746936798,
-0.006616001017391682,
-0.06174934282898903,
-0.026606282219290733,
0.0502602644264698,
0.03976714611053467,
-0.014708152040839195,
0.024507658556103706,
-0.04197247698903084,
0.061358071863651276,
0.021733207628130913,
0.021662067621946335,
-0.01688680797815323,
-0.04446237161755562,
0.003952704835683107,
-0.05043811351060867,
-0.03830878064036369,
0.014005647040903568,
0.024116389453411102,
0.028420347720384598,
-0.012947442941367626,
-0.03126594051718712,
-0.01324978657066822,
-0.0449247807264328,
-0.010208560153841972,
0.018763121217489243,
-0.0041038766503334045,
-0.043537553399801254,
0.027726734057068825,
0.03162163868546486,
0.019207743927836418,
-0.012769592925906181,
-0.05246559903025627,
0.06004198640584946,
0.029683079570531845,
-0.050971660763025284,
0.0413677915930748,
-0.07910744845867157,
-0.03709940239787102,
-0.009950678795576096,
0.03243974596261978,
-0.028366992250084877,
0.023760691285133362,
0.018051723018288612,
0.013116399757564068,
-0.031639423221349716,
0.005077602807432413,
0.028687121346592903,
-0.0022019988391548395,
-0.017802733927965164,
-0.022924799472093582,
0.010475334711372852,
0.0018818698590621352,
0.03624572604894638,
0.0002545470779296011,
-0.02038155123591423,
0.003966043703258038,
-0.0356588214635849,
-0.016122056171298027,
0.04890860989689827,
-0.037881940603256226,
0.022320110350847244,
-0.019883573055267334,
0.07811149209737778,
0.062247321009635925,
-0.0054377480410039425,
0.020772820338606834,
0.029558584094047546,
-0.015704110264778137,
0.008109936490654945,
0.03462729603052139,
-0.007349629886448383,
-0.015535152517259121,
0.0015495136613026261,
0.021662067621946335,
-0.03546318784356117,
-0.050366975367069244,
-0.032297465950250626,
0.07932087033987045,
-0.03859333693981171,
0.03613901510834694,
0.004315073136240244,
-0.029505230486392975,
-0.038949038833379745,
-0.05033140629529953,
-0.006082452367991209,
-0.029042821377515793,
-0.03178170323371887,
0.05061596259474754,
0.08977842330932617,
0.024205315858125687,
-0.016193196177482605,
-0.011240087449550629,
0.0073273987509310246,
-0.013765550218522549,
-0.04154564067721367,
0.032475315034389496,
0.048588480800390244,
0.012876302935183048,
0.07434108853340149,
0.010839926078915596,
0.02738882042467594,
-0.04464022070169449,
-0.005344376899302006,
0.010004033334553242,
-0.0043706512078642845,
0.03169277682900429,
0.031248154118657112,
-0.015277271158993244,
-0.017482604831457138,
0.02116408944129944,
0.06078895553946495,
0.031763918697834015,
0.031159229576587677,
0.03685041517019272,
0.04378654435276985,
-0.011560216546058655,
0.04190133884549141,
0.028278067708015442,
-0.016788991168141365,
-0.04303957521915436,
0.0034814036916941404,
0.02657071314752102,
0.04357312247157097,
-0.010875496082007885,
-0.0359078124165535,
0.005113172810524702,
0.012209367007017136,
0.02603716403245926,
-0.042292606085538864,
-0.03452058508992195,
-0.04350198432803154,
0.007656420581042767,
0.015028281137347221,
0.006304764188826084,
-0.03571217507123947,
0.019563443958759308,
0.010155205614864826,
-0.0048997532576322556,
-0.015277271158993244,
0.018087292090058327,
0.013765550218522549,
-0.028776045888662338,
0.0484817698597908,
-0.016148732975125313,
-0.026552928611636162,
-0.056556135416030884,
-0.08024568855762482,
-0.02847370319068432,
0.009070323780179024,
0.03773966059088707,
-0.018389636650681496,
0.04577845707535744,
0.007514140568673611,
0.056840695440769196,
0.030679035931825638,
-0.013080829754471779,
0.015410657972097397,
0.025165703147649765,
0.0764041393995285,
-0.04015841335058212,
-0.0398382842540741,
0.02829585410654545,
-0.06790293008089066,
0.029451875016093254,
0.03306221961975098,
0.029932068660855293,
0.0016595580382272601,
-0.03613901510834694,
-0.0034969656262546778,
-0.01488600205630064,
-0.003752624150365591,
-0.0279223695397377,
0.02870490774512291,
-0.006126914639025927,
0.029558584094047546,
-0.04979785531759262,
-0.008785764686763287,
-0.019029894843697548,
0.02502342313528061,
-0.04994013532996178,
-0.03855776786804199,
0.052501168102025986,
-0.023102648556232452,
-0.05264344811439514,
-0.010404194705188274,
-0.009203710593283176,
0.04499591886997223,
0.018229572102427483,
-0.004819720983505249,
-0.04723682254552841,
0.03596116602420807,
-0.04005170240998268,
-0.021662067621946335,
-0.07153106480836868,
-0.023209357634186745,
0.043466415256261826,
-0.038664478808641434,
0.09241059422492981,
0.04588516801595688,
-0.04997570440173149,
0.011124485172331333,
0.04439123347401619,
-0.030821315944194794,
0.0018740890081971884,
0.03377361595630646,
0.05299914628267288,
-0.016388829797506332,
-0.04033626243472099,
0.04435566067695618,
0.04271944612264633,
0.03926916792988777,
0.026481788605451584,
-0.004855290986597538,
0.09283743053674698,
-0.029843144118785858,
0.029700864106416702,
0.006980592384934425,
0.07064181566238403,
0.008785764686763287,
-0.04446237161755562,
0.058263491839170456,
0.014192389324307442,
0.0053666080348193645,
-0.04777037352323532,
-0.028153574094176292,
0.020648324862122536,
-0.013294248841702938,
0.08159734308719635,
-0.014779292047023773,
0.022071121260523796,
-0.009977356530725956,
0.036992691457271576,
-0.039909426122903824,
0.026837486773729324,
0.021021809428930283,
-0.016904594376683235,
-0.012894087471067905,
0.021964412182569504,
0.04179462790489197,
0.008243323303759098,
-0.011355689726769924,
-0.05243002995848656,
-0.03720611333847046,
0.04232817888259888,
0.08131278306245804,
0.018389636650681496,
-0.04688112437725067,
0.0053666080348193645,
0.0005040921387262642,
0.021021809428930283,
0.05502663180232048,
0.0037059385795146227,
0.002805575728416443,
-0.0005902379634790123,
0.0039015731308609247,
0.025005638599395752,
0.003988274838775396,
-0.00787428580224514,
0.11211631447076797,
-0.025628110393881798,
0.019456733018159866,
0.03219075873494148,
-0.005442194174975157,
-0.003659253241494298,
-0.026072734966874123,
-0.0657331719994545,
0.009675011970102787,
0.023867400363087654,
0.04453350976109505,
-0.018816474825143814,
-0.021199658513069153,
0.008123274892568588,
-0.059401728212833405,
0.03998056426644325,
0.06182048097252846,
0.01997249759733677,
0.06068224459886551,
-0.0031923982314765453,
0.031070305034518242,
0.001968571450561285,
-0.0020652771927416325,
-0.011062238365411758,
-0.029825359582901,
0.037775229662656784,
0.011240087449550629,
-0.003777078352868557,
-0.059650719165802,
0.026961982250213623,
-0.0487307608127594,
0.06110908463597298,
-0.020399335771799088,
0.05424409359693527,
0.007305167615413666,
0.030056562274694443,
-0.050971660763025284,
0.0741276666522026,
0.015419550240039825,
-0.01931445486843586,
0.020879529416561127,
-0.028206927701830864,
-0.019332239404320717
] |
7,558 | hsbalance.model | rmse |
Returns the root mean squares from tools module
| def rmse(self):
"""
Returns the root mean squares from tools module
"""
return tools.rmse(self.expected_residual_vibration())
| (self) | [
0.020251210778951645,
-0.03839974105358124,
0.07542067766189575,
0.03517678380012512,
0.029178978875279427,
-0.0334705114364624,
-0.05449730157852173,
-0.004830128978937864,
0.08493443578481674,
0.06652738153934479,
-0.010789155960083008,
-0.01954457350075245,
0.05201544985175133,
0.039330437779426575,
-0.04732751101255417,
0.038606561720371246,
0.043260034173727036,
-0.0059030125848948956,
-0.02104402333498001,
-0.02416357211768627,
-0.042915333062410355,
0.020423561334609985,
-0.03929596766829491,
0.002105910563841462,
-0.03252258151769638,
0.04253615811467171,
0.050085119903087616,
-0.06339059770107269,
0.02983391098678112,
-0.04905101656913757,
-0.08272834867238998,
-0.013615707866847515,
0.0010481078643351793,
0.011366530321538448,
-0.013917321339249611,
-0.002105910563841462,
-0.016442259773612022,
-0.014115524478256702,
-0.08720947057008743,
0.024990854784846306,
-0.06583797931671143,
0.018251942470669746,
0.06301142275333405,
0.009022560901939869,
-0.014313727617263794,
-0.018665583804249763,
0.0008353624143637717,
0.026697127148509026,
-0.011625057086348534,
0.008729564025998116,
0.0017536686500534415,
0.01951010338962078,
0.018320882692933083,
0.006855250336229801,
0.022422829642891884,
0.046672578901052475,
0.0067647662945091724,
0.014641194604337215,
0.04226039722561836,
-0.016356084495782852,
0.06042616441845894,
0.007734239101409912,
-0.0019583350513130426,
0.009823991917073727,
0.019906509667634964,
0.012159343808889389,
-0.05411813035607338,
0.031385067850351334,
0.03035096265375614,
0.05329084396362305,
0.003069997299462557,
0.001296939211897552,
-0.022336654365062714,
0.007311979774385691,
0.06528645753860474,
-0.0008218975272029638,
-0.035573191940784454,
-0.08672688901424408,
-0.01830364763736725,
-0.04153652489185333,
0.0273175910115242,
0.056393157690763474,
0.04911995679140091,
0.01758839190006256,
-0.00345778651535511,
-0.07197366654872894,
-0.007721312809735537,
-0.02411186695098877,
0.046879399567842484,
0.014089671894907951,
-0.004851672798395157,
0.012650543823838234,
-0.013072802685201168,
0.009737815707921982,
-0.019906509667634964,
0.017011016607284546,
-0.02411186695098877,
-0.04026113077998161,
0.026317955926060677,
-0.10864990204572678,
0.004692248534411192,
0.1052718237042427,
0.013641560450196266,
0.04601764306426048,
0.02061314694583416,
0.051153697073459625,
0.017441892996430397,
-0.011883582919836044,
0.059219710528850555,
0.07824723422527313,
-0.03578001260757446,
0.03464249521493912,
-0.08052226155996323,
-0.00930693931877613,
-0.06366635859012604,
-0.06073639541864395,
-0.02219877392053604,
0.01882069930434227,
-0.007617902010679245,
0.021440431475639343,
0.014925573021173477,
0.027007360011339188,
-0.025680258870124817,
0.016054470092058182,
0.038261860609054565,
-0.0016190196620300412,
0.007182716391980648,
0.034883785992860794,
0.03093695640563965,
-0.014951425604522228,
0.008496890775859356,
-0.01244372222572565,
0.035366371273994446,
-0.013994879089295864,
0.0034857934806495905,
-0.0034599408973008394,
0.08272834867238998,
-0.019130930304527283,
0.07156002521514893,
-0.024094631895422935,
0.034935493022203445,
0.10368619859218597,
-0.017700420692563057,
-0.005273932125419378,
-0.011495793238282204,
0.013339946046471596,
-0.00330267078243196,
0.013176213018596172,
0.023543110117316246,
0.025507908314466476,
0.006183082237839699,
-0.009186293929815292,
0.05735832080245018,
-0.0027877730317413807,
0.04460436850786209,
-0.0273175910115242,
0.061012156307697296,
-0.05018853396177292,
-0.011375147849321365,
-0.0545317716896534,
-0.027300355955958366,
-0.0120128458365798,
0.04036454111337662,
-0.03688305616378784,
0.016528435051441193,
0.031385067850351334,
-0.04474224895238876,
0.03567660227417946,
-0.0252666175365448,
-0.02023397572338581,
-0.032798342406749725,
-0.04519036039710045,
-0.09789521247148514,
-0.013219300657510757,
0.015141011215746403,
0.035142313688993454,
0.0034362426958978176,
0.03236746788024902,
-0.04160546511411667,
0.012702248990535736,
0.03760692849755287,
0.0045371330343186855,
-0.047017280012369156,
-0.004618999548256397,
-0.0023741312325000763,
-0.024559978395700455,
0.03581448271870613,
-0.023801635950803757,
-0.009427584707736969,
-0.05460071191191673,
0.002507703145965934,
0.03359115868806839,
0.00866062380373478,
0.02940303459763527,
0.0009603167418390512,
-0.040743712335824966,
0.01348644495010376,
0.02069932222366333,
0.07611007988452911,
-0.050429824739694595,
-0.0651141032576561,
0.03895126283168793,
-0.028403399512171745,
0.0066915168426930904,
0.00597626157104969,
-0.04029560089111328,
-0.04553506150841713,
-0.0039058984257280827,
-0.0587371289730072,
0.03247087821364403,
0.015442625619471073,
0.02948920987546444,
0.026524776592850685,
0.011806025169789791,
0.07128426432609558,
-0.005321328528225422,
0.05180862918496132,
-0.008091866970062256,
-0.019268810749053955,
0.01951010338962078,
-0.04732751101255417,
-0.06894028931856155,
-0.00984122697263956,
-0.004593146964907646,
-0.020009920001029968,
-0.01101321168243885,
0.02642136625945568,
0.015459860675036907,
0.028920453041791916,
-0.03136783093214035,
0.005368725396692753,
0.020561441779136658,
-0.016795579344034195,
-0.0561518669128418,
-0.06821642071008682,
0.00682939775288105,
-0.04887866601347923,
0.011762937530875206,
0.010866713710129261,
-0.05163627862930298,
-0.053497664630413055,
-0.01574423909187317,
0.019406691193580627,
0.05966782197356224,
0.009953254833817482,
0.007966912351548672,
0.03338433429598808,
0.052153330296278,
-0.03524572402238846,
0.014727369882166386,
0.06166709214448929,
-0.05173968896269798,
0.04215698689222336,
0.0546351820230484,
0.02829998917877674,
0.0023094997741281986,
0.020216740667819977,
0.061356861144304276,
0.045810822397470474,
-0.013227918185293674,
0.05542799457907677,
-0.017467746511101723,
-0.02466338872909546,
0.013986261561512947,
-0.06432129442691803,
0.027558881789445877,
-0.013676030561327934,
0.03312581032514572,
0.016873136162757874,
0.015856267884373665,
0.10223845392465591,
0.024508273229002953,
-0.06763042509555817,
-0.05460071191191673,
-0.026869477704167366,
0.04898207634687424,
-0.024060161784291267,
0.0465346984565258,
0.04753433167934418,
0.01457225438207388,
0.03166082873940468,
0.0053342548198997974,
-0.01075468584895134,
0.05335978418588638,
-0.007691151462495327,
-0.026990124955773354,
-0.014701517298817635,
-0.0570136196911335,
-0.005118816625326872,
0.005295475944876671,
-0.005226535722613335,
-0.02645583637058735,
-0.003720621345564723,
-0.017786595970392227,
0.06387317925691605,
0.027300355955958366,
-0.03760692849755287,
-0.019854804500937462,
0.007742856629192829,
0.05966782197356224,
-0.0030096746049821377,
0.023146701976656914,
-0.026524776592850685,
0.018803464248776436,
-0.0359523631632328,
0.012193813920021057,
0.0719047263264656,
-0.03870997205376625,
0.018544938415288925,
-0.0024818505626171827,
-0.039847489446401596,
0.038296330720186234,
0.011771555058658123,
-0.0009253079770132899,
-0.031781475991010666,
-0.004285070113837719,
0.03657282516360283,
-0.012702248990535736,
0.04929230734705925,
0.032712168991565704,
0.013133125379681587,
-0.014253404922783375,
0.0905875414609909,
-0.011978375725448132,
0.0497748889029026,
-0.01056509930640459,
-0.025507908314466476,
-0.014968660660088062,
0.008324540220201015,
-0.02945473976433277,
-0.04818926379084587,
-0.08396927267313004,
0.01638193614780903,
-0.017872771248221397,
0.009789521805942059,
-0.031092071905732155,
0.041467584669589996,
-0.018148532137274742,
0.02586984448134899,
0.002738222246989608,
0.05632421746850014,
-0.02816210873425007,
-0.04467330873012543,
0.00868216808885336,
-0.011064916849136353,
-0.0033069795463234186,
0.016571521759033203,
-0.05970229208469391,
0.033832449465990067,
0.015813179314136505,
-0.007027600891888142,
0.03695199638605118,
0.017467746511101723,
0.042398277670145035,
0.008199585601687431,
0.06831982731819153,
-0.059392061084508896,
0.02974773570895195,
0.021061258390545845,
-0.04315662384033203,
-0.05105028674006462,
0.048637375235557556,
-0.042915333062410355,
0.008652006275951862,
-0.035538721829652786,
-0.035573191940784454,
-0.04732751101255417,
-0.013046950101852417,
0.023232879117131233,
-0.017217837274074554,
-0.0749380961060524,
-0.015132393687963486,
-0.046155523508787155,
-0.02228494919836521,
0.00674322247505188,
0.004114873707294464,
-0.00842795055359602,
-0.028282754123210907,
0.03226405754685402,
-0.0169506948441267,
0.000004746377271658275,
-0.0014197390992194414,
-0.07845405489206314,
-0.0658724457025528,
0.056531038135290146,
0.012219666503369808,
-0.06070192530751228,
-0.005653103813529015,
-0.03560766205191612,
-0.02364652045071125,
0.0083676278591156,
-0.024990854784846306,
0.03784821927547455,
0.025214912369847298,
-0.06659632176160812,
-0.0023245804477483034,
-0.01056509930640459,
-0.004571603145450354,
-0.09072542190551758,
0.025800904259085655,
-0.02555961348116398,
0.016140645369887352,
-0.04136417433619499,
-0.024439333006739616,
-0.01763147860765457,
-0.07028462737798691,
-0.003867119550704956,
0.016959311440587044,
0.023749930784106255,
0.020888907834887505,
-0.03867550194263458,
-0.020027155056595802,
-0.03598683327436447,
0.010832243598997593,
0.000337161123752594,
0.03677964583039284,
-0.015563271008431911,
-0.013262388296425343,
0.036469414830207825,
0.007790253031998873,
0.023060526698827744,
-0.024766799062490463,
0.010504776611924171,
0.06718231737613678,
0.03236746788024902,
0.006570871453732252,
-0.034039270132780075,
-0.04026113077998161,
-0.024852974340319633,
0.009427584707736969,
-0.019785864278674126,
-0.014804927632212639,
-0.046844929456710815,
-0.05267038196325302,
-0.019217105582356453,
-0.04519036039710045,
-0.05497988313436508,
-0.01763147860765457,
-0.025938784703612328,
0.011357912793755531,
0.06373529881238937,
0.05318743363022804,
0.029989026486873627,
0.015770090743899345,
0.005816837307065725,
-0.01617511548101902,
0.011961140669882298,
-0.0042527541518211365,
-0.030799075961112976,
-0.03708987683057785,
0.020078860223293304,
-0.00945343729108572,
0.035142313688993454,
-0.009462054818868637,
-0.006105524487793446,
-0.01847599819302559,
-0.03605577349662781,
-0.02552514337003231,
-0.029265154153108597,
-0.029058333486318588,
-0.008264217525720596,
0.01685590110719204,
-0.05160180851817131,
-0.010668509639799595,
-0.01133206021040678,
0.027162475511431694,
0.033056870102882385,
0.0019841878674924374,
0.018631113693118095,
0.014391286298632622,
0.024732328951358795,
-0.034676965326070786,
-0.025800904259085655,
-0.03350498154759407,
0.026817772537469864,
0.018544938415288925,
-0.06766489893198013,
-0.002792081795632839,
0.021457666531205177,
0.009858462028205395,
-0.0611155666410923,
-0.03285004943609238,
0.0011849112343043089,
-0.0001856809831224382,
0.010341043584048748,
0.018544938415288925,
-0.05342872440814972,
-0.058702658861875534,
0.0166835505515337,
-0.04856843501329422,
-0.001801065169274807,
0.031953826546669006,
-0.02829998917877674,
0.030488843098282814,
-0.06938840448856354,
-0.008729564025998116,
0.025749199092388153,
0.0036904599983245134,
0.004670704714953899,
-0.006161538418382406,
0.03150571137666702,
-0.01847599819302559,
-0.020009920001029968,
-0.03622812405228615,
0.0008779115159995854,
0.009875697083771229,
-0.07224942743778229,
-0.031005896627902985,
0.0146842822432518,
0.021836837753653526,
-0.008251290768384933,
0.0359523631632328,
0.019854804500937462,
0.03998536989092827,
0.029627090319991112,
-0.03946831822395325,
-0.017958946526050568,
0.0789366364479065,
0.07707524299621582,
0.010590951889753342,
-0.029713265597820282,
-0.013607090339064598,
0.00027387606678530574,
-0.018941344693303108,
0.023198407143354416,
0.0058599249459803104,
-0.09313833713531494,
0.018958579748868942,
0.024508273229002953,
0.049395717680454254,
0.007553270552307367,
-0.01517548132687807,
-0.02440486289560795,
0.0023482786491513252,
-0.03000626154243946,
-0.004450957756489515,
0.009677493013441563,
-0.08927767723798752,
-0.03447014465928078,
0.0030269096605479717,
-0.010004960000514984,
-0.031040366739034653,
0.055807165801525116,
0.015856267884373665,
-0.01075468584895134,
0.026180075481534004,
-0.0070017483085393906,
0.011771555058658123,
-0.029592620208859444,
-0.04529377073049545,
0.0333671011030674,
-0.007734239101409912,
0.03329816088080406,
-0.00913458876311779,
0.0561518669128418,
0.018510468304157257,
0.015502948313951492,
0.0026391204446554184,
-0.018148532137274742,
-0.022164303809404373,
-0.014503314159810543,
-0.04639681428670883,
0.0839003324508667,
-0.04177781566977501,
-0.00810910202562809,
0.044156257063150406,
-0.0025033943820744753,
0.030057966709136963,
-0.05591057613492012,
-0.05160180851817131,
-0.034676965326070786,
0.00984122697263956,
0.06763042509555817,
0.008242673240602016,
-0.05194650962948799,
0.0553935244679451,
0.06869900226593018,
-0.029041098430752754,
-0.04388049617409706,
0.015141011215746403,
0.009393114596605301,
-0.0726630687713623,
0.01685590110719204,
-0.05966782197356224,
-0.03688305616378784,
0.02156107686460018,
-0.024215277284383774,
0.02859298512339592,
-0.028110403567552567,
0.07804041355848312,
0.018079591915011406,
-0.0029256537090986967,
-0.05987464264035225,
-0.07211154699325562,
0.005928865168243647,
-0.01740742288529873,
-0.022802000865340233,
0.001924942247569561,
0.0006576257292181253,
0.05770302563905716,
-0.035400841385126114,
0.0063554332591593266,
0.08438291400671005,
-0.01233169436454773,
-0.017700420692563057,
0.026645421981811523,
0.004151497967541218,
-0.04384602606296539,
-0.01130620762705803,
0.011168327182531357,
-0.043294504284858704,
-0.00951375998556614,
-0.014951425604522228,
-0.04715516045689583,
0.055669285356998444,
0.020802732557058334,
0.009746434167027473,
0.0006619344931095839,
0.012254136614501476,
0.03333263099193573,
0.010444453917443752,
0.05001617968082428,
-0.02821381390094757,
-0.026007724925875664,
-0.003388846293091774,
0.017700420692563057,
0.012900452129542828,
-0.03148847818374634,
-0.03850315138697624,
-0.1003081277012825,
-0.030609488487243652,
0.0018840088741853833,
0.04698280990123749,
-0.09548230469226837,
0.017700420692563057,
0.0018495387630537152,
0.019389456138014793,
0.012969392351806164,
-0.03374627232551575,
0.0440528467297554,
0.055290114134550095,
0.03309134021401405,
-0.04253615811467171,
0.042708512395620346,
-0.0333671011030674,
0.06218414381146431,
-0.06828536093235016,
0.015632210299372673,
0.05518670380115509,
0.00014595952234230936,
-0.008458112366497517,
0.03312581032514572,
-0.004886143375188112,
0.02509426698088646,
0.028748100623488426,
-0.010358278639614582,
0.03093695640563965,
0.0037012319080531597,
0.020630382001399994,
-0.013046950101852417,
-0.04029560089111328,
-0.008479655720293522,
-0.03695199638605118,
0.015528800897300243,
0.05990911275148392,
-0.016356084495782852,
-0.012107638642191887,
0.0280759334564209,
-0.0083676278591156,
-0.028196578845381737,
0.030247552320361137,
-0.0003657067136373371,
-0.011314825154840946,
0.005092964041978121,
-0.01672663912177086,
0.014675664715468884,
-0.036090243607759476,
-0.0051662130281329155,
0.03362562879920006,
0.02309499680995941,
0.011357912793755531,
0.06690655648708344,
-0.01596829481422901,
-0.05329084396362305,
0.01016007550060749,
-0.006588106509298086,
-0.05049876496195793,
0.07783358544111252,
-0.05932312086224556,
-0.03991642966866493,
-0.10306573659181595,
-0.05984017252922058,
-0.016080323606729507,
0.023319054394960403,
-0.011762937530875206,
0.02035462111234665,
-0.003291898872703314,
-0.0022060894407331944,
0.014305110089480877,
-0.005575546063482761,
0.013219300657510757,
0.025921549648046494,
-0.0002566410112194717,
0.027834642678499222,
-0.01732124760746956,
0.046879399567842484,
-0.0006764766294509172,
-0.0465346984565258,
-0.02514597214758396,
-0.07080168277025223,
0.042742982506752014,
-0.002910573035478592,
0.04091606289148331,
-0.037020936608314514,
0.02275029569864273,
0.01852770335972309,
0.01642502471804619,
-0.03479761257767677,
-0.003602130338549614,
0.030799075961112976,
-0.0334705114364624,
-0.008264217525720596,
0.052222270518541336,
0.02586984448134899,
-0.03259152173995972,
0.039675138890743256,
0.01826917752623558,
-0.021405961364507675,
0.05173968896269798,
-0.005045567639172077,
-0.012124873697757721,
-0.01457225438207388,
0.004985244944691658,
0.010487541556358337,
-0.02188854292035103,
0.012073168531060219,
-0.05325637385249138,
0.003455632133409381,
0.059426531195640564,
-0.04391496628522873,
0.042225927114486694,
0.018251942470669746,
-0.013934556394815445,
-0.06642396748065948,
0.017424657940864563,
0.02300882153213024,
-0.010858096182346344,
0.04825820401310921,
0.06118450686335564,
-0.03529743105173111,
0.06642396748065948,
-0.013994879089295864,
0.03674517571926117,
0.045776352286338806,
0.017079956829547882,
-0.00439709797501564,
0.029178978875279427,
-0.02211259864270687,
0.03781374916434288,
0.033143043518066406,
0.027886347845196724,
-0.030919721350073814,
0.017398806288838387,
0.05828901752829552,
-0.01075468584895134,
0.06297695636749268,
-0.040019840002059937,
0.013848381116986275
] |
7,559 | hsbalance.model | solve |
solving the LMI model
returns solution matrix W
| def solve(self, solver=None):
'''
solving the LMI model
returns solution matrix W
'''
# Weight constraints
N = self.N
M = self.M
_wc = np.zeros(N)
if self.weight_const != {}:
try:
for key, value in self.weight_const.items():
_wc[key] = value
except NameError:
raise tools.CustomError('Invalid weight constraint format')
else:
pass
# Identify critical planes
if self.V_max:
_Vm = self.V_max
else:
raise tools.CustomError('V_max is not specified')
if self.critical_planes and len(self.critical_planes)>0:
_list_cr = self.critical_planes
else:
raise tools.CustomError('Critical Planes are not set.')
_ALPHA = self.ALPHA.copy()
A = self.A.copy()
_ALPHAcr = _ALPHA[_list_cr]
Acr = A[_list_cr]
_ALPHAncr = np.delete(_ALPHA, _list_cr, axis=0)
_Ancr = np.delete(A, _list_cr, axis=0)
# assign cvxpy variables
_WR = cp.Variable((N, 1))
_WI = cp.Variable((N, 1))
_Vc = cp.Variable()
_RRfcr = cp.diag(np.real(Acr) + np.real(_ALPHAcr) @ _WR-np.imag(_ALPHAcr) @ _WI)
_IRfcr = cp.diag(np.imag(Acr) + np.imag(_ALPHAcr) @ _WR+np.real(_ALPHAcr) @ _WI)
_RRfNcr = cp.diag(np.real(_Ancr) + np.real(_ALPHAncr) @ _WR - np.imag(_ALPHAncr) @ _WI)
_IRfNcr = cp.diag(np.imag(_Ancr)+ np.imag(_ALPHAncr) @ _WR + np.real(_ALPHAncr) @ _WI)
_zcr = np.zeros((_RRfcr.shape[0], _RRfcr.shape[1]))
_Icr = np.eye(_RRfcr.shape[0])
_zncr = np.zeros((_RRfNcr.shape[0], _RRfNcr.shape[1]))
_Incr = np.eye(_RRfNcr.shape[0])
_objective = cp.Minimize(_Vc)
_LMI_real = cp.bmat( [
[_Vc*_Icr, _RRfcr, _zcr, -_IRfcr],
[_RRfcr, _Icr, _IRfcr, _zcr],
[_zcr, _IRfcr, _Vc*_Icr, _RRfcr],
[-_IRfcr, _zcr, _RRfcr, _Icr]
])
_LMI_imag =cp.bmat( [
[_Vm**2*_Incr, _RRfNcr, _zncr, -_IRfNcr],
[_RRfNcr, _Incr, _IRfNcr, _zncr],
[_zncr, _IRfNcr, _Vm**2*_Incr, _RRfNcr],
[-_IRfNcr, _zncr, _RRfNcr, _Incr]
])
# Model weight constraints
_const_LMI_w = []
for i in range(N):
_LMI_weight = cp.bmat( [
[_wc[i]**2, _WR[i], 0, -_WI[i]],
[_WR[i], 1, _WI[i], 0],
[0, _WI[i], _wc[i]**2, _WR[i]],
[-_WI[i], 0, _WR[i], 1]
])
_const_LMI_w.append(_LMI_weight >> 0)
_const_LMI_w.append( _LMI_real >> 0)
_const_LMI_w.append( _LMI_imag >> 0)
# Stating the problem
prob = cp.Problem(_objective, _const_LMI_w)
prob.solve(cp.CVXOPT, kktsolver=cp.ROBUST_KKTSOLVER)
W = _WR + _WI * 1j
self.W = W.value
return self.W
| (self, solver=None) | [
0.028006302192807198,
-0.03847973421216011,
0.0044531370513141155,
0.07985267788171768,
-0.024148685857653618,
-0.056282639503479004,
-0.029742229729890823,
-0.06708396971225739,
0.011090650223195553,
0.00781649723649025,
-0.036107297986745834,
0.017745040357112885,
0.009726017713546753,
0.031111685559153557,
-0.09265997260808945,
0.03747675195336342,
-0.02243204601109028,
-0.045404158532619476,
-0.026212509721517563,
0.028835689648985863,
-0.042472369968891144,
-0.03805539757013321,
0.02762054093182087,
0.1091705709695816,
0.020464660599827766,
0.029838670045137405,
0.0038841385394334793,
-0.03199893608689308,
0.020888999104499817,
-0.014061016030609608,
-0.07121162116527557,
0.06203048676252365,
-0.02505522593855858,
-0.07013148814439774,
0.021178320050239563,
-0.006610991898924112,
0.0883394405245781,
-0.027099762111902237,
-0.013935643248260021,
-0.041507963091135025,
0.022837094962596893,
-0.02889355458319187,
0.04903031885623932,
-0.03684024512767792,
-0.027427660301327705,
-0.03018585592508316,
-0.028777826577425003,
0.04100647196173668,
0.05265647917985916,
-0.03498858958482742,
0.025170953944325447,
-0.06588810682296753,
0.00239533931016922,
-0.04752584546804428,
-0.02198841981589794,
0.004375984892249107,
0.0036550925578922033,
0.05998595058917999,
0.04756442457437515,
-0.11225666850805283,
-0.03394703194499016,
-0.03685953468084335,
0.027061186730861664,
0.03066805936396122,
-0.00086495018331334,
0.007044973783195019,
-0.026521120220422745,
0.003667147597298026,
0.08841659128665924,
0.04968611150979996,
0.00483166566118598,
-0.030012262985110283,
-0.00355141912586987,
0.0055115707218647,
0.046059951186180115,
-0.016616687178611755,
-0.03738031163811684,
-0.07495350390672684,
-0.044015415012836456,
-0.03302120417356491,
0.020792558789253235,
0.004204803146421909,
-0.015343673527240753,
-0.03618445247411728,
-0.0076380823738873005,
-0.049801841378211975,
0.04756442457437515,
-0.03676309436559677,
0.047873031347990036,
-0.027929149568080902,
-0.05084339901804924,
0.027273355051875114,
0.011187090538442135,
0.04899173974990845,
0.048143066465854645,
0.03682095929980278,
-0.01788005605340004,
-0.036801669746637344,
0.0373610258102417,
-0.006962999701499939,
0.009745306335389614,
0.009793526493012905,
-0.007136592175811529,
0.035509370267391205,
-0.006495263427495956,
-0.014658946543931961,
-0.012614409439265728,
0.010984566062688828,
0.0006545894430018961,
-0.0476415753364563,
-0.04922319948673248,
0.03666665405035019,
-0.042896706610918045,
-0.01533402968198061,
-0.06800979375839233,
0.015440113842487335,
-0.07240747660398483,
0.009571713395416737,
-0.017166398465633392,
0.0476415753364563,
-0.024823768064379692,
-0.03520075976848602,
-0.03286689892411232,
-0.019673848524689674,
0.007720056921243668,
0.013154475949704647,
0.01314483117312193,
0.004306065384298563,
0.044709786772727966,
-0.04555846378207207,
-0.05639836564660072,
-0.04575134441256523,
-0.025498852133750916,
-0.0052801137790083885,
-0.040967896580696106,
-0.0382096990942955,
-0.016549179330468178,
-0.0633806511759758,
0.025768885388970375,
0.04362965375185013,
0.02584603615105152,
0.050071872770786285,
-0.0009113621199503541,
0.03167103976011276,
0.013000170700252056,
0.00826976727694273,
0.09103976935148239,
-0.013106254860758781,
-0.004344641696661711,
0.013492017053067684,
-0.03448709845542908,
-0.011582496576011181,
-0.04575134441256523,
-0.023724347352981567,
0.02644396759569645,
-0.0026280018500983715,
0.043745383620262146,
-0.015208656899631023,
-0.006905135232955217,
-0.0411222018301487,
-0.046754322946071625,
-0.003199411556124687,
-0.043591078370809555,
0.0026955101639032364,
0.02050323598086834,
-0.0006051637465134263,
0.03325266391038895,
0.01625985838472843,
-0.007348761428147554,
0.07518496364355087,
-0.03788180276751518,
-0.07738380879163742,
-0.06638959795236588,
0.030417313799262047,
-0.031921785324811935,
0.04200945422053337,
-0.014986843802034855,
-0.03518147021532059,
0.030764499679207802,
-0.006755652371793985,
0.008264945819973946,
0.02499736100435257,
-0.02430298924446106,
0.0314781591296196,
-0.03242327645421028,
0.04864455759525299,
0.03938627243041992,
-0.018979478627443314,
-0.007604328449815512,
-0.006070925388485193,
-0.012855510227382183,
-0.010020161047577858,
0.019027698785066605,
-0.01590302772819996,
-0.007261964958161116,
0.013858490623533726,
0.06357353925704956,
0.032944053411483765,
0.005815358366817236,
0.01964491605758667,
0.013347356580197811,
-0.027331219986081123,
0.0001359207381028682,
0.00928239244967699,
0.02457302249968052,
-0.049801841378211975,
-0.03992633894085884,
-0.008096174336969852,
0.018400834873318672,
0.07086443156003952,
0.04879885911941528,
0.026308951899409294,
-0.026733288541436195,
-0.0008860465022735298,
0.030571619048714638,
-0.007498243823647499,
-0.03340696543455124,
0.005940730683505535,
-0.01738821156322956,
0.0025339724961668253,
-0.015305097214877605,
0.002212102524936199,
-0.0629563182592392,
-0.002900446066632867,
-0.028276335448026657,
0.0016961462097242475,
0.039212681353092194,
0.06064174696803093,
0.025132378563284874,
-0.020966151729226112,
-0.007271608803421259,
-0.0489145889878273,
-0.012778357602655888,
-0.029395045712590218,
-0.012614409439265728,
-0.03217253088951111,
-0.05211641266942024,
0.0846361294388771,
-0.02954934909939766,
-0.03410133719444275,
-0.0314781591296196,
-0.036743804812431335,
0.022779231891036034,
0.04158511757850647,
-0.0036550925578922033,
-0.01008766982704401,
0.04420829564332962,
-0.0038841385394334793,
-0.0038335074204951525,
0.03776607662439346,
-0.009412586688995361,
-0.07688231766223907,
-0.05524108186364174,
0.019924594089388847,
-0.03167103976011276,
-0.050611939281225204,
0.01932666264474392,
-0.03039802610874176,
0.04613710567355156,
-0.06075747311115265,
0.019201291725039482,
0.0005659848102368414,
0.025576002895832062,
0.016848145052790642,
-0.021853402256965637,
0.026771865785121918,
-0.014408200979232788,
0.015237589366734028,
0.024630887433886528,
0.030050840228796005,
0.06446078419685364,
0.0533122718334198,
-0.049801841378211975,
0.026463255286216736,
-0.04532700404524803,
0.020966151729226112,
-0.020753981545567513,
0.03934769704937935,
-0.04216375946998596,
0.0073728715069592,
-0.0014767441898584366,
0.0031608352437615395,
-0.03516218438744545,
-0.0094993831589818,
-0.06789406388998032,
-0.021390488371253014,
-0.04254952073097229,
-0.03788180276751518,
-0.0026569340843707323,
-0.03039802610874176,
0.024341566488146782,
0.01765824295580387,
0.0288549792021513,
-0.020156051963567734,
0.10893911868333817,
-0.0009686236153356731,
-0.003561063203960657,
-0.019442392513155937,
0.03226897120475769,
0.028392065316438675,
-0.027061186730861664,
-0.026463255286216736,
0.04899173974990845,
-0.04224091023206711,
0.013000170700252056,
0.002852225909009576,
-0.004089074674993753,
-0.02291424758732319,
-0.021101167425513268,
0.054508134722709656,
0.00781649723649025,
0.03072592243552208,
0.027446947991847992,
0.012672273442149162,
0.022972112521529198,
0.00619629817083478,
0.04347534850239754,
0.03462211787700653,
0.01228651124984026,
0.0501876026391983,
0.009962297044694424,
-0.0382096990942955,
-0.04486409202218056,
-0.02964578941464424,
-0.006466331426054239,
-0.039212681353092194,
0.020638253539800644,
-0.03132385388016701,
0.030745211988687515,
-0.0415465384721756,
-0.00026264949701726437,
0.047178659588098526,
-0.021178320050239563,
0.024630887433886528,
0.003970935009419918,
0.008110640570521355,
0.04945465549826622,
-0.03741889074444771,
0.006297560408711433,
-0.014485353603959084,
0.06191476061940193,
0.04656144231557846,
-0.07179026305675507,
0.01803436130285263,
-0.0018745609559118748,
-0.05554969236254692,
0.033792730420827866,
0.0329633429646492,
-0.059754494577646255,
-0.006451865192502737,
-0.05045763775706291,
0.021506216377019882,
0.01975100114941597,
0.06287916749715805,
0.00931132398545742,
0.07788529992103577,
-0.046754322946071625,
-0.02671400085091591,
0.04899173974990845,
0.00009515958663541824,
0.007686302997171879,
0.020406795665621758,
-0.0329633429646492,
0.010589160025119781,
0.02237418107688427,
-0.03469926863908768,
-0.0038166302256286144,
-0.030533041805028915,
0.030629482120275497,
-0.03772749751806259,
0.003001708537340164,
-0.04254952073097229,
-0.034872863441705704,
-0.015353317372500896,
-0.014630014076828957,
0.028874266892671585,
-0.05682270601391792,
0.013848846778273582,
-0.05516393110156059,
-0.0046026199124753475,
0.03603014722466469,
-0.02343502640724182,
0.010695244185626507,
-0.005424774717539549,
-0.016240568831562996,
-0.024167973548173904,
0.003780465107411146,
0.04671574756503105,
0.032403986901044846,
-0.006418110802769661,
0.021969132125377655,
-0.010965277440845966,
0.03305978327989578,
-0.03404347226023674,
0.039212681353092194,
0.011331751011312008,
0.051730651408433914,
0.043436773121356964,
-0.00027319768560118973,
-0.05153777077794075,
-0.0428195521235466,
-0.02135191299021244,
-0.02590390108525753,
0.03730316087603569,
-0.047873031347990036,
-0.024071533232927322,
0.013308780267834663,
0.07036294043064117,
-0.016086265444755554,
0.026154646649956703,
-0.02964578941464424,
0.05304224044084549,
0.033812016248703,
-0.0659266859292984,
-0.08031559735536575,
-0.018063293769955635,
0.0319024957716465,
-0.0013501661596819758,
0.007594684138894081,
0.032249681651592255,
0.05554969236254692,
-0.02108187973499298,
0.09019109606742859,
0.016558822244405746,
-0.0497632659971714,
-0.013482373207807541,
0.017677532508969307,
-0.00795151386409998,
-0.0027678406331688166,
-0.03292476385831833,
-0.052965085953474045,
0.044555481523275375,
0.0006027527269907296,
-0.017513582482933998,
-0.03633875772356987,
-0.024322278797626495,
-0.012026122771203518,
0.030050840228796005,
0.03618445247411728,
0.010029805824160576,
0.04231806471943855,
0.008197437040507793,
-0.006818338762968779,
-0.053389426320791245,
-0.048953164368867874,
-0.0070835500955581665,
-0.010685600340366364,
-0.03824827820062637,
-0.09705765545368195,
0.027099762111902237,
0.04185514897108078,
0.04968611150979996,
0.006635101977735758,
0.0007166729774326086,
0.02071540616452694,
0.0432438924908638,
-0.023936515673995018,
-0.06700681149959564,
-0.014244252815842628,
-0.01696387305855751,
0.03763105720281601,
0.02605820633471012,
0.04443975165486336,
-0.0030523398891091347,
-0.01996316947042942,
0.007276430726051331,
0.022605638951063156,
-0.007353583350777626,
0.01964491605758667,
-0.011813953518867493,
-0.01691565290093422,
-0.018796240910887718,
0.00664956821128726,
-0.05485532060265541,
0.046754322946071625,
0.00642293319106102,
-0.02659827284514904,
0.055048201233148575,
0.01139925979077816,
-0.03163246437907219,
-0.03506574407219887,
-0.02210414782166481,
0.02654040791094303,
0.011678936891257763,
-0.01572943478822708,
-0.03167103976011276,
0.016510602086782455,
0.02023320272564888,
0.00013577005302067846,
-0.060603171586990356,
-0.04810449108481407,
0.08278447389602661,
0.021486928686499596,
0.057131312787532806,
-0.0094993831589818,
0.032886188477277756,
-0.010049093514680862,
-0.038846205919981,
0.03678238391876221,
-0.00936436653137207,
0.00993336457759142,
-0.03753461688756943,
-0.0891881138086319,
-0.008424072526395321,
0.008154039271175861,
-0.018342971801757812,
-0.012112919241189957,
-0.023840075358748436,
0.02976151928305626,
-0.03684024512767792,
-0.03367700055241585,
-0.060564592480659485,
0.016742059960961342,
-0.04212518408894539,
-0.028989994898438454,
0.03008941560983658,
-0.033638425171375275,
0.044246871024370193,
-0.02985795959830284,
-0.013270203955471516,
0.0331755094230175,
-0.029452908784151077,
0.0011096678208559752,
0.0013357000425457954,
0.029992975294589996,
0.06461509317159653,
-0.01584516279399395,
-0.08772221952676773,
0.03589513152837753,
0.05030333250761032,
-0.04185514897108078,
-0.05971591919660568,
0.012730137445032597,
0.041662268340587616,
0.010502363555133343,
0.030745211988687515,
-0.001397180836647749,
-0.05871293693780899,
-0.08185864239931107,
-0.055588267743587494,
-0.04162369295954704,
-0.00592626491561532,
0.049261774867773056,
-0.022663502022624016,
0.030918803066015244,
0.0476415753364563,
-0.04544273391366005,
0.04046640545129776,
-0.07298611849546432,
-0.021506216377019882,
0.019201291725039482,
0.034814998507499695,
0.0035972283221781254,
-0.014996487647294998,
0.06307204812765121,
0.06006310507655144,
0.014080303721129894,
-0.02702260948717594,
0.007488599978387356,
0.02029106765985489,
-0.019625628367066383,
-0.07460632175207138,
0.026308951899409294,
-0.024978073313832283,
-0.06816410273313522,
0.0035899952054023743,
0.022817807272076607,
0.006712254136800766,
0.023724347352981567,
0.030803075060248375,
0.030552329495549202,
-0.010213042609393597,
0.018863748759031296,
0.004891941323876381,
-0.040697865188121796,
-0.02328072115778923,
0.03678238391876221,
-0.0012597532477229834,
-0.02023320272564888,
-0.024206548929214478,
0.02509380131959915,
0.022817807272076607,
0.08594771474599838,
-0.03795895725488663,
0.03965630754828453,
0.0006120954058133066,
-0.06920565664768219,
0.029028572142124176,
0.00592626491561532,
0.001719050807878375,
0.006451865192502737,
0.06376641988754272,
-0.051730651408433914,
-0.036319468170404434,
-0.00465566199272871,
0.051846377551555634,
-0.030475178733468056,
0.018825173377990723,
0.054893895983695984,
0.05848148092627525,
-0.0323268324136734,
-0.042048029601573944,
-0.028141319751739502,
0.023801499977707863,
-0.0432438924908638,
0.0029028570279479027,
-0.02243204601109028,
-0.04019637405872345,
0.05732419714331627,
0.0266561359167099,
0.056706976145505905,
-0.03678238391876221,
0.05527965724468231,
0.0006045610061846673,
-0.03159388527274132,
-0.02841135300695896,
-0.02210414782166481,
0.021313335746526718,
0.06878131628036499,
0.006890668999403715,
0.00931614637374878,
-0.014601081609725952,
0.015931960195302963,
-0.016549179330468178,
0.01011660136282444,
0.035085029900074005,
0.018285106867551804,
-0.03942485153675079,
0.027601253241300583,
0.066351018846035,
0.043051011860370636,
0.01734963431954384,
0.022451333701610565,
0.02906714752316475,
-0.019509900361299515,
0.031188836321234703,
0.07256178557872772,
0.010135889984667301,
-0.020329643040895462,
0.07611079514026642,
-0.005858756601810455,
0.018825173377990723,
0.027176914736628532,
-0.03537435084581375,
-0.009991229511797428,
0.01670348271727562,
0.0333876796066761,
-0.0401192232966423,
0.010647024028003216,
0.026829728856682777,
-0.06928280740976334,
-0.029240740463137627,
-0.051846377551555634,
-0.03682095929980278,
-0.008207080885767937,
-0.031130973249673843,
-0.00998158473521471,
0.05095912516117096,
0.026733288541436195,
-0.025518139824271202,
-0.0533122718334198,
-0.005829824600368738,
0.03657021373510361,
-0.07221459597349167,
0.005752671975642443,
-0.012035766616463661,
0.06808694452047348,
-0.012855510227382183,
-0.037283871322870255,
0.01600911282002926,
-0.004089074674993753,
-0.036801669746637344,
-0.023242145776748657,
0.02719620242714882,
0.014861471019685268,
0.016346653923392296,
-0.03543221578001976,
-0.024900920689105988,
0.0028715140651911497,
-0.018699800595641136,
0.1249096542596817,
0.05497105047106743,
-0.014080303721129894,
0.005535681266337633,
0.06712254136800766,
-0.025383122265338898,
-0.03034016117453575,
0.02391722798347473,
0.006799050606787205,
0.011775377206504345,
-0.05400664359331131,
0.04957038536667824,
0.055472537875175476,
0.020734693855047226,
0.035509370267391205,
-0.004809966776520014,
-0.06912850588560104,
0.014109236188232899,
0.05038048326969147,
0.0005533270305022597,
0.016038045287132263,
0.0056272996589541435,
-0.034332796931266785,
0.02445729449391365,
0.0014188799541443586,
0.030957380309700966,
-0.005796070210635662,
-0.019712425768375397,
0.01717604137957096,
-0.007946692407131195,
0.012460104189813137,
0.06854986399412155,
0.03172890469431877,
-0.06542519479990005,
0.03277045860886574,
0.009277570061385632,
-0.04116077721118927,
-0.0025339724961668253,
-0.0026472900062799454,
-0.00275578536093235,
0.02762054093182087,
0.011486056260764599,
0.014282828196883202,
-0.019201291725039482,
-0.024708040058612823,
0.029086435213685036,
-0.0000824264352559112,
-0.049107469618320465,
0.010637380182743073,
0.033098358660936356,
0.031767480075359344,
0.03628089278936386,
-0.012219003401696682,
0.03844115883111954,
0.024592312052845955,
-0.03039802610874176,
0.00009003619197756052,
-0.00799973402172327,
-0.027755556628108025,
0.0742977112531662,
-0.006606169976294041,
0.003430868498980999,
0.006500085350126028,
-0.008028666488826275,
-0.02418726123869419,
0.059330157935619354,
-0.010000873357057571,
0.022759942337870598,
0.021795539185404778,
-0.027369795367121696,
0.058751512318849564,
-0.00028675960493274033,
0.04779588058590889,
-0.021506216377019882,
0.04710150882601738,
-0.029395045712590218,
0.0545852854847908,
-0.026270374655723572,
-0.028334200382232666,
-0.02638610266149044,
0.016770992428064346,
-0.028237760066986084,
-0.005603189114481211,
0.0927371233701706,
-0.017841480672359467,
-0.0024556145071983337,
0.0007046179380267859,
0.03180605545639992
] |
7,560 | hsbalance.model | LeastSquares | subclass of Model
solving the model using Least squares method, The objective function
is to minimize the least squares of residual vibration.
| class LeastSquares(_Model):
"""subclass of Model
solving the model using Least squares method, The objective function
is to minimize the least squares of residual vibration.
"""
def __init__(self, A:np.array=None, alpha:'instance of Alpha class'=None, conditions=None, C=np.zeros(1), name=''):
""" Instantiate the model
Args:
A: Initial vibration vector -> np.ndarray
ALPHA: Influence coefficient matrix -> class Alpha
C: Weighted Least squares coefficients
name: optional name of the model -> string
"""
super().__init__(A=A, alpha=alpha, conditions=conditions, name=name)
if C.any():
self.C = C
else:
self.C = np.ones(self.A.shape)
def solve(self, solver='OLE'):
'''
Method to solve the model
Args:
solver:'OLE' Ordinary Least Squares method
'Huber': Uses Huber smoother to down estimate the outliers.
'''
W = cp.Variable((self.N, 1), complex=True)
if solver.upper() == 'OLE': # Ordinary least squares
_objective = cp.Minimize(cp.sum_squares(self.ALPHA @ W + self.A))
elif solver.upper() == 'HUBER': # TODO test Huber solver for robust optimization
_real = cp.real(self.ALPHA @ W + self.A)
_imag = cp.imag(self.ALPHA @ W + self.A)
_objective = cp.Minimize(cp.sum_squares(cp.huber(cp.hstack([_real, _imag]), M=0)))
elif solver.upper() == 'WLS': # TODO test weighted least squares
_objective = cp.Minimize(cp.sum_squares(cp.diag(self.C) @ (self.ALPHA @ W + self.A)))
else:
raise tools.CustomError('Unrecognized Solver name')
prob = cp.Problem(_objective)
prob.solve()
self.W = W.value
return W.value
| (A: <built-in function array> = None, alpha: 'instance of Alpha class' = None, conditions=None, C=array([0.]), name='') | [
-0.018785718828439713,
-0.062298599630594254,
-0.00017215035040862858,
0.06045271456241608,
-0.008791985921561718,
-0.06318308413028717,
-0.061837129294872284,
-0.053184546530246735,
0.03920581564307213,
0.0037542597856372595,
-0.03782140091061592,
-0.0007811359828338027,
0.014795917086303234,
0.025553962215781212,
-0.08252641558647156,
0.050954099744558334,
0.023535026237368584,
-0.045954830944538116,
-0.02032395638525486,
0.007878657430410385,
-0.007748868782073259,
-0.020420096814632416,
0.009243843145668507,
0.10344643890857697,
-0.00755658932030201,
0.058260727673769,
0.03336051478981972,
-0.02097770757973194,
-0.01906452514231205,
-0.06845154613256454,
-0.04457041621208191,
0.057568520307540894,
-0.02786131761968136,
-0.030918564647436142,
0.04707005247473717,
-0.0064605954103171825,
0.05253079533576965,
0.004069117829203606,
-0.086372010409832,
-0.047493066638708115,
0.021304583176970482,
-0.011450251564383507,
0.039321184158325195,
-0.007965183816850185,
0.007859429344534874,
-0.020612375810742378,
-0.026976831257343292,
0.08368009328842163,
0.03399503976106644,
-0.047839172184467316,
-0.0022604872938245535,
-0.032706763595342636,
0.01684369519352913,
-0.020112449303269386,
-0.02191987819969654,
0.04841601103544235,
0.01245971955358982,
0.06660566478967667,
0.037456072866916656,
-0.08360318094491959,
-0.024957895278930664,
-0.021381493657827377,
0.0484929233789444,
-0.004674798343330622,
-0.0031894382555037737,
-0.004888709634542465,
-0.05030035227537155,
0.007027820218354464,
0.06679794192314148,
0.07083581387996674,
0.009267877787351608,
-0.04049408808350563,
-0.012248212471604347,
0.008998686447739601,
0.06902838498353958,
-0.014392130076885223,
-0.02174682542681694,
-0.04722387716174126,
-0.006638454273343086,
-0.05341527983546257,
0.007772903889417648,
-0.013632625341415405,
-0.009056370705366135,
-0.02947646751999855,
0.00842665508389473,
-0.09267877787351608,
0.029572606086730957,
-0.04191695898771286,
0.05849146097898483,
0.0334182009100914,
-0.06625956296920776,
0.03391812741756439,
-0.0065230862237513065,
0.05899139121174812,
0.07156647741794586,
0.035514045506715775,
-0.014632479287683964,
-0.060606539249420166,
0.02003553695976734,
-0.02645767666399479,
0.013007717207074165,
0.056337930262088776,
-0.009402473457157612,
0.03587937727570534,
0.003331244457513094,
-0.017401305958628654,
0.005720318760722876,
0.006258701905608177,
0.01142140943557024,
0.014065254479646683,
-0.04568563774228096,
0.047646891325712204,
-0.059645138680934906,
-0.028899628669023514,
-0.07518133521080017,
-0.03466801717877388,
-0.06775934249162674,
0.013555713929235935,
-0.019766345620155334,
0.013776835054159164,
-0.015036267228424549,
0.019939396530389786,
-0.0529538094997406,
0.011469479650259018,
0.025727014988660812,
0.03264908120036125,
0.01718018390238285,
-0.027015287429094315,
0.03186073526740074,
-0.06333690881729126,
-0.04649321362376213,
-0.03384121507406235,
0.018478071317076683,
0.004518571309745312,
-0.01110414881259203,
-0.02093925140798092,
-0.004040275700390339,
-0.03905199095606804,
0.0225351732224226,
0.0381290502846241,
0.040878649801015854,
0.046377845108509064,
0.02788054570555687,
-0.0039393287152051926,
0.008527601137757301,
0.01283466536551714,
0.0657980889081955,
-0.04145548865199089,
-0.028572753071784973,
0.04407048970460892,
-0.057299330830574036,
-0.010527309961616993,
0.004814201034605503,
-0.023073555901646614,
0.038186732679605484,
-0.016276471316814423,
0.027457531541585922,
-0.060260433703660965,
-0.0036749443970620632,
-0.026188485324382782,
-0.04453196004033089,
0.012305895797908306,
-0.019314488396048546,
-0.015142020769417286,
-0.002470793202519417,
-0.00006189000851009041,
-0.02440028451383114,
0.007662343326956034,
-0.02522708661854267,
0.025246314704418182,
-0.018651124089956284,
-0.08129582554101944,
-0.038225188851356506,
0.06541352719068527,
-0.009738963097333908,
0.03801368176937103,
0.02316969446837902,
-0.013901816681027412,
0.041340120136737823,
-0.026361536234617233,
0.02566933073103428,
0.024208005517721176,
-0.041186295449733734,
0.021323811262845993,
0.0009968497324734926,
0.0343603678047657,
0.029861025512218475,
-0.003614857094362378,
-0.01276736706495285,
-0.006878803484141827,
-0.02586160972714424,
0.009017914533615112,
0.034917980432510376,
0.018554983660578728,
-0.007546975277364254,
0.024188777431845665,
0.04853137955069542,
0.016468750312924385,
0.02001630887389183,
0.022112157195806503,
-0.022804364562034607,
0.016987904906272888,
0.04676240682601929,
0.0076479222625494,
0.022496717050671577,
-0.025303998962044716,
-0.014171008951961994,
0.005436706356704235,
-0.04533953592181206,
0.019439470022916794,
0.03361047804355621,
0.01796853169798851,
-0.0036893654614686966,
-0.012517403811216354,
0.06602882593870163,
-0.02347734197974205,
0.03653312847018242,
-0.014738233759999275,
0.008753529749810696,
-0.01008506678044796,
-0.024477196857333183,
-0.007119153160601854,
-0.05149248242378235,
0.009114054031670094,
0.007686377968639135,
-0.0008562452276237309,
0.03860975056886673,
0.037879087030887604,
0.015574649907648563,
-0.032226067036390305,
-0.032687537372112274,
-0.06406757235527039,
-0.017122501507401466,
-0.016920607537031174,
-0.03155308589339256,
0.008570864796638489,
-0.07156647741794586,
0.06525970250368118,
-0.05745315179228783,
-0.07748869061470032,
-0.016439907252788544,
-0.04868520051240921,
0.002112672431394458,
0.036956142634153366,
-0.008469917811453342,
-0.03809059411287308,
0.0484929233789444,
-0.000554906961042434,
-0.03416809067130089,
-0.0009391658240929246,
0.02143917791545391,
-0.05737623944878578,
-0.036956142634153366,
0.012738524936139584,
-0.0510694682598114,
-0.06241396814584732,
-0.018949156627058983,
-0.03074551187455654,
0.020516235381364822,
-0.061529479920864105,
-0.037109967321157455,
0.002528476994484663,
0.02172759734094143,
0.08029597252607346,
-0.02632308192551136,
-0.0004422431520652026,
-0.02205447293817997,
0.02220829762518406,
0.025323227047920227,
0.03184150531888008,
0.10360026359558105,
0.04676240682601929,
-0.03512948751449585,
-0.013661467470228672,
-0.04710850864648819,
0.03562941402196884,
-0.05122329294681549,
0.05030035227537155,
-0.02332351915538311,
-0.01142140943557024,
0.006282737012952566,
0.0009121265029534698,
-0.02597697824239731,
0.00796037632972002,
-0.010738817043602467,
-0.009339982643723488,
-0.01639183796942234,
-0.07860390841960907,
0.0064605954103171825,
-0.028572753071784973,
0.02345811389386654,
0.02207370102405548,
0.05195395648479462,
-0.018699193373322487,
0.10152364522218704,
0.006753821857273579,
-0.004761324264109135,
0.0006711760652251542,
0.05891447886824608,
-0.021343039348721504,
0.017901232466101646,
-0.026823008432984352,
0.04822373017668724,
-0.03578323870897293,
-0.04076328128576279,
-0.012036704458296299,
-0.016968676820397377,
-0.01780509389936924,
0.0018843403086066246,
0.014171008951961994,
-0.007133574225008488,
0.04034026712179184,
0.003977784886956215,
0.05699168145656586,
-0.015988051891326904,
0.006532700266689062,
0.046723950654268265,
-0.0015634737210348248,
0.021035391837358475,
0.07810398191213608,
-0.008542022667825222,
-0.028899628669023514,
0.003792715724557638,
-0.017132114619016647,
-0.006749014835804701,
-0.03374507278203964,
0.02474638819694519,
-0.027957458049058914,
0.006196211092174053,
-0.04853137955069542,
-0.03166845440864563,
0.01764165610074997,
0.009902400895953178,
-0.0005086397286504507,
-0.033629707992076874,
0.023842673748731613,
0.04191695898771286,
-0.009710120968520641,
0.03024558536708355,
-0.022092929109930992,
0.06549043953418732,
0.04633938893675804,
-0.06868228316307068,
0.039455778896808624,
-0.017209026962518692,
-0.06102955341339111,
0.0272460225969553,
-0.016776397824287415,
-0.015728473663330078,
-0.026092344895005226,
-0.04280144348740578,
-0.013353819958865643,
0.026188485324382782,
0.05164630711078644,
0.060414258390665054,
0.08244950324296951,
-0.037398386746644974,
-0.014594024047255516,
0.059645138680934906,
-0.0752197876572609,
0.0059318263083696365,
0.003148578805848956,
-0.039801884442567825,
0.016122646629810333,
-0.008138235658407211,
-0.007575817406177521,
0.0013135102344676852,
-0.032206837087869644,
0.03022635728120804,
-0.04457041621208191,
-0.03407194837927818,
-0.04195541515946388,
-0.010748431086540222,
-0.04226306080818176,
-0.01843961700797081,
0.020208589732646942,
-0.021516090258955956,
0.021554546430706978,
-0.0017425341065973043,
-0.007571010384708643,
0.07133574038743973,
-0.004696429707109928,
-0.03351433947682381,
-0.0014685356291010976,
0.017141729593276978,
-0.02207370102405548,
-0.014449814334511757,
0.017920460551977158,
0.010142750106751919,
0.008681424893438816,
0.030783968046307564,
-0.021362267434597015,
0.021016163751482964,
-0.026688411831855774,
-0.014036412350833416,
0.00011897301737917587,
0.055376533418893814,
0.05556881055235863,
-0.06387529522180557,
-0.008455496281385422,
-0.021631458774209023,
-0.04914667457342148,
-0.022189069539308548,
0.03828287497162819,
-0.04053254425525665,
-0.06510588526725769,
0.02266976796090603,
0.07295089215040207,
-0.015238160267472267,
0.0923711359500885,
-0.040724825114011765,
0.026419220492243767,
0.014507497660815716,
-0.006998978555202484,
-0.06952831149101257,
-0.007614273112267256,
0.00665287533774972,
-0.028707347810268402,
-0.0016355785774067044,
0.023073555901646614,
0.048762112855911255,
0.005023305304348469,
0.06964368373155594,
0.03909044712781906,
-0.005859721451997757,
-0.014757461845874786,
0.013055786490440369,
-0.03089933656156063,
0.0007534957840107381,
-0.00269912532530725,
-0.05899139121174812,
-0.008873704820871353,
-0.030918564647436142,
-0.06364455819129944,
-0.03330283239483833,
-0.024361828342080116,
-0.013574942015111446,
-0.003119736909866333,
0.030053306370973587,
-0.00047769470256753266,
0.03999416157603264,
0.01734362170100212,
-0.003946539480239153,
0.022938959300518036,
-0.05199241265654564,
-0.025803925469517708,
0.025746241211891174,
-0.04210923984646797,
-0.09421701729297638,
0.006234666798263788,
0.02457333728671074,
0.04568563774228096,
0.044378139078617096,
0.00767676392570138,
0.021054619923233986,
0.018853018060326576,
-0.04491652175784111,
-0.05718396231532097,
-0.007119153160601854,
-0.010584993287920952,
0.030783968046307564,
0.013988343067467213,
0.04187850281596184,
-0.028303561732172966,
-0.03651390224695206,
0.031283896416425705,
0.036610040813684464,
0.0023650394286960363,
0.007849816232919693,
-0.00819111242890358,
0.0062731229700148106,
-0.026053888723254204,
-0.030034078285098076,
-0.034456510096788406,
0.014815145172178745,
-0.00437916861847043,
-0.04422431439161301,
0.025573190301656723,
0.029899481683969498,
-0.032995183020830154,
-0.01087341271340847,
-0.011623303405940533,
0.02113153040409088,
0.009205386973917484,
0.015045881271362305,
0.024534881114959717,
0.028438156470656395,
-0.035052575170993805,
0.01621878705918789,
-0.03264908120036125,
-0.024650247767567635,
0.04880056902766228,
0.03088010847568512,
0.0529538094997406,
-0.07641192525625229,
0.027015287429094315,
0.00007296861440408975,
-0.016132261604070663,
0.019824029877781868,
-0.023419657722115517,
-0.0017593585653230548,
-0.002419118070974946,
-0.09821643680334091,
-0.033456653356552124,
0.03880202770233154,
-0.009402473457157612,
-0.062490880489349365,
-0.007820974104106426,
-0.006749014835804701,
0.007220100145787001,
-0.02299664355814457,
-0.03909044712781906,
0.03628316521644592,
-0.010575379244983196,
0.020400868728756905,
-0.005186743102967739,
-0.012027090415358543,
0.05660712346434593,
0.004811797756701708,
-0.032053012400865555,
0.03484106808900833,
-0.004739692900329828,
-0.002937071258202195,
0.03545636311173439,
0.004718061536550522,
0.05753006413578987,
-0.04253225401043892,
-0.0646059513092041,
0.05326145514845848,
0.04868520051240921,
0.02568855881690979,
-0.022419804707169533,
-0.009008300490677357,
0.10183128714561462,
0.03559095785021782,
0.021785281598567963,
-0.020554691553115845,
-0.04522416740655899,
-0.058529917150735855,
-0.0245925635099411,
-0.01590152457356453,
0.030476320534944534,
0.06176021695137024,
-0.003208666341379285,
0.013151926919817924,
0.023035099729895592,
-0.024650247767567635,
0.03389889746904373,
-0.10352335125207901,
-0.022900503128767014,
0.009234229102730751,
0.022496717050671577,
0.004874288570135832,
0.04076328128576279,
0.1021389365196228,
0.055414989590644836,
-0.014074868522584438,
-0.015199704095721245,
0.007143188267946243,
0.03420654684305191,
-0.03320669010281563,
-0.07298934459686279,
0.044993434101343155,
-0.004319081082940102,
-0.0834493562579155,
0.02836124412715435,
0.021554546430706978,
0.020458552986383438,
0.01046962570399046,
-0.009239035658538342,
0.01778586581349373,
0.009171738289296627,
-0.0038792414125055075,
0.011152218095958233,
-0.055414989590644836,
-0.012267440557479858,
0.022092929109930992,
0.006350034847855568,
-0.0503772608935833,
0.003201455809175968,
0.017680112272500992,
-0.03326437622308731,
0.004198906477540731,
-0.06875919550657272,
0.02143917791545391,
-0.009556297212839127,
-0.04714696481823921,
-0.0000034784961826517247,
-0.01826656423509121,
0.0029562993440777063,
0.024323372170329094,
0.04887748137116432,
-0.06433676183223724,
-0.034591104835271835,
-0.021535318344831467,
0.0059558614157140255,
-0.06375992298126221,
-0.009219808503985405,
0.04333982616662979,
0.05718396231532097,
-0.09513995796442032,
-0.014863215386867523,
-0.0011975415982306004,
-0.0002899216196965426,
0.008417041040956974,
-0.0015911138616502285,
-0.046416301280260086,
-0.04049408808350563,
0.039609603583812714,
0.002795265056192875,
0.034744929522275925,
-0.005436706356704235,
0.001367588876746595,
0.005431899335235357,
-0.031149299815297127,
-0.005008884239941835,
-0.036013975739479065,
-0.0032230871729552746,
0.06222168728709221,
0.025573190301656723,
0.02190065011382103,
0.022938959300518036,
0.026861464604735374,
0.004989656154066324,
-0.02299664355814457,
0.037090741097927094,
0.05422285571694374,
-0.06583654135465622,
-0.021477634087204933,
0.01260392926633358,
0.05391520634293556,
0.008517987094819546,
0.01087341271340847,
0.012575088068842888,
-0.026726868003606796,
-0.00477093830704689,
0.035667870193719864,
0.02017013356089592,
-0.00921019446104765,
0.03603320196270943,
-0.022919731214642525,
0.015699632465839386,
0.01573808677494526,
-0.010863798670470715,
-0.008623741567134857,
0.047493066638708115,
-0.015805386006832123,
-0.05149248242378235,
0.015363141894340515,
-0.0008646574569866061,
-0.06875919550657272,
-0.013296136632561684,
-0.04580100625753403,
0.0006062816828489304,
0.01764165610074997,
0.014151780866086483,
0.01535352785140276,
0.014526725746691227,
0.04818527400493622,
-0.020920023322105408,
-0.03511026129126549,
-0.0061048781499266624,
0.06068345159292221,
-0.03259139508008957,
0.02286204695701599,
-0.00048550605424679816,
0.07702721655368805,
-0.011738670989871025,
-0.06006815657019615,
0.04349365085363388,
-0.04203232750296593,
-0.02032395638525486,
-0.026996059343218803,
-0.006210632156580687,
0.0009445736650377512,
0.02109307423233986,
-0.022016016766428947,
-0.024784844368696213,
-0.011902108788490295,
-0.04149394482374191,
0.08683347702026367,
0.032360661774873734,
0.00883524864912033,
-0.014219078235328197,
0.059145212173461914,
-0.0023962848354130983,
-0.04518571123480797,
0.03218761086463928,
-0.0045858691446483135,
-0.0413016639649868,
-0.05406903102993965,
0.030957020819187164,
0.014055640436708927,
-0.0029514923226088285,
0.021631458774209023,
-0.04710850864648819,
-0.050031159073114395,
-0.01167137362062931,
0.022919731214642525,
-0.02503480762243271,
0.0661441907286644,
0.00867181085050106,
-0.03130312263965607,
0.06045271456241608,
-0.014161394909024239,
0.06102955341339111,
-0.02174682542681694,
-0.02897653914988041,
0.04422431439161301,
-0.02693837508559227,
0.013834519311785698,
0.05960668623447418,
0.017603199928998947,
-0.06702867895364761,
0.03407194837927818,
0.032072242349386215,
0.010335030034184456,
0.0025669329334050417,
-0.010383100248873234,
0.041378576308488846,
0.00516270799562335,
0.012786595150828362,
0.05253079533576965,
-0.02172759734094143,
0.009267877787351608,
0.005100217182189226,
0.011738670989871025,
-0.08098817616701126,
0.012613543309271336,
0.012488561682403088,
-0.006599998101592064,
0.02176605351269245,
-0.011027236469089985,
0.03549481928348541,
0.03120698407292366,
-0.0063596488907933235,
0.006215439178049564,
0.0011290418915450573,
-0.005494390148669481,
0.030149444937705994,
-0.007003785576671362,
-0.016930220648646355,
0.02393881417810917,
-0.0507233664393425,
0.004424835089594126,
0.037263792008161545,
0.011161832138895988,
0.03999416157603264,
0.03737916052341461,
-0.043109092861413956,
0.05991433188319206,
0.011296427808701992,
0.06599036604166031,
0.02397727034986019,
0.06164484843611717,
-0.07433530688285828,
0.026996059343218803,
-0.02757289819419384,
-0.013574942015111446,
-0.05718396231532097,
0.0007787324720993638,
-0.03251448646187782,
0.033783528953790665,
0.10036996752023697,
0.012132844887673855,
0.033187463879585266,
0.02034318447113037,
0.04691622778773308
] |
7,561 | hsbalance.model | __init__ | Instantiate the model
Args:
A: Initial vibration vector -> np.ndarray
ALPHA: Influence coefficient matrix -> class Alpha
C: Weighted Least squares coefficients
name: optional name of the model -> string
| def __init__(self, A:np.array=None, alpha:'instance of Alpha class'=None, conditions=None, C=np.zeros(1), name=''):
""" Instantiate the model
Args:
A: Initial vibration vector -> np.ndarray
ALPHA: Influence coefficient matrix -> class Alpha
C: Weighted Least squares coefficients
name: optional name of the model -> string
"""
super().__init__(A=A, alpha=alpha, conditions=conditions, name=name)
if C.any():
self.C = C
else:
self.C = np.ones(self.A.shape)
| (self, A: <built-in function array> = None, alpha: 'instance of Alpha class' = None, conditions=None, C=array([0.]), name='') | [
-0.006867653224617243,
-0.05807635560631752,
0.02387668378651142,
0.01844755932688713,
-0.012540516443550587,
-0.055667657405138016,
-0.0771929994225502,
-0.04198014363646507,
0.05631762370467186,
0.017826268449425697,
-0.03894059732556343,
-0.007923847995698452,
-0.014805838465690613,
0.01302799116820097,
-0.06411721557378769,
0.006600020453333855,
0.045344673097133636,
-0.006991911213845015,
-0.020110705867409706,
0.0018973266705870628,
0.01346767321228981,
-0.0019427286460995674,
-0.03374087065458298,
0.11661151051521301,
0.024717817083001137,
0.06587594747543335,
0.0033310747239738703,
0.005271413829177618,
0.015455803833901882,
-0.031389523297548294,
-0.004932093434035778,
0.02070332132279873,
-0.019594557583332062,
0.019690141081809998,
0.04572700336575508,
0.0018997162114828825,
0.013850006274878979,
-0.012253766879439354,
-0.08923648297786713,
-0.006604799535125494,
0.06086738407611847,
-0.024469301104545593,
0.022156186401844025,
0.003440995467826724,
-0.020168056711554527,
-0.028197044506669044,
0.03268945589661598,
0.030758675187826157,
0.01449041347950697,
-0.007809147704392672,
0.017625542357563972,
-0.00076944479951635,
0.060943853110075,
-0.009720811620354652,
-0.02924846112728119,
0.06794054061174393,
0.012808149680495262,
0.0420566089451313,
0.014423505403101444,
-0.049435634166002274,
-0.03026164323091507,
-0.013448556885123253,
0.03366440534591675,
-0.023838451132178307,
-0.02068420499563217,
-0.003271335270255804,
-0.027183864265680313,
0.05184432864189148,
0.05853515490889549,
0.06235848367214203,
-0.005156714003533125,
-0.03202037513256073,
-0.03641720116138458,
-0.0015603958163410425,
0.04396827518939972,
0.006399295758455992,
-0.05432949215173721,
-0.007632318884134293,
-0.0048627955839037895,
-0.03284239023923874,
0.028311744332313538,
0.016124887391924858,
-0.026514781638979912,
0.02339876815676689,
0.022710569202899933,
-0.06591417640447617,
-0.025864815339446068,
-0.0385964997112751,
0.041215479373931885,
0.02762354537844658,
-0.08923648297786713,
0.036130450665950775,
-0.006805524230003357,
0.07260499894618988,
0.04679753631353378,
0.051997262984514236,
0.030643975362181664,
-0.055400025099515915,
0.07249030470848083,
0.004893859848380089,
-0.013821331784129143,
0.0017790424171835184,
-0.01839020848274231,
0.031504224985837936,
-0.042438942939043045,
-0.02863672748208046,
-0.01764465868473053,
0.0068389782682061195,
0.03930381312966347,
0.018380649387836456,
-0.015924161300063133,
0.06212908402085304,
-0.017797593027353287,
-0.016201352700591087,
-0.0729108676314354,
-0.026514781638979912,
-0.02531043253839016,
-0.009309804067015648,
-0.01634472794830799,
0.007326452527195215,
0.01950853131711483,
0.010829577222466469,
-0.047256335616111755,
0.025425132364034653,
0.049779731780290604,
0.0283499788492918,
-0.018887240439653397,
-0.03366440534591675,
0.05887925252318382,
-0.06859050691127777,
-0.004341867286711931,
-0.025730999186635017,
0.003018039744347334,
0.014767604880034924,
0.0007073156884871423,
-0.023360535502433777,
0.0066764866933226585,
-0.006963236257433891,
-0.018294624984264374,
0.05280016362667084,
0.013037549331784248,
0.026705946773290634,
0.033339422196149826,
-0.01801743358373642,
0.0019056901801377535,
0.022404702380299568,
0.06541714817285538,
-0.05914688855409622,
-0.03215419128537178,
0.024067850783467293,
-0.0399155467748642,
0.004064675886183977,
-0.013916914351284504,
-0.013410323299467564,
0.008726746775209904,
-0.032536521553993225,
0.007952522486448288,
-0.07795765995979309,
0.05979685112833977,
-0.0011242975015193224,
-0.044809404760599136,
0.008353971876204014,
-0.04809746891260147,
-0.018667399883270264,
0.010456802323460579,
0.006762511562556028,
-0.0644230768084526,
0.035117268562316895,
-0.029344044625759125,
-0.0007604838465340436,
0.01937471516430378,
-0.0724138393998146,
-0.019183550029993057,
0.04274480789899826,
0.0031709729228168726,
0.035040803253650665,
0.005194947123527527,
0.004903418477624655,
0.06606711447238922,
-0.014815396629273891,
0.039533212780952454,
0.05314426124095917,
-0.04025964438915253,
0.020110705867409706,
0.03360705450177193,
-0.018887240439653397,
0.002102830447256565,
0.014069847762584686,
-0.005964391864836216,
0.001980961998924613,
0.01615356095135212,
0.03528931736946106,
0.03270857408642769,
0.013716190122067928,
-0.003041935386136174,
0.039647914469242096,
0.031848322600126266,
-0.0362069196999073,
-0.014710254967212677,
0.016430752351880074,
-0.01868651621043682,
-0.020607739686965942,
0.01499700453132391,
0.023054668679833412,
0.015130821615457535,
0.006815082393586636,
0.034562885761260986,
-0.005687200464308262,
-0.056891124695539474,
-0.03737303242087364,
-0.011508218012750149,
0.01615356095135212,
0.018648283556103706,
-0.030433692038059235,
0.04809746891260147,
-0.010322986170649529,
0.03798476606607437,
0.020665088668465614,
0.014949212782084942,
0.008908354677259922,
0.026342730969190598,
-0.001345333643257618,
-0.05237959697842598,
0.017482168972492218,
-0.017969641834497452,
0.005601175595074892,
0.039647914469242096,
0.01849534921348095,
-0.04389180615544319,
0.02056950516998768,
-0.04767690226435661,
-0.03146599233150482,
-0.02150622196495533,
-0.02917199395596981,
-0.06751997768878937,
0.012119950726628304,
-0.03286150470376015,
0.04136840999126434,
-0.06400251388549805,
-0.08250742405653,
0.023914918303489685,
-0.02204148657619953,
0.0010394674027338624,
0.05299132689833641,
0.020531272515654564,
-0.03161892294883728,
0.023494351655244827,
0.04599463939666748,
-0.05677642300724983,
-0.03842444717884064,
-0.04561230540275574,
-0.014213222078979015,
-0.0236855186522007,
0.041215479373931885,
-0.03702893480658531,
-0.019996006041765213,
-0.0007533151074312627,
-0.036474552005529404,
0.016468986868858337,
-0.049970898777246475,
-0.04370064288377762,
-0.01916443184018135,
0.029745493084192276,
0.08548961579799652,
-0.017711568623781204,
-0.0000034536899420345435,
0.002697835909202695,
0.02360905148088932,
-0.002139868913218379,
0.012033925391733646,
0.11057065427303314,
0.04301244392991066,
0.012769916094839573,
-0.02781471237540245,
0.009558320045471191,
-0.013209599070250988,
-0.02041657269001007,
0.031446874141693115,
-0.020340105518698692,
0.019202666357159615,
-0.005486475769430399,
-0.00997888669371605,
-0.020034240558743477,
0.03743038326501846,
-0.029152877628803253,
-0.03941851481795311,
-0.008033768273890018,
-0.035939283668994904,
-0.004394437652081251,
-0.05517062544822693,
0.02781471237540245,
0.04932093247771263,
0.03743038326501846,
0.011460426263511181,
0.07187856733798981,
-0.058993954211473465,
0.001884183962829411,
0.02605598233640194,
0.0766577273607254,
-0.025864815339446068,
0.052494294941425323,
-0.0307395588606596,
0.06017918512225151,
-0.046109337359666824,
-0.09099520742893219,
-0.029802843928337097,
-0.0029463523533195257,
0.00823927205055952,
0.004764822777360678,
0.009835511445999146,
0.015006562694907188,
0.09160694479942322,
-0.0404508113861084,
0.053297195583581924,
-0.00041787783266045153,
0.01604842022061348,
0.0495120994746685,
-0.019231339916586876,
0.04545937106013298,
0.09206574410200119,
0.022022370249032974,
-0.0208944883197546,
-0.03318648785352707,
-0.02504280023276806,
-0.05842045322060585,
-0.04878566786646843,
0.07619892805814743,
-0.020473921671509743,
-0.024259017780423164,
-0.013228715397417545,
-0.05184432864189148,
0.006762511562556028,
0.017042485997080803,
-0.019976889714598656,
-0.07352259755134583,
0.012129508890211582,
-0.004757653921842575,
0.008545138873159885,
0.031255707144737244,
-0.027164746075868607,
0.0236855186522007,
0.000022252965209190734,
-0.04981796443462372,
0.07715476304292679,
-0.011794967576861382,
-0.0479063019156456,
0.04905330017209053,
-0.045153506100177765,
0.014767604880034924,
-0.015522712841629982,
-0.05398539453744888,
-0.0009468711214140058,
0.04301244392991066,
0.052341364324092865,
0.05283839628100395,
0.03188655525445938,
-0.03758331760764122,
0.019575439393520355,
0.010208286345005035,
-0.045344673097133636,
-0.0026596025563776493,
0.0337982214987278,
-0.06962280720472336,
0.004955989308655262,
-0.0029344044160097837,
-0.013008873909711838,
0.006189012434333563,
-0.02951609343290329,
0.030166059732437134,
-0.024526650086045265,
0.006944119930267334,
-0.047791603952646255,
-0.02510014921426773,
-0.0029176773969084024,
0.013171365484595299,
0.004475683439522982,
-0.028388211503624916,
0.004258231725543737,
0.03458200395107269,
-0.009266791865229607,
0.019690141081809998,
-0.005276192910969257,
-0.005046793259680271,
-0.0035915388725697994,
-0.0022796595003455877,
-0.008258389309048653,
-0.0009367153979837894,
0.0164976604282856,
0.012875057756900787,
0.04186544194817543,
0.0003912937536370009,
-0.05432949215173721,
0.019651906564831734,
-0.054520659148693085,
-0.022022370249032974,
-0.010695760138332844,
-0.0014934876235201955,
0.04003024473786354,
-0.028273511677980423,
-0.002211556304246187,
-0.03710540011525154,
-0.05318249389529228,
-0.0003769562754314393,
0.010724435560405254,
-0.05398539453744888,
-0.040336113423109055,
0.04301244392991066,
0.04461824148893356,
-0.012550074607133865,
0.048938602209091187,
-0.03393203765153885,
0.05647055804729462,
-0.024335483089089394,
-0.008803213015198708,
-0.015063912607729435,
0.016813086345791817,
0.07551073282957077,
-0.06511127948760986,
-0.01679396815598011,
0.00692022405564785,
0.007990756072103977,
0.042171310633420944,
0.06801700592041016,
0.06457601487636566,
0.0322115384042263,
0.03750684857368469,
0.0047003040090203285,
0.0019546765834093094,
0.03289973735809326,
-0.006690824404358864,
-0.07658126205205917,
-0.02882789447903633,
-0.02028275653719902,
-0.0875542163848877,
-0.0385964997112751,
-0.009692137129604816,
-0.02802499569952488,
-0.04855626821517944,
0.010714877396821976,
0.0083157392218709,
0.03710540011525154,
-0.020798904821276665,
0.004640564788132906,
0.038845013827085495,
-0.08770714700222015,
-0.029420509934425354,
0.013763981871306896,
0.009625229053199291,
-0.04301244392991066,
-0.033951155841350555,
0.05020029842853546,
0.05700582265853882,
0.04228600859642029,
0.011460426263511181,
0.04381534084677696,
0.002297581173479557,
-0.06622004508972168,
-0.051194366067647934,
0.0340658538043499,
-0.02076067216694355,
-0.021659154444932938,
0.02313113585114479,
0.0035843702498823404,
-0.03297620639204979,
-0.013687514699995518,
0.04633873701095581,
0.03957144543528557,
-0.007833044044673443,
-0.031313057988882065,
-0.010189170017838478,
0.034371718764305115,
-0.025138383731245995,
-0.012244208715856075,
-0.030758675187826157,
-0.004007325973361731,
-0.013276507146656513,
0.00221633561886847,
-0.009744707494974136,
0.010571502149105072,
-0.025769231840968132,
-0.009419725276529789,
-0.01251184195280075,
-0.004671629052609205,
0.016191795468330383,
0.026419198140501976,
0.03209684044122696,
-0.00028316525276750326,
-0.019728373736143112,
0.007971638813614845,
0.0060456376522779465,
-0.0737137645483017,
0.06774937361478806,
0.04213307797908783,
0.0739813968539238,
-0.04025964438915253,
0.030146943405270576,
0.044006507843732834,
-0.008119793608784676,
0.015828577801585197,
0.028923477977514267,
-0.004466125275939703,
-0.024125201627612114,
-0.10667085647583008,
-0.03060574270784855,
0.008597709238529205,
-0.05998801812529564,
-0.09680666774511337,
-0.05130906403064728,
-0.016268260776996613,
-0.015417571179568768,
-0.006016962695866823,
-0.02320760115981102,
0.022366469725966454,
-0.0031255707144737244,
-0.0017013810575008392,
0.000454617606010288,
-0.03930381312966347,
0.006991911213845015,
-0.011861875653266907,
-0.01146998442709446,
0.023035552352666855,
0.009548761881887913,
-0.009649124927818775,
-0.01753951795399189,
0.006351504009217024,
0.05203549563884735,
0.012970641255378723,
-0.06381134688854218,
0.04859450086951256,
0.05922335386276245,
0.002599863102659583,
-0.04025964438915253,
-0.02938227728009224,
0.12662862241268158,
-0.008573813363909721,
0.01810345984995365,
0.01082001905888319,
-0.01773068495094776,
0.000412202556617558,
-0.0327276885509491,
0.01631605252623558,
0.037277448922395706,
0.056623488664627075,
-0.007187856826931238,
-0.002442150842398405,
-0.015255079604685307,
-0.04293597489595413,
0.05379422754049301,
-0.06931693851947784,
-0.028541143983602524,
-0.018992383033037186,
-0.017443934455513954,
-0.03542313724756241,
0.023437002673745155,
0.04767690226435661,
0.02903817780315876,
0.0021804918069392443,
-0.01868651621043682,
0.0028340420685708523,
0.0417889766395092,
-0.005873587913811207,
-0.046300504356622696,
0.0489768348634243,
0.014987446367740631,
-0.0545588918030262,
0.010724435560405254,
0.016755735501646996,
0.023092901334166527,
0.026495663449168205,
-0.0062081292271614075,
0.018667399883270264,
-0.05138552933931351,
-0.04404474049806595,
0.022767920047044754,
-0.068666972219944,
-0.006800745148211718,
0.023379651829600334,
0.010055352933704853,
-0.07336966693401337,
-0.009649124927818775,
0.02320760115981102,
-0.0319439060986042,
-0.07283440232276917,
-0.05849692225456238,
0.04802100360393524,
-0.058038122951984406,
-0.021467987447977066,
0.006509216036647558,
-0.03066309168934822,
-0.009333699941635132,
0.01642119511961937,
0.025329548865556717,
-0.0246222335845232,
-0.01706160232424736,
-0.020397456362843513,
0.020990071818232536,
-0.020932720974087715,
-0.009429283440113068,
0.01523596327751875,
0.018858566880226135,
-0.06969927251338959,
-0.0007449515978805721,
-0.02917199395596981,
0.030548391863703728,
0.0014277740847319365,
-0.024985449388623238,
-0.025157500058412552,
0.006064754445105791,
0.02550159953534603,
-0.02381933480501175,
0.02571188285946846,
0.001697796629741788,
-0.028541143983602524,
0.01634472794830799,
-0.001745588262565434,
-0.024392833933234215,
-0.04171251133084297,
0.0202254056930542,
0.06996690481901169,
0.049091532826423645,
-0.01058106031268835,
0.0023441780358552933,
-0.017052043229341507,
0.029841076582670212,
-0.018858566880226135,
0.01160380057990551,
0.04974149912595749,
-0.09703607112169266,
-0.003364528762176633,
-0.00930024590343237,
0.09061288088560104,
0.031255707144737244,
-0.0232840683311224,
0.012836824171245098,
-0.010389894247055054,
-0.0332629568874836,
-0.01564696989953518,
0.04966503381729126,
0.03154245764017105,
0.05138552933931351,
-0.0561646893620491,
0.010925160720944405,
0.04415944218635559,
0.026553014293313026,
0.020320989191532135,
0.026705946773290634,
-0.032192423939704895,
-0.04802100360393524,
0.03173362463712692,
0.016335168853402138,
-0.06862874329090118,
-0.025138383731245995,
-0.053641293197870255,
0.018638724461197853,
0.007402919232845306,
0.03548048436641693,
-0.0045378124341368675,
0.02578834816813469,
0.040336113423109055,
-0.007651435676962137,
-0.056088224053382874,
-0.0020347274839878082,
0.0399155467748642,
0.014031614176928997,
0.04404474049806595,
-0.011871433816850185,
0.045497603714466095,
-0.07554896175861359,
-0.03534666821360588,
0.03597752004861832,
-0.08204862475395203,
0.002219919813796878,
-0.006490099709481001,
-0.03387468680739403,
0.010389894247055054,
0.014662463217973709,
0.0243546012789011,
0.005639409180730581,
0.060140952467918396,
-0.012884615920484066,
0.04370064288377762,
0.013085341081023216,
0.04316537454724312,
-0.044465307146310806,
0.0625496506690979,
-0.021792970597743988,
-0.06079091876745224,
0.03391291946172714,
0.028923477977514267,
-0.03611133620142937,
-0.035652536898851395,
-0.010236960835754871,
0.03228800743818283,
-0.00029541185358539224,
0.009156870655715466,
-0.02414431795477867,
-0.06262611597776413,
0.009701695293188095,
-0.01268389169126749,
0.006939340848475695,
0.05834398791193962,
0.030567508190870285,
-0.08678954839706421,
0.0675964429974556,
-0.02762354537844658,
0.02204148657619953,
-0.031255707144737244,
-0.014882304705679417,
0.029688144102692604,
-0.06086738407611847,
0.031236590817570686,
0.07814882695674896,
0.018409324809908867,
-0.05861162021756172,
0.00960611179471016,
0.05157669633626938,
0.011967017315328121,
0.014108081348240376,
-0.038233280181884766,
0.04668283835053444,
0.007833044044673443,
0.022270886227488518,
0.039724379777908325,
-0.01578078791499138,
-0.019011499360203743,
0.008583371527493,
-0.01858137547969818,
-0.0532207265496254,
0.012722124345600605,
-0.024392833933234215,
0.015092588029801846,
0.008296621963381767,
-0.027183864265680313,
0.027088280767202377,
0.017845384776592255,
-0.04396827518939972,
-0.02230912074446678,
-0.008301401510834694,
0.008855784311890602,
0.016975577920675278,
0.0018973266705870628,
-0.010131820105016232,
0.016889551654458046,
-0.016574127599596977,
0.0014349428238347173,
0.047600436955690384,
0.008827108889818192,
0.026476547122001648,
0.022347353398799896,
-0.04029788076877594,
0.015924161300063133,
-0.0035676429979503155,
0.034218788146972656,
0.011871433816850185,
0.07214619964361191,
-0.07084627449512482,
0.019097523763775826,
0.0005131623474881053,
-0.006318049971014261,
-0.07486076653003693,
-0.0236855186522007,
-0.04756220430135727,
0.04565053805708885,
0.06235848367214203,
-0.02334141917526722,
0.03662748262286186,
0.05704405531287193,
0.034849636256694794
] |
7,567 | hsbalance.model | solve |
Method to solve the model
Args:
solver:'OLE' Ordinary Least Squares method
'Huber': Uses Huber smoother to down estimate the outliers.
| def solve(self, solver='OLE'):
'''
Method to solve the model
Args:
solver:'OLE' Ordinary Least Squares method
'Huber': Uses Huber smoother to down estimate the outliers.
'''
W = cp.Variable((self.N, 1), complex=True)
if solver.upper() == 'OLE': # Ordinary least squares
_objective = cp.Minimize(cp.sum_squares(self.ALPHA @ W + self.A))
elif solver.upper() == 'HUBER': # TODO test Huber solver for robust optimization
_real = cp.real(self.ALPHA @ W + self.A)
_imag = cp.imag(self.ALPHA @ W + self.A)
_objective = cp.Minimize(cp.sum_squares(cp.huber(cp.hstack([_real, _imag]), M=0)))
elif solver.upper() == 'WLS': # TODO test weighted least squares
_objective = cp.Minimize(cp.sum_squares(cp.diag(self.C) @ (self.ALPHA @ W + self.A)))
else:
raise tools.CustomError('Unrecognized Solver name')
prob = cp.Problem(_objective)
prob.solve()
self.W = W.value
return W.value
| (self, solver='OLE') | [
-0.0008826661505736411,
-0.06758172810077667,
-0.009168636985123158,
0.051314789801836014,
-0.029557762667536736,
-0.04588015377521515,
-0.04436437040567398,
-0.08192620426416397,
0.01568465307354927,
0.0118951965123415,
-0.002344148699194193,
-0.029391394928097725,
-0.010462597943842411,
-0.013845380395650864,
-0.09782344102859497,
0.0675077810883522,
0.0012084669433534145,
-0.046138945966959,
-0.051314789801836014,
0.017745748162269592,
-0.013281583786010742,
-0.049170512706041336,
0.03780214115977287,
0.08503171056509018,
0.00569804897531867,
0.026470741257071495,
0.041147954761981964,
-0.04037157818675041,
-0.03966914117336273,
-0.04961415380239487,
-0.06026160344481468,
0.04983597621321678,
-0.03918852657079697,
-0.02624891884624958,
0.05815429612994194,
0.011802771128714085,
0.05312633514404297,
0.03506633639335632,
0.00007098010246409103,
-0.044068608433008194,
-0.006714732386171818,
-0.016322391107678413,
0.06251679360866547,
-0.018106209114193916,
-0.00671935360878706,
-0.017080282792448997,
-0.02323583886027336,
0.06000281125307083,
0.05445726588368416,
-0.03878185525536537,
0.025860730558633804,
-0.05124085023999214,
-0.0006348495371639729,
-0.040260665118694305,
-0.002012571319937706,
0.019409412518143654,
0.019206074997782707,
0.0680253654718399,
0.06602897495031357,
-0.08052133023738861,
-0.04392072558403015,
-0.042996469885110855,
0.03589817136526108,
-0.0013655908405780792,
-0.033180851489305496,
-0.00038385577499866486,
-0.020111847668886185,
0.010102136991918087,
0.08991178870201111,
0.050760235637426376,
0.0016601979732513428,
-0.02730257250368595,
-0.027080751955509186,
-0.008757341653108597,
0.053163304924964905,
-0.02634134516119957,
-0.014215083792805672,
-0.06443925201892853,
-0.027099236845970154,
-0.02129489742219448,
0.01657194085419178,
0.007112163119018078,
-0.029095632955431938,
-0.019594263285398483,
-0.014122658409178257,
-0.0987846627831459,
0.050057798624038696,
-0.0510929673910141,
0.0685429498553276,
0.009603037498891354,
-0.011322157457470894,
-0.00018398505926597863,
0.007994829677045345,
0.0230694729834795,
0.046175915747880936,
0.028651989996433258,
-0.020647916942834854,
-0.037728201597929,
0.014769638888537884,
-0.021405808627605438,
-0.012606875039637089,
0.08591900020837784,
-0.024104641750454903,
0.07486487925052643,
0.01082305796444416,
-0.0317390114068985,
0.013928564265370369,
-0.01952032372355461,
0.010037438943982124,
0.0022702079731971025,
-0.03567634895443916,
0.04063037037849426,
-0.0749388188123703,
-0.01888258568942547,
-0.05597304925322533,
-0.005268269218504429,
-0.06795142590999603,
0.03305145725607872,
0.0052544050849974155,
-0.004903187043964863,
-0.04735896736383438,
0.03859700262546539,
-0.06821022182703018,
-0.016775278374552727,
0.023845849558711052,
0.029465336352586746,
0.02554648369550705,
-0.03314388170838356,
0.02253340370953083,
-0.035121794790029526,
0.00438791373744607,
-0.031129000708460808,
0.020185789093375206,
-0.0028883053455501795,
-0.005707291420549154,
0.008507792837917805,
-0.03428996354341507,
-0.03615696355700493,
0.025047384202480316,
0.038486093282699585,
0.02314341440796852,
0.05504878982901573,
-0.030870208516716957,
0.013752955012023449,
0.028836840763688087,
0.029058663174510002,
0.05205419659614563,
-0.005194328259676695,
-0.00680715823546052,
0.036822427064180374,
-0.060224633663892746,
-0.0208512544631958,
-0.003653128631412983,
-0.003202553139999509,
0.04691532254219055,
-0.01996396668255329,
0.03728455677628517,
-0.010490325279533863,
-0.03436390310525894,
-0.03844911977648735,
-0.03926246985793114,
0.026452256366610527,
-0.031221425160765648,
-0.0049586426466703415,
-0.007042843848466873,
-0.016599668189883232,
-0.008054906502366066,
0.020352154970169067,
-0.008355289697647095,
0.05808035656809807,
-0.044586192816495895,
-0.07501275837421417,
-0.09701009094715118,
0.06758172810077667,
-0.010083652101457119,
0.0352511890232563,
0.030537474900484085,
-0.009247198700904846,
0.0270437803119421,
-0.030537474900484085,
-0.017921356484293938,
0.029465336352586746,
-0.04920748248696327,
0.015083885751664639,
-0.0003985861549153924,
0.022071273997426033,
0.04673046991229057,
-0.030777782201766968,
-0.0620361790060997,
-0.006326544098556042,
-0.06514168530702591,
0.003207174362614751,
0.019335471093654633,
0.004096772521734238,
0.0052312989719212055,
0.009981983341276646,
0.04048248752951622,
0.02484404854476452,
0.004008967895060778,
0.04162856936454773,
0.010009711608290672,
0.00788853969424963,
0.04266373813152313,
0.02244097739458084,
-0.009843344800174236,
-0.02031518518924713,
-0.011488523334264755,
-0.018475912511348724,
-0.0013759887078776956,
0.05859794095158577,
0.045658331364393234,
-0.005032583139836788,
-0.042035240679979324,
0.003013080218806863,
0.054235443472862244,
0.015666168183088303,
0.027468940243124962,
-0.025047384202480316,
0.02007487788796425,
0.020555492490530014,
-0.03464118018746376,
-0.009732433594763279,
-0.01624845154583454,
0.0126438457518816,
0.01113730575889349,
-0.008535520173609257,
0.013170672580599785,
0.01762559451162815,
0.029298970475792885,
-0.04850504547357559,
-0.02068488858640194,
-0.04621288552880287,
-0.021775512024760246,
-0.03162809833884239,
0.0016729064518585801,
-0.01258839014917612,
-0.10551325976848602,
0.05364391952753067,
-0.0011691859690472484,
-0.042552825063467026,
-0.023402206599712372,
-0.04961415380239487,
0.008540141396224499,
0.06547442078590393,
-0.030999604612588882,
-0.0401497557759285,
0.05260875076055527,
-0.01565692573785782,
0.0072739082388579845,
0.010860028676688671,
0.036637578159570694,
-0.075456403195858,
-0.0376727432012558,
-0.00014159917191136628,
-0.03706273436546326,
-0.0392254963517189,
-0.00945515651255846,
-0.00407366594299674,
0.017311347648501396,
-0.048468075692653656,
-0.03915155678987503,
0.0208512544631958,
0.02244097739458084,
0.05637972056865692,
-0.033716920763254166,
-0.018799401819705963,
-0.042478885501623154,
-0.00891908723860979,
0.03621241822838783,
0.03685939684510231,
0.018096966668963432,
0.032940544188022614,
-0.03948428854346275,
0.0023938275407999754,
-0.02846713736653328,
0.047765638679265976,
0.011433067731559277,
0.038301240652799606,
-0.018984254449605942,
0.014335237443447113,
-0.016091326251626015,
0.024529799818992615,
-0.019834570586681366,
-0.02835622802376747,
-0.03606453537940979,
0.024197068065404892,
-0.033975712954998016,
-0.04107401520013809,
0.01683073304593563,
-0.0411849245429039,
0.0312768816947937,
0.023439176380634308,
0.05172146111726761,
-0.02582376077771187,
0.07268362492322922,
0.02924351394176483,
-0.021073076874017715,
-0.022089758887887,
0.08044739067554474,
-0.003997414838522673,
0.0013540375512093306,
-0.01916910521686077,
-0.0032995999790728092,
-0.018383486196398735,
-0.0009629609994590282,
-0.006955039221793413,
-0.04817231371998787,
-0.015222525224089622,
0.01755165494978428,
0.03464118018746376,
-0.025786790996789932,
0.029576247557997704,
-0.009270304813981056,
0.05275662988424301,
0.01224641501903534,
0.004159159958362579,
0.028688959777355194,
0.0019316986436024308,
0.00863718893378973,
0.06968903541564941,
0.0006856836844235659,
-0.018688490614295006,
-0.013309311121702194,
-0.054383326321840286,
-0.024696165695786476,
-0.029539277777075768,
-0.019760631024837494,
-0.021165501326322556,
0.0387079119682312,
-0.040075816214084625,
-0.024271007627248764,
-0.0034798304550349712,
0.0263228602707386,
-0.0033712300937622786,
-0.01888258568942547,
-0.013549618422985077,
0.10906241089105606,
-0.0019132135203108191,
0.016590425744652748,
-0.0010507655097171664,
0.051573581993579865,
0.052978452295064926,
-0.05859794095158577,
0.005175843369215727,
0.011996865272521973,
-0.04942930489778519,
0.0005048757884651423,
0.004302419722080231,
-0.010749117471277714,
-0.026581652462482452,
-0.04599106311798096,
-0.022514918819069862,
0.009917285293340683,
0.018845615908503532,
0.02323583886027336,
0.10004165768623352,
-0.020259728655219078,
0.007047465071082115,
0.059448257088661194,
-0.06621382385492325,
-0.023882819339632988,
-0.020740343257784843,
-0.033014487475156784,
0.011192761361598969,
-0.019409412518143654,
-0.02641528658568859,
0.01293960865586996,
-0.038929734379053116,
0.05612092837691307,
-0.04576924443244934,
-0.03048202022910118,
-0.045029837638139725,
-0.00740330433472991,
-0.03423450514674187,
-0.016960129141807556,
0.05382876843214035,
-0.012708543799817562,
0.03120294027030468,
-0.007786871399730444,
-0.056083958595991135,
0.08754569292068481,
0.009136287495493889,
-0.030999604612588882,
0.014529331587255001,
0.030814751982688904,
-0.03005686216056347,
-0.032385990023612976,
0.045732270926237106,
0.04868989810347557,
-0.0012257967609912157,
0.013549618422985077,
-0.01952032372355461,
0.04284858703613281,
0.010776844806969166,
-0.004736820701509714,
0.01139609795063734,
0.03462269529700279,
0.04011278599500656,
-0.06621382385492325,
-0.002344148699194193,
-0.013022791594266891,
-0.047321997582912445,
0.008604839444160461,
0.04791352152824402,
-0.054568175226449966,
-0.04225706309080124,
-0.0005363583331927657,
0.06776657700538635,
0.004806139972060919,
0.0641065165400505,
-0.05915249511599541,
0.033883288502693176,
0.03157264366745949,
-0.029391394928097725,
-0.08377472311258316,
0.019575778394937515,
0.008230514824390411,
0.006340408232063055,
0.03449329733848572,
0.015481317415833473,
0.05231298878788948,
-0.03183143585920334,
0.037598803639411926,
0.040334608405828476,
-0.009016133844852448,
-0.013965534046292305,
0.0248255617916584,
-0.02562042511999607,
-0.032570842653512955,
0.01258839014917612,
-0.048468075692653656,
-0.007985587231814861,
-0.006825643125921488,
-0.054050590842962265,
-0.015971174463629723,
-0.008724993094801903,
-0.02014881931245327,
-0.003697030944749713,
0.015675410628318787,
0.012736271135509014,
0.05072326585650444,
0.02739499881863594,
-0.03038959391415119,
-0.012736271135509014,
-0.037081219255924225,
-0.04377284646034241,
0.03856003284454346,
-0.03170204162597656,
-0.09782344102859497,
0.006626927759498358,
0.0625537633895874,
0.01440917793661356,
-0.006174041423946619,
0.01750544086098671,
0.028744414448738098,
0.011858226731419563,
0.00994501356035471,
-0.04003884643316269,
-0.027561364695429802,
0.007860812358558178,
0.03933640941977501,
0.008711129426956177,
0.0739036500453949,
-0.01210777647793293,
-0.0705023780465126,
0.018143178895115852,
0.00757891358807683,
-0.010379414074122906,
0.05101902782917023,
-0.02164611592888832,
-0.009048483334481716,
-0.039558231830596924,
-0.05586213618516922,
-0.03562089428305626,
0.008711129426956177,
0.010712146759033203,
-0.03236750513315201,
0.080299511551857,
0.01757938228547573,
-0.035842712968587875,
-0.04532559961080551,
-0.028873810544610023,
0.028578048571944237,
0.005554788745939732,
-0.0016578872455284,
-0.0023822742514312267,
0.0480983704328537,
-0.033809348940849304,
-0.0016336255939677358,
-0.022570373490452766,
0.004607424605637789,
0.05478999763727188,
0.021960362792015076,
0.016766035929322243,
-0.033532071858644485,
0.012172474525868893,
-0.011682617478072643,
-0.022052789106965065,
0.017006341367959976,
-0.013595831580460072,
0.0007422944763675332,
-0.03393874317407608,
-0.07249877601861954,
-0.036452725529670715,
0.06458713114261627,
-0.030814751982688904,
-0.028578048571944237,
0.009917285293340683,
-0.004778412636369467,
0.001042678253725171,
-0.00923333503305912,
-0.05242389813065529,
-0.007407925557345152,
-0.020740343257784843,
0.049281422048807144,
0.01900273934006691,
-0.014621756970882416,
0.02748742513358593,
-0.01998245157301426,
-0.012274142354726791,
0.01640557497739792,
-0.011266701854765415,
-0.0025324660819023848,
0.04284858703613281,
0.03349509835243225,
0.02201581932604313,
-0.05401362106204033,
-0.04403163865208626,
0.02669256366789341,
0.04133280739188194,
0.03183143585920334,
-0.04791352152824402,
-0.02438191883265972,
0.09013361483812332,
0.04307040944695473,
0.044068608433008194,
-0.039558231830596924,
-0.04233100265264511,
-0.08266561478376389,
0.0049447789788246155,
-0.05719306692481041,
0.024991929531097412,
0.05216510593891144,
-0.013919321820139885,
0.05830217897891998,
0.018383486196398735,
-0.04447528347373009,
0.046434707939624786,
-0.08273955434560776,
-0.029835039749741554,
0.002553262049332261,
0.03454875573515892,
0.02855956368148327,
0.023993730545043945,
0.08724992722272873,
0.029502306133508682,
-0.041406746953725815,
0.02042609639465809,
-0.009191743098199368,
0.014557058922946453,
-0.035232704132795334,
-0.08939420431852341,
-0.001328620477579534,
0.014520089142024517,
-0.05974401906132698,
-0.005263647995889187,
0.043255262076854706,
0.008789691142737865,
0.030537474900484085,
0.012006107717752457,
0.015074643306434155,
0.01853136718273163,
0.02386433444917202,
0.002414623275399208,
-0.02103610523045063,
0.009556825272738934,
0.035768773406744,
-0.006756323855370283,
-0.03164658322930336,
0.01236656866967678,
-0.007712930906563997,
-0.04292253032326698,
0.010222290642559528,
-0.04321829229593277,
-0.0033850939944386482,
-0.012043078429996967,
-0.03992793336510658,
0.005716533865779638,
-0.033273279666900635,
0.030426563695073128,
0.037968508899211884,
0.005198949947953224,
-0.0629604384303093,
-0.008863631635904312,
0.00552243972197175,
0.006127828732132912,
-0.08510565012693405,
-0.001522714621387422,
0.0948658138513565,
0.02942836657166481,
-0.08118680119514465,
-0.021442778408527374,
-0.02898472175002098,
-0.003258008509874344,
0.002169694984331727,
0.016701336950063705,
-0.04355102404952049,
-0.05135175958275795,
0.035935141146183014,
-0.02449283003807068,
0.04488195478916168,
-0.029982920736074448,
0.03236750513315201,
0.0235870573669672,
-0.03085172362625599,
0.01600814424455166,
0.004327836912125349,
-0.0317390114068985,
0.01952032372355461,
0.024252522736787796,
0.043255262076854706,
0.007135269697755575,
0.028781386092305183,
-0.00911780260503292,
-0.0235870573669672,
0.02820834517478943,
0.08614081889390945,
-0.031165970489382744,
-0.0012385053560137749,
-0.0019963968079537153,
0.010157592594623566,
0.03780214115977287,
0.006021539214998484,
0.012227930128574371,
-0.053533006459474564,
0.0019548051059246063,
0.05216510593891144,
0.022422492504119873,
-0.011941409669816494,
-0.0015134720597416162,
-0.002844403265044093,
0.062184061855077744,
0.008013314567506313,
0.000543001398909837,
-0.001452239928767085,
0.04332920163869858,
0.02166460081934929,
-0.036822427064180374,
-0.004898565821349621,
0.014926762320101261,
-0.06499380618333817,
-0.02220067009329796,
-0.05009476840496063,
-0.006802537012845278,
0.03209022805094719,
0.012542176991701126,
0.05294148251414299,
0.009547581896185875,
0.06665746867656708,
-0.014252054505050182,
-0.060224633663892746,
0.009492127224802971,
0.03926246985793114,
-0.04003884643316269,
0.020629432052373886,
0.017006341367959976,
0.018494397401809692,
-0.000841074506752193,
-0.02660013735294342,
0.00017026560090016574,
-0.02624891884624958,
-0.03756183385848999,
-0.02190490812063217,
-0.008387639187276363,
-0.0022678973618894815,
0.02438191883265972,
-0.023975245654582977,
-0.005614865571260452,
-0.05556637421250343,
-0.05453120544552803,
0.076380655169487,
0.02493647299706936,
-0.02014881931245327,
-0.0068672350607812405,
0.0431443490087986,
0.011645647697150707,
-0.039632171392440796,
0.014658727683126926,
0.03184992074966431,
-0.025768306106328964,
-0.07956010848283768,
0.006261846050620079,
-0.00042429205495864153,
0.013891593553125858,
0.05497485026717186,
-0.0510929673910141,
-0.0491335391998291,
-0.01131291501224041,
0.07212907075881958,
-0.017865901812911034,
0.07083511352539062,
0.010860028676688671,
-0.0036300222855061293,
0.03342115879058838,
0.026637107133865356,
0.015167069621384144,
0.015619955956935883,
-0.03014928661286831,
0.05774762108922005,
-0.01321688573807478,
-0.018577581271529198,
0.01755165494978428,
0.022348551079630852,
-0.047063205391168594,
0.06336711347103119,
0.043957699090242386,
-0.01783817447721958,
0.01846667006611824,
-0.01724664866924286,
0.03288508951663971,
0.026581652462482452,
0.005684184841811657,
0.05101902782917023,
-0.04392072558403015,
0.02687741443514824,
0.025047384202480316,
0.014880549162626266,
-0.06418045610189438,
0.004579697269946337,
0.059263404458761215,
-0.002846713876351714,
0.010379414074122906,
0.013863866217434406,
0.04920748248696327,
0.01860530860722065,
0.004595871549099684,
0.010046681389212608,
0.012135503813624382,
0.0010305473115295172,
0.05630578100681305,
0.0012870288919657469,
0.008253621868789196,
0.0067886728793382645,
-0.05116690695285797,
0.033975712954998016,
-0.010712146759033203,
0.0317390114068985,
0.03915155678987503,
0.015444346703588963,
-0.03789456561207771,
0.0351957343518734,
-0.010268503800034523,
0.11150245368480682,
0.019132135435938835,
0.040260665118694305,
-0.04480801522731781,
0.009898800402879715,
-0.019501838833093643,
-0.006816400680691004,
-0.000601345207542181,
0.004651327151805162,
-0.002165073761716485,
0.03038959391415119,
0.08554929494857788,
-0.026821959763765335,
-0.018096966668963432,
0.022385522723197937,
0.048837777227163315
] |
7,568 | hsbalance.model | Min_max |
subclass of model: Solving the model using Minmax optimization method
to minimize the maximum of residual_vibration.
| class Min_max(_Model):
"""
subclass of model: Solving the model using Minmax optimization method
to minimize the maximum of residual_vibration.
"""
def __init__(self, A:np.array, alpha:'instance of Alpha class', conditions=None, weight_const={}, name=''):
""" Instantiate the model
Args:
A: Initial vibration vector -> np.ndarray
alpha: instance of Alpha class
weight_const: dict class of planes index and maximum permissible weight
Returns: solution matrix W
"""
self.weight_const = weight_const
super().__init__(A=A, alpha=alpha, conditions=conditions, name=name)
def solve(self, solver=None):
'''
Method to solve the Minmax model
'''
W = cp.Variable((self.N,1),complex=True)
_objective = cp.Minimize(cp.norm((self.ALPHA @ W + self.A),"inf"))
# Define weight constraints
_constrains = []
if self.weight_const != {}:
try:
for key, value in self.weight_const.items():
_constrains += [cp.norm(W[key]) <= value]
except NameError:
raise tools.CustomError('Invalid weight constraint format')
else:
pass
prob=cp.Problem(_objective, _constrains)
prob.solve()
self.W = W.value
return W.value
| (A: <built-in function array>, alpha: 'instance of Alpha class', conditions=None, weight_const={}, name='') | [
0.05140109732747078,
-0.023416467010974884,
-0.025087745860219002,
0.05058402568101883,
-0.009113109670579433,
-0.04920986294746399,
-0.04219049587845802,
-0.0470186322927475,
0.03910791501402855,
-0.02844887226819992,
-0.03999926149845123,
0.008709217421710491,
0.00967484526336193,
0.019925352185964584,
-0.05968320742249489,
0.04193051904439926,
0.02213515341281891,
-0.031160056591033936,
-0.0034795086830854416,
0.03559822961688042,
0.0016840450698509812,
-0.021188097074627876,
-0.010436205193400383,
0.07056508958339691,
0.018421201035380363,
0.05920039489865303,
0.01291526760905981,
-0.011828937567770481,
-0.004575124476104975,
-0.0749475508928299,
-0.056303512305021286,
0.06009174510836601,
-0.004435851238667965,
-0.019015435129404068,
0.032905615866184235,
0.003514327108860016,
0.05463223531842232,
0.005473436787724495,
-0.12055487930774689,
-0.0625058114528656,
0.03429834544658661,
-0.048615630716085434,
0.027353256940841675,
0.0032497080974280834,
0.01808694563806057,
-0.01310096587985754,
-0.00670368317514658,
0.07249633967876434,
0.051995329558849335,
-0.0380680076777935,
-0.010426919907331467,
-0.03862510249018669,
0.04898702725768089,
-0.0031104348599910736,
-0.05745483562350273,
0.056489210575819016,
0.0036814548075199127,
0.07160499691963196,
0.031345754861831665,
-0.08631224185228348,
-0.05110397934913635,
-0.04274758696556091,
0.04185624048113823,
-0.029581626877188683,
-0.016304248943924904,
-0.007803941611200571,
-0.0503983274102211,
0.00028072253917343915,
0.02575625665485859,
0.0750589668750763,
0.016294963657855988,
-0.06380569189786911,
-0.007367552258074284,
0.03025013953447342,
0.07606174051761627,
-0.01602570340037346,
-0.04293328523635864,
-0.029581626877188683,
-0.023787861689925194,
-0.046684376895427704,
0.029618768021464348,
-0.03563537076115608,
0.005905183497816324,
-0.03554252162575722,
0.01019479800015688,
-0.10287646949291229,
0.02856029011309147,
-0.0330541729927063,
0.04891274869441986,
-0.01568216271698475,
-0.059237536042928696,
0.05942323058843613,
0.004282651003450155,
0.08363819867372513,
0.06551411002874374,
0.03955359011888504,
-0.0012697073398157954,
-0.05110397934913635,
0.0023931777104735374,
-0.020296746864914894,
0.018922585994005203,
0.0486527718603611,
0.0004932592273689806,
-0.0034516542218625546,
0.017390580847859383,
-0.007516110315918922,
0.0045217364095151424,
0.011643239296972752,
-0.00558485509827733,
0.007121502887457609,
-0.03156859055161476,
0.045941587537527084,
-0.04597872495651245,
-0.011680378578603268,
-0.04449314624071121,
0.004282651003450155,
-0.04683293402194977,
-0.00022008067753631622,
0.0054177273996174335,
0.030918650329113007,
-0.0051995329558849335,
0.015338622033596039,
-0.02551485039293766,
-0.007692523300647736,
0.010779745876789093,
0.039330750703811646,
0.026591897010803223,
-0.034391194581985474,
0.035152554512023926,
-0.05645206943154335,
-0.06740822643041611,
-0.03723236918449402,
-0.015450039878487587,
-0.004368536174297333,
-0.02276652492582798,
-0.0502869114279747,
-0.027724651619791985,
-0.027538953348994255,
0.0006400764104910195,
0.037696611136198044,
0.04939556121826172,
0.07019369304180145,
0.03728807717561722,
0.0005544814048334956,
-0.01608141139149666,
-0.03810514882206917,
0.07621029764413834,
-0.03219996392726898,
-0.011039722710847855,
0.012673861347138882,
-0.07030510902404785,
-0.015162209048867226,
0.001400856301188469,
-0.006104808766394854,
0.050064072012901306,
0.012553158216178417,
0.01831906847655773,
-0.055523581802845,
-0.010287647135555744,
-0.017297731712460518,
-0.04872705042362213,
0.023472176864743233,
-0.03281276673078537,
-0.012367459945380688,
-0.005566285457462072,
-0.016248539090156555,
0.00466565228998661,
-0.00598874781280756,
-0.04371321573853493,
0.0639171153306961,
-0.007975711487233639,
-0.07346197217702866,
-0.03251564875245094,
0.025997664779424667,
0.0006760553224012256,
0.06083453446626663,
0.04441886767745018,
-0.042636167258024216,
0.04687007516622543,
-0.002831888385117054,
0.040259238332509995,
0.030361557379364967,
-0.03355555608868599,
0.03673098608851433,
0.004721361678093672,
0.015932854264974594,
0.014651540666818619,
0.018021952360868454,
0.00725149130448699,
-0.02096525952219963,
-0.02064957283437252,
-0.008797423914074898,
0.03587677702307701,
-0.023249339312314987,
-0.03593248501420021,
0.014725819230079651,
0.06220869719982147,
0.03160573169589043,
0.0417819581925869,
0.03199569508433342,
-0.007037939038127661,
-0.004777070600539446,
0.0347997285425663,
0.014930087141692638,
0.026350488886237144,
-0.01388089545071125,
0.005700916517525911,
0.0009725911659188569,
-0.046944353729486465,
-0.0018302819225937128,
0.006699040997773409,
0.03236709162592888,
0.015013650991022587,
-0.024474943056702614,
0.06291434913873672,
-0.033908382058143616,
0.03455832228064537,
-0.0007950178696773946,
0.03056582435965538,
0.008110342547297478,
-0.029488779604434967,
0.004036601632833481,
-0.012711000628769398,
0.018866876140236855,
0.025050606578588486,
-0.030528685078024864,
0.02319362945854664,
0.0346883125603199,
0.007924645207822323,
-0.024177826941013336,
0.0048559922724962234,
-0.05830904468894005,
-0.025347722694277763,
-0.028226034715771675,
-0.022487979382276535,
0.020946688950061798,
-0.0314200334250927,
0.0382908433675766,
-0.0817069411277771,
-0.048429932445287704,
0.010556908324360847,
-0.0467957966029644,
-0.012339605949819088,
0.03550538048148155,
-0.029154522344470024,
-0.02213515341281891,
0.06581123173236847,
-0.010798315517604351,
-0.018393347039818764,
0.0048745619133114815,
0.009085254743695259,
-0.049506980925798416,
-0.05188390985131264,
0.0347997285425663,
-0.030714383348822594,
-0.027408964931964874,
-0.03192141652107239,
-0.0364895798265934,
0.0036791337188333273,
-0.035895347595214844,
-0.04776142165064812,
-0.018848305568099022,
-0.01176394335925579,
0.0708993449807167,
0.014057308435440063,
0.008885630406439304,
-0.0234536062926054,
0.028857406228780746,
-0.004981338046491146,
0.03286847472190857,
0.11134427785873413,
0.03112291730940342,
-0.02376929298043251,
-0.035579659044742584,
-0.04148484393954277,
0.015208633616566658,
-0.047241467982530594,
0.02302650175988674,
-0.04085347056388855,
-0.02495775744318962,
-0.0041619474068284035,
-0.030974360182881355,
-0.0366009958088398,
0.002629942260682583,
-0.0055894977413117886,
-0.004231584258377552,
-0.013147390447556973,
-0.06050027906894684,
-0.013370227068662643,
-0.0014252291293814778,
0.0046772584319114685,
0.0027158274315297604,
0.032404232770204544,
-0.0037093095015734434,
0.07427904009819031,
-0.029228802770376205,
0.021875176578760147,
-0.011308983899652958,
0.012516018003225327,
-0.036582428961992264,
0.02456779219210148,
-0.04586730897426605,
0.04560733214020729,
-0.01660136505961418,
-0.03767804428935051,
-0.002674045506864786,
-0.012998832389712334,
-0.002022943226620555,
0.0006888220086693764,
0.02133665420114994,
0.0008687165682204068,
0.023676443845033646,
-0.008337821811437607,
0.03056582435965538,
-0.03862510249018669,
0.03400123119354248,
0.05652634799480438,
-0.003152216784656048,
0.011457541957497597,
0.06031458079814911,
-0.012905983254313469,
-0.01771555095911026,
-0.0243820957839489,
-0.016675643622875214,
-0.02326790988445282,
-0.036341018974781036,
-0.004716719035059214,
-0.018792597576975822,
0.0022840804886072874,
-0.052738118916749954,
-0.04661009833216667,
0.07999852299690247,
0.0075439647771418095,
-0.0006801174604333937,
-0.024549223482608795,
0.018894730135798454,
0.029730185866355896,
-0.023007933050394058,
0.03717666119337082,
-0.010408350266516209,
0.05370374768972397,
0.03855082020163536,
-0.06102023273706436,
0.04661009833216667,
-0.02352788671851158,
-0.04839279502630234,
0.0030477619729936123,
0.010491914115846157,
-0.015236487612128258,
-0.041336286813020706,
-0.037139520049095154,
0.029451638460159302,
0.0010486111277714372,
0.04233905300498009,
0.00558485509827733,
0.015524319373071194,
-0.010111234150826931,
-0.03160573169589043,
0.017641272395849228,
-0.023472176864743233,
0.004131771624088287,
0.012256041169166565,
-0.05095542222261429,
0.006100166123360395,
-0.00474689481779933,
0.0022434592247009277,
0.014549407176673412,
-0.03286847472190857,
0.043007563799619675,
-0.04479026049375534,
-0.02040816657245159,
-0.042561888694763184,
-0.0113182682543993,
-0.02326790988445282,
-0.044567424803972244,
0.023435037583112717,
-0.0520324669778347,
0.011429687030613422,
-0.01159681472927332,
0.006220869719982147,
0.0819297805428505,
-0.04267330840229988,
-0.02271081693470478,
-0.025422001257538795,
-0.0009772336343303323,
-0.030658673495054245,
0.0009720108937472105,
-0.01895972527563572,
-0.002764573087915778,
0.011810366995632648,
0.03411265090107918,
-0.03388981148600578,
-0.03251564875245094,
-0.030454406514763832,
0.0011356568429619074,
0.01331451814621687,
0.03684240207076073,
0.037696611136198044,
-0.034836869686841965,
-0.016731353476643562,
-0.04233905300498009,
-0.009219885803759098,
-0.016034986823797226,
0.044827401638031006,
-0.02157806046307087,
-0.08564373105764389,
0.07197638601064682,
0.08222689479589462,
-0.01325880829244852,
0.08623796701431274,
-0.018894730135798454,
0.05440939590334892,
-0.003927504178136587,
-0.009971961379051208,
-0.04467884078621864,
-0.024289246648550034,
0.00592375360429287,
-0.05381516367197037,
-0.00988839752972126,
-0.01903400383889675,
0.04954411834478378,
0.033964090049266815,
0.09099182486534119,
-0.034539755433797836,
-0.0226365365087986,
-0.05830904468894005,
0.02089097909629345,
-0.018068376928567886,
-0.0116989491507411,
0.0022864018101245165,
-0.04753858596086502,
0.00565913412719965,
-0.027538953348994255,
-0.05151251330971718,
-0.026554755866527557,
0.0003867732884828001,
-0.004790998063981533,
0.0010967764537781477,
0.030083011835813522,
-0.004417281597852707,
0.05582069978117943,
0.00731648551300168,
-0.009693414904177189,
0.032905615866184235,
-0.04055635631084442,
-0.027297547087073326,
-0.0007068114937283099,
-0.027966057881712914,
-0.10146516561508179,
0.011086146347224712,
0.01821693405508995,
0.03192141652107239,
0.04816995561122894,
0.003927504178136587,
0.05069544538855553,
0.029154522344470024,
-0.03955359011888504,
-0.0503983274102211,
0.007367552258074284,
-0.0346883125603199,
0.02701900154352188,
0.034149788320064545,
0.05455795302987099,
-0.04739002883434296,
-0.048875607550144196,
0.059794627130031586,
0.025774827226996422,
-0.0019730369094759226,
0.007817869074642658,
0.0014995081583037972,
0.0038439403288066387,
-0.015013650991022587,
-0.045570190995931625,
-0.06313718110322952,
-0.0017037754878401756,
0.003776625031605363,
-0.024530652910470963,
0.016731353476643562,
0.04605300351977348,
-0.0151900639757514,
0.03025013953447342,
-0.009498432278633118,
0.041633401066064835,
0.009024903178215027,
-0.00024735499755479395,
0.019925352185964584,
0.03255278989672661,
-0.03149431198835373,
-0.0019730369094759226,
-0.0313643254339695,
-0.02701900154352188,
0.06194872036576271,
0.04642440006136894,
0.09864256531000137,
-0.06057455763220787,
-0.0037905522622168064,
-0.005529146175831556,
-0.014391563832759857,
0.06443706899881363,
-0.022933654487133026,
-0.00026026679552160203,
0.013323802500963211,
-0.11112144589424133,
-0.053555186837911606,
0.02057529427111149,
-0.009739839471876621,
-0.06005460396409035,
0.003646636614575982,
0.01946110837161541,
0.019442537799477577,
-0.013555924408137798,
-0.019498247653245926,
0.004175874870270491,
0.00481885252520442,
-0.0029781253542751074,
0.011986779980361462,
-0.0004807827062904835,
0.047501444816589355,
0.03344413638114929,
-0.042450472712516785,
0.01977679505944252,
-0.005060259718447924,
-0.017177028581500053,
-0.005501291248947382,
-0.006587622221559286,
0.05054688826203346,
-0.04497595876455307,
-0.08653508126735687,
0.046944353729486465,
0.06692541390657425,
0.020612433552742004,
-0.011903216131031513,
0.028300315141677856,
0.0782158300280571,
0.006360142957419157,
0.008959908969700336,
-0.011327553540468216,
-0.01340736635029316,
-0.08898629248142242,
-0.02165234088897705,
-0.022432269528508186,
0.05652634799480438,
0.07327627390623093,
-0.0021807861048728228,
0.028300315141677856,
0.032218534499406815,
-0.022413700819015503,
0.04367607459425926,
-0.06707397103309631,
0.0037626975681632757,
0.004716719035059214,
0.03101149946451187,
-0.016480661928653717,
0.020538154989480972,
0.08512377738952637,
0.039702147245407104,
0.005951608065515757,
-0.04059349372982979,
0.013073110952973366,
0.03762233257293701,
-0.010036955587565899,
-0.051549654453992844,
0.07290487736463547,
0.00008885920397005975,
-0.09076898545026779,
0.03112291730940342,
0.0036977033596485853,
0.015775011852383614,
0.012395314872264862,
0.03325844183564186,
0.035096846520900726,
-0.025180594995617867,
-0.018198365345597267,
-0.0015076324343681335,
-0.010036955587565899,
-0.00023574889928568155,
0.016276394948363304,
0.023342188447713852,
-0.02882026694715023,
0.02993445284664631,
0.03169858083128929,
0.005621994845569134,
0.06183730065822601,
-0.07465043663978577,
0.021169526502490044,
0.0277617909014225,
-0.036081042140722275,
-0.0020415131002664566,
0.010844740085303783,
-0.0006928841467015445,
0.004586730618029833,
0.06232011318206787,
-0.0487641915678978,
-0.035282544791698456,
-0.000028833905162173323,
0.0366009958088398,
-0.07650741189718246,
0.01927541010081768,
0.032218534499406815,
0.06012888252735138,
-0.08319252729415894,
-0.034149788320064545,
-0.008217118680477142,
0.008820636197924614,
0.0053713032975792885,
-0.031048638746142387,
-0.040073543787002563,
-0.05422369763255119,
0.027910349890589714,
0.009684129618108273,
-0.00004566274947137572,
-0.026870442554354668,
-0.03162430226802826,
-0.011234704405069351,
-0.03717666119337082,
-0.023602165281772614,
-0.05693488568067551,
0.017641272395849228,
0.0659969300031662,
-0.0009958033915609121,
-0.0008971515344455838,
0.026220500469207764,
0.024604931473731995,
-0.008398174308240414,
0.007790014147758484,
0.056860603392124176,
0.01378804724663496,
-0.052366722375154495,
-0.026480477303266525,
0.0573805570602417,
0.050249770283699036,
0.0002620076993480325,
0.0164713766425848,
0.006940447725355625,
-0.04542163386940956,
-0.0052552418783307076,
0.044196028262376785,
0.004431209061294794,
0.009294165298342705,
0.033017031848430634,
-0.020686712116003036,
0.0007317645940929651,
0.01655494049191475,
-0.019126852974295616,
-0.01639709807932377,
0.0347997285425663,
-0.015960708260536194,
-0.008625653572380543,
0.0011873040348291397,
-0.017696980386972427,
-0.05489221215248108,
-0.04661009833216667,
-0.023007933050394058,
-0.016694214195013046,
0.028987394645810127,
-0.022190863266587257,
0.008477095514535904,
0.02389928139746189,
0.041819099336862564,
-0.02633192017674446,
-0.034539755433797836,
-0.00871386006474495,
0.048429932445287704,
-0.033908382058143616,
0.030213000252842903,
-0.03762233257293701,
0.04995265603065491,
-0.042264774441719055,
-0.04739002883434296,
0.03985070437192917,
0.0017989454790949821,
-0.03855082020163536,
-0.03030584752559662,
0.0029966949950903654,
-0.0021842680871486664,
0.026926152408123016,
-0.010426919907331467,
-0.029488779604434967,
-0.0034980785567313433,
-0.027278976514935493,
0.13414794206619263,
0.018467625603079796,
0.0010793673573061824,
0.028486011549830437,
0.07398192584514618,
-0.0048838467337191105,
-0.07316485792398453,
0.049692679196596146,
0.0005614450783468783,
-0.018671894446015358,
-0.022803666070103645,
0.00934523157775402,
0.017492713406682014,
-0.009507717564702034,
-0.011104716919362545,
-0.021058108657598495,
-0.041336286813020706,
0.0044869184494018555,
0.004131771624088287,
0.0053898729383945465,
0.022283712401986122,
0.013713767752051353,
-0.04761286452412605,
0.02532915212213993,
-0.02233942039310932,
0.05608067661523819,
-0.015338622033596039,
-0.004043565131723881,
0.03323987126350403,
-0.043824631720781326,
0.03918219357728958,
0.09062042832374573,
0.03051011636853218,
-0.06399139016866684,
0.04991551488637924,
0.06521699577569962,
-0.019758224487304688,
0.007376837078481913,
-0.01848619617521763,
0.042710449546575546,
-0.01866260915994644,
0.023416467010974884,
0.007938572205603123,
-0.0030570467934012413,
-0.0017153816297650337,
-0.004194444511085749,
-0.008291398175060749,
-0.08490094542503357,
0.014670110307633877,
0.008073203265666962,
0.003755734069272876,
0.029600197449326515,
-0.04935842379927635,
-0.018848305568099022,
0.03444690629839897,
0.004925628658384085,
0.00844924058765173,
0.017446288838982582,
-0.006740822922438383,
0.06180015951395035,
-0.021540921181440353,
0.012980261817574501,
0.01874617300927639,
-0.02701900154352188,
0.008950624614953995,
0.041893377900123596,
-0.01959109678864479,
0.03609961271286011,
0.006536555476486683,
-0.02750181406736374,
0.04902416467666626,
0.02768751233816147,
0.05463223531842232,
0.026740454137325287,
0.06321146339178085,
-0.07175355404615402,
0.024474943056702614,
-0.017724836245179176,
-0.019851073622703552,
-0.06213441863656044,
-0.020798131823539734,
-0.009159534238278866,
0.033834103494882584,
0.06618262827396393,
-0.012256041169166565,
0.03663813695311546,
0.004981338046491146,
0.029303081333637238
] |
7,569 | hsbalance.model | __init__ | Instantiate the model
Args:
A: Initial vibration vector -> np.ndarray
alpha: instance of Alpha class
weight_const: dict class of planes index and maximum permissible weight
Returns: solution matrix W
| def __init__(self, A:np.array, alpha:'instance of Alpha class', conditions=None, weight_const={}, name=''):
""" Instantiate the model
Args:
A: Initial vibration vector -> np.ndarray
alpha: instance of Alpha class
weight_const: dict class of planes index and maximum permissible weight
Returns: solution matrix W
"""
self.weight_const = weight_const
super().__init__(A=A, alpha=alpha, conditions=conditions, name=name)
| (self, A: <built-in function array>, alpha: 'instance of Alpha class', conditions=None, weight_const={}, name='') | [
0.042975764721632004,
-0.033049702644348145,
-0.006835786160081625,
-0.003283129073679447,
-0.027324557304382324,
-0.047883033752441406,
-0.08758728951215744,
-0.03505722060799599,
0.03414640203118324,
0.038328733295202255,
-0.0403362512588501,
0.017844608053565025,
-0.013485691510140896,
0.020837297663092613,
-0.08126731961965561,
-0.00717966677621007,
0.05100584030151367,
0.03475981205701828,
-0.04182330146431923,
0.03620968386530876,
-0.003180894535034895,
-0.019387423992156982,
-0.01091123465448618,
0.1236482635140419,
0.03344005346298218,
0.055318284779787064,
-0.011608289554715157,
-0.0070170206017792225,
0.02658103220164776,
-0.056805338710546494,
-0.03524310141801834,
0.01579061895608902,
-0.005832027178257704,
0.03217605873942375,
0.040633659809827805,
0.003001983743160963,
0.023904340341687202,
-0.007955721579492092,
-0.09606347978115082,
0.0033295995090156794,
0.07134126126766205,
-0.05033666640520096,
0.0498533770442009,
-0.019350247457623482,
-0.014619567431509495,
-0.0124819315969944,
0.04323599860072136,
0.02245446667075157,
0.04368211328983307,
-0.0028765136376023293,
0.0148612130433321,
-0.030707597732543945,
0.057771921157836914,
-0.005985379219055176,
-0.040670838207006454,
0.07260525226593018,
0.011162174865603447,
0.049667492508888245,
0.03262217342853546,
-0.07859063148498535,
-0.029871130362153053,
-0.04461152106523514,
0.019852127879858017,
-0.024331867694854736,
-0.0285513736307621,
0.0034318342804908752,
-0.035986628383398056,
0.03383040428161621,
0.029462192207574844,
0.05286465212702751,
0.02423892728984356,
-0.038217201828956604,
-0.015957912430167198,
0.006519787944853306,
0.03286382183432579,
0.029369251802563667,
-0.06383164972066879,
-0.035020045936107635,
-0.004440240561962128,
-0.04148871451616287,
0.052976179867982864,
-0.01651555672287941,
-0.03351440653204918,
0.00200054794549942,
0.009447419084608555,
-0.04951879009604454,
-0.03120947629213333,
-0.04435128718614578,
0.062493305653333664,
-0.0309306550770998,
-0.08810775727033615,
0.03728779777884483,
0.0015160946641117334,
0.06732621788978577,
0.06238177791237831,
0.038812022656202316,
0.03818002715706825,
-0.07546782493591309,
0.05996531993150711,
0.003001983743160963,
-0.01996365562081337,
-0.014108393341302872,
-0.03028007037937641,
0.02185964584350586,
-0.035633452236652374,
-0.0404106043279171,
-0.023737046867609024,
-0.012853694148361683,
0.011152880266308784,
0.013485691510140896,
-0.004024330992251635,
0.09636088460683823,
-0.02678550034761429,
0.009038479998707771,
-0.05621051788330078,
0.01596720702946186,
-0.009805240668356419,
-0.02048412337899208,
0.006394318304955959,
0.0297224260866642,
0.02286340482532978,
0.017128964886069298,
-0.03981578350067139,
0.028867371380329132,
0.057809095829725266,
0.009981827810406685,
-0.015809208154678345,
-0.04490893334150314,
0.04368211328983307,
-0.05167501047253609,
-0.014656743966042995,
-0.0021527381613850594,
-0.030187129974365234,
0.009029186330735683,
0.0057530272752046585,
-0.01979636214673519,
0.006951962132006884,
0.0021016208920627832,
-0.015353798866271973,
0.05799497663974762,
0.00925689097493887,
0.02596762217581272,
0.03410922735929489,
-0.0038849199190735817,
0.006663845852017403,
-0.017194023355841637,
0.08238261193037033,
-0.04792020842432976,
-0.01256557833403349,
0.01644120365381241,
-0.031246652826666832,
0.02448057197034359,
-0.022881992161273956,
-0.00018805963918566704,
-0.011877818033099174,
-0.04412823170423508,
0.026023387908935547,
-0.0643521174788475,
0.039704255759716034,
-0.006566258147358894,
-0.03464828059077263,
0.009545006789267063,
-0.04658186435699463,
-0.013643690384924412,
0.0025814271066337824,
0.011831346899271011,
-0.03293817490339279,
0.03146971017122269,
-0.021432118490338326,
-0.004828267730772495,
0.002839337568730116,
-0.08282872289419174,
-0.05899873748421669,
0.023216579109430313,
0.004865444265305996,
0.030075600370764732,
0.029016077518463135,
-0.0035294219851493835,
0.06989138573408127,
-0.03548474609851837,
0.05293900519609451,
0.045392222702503204,
-0.06966832280158997,
0.04342187941074371,
0.027398908510804176,
-0.016562027856707573,
0.010697470977902412,
0.04319882392883301,
0.0019343276508152485,
-0.011468878947198391,
-0.00357356877066195,
0.006910138763487339,
0.02407163381576538,
-0.013448514975607395,
-0.007741957902908325,
0.03844026103615761,
0.03996448963880539,
-0.037324972450733185,
-0.021562235429883003,
0.04565245658159256,
0.006315318401902914,
-0.06476105749607086,
0.004056860227137804,
0.029666662216186523,
0.021673765033483505,
0.00012191201676614583,
0.03847743570804596,
-0.017435669898986816,
-0.042157888412475586,
-0.0355776883661747,
-0.01861601695418358,
-0.009466007351875305,
0.044016700237989426,
-0.027082910761237144,
0.05331076681613922,
-0.038049910217523575,
0.0004278175183571875,
0.013355574570596218,
0.04840350151062012,
-0.006807904224842787,
0.009693711996078491,
0.01689661294221878,
-0.03940684348344803,
0.0011687289224937558,
-0.0019738273695111275,
-0.018365075811743736,
0.03840308636426926,
0.017268376424908638,
-0.051154546439647675,
0.006236318964511156,
-0.026766913011670113,
-0.05215830355882645,
-0.0027533674146980047,
-0.045949868857860565,
-0.017370611429214478,
0.008773598819971085,
-0.032324764877557755,
0.023811399936676025,
-0.029945483431220055,
-0.05394276604056358,
0.0475856214761734,
-0.02161799930036068,
0.002521015703678131,
0.05197242274880409,
-0.0037687441799789667,
-0.024127397686243057,
0.04200918227434158,
0.026766913011670113,
-0.025818917900323868,
-0.061043430119752884,
-0.05096866190433502,
-0.026265032589435577,
-0.04550375044345856,
0.05740015581250191,
-0.0285141970962286,
-0.001160015701316297,
-0.0015323592815548182,
-0.04412823170423508,
0.0018448722548782825,
-0.04673057049512863,
-0.04134000837802887,
-0.011478172615170479,
-0.012928047217428684,
0.062047190964221954,
0.005427734926342964,
0.015074976719915867,
-0.0021736498456448317,
0.0272687915712595,
0.001383654191158712,
0.01498203631490469,
0.10617542266845703,
0.03278946876525879,
0.013253339566290379,
-0.021041767671704292,
-0.015604738146066666,
-0.005316206254065037,
-0.0038477436173707247,
0.018216371536254883,
-0.04000166431069374,
0.02299352176487446,
-0.03632121533155441,
-0.02254740707576275,
-0.020577063784003258,
0.04390517249703407,
-0.03892355412244797,
-0.018876250833272934,
0.0061944955959916115,
0.008815422654151917,
0.010474413633346558,
-0.05516958236694336,
0.01644120365381241,
0.053013358265161514,
0.03632121533155441,
0.016385439783334732,
0.0617869570851326,
-0.049667492508888245,
0.0033388936426490545,
0.00806725025177002,
0.0666942223906517,
-0.006213083863258362,
0.05855262279510498,
-0.01968483440577984,
0.06386882811784744,
-0.03238052874803543,
-0.08632329106330872,
-0.006073672790080309,
0.018848367035388947,
0.017259081825613976,
0.014508038759231567,
0.006831139326095581,
0.023253755643963814,
0.06851585954427719,
-0.014656743966042995,
0.05617333948612213,
-0.006306024268269539,
-0.00975877046585083,
0.03552192449569702,
-0.021766705438494682,
0.01959189400076866,
0.10193732380867004,
-0.0018657839391380548,
0.019610481336712837,
-0.05331076681613922,
-0.04464869946241379,
-0.03109794855117798,
-0.04951879009604454,
0.06293942034244537,
-0.030819125473499298,
0.008192719891667366,
-0.008123014122247696,
-0.06870174407958984,
0.06349706649780273,
0.03152547404170036,
-0.03269652649760246,
-0.060597315430641174,
0.0056600868701934814,
0.021487882360816002,
0.01707320101559162,
-0.010613824240863323,
-0.006714963354170322,
0.03065183199942112,
-0.0043775057420134544,
-0.03888637572526932,
0.06372012197971344,
0.0038640082348138094,
-0.06316247582435608,
0.000011245458154007792,
-0.03472263365983963,
0.02585609443485737,
-0.04386799782514572,
-0.050187960267066956,
0.023179402574896812,
0.039667077362537384,
0.07022596895694733,
0.029982659965753555,
0.016422616317868233,
-0.01827213540673256,
0.013494985178112984,
-0.01754719763994217,
-0.014303568750619888,
-0.025019628927111626,
0.013727337121963501,
-0.0905613899230957,
0.0037315678782761097,
0.008555188775062561,
-0.029164781793951988,
0.019536128267645836,
-0.03366310894489288,
0.058701325207948685,
-0.022231407463550568,
0.02000083215534687,
-0.05899873748421669,
-0.05044819414615631,
0.010269943624734879,
-0.0012128757080063224,
0.02096741460263729,
-0.04316164553165436,
0.0036548918578773737,
0.015456032939255238,
-0.026636796072125435,
0.04907267540693283,
-0.002748720347881317,
0.01948036439716816,
-0.0005222103791311383,
-0.0092243617400527,
-0.030949242413043976,
0.008871186524629593,
0.019852127879858017,
0.011905699968338013,
0.03366310894489288,
-0.024461984634399414,
-0.049779023975133896,
0.008243837393820286,
-0.03217605873942375,
0.0027440732810646296,
-0.011924288235604763,
-0.02951795607805252,
0.03552192449569702,
-0.05557851865887642,
-0.003259893972426653,
-0.04658186435699463,
-0.041079774498939514,
-0.012230992317199707,
0.013216163031756878,
-0.033941932022571564,
-0.043533410876989365,
0.06914785504341125,
0.06810691952705383,
-0.0069380211643874645,
0.019536128267645836,
-0.01900636777281761,
0.05174936354160309,
-0.05152630805969238,
0.0007336504058912396,
-0.015316622331738472,
-0.003938361071050167,
0.07108102738857269,
-0.05338511988520622,
-0.00972159393131733,
-0.015530386008322239,
0.03436946123838425,
0.05134042724967003,
0.08885128051042557,
0.033532992005348206,
0.026432326063513756,
0.021599411964416504,
-0.0055206757970154285,
0.008192719891667366,
0.028978900983929634,
-0.014749684371054173,
-0.06777233630418777,
-0.03265935182571411,
-0.021153297275304794,
-0.08706682175397873,
-0.002660426776856184,
-0.0038709789514541626,
-0.013020987622439861,
-0.04271553084254265,
0.01879260316491127,
-0.0003845420142170042,
0.051600661128759384,
-0.03936966881155968,
0.019024955108761787,
0.01885766163468361,
-0.07580240815877914,
-0.050150785595178604,
0.023439636453986168,
-0.003977860789746046,
-0.05134042724967003,
-0.022008350118994713,
0.06290224194526672,
0.040633659809827805,
0.042529650032520294,
-0.0031971591524779797,
0.032045941799879074,
0.013662278652191162,
-0.06093190237879753,
-0.05650792643427849,
0.021562235429883003,
-0.043012943118810654,
0.01955471746623516,
0.006371082738041878,
0.0012605078518390656,
-0.029666662216186523,
-0.0331612303853035,
0.05044819414615631,
0.029833955690264702,
-0.027398908510804176,
-0.012203110381960869,
-0.011348055675625801,
0.038849201053380966,
0.005920320749282837,
-0.022212820127606392,
-0.05624769255518913,
0.012472637929022312,
0.0018065342446789145,
0.0035549805033951998,
-0.003664185991510749,
-0.004791091661900282,
-0.028049493208527565,
-0.014331451617181301,
0.0006227024714462459,
0.015576856210827827,
0.03661862388253212,
0.006970550399273634,
0.013402044773101807,
0.010418648831546307,
-0.02589327096939087,
0.001317434012889862,
-0.002041209489107132,
-0.06245613098144531,
0.054834995418787,
0.0427527092397213,
0.10074768960475922,
-0.003055424429476261,
0.03390475735068321,
0.01855095848441124,
0.003496892750263214,
0.017575081437826157,
0.02020530216395855,
0.004735327325761318,
-0.056879688054323196,
-0.11807182431221008,
-0.013736630789935589,
0.01149676088243723,
-0.06029990687966347,
-0.06907350569963455,
-0.03866332024335861,
0.014415097422897816,
-0.004375182092189789,
-0.00855054147541523,
-0.0012651549186557531,
-0.011440996080636978,
-0.006250259932130575,
0.023737046867609024,
0.017296258360147476,
-0.044499993324279785,
0.0033551582600921392,
-0.016041560098528862,
-0.028681490570306778,
0.019164366647601128,
-0.008206660859286785,
0.011004175059497356,
-0.016283204779028893,
0.011654759757220745,
0.036804504692554474,
0.0008196205017156899,
-0.07007726281881332,
0.06825562566518784,
0.06937091797590256,
-0.012658519670367241,
-0.037808265537023544,
-0.018114136531949043,
0.11353632062673569,
-0.0037013620603829622,
0.021841056644916534,
0.014043334871530533,
-0.04427693411707878,
-0.023123638704419136,
-0.01369016058743,
0.009888887405395508,
0.03186006098985672,
0.033811815083026886,
-0.06624811142683029,
0.026525266468524933,
0.006738198455423117,
-0.04937008395791054,
0.03176712244749069,
-0.058329563587903976,
-0.03548474609851837,
-0.02040977030992508,
-0.015056388452649117,
-0.024331867694854736,
0.01871825009584427,
0.05840391665697098,
0.03903508186340332,
0.005762321408838034,
-0.04264117777347565,
-0.004939796403050423,
0.036432743072509766,
0.0009892372181639075,
-0.060597315430641174,
0.03903508186340332,
0.023532576858997345,
-0.05643357336521149,
0.003185541369020939,
0.022249996662139893,
0.01379239559173584,
0.01655273325741291,
0.021673765033483505,
0.018467310816049576,
-0.05613616481423378,
-0.006161966361105442,
0.01474038977175951,
-0.059667911380529404,
-0.017984019592404366,
0.025056805461645126,
-0.001622976385988295,
-0.053050532937049866,
-0.011924288235604763,
0.021302001550793648,
-0.004231124185025692,
-0.05323641374707222,
-0.023421049118041992,
0.023848576471209526,
-0.024740805849432945,
-0.010836882516741753,
0.0021132384426891804,
-0.017714491114020348,
-0.01435933355242014,
0.003754802979528904,
0.031358182430267334,
0.000691827095579356,
-0.006570905447006226,
-0.03992731124162674,
0.03407204896211624,
-0.038049910217523575,
0.0067893159575760365,
0.04654468595981598,
0.018848367035388947,
-0.0640547126531601,
-0.014600979164242744,
-0.015047094784677029,
0.021989762783050537,
0.014508038759231567,
-0.01198005210608244,
-0.010037592612206936,
0.0006610405398532748,
0.015511797741055489,
-0.014666037634015083,
0.021357765421271324,
-0.03344005346298218,
-0.004705121275037527,
-0.019220130518078804,
-0.0031716004014015198,
-0.013820277526974678,
-0.031432535499334335,
0.021952586248517036,
0.06673140078783035,
0.03383040428161621,
-0.017872489988803864,
-0.0008382086525671184,
-0.0035805392544716597,
0.01992647908627987,
0.006436141207814217,
0.00855054147541523,
0.05245571210980415,
-0.07873933762311935,
0.005804144777357578,
0.01593003049492836,
0.08855386823415756,
0.02762196771800518,
-0.017956137657165527,
0.01020488515496254,
-0.035391807556152344,
-0.013141810894012451,
-0.019257307052612305,
0.025707388296723366,
0.024870922788977623,
0.048291973769664764,
-0.008592365309596062,
0.016905907541513443,
0.03764097020030022,
0.028458433225750923,
0.03269652649760246,
0.01931307092308998,
-0.030837714672088623,
-0.03628403693437576,
-0.008996657095849514,
0.02213846705853939,
-0.06736339628696442,
-0.054686289280653,
-0.07189889997243881,
0.0077047813683748245,
0.015604738146066666,
0.025558684021234512,
0.010595235973596573,
0.016506262123584747,
0.042529650032520294,
0.01861601695418358,
-0.06145237013697624,
0.015706973150372505,
0.032083120197057724,
-0.006338553503155708,
0.045392222702503204,
-0.02254740707576275,
0.03918378800153732,
-0.08141602575778961,
-0.030596068128943443,
0.029852543026208878,
-0.03065183199942112,
-0.021432118490338326,
0.009879592806100845,
-0.019498951733112335,
0.007560723461210728,
0.04739974066615105,
0.006714963354170322,
0.006222377996891737,
0.054983701556921005,
-0.03016854077577591,
0.07673181593418121,
0.001990091986954212,
0.03723203390836716,
-0.04137718677520752,
0.07119255512952805,
-0.01944318786263466,
-0.09256890416145325,
0.03764097020030022,
0.025707388296723366,
-0.029815366491675377,
-0.04420258104801178,
-0.03451816365122795,
0.015716267749667168,
-0.007797722239047289,
0.0013650660403072834,
-0.0296480730175972,
-0.05606181174516678,
-0.005836674012243748,
0.02172952890396118,
0.006566258147358894,
0.04230659455060959,
0.03515016287565231,
-0.050634078681468964,
0.05193524435162544,
-0.008490130305290222,
0.009647241793572903,
-0.04695362597703934,
0.00977735873311758,
0.03858896717429161,
-0.07108102738857269,
0.035187337547540665,
0.06572764366865158,
0.01623673550784588,
-0.052567243576049805,
0.019833538681268692,
0.06829280406236649,
0.0010415164288133383,
0.020670004189014435,
-0.04464869946241379,
0.03858896717429161,
-0.027082910761237144,
0.0024257514160126448,
0.028607137501239777,
-0.022398700937628746,
-0.016422616317868233,
0.000982266734354198,
-0.027603378519415855,
-0.04479740187525749,
0.0034318342804908752,
0.0016682849964126945,
0.012955929152667522,
0.017194023355841637,
-0.047845855355262756,
-0.004691180307418108,
0.0029973366763442755,
-0.020075185224413872,
0.001826284104026854,
0.012110169045627117,
0.025186922401189804,
0.06119213625788689,
0.008141602389514446,
0.027157263830304146,
0.010548765771090984,
-0.009131420403718948,
0.01882048510015011,
0.045429401099681854,
-0.01582779549062252,
0.029164781793951988,
0.0027533674146980047,
-0.04461152106523514,
0.030707597732543945,
0.012537696398794651,
0.029146194458007812,
0.012128757312893867,
0.06821845471858978,
-0.05751168727874756,
0.031432535499334335,
-0.01907142624258995,
-0.015632620081305504,
-0.07740098983049393,
-0.0296480730175972,
-0.02548433095216751,
0.035707805305719376,
0.05171218886971474,
-0.05275312438607216,
0.030912065878510475,
0.05364535376429558,
0.02790078893303871
] |
7,575 | hsbalance.model | solve |
Method to solve the Minmax model
| def solve(self, solver=None):
'''
Method to solve the Minmax model
'''
W = cp.Variable((self.N,1),complex=True)
_objective = cp.Minimize(cp.norm((self.ALPHA @ W + self.A),"inf"))
# Define weight constraints
_constrains = []
if self.weight_const != {}:
try:
for key, value in self.weight_const.items():
_constrains += [cp.norm(W[key]) <= value]
except NameError:
raise tools.CustomError('Invalid weight constraint format')
else:
pass
prob=cp.Problem(_objective, _constrains)
prob.solve()
self.W = W.value
return W.value
| (self, solver=None) | [
0.049537379294633865,
-0.017878424376249313,
-0.00093891192227602,
0.02556650899350643,
-0.03717116639018059,
-0.034034281969070435,
-0.035049691796302795,
-0.05867604538798332,
0.046418625861406326,
-0.004480938892811537,
-0.02902977354824543,
-0.028014367446303368,
0.0010856700828298926,
-0.014070646837353706,
-0.0813051238656044,
0.04645489156246185,
0.005385286174714565,
-0.04391637444496155,
-0.05087916925549507,
0.03949209675192833,
0.004709858912974596,
-0.04645489156246185,
0.025548378005623817,
0.06513113528490067,
0.0062239039689302444,
0.01972791738808155,
0.033580977469682693,
-0.021160366013646126,
-0.030008917674422264,
-0.0394558347761631,
-0.03999980166554451,
0.06056180223822594,
0.002719841431826353,
-0.04119653254747391,
0.05635511502623558,
0.018349863588809967,
0.03637334704399109,
-0.009646371006965637,
-0.038875602185726166,
-0.08101501315832138,
0.021794995293021202,
-0.04406142979860306,
0.04790547490119934,
-0.0015695751644670963,
0.02469616010785103,
0.007611022796481848,
0.024678027257323265,
0.07082466781139374,
0.0562463216483593,
-0.03789645805954933,
0.008009932935237885,
-0.03289194777607918,
0.034541986882686615,
-0.04881208762526512,
-0.050045084208250046,
0.02157740853726864,
-0.005956452805548906,
0.04326361045241356,
0.05374406650662422,
-0.0937076061964035,
-0.03822283819317818,
-0.06281020492315292,
0.03135070577263832,
-0.03138697147369385,
-0.035140350461006165,
0.0017792296130210161,
-0.029446816071867943,
0.008064329624176025,
0.0698455274105072,
0.04221193864941597,
0.0027561059687286615,
-0.05156819522380829,
-0.03548486530780792,
-0.0025271859485656023,
0.056681495159864426,
-0.00927012600004673,
-0.04794173687696457,
-0.052547335624694824,
-0.04815932735800743,
-0.01735258847475052,
0.016690760850906372,
-0.009954620152711868,
-0.00314368330873549,
-0.009279192425310612,
0.008263785392045975,
-0.11024423688650131,
0.05813207849860191,
-0.01998176798224449,
0.046273570507764816,
-0.013617339543998241,
-0.013064305298030376,
0.039927273988723755,
0.02058013342320919,
0.05127807706594467,
0.0406525619328022,
0.0406525619328022,
0.005915655288845301,
-0.03330899029970169,
0.005602873396128416,
-0.0061332425102591515,
-0.003359004156664014,
0.06313658505678177,
-0.01119668036699295,
0.04587465897202492,
0.004118293058127165,
-0.022465890273451805,
0.008948278613388538,
-0.021613674238324165,
0.0019412868423387408,
0.034088678658008575,
-0.04014486074447632,
0.009646371006965637,
-0.04493178054690361,
-0.016890214756131172,
-0.01431543193757534,
0.012565667741000652,
-0.04859450086951256,
0.035104088485240936,
0.029192965477705002,
0.02038067951798439,
-0.032674361020326614,
0.030099578201770782,
-0.04699886217713356,
-0.04297349601984024,
0.01084310095757246,
0.04790547490119934,
0.031767748296260834,
-0.06494981050491333,
0.06462343037128448,
-0.05439683049917221,
-0.008553901687264442,
-0.04101520776748657,
0.0041432250291109085,
0.011287341825664043,
-0.007193980738520622,
-0.04192182421684265,
-0.05156819522380829,
-0.03214852511882782,
0.035847511142492294,
0.02027188427746296,
0.040978945791721344,
0.04935605451464653,
-0.010951895266771317,
-0.013399751856923103,
-0.013726132921874523,
-0.03416121006011963,
0.04645489156246185,
-0.007434233091771603,
-0.01763363927602768,
0.026237403973937035,
-0.054215505719184875,
-0.028014367446303368,
0.01000901684165001,
-0.023789547383785248,
0.04079762101173401,
0.007515828590840101,
0.036300815641880035,
-0.02485935017466545,
-0.01630091667175293,
-0.03854921832680702,
-0.03807777911424637,
0.03659093379974365,
-0.046273570507764816,
-0.002812769263982773,
-0.018377061933279037,
-0.019655387848615646,
0.01155025977641344,
0.03135070577263832,
-0.03553926199674606,
0.07999960333108902,
-0.020199356600642204,
-0.0854392871260643,
-0.08667228370904922,
0.03804151713848114,
0.017298191785812378,
0.024242853745818138,
0.03575684875249863,
-0.02667257934808731,
0.03205786645412445,
0.0058793905191123486,
-0.012964577414095402,
0.05185830965638161,
-0.029356155544519424,
0.02117849886417389,
0.014333564788103104,
0.018803169950842857,
0.026255536824464798,
0.017814962193369865,
-0.04522189870476723,
-0.010571117512881756,
-0.042792171239852905,
-0.024442307651042938,
-0.004032164812088013,
-0.026654446497559547,
-0.03436066210269928,
0.032384246587753296,
0.06502234190702438,
0.041631706058979034,
0.023789547383785248,
0.04728897660970688,
0.025040673092007637,
-0.0319853350520134,
0.02984572760760784,
0.03138697147369385,
0.008499504998326302,
-0.03044409118592739,
-0.023227445781230927,
-0.006219370756298304,
-0.018694376572966576,
0.019455932080745697,
0.006572950165718794,
0.0166635625064373,
-0.02922922931611538,
-0.025076938793063164,
0.07096973061561584,
-0.04014486074447632,
0.028014367446303368,
-0.024931879714131355,
0.0209246464073658,
0.02650938741862774,
-0.03468704596161842,
-0.010951895266771317,
0.02449670620262623,
0.0018993559060618281,
0.017787763848900795,
-0.02988199144601822,
0.0013871191767975688,
0.025729700922966003,
0.011858508922159672,
-0.03194906935095787,
0.011314540170133114,
-0.06012662872672081,
-0.024387910962104797,
-0.029501212760806084,
0.005412484519183636,
-0.01848585531115532,
-0.05026267096400261,
0.04322734847664833,
-0.022882932797074318,
-0.025348922237753868,
-0.004913846962153912,
-0.024786822497844696,
0.010072479955852032,
0.07285548746585846,
-0.040978945791721344,
0.0014131843345239758,
0.07162249088287354,
-0.016690760850906372,
0.010018082335591316,
0.031169382855296135,
0.016736090183258057,
-0.05323636159300804,
-0.047978002578020096,
0.021523011848330498,
-0.023336239159107208,
-0.0004782387986779213,
-0.026328064501285553,
-0.01660916581749916,
-0.012465939857065678,
-0.03804151713848114,
-0.048884615302085876,
0.0001260051503777504,
0.007665419951081276,
0.05871231108903885,
0.0056119393557310104,
0.015303641557693481,
-0.03468704596161842,
0.008399777114391327,
0.005086103454232216,
0.03367163613438606,
0.04536695405840874,
0.03717116639018059,
-0.0015945070190355182,
-0.009052539244294167,
-0.02636433020234108,
0.0031051523983478546,
-0.012302749790251255,
0.026074213907122612,
-0.03316393494606018,
0.0005578508134931326,
-0.03537607192993164,
-0.00878962129354477,
-0.03367163613438606,
-0.028195690363645554,
-0.03724369406700134,
0.032384246587753296,
-0.03481397032737732,
-0.04493178054690361,
-0.012701659463346004,
-0.018585583195090294,
0.01182224415242672,
0.008803220465779305,
0.038259103894233704,
-0.01723472960293293,
0.06030794978141785,
-0.031006192788481712,
0.0034043348859995604,
0.011994500644505024,
0.0554485023021698,
0.015938270837068558,
0.016028933227062225,
-0.036355212330818176,
-0.013653604313731194,
-0.006863066460937262,
-0.023989001289010048,
0.009134134277701378,
-0.04881208762526512,
0.027361605316400528,
0.018658112734556198,
0.05040773004293442,
-0.03254743665456772,
0.025221996009349823,
-0.015367104671895504,
0.044097695499658585,
0.004249752499163151,
0.0030643546488136053,
0.04286470264196396,
0.006282833870500326,
0.005820460617542267,
0.07528521120548248,
-0.00525835994631052,
-0.022066980600357056,
-0.03568432107567787,
-0.042792171239852905,
-0.04028991982340813,
-0.04391637444496155,
-0.03120564855635166,
-0.016908347606658936,
0.023481298238039017,
-0.05635511502623558,
-0.01393465418368578,
0.0467812716960907,
0.04975496605038643,
-0.024786822497844696,
-0.0279237050563097,
0.015439633280038834,
0.07833143323659897,
-0.0028603665996342897,
0.0056119393557310104,
-0.025820361450314522,
0.03608322888612747,
0.05196710303425789,
-0.041450385004282,
0.023372504860162735,
0.01104255672544241,
-0.04282843694090843,
-0.02293732948601246,
-0.001563908881507814,
-0.023027991876006126,
-0.04152291268110275,
-0.04221193864941597,
0.017135001718997955,
-0.007239311467856169,
0.007765147369354963,
-0.013272826559841633,
0.049537379294633865,
0.005702600814402103,
-0.009963685646653175,
0.024678027257323265,
-0.024079663679003716,
-0.016863016411662102,
0.011640921235084534,
-0.03637334704399109,
0.015639089047908783,
0.0014403826789930463,
0.0030235571321099997,
0.030226504430174828,
-0.056681495159864426,
0.05845845863223076,
-0.03200346603989601,
-0.0028263686690479517,
-0.04754282906651497,
-0.038259103894233704,
-0.025348922237753868,
-0.05417924001812935,
0.057588111609220505,
-0.05947386473417282,
0.022610949352383614,
-0.0013395219575613737,
-0.04351746290922165,
0.07985454797744751,
-0.021921921521425247,
-0.0022971327416598797,
-0.01650037057697773,
0.00220420490950346,
-0.04950111359357834,
-0.010435124859213829,
0.004156824201345444,
0.01388932392001152,
0.001551442896015942,
0.00819125585258007,
-0.0346507802605629,
-0.01638251170516014,
-0.016999009996652603,
0.013345355167984962,
0.020507603883743286,
0.041994351893663406,
0.012166757136583328,
-0.041631706058979034,
-0.0017996284877881408,
-0.018123209476470947,
-0.03626455366611481,
0.007003591861575842,
0.05650017410516739,
-0.06244755908846855,
-0.06375308334827423,
0.028141293674707413,
0.0887756273150444,
-0.0013667203020304441,
0.0895734429359436,
-0.03648214042186737,
0.06883011758327484,
0.01288298238068819,
-0.028304483741521835,
-0.06806856393814087,
-0.013590141199529171,
0.01987297460436821,
-0.014251968823373318,
0.012284616939723492,
-0.02114223502576351,
0.03535793721675873,
-0.00945598166435957,
0.06179479882121086,
-0.001851758686825633,
-0.020725192502141,
-0.045403219759464264,
0.03535793721675873,
-0.05037146434187889,
-0.043807581067085266,
-0.004619197454303503,
-0.035085953772068024,
0.0022699343971908092,
0.022629080340266228,
-0.028250087052583694,
-0.010951895266771317,
0.009537577629089355,
-0.02284666895866394,
0.010906564071774483,
0.009655437432229519,
0.005376219749450684,
0.06774218380451202,
-0.00762462243437767,
-0.01737978681921959,
0.010698042809963226,
-0.01876690611243248,
-0.05650017410516739,
0.02676323987543583,
-0.03486836701631546,
-0.10531225800514221,
0.031314440071582794,
0.036355212330818176,
0.016001733019948006,
0.03220292180776596,
0.029573742300271988,
0.05160445719957352,
0.03468704596161842,
0.014868466183543205,
-0.03648214042186737,
-0.006409759633243084,
-0.0365184061229229,
0.037316225469112396,
0.023608224466443062,
0.08892068266868591,
-0.02339063584804535,
-0.07920178025960922,
0.04021738842129707,
-0.001623971969820559,
0.007737949024885893,
0.041631706058979034,
-0.026291800662875175,
0.006260168273001909,
-0.03437879681587219,
-0.0803622454404831,
-0.06788723915815353,
0.01763363927602768,
0.005285558756440878,
-0.02475055679678917,
0.05037146434187889,
0.04061629995703697,
-0.024931879714131355,
-0.028794055804610252,
-0.010353529825806618,
0.04699886217713356,
0.023118652403354645,
0.004385744221508503,
-0.011405201628804207,
0.037860192358493805,
-0.049682438373565674,
-0.00943784974515438,
-0.021649938076734543,
0.006872132886201143,
0.07934684306383133,
0.05845845863223076,
0.060453008860349655,
-0.032384246587753296,
-0.008989076130092144,
-0.022357096895575523,
-0.03552113100886345,
0.03815031051635742,
0.011015357449650764,
-0.024079663679003716,
0.00819125585258007,
-0.09675382822751999,
-0.036409612745046616,
0.04257458448410034,
-0.036808520555496216,
-0.06114203482866287,
0.018857566639780998,
0.006341763772070408,
0.0006844934541732073,
-0.0023911939933896065,
-0.03209412842988968,
-0.03602883219718933,
-0.009845825843513012,
0.01013594213873148,
0.0277242511510849,
-0.014596482738852501,
0.03310953825712204,
0.018476789817214012,
-0.014306366443634033,
0.023626355454325676,
-0.01524924486875534,
-0.03004518151283264,
-0.009891157038509846,
0.010181273333728313,
0.023426901549100876,
-0.057588111609220505,
-0.060453008860349655,
0.03044409118592739,
0.06418825685977936,
0.04311855137348175,
-0.02777864784002304,
0.013979985378682613,
0.07086093723773956,
-0.002316398313269019,
0.030625414103269577,
-0.017960019409656525,
-0.026237403973937035,
-0.10473202913999557,
0.004242952447384596,
-0.03689918294548988,
0.037570077925920486,
0.07115105539560318,
-0.015548426657915115,
0.04663621634244919,
0.04884835332632065,
-0.056282587349414825,
0.05780569836497307,
-0.08362606167793274,
-0.006232969928532839,
-0.002685843501240015,
0.03394361957907677,
-0.0064732227474451065,
0.02988199144601822,
0.09385266155004501,
0.017270993441343307,
-0.0070443893782794476,
-0.005507678724825382,
0.016364378854632378,
0.028721526265144348,
-0.007946469821035862,
-0.09921981394290924,
0.017261927947402,
0.03475957363843918,
-0.07586544752120972,
0.004580666311085224,
0.01851305365562439,
0.010145008563995361,
0.03804151713848114,
0.05388912558555603,
0.028340747579932213,
-0.004607864655554295,
0.009746098890900612,
0.010725241154432297,
0.003449665615335107,
0.01567535288631916,
0.016826752573251724,
0.010634579695761204,
-0.04242952540516853,
0.04076135903596878,
0.020852118730545044,
-0.005874857772141695,
0.06484101712703705,
-0.015140450559556484,
0.0029283626936376095,
0.011260143481194973,
-0.04467792809009552,
-0.012937379069626331,
-0.0406525619328022,
0.02047134004533291,
0.008127792738378048,
0.03530354052782059,
-0.0513143427670002,
0.001211462658829987,
0.010824969038367271,
0.017787763848900795,
-0.07818637788295746,
0.02157740853726864,
0.08493158221244812,
0.04986375942826271,
-0.07227525115013123,
-0.043843843042850494,
-0.011378003284335136,
0.02922922931611538,
0.01386212557554245,
-0.010879365727305412,
-0.019999900832772255,
-0.049428585916757584,
0.027506662532687187,
-0.022357096895575523,
0.013417884707450867,
-0.05454188585281372,
0.005036239977926016,
0.0022280034609138966,
-0.05287371948361397,
-0.0009071804233826697,
-0.013245628215372562,
-0.0030212905257940292,
0.026980826631188393,
-0.008245652541518211,
0.03416121006011963,
-0.0030734208412468433,
0.01956472545862198,
-0.0014131843345239758,
0.015285508707165718,
0.06386187672615051,
0.04924726113677025,
-0.012465939857065678,
-0.02868526056408882,
0.028558336198329926,
0.02248402312397957,
0.026183007284998894,
0.005072504281997681,
0.0075974236242473125,
-0.08007213473320007,
0.011251077055931091,
0.0603804811835289,
0.008762422949075699,
-0.005756997969001532,
0.016491305083036423,
-0.015031657181680202,
0.03535793721675873,
0.007125984411686659,
-0.02319118194282055,
-0.0031822144519537687,
0.045657072216272354,
0.0010295732645317912,
-0.016137726604938507,
-0.019437801092863083,
0.00018528920190874487,
-0.07020817697048187,
-0.06465969979763031,
-0.05153192952275276,
-0.0005550176720134914,
0.055230915546417236,
-0.03251117095351219,
0.051096756011247635,
0.001985484268516302,
0.03822283819317818,
-0.03155016154050827,
-0.056282587349414825,
-0.012728857807815075,
0.033435918390750885,
-0.05533970892429352,
0.044750459492206573,
-0.011278276331722736,
-0.008327247574925423,
-0.025838494300842285,
-0.015385236591100693,
-0.027089620009064674,
-0.02188565768301487,
-0.0398547425866127,
-0.043299876153469086,
-0.001271525863558054,
-0.01524924486875534,
0.04076135903596878,
-0.01318216510117054,
-0.012275551445782185,
-0.02520386502146721,
-0.04087015241384506,
0.14150428771972656,
0.026944562792778015,
-0.01431543193757534,
0.030407827347517014,
0.0467812716960907,
-0.0037012510001659393,
-0.06190359219908714,
0.03457825258374214,
0.029827594757080078,
0.013671736232936382,
-0.0735807791352272,
-0.009428783319890499,
0.003501795930787921,
0.017017140984535217,
0.024895615875720978,
-0.017524845898151398,
-0.04699886217713356,
0.006368962116539478,
0.0501176118850708,
0.018803169950842857,
0.019147682934999466,
0.028902849182486534,
-0.030607283115386963,
0.0028580999933183193,
0.04362625628709793,
-0.006210304796695709,
0.01663636416196823,
0.0013723867014050484,
0.03209412842988968,
0.00006810227932874113,
0.004453740548342466,
0.03359910845756531,
0.025530245155096054,
-0.03276502341032028,
0.05671776086091995,
0.0639706701040268,
-0.037860192358493805,
0.011731582693755627,
-0.025076938793063164,
0.043191082775592804,
0.0053988853469491005,
0.001885756733827293,
0.0005405684933066368,
-0.026835769414901733,
0.04021738842129707,
0.023027991876006126,
-0.0007451232522726059,
-0.09124161303043365,
-0.01867624558508396,
0.0330551415681839,
0.009891157038509846,
0.0003354471118655056,
-0.008966410532593727,
0.004913846962153912,
0.031278178095817566,
0.023136785253882408,
0.002256335224956274,
0.020997175946831703,
-0.0013134567998349667,
0.09254714101552963,
0.008508570492267609,
0.032420508563518524,
0.01323656179010868,
-0.04014486074447632,
0.04094268009066582,
-0.01285578403621912,
0.01174971554428339,
0.019709784537553787,
-0.004496804438531399,
-0.031169382855296135,
0.031314440071582794,
0.02047134004533291,
0.10669031739234924,
0.026037948206067085,
0.03949209675192833,
-0.04402516782283783,
-0.0012533935951068997,
-0.017851226031780243,
-0.018377061933279037,
-0.015439633280038834,
0.00640069367364049,
-0.002513586776331067,
0.044097695499658585,
0.07753361016511917,
-0.06498607993125916,
-0.011731582693755627,
0.03742501884698868,
0.0353216752409935
] |
7,578 | hsbalance.tools | convert_matrix_to_cart |
docs: Convert influence coeffecient matrix ALPHA from mathematical expression
form to cartesian form.
:ALPHA_math: list of lists with polar mathmematical expression
ex . [[90@58, 21@140]
[10.9@10, 37.9@142]]
:returns: np.dnarray with cartesian form
| def convert_matrix_to_cart(ALPHA_math):
"""
docs: Convert influence coeffecient matrix ALPHA from mathematical expression
form to cartesian form.
:ALPHA_math: list of lists with polar mathmematical expression
ex . [[90@58, 21@140]
[10.9@10, 37.9@142]]
:returns: np.dnarray with cartesian form
"""
return convert_math_cart(ALPHA_math)
| (ALPHA_math) | [
-0.0054750507697463036,
0.006214678753167391,
-0.0016055337619036436,
-0.010066155344247818,
0.0028840978629887104,
-0.023379458114504814,
-0.059098076075315475,
-0.031208690255880356,
0.05112452432513237,
0.013439580798149109,
0.025959135964512825,
0.0010835097637027502,
0.006485274061560631,
0.06082988530397415,
-0.06981366127729416,
-0.039615191519260406,
0.07627187669277191,
-0.046722836792469025,
-0.0405532568693161,
0.022279037162661552,
0.018869532272219658,
-0.002676641335710883,
0.0007548489375039935,
0.06616964191198349,
-0.008433562703430653,
0.03741434961557388,
0.011283835396170616,
0.008347873575985432,
-0.06111852079629898,
-0.03005415014922619,
0.013123885728418827,
0.023199060931801796,
-0.00014953225036151707,
0.013123885728418827,
0.010426949709653854,
0.041888196021318436,
0.02848469465970993,
-0.0386049710214138,
0.013078786432743073,
-0.032489508390426636,
0.04823817312717438,
-0.00548858055844903,
0.08067356050014496,
0.013565858826041222,
-0.042465467005968094,
-0.033084820955991745,
-0.019843675196170807,
0.020114270970225334,
-0.030811816453933716,
0.01265485305339098,
0.02985571324825287,
-0.04968135058879852,
0.03245342895388603,
0.01692124456167221,
-0.025435984134674072,
-0.0005741700297221541,
-0.007572166621685028,
0.008830435574054718,
0.016343973577022552,
-0.02186412364244461,
-0.016695747151970863,
0.013935672119259834,
-0.04362000897526741,
-0.006814498919993639,
0.052856337279081345,
-0.029693355783820152,
-0.007134703453630209,
0.026157572865486145,
0.05675291270017624,
-0.024497920647263527,
-0.10116666555404663,
0.04091405123472214,
0.02936864085495472,
-0.07576676458120346,
0.007617265451699495,
0.012573674321174622,
0.039326559752225876,
-0.031389087438583374,
-0.018030686303973198,
0.017128700390458107,
-0.0771377831697464,
0.006079380866140127,
0.026157572865486145,
0.05599524453282356,
0.0160643570125103,
-0.0036169609520584345,
0.045243579894304276,
0.06353583931922913,
-0.037739064544439316,
-0.027023479342460632,
0.0026631115470081568,
-0.015766702592372894,
-0.03441975638270378,
0.024227324873209,
-0.0027375253848731518,
0.0013789100339636207,
0.029693355783820152,
0.03562841936945915,
0.045135341584682465,
0.002863803179934621,
-0.0038334373384714127,
0.06548412889242172,
-0.004780522082000971,
0.008072768338024616,
-0.02453400008380413,
0.023794371634721756,
-0.008523761294782162,
0.0023970259353518486,
0.0712207555770874,
0.024353602901101112,
-0.04784129932522774,
0.10174393653869629,
0.03864105045795441,
-0.059206314384937286,
-0.026049334555864334,
-0.015496106818318367,
-0.02383045107126236,
-0.007098624017089605,
0.0025390884838998318,
-0.020817819982767105,
0.026428168639540672,
0.023758292198181152,
0.025562262162566185,
0.07150939106941223,
0.01758871227502823,
0.016695747151970863,
0.04679499566555023,
-0.020799780264496803,
0.004627184476703405,
-0.05390264093875885,
0.006210168823599815,
-0.023487696424126625,
0.02985571324825287,
0.015649445354938507,
-0.009051422588527203,
0.025147348642349243,
0.021521368995308876,
-0.10419733822345734,
-0.006557432934641838,
-0.001134246471337974,
0.012717992067337036,
-0.016560450196266174,
-0.01591102033853531,
0.010553227737545967,
-0.028214098885655403,
0.010012036189436913,
0.04957311227917671,
-0.047011472284793854,
-0.03404092416167259,
-0.06790145486593246,
-0.03577273711562157,
0.01754361391067505,
0.0021828042808920145,
-0.08630195260047913,
0.047336187213659286,
0.023704173043370247,
0.02897176705300808,
-0.007405299227684736,
0.06458214670419693,
0.03676491975784302,
0.0008546310709789395,
0.05527365952730179,
-0.06573668867349625,
-0.013944691978394985,
-0.0003393719671294093,
-0.04076973348855972,
-0.024461841210722923,
-0.03795554116368294,
-0.06855088472366333,
-0.05527365952730179,
-0.018364420160651207,
-0.025688540190458298,
0.012880349531769753,
-0.04159956052899361,
-0.006814498919993639,
-0.06144323572516441,
-0.03537586331367493,
0.07067956775426865,
0.02866509184241295,
-0.00934456754475832,
-0.0018693645251914859,
0.03034278377890587,
-0.015487086959183216,
0.06310289353132248,
0.026644645258784294,
-0.016641627997159958,
0.03597117215394974,
-0.001877256901934743,
0.023072782903909683,
-0.001251504523679614,
-0.022080600261688232,
0.029909832403063774,
-0.0006020751898176968,
0.03784730285406113,
-0.033481694757938385,
-0.028827449306845665,
0.009678302332758904,
0.01632593385875225,
-0.053541846573352814,
0.06389663368463516,
-0.017173798754811287,
-0.038713209331035614,
0.055057182908058167,
-0.0002322612126590684,
0.02520146779716015,
-0.030018070712685585,
-0.04123876616358757,
-0.033193059265613556,
-0.009164170362055302,
0.010923041962087154,
0.01987975463271141,
0.00999399647116661,
-0.00514131598174572,
-0.020835859701037407,
0.002629287075251341,
0.08550820499658585,
0.049789588898420334,
-0.007206862326711416,
0.031172610819339752,
-0.0004053296288475394,
0.021791964769363403,
0.013123885728418827,
-0.025977175682783127,
-0.026572486385703087,
-0.05072765052318573,
0.021106455475091934,
0.029512958601117134,
0.06588100641965866,
-0.03903792425990105,
0.01917620748281479,
-0.01202346384525299,
-0.04906800016760826,
-0.007306080777198076,
-0.021918242797255516,
0.02639208920300007,
-0.027239955961704254,
-0.00709411408752203,
0.012690932489931583,
-0.0193024855107069,
0.05303673446178436,
-0.03106437250971794,
0.00004175205322098918,
0.03432955965399742,
0.05797961354255676,
0.009804580360651016,
0.04145524278283119,
0.004381393548101187,
-0.000059826990764122456,
-0.044161200523376465,
-0.023992808535695076,
-0.023199060931801796,
-0.0025886977091431618,
0.06804577261209488,
0.003619215916842222,
0.015396888367831707,
-0.040084224194288254,
0.0326157882809639,
-0.015261590480804443,
0.012844270095229149,
-0.041779957711696625,
0.007211372256278992,
-0.018851492553949356,
-0.01778714917600155,
-0.06508725881576538,
0.05480462685227394,
-0.01389057282358408,
-0.02532774582505226,
0.06469038128852844,
0.05181003361940384,
0.00642664497718215,
0.06101028248667717,
-0.008722197264432907,
0.008086297661066055,
0.03552018105983734,
0.06389663368463516,
0.013232124038040638,
-0.013132905587553978,
0.016785945743322372,
-0.04856288805603981,
0.028412535786628723,
-0.053938720375299454,
0.01595611870288849,
-0.051557477563619614,
0.019122088328003883,
-0.04076973348855972,
-0.019338564947247505,
-0.026644645258784294,
-0.0425015464425087,
0.0415274016559124,
-0.029314521700143814,
0.036151569336652756,
0.023307299241423607,
-0.018165983259677887,
-0.023397497832775116,
0.04322313517332077,
-0.042862340807914734,
-0.022387275472283363,
-0.0006781801930628717,
0.03380640968680382,
0.060396935790777206,
0.06310289353132248,
0.05585092678666115,
0.06869519501924515,
-0.010571267455816269,
-0.08695138245820999,
0.014738439582288265,
-0.04282626137137413,
0.03196635842323303,
-0.023415537551045418,
0.006949796341359615,
0.034365639090538025,
0.0652676522731781,
-0.04816601425409317,
0.00883494596928358,
-0.01769695058465004,
0.04033678025007248,
0.014332545921206474,
-0.030883975327014923,
0.09813600033521652,
0.009687322191894054,
0.012456417083740234,
-0.017381256446242332,
0.006349976174533367,
0.013187024742364883,
-0.002221138682216406,
-0.01553218625485897,
0.0012413571821525693,
-0.023866530507802963,
0.07446790486574173,
-0.018391480669379234,
0.007960019633173943,
0.04459415376186371,
-0.036043331027030945,
0.008997303433716297,
0.03173184022307396,
-0.060757726430892944,
-0.0375586673617363,
-0.05072765052318573,
-0.03413112461566925,
-0.02897176705300808,
-0.01919424720108509,
-0.033878568559885025,
-0.017065562307834625,
-0.0020553988870233297,
-0.035538218915462494,
-0.0061019305139780045,
-0.017038501799106598,
-0.021322932094335556,
-0.03344561532139778,
-0.01191522553563118,
-0.019140128046274185,
-0.020799780264496803,
0.026969360187649727,
0.05310889333486557,
-0.03322913870215416,
0.07241138070821762,
-0.04408904165029526,
-0.014612161554396152,
-0.03220087289810181,
-0.0026495817583054304,
0.10311495512723923,
0.015496106818318367,
-0.003418524283915758,
-0.038713209331035614,
-0.050294697284698486,
-0.05401087924838066,
-0.022585710510611534,
-0.05004214495420456,
0.07540597021579742,
0.042285069823265076,
0.05119668319821358,
0.007617265451699495,
0.0197895560413599,
0.0435117706656456,
-0.04784129932522774,
0.013421541079878807,
-0.04585693031549454,
-0.00794197991490364,
-0.010526168160140514,
0.0056464276276528835,
0.009921837598085403,
-0.04856288805603981,
-0.007076074369251728,
-0.008388463407754898,
0.014323526062071323,
0.01769695058465004,
0.03667472302913666,
-0.0128532899543643,
-0.03788338229060173,
-0.0160823967307806,
-0.04062541574239731,
0.0055246599949896336,
0.0860854759812355,
-0.04726402834057808,
0.006210168823599815,
-0.0395791120827198,
0.019951913505792618,
0.016389071941375732,
-0.02906196564435959,
-0.01202346384525299,
-0.023686133325099945,
0.004270900506526232,
0.05199043080210686,
-0.0593145526945591,
-0.057221945375204086,
-0.04928447678685188,
-0.011346974410116673,
-0.014702360145747662,
-0.030432982370257378,
0.007504517678171396,
-0.028123900294303894,
0.023181021213531494,
0.07490085810422897,
-0.013818414881825447,
-0.0291882436722517,
-0.00477150222286582,
0.016867125406861305,
-0.08724001795053482,
-0.003371170023456216,
0.046325962990522385,
-0.015829840674996376,
-0.013692136853933334,
-0.027817225083708763,
-0.0013056236784905195,
0.0006082763429731131,
0.05310889333486557,
-0.029242362827062607,
0.03115457110106945,
-0.03640412539243698,
0.019122088328003883,
-0.012041503563523293,
-0.04715579003095627,
0.023162981495261192,
-0.01256465446203947,
0.015460027381777763,
0.015920039266347885,
-0.0011224079644307494,
0.03947087749838829,
-0.028538813814520836,
-0.0057456460781395435,
0.034347597509622574,
0.011671689338982105,
0.004451297223567963,
-0.006999405566602945,
-0.011797967366874218,
-0.007680404465645552,
0.0052856337279081345,
0.000383625621907413,
-0.0015626895474269986,
0.019735438749194145,
0.027745066210627556,
0.04275410249829292,
0.03290442377328873,
-0.04282626137137413,
0.053361449390649796,
0.03741434961557388,
0.07277217507362366,
-0.0494287945330143,
0.010814803652465343,
0.047011472284793854,
0.03947087749838829,
0.00037319640978239477,
0.006187619175761938,
-0.006210168823599815,
0.04340353235602379,
0.0331028588116169,
-0.035249583423137665,
0.03607941046357155,
-0.017065562307834625,
0.02016839012503624,
0.04610948637127876,
-0.004489631857722998,
-0.008974753320217133,
-0.021719805896282196,
0.003984519746154547,
-0.00257065799087286,
-0.01251955609768629,
0.04105836898088455,
-0.0425015464425087,
0.02751055173575878,
-0.07403495162725449,
-0.060469094663858414,
-0.025490103289484978,
-0.009858699515461922,
0.0064131151884794235,
0.04463023319840431,
0.06111852079629898,
-0.03124476969242096,
0.028123900294303894,
-0.0242453645914793,
-0.05866512283682823,
0.07255569845438004,
0.04383648559451103,
0.0563921183347702,
0.06869519501924515,
0.010435969568789005,
0.0023834961466491222,
-0.021124495193362236,
-0.06461822241544724,
0.026554446667432785,
-0.004530221223831177,
-0.021485289558768272,
-0.06400487571954727,
0.03488878905773163,
0.02345161698758602,
-0.012285039760172367,
-0.046831075102090836,
-0.02244139276444912,
-0.024371642619371414,
0.016389071941375732,
-0.052351225167512894,
-0.020799780264496803,
-0.028899608179926872,
-0.072194904088974,
-0.04856288805603981,
0.05202651023864746,
-0.019320525228977203,
-0.02411908656358719,
-0.03499702736735344,
0.015153353102505207,
0.019067969173192978,
0.029404720291495323,
-0.07082388550043106,
0.023577895015478134,
-0.04766090214252472,
0.06638611853122711,
-0.026536406949162483,
-0.006029771640896797,
-0.00620565889403224,
-0.013412521220743656,
-0.025490103289484978,
-0.01488275732845068,
-0.014540002681314945,
0.04596516862511635,
-0.019446803256869316,
0.010661466047167778,
0.03034278377890587,
-0.013674097135663033,
0.0445219948887825,
0.032886382192373276,
-0.0007790898089297116,
0.010544207878410816,
0.011392073705792427,
0.012041503563523293,
-0.016253774985671043,
0.0301804281771183,
-0.01428744662553072,
-0.02283826656639576,
-0.03499702736735344,
0.03250754997134209,
0.009885759092867374,
0.04809385538101196,
-0.02345161698758602,
-0.016298873350024223,
0.0860133171081543,
0.015144333243370056,
0.025562262162566185,
-0.034167204052209854,
-0.05567052960395813,
-0.01201444398611784,
0.030018070712685585,
-0.013123885728418827,
-0.013268203474581242,
0.015405908226966858,
-0.0023158472031354904,
-0.02393868938088417,
-0.0067107705399394035,
0.0301804281771183,
0.047408346086740494,
-0.01665966771543026,
0.02927844226360321,
-0.07800368964672089,
0.016488291323184967,
0.019663279876112938,
0.010057135485112667,
-0.04192427545785904,
-0.0030216507147997618,
-0.10159961879253387,
-0.005628387909382582,
0.004942879546433687,
0.03972342982888222,
-0.032399311661720276,
-0.07439574599266052,
0.023199060931801796,
0.0623091422021389,
-0.02908000536262989,
-0.0016472506104037166,
0.015829840674996376,
0.030000030994415283,
-0.11610354483127594,
-0.04033678025007248,
0.036548443138599396,
0.055345818400382996,
0.026337970048189163,
-0.060865964740514755,
-0.04798561707139015,
0.025778738781809807,
0.03510526567697525,
-0.004861700814217329,
0.008050218224525452,
-0.01418822817504406,
0.05411911755800247,
0.039903827011585236,
0.03589901328086853,
0.01615455560386181,
-0.0425376258790493,
-0.04044501855969429,
-0.07190626859664917,
0.03450995683670044,
0.007283531129360199,
-0.006322916597127914,
0.0003388082259334624,
-0.03889360651373863,
-0.0035921563394367695,
0.006449194625020027,
-0.04805777594447136,
-0.047119710594415665,
0.027546631172299385,
-0.039326559752225876,
0.05906199663877487,
0.012248960323631763,
-0.027330154553055763,
-0.057510580867528915,
0.029404720291495323,
-0.03259774670004845,
0.038135938346385956,
0.051557477563619614,
-0.026428168639540672,
0.024948913604021072,
0.009051422588527203,
0.05718586593866348,
0.0672159418463707,
0.02530970610678196,
-0.02651836723089218,
-0.07446790486574173,
-0.04434159770607948,
-0.03519546613097191,
0.03452799469232559,
-0.03220087289810181,
0.030234547331929207,
-0.03896576538681984,
0.010742644779384136,
-0.01621769554913044,
-0.0326157882809639,
0.03191223740577698,
-0.04434159770607948,
-0.05794353410601616,
-0.07576676458120346,
0.004401687998324633,
0.01564042456448078,
-0.02433556318283081,
-0.014350585639476776,
-0.0005440098466351628,
0.05855688452720642,
-0.01592906005680561,
0.019735438749194145,
-0.04856288805603981,
0.06699946522712708,
0.015099233947694302,
0.017426354810595512,
0.033175017684698105,
0.00810884777456522,
-0.016560450196266174,
0.007509027607738972,
0.04906800016760826,
0.001010223524644971,
0.03380640968680382,
0.04383648559451103,
-0.008866515010595322,
-0.0005930553306825459,
-0.012717992067337036,
0.004426492843776941,
-0.016803985461592674,
-0.04798561707139015,
0.002136577619239688,
0.05249554291367531,
0.033860526978969574,
-0.023199060931801796,
0.07987981289625168,
-0.00984967965632677,
-0.07096820324659348,
-0.007089604157954454,
0.04102228954434395,
0.046542439609766006,
-0.03393268585205078,
-0.02787134423851967,
0.04084189236164093,
0.03577273711562157,
-0.040084224194288254,
-0.08781728893518448,
0.03344561532139778,
0.030432982370257378,
0.012248960323631763,
-0.0019821126479655504,
0.015135313384234905,
0.05004214495420456,
-0.06606139987707138,
0.006196639034897089,
0.006557432934641838,
0.01996995322406292,
0.015396888367831707,
0.027438392862677574,
-0.01849069818854332,
0.10867118835449219,
0.022964544594287872,
-0.03835241496562958,
-0.02482263557612896,
0.0006776164518669248,
-0.027041519060730934,
-0.02226099744439125,
0.015550225973129272,
-0.0034230342134833336,
0.009087502025067806,
-0.0057456460781395435,
0.04924839735031128,
-0.013078786432743073,
-0.0030554751865565777,
0.03461819514632225,
-0.030685538426041603,
0.0034072494599968195,
-0.014422744512557983,
0.010237532667815685,
0.07277217507362366,
-0.0002851119206752628,
0.0009329910390079021,
0.011004220694303513,
-0.008392972871661186,
-0.020799780264496803,
0.0022166287526488304,
-0.03272402659058571,
-0.08572468161582947,
0.025652460753917694,
0.048454649746418,
0.023379458114504814,
-0.03781122341752052,
-0.001209787791594863,
-0.06295857578516006,
-0.07605540007352829,
-0.0523873046040535,
-0.01068852562457323,
-0.021304892376065254,
-0.021990401670336723,
0.010670485906302929,
0.0108779426664114,
-0.02799762226641178,
0.024696357548236847,
-0.022766107693314552,
0.01122069638222456,
0.01448588352650404,
-0.02244139276444912,
-0.008631998673081398,
0.009389666840434074,
0.016343973577022552,
-0.002577422885224223,
-0.01221288088709116,
-0.0047669922932982445,
0.02857489325106144,
0.01794048771262169,
-0.0217739250510931,
-0.0563921183347702,
-0.053144972771406174,
0.0047083632089197636,
-0.012844270095229149,
0.022387275472283363,
-0.012979567982256413,
-0.05372224375605583,
0.05350576713681221,
-0.0001884303637780249
] |
7,579 | hsbalance.tools | convert_matrix_to_math |
inverse of convert_matrix_to_cart
| def convert_matrix_to_math(matrix):
"""
inverse of convert_matrix_to_cart
"""
return convert_cart_math(matrix)
| (matrix) | [
-0.006726972758769989,
-0.0287855863571167,
0.06911297142505646,
0.041550468653440475,
-0.020379023626446724,
-0.047889843583106995,
-0.04644281417131424,
0.0021264038514345884,
0.01801898516714573,
0.02267015539109707,
0.008914746344089508,
-0.020792460069060326,
0.00018114807608071715,
0.0492679700255394,
-0.048165470361709595,
0.05171414092183113,
0.049991484731435776,
-0.048578906804323196,
0.00042716492316685617,
-0.01956937462091446,
0.0061757224611938,
-0.006119736470282078,
0.037829529494047165,
0.04961249977350235,
-0.02377265691757202,
0.05791570246219635,
0.02751081995666027,
-0.008014658465981483,
0.001141259795986116,
-0.039862263947725296,
-0.03364347666501999,
0.027269648388028145,
0.017898397520184517,
-0.012928535230457783,
-0.01877695322036743,
-0.012282539159059525,
-0.007717499975115061,
-0.015452226623892784,
-0.03982781246304512,
-0.02434113249182701,
-0.007325595710426569,
0.012075820006430149,
0.06966421753168106,
0.023479804396629333,
-0.04792429506778717,
-0.03848414123058319,
-0.05884593725204468,
-0.0018421654822304845,
-0.029578007757663727,
0.018966445699334145,
0.007980205118656158,
-0.04833773523569107,
0.052541013807058334,
0.04213616997003555,
-0.06360046565532684,
0.0033871729392558336,
-0.004026709124445915,
-0.02342812530696392,
0.011119745671749115,
-0.0004172057961113751,
0.002863916102796793,
0.04385882988572121,
-0.03447035327553749,
0.009112851694226265,
0.052816640585660934,
0.0033720997162163258,
-0.000993757275864482,
0.03758835792541504,
0.040137890726327896,
0.029009530320763588,
-0.1144532784819603,
0.039586640894412994,
0.032540977001190186,
-0.04186054691672325,
0.008708027191460133,
0.016296328976750374,
0.024082735180854797,
-0.027614179998636246,
-0.015460839495062828,
-0.007209316361695528,
-0.04351429641246796,
-0.006261855363845825,
0.01688203029334545,
0.040000077337026596,
-0.02427222579717636,
-0.033884648233652115,
0.08847562223672867,
0.043445389717817307,
-0.035417813807725906,
0.0034689989406615496,
-0.0337640605866909,
-0.05705437436699867,
-0.03316113352775574,
0.024685664102435112,
-0.036761485040187836,
0.013746797107160091,
0.013652050867676735,
0.0030189550016075373,
0.007993125356733799,
-0.03147292882204056,
0.021722694858908653,
0.12540937960147858,
-0.01340226549655199,
-0.028165429830551147,
0.012428964488208294,
0.004388466943055391,
-0.0065934667363762856,
-0.027269648388028145,
0.07462546974420547,
0.028871718794107437,
-0.07820859551429749,
0.06142992153763771,
-0.05819132924079895,
-0.045064687728881836,
-0.0246339850127697,
-0.05219648405909538,
-0.038036249577999115,
0.010249804705381393,
0.013092187233269215,
0.0046339454129338264,
0.006408281158655882,
0.005383300594985485,
0.010068926028907299,
0.0035206787288188934,
0.01428082026541233,
-0.0061498829163610935,
0.058432500809431076,
0.01231699250638485,
0.06680461019277573,
-0.04089586064219475,
-0.012515097856521606,
-0.04158492013812065,
0.042894139885902405,
0.07944890856742859,
-0.03291996195912361,
0.01836351491510868,
0.004114995244890451,
-0.06804492324590683,
0.0420672670006752,
0.05116289108991623,
-0.009483222849667072,
-0.023204179480671883,
0.02399660088121891,
0.011498730629682541,
-0.00536607438698411,
0.0204823836684227,
0.04223953187465668,
0.005973310675472021,
-0.07469437271356583,
-0.05722663924098015,
-0.0009630725253373384,
0.02673562429845333,
0.04196390509605408,
-0.07283390313386917,
0.048372186720371246,
0.03610687330365181,
0.06828609108924866,
-0.056261952966451645,
0.05440148338675499,
0.013264453038573265,
0.02280796878039837,
0.05198976397514343,
-0.04554703086614609,
0.013729570433497429,
-0.001554697286337614,
-0.014117168262600899,
0.04254961013793945,
-0.05278218910098076,
-0.04265296831727028,
-0.036485858261585236,
-0.04389328137040138,
-0.024289453402161598,
-0.03590015694499016,
-0.010043085552752018,
0.0029371290002018213,
-0.008036191575229168,
-0.035486720502376556,
0.0834454670548439,
-0.012118887156248093,
0.007971592247486115,
-0.007932832464575768,
0.0081998435780406,
-0.03214476630091667,
0.009207597933709621,
0.027355780825018883,
-0.004642558749765158,
0.010534042492508888,
-0.03323004022240639,
-0.0013748949859291315,
-0.015434999950230122,
0.007519394624978304,
-0.02596043050289154,
0.02075800858438015,
0.007842392660677433,
-0.004418613389134407,
-0.006046523340046406,
-0.010482363402843475,
0.04706296697258949,
-0.01857023499906063,
0.03328171744942665,
-0.01747634820640087,
-0.012799335643649101,
0.04761422052979469,
0.012093046680092812,
-0.021136991679668427,
-0.03271324187517166,
-0.046201638877391815,
-0.01977609284222126,
-0.04251515492796898,
0.024358360096812248,
0.033884648233652115,
0.017984531819820404,
-0.006416894495487213,
0.0019928980618715286,
0.04075804725289345,
0.07552125304937363,
0.06907851248979568,
0.0030663281213492155,
-0.013807089999318123,
0.0404135137796402,
0.02210167981684208,
-0.025426406413316727,
-0.06298030912876129,
-0.026063788682222366,
0.009052558802068233,
0.018914764747023582,
0.01576230488717556,
0.018174024298787117,
0.014556445181369781,
-0.00295435544103384,
0.012041367590427399,
-0.011912168003618717,
-0.020654648542404175,
0.00925066415220499,
0.015228280797600746,
-0.0406891405582428,
-0.041274841874837875,
-0.017640000209212303,
0.005585712846368551,
0.027080155909061432,
-0.006860478315502405,
-0.0012510791420936584,
0.027338555082678795,
0.06935413926839828,
0.02744191326200962,
0.022825194522738457,
-0.0013544384855777025,
-0.0032106004655361176,
-0.041757188737392426,
0.032696016132831573,
-0.02372097596526146,
-0.0029888085555285215,
0.058880388736724854,
0.007812246214598417,
0.03140402212738991,
-0.030904453247785568,
-0.012558164075016975,
0.041068125516176224,
0.0025064649526029825,
-0.027683086693286896,
0.04189499840140343,
-0.06215343624353409,
0.009836367331445217,
-0.09522844105958939,
-0.004067622125148773,
-0.019155938178300858,
-0.0505082793533802,
0.06060304492712021,
0.0567442961037159,
0.04186054691672325,
0.097709059715271,
-0.01689925789833069,
-0.02616714872419834,
0.032902732491493225,
0.06353156268596649,
-0.0067485058680176735,
-0.020861366763710976,
0.05391914024949074,
-0.018949218094348907,
0.02618437446653843,
-0.02709738351404667,
-0.012058593332767487,
-0.058880388736724854,
0.02294578030705452,
-0.05447039008140564,
0.026218827813863754,
-0.010439297184348106,
-0.05305781215429306,
0.06229124963283539,
-0.00863481406122446,
0.06384164094924927,
0.04334203153848648,
-0.0211025383323431,
0.026287734508514404,
-0.00005178062565391883,
-0.03434976562857628,
-0.04299749806523323,
-0.0016559032956138253,
0.05736445263028145,
0.04658062383532524,
-0.010646015405654907,
0.01872527413070202,
0.004754531197249889,
-0.03583125025033951,
-0.018329061567783356,
-0.0071920896880328655,
-0.030835546553134918,
0.02153320237994194,
-0.007898379117250443,
0.019259296357631683,
-0.00897503923624754,
0.026149921119213104,
-0.049095701426267624,
-0.014418632723391056,
0.0101722851395607,
0.023324765264987946,
0.006546093616634607,
-0.0026270507369190454,
0.07600359618663788,
0.015357480384409428,
0.033453986048698425,
-0.005279941484332085,
0.03765726462006569,
0.03741609305143356,
-0.01203275378793478,
-0.03848414123058319,
-0.039311014115810394,
-0.04854445159435272,
0.08158499747514725,
-0.009267890825867653,
0.012446191161870956,
0.016804512590169907,
0.007041357457637787,
-0.020223984494805336,
0.0028876024298369884,
-0.06370382755994797,
-0.01858746074140072,
0.006623613182455301,
-0.05636531114578247,
0.012919921427965164,
0.017071522772312164,
-0.006080976687371731,
-0.009526289068162441,
0.001497634220868349,
-0.017536640167236328,
0.01955214887857437,
-0.04468570277094841,
-0.009483222849667072,
-0.022205039858818054,
0.012799335643649101,
-0.024186093360185623,
-0.045271407812833786,
0.02949187532067299,
0.0013070654822513461,
-0.04427226632833481,
0.0822051540017128,
-0.05319562554359436,
-0.08406562358140945,
-0.035934608429670334,
-0.04354875162243843,
0.07069781422615051,
0.01822570338845253,
-0.021705469116568565,
-0.011300625279545784,
-0.011025000363588333,
-0.04489242285490036,
-0.038036249577999115,
-0.02863054722547531,
0.07696828246116638,
0.040068984031677246,
0.02527136728167534,
-0.012799335643649101,
0.01002585981041193,
0.03519386798143387,
-0.06680461019277573,
0.036210235208272934,
-0.03834632784128189,
0.044857967644929886,
-0.05777788907289505,
-0.0170887503772974,
0.0106201758608222,
-0.043376483023166656,
-0.04347984492778778,
-0.022153358906507492,
0.04730414226651192,
0.020068945363163948,
0.04771757870912552,
0.03298886865377426,
-0.007571074180305004,
-0.025426406413316727,
-0.0815160945057869,
-0.0061154295690357685,
0.043169766664505005,
-0.07000874727964401,
0.002952202223241329,
-0.006102509796619415,
0.016821738332509995,
0.02456507831811905,
-0.030146485194563866,
-0.02625328116118908,
-0.03426363319158554,
0.00814385712146759,
0.0032450538128614426,
-0.04089586064219475,
-0.08013796806335449,
-0.00453919917345047,
-0.04210171848535538,
0.049681406468153,
0.012704589404165745,
-0.0007439721957780421,
0.030508242547512054,
0.016942324116826057,
-0.014608125202357769,
-0.01998281292617321,
-0.005981924012303352,
-0.0026270507369190454,
0.023893242701888084,
-0.04757976531982422,
-0.023100819438695908,
0.06339374929666519,
0.027562499046325684,
-0.0051119825802743435,
-0.017614159733057022,
-0.016864804551005363,
0.008820000104606152,
0.007954365573823452,
-0.05581406131386757,
-0.011205879040062428,
-0.053023360669612885,
0.048647813498973846,
-0.022325625643134117,
-0.06043078005313873,
0.01714904233813286,
-0.00235573248937726,
0.01906980387866497,
-0.004186054691672325,
0.009233437478542328,
0.023393671959638596,
-0.026270506903529167,
0.0339018739759922,
0.09591750055551529,
0.021498749032616615,
-0.013695117086172104,
-0.05233429744839668,
-0.007080117240548134,
-0.02280796878039837,
-0.003294580150395632,
0.016132675111293793,
0.02279074303805828,
-0.01515937503427267,
0.02032734453678131,
0.044306717813014984,
0.021016405895352364,
-0.0417916402220726,
0.021515976637601852,
-0.02871667966246605,
0.027614179998636246,
-0.04554703086614609,
0.026511680334806442,
0.050060391426086426,
0.005331621039658785,
0.019121484830975533,
-0.03259265795350075,
0.025030195713043213,
0.04268742352724075,
0.027545273303985596,
0.0008505615405738354,
0.00043200989603064954,
0.006933691445738077,
-0.018242929130792618,
0.04385882988572121,
-0.017166269943118095,
-0.006050830241292715,
-0.015848437324166298,
0.020792460069060326,
-0.007971592247486115,
-0.062463514506816864,
-0.00749355461448431,
-0.04003453254699707,
0.0010798901785165071,
-0.09598640352487564,
-0.09660656005144119,
-0.025030195713043213,
-0.0077088866382837296,
0.012790722772479057,
0.023876015096902847,
0.02363484352827072,
-0.030835546553134918,
0.0498192198574543,
-0.035865701735019684,
-0.047958750277757645,
0.07931109517812729,
0.09019827842712402,
0.016296328976750374,
0.023031914606690407,
-0.006903544999659061,
-0.0284410547465086,
0.0012930688681080937,
-0.06931968778371811,
0.02490960992872715,
0.0208958201110363,
0.014685644768178463,
-0.061739999800920486,
0.05546953156590462,
-0.005249795038253069,
0.05367796868085861,
-0.02223949134349823,
-0.005852724425494671,
-0.03498714789748192,
-0.005241181701421738,
-0.05291999876499176,
0.012170566245913506,
-0.0037963036447763443,
-0.0017312695272266865,
-0.028837265446782112,
-0.0122480858117342,
-0.0647718757390976,
0.03793289139866829,
0.03490101546049118,
0.0019218383822590113,
0.05388468876481056,
-0.00914730504155159,
-0.0985359400510788,
-0.028130976483225822,
-0.021843280643224716,
0.05136960744857788,
-0.04468570277094841,
-0.0017689525848254561,
0.03738164156675339,
-0.020086171105504036,
-0.0287855863571167,
-0.0032106004655361176,
-0.021774375811219215,
0.06198117136955261,
-0.03512496128678322,
0.029009530320763588,
0.05684765800833702,
-0.033247265964746475,
0.015107695013284683,
0.02230839803814888,
-0.015882890671491623,
-0.029388515278697014,
-0.016864804551005363,
0.038242969661951065,
-0.029388515278697014,
0.031851913779973984,
-0.06377273797988892,
0.022773515433073044,
-0.02385878935456276,
0.000720285635907203,
-0.04065468907356262,
0.03414304554462433,
-0.01509046833962202,
-0.010973320342600346,
0.1166582778096199,
0.02342812530696392,
-0.0024138721637427807,
0.044720157980918884,
-0.029956992715597153,
-0.020775234326720238,
-0.008888905867934227,
-0.027045702561736107,
0.03147292882204056,
-0.001216626027598977,
-0.03441867232322693,
0.008686494082212448,
0.015581426210701466,
0.06942304968833923,
0.021705469116568565,
-0.02153320237994194,
0.012265312485396862,
-0.048647813498973846,
0.08757984638214111,
-0.0022652929183095694,
-0.029526328667998314,
-0.013531465083360672,
0.009104237891733646,
-0.10384172201156616,
0.025495313107967377,
-0.02329031191766262,
0.00929373037070036,
-0.035280000418424606,
-0.05939718708395958,
0.03102503903210163,
0.022825194522738457,
-0.04237734526395798,
-0.02308359369635582,
0.034866563975811005,
0.014633964747190475,
-0.03147292882204056,
-0.01340226549655199,
-0.027631405740976334,
0.009922499768435955,
-0.000867788097821176,
-0.035796795040369034,
-0.04503023251891136,
0.013118027709424496,
0.02828601561486721,
0.007695966865867376,
0.019104257225990295,
-0.06925078481435776,
0.03603797033429146,
0.054435938596725464,
0.020568516105413437,
-0.017433281987905502,
-0.0009146227966994047,
-0.037829529494047165,
-0.06869953125715256,
0.0033247265964746475,
-0.0022222264669835567,
-0.0014470312744379044,
0.01749357394874096,
-0.0040999217890203,
-0.000004029064257338177,
0.021636562421917915,
-0.019741641357541084,
-0.028596093878149986,
0.017252402380108833,
-0.023186953738331795,
0.029147343710064888,
-0.019397109746932983,
-0.002474165055900812,
-0.06001734361052513,
-0.01751941442489624,
-0.028182655572891235,
0.034091368317604065,
0.03193804621696472,
-0.04117148369550705,
0.021584883332252502,
-0.0056373924016952515,
-0.0016429834067821503,
-0.0002491122577339411,
0.08310093730688095,
-0.003708017524331808,
-0.044857967644929886,
-0.03955218568444252,
-0.02187773399055004,
0.035417813807725906,
-0.03104226477444172,
0.05643421784043312,
-0.012463417835533619,
0.00942292995750904,
-0.004160214681178331,
-0.05670984461903572,
0.011524570174515247,
-0.03917320445179939,
-0.026081016287207603,
-0.06280804425477982,
0.020534062758088112,
0.009069785475730896,
-0.021619336679577827,
0.061808906495571136,
0.01295437477529049,
0.030301522463560104,
0.0334884375333786,
-0.029216250404715538,
-0.044444531202316284,
0.04396218806505203,
0.023341992869973183,
-0.0003851751680485904,
0.012859628535807133,
0.003888896433636546,
-0.027476366609334946,
0.005878564435988665,
0.038174062967300415,
0.006434121169149876,
0.012928535230457783,
0.05691656097769737,
-0.0040417821146547794,
-0.04509913921356201,
0.033453986048698425,
0.05043937638401985,
0.0030577147845178843,
-0.03555562347173691,
-0.027751991525292397,
0.02125757746398449,
0.04237734526395798,
-0.034590937197208405,
0.05371242016553879,
0.021223124116659164,
-0.07669265568256378,
0.027751991525292397,
-0.0010771985398605466,
0.07062890380620956,
-0.021429844200611115,
-0.01132646482437849,
0.014125781133770943,
0.07476328313350677,
-0.08310093730688095,
-0.059362735599279404,
0.00798451155424118,
-0.02962968684732914,
0.010568495839834213,
-0.007898379117250443,
0.042756326496601105,
0.056124139577150345,
-0.04651171714067459,
0.025374727323651314,
0.0284410547465086,
0.03714046999812126,
0.03552117198705673,
-0.0028596094343811274,
0.004201128147542477,
0.08268749713897705,
0.0146684180945158,
-0.054918281733989716,
-0.015839824452996254,
-0.01439279317855835,
-0.041412655264139175,
-0.0204823836684227,
0.012790722772479057,
-0.015348867513239384,
0.03886312618851662,
0.016391074284911156,
0.045064687728881836,
0.015986250713467598,
-0.013652050867676735,
0.04285968840122223,
-0.010921640321612358,
-0.02575371041893959,
0.011214491911232471,
-0.07062890380620956,
0.09116297215223312,
0.023531483486294746,
-0.013264453038573265,
0.003217060584574938,
-0.008423789404332638,
-0.022894101217389107,
0.007592607289552689,
-0.010775214992463589,
-0.07703718543052673,
0.012179180048406124,
0.06894070655107498,
0.04447898268699646,
-0.005486660171300173,
-0.0006314611528068781,
-0.04975031316280365,
-0.05016374960541725,
-0.07827749848365784,
-0.04044796898961067,
0.010611562058329582,
0.008811386302113533,
0.019948359578847885,
0.0499570295214653,
-0.02956078201532364,
0.011343691498041153,
-0.005775204859673977,
0.041378203779459,
0.005163662135601044,
-0.026907891035079956,
0.020086171105504036,
0.003369946265593171,
0.0027993163093924522,
-0.005249795038253069,
0.03893203288316727,
-0.0015676171751692891,
0.05388468876481056,
-0.024530624970793724,
-0.005564179737120867,
-0.043100859969854355,
-0.039724454283714294,
-0.005693378858268261,
-0.01139537151902914,
0.031352344900369644,
-0.020310116931796074,
-0.018346289172768593,
0.018742499873042107,
-0.0077476464211940765
] |
7,580 | hsbalance.tools | convert_to_cartesian |
docs: Convert number from polar form to cartesian complex number.
:inputs:
polar: Complex number in polar form (modulus, phase in degrees)
ex.(12, 90) -> <class 'tuple'>
output: Complex number in cartesian number ex. 12+23j
-> <class 'complex'>
| def convert_to_cartesian(polar):
'''
docs: Convert number from polar form to cartesian complex number.
:inputs:
polar: Complex number in polar form (modulus, phase in degrees)
ex.(12, 90) -> <class 'tuple'>
output: Complex number in cartesian number ex. 12+23j
-> <class 'complex'>
'''
theta = polar[1] * cm.pi / 180
return complex(polar[0]*cm.cos(theta), polar[0] * cm.sin(theta))
| (polar) | [
0.04091017693281174,
0.0103840883821249,
0.008601225912570953,
0.053885940462350845,
0.028630167245864868,
-0.007535856682807207,
-0.012993155978620052,
0.0050615910440683365,
-0.009488308802247047,
-0.01108853705227375,
0.06585286557674408,
-0.014610778540372849,
0.02054205909371376,
0.02603849396109581,
-0.017915597185492516,
-0.022472769021987915,
0.005274664610624313,
-0.06251325458288193,
-0.03151753544807434,
0.0049615767784416676,
0.05917365103960037,
0.06199144572019577,
-0.0034918019082397223,
0.01869831793010235,
-0.036735668778419495,
0.03652694448828697,
-0.0025307955220341682,
0.05524265766143799,
-0.07409751415252686,
-0.04014485329389572,
0.013314940966665745,
0.04171029105782509,
0.021794410422444344,
-0.002169874496757984,
-0.02965640090405941,
0.06564413756132126,
0.03864898532629013,
0.06748788058757782,
-0.038683775812387466,
-0.0007196677615866065,
-0.014758625067770481,
0.029517250135540962,
-0.014636868610978127,
0.000023237007553689182,
0.011949528940021992,
-0.024681778624653816,
-0.019776731729507446,
0.010488451458513737,
-0.023794695734977722,
-0.012462645769119263,
0.038022808730602264,
-0.02744738943874836,
-0.05197262391448021,
0.014741231687366962,
-0.009427431039512157,
0.029395494610071182,
-0.018976617604494095,
0.09323067963123322,
0.006179141346365213,
0.04271913319826126,
-0.03466581180691719,
0.039170801639556885,
0.0025134016759693623,
-0.03955346345901489,
0.029360705986618996,
0.039275161921978,
0.02135956659913063,
0.022455373778939247,
0.029273737221956253,
-0.011279868893325329,
-0.03944909945130348,
0.02720387652516365,
0.019637580960989,
-0.07688052207231522,
0.004478899296373129,
-0.048389505594968796,
0.05760820955038071,
0.02638636901974678,
0.019776731729507446,
-0.000005813498319184873,
-0.07430624216794968,
-0.029917307198047638,
0.03840547427535057,
0.01868092268705368,
-0.03285685554146767,
0.013114912435412407,
0.0045832619071006775,
-0.003709224285557866,
-0.04157114401459694,
-0.03958825021982193,
0.007209723349660635,
-0.044562872499227524,
-0.01972454972565174,
0.002924329834058881,
-0.03174365311861038,
0.036179069429636,
-0.0006201970973052084,
0.04637182503938675,
0.0033613487612456083,
-0.01857656054198742,
-0.02462959662079811,
-0.004370187874883413,
-0.07688052207231522,
-0.024351296946406364,
0.028804104775190353,
-0.010958083905279636,
0.017141573131084442,
-0.0070836180821061134,
0.08453378826379776,
0.044423721730709076,
-0.039762187749147415,
0.07145366072654724,
-0.016506699845194817,
-0.015671798959374428,
-0.08195950835943222,
0.04564128816127777,
-0.003302644705399871,
-0.026264613494277,
-0.018159110099077225,
-0.03360478952527046,
0.026664670556783676,
0.031100085005164146,
0.016541488468647003,
0.043623607605695724,
0.03452666103839874,
0.017454661428928375,
-0.003554854542016983,
0.01389763318002224,
-0.03553549945354462,
0.05291188880801201,
0.05872141197323799,
-0.04539777338504791,
0.052494440227746964,
-0.009062160737812519,
0.0050615910440683365,
0.024438265711069107,
-0.0064443969167768955,
-0.025151411071419716,
-0.0026003706734627485,
0.014445536769926548,
-0.01184516679495573,
0.009949244558811188,
-0.014549899846315384,
0.033222127705812454,
-0.003291773609817028,
0.01501083467155695,
-0.03384830430150032,
-0.0322306789457798,
-0.06696606427431107,
0.01763729564845562,
-0.02753436006605625,
-0.011784288100898266,
0.12050413340330124,
0.005222483538091183,
0.025742799043655396,
-0.014602080918848515,
0.031013116240501404,
0.020872540771961212,
-0.013001852668821812,
-0.006892286706715822,
0.0003717921208590269,
0.03482235595583916,
-0.016871970146894455,
0.017445964738726616,
-0.012645280919969082,
-0.05454690381884575,
0.04765896499156952,
-0.08648189157247543,
-0.007892428897321224,
-0.03160450607538223,
-0.019463643431663513,
-0.008375106379389763,
-0.02344682067632675,
-0.02442087233066559,
-0.0045006414875388145,
-0.03548331931233406,
-0.014619475230574608,
-0.007183632347732782,
-0.016993725672364235,
-0.05698203295469284,
-0.02989991381764412,
-0.009949244558811188,
0.018072141334414482,
0.020611632615327835,
0.037327058613300323,
0.026786426082253456,
0.04063187912106514,
-0.05579925701022148,
0.02976076304912567,
-0.09190875291824341,
-0.025899343192577362,
0.017071997746825218,
-0.020142002031207085,
0.06411348283290863,
0.03764014691114426,
-0.04755460470914841,
0.003174365498125553,
0.050268035382032394,
-0.03231764957308769,
0.04386712238192558,
-0.03294382616877556,
-0.012036497704684734,
0.02240319363772869,
-0.02055945247411728,
-0.004561519715934992,
0.025655830278992653,
-0.005492086987942457,
-0.0016263187862932682,
0.07465411722660065,
-0.009331764653325081,
0.060704305768013,
0.029830338433384895,
-0.00952309649437666,
-0.0029460720252245665,
-0.01361063588410616,
0.16364070773124695,
0.03150014206767082,
-0.055416595190763474,
0.009375249035656452,
0.02064642123878002,
0.017437268048524857,
0.029169375076889992,
0.024246934801340103,
-0.04974621906876564,
-0.0006935771089047194,
0.00981009379029274,
-0.0190287996083498,
0.0264037624001503,
0.004965925123542547,
-0.0018752672476693988,
0.012940974906086922,
-0.04880695790052414,
-0.023151125758886337,
-0.020994296297430992,
-0.02417735941708088,
-0.09559623152017593,
0.014375962316989899,
0.012523524463176727,
-0.028769318014383316,
0.02544710598886013,
-0.03130881115794182,
0.03861419856548309,
-0.017228541895747185,
0.025760192424058914,
-0.002195965265855193,
-0.006035642698407173,
-0.022229256108403206,
0.010366695001721382,
-0.025760192424058914,
-0.012193041853606701,
-0.04751981794834137,
0.008218562230467796,
0.022246649488806725,
-0.022716281935572624,
0.05325976386666298,
-0.07528029382228851,
-0.028682349249720573,
0.01728942058980465,
0.015819646418094635,
0.034857142716646194,
0.013593241572380066,
0.04257998242974281,
0.024803536012768745,
-0.04073623940348625,
0.055520955473184586,
-0.07145366072654724,
-0.0518682636320591,
0.014001995325088501,
0.003065654309466481,
0.031117478385567665,
0.0581648126244545,
-0.0795939564704895,
-0.018420016393065453,
0.04661533981561661,
0.07882862538099289,
0.04696321487426758,
0.049781009554862976,
0.05538180470466614,
0.026003705337643623,
0.040457941591739655,
-0.04574565216898918,
0.016167521476745605,
0.012723552994430065,
-0.02254234254360199,
-0.03236982971429825,
0.012993155978620052,
-0.001936145476065576,
-0.026473337784409523,
0.04136241599917412,
0.010471058078110218,
-0.0038766395300626755,
-0.01161904726177454,
-0.04751981794834137,
-0.013332335278391838,
0.02944767475128174,
0.03459623456001282,
0.005752993747591972,
-0.07354091852903366,
-0.002706907456740737,
-0.00680531794205308,
-0.004478899296373129,
0.020698601379990578,
-0.031239235773682594,
0.0074488879181444645,
-0.015036925673484802,
-0.0005419250810518861,
0.0015947924694046378,
-0.06115654110908508,
-0.0006462877499870956,
0.04835471883416176,
-0.04122326523065567,
0.04539777338504791,
0.026125462725758553,
0.05906928703188896,
-0.0264037624001503,
0.06261762231588364,
0.013358425348997116,
-0.02932591922581196,
0.05684288591146469,
-0.029969489201903343,
-0.018750498071312904,
0.006157399155199528,
-0.006313943304121494,
0.028421442955732346,
0.008035928010940552,
0.08488166332244873,
-0.037779297679662704,
0.04985058307647705,
0.04981579631567001,
0.011453806422650814,
-0.053990304470062256,
0.03249158710241318,
-0.03489192947745323,
0.030752209946513176,
0.026455944404006004,
-0.023516396060585976,
0.009236099198460579,
-0.03306558355689049,
0.03597034513950348,
-0.04324094578623772,
0.04237125813961029,
-0.040214426815509796,
-0.022211860865354538,
-0.03546592593193054,
-0.05767778679728508,
0.027499571442604065,
0.03026518225669861,
-0.042440831661224365,
-0.0068705445155501366,
-0.06265240907669067,
-0.008088109083473682,
-0.02275106869637966,
-0.02440347895026207,
0.011401625350117683,
-0.05019845813512802,
0.07576732337474823,
-0.03245680034160614,
-0.010705873370170593,
-0.04668491333723068,
0.023168519139289856,
0.06143484264612198,
-0.013288850896060467,
0.035326775163412094,
-0.043971482664346695,
-0.04925919324159622,
0.03569204360246658,
-0.09789220988750458,
0.0007881558267399669,
0.036840032786130905,
0.029795551672577858,
0.021533504128456116,
0.020942116156220436,
0.03930995240807533,
-0.01659366860985756,
-0.014097661711275578,
0.05917365103960037,
-0.03412660211324692,
0.010175363160669804,
-0.02697775885462761,
-0.0777154266834259,
-0.02885628677904606,
-0.07152323424816132,
-0.004965925123542547,
0.004359317012131214,
-0.020837752148509026,
0.03515283763408661,
-0.014584687538444996,
-0.0405970923602581,
-0.014115055091679096,
0.03920558840036392,
-0.030386939644813538,
-0.026942970231175423,
0.017593812197446823,
-0.03913601115345955,
0.015567435882985592,
-0.0022024877835065126,
0.020263757556676865,
-0.00347223412245512,
-0.0490504689514637,
-0.001983978319913149,
0.02475135400891304,
-0.04073623940348625,
0.00011339931370457634,
-0.027934415265917778,
-0.033570002764463425,
-0.03979697823524475,
0.03704875707626343,
-0.034978900104761124,
0.020246364176273346,
-0.03249158710241318,
0.011871256865561008,
0.014610778540372849,
0.07034046202898026,
-0.022264042869210243,
-0.02403820864856243,
0.003554854542016983,
-0.05548616871237755,
-0.09211747348308563,
0.02064642123878002,
0.03586598113179207,
0.01763729564845562,
-0.0020383340306580067,
-0.04257998242974281,
0.014010692946612835,
0.0364573709666729,
0.06714000552892685,
0.05371200293302536,
0.03188280388712883,
-0.031343597918748856,
0.02442087233066559,
-0.029378099367022514,
0.03962303698062897,
-0.04901568219065666,
-0.04685885086655617,
0.027882235124707222,
0.02955203875899315,
0.040005702525377274,
0.07903735339641571,
-0.03468320518732071,
0.028891073539853096,
0.05019845813512802,
0.03350042551755905,
-0.057016823440790176,
-0.011401625350117683,
0.02299458160996437,
-0.019759338349103928,
-0.03670088201761246,
-0.007983746938407421,
0.04042315110564232,
0.0030395635403692722,
0.03656173124909401,
-0.01575007103383541,
0.012175648473203182,
-0.06550499051809311,
0.04066666588187218,
-0.025377530604600906,
0.00986227486282587,
-0.015689192339777946,
-0.03271770849823952,
0.008492514491081238,
0.026942970231175423,
-0.02428172156214714,
0.05336412787437439,
0.0008968669571913779,
0.026212431490421295,
0.01683718152344227,
-0.019881093874573708,
0.032543767243623734,
0.0036157327704131603,
0.008588180877268314,
0.02556886151432991,
-0.014358568005263805,
0.0017448138678446412,
0.031134871765971184,
-0.0029656400438398123,
0.004346271511167288,
-0.028769318014383316,
0.04880695790052414,
-0.023151125758886337,
-0.008414242416620255,
-0.12586142122745514,
-0.028560591861605644,
-0.02967379428446293,
0.014984744600951672,
0.04950270801782608,
0.03249158710241318,
0.03607470542192459,
-0.03913601115345955,
-0.03809238597750664,
-0.03318733721971512,
-0.03221328556537628,
0.08961277455091476,
-0.0064574419520795345,
-0.005939977243542671,
0.011427715420722961,
0.02452523447573185,
-0.01996806263923645,
-0.02415996603667736,
-0.0609826035797596,
0.036492157727479935,
-0.012332192622125149,
0.007609780412167311,
0.04713715240359306,
-0.033796120434999466,
0.03757057338953018,
-0.009853578172624111,
-0.030282577499747276,
-0.039970915764570236,
-0.04859822988510132,
0.05378158017992973,
-0.027499571442604065,
0.0065618050284683704,
0.018089534714818,
0.0011284217471256852,
-0.012253920547664165,
0.04390190914273262,
0.004411498550325632,
0.0025003564078360796,
-0.008605574257671833,
-0.04118847846984863,
0.009949244558811188,
-0.0013436697190627456,
-0.04685885086655617,
0.045015111565589905,
-0.01289749052375555,
-0.010262331925332546,
-0.047937266528606415,
-0.041153691709041595,
-0.019550612196326256,
-0.038127172738313675,
-0.03271770849823952,
-0.012836611829698086,
-0.05127687379717827,
0.02334245666861534,
-0.021916167810559273,
0.005022455006837845,
-0.00799679197371006,
-0.01835044100880623,
0.04908525571227074,
-0.010479754768311977,
-0.0408753901720047,
0.031934987753629684,
0.0868297666311264,
0.043032221496105194,
0.0028090961277484894,
0.0007414100109599531,
0.04014485329389572,
-0.030404333025217056,
0.025708012282848358,
0.00828378926962614,
0.04118847846984863,
0.02756914682686329,
-0.03861419856548309,
-0.03141317144036293,
-0.005752993747591972,
-0.04038836434483528,
0.0079880952835083,
-0.039518676698207855,
-0.02440347895026207,
-0.0003174365556333214,
0.0478329062461853,
0.008549044840037823,
-0.011297262273728848,
-0.031082691624760628,
0.029117193073034286,
0.003917949739843607,
0.021342171356081963,
0.009427431039512157,
0.04797205328941345,
-0.04017964005470276,
0.016776304692029953,
-0.029378099367022514,
0.006266110576689243,
-0.019533218815922737,
0.050024520605802536,
-0.004678927827626467,
0.04908525571227074,
-0.029604218900203705,
-0.01986370049417019,
-0.005335542839020491,
-0.005022455006837845,
0.003798367455601692,
-0.05009409785270691,
-0.03569204360246658,
-0.01972454972565174,
0.0004883848014287651,
0.041640717536211014,
0.006740090902894735,
0.07486284524202347,
-0.014741231687366962,
-0.008588180877268314,
-0.005239877384155989,
-0.005244225729256868,
-0.02344682067632675,
-0.058338750153779984,
-0.04118847846984863,
-0.029395494610071182,
0.053294550627470016,
-0.01857656054198742,
-0.02219446748495102,
-0.04480638727545738,
0.024890504777431488,
0.014828200452029705,
0.04612831398844719,
-0.07124494016170502,
-0.016958938911557198,
0.003835329320281744,
-0.09204789996147156,
0.00010252820356981829,
-0.007488023955374956,
-0.015436982735991478,
-0.004935486242175102,
-0.06247847154736519,
-0.00671400036662817,
0.02883889339864254,
-0.0037592314183712006,
-0.04567607492208481,
-0.007975049316883087,
-0.056912459433078766,
0.05075506120920181,
-0.04765896499156952,
0.026803819462656975,
-0.04831993207335472,
0.023098943755030632,
-0.10018819570541382,
0.017219845205545425,
-0.0012480039149522781,
-0.008731679059565067,
0.025412317365407944,
-0.02462959662079811,
0.017019817605614662,
0.014123751781880856,
0.003191759344190359,
-0.019881093874573708,
-0.04473681002855301,
-0.04049272835254669,
-0.040249213576316833,
0.03539634868502617,
-0.007388009689748287,
0.06411348283290863,
0.004009266849607229,
-0.03024778887629509,
-0.061713144183158875,
-0.018420016393065453,
0.01541958935558796,
-0.045954376459121704,
0.02184659242630005,
-0.005618192255496979,
-0.029238950461149216,
-0.02509922906756401,
-0.018402623012661934,
0.06053036451339722,
0.06894895434379578,
0.0002916176454164088,
-0.0026460292283445597,
-0.05075506120920181,
-0.02344682067632675,
0.020994296297430992,
-0.007322782650589943,
0.03501368686556816,
0.08022012561559677,
0.03045651502907276,
0.008262047544121742,
0.024560023099184036,
0.045815225690603256,
0.02789962850511074,
0.007809808943420649,
0.039170801639556885,
-0.0588257759809494,
0.006809666287153959,
0.09420473128557205,
-0.026769032701849937,
0.04543256387114525,
-0.018402623012661934,
0.003367871278896928,
0.021516110748052597,
-0.003350477432832122,
-0.01236698031425476,
0.05538180470466614,
0.03374394029378891,
-0.054338179528713226,
-0.003191759344190359,
-0.0059486739337444305,
0.012819218449294567,
-0.014993441291153431,
-0.014393355697393417,
0.05712118372321129,
-0.03539634868502617,
-0.029256343841552734,
-0.06529626250267029,
0.059486739337444305,
0.06560935080051422,
-0.016393641009926796,
0.0009555709548294544,
0.0002330495190108195,
0.03236982971429825,
-0.05510350689291954,
0.005374678876250982,
0.061260905116796494,
0.04202337935566902,
0.024960078299045563,
-0.02160307951271534,
0.023603364825248718,
0.08223780989646912,
-0.01413244940340519,
-0.03082178346812725,
0.07646307349205017,
-0.03850983828306198,
0.013567151501774788,
-0.05597319453954697,
0.014567293226718903,
0.07708925008773804,
0.015715282410383224,
-0.007853292860090733,
0.04143199324607849,
-0.021203022450208664,
-0.024490447714924812,
0.024577416479587555,
0.0033330838195979595,
-0.010671085678040981,
-0.04939834401011467,
0.006892286706715822,
0.05082463473081589,
-0.000569646421354264,
0.027743084356188774,
-0.00851860549300909,
0.0499897338449955,
0.028195323422551155,
-0.004496293142437935,
-0.008249001577496529,
-0.06477444618940353,
0.0029743369668722153,
0.016732819378376007,
0.04282349348068237,
-0.0065444111824035645,
0.033343881368637085,
-0.057399485260248184,
-0.025081835687160492,
-0.0761151984333992,
-0.0298825204372406,
-0.005513829179108143,
-0.0352398045361042,
-0.008075064048171043,
-0.013828057795763016,
-0.031360991299152374,
-0.027482178062200546,
0.010149273090064526,
0.025186197832226753,
0.006487881299108267,
-0.004739806056022644,
-0.008831693790853024,
0.01471514068543911,
-0.00475719990208745,
-0.0045484742149710655,
-0.0739583671092987,
-0.020715996623039246,
-0.017324209213256836,
0.0623045340180397,
-0.0415363535284996,
-0.027116907760500908,
-0.02473396062850952,
0.016202310100197792,
0.03200456127524376,
-0.0005848659784533083,
0.029795551672577858,
-0.010236241854727268,
-0.006996649317443371,
-0.03082178346812725
] |
7,581 | hsbalance.tools | convert_to_polar |
docs: Convert complex number in the cartesian form
into polar form.
:inputs:
cart: Complex number in cartesian number ex. 12+23j
-> <class 'complex'>
output: Complex number in polar form (modulus, phase in degrees)
ex.(12, 90) -> <class 'tuple'>
| def convert_to_polar(cart):
'''
docs: Convert complex number in the cartesian form
into polar form.
:inputs:
cart: Complex number in cartesian number ex. 12+23j
-> <class 'complex'>
output: Complex number in polar form (modulus, phase in degrees)
ex.(12, 90) -> <class 'tuple'>
'''
phase = cm.phase(cart) * 180 / cm.pi
if phase<0:
phase= phase+360
return (abs(cart), phase)
| (cart) | [
0.03155042603611946,
0.035178545862436295,
-0.015463976189494133,
0.030945736914873123,
0.017971647903323174,
-0.005628922954201698,
0.015819674357771873,
0.032012831419706345,
0.01709129475057125,
0.00038320914609357715,
0.08081461489200592,
0.030447760596871376,
0.012031489051878452,
0.04570721089839935,
-0.01392558217048645,
-0.015970846638083458,
0.00038098605000413954,
-0.0202570091933012,
-0.06847189366817474,
0.0020130290649831295,
0.04812595620751381,
0.030269911512732506,
-0.0095593873411417,
0.0072162258438766,
-0.05602245405316353,
0.03958920016884804,
0.03706374391913414,
0.028651485219597816,
-0.07284697890281677,
-0.002547687850892544,
0.028313571587204933,
0.06445249915122986,
0.018514087423682213,
0.022142209112644196,
-0.03144371509552002,
0.03859324753284454,
0.012716208584606647,
0.030821243301033974,
-0.07860928773880005,
-0.011373448185622692,
-0.00009587176464265212,
0.022746896371245384,
-0.017829369753599167,
-0.010626481845974922,
0.002787784207612276,
-0.01924326829612255,
-0.05527548864483833,
0.0256991907954216,
-0.0009548271773383021,
-0.010288568213582039,
0.008807974867522717,
0.01738474704325199,
-0.05516878142952919,
-0.002117515541613102,
0.005108714569360018,
0.0037948545068502426,
-0.03944692388176918,
0.0764750987291336,
-0.006558184511959553,
0.05207420513033867,
-0.011346770450472832,
0.034876201301813126,
0.021359672769904137,
0.02552134171128273,
0.018496302887797356,
0.014165678061544895,
0.02690856344997883,
-0.002248679054901004,
0.018816431984305382,
-0.01895871013402939,
-0.07224228978157043,
0.03934021294116974,
0.04243478551506996,
-0.08465615659952164,
0.014147893525660038,
-0.0407630056142807,
0.044319987297058105,
-0.03313327953219414,
0.02797565795481205,
-0.040265027433633804,
-0.06313642114400864,
-0.030163202434778214,
0.03656576946377754,
0.02856256067752838,
-0.03167491778731346,
0.006571522913873196,
0.010466417297720909,
-0.020292578265070915,
-0.025130072608590126,
-0.03119472600519657,
-0.008336675353348255,
-0.0491219125688076,
0.019563397392630577,
-0.002492110012099147,
-0.023351581767201424,
0.012120413593947887,
-0.013818872161209583,
0.011666898615658283,
-0.012929626740515232,
-0.03934021294116974,
-0.002718867501243949,
0.02546798624098301,
-0.09219695627689362,
-0.044071000069379807,
0.04154554009437561,
0.014592516236007214,
0.021839864552021027,
0.011364554986357689,
0.07391407340765,
0.04638303816318512,
-0.013098583556711674,
0.04140326380729675,
0.015063815750181675,
-0.006033529527485371,
-0.08792857825756073,
0.04549379274249077,
0.013365357182919979,
-0.021982144564390182,
-0.011426802724599838,
-0.012947412207722664,
0.019029850140213966,
0.05737410858273506,
0.03379132226109505,
0.03837982937693596,
0.05470637232065201,
0.0029300632886588573,
0.005753417499363422,
0.008038777858018875,
-0.040798574686050415,
0.029505159705877304,
0.055737897753715515,
-0.031105801463127136,
0.04033616930246353,
-0.030216556042432785,
0.0011148913763463497,
0.04638303816318512,
0.04524480178952217,
-0.023636139929294586,
-0.011124459095299244,
0.02103954367339611,
0.01686009205877781,
0.01606866344809532,
-0.020168084651231766,
-0.007167317438870668,
-0.001278290175832808,
0.03612114489078522,
-0.02045264281332493,
-0.03192390874028206,
-0.042648207396268845,
0.015917491167783737,
0.00878129806369543,
-0.05356813967227936,
0.0924103781580925,
0.014805934391915798,
0.05936601758003235,
-0.03042997419834137,
0.041936811059713364,
-0.005655600223690271,
-0.032670874148607254,
-0.008590109646320343,
0.032902076840400696,
0.03891337662935257,
-0.03181719779968262,
0.037028174847364426,
0.0022497905883938074,
-0.012236015871167183,
0.023778419941663742,
-0.05708954855799675,
-0.03498291224241257,
-0.052145346999168396,
-0.011738038621842861,
-0.020470427349209785,
-0.00596238998696208,
-0.040265027433633804,
0.01010182686150074,
-0.016602210700511932,
-0.02653508074581623,
0.004770801402628422,
-0.04086971655488014,
-0.05050913617014885,
-0.0216442309319973,
-0.004401764366775751,
0.013952258974313736,
0.03727716580033302,
0.03459164500236511,
0.03749058395624161,
0.0324040986597538,
-0.028544774278998375,
0.030376620590686798,
-0.08301994204521179,
-0.02498779445886612,
0.052750032395124435,
-0.00532213319092989,
0.05008229613304138,
0.0048330482095479965,
-0.0574808195233345,
0.0340580977499485,
0.03909122571349144,
-0.017189111560583115,
0.06174919381737709,
-0.03976704925298691,
0.009194796904921532,
0.009968440048396587,
-0.03951806202530861,
0.009363753721117973,
-0.007945407181978226,
-0.03937578201293945,
0.009132549166679382,
0.05452852323651314,
0.007709756959229708,
0.042292509227991104,
0.05481308326125145,
0.032546378672122955,
-0.026979703456163406,
-0.03980262205004692,
0.13843771815299988,
0.005113160703331232,
-0.03891337662935257,
0.025805899873375893,
0.049228619784116745,
0.037206023931503296,
-0.005326579324901104,
0.013223078101873398,
-0.03663690760731697,
-0.01548176072537899,
-0.014681440778076649,
-0.01159575954079628,
0.02929174154996872,
-0.022106638178229332,
-0.007896498776972294,
0.03414702042937279,
-0.03731273487210274,
-0.03745501488447189,
-0.03597886487841606,
0.02139524184167385,
-0.03144371509552002,
0.005704508628696203,
0.020417071878910065,
-0.046418607234954834,
0.021982144564390182,
-0.014441343955695629,
0.0367080457508564,
-0.0281001515686512,
0.07238456606864929,
-0.021733155474066734,
0.019616752862930298,
-0.004541820380836725,
-0.011168921366333961,
-0.0027388755697757006,
-0.00009726121061248705,
-0.02850920520722866,
0.04688101261854172,
0.02994978241622448,
-0.016513286158442497,
0.025628050789237022,
-0.039660342037677765,
-0.005273224785923958,
0.00223311735317111,
0.0206304918974638,
0.025130072608590126,
0.019492257386446,
-0.010991072282195091,
0.029256170615553856,
-0.07462546974420547,
0.039055656641721725,
-0.05001115798950195,
-0.03663690760731697,
-0.011222275905311108,
0.0124672194942832,
0.015864137560129166,
0.059081461280584335,
-0.09169898182153702,
-0.03653019666671753,
0.030412189662456512,
0.07547914236783981,
0.055204350501298904,
0.033737968653440475,
0.07640396058559418,
0.036067791283130646,
0.03998047113418579,
-0.009719451889395714,
-0.0010309688514098525,
-0.0031301435083150864,
-0.008336675353348255,
-0.07362951338291168,
0.017198003828525543,
0.032617516815662384,
0.023298228159546852,
0.015686288475990295,
0.029202817007899284,
0.04197238013148308,
0.002420970471575856,
-0.0632786974310875,
-0.0046685379929840565,
0.06580415368080139,
0.06068210303783417,
0.002463209442794323,
-0.061357926577329636,
0.009692774154245853,
0.028651485219597816,
-0.022071069106459618,
-0.013489851728081703,
0.006869419943541288,
-0.01374773308634758,
-0.012636176310479641,
0.04752127081155777,
0.02128853276371956,
-0.05289231240749359,
-0.00777200423181057,
0.032902076840400696,
-0.01936776377260685,
0.04688101261854172,
0.014592516236007214,
0.03316885232925415,
-0.035480890423059464,
0.0412609837949276,
-0.005451073870062828,
-0.050722554326057434,
0.04848165437579155,
-0.06559073179960251,
-0.03699260577559471,
0.0031079123727977276,
0.010137396864593029,
0.014370204880833626,
0.04311061277985573,
0.03220846503973007,
-0.057231828570365906,
0.04919305071234703,
0.05331914871931076,
0.03802413120865822,
-0.051256101578474045,
0.03941135108470917,
-0.0212707482278347,
0.028438065201044083,
0.005339918192476034,
-0.04179453104734421,
0.022213349118828773,
-0.020043589174747467,
-0.028046797960996628,
0.003950472455471754,
0.0658397227525711,
-0.064310222864151,
0.0076697408221662045,
0.017304714769124985,
-0.06007741391658783,
0.026855207979679108,
0.033560119569301605,
-0.01702904887497425,
-0.015695180743932724,
-0.0009370422922074795,
0.016041986644268036,
-0.008879114873707294,
-0.018603011965751648,
0.020168084651231766,
-0.03235074505209923,
0.06662225723266602,
-0.03837982937693596,
-0.0050686984322965145,
-0.026197167113423347,
-0.011053319089114666,
0.0387355275452137,
0.0052687786519527435,
0.030412189662456512,
-0.012031489051878452,
-0.039909329265356064,
0.016282081604003906,
-0.10855907201766968,
0.005824557039886713,
0.045991767197847366,
0.04858836531639099,
0.017856046557426453,
0.02683742344379425,
0.015588470734655857,
-0.03293764591217041,
-0.03060782328248024,
0.0660887137055397,
0.039126794785261154,
0.004190568812191486,
-0.016290973871946335,
-0.07533686608076096,
-0.030945736914873123,
-0.05303459241986275,
-0.032066185027360916,
0.008599001914262772,
-0.03281315416097641,
0.04250592738389969,
-0.05043799430131912,
-0.035480890423059464,
0.0007063942612148821,
0.010368600487709045,
-0.06736922264099121,
-0.02032814733684063,
0.04823266714811325,
-0.0630297064781189,
0.031532637774944305,
0.027708884328603745,
0.0040705204010009766,
0.00657596904784441,
-0.06680011004209518,
0.0024343091063201427,
0.011978134512901306,
-0.06342097371816635,
0.0015717410715296865,
-0.016842305660247803,
-0.011631328612565994,
-0.04030059650540352,
0.06142906844615936,
-0.021306317299604416,
0.020096944645047188,
-0.04873064532876015,
0.027299830690026283,
-0.0001854910224210471,
0.06818733364343643,
-0.027157552540302277,
-0.03146149963140488,
0.0010309688514098525,
-0.06089552119374275,
-0.0946868434548378,
0.004552936181426048,
0.04823266714811325,
0.018318453803658485,
-0.005815664306282997,
-0.04848165437579155,
0.007234010845422745,
0.04520923271775246,
0.05207420513033867,
0.057231828570365906,
0.07711535692214966,
-0.016353221610188484,
0.02511228807270527,
-0.000283446948742494,
0.05762309581041336,
-0.017429208382964134,
-0.048339374363422394,
0.04118984192609787,
0.0101285045966506,
0.024596525356173515,
0.05303459241986275,
-0.038166411221027374,
0.024525385349988937,
0.08401589840650558,
0.027815593406558037,
-0.04951317980885506,
0.019687891006469727,
0.0012427202891558409,
-0.005411057732999325,
0.0015395060181617737,
-0.03473392128944397,
0.02952294424176216,
-0.000408774969400838,
0.0227824654430151,
-0.04332403093576431,
0.04364416003227234,
-0.04118984192609787,
0.04165225103497505,
-0.026321662589907646,
-0.02192878909409046,
0.020968405529856682,
-0.057231828570365906,
-0.056449294090270996,
0.028349140658974648,
-0.011782500892877579,
0.012218230403959751,
-0.005886803846806288,
-0.008047670125961304,
0.019954664632678032,
-0.014156785793602467,
0.04549379274249077,
-0.019385548308491707,
0.007834251038730145,
0.011044426821172237,
-0.042292509227991104,
-0.0005479974206537008,
0.025805899873375893,
-0.01387222670018673,
0.023813989013433456,
-0.02754881978034973,
0.02906053699553013,
-0.04058515653014183,
0.024489816278219223,
-0.11218719184398651,
-0.061535775661468506,
-0.02463209629058838,
0.023209303617477417,
0.03610336035490036,
0.025983748957514763,
-0.0384865365922451,
-0.007127301301807165,
-0.006789388135075569,
-0.019029850140213966,
-0.036245640367269516,
0.08366020023822784,
-0.018994281068444252,
0.01977681554853916,
0.010510879568755627,
0.0030434420332312584,
-0.014752579852938652,
-0.023333797231316566,
-0.09148555994033813,
0.043075043708086014,
0.020754985511302948,
0.0038193087093532085,
0.028349140658974648,
-0.0011637997813522816,
-0.016833413392305374,
-0.03489398583769798,
-0.029256170615553856,
-0.04805481806397438,
-0.015979738906025887,
0.061357926577329636,
-0.030803458765149117,
0.03516076132655144,
0.021181823685765266,
0.00730959651991725,
-0.0006819400005042553,
0.02929174154996872,
0.014779257588088512,
0.058014366775751114,
-0.016033092513680458,
-0.038948945701122284,
0.005593352951109409,
-0.029309526085853577,
-0.036850325763225555,
-0.00657596904784441,
-0.019278839230537415,
0.008203288540244102,
-0.010084042325615883,
-0.07441204786300659,
-0.009257043711841106,
-0.06512832641601562,
-0.018869785591959953,
-0.014307957142591476,
-0.056520432233810425,
0.024169687181711197,
-0.02079055644571781,
0.010030686855316162,
0.0033102156594395638,
-0.04286162555217743,
0.029202817007899284,
-0.011106674559414387,
-0.022693540900945663,
0.025058932602405548,
0.04883735254406929,
0.024881083518266678,
0.007509676739573479,
0.03745501488447189,
0.014201248064637184,
-0.043537452816963196,
0.03238631412386894,
-0.0018518534488976002,
0.010759868659079075,
0.011426802724599838,
-0.07633282244205475,
-0.01997244916856289,
0.00383931677788496,
0.021804295480251312,
0.02134188823401928,
-0.05339029058814049,
-0.0047307852655649185,
-0.017944971099495888,
0.07640396058559418,
-0.011560189537703991,
-0.018780861049890518,
-0.02109289914369583,
0.02294252999126911,
-0.01428128033876419,
0.014450236223638058,
0.024418676272034645,
0.015499546192586422,
-0.018425162881612778,
0.032315175980329514,
-0.028544774278998375,
-0.0060824379324913025,
-0.009666096419095993,
0.04858836531639099,
-0.044497836381196976,
0.05349699780344963,
-0.023227088153362274,
-0.011053319089114666,
0.0053710415959358215,
0.002556580351665616,
0.0021164037752896547,
-0.02235562726855278,
-0.029789717867970467,
-0.01260949857532978,
0.000354586576577276,
0.04762797802686691,
0.0069583444856107235,
0.031283650547266006,
-0.061713624745607376,
-0.023778419941663742,
0.009292613714933395,
-0.02367171086370945,
-0.05075812339782715,
-0.06235388293862343,
-0.06391895562410355,
-0.021484166383743286,
0.03384467586874962,
-0.017607057467103004,
0.023813989013433456,
-0.04346631094813347,
-0.024365322664380074,
0.041154272854328156,
0.01870972104370594,
-0.07153089344501495,
-0.006864973809570074,
0.017962755635380745,
-0.0670846700668335,
0.0005996848340146244,
0.00027455450617708266,
0.014396881684660912,
-0.024649880826473236,
-0.02450760081410408,
-0.027157552540302277,
0.014868182130157948,
-0.05413725599646568,
-0.03717045485973358,
-0.014263494871556759,
-0.05531105771660805,
0.04638303816318512,
-0.04357302188873291,
0.004492911975830793,
-0.040620725601911545,
0.027637744322419167,
-0.07313153892755508,
0.03457385674118996,
-0.03457385674118996,
-0.00765195582062006,
0.04602733999490738,
-0.06310085207223892,
0.027708884328603745,
0.015677394345402718,
0.039233505725860596,
-0.022800249978899956,
-0.06868530809879303,
-0.03379132226109505,
-0.0326530896127224,
0.004997558891773224,
0.016708919778466225,
0.0496198907494545,
-0.008785744197666645,
-0.03245745599269867,
-0.05612916499376297,
-0.01124006137251854,
0.031354788690805435,
-0.036601338535547256,
0.007269580382853746,
-0.038699958473443985,
0.0029545174911618233,
-0.025432417169213295,
0.01768708974123001,
0.05200306698679924,
0.06416794657707214,
0.020932834595441818,
0.010084042325615883,
-0.031585995107889175,
0.05374598875641823,
0.028669269755482674,
-0.006029083393514156,
0.0008264423813670874,
0.06587529182434082,
-0.0018874232191592455,
-0.01602420024573803,
0.008318889886140823,
0.04876621440052986,
0.02020365372300148,
0.030625609681010246,
0.0539238378405571,
-0.0455649308860302,
-0.016246512532234192,
0.06377667188644409,
-0.0034524949733167887,
0.05918816849589348,
0.0184785183519125,
0.03318663686513901,
0.028064582496881485,
-0.0146191930398345,
-0.0010454190196469426,
0.07256241887807846,
0.006451474968343973,
-0.06338540464639664,
-0.03551645949482918,
-0.02582368440926075,
0.023511646315455437,
-0.005517767276614904,
0.02690856344997883,
0.06295856833457947,
-0.021359672769904137,
-0.026979703456163406,
-0.03459164500236511,
0.04513809457421303,
0.03501848131418228,
-0.004726339131593704,
-0.00125939364079386,
-0.006647109054028988,
0.02929174154996872,
-0.052750032395124435,
0.041687820106744766,
0.0346805676817894,
0.00624694861471653,
0.04670316353440285,
-0.03958920016884804,
0.04716557264328003,
0.05111382156610489,
-0.034449364989995956,
-0.021982144564390182,
0.05684056133031845,
-0.03169270232319832,
-0.029629655182361603,
-0.055737897753715515,
0.011222275905311108,
0.09497140347957611,
-0.009692774154245853,
-0.04232807829976082,
0.03089238330721855,
-0.013409819453954697,
-0.00442399550229311,
-0.021786510944366455,
-0.022551260888576508,
-0.04154554009437561,
-0.05363927781581879,
-0.021537521854043007,
0.00971055869013071,
0.0473434217274189,
0.03777514025568962,
-0.04040730744600296,
0.025610266253352165,
0.04691658169031143,
-0.014743687584996223,
-0.004399541299790144,
-0.06879201531410217,
0.025556910783052444,
0.04030059650540352,
-0.0008931357879191637,
-0.009479355067014694,
0.031408146023750305,
-0.018514087423682213,
-0.02653508074581623,
-0.05004672706127167,
-0.0070250378921628,
0.019261054694652557,
0.004186122212558985,
0.02253347635269165,
-0.02934509515762329,
0.008714604191482067,
-0.038877807557582855,
-0.025894824415445328,
0.014174570329487324,
0.016593318432569504,
-0.031834982335567474,
0.006842742674052715,
0.007434091065078974,
0.0015406175516545773,
-0.003092350671067834,
-0.08124145120382309,
-0.03830868750810623,
-0.04222136735916138,
0.05676942318677902,
-0.022924745455384254,
-0.032670874148607254,
-0.08060119301080704,
-0.05965057760477066,
-0.003267976688221097,
0.022106638178229332,
0.030376620590686798,
-0.009248151443898678,
-0.039731480181217194,
-0.04997558891773224
] |
7,583 | hsbalance.tools | ill_condition | null | def ill_condition(alpha):
# Checking ILL-CONDITIONED planes
# Using the algorithm as in Darlow `Balancing of High Speed Machinery 1989 chapter 6`
# Find the norm of the influence matrix columns
alpha_value = alpha.copy()
U = np.linalg.norm(alpha_value, axis = 0)
# arrange the influence matrix by the magnitude of the norm (descending)
index = np.argsort(U)[::-1]
alpha_arranged_by_column_norm = alpha_value[:, index]
def u(i):
'''
returns column vector by index i in alpha_arranged_by_column_norm
'''
return alpha_arranged_by_column_norm[:, i, np.newaxis]
def normalized(vector):
'''
Normalize vector = vector / norm(vector)
Arg:
vector -> complex of vector
returns: normalized vector
'''
return vector / np.linalg.norm(vector)
sf =[] # Significance Factor
# find e = u/norm(u)
e = normalized(u(0))
sigma = (np.conjugate(e).T @ u(1)) * e
for i in range(0, len(index)-1):
# find v1 = u1 - (conjugate(e0).T * u2)e1
v = u(i+1) - sigma
# sf1 = norm(v1) / norm(u1)
sf.append(np.linalg.norm(v) / np.linalg.norm(u(i+1)))
# calculate e1 = v2 / norm(v2)
e = normalized(v)
sigma += (np.conjugate(e).T @ u(i+1)) * e
ill_plane = []
for i, factor in enumerate(sf):
if factor <= 0.2:
ill_plane.append(index[i+1])
return ill_plane
| (alpha) | [
-0.01319897174835205,
0.03284052014350891,
-0.045153405517339706,
0.04408271983265877,
0.025733379647135735,
-0.033763524144887924,
-0.018940063193440437,
-0.09510643780231476,
-0.06276433914899826,
0.021284496411681175,
-0.026176422834396362,
0.012294426560401917,
-0.036606378853321075,
-0.03044070489704609,
-0.09953685849905014,
-0.0038073956966400146,
0.001381046255119145,
0.03232363611459732,
-0.018210889771580696,
-0.02209674008190632,
-0.021598316729068756,
-0.010753008536994457,
-0.02217058092355728,
0.10706858336925507,
0.016743311658501625,
0.02420119196176529,
-0.01953078620135784,
-0.02970230206847191,
-0.07513260841369629,
-0.028797756880521774,
0.025917980819940567,
0.010365346446633339,
0.022152120247483253,
-0.06088140979409218,
0.028816215693950653,
-0.003955076448619366,
0.07908307015895844,
0.0027505550533533096,
-0.05896155908703804,
-0.0027943977620452642,
-0.010466876439750195,
-0.029739221557974815,
0.05323892831802368,
-0.0030759142246097326,
-0.012802079319953918,
-0.048808503895998,
0.047590140253305435,
0.023481247946619987,
-0.011269891634583473,
-0.004137369804084301,
0.008819312788546085,
-0.05844467878341675,
0.08846080303192139,
0.003126679453998804,
0.02049071155488491,
0.04984227195382118,
-0.01563570462167263,
-0.01984460838139057,
0.05538029968738556,
-0.053312771022319794,
0.0063871946185827255,
0.004049684386700392,
0.024662693962454796,
0.019161583855748177,
0.0009160824702121317,
-0.0033066654577851295,
-0.03902465105056763,
0.015608014538884163,
0.030459165573120117,
0.016641780734062195,
-0.030514545738697052,
0.0006997531745582819,
0.036514077335596085,
-0.022890524938702583,
-0.002283283742144704,
-0.02008458971977234,
0.00465194508433342,
-0.030366864055395126,
-0.025917980819940567,
-0.06390886753797531,
0.05146675929427147,
0.006701016332954168,
0.036495618522167206,
0.023592008277773857,
0.02250286191701889,
-0.029406940564513206,
-0.02145063690841198,
-0.011546792462468147,
0.011712933890521526,
0.0020513786002993584,
-0.029554620385169983,
-0.012552868574857712,
0.015349573455750942,
0.03440962731838226,
0.031843673437833786,
0.10293351858854294,
0.005404194351285696,
-0.06907769292593002,
0.047184016555547714,
-0.05682018771767616,
0.05936768278479576,
0.07188363373279572,
-0.0241088904440403,
0.04101834446191788,
0.009562332183122635,
0.04430424049496651,
-0.017694005742669106,
-0.03223133459687233,
0.02990536205470562,
-0.04862390458583832,
-0.02643486298620701,
0.023388946428894997,
-0.08860848098993301,
-0.044747281819581985,
-0.041276782751083374,
-0.054900337010622025,
-0.013651244342327118,
0.01753709465265274,
-0.05275896564126015,
-0.002584414090961218,
0.05460497736930847,
-0.06678864359855652,
-0.013974295929074287,
0.007596331182867289,
0.04836546257138252,
-0.03138216957449913,
0.013448183424770832,
-0.006779471877962351,
-0.04256899282336235,
-0.04522724449634552,
-0.052980486303567886,
0.048660825937986374,
0.02124757505953312,
0.01126066129654646,
-0.009839233011007309,
-0.04751629754900932,
0.01173139363527298,
-0.04238438978791237,
0.011722163297235966,
-0.009913073852658272,
0.010162285529077053,
-0.005898002069443464,
-0.02399813011288643,
-0.016734080389142036,
0.011214510537683964,
-0.010069984942674637,
0.047590140253305435,
-0.03525879234075546,
0.046630214899778366,
-0.00486423633992672,
-0.019290804862976074,
0.016337187960743904,
-0.012820539996027946,
-0.0388769693672657,
0.0185893215239048,
-0.011214510537683964,
0.023093584924936295,
-0.052352845668792725,
0.01548802386969328,
-0.017177123576402664,
-0.0587400384247303,
0.00138566130772233,
-0.08942072838544846,
-0.00007373223343165591,
-0.0011941377306357026,
-0.016235658898949623,
-0.010005374439060688,
0.03391120582818985,
-0.03274821862578392,
-0.008265510201454163,
0.0019683081191033125,
0.006622560787945986,
-0.06501647084951401,
0.04578104987740517,
-0.04341815412044525,
0.016872530803084373,
-0.017047902569174767,
0.019936908036470413,
0.03245285525918007,
-0.05323892831802368,
-0.007217899430543184,
0.03389274328947067,
-0.056894030421972275,
-0.024773454293608665,
-0.000020857749404967763,
-0.034908048808574677,
0.059220001101493835,
-0.013577403500676155,
0.0068994625471532345,
0.010393036529421806,
-0.04958382993936539,
-0.016946371644735336,
0.04962075129151344,
0.024570394307374954,
-0.015026521869003773,
-0.0054364996030926704,
0.01309744082391262,
0.01363278366625309,
0.0025451863184571266,
-0.07760626077651978,
0.014869610778987408,
0.00919774454087019,
-0.003728940151631832,
0.040722981095314026,
0.04755321890115738,
-0.007024067919701338,
-0.019678466022014618,
-0.009428496472537518,
0.006848697084933519,
0.021579857915639877,
-0.01373431459069252,
-0.02145063690841198,
-0.009206974878907204,
0.01921696402132511,
-0.00997768435627222,
-0.0010251124622300267,
0.06365042924880981,
0.037658605724573135,
0.034077346324920654,
-0.011500642634928226,
-0.03520341217517853,
-0.001581799820996821,
-0.027339408174157143,
-0.012488258071243763,
0.004012764431536198,
0.06302278488874435,
0.046224091202020645,
0.10145670920610428,
-0.018192429095506668,
0.015811076387763023,
-0.019918447360396385,
-0.024884214624762535,
-0.033449701964855194,
-0.039356932044029236,
0.03383736312389374,
0.05028531327843666,
-0.027413249015808105,
-0.0163833387196064,
-0.03943077474832535,
-0.04873466491699219,
0.020786073058843613,
-0.06988994032144547,
0.017057131975889206,
0.03500035032629967,
-0.004070451948791742,
-0.04249515011906624,
0.0168909914791584,
0.016300268471240997,
-0.0382862463593483,
-0.005358044058084488,
-0.07996915280818939,
-0.06649328023195267,
-0.006562565453350544,
-0.01670639030635357,
-0.0027344024274498224,
-0.08558102697134018,
0.017915526404976845,
0.0020052283070981503,
0.07598177343606949,
-0.03664330020546913,
0.029443860054016113,
-0.04035377874970436,
0.0002921887789852917,
0.03627409785985947,
0.010568407364189625,
0.033560462296009064,
0.0020433024037629366,
0.045707207173109055,
0.1095053181052208,
-0.018109358847141266,
0.052352845668792725,
-0.02080453373491764,
-0.012377496808767319,
-0.01817396841943264,
-0.01119605079293251,
0.03991073742508888,
0.02449655346572399,
0.03097604773938656,
-0.046630214899778366,
0.059847645461559296,
-0.02820703387260437,
-0.04688865318894386,
-0.05430961400270462,
0.044968802481889725,
-0.07070218771696091,
-0.022632082924246788,
-0.0166787002235651,
-0.08388269692659378,
0.04784857854247093,
-0.013881995342671871,
0.01542341336607933,
0.026379482820630074,
0.040944501757621765,
-0.04013225808739662,
0.062985859811306,
-0.007734782062470913,
-0.02811473235487938,
-0.05401425436139107,
0.039246171712875366,
-0.010494567453861237,
0.07051758468151093,
-0.00409814203158021,
0.033763524144887924,
-0.0851379856467247,
-0.017684776335954666,
-0.015598785132169724,
-0.011712933890521526,
0.020638391375541687,
0.025807220488786697,
-0.07372964173555374,
0.03909849375486374,
0.015543404035270214,
-0.021210655570030212,
-0.0054411147721111774,
0.04016917943954468,
-0.03437270596623421,
0.029019277542829514,
-0.04363967850804329,
0.017998598515987396,
0.07959995418787003,
0.0632443055510521,
0.01806320808827877,
-0.00818705465644598,
0.02514265663921833,
-0.031769830733537674,
-0.05142983794212341,
0.050137631595134735,
-0.044747281819581985,
0.041461385786533356,
-0.026914825662970543,
-0.026231802999973297,
0.01711251214146614,
-0.057115551084280014,
0.03732632100582123,
-0.02344432659447193,
-0.030403785407543182,
0.01616181805729866,
-0.0496576689183712,
0.009710012935101986,
-0.021893678233027458,
0.0380278080701828,
0.03363430127501488,
-0.0021736768539994955,
0.025511858984827995,
0.02451501227915287,
-0.03979997709393501,
0.03553569316864014,
-0.03394812345504761,
-0.006059527862817049,
0.06988994032144547,
-0.01995536871254444,
0.04648253321647644,
0.025973360985517502,
0.06453651189804077,
0.030920667573809624,
0.042199790477752686,
-0.0172325037419796,
-0.017389414831995964,
-0.030791446566581726,
0.021709077060222626,
0.04415655881166458,
-0.004278128035366535,
-0.030902208760380745,
0.007720937021076679,
-0.001438734121620655,
-0.052685126662254333,
0.018044747412204742,
-0.027948591858148575,
0.030089963227510452,
-0.03542493283748627,
-0.005667250603437424,
-0.025917980819940567,
0.024662693962454796,
-0.03522187098860741,
-0.02831779420375824,
0.028502395376563072,
0.03151139244437218,
-0.04375043883919716,
0.006451805122196674,
0.02715480700135231,
0.06283818185329437,
0.03424348682165146,
-0.025493398308753967,
-0.008487030863761902,
0.0034151184372603893,
-0.03073606640100479,
-0.04862390458583832,
0.009377731010317802,
0.02357354760169983,
-0.012746699154376984,
0.029406940564513206,
-0.060401447117328644,
0.058998480439186096,
-0.023222805932164192,
0.01997382938861847,
0.025511858984827995,
-0.009170054458081722,
-0.00032535925856791437,
-0.04175674542784691,
-0.011814463883638382,
-0.03898773342370987,
0.013078981079161167,
0.0047765509225428104,
0.0032235949765890837,
-0.04098142310976982,
-0.050432994961738586,
-0.00909159891307354,
0.04345507547259331,
-0.01988152787089348,
0.08166748285293579,
-0.01827549934387207,
0.07982147485017776,
0.014241967350244522,
-0.03328356146812439,
-0.02863161638379097,
-0.02650870382785797,
0.01616181805729866,
-0.06368734687566757,
-0.036624837666749954,
0.012174435891211033,
0.054346535354852676,
-0.03610795736312866,
0.028040891513228416,
0.024478092789649963,
-0.02377660945057869,
0.033246640115976334,
-0.012128286063671112,
0.021598316729068756,
-0.036181796342134476,
-0.014454258605837822,
-0.003292820416390896,
-0.019383104518055916,
-0.005002687219530344,
-0.10189975053071976,
-0.023075126111507416,
0.031972892582416534,
-0.035978734493255615,
0.02449655346572399,
0.05803855508565903,
0.011749853380024433,
0.02916695922613144,
0.07369271665811539,
0.01008844468742609,
0.013152820989489555,
0.0008272432605735958,
0.012977450154721737,
-0.0014087364543229342,
0.005598025396466255,
-0.027542470023036003,
0.011952915228903294,
0.0027505550533533096,
0.03075452707707882,
-0.014094286598265171,
-0.030791446566581726,
-0.006774856708943844,
0.0513559989631176,
-0.01648486964404583,
-0.028447015210986137,
-0.032508235424757004,
0.03605257719755173,
0.024164270609617233,
0.02006612904369831,
-0.055011097341775894,
0.027597850188612938,
0.03968921676278114,
0.00343357864767313,
0.0323420949280262,
0.013669704087078571,
-0.0017629396170377731,
0.0030643765348941088,
0.0323420949280262,
-0.03806472569704056,
0.010503796860575676,
0.0023594314698129892,
0.026601005345582962,
0.018192429095506668,
-0.03368968144059181,
0.018017057329416275,
0.04533800482749939,
0.006622560787945986,
-0.04914078861474991,
0.027080966159701347,
-0.00432889349758625,
0.0004883273504674435,
0.013457412831485271,
0.010162285529077053,
-0.036827899515628815,
0.03328356146812439,
0.027173267677426338,
-0.05379273369908333,
-0.05818623676896095,
-0.05504801869392395,
0.031529851257801056,
0.07686785608530045,
0.013291272334754467,
-0.01562647521495819,
0.022779764607548714,
0.01977076753973961,
0.05286972597241402,
-0.03116064891219139,
0.03553569316864014,
-0.02252132259309292,
-0.09842925518751144,
-0.029185418039560318,
0.014186587184667587,
-0.02314896509051323,
0.009123904630541801,
-0.055306460708379745,
0.014445028267800808,
0.025530317798256874,
0.026785604655742645,
-0.05840775743126869,
0.06505339592695236,
-0.04323355481028557,
-0.008380885235965252,
0.042753592133522034,
-0.020638391375541687,
-0.011906764470040798,
-0.0068440823815763,
0.00887469295412302,
0.006585640832781792,
-0.04267975315451622,
0.004711940418928862,
0.02746862918138504,
0.0017121742712333798,
0.06420423090457916,
-0.021893678233027458,
-0.05877695977687836,
-0.01679869182407856,
-0.03267437592148781,
-0.022798223420977592,
-0.01258055865764618,
0.027007127180695534,
0.037363242357969284,
-0.026582544669508934,
0.019050823524594307,
0.010503796860575676,
-0.051282159984111786,
-0.030514545738697052,
-0.032471317797899246,
0.02853931486606598,
0.011445262469351292,
0.04279051348567009,
-0.008307045325636864,
0.00030055351089686155,
0.00554264523088932,
-0.028022432699799538,
0.06394578516483307,
-0.06438882648944855,
0.02841009385883808,
-0.011906764470040798,
0.015875685960054398,
-0.03442808613181114,
-0.0071579040959477425,
0.0256779994815588,
0.043491996824741364,
0.0268225260078907,
0.010328426025807858,
0.0000662328238831833,
0.03337586298584938,
-0.006336429622024298,
-0.06734244525432587,
0.018681621178984642,
-0.03348662331700325,
-0.0632443055510521,
-0.012719009071588516,
0.07812314480543137,
-0.011029910296201706,
0.047073256224393845,
0.06117677316069603,
0.016946371644735336,
-0.051171399652957916,
0.005791856441646814,
-0.010909919627010822,
-0.03202827274799347,
0.00024171193945221603,
0.03398504480719566,
-0.041682906448841095,
-0.015395723283290863,
-0.014749620109796524,
0.028243953362107277,
-0.0993153378367424,
-0.01337434258311987,
-0.0422736294567585,
0.0016498714685440063,
-0.012719009071588516,
-0.022669002413749695,
0.029130037873983383,
0.04784857854247093,
0.023942749947309494,
-0.05925692245364189,
0.009848463349044323,
-0.02146909572184086,
-0.05630330741405487,
-0.02154293656349182,
0.044968802481889725,
0.030348405241966248,
0.003073606640100479,
0.011528332717716694,
0.06542259454727173,
-0.011860614642500877,
-0.025862600654363632,
-0.006008762866258621,
-0.00007293903036043048,
-0.008708552457392216,
-0.005750321317464113,
0.016854071989655495,
-0.04869774356484413,
0.024330412968993187,
-0.012322116643190384,
0.03167753294110298,
-0.016087977215647697,
-0.0042642829939723015,
-0.005791856441646814,
0.02220750041306019,
0.01516497228294611,
-0.009017759002745152,
0.011177591048181057,
0.09045448899269104,
0.05737399309873581,
0.022429021075367928,
0.02663792483508587,
0.008459340780973434,
-0.02314896509051323,
0.03791704773902893,
-0.046002570539712906,
0.07812314480543137,
-0.04279051348567009,
0.007854772731661797,
0.006221053656190634,
0.025936441496014595,
0.062985859811306,
-0.06712092459201813,
0.001906005316413939,
-0.061324454843997955,
0.015192662365734577,
0.030459165573120117,
-0.00541803939267993,
-0.05094987526535988,
0.036846358329057693,
-0.050137631595134735,
0.039356932044029236,
0.00045429152669385076,
0.014251197688281536,
0.03274821862578392,
0.017167894169688225,
-0.022539783269166946,
0.0006611023563891649,
0.03193597495555878,
0.04363967850804329,
-0.015008061192929745,
0.012700549326837063,
0.0027644000947475433,
-0.012377496808767319,
-0.05202056095004082,
0.02113681472837925,
0.006594870705157518,
0.09407266974449158,
0.032397475093603134,
-0.013134361244738102,
0.009580791927874088,
-0.011436032131314278,
-0.012451337650418282,
0.005957997404038906,
0.03452038764953613,
-0.03496342897415161,
0.0868363082408905,
-0.036754060536623,
-0.053091246634721756,
0.027911672368645668,
-0.03579413518309593,
-0.012017525732517242,
0.03199135512113571,
-0.0017606320325285196,
0.03832316771149635,
0.017786307260394096,
-0.03553569316864014,
0.006456420291215181,
0.009968454018235207,
-0.0015425721649080515,
0.02006612904369831,
0.010605327785015106,
-0.0025521088391542435,
-0.05862927809357643,
0.060475289821624756,
-0.03509265184402466,
-0.031751371920108795,
-0.0016890991246327758,
0.002577491570264101,
-0.036717139184474945,
-0.09776469320058823,
0.01565416529774666,
0.022059820592403412,
0.011140670627355576,
0.02852085418999195,
-0.008560871705412865,
-0.03127140924334526,
0.10891459137201309,
0.06099217012524605,
0.021395256742835045,
0.04891926422715187,
-0.03440962731838226,
-0.017195584252476692,
0.04437807947397232,
-0.030606845393776894,
0.04552260786294937,
-0.0023340489715337753,
-0.03104988858103752,
-0.0006974456482566893,
-0.039873816072940826,
-0.00919312983751297,
0.03328356146812439,
0.0004326585913076997,
-0.009719242341816425,
0.015229582786560059,
0.03147447109222412,
-0.029222339391708374,
-0.0009270431473851204,
0.028982358053326607,
-0.006345659494400024,
-0.008676246739923954,
0.025327257812023163,
0.00774401193484664,
-0.0026582544669508934,
-0.05803855508565903,
0.034501928836107254,
0.004552722442895174,
-0.009488491341471672,
0.010263815522193909,
-0.0344650074839592,
-0.0009316581999883056,
0.0674901232123375,
-0.027450168505311012,
0.06619791686534882,
-0.017666315659880638,
-0.018773922696709633,
-0.020416870713233948,
-0.008371655829250813,
-0.0241088904440403,
0.04722093790769577,
0.06387194991111755,
0.004506572149693966,
0.003274360205978155,
-0.03230517730116844,
0.02704404667019844,
0.0496576689183712,
-0.02643486298620701,
0.022465942427515984,
0.025438018143177032,
-0.0437135174870491,
0.011177591048181057,
-0.0248288344591856,
0.0004392926930449903,
0.01954924687743187,
0.03614487498998642,
0.002831317950040102,
0.037234023213386536,
-0.01762939617037773,
-0.04544876515865326,
-0.0760556161403656,
-0.030089963227510452,
-0.02516111731529236,
0.03188059478998184,
0.07417268306016922,
-0.051614440977573395,
0.02979460172355175,
-0.02178291790187359,
0.027874751016497612
] |
7,589 | hsbalance.tools | residual_vibration |
Calculate the residual vibration between ALPHA matrix
and solution W with intial vibration A
Args:
ALPHA : Influence coefficient matrix -> np.array
A : Initial vibration column array -> np.array
W : Solution balancing weight row vector -> np.array
Return:
residual_vibration column array -> np.array
| def residual_vibration(ALPHA, W, A):
'''
Calculate the residual vibration between ALPHA matrix
and solution W with intial vibration A
Args:
ALPHA : Influence coefficient matrix -> np.array
A : Initial vibration column array -> np.array
W : Solution balancing weight row vector -> np.array
Return:
residual_vibration column array -> np.array
'''
return ALPHA @ W + A
| (ALPHA, W, A) | [
0.019335057586431503,
-0.037893183529376984,
-0.012430941686034203,
0.03520922735333443,
0.04117749258875847,
-0.04372018575668335,
-0.029223306104540825,
-0.055126987397670746,
0.07486817240715027,
0.018452178686857224,
-0.004899980500340462,
-0.04894683137536049,
0.02851700410246849,
0.006493577733635902,
-0.10552173852920532,
0.02645106613636017,
0.003290932858362794,
0.03969425708055496,
-0.04364955425262451,
0.012881210073828697,
-0.022142615169286728,
-0.03475013002753258,
-0.02848168835043907,
0.1286884993314743,
-0.01210427563637495,
0.013163731433451176,
0.04488558694720268,
-0.028428714722394943,
0.009036269970238209,
-0.02936456725001335,
0.03070654347538948,
-0.018399205058813095,
0.03550940752029419,
-0.036939673125743866,
-0.012572201900184155,
0.039129212498664856,
0.00679817097261548,
-0.052972760051488876,
-0.028852498158812523,
-0.003882461925968528,
0.006833486258983612,
0.013313820585608482,
0.05749310553073883,
-0.050465382635593414,
0.008422669023275375,
-0.049123406410217285,
0.03194257616996765,
0.017860649153590202,
0.02419089525938034,
0.047852061688899994,
0.03990614786744118,
-0.030547626316547394,
0.016704076901078224,
0.004860250744968653,
0.014585167169570923,
0.09951816499233246,
-0.010700497776269913,
0.02719268389046192,
0.041283439844846725,
-0.0892767608165741,
0.03330221027135849,
-0.07338493317365646,
-0.021453969180583954,
0.03980020061135292,
0.018072539940476418,
-0.029964925721287727,
-0.007164565846323967,
0.030847804620862007,
0.05364375188946724,
0.023272700607776642,
-0.02166585996747017,
-0.002031726064160466,
-0.013887692242860794,
-0.03171302750706673,
0.02256639674305916,
0.015538676641881466,
0.017145516350865364,
-0.05325528234243393,
-0.033107977360486984,
-0.02602728269994259,
0.09231386333703995,
0.017392722889780998,
0.019617579877376556,
0.0036153909750282764,
0.019705867394804955,
-0.056892745196819305,
-0.06370857357978821,
-0.05032412335276604,
0.03280779719352722,
-0.026910163462162018,
-0.00426651444286108,
0.0307418592274189,
0.0027722411323338747,
0.06688693910837173,
0.021860092878341675,
0.014267330057919025,
0.029311595484614372,
-0.020535774528980255,
0.04926466941833496,
-0.0280755627900362,
-0.027545835822820663,
0.06346137076616287,
-0.04297856613993645,
0.05060664564371109,
0.024932513013482094,
0.022160271182656288,
-0.016801193356513977,
-0.02422620914876461,
0.07684581726789474,
0.032278068363666534,
0.031430505216121674,
0.04576846584677696,
-0.0502534918487072,
-0.020871268585324287,
-0.08249624818563461,
0.025744762271642685,
-0.043508294969797134,
0.017313264310359955,
0.029664747416973114,
0.037434086203575134,
0.08178994059562683,
-0.04032992944121361,
-0.01800191029906273,
0.003054762491956353,
0.02856997586786747,
-0.01855812408030033,
-0.0009137801243923604,
-0.02597431093454361,
0.03033573552966118,
-0.026980793103575706,
-0.05152484029531479,
0.04598035663366318,
-0.01816965639591217,
-0.018840646371245384,
-0.00527961878105998,
-0.002825214061886072,
0.023555221036076546,
-0.026592327281832695,
0.04686323553323746,
-0.023661166429519653,
0.0008343210211023688,
0.10001257061958313,
0.02210729941725731,
0.03556238114833832,
0.020447485148906708,
-0.012033645994961262,
0.08355570584535599,
0.015900656580924988,
0.015573992393910885,
0.011327342130243778,
-0.02682187594473362,
-0.010912388563156128,
-0.000682024285197258,
-0.008051860146224499,
0.05530356243252754,
0.002222648821771145,
0.009473295882344246,
-0.03296671435236931,
0.02201901189982891,
-0.0738087147474289,
0.005932949483394623,
-0.02334333024919033,
-0.03157176449894905,
-0.007786996196955442,
-0.005398807115852833,
-0.01778119057416916,
0.0014324717922136188,
0.08666343986988068,
-0.05088916793465614,
-0.008007715456187725,
0.014646968804299831,
-0.07098349928855896,
-0.0708775520324707,
-0.011309684254229069,
0.005531239323318005,
0.055550768971443176,
-0.011733466759324074,
-0.05148952454328537,
0.05180736258625984,
0.02858763374388218,
0.006502406671643257,
0.027846015989780426,
-0.0149118322879076,
-0.028234481811523438,
0.007623663172125816,
-0.037434086203575134,
0.008952396921813488,
0.012174906209111214,
0.04064776748418808,
-0.009446809068322182,
-0.018310917541384697,
0.00426651444286108,
0.020941898226737976,
0.008510957472026348,
-0.030053213238716125,
0.014620481990277767,
0.016139034181833267,
0.010126626119017601,
0.003626426914706826,
-0.06084804609417915,
-0.0000616980905761011,
-0.040894970297813416,
-0.024014318361878395,
0.05276086926460266,
0.010214914567768574,
-0.00863455981016159,
-0.00041274609975516796,
-0.03603913635015488,
-0.0511716865003109,
-0.023643508553504944,
-0.0355270653963089,
0.019229112192988396,
0.03842290863394737,
-0.06017705798149109,
0.017419209703803062,
-0.024808909744024277,
0.03577427193522453,
-0.015671107918024063,
0.05745778977870941,
-0.009000955149531364,
-0.037434086203575134,
0.0038648045156151056,
-0.04407333955168724,
-0.013234362006187439,
-0.004798449110239744,
-0.008427083492279053,
-0.010312031023204327,
0.021365679800510406,
-0.018858302384614944,
0.023643508553504944,
-0.05307870730757713,
0.026221517473459244,
0.03024744614958763,
-0.061660293489694595,
-0.032278068363666534,
0.02373179793357849,
-0.06367325782775879,
0.062154706567525864,
0.029064388945698738,
-0.020535774528980255,
-0.022407477721571922,
-0.009018613025546074,
0.0009866176405921578,
0.08758163452148438,
-0.027475206181406975,
-0.0024257111363112926,
0.03983551636338234,
0.041389383375644684,
-0.011318513192236423,
-0.0009501989115960896,
-0.05597455054521561,
-0.031836628913879395,
0.012748777866363525,
0.06420298665761948,
0.009614556096494198,
0.018487494438886642,
0.0013176974607631564,
0.016174349933862686,
0.00530169066041708,
-0.013516883365809917,
0.04407333955168724,
-0.001776794670149684,
-0.022372163832187653,
0.04901746287941933,
-0.060777414590120316,
0.015379758551716805,
-0.007469159550964832,
0.06194281578063965,
-0.010303202085196972,
0.024084949865937233,
0.08334381133317947,
0.03778723627328873,
0.01229850947856903,
-0.04686323553323746,
0.003871425986289978,
0.02288423292338848,
0.019599922001361847,
0.0325782485306263,
0.00339908548630774,
0.021012529730796814,
-0.08108364045619965,
-0.003434400772675872,
0.010029509663581848,
0.08263751119375229,
-0.01145977433770895,
-0.02894078567624092,
0.007508888840675354,
0.0003823971201200038,
-0.0016322232550010085,
-0.02295486256480217,
0.053855642676353455,
-0.007928256876766682,
0.0526549257338047,
0.030900778248906136,
0.0708775520324707,
0.031766001135110855,
-0.04276667535305023,
0.0065774512477219105,
0.03842290863394737,
-0.0061933984979987144,
0.053043391555547714,
0.022319190204143524,
0.03190726041793823,
-0.04940592870116234,
-0.06893522292375565,
-0.036939673125743866,
-0.007623663172125816,
0.006656910292804241,
-0.007438258733600378,
-0.0034962021745741367,
-0.0554095096886158,
0.03775192052125931,
-0.037398770451545715,
0.012174906209111214,
-0.025709446519613266,
-0.06067147105932236,
0.06886459141969681,
0.004359216894954443,
0.06137777492403984,
0.04153064638376236,
0.06907647848129272,
-0.0010589034063741565,
0.04117749258875847,
-0.0011808511335402727,
-0.020694691687822342,
-0.017145516350865364,
0.03326689451932907,
-0.008661046624183655,
0.0021409825421869755,
-0.04502684623003006,
-0.04756953939795494,
-0.0015582820633426309,
-0.037857867777347565,
-0.015971288084983826,
-0.040047407150268555,
-0.02812853641808033,
0.0467572920024395,
-0.03118329867720604,
0.004851422272622585,
-0.003610976506024599,
0.0013485982781276107,
-0.015123723074793816,
-0.005014754831790924,
0.02853466011583805,
0.03280779719352722,
-0.00004041931970277801,
0.022160271182656288,
-0.03715156391263008,
-0.016483357176184654,
-0.04146001487970352,
-0.03031807765364647,
-0.02159522846341133,
-0.0007592762704007328,
0.05060664564371109,
-0.0023617022670805454,
0.049158722162246704,
-0.04456774890422821,
0.017816506326198578,
-0.01447039283812046,
0.029064388945698738,
-0.09888248890638351,
0.07705771178007126,
-0.07635140419006348,
-0.038316965103149414,
-0.05742247402667999,
-0.010665182955563068,
-0.07705771178007126,
-0.03556238114833832,
0.014823544770479202,
-0.04269604757428169,
0.02551521360874176,
-0.0034476439468562603,
-0.021718831732869148,
-0.006264029070734978,
-0.0038339036982506514,
-0.0074161868542432785,
-0.0074559161439538,
-0.012722291983664036,
0.033160947263240814,
0.02170117385685444,
0.005270789843052626,
0.013984808698296547,
-0.030547626316547394,
-0.04612161964178085,
0.026468724012374878,
0.022248560562729836,
-0.0061227683909237385,
-0.06886459141969681,
-0.06780513375997543,
0.015008948743343353,
-0.03849354013800621,
-0.027104396373033524,
0.03648057579994202,
-0.004262099973857403,
-0.041283439844846725,
-0.05244303494691849,
-0.027581151574850082,
0.005729887168854475,
0.001259206677787006,
-0.0029157090466469526,
-0.01907019503414631,
-0.020111991092562675,
-0.04029461368918419,
-0.017569299787282944,
-0.012881210073828697,
-0.018787672743201256,
0.024402786046266556,
0.052478350698947906,
-0.010312031023204327,
0.020588746294379234,
-0.0638851523399353,
0.05749310553073883,
-0.00474547641351819,
-0.014973633922636509,
0.01534444373100996,
0.03425572067499161,
0.029664747416973114,
-0.03293139860033989,
-0.0026640885043889284,
0.028216823935508728,
-0.007164565846323967,
-0.01857578195631504,
0.04598035663366318,
0.04792269319295883,
-0.033160947263240814,
0.003357148729264736,
-0.0034520584158599377,
0.0061669121496379375,
-0.03427337855100632,
-0.0028583218809217215,
-0.026609983295202255,
-0.05834066867828369,
0.0242085512727499,
-0.08292002975940704,
-0.05593923479318619,
-0.03416743129491806,
-0.0259566530585289,
0.003560211043804884,
-0.009596898220479488,
-0.0016134619945660233,
0.0922432392835617,
0.0035557965748012066,
0.04961781948804855,
0.001045660232193768,
-0.05526824668049812,
-0.059046972543001175,
0.0006395357195287943,
0.02332567237317562,
-0.09429151564836502,
0.006564207840710878,
0.0362686850130558,
0.028269797563552856,
0.014991291798651218,
0.006100696511566639,
-0.016139034181833267,
0.04538000002503395,
-0.016615789383649826,
-0.06586279720067978,
-0.005451780278235674,
-0.02943519875407219,
0.012625174596905708,
0.039623625576496124,
-0.0006020133732818067,
-0.04121280834078789,
0.03983551636338234,
0.0028693578206002712,
-0.015900656580924988,
-0.03775192052125931,
-0.021436311304569244,
0.008051860146224499,
-0.0017492047045379877,
-0.011389143764972687,
-0.006365559995174408,
-0.06988873332738876,
0.09732861816883087,
-0.023572878912091255,
-0.03455589711666107,
0.03300203010439873,
0.022742971777915955,
-0.012060131877660751,
-0.10615741461515427,
-0.01679236628115177,
-0.013190217316150665,
0.013993637636303902,
0.034803103655576706,
-0.007305826526135206,
-0.011309684254229069,
-0.028446372598409653,
-0.011512747034430504,
-0.016598131507635117,
-0.003928813152015209,
0.06819359958171844,
0.017401551827788353,
0.1196478083729744,
-0.045203424990177155,
-0.01213959138840437,
0.05018286406993866,
-0.0027545837219804525,
0.05625707283616066,
0.024738280102610588,
0.0022105092648416758,
-0.05163078382611275,
-0.1123022511601448,
0.012174906209111214,
0.008480056189000607,
-0.05057132989168167,
-0.07073629647493362,
-0.035633012652397156,
0.03817570209503174,
-0.026256831362843513,
-0.0519133061170578,
-0.009596898220479488,
0.00037467191577889025,
0.005659256596118212,
-0.021506940945982933,
0.027051422744989395,
-0.047392964363098145,
0.0381050743162632,
0.055550768971443176,
-0.01188355591148138,
-0.058164093643426895,
0.0039199842140078545,
0.01559164933860302,
0.006087453104555607,
0.019529292359948158,
0.03538580611348152,
-0.03121861442923546,
-0.05894102528691292,
-0.023678824305534363,
0.05721058323979378,
-0.06303758919239044,
0.008471227250993252,
0.02938222512602806,
0.02775772660970688,
-0.0038074173498898745,
-0.0020736628212034702,
-0.004056830890476704,
-0.08920612931251526,
-0.03192491829395294,
-0.020553432404994965,
-0.006731955334544182,
0.03293139860033989,
0.034785445779561996,
-0.030053213238716125,
-0.005879976321011782,
-0.0010026198578998446,
-0.04287262260913849,
0.04809926822781563,
-0.0432610884308815,
-0.040012091398239136,
-0.026274489238858223,
-0.004010479431599379,
-0.019123166799545288,
0.033620044589042664,
-0.0015042057493701577,
0.0062728580087423325,
-0.010930046439170837,
-0.014576338231563568,
-0.018434520810842514,
-0.0005551103968173265,
0.007910599000751972,
-0.08581587672233582,
0.03729282319545746,
-0.01449687872081995,
-0.04594504088163376,
0.026698272675275803,
0.0277047548443079,
0.0260449405759573,
0.026627641171216965,
-0.016598131507635117,
0.022672342136502266,
-0.05074790492653847,
0.027987275272607803,
-0.024950170889496803,
-0.06250786036252975,
0.007341141812503338,
0.055162303149700165,
-0.07684581726789474,
-0.04146001487970352,
-0.0007068552658893168,
0.04442648962140083,
-0.07578636705875397,
-0.044709011912345886,
-0.025833049789071083,
-0.01148626022040844,
0.012766435742378235,
0.014134898781776428,
0.04961781948804855,
-0.02685718983411789,
0.024508731439709663,
-0.020129648968577385,
0.012872381135821342,
0.019652893766760826,
-0.025638816878199577,
0.04467369616031647,
0.01124788261950016,
0.005570968613028526,
0.06254317611455917,
0.03686904162168503,
-0.006740783806890249,
-0.029753034934401512,
-0.05788157135248184,
0.020941898226737976,
0.0021652616560459137,
-0.023996660485863686,
0.017834162339568138,
-0.02853466011583805,
-0.02205432578921318,
0.04626287892460823,
-0.023555221036076546,
-0.010179598815739155,
-0.026468724012374878,
0.011380314826965332,
-0.0005678017623722553,
0.026115572080016136,
0.018505152314901352,
-0.03411445766687393,
-0.02544458396732807,
0.018805330619215965,
0.05205456539988518,
-0.0019136409973725677,
-0.01363165769726038,
0.013384451158344746,
-0.020111991092562675,
0.03686904162168503,
0.048275843262672424,
0.05618644133210182,
-0.04944124445319176,
-0.026733586564660072,
-0.01854046620428562,
0.019811812788248062,
0.03543877601623535,
-0.01988244242966175,
0.04587441310286522,
0.010594552382826805,
0.014558680355548859,
0.019529292359948158,
-0.007650149520486593,
-0.016704076901078224,
0.006652495823800564,
0.007204295601695776,
0.02805790677666664,
-0.022372163832187653,
0.009782303124666214,
0.041354067623615265,
0.024473415687680244,
-0.02814619429409504,
-0.023007836192846298,
-0.012430941686034203,
0.027122054249048233,
-0.0333198681473732,
-0.060388948768377304,
-0.03556238114833832,
0.024579361081123352,
0.03340815380215645,
0.07193700969219208,
0.032648880034685135,
0.042625416070222855,
0.02602728269994259,
0.031854286789894104,
-0.005782859865576029,
0.004816106986254454,
0.0021796084474772215,
-0.01854046620428562,
0.04661602899432182,
-0.018363891169428825,
0.005747544579207897,
-0.0509951114654541,
-0.0037257508374750614,
-0.022283874452114105,
-0.017277948558330536,
-0.011362656950950623,
-0.016977770254015923,
-0.0075971768237650394,
0.014682283625006676,
0.03545643389225006,
-0.02721034176647663,
-0.020164964720606804,
0.07515069097280502,
0.009738159365952015,
0.008797893300652504,
0.015317956916987896,
0.022690000012516975,
-0.012430941686034203,
0.02902907319366932,
-0.04071839526295662,
-0.041777852922677994,
0.05106574296951294,
0.005465023219585419,
-0.026592327281832695,
-0.037363454699516296,
-0.03948236629366875,
-0.008815550245344639,
0.017595786601305008,
-0.0006809207261539996,
0.031342215836048126,
-0.013084271922707558,
0.02207198366522789,
0.022142615169286728,
-0.003908948507159948,
0.05572734400629997,
0.04792269319295883,
-0.014011295512318611,
0.06586279720067978,
-0.03803444281220436,
0.00603889487683773,
0.0002045797009486705,
-0.02645106613636017,
-0.046898551285266876,
-0.0037213366013020277,
0.02205432578921318,
-0.004162776283919811,
0.023166755214333534,
-0.029064388945698738,
0.035279858857393265,
0.0570693202316761,
-0.04372018575668335,
-0.056045182049274445,
0.006930603180080652,
0.05360843613743782,
-0.039976779371500015,
0.03031807765364647,
0.04580378159880638,
-0.0212597344070673,
-0.020941898226737976,
0.0029995825607329607,
0.045627206563949585,
-0.017348580062389374,
-0.011839412152767181,
0.02768709696829319,
-0.0020471764728426933,
-0.021754147484898567,
0.0031607081182301044,
0.036974988877773285,
0.06024768948554993,
-0.0011521575506776571,
-0.025020800530910492,
0.04230757802724838,
0.03446761146187782,
0.026221517473459244,
0.016651105135679245,
0.029947267845273018,
-0.029082046821713448,
-0.040400560945272446,
0.0048028635792434216,
0.060388948768377304,
-0.014205529354512691,
0.02947051264345646,
0.01275760680437088,
-0.06113056838512421,
0.04195442795753479,
-0.021789463236927986,
-0.017719388008117676,
0.037363454699516296,
0.05244303494691849,
-0.03254293277859688,
0.03859948739409447,
-0.009958879090845585,
0.0018143170746043324,
-0.022760629653930664,
0.020624062046408653,
-0.01643921434879303,
0.006670153699815273,
0.06805234402418137,
-0.07839968800544739,
0.024932513013482094,
0.02459701895713806,
0.03757534548640251
] |
7,590 | hsbalance.tools | rmse |
Calculate the root mean square error for residual_vibration column matrix
subtract each residual vibration from zero and taking the square root
of the summation, rounding the result to the fourth decimal point
Args:
residual_vibration: numpy array
Return: RMSE deviated from 0
| def rmse(residual_vibration):
'''
Calculate the root mean square error for residual_vibration column matrix
subtract each residual vibration from zero and taking the square root
of the summation, rounding the result to the fourth decimal point
Args:
residual_vibration: numpy array
Return: RMSE deviated from 0
'''
return round(np.sqrt(np.abs(residual_vibration) ** 2).mean(), 4)
| (residual_vibration) | [
0.007920610718429089,
0.0005312326829880476,
0.03939785808324814,
0.026210518553853035,
0.040455762296915054,
-0.022927364334464073,
-0.006926544476300478,
-0.014509719796478748,
0.08448651432991028,
0.07233884185552597,
-0.027086026966571808,
-0.02962135151028633,
0.03137236833572388,
-0.00026661381707526743,
-0.029876708984375,
0.07740949094295502,
0.008522522635757923,
-0.005590483080595732,
-0.02274496667087078,
-0.013506533578038216,
-0.019334133714437485,
-0.012019994668662548,
-0.04122183099389076,
0.016133056953549385,
-0.028034493327140808,
0.01009570062160492,
0.03128116950392723,
-0.024350063875317574,
0.03175540268421173,
-0.03536687418818474,
-0.028764083981513977,
-0.013378855772316456,
-0.016880886629223824,
0.002056531608104706,
-0.03233907371759415,
0.049903951585292816,
-0.0007740493165329099,
-0.037792760878801346,
-0.04465090483427048,
0.017838474363088608,
-0.06442279368638992,
0.06274473667144775,
0.023346878588199615,
0.008116688579320908,
-0.003907866310328245,
-0.00842676404863596,
0.005079769995063543,
0.01766519621014595,
0.0032649149652570486,
0.049648597836494446,
-0.0194435715675354,
0.016625531017780304,
0.007966210134327412,
0.04191494360566139,
0.010268978774547577,
0.03768331930041313,
0.002348367590457201,
0.0034929118119180202,
0.02444126270711422,
-0.03199252113699913,
0.05340598523616791,
-0.0028499606996774673,
-0.002749642124399543,
0.05023226886987686,
-0.002357487566769123,
0.00983122456818819,
-0.02557212859392166,
0.02916535921394825,
0.030277982354164124,
0.007884131744503975,
-0.006356552243232727,
-0.012247991748154163,
0.0020804712548851967,
-0.019771886989474297,
0.06985823810100555,
0.04297284781932831,
-0.0010054660961031914,
-0.05530291795730591,
-0.03896010294556618,
-0.022234253585338593,
0.06883681565523148,
0.04206085950136185,
0.04939324036240578,
0.019990764558315277,
-0.006671187933534384,
-0.06818018108606339,
-0.0474233478307724,
0.0020360120106488466,
0.03491088002920151,
-0.004076583776623011,
0.02962135151028633,
0.01363421231508255,
-0.0029935988131910563,
0.02942071482539177,
-0.049210842698812485,
0.03137236833572388,
-0.03819403424859047,
-0.03443664684891701,
0.03058805875480175,
-0.08375692367553711,
0.040893517434597015,
0.13329608738422394,
0.026666512712836266,
0.02225249446928501,
-0.006798866204917431,
0.08003601431846619,
0.029876708984375,
-0.005111689679324627,
0.08784262835979462,
0.08310029655694962,
-0.02653883397579193,
0.029931427910923958,
-0.07004063576459885,
-0.005152728874236345,
-0.0796712264418602,
-0.04935675859451294,
-0.006730467081069946,
0.032630909234285355,
0.0025490049738436937,
0.0346190445125103,
0.04950267821550369,
-0.011208325624465942,
-0.02445950359106064,
0.0322478748857975,
0.03881418704986572,
-0.0169538464397192,
0.0017407559789717197,
0.009024115279316902,
0.0067122275941073895,
0.0017361961072310805,
0.017136244103312492,
0.0004796483844984323,
0.04548993334174156,
-0.06708579510450363,
-0.0015104792546480894,
0.005280407145619392,
0.05971693620085716,
-0.02965783141553402,
0.08682120591402054,
-0.05034170672297478,
0.04797054082155228,
0.09032323956489563,
-0.023620475083589554,
0.02725018560886383,
0.014965713955461979,
0.004439098760485649,
0.011117126792669296,
0.029238317161798477,
0.05034170672297478,
0.02918359823524952,
-0.020738594233989716,
0.004997691139578819,
0.05114425718784332,
0.010989448986947536,
0.0431552454829216,
-0.01918821595609188,
0.05931566283106804,
-0.05114425718784332,
-0.027852095663547516,
-0.04764222353696823,
-0.012931982055306435,
-0.010031862184405327,
0.04096647724509239,
-0.01813942939043045,
-0.0008304785587824881,
-0.007852211594581604,
-0.04060168191790581,
0.04381187632679939,
-0.04548993334174156,
-0.0133970957249403,
-0.019534770399332047,
-0.011390723288059235,
-0.10914665460586548,
-0.021522903814911842,
0.02208833582699299,
0.024112947285175323,
0.0073734186589717865,
0.015357868745923042,
-0.025699805468320847,
-0.02442302368581295,
0.06759651005268097,
0.018878139555454254,
0.00574096105992794,
0.01563146524131298,
0.002786121563985944,
-0.029821990057826042,
0.00457361713051796,
-0.01552202645689249,
0.010825291275978088,
-0.06190570816397667,
-0.01847686618566513,
0.008549882099032402,
0.004724095109850168,
0.015084272250533104,
-0.003718628780916333,
-0.023419838398694992,
0.017519278451800346,
0.029001200571656227,
0.043775398284196854,
-0.09251200407743454,
-0.07055135071277618,
0.011728158220648766,
-0.02517085336148739,
-0.002594604156911373,
-0.0044094594195485115,
-0.0856538638472557,
-0.03653421625494957,
-0.016689369454979897,
-0.035239193588495255,
0.022653767839074135,
-0.01209295354783535,
0.055157002061605453,
0.021066909655928612,
-0.013597732409834862,
0.06190570816397667,
0.013415335677564144,
0.041331272572278976,
-0.04523457586765289,
0.010341937653720379,
0.009958903305232525,
-0.04654783755540848,
-0.061577390879392624,
0.005312326829880476,
-0.0006366812158375978,
-0.02161410264670849,
-0.01703592576086521,
0.00735973846167326,
0.010050101205706596,
0.07507480680942535,
0.009776505641639233,
0.0005511824274435639,
0.040163926780223846,
-0.025316771119832993,
-0.08660233020782471,
-0.04224325716495514,
-0.00019564980175346136,
-0.04899196699261665,
-0.005713601130992174,
0.02039203979074955,
-0.05052410438656807,
-0.035658709704875946,
-0.03419952839612961,
-0.024295344948768616,
0.04625600203871727,
0.024769578129053116,
-0.002297068480402231,
-0.016680249944329262,
0.034035369753837585,
-0.02442302368581295,
0.034746721386909485,
0.012074713595211506,
-0.020246122032403946,
0.059643980115652084,
0.0578564815223217,
0.05865903198719025,
-0.016424894332885742,
0.027195464819669724,
0.10644717514514923,
0.02159586176276207,
-0.003928385674953461,
0.064495749771595,
-0.024094708263874054,
0.008969396352767944,
-0.013661571778357029,
-0.0841217190027237,
0.04530753567814827,
-0.0322478748857975,
0.014062846079468727,
0.02796153537929058,
0.021449944004416466,
0.11600480228662491,
0.010889129713177681,
-0.03303218632936478,
-0.0583307184278965,
-0.0036456699017435312,
0.0507429800927639,
0.003369793528690934,
0.01924293488264084,
0.0526399165391922,
0.04607360437512398,
-0.02256256900727749,
-0.004423139151185751,
0.00970354676246643,
0.0844135582447052,
0.017674315720796585,
-0.013561253435909748,
-0.011582240462303162,
-0.08113040030002594,
-0.001238022930920124,
0.03480144217610359,
-0.006789746694266796,
-0.048736609518527985,
-0.005809360183775425,
0.028125692158937454,
0.0201549232006073,
0.04508865997195244,
-0.04144071042537689,
-0.009033235721290112,
-0.01709064468741417,
0.0431552454829216,
-0.02960311248898506,
0.03979913145303726,
0.017127124592661858,
0.013077899813652039,
-0.004117623437196016,
0.017592238262295723,
0.029110638424754143,
-0.0215776227414608,
0.017218323424458504,
0.011646079830825329,
-0.05355190113186836,
0.01746455952525139,
0.00828996580094099,
-0.007920610718429089,
-0.029001200571656227,
0.04596416652202606,
0.0512172132730484,
-0.023875830695033073,
0.03728204593062401,
-0.029274797067046165,
0.05482868477702141,
-0.010433136485517025,
0.08178703486919403,
-0.007177341263741255,
0.037610363215208054,
0.0077199735678732395,
-0.023620475083589554,
-0.009740025736391544,
0.007277659606188536,
-0.025280291214585304,
-0.015914181247353554,
-0.06850849837064743,
-0.021632341668009758,
-0.020319079980254173,
0.03815755620598793,
-0.048043496906757355,
0.046584319323301315,
-0.02420414611697197,
0.0006401012069545686,
0.025955162942409515,
0.03412656858563423,
-0.023821111768484116,
-0.014673877507448196,
-0.010880010202527046,
-0.03150004521012306,
0.013679811730980873,
0.007259420119225979,
-0.04439554736018181,
0.002352927578613162,
0.02440478466451168,
0.005886878818273544,
0.026666512712836266,
0.007633334957063198,
0.034035369753837585,
-0.010123061016201973,
0.033360499888658524,
-0.05052410438656807,
0.012412149459123611,
0.021413465961813927,
-0.014646518044173717,
-0.06486054509878159,
0.055339399725198746,
-0.0246601402759552,
-0.025681566447019577,
-0.045672331005334854,
0.013497414067387581,
-0.06858145445585251,
-0.02517085336148739,
0.0011314344592392445,
-0.019261173903942108,
-0.06416743993759155,
-0.006643828470259905,
-0.023164480924606323,
-0.046146564185619354,
0.027578501030802727,
-0.004865453112870455,
-0.013707171194255352,
-0.026867149397730827,
0.019133497029542923,
0.009429950267076492,
-0.03906954079866409,
-0.046146564185619354,
-0.07164573669433594,
-0.09119874238967896,
0.05530291795730591,
0.0237116739153862,
-0.03587758541107178,
-0.025772765278816223,
-0.043738916516304016,
-0.026210518553853035,
-0.0322478748857975,
-0.025699805468320847,
0.04735038802027702,
0.032630909234285355,
-0.04289988800883293,
0.013625092804431915,
-0.02037379890680313,
-0.007697173859924078,
-0.06143147498369217,
0.0455264113843441,
-0.04771518334746361,
0.006634708493947983,
-0.05672561749815941,
-0.04822589457035065,
-0.027195464819669724,
-0.03700844943523407,
-0.032630909234285355,
0.03337873890995979,
0.05048762634396553,
0.013269416987895966,
0.006169594824314117,
0.007583175785839558,
-0.005056970287114382,
0.016899127513170242,
-0.010743211954832077,
0.04975803568959236,
-0.018148550763726234,
-0.00026404886739328504,
-0.02019140124320984,
-0.01732776127755642,
-0.0022286693565547466,
-0.04899196699261665,
-0.01918821595609188,
0.0343819260597229,
0.014272603206336498,
0.0015549386152997613,
-0.02208833582699299,
-0.03578638657927513,
0.004582737106829882,
-0.002446406288072467,
-0.019990764558315277,
-0.01995428465306759,
-0.05968045815825462,
-0.043738916516304016,
-0.029274797067046165,
-0.024824298918247223,
-0.03432720899581909,
0.012056473642587662,
-0.022124815732240677,
0.0010869749821722507,
0.05249399691820145,
0.02444126270711422,
0.01353389397263527,
0.014965713955461979,
-0.0039124260656535625,
-0.02228897251188755,
0.010360177606344223,
0.004315980710089207,
-0.032868027687072754,
-0.00728221982717514,
0.005029610823839903,
-0.06230698153376579,
0.01751015894114971,
0.001947093172930181,
-0.055594753473997116,
-0.009904183447360992,
-0.018093829974532127,
-0.02657531388103962,
-0.007966210134327412,
-0.010916490107774734,
-0.00027074626996181905,
0.01995428465306759,
-0.018786940723657608,
-0.02960311248898506,
-0.020775074139237404,
0.05004987120628357,
0.011664319783449173,
-0.02608284167945385,
0.031682442873716354,
0.015102512203156948,
0.007970769889652729,
-0.0322478748857975,
-0.016707610338926315,
-0.04366596043109894,
0.04417667165398598,
0.012284470722079277,
-0.03764684125781059,
-0.019334133714437485,
0.010478735901415348,
0.053478945046663284,
-0.07157277315855026,
-0.011098886840045452,
0.0014500600518658757,
-0.01124480552971363,
0.029821990057826042,
0.02159586176276207,
-0.08171407133340836,
-0.0701865553855896,
0.02799801528453827,
-0.04289988800883293,
0.0001493379386374727,
0.03184660151600838,
-0.030496859923005104,
0.055813632905483246,
-0.0312994085252285,
-0.06274473667144775,
0.02611931972205639,
0.04085703566670418,
0.012977581471204758,
-0.012421268969774246,
0.026411157101392746,
-0.005882319062948227,
-0.038741227239370346,
-0.040419284254312515,
-0.020027244463562965,
0.005321446806192398,
-0.07930643111467361,
-0.025900444015860558,
0.029785510152578354,
0.000261341396253556,
-0.014664757996797562,
0.06336488574743271,
-0.0036593496333807707,
0.06653860211372375,
-0.013926047831773758,
-0.019863085821270943,
-0.01918821595609188,
0.035439830273389816,
0.0920012965798378,
0.021650582551956177,
-0.030752217397093773,
-0.018786940723657608,
-0.018549824133515358,
0.01622425578534603,
0.007377978414297104,
0.006798866204917431,
-0.07551255822181702,
-0.0015412587672472,
-0.009922423399984837,
0.03578638657927513,
-0.033998891711235046,
0.0024897258263081312,
-0.036132942885160446,
0.011290404945611954,
-0.043738916516304016,
-0.011290404945611954,
0.04155014827847481,
-0.09966199100017548,
0.013625092804431915,
-0.002254888880997896,
-0.013342375867068768,
0.0024532461538910866,
0.03750092536211014,
0.02113986946642399,
-0.03910602256655693,
-0.0031486365478485823,
-0.004443658981472254,
0.00882347859442234,
-0.015376108698546886,
-0.055813632905483246,
0.032357312738895416,
0.018914619460701942,
0.05238455906510353,
0.008814358152449131,
0.0267941914498806,
0.025517407804727554,
0.007633334957063198,
-0.0013429014943540096,
-0.014582679606974125,
-0.03990856930613518,
0.008449563756585121,
-0.06635620445013046,
0.10710380226373672,
-0.04833533614873886,
0.007218380458652973,
0.04384835436940193,
-0.0028636406641453505,
0.011755517683923244,
-0.03885066509246826,
-0.006858145352452993,
-0.059862855821847916,
-0.023529276251792908,
0.05687153711915016,
0.014509719796478748,
-0.0464748814702034,
0.006187834776937962,
0.057017453014850616,
-0.05118073523044586,
-0.04082055762410164,
-0.008504282683134079,
0.007715413812547922,
-0.09346047043800354,
-0.004801613744348288,
-0.04341060295701027,
-0.04727742820978165,
0.028180411085486412,
-0.010706732980906963,
0.01863190345466137,
-0.04465090483427048,
0.060701884329319,
-0.004961211699992418,
-0.012165912427008152,
-0.04702207073569298,
-0.04866364970803261,
0.017756395041942596,
-0.020063724368810654,
-0.008768759667873383,
0.028545206412672997,
0.01103504840284586,
0.0540626160800457,
-0.03917897865176201,
-0.015339628793299198,
0.07215644419193268,
-0.013561253435909748,
-0.031773641705513,
0.021741781383752823,
0.013962527737021446,
-0.07376154512166977,
-0.008335565216839314,
-0.015813862904906273,
-0.027833856642246246,
0.025663327425718307,
-0.02533501200377941,
-0.0263199582695961,
0.04071111977100372,
0.03337873890995979,
0.00006957466393942013,
0.01626073569059372,
0.005809360183775425,
0.025736285373568535,
0.01679880917072296,
0.012558067217469215,
0.0054536848329007626,
-0.043775398284196854,
-0.006192394532263279,
0.019990764558315277,
-0.0015423987060785294,
-0.01800263300538063,
-0.03917897865176201,
-0.0967436283826828,
-0.006424951367080212,
0.024003509432077408,
0.008905556984245777,
-0.05858607217669487,
0.007104382384568453,
0.039726171642541885,
0.044213149696588516,
-0.008846278302371502,
-0.03219315782189369,
0.03436368703842163,
0.08164111524820328,
0.0003545351210050285,
-0.025791004300117493,
0.04479682445526123,
-0.012995821423828602,
0.0891558900475502,
-0.025736285373568535,
0.03562222793698311,
0.03341522067785263,
0.019078778102993965,
0.001647277269512415,
0.020483238622546196,
0.011974395252764225,
-0.01137248333543539,
0.0554853156208992,
0.0010886850068345666,
0.001627897610887885,
0.02230721339583397,
0.0029206397011876106,
0.0030756776686757803,
0.005964397918432951,
-0.02298208326101303,
-0.04888252541422844,
0.008020929992198944,
0.0863104909658432,
-0.027450822293758392,
-0.0012152232229709625,
0.017336880788207054,
-0.04432259127497673,
-0.031700681895017624,
0.036625415086746216,
0.010241619311273098,
-0.004952091723680496,
0.023419838398694992,
-0.002348367590457201,
-0.01089825015515089,
-0.0360417440533638,
-0.00970354676246643,
0.02161410264670849,
0.008435883559286594,
-0.02628347836434841,
0.04618304222822189,
-0.0019197335932403803,
-0.03600526601076126,
0.01563146524131298,
-0.06741411238908768,
-0.04202438145875931,
0.06420391798019409,
-0.03866826742887497,
-0.02896472066640854,
-0.0815681591629982,
-0.08244366198778152,
-0.00712262187153101,
0.020702114328742027,
-0.022836165502667427,
0.019771886989474297,
-0.0004537137574516237,
0.0554853156208992,
0.007906931452453136,
0.045635852962732315,
0.03199252113699913,
0.053989656269550323,
-0.013424455188214779,
0.034527845680713654,
-0.017245681956410408,
0.015895940363407135,
0.010560814291238785,
-0.021267546340823174,
-0.026611793786287308,
-0.05504756048321724,
0.045672331005334854,
-0.014974833466112614,
0.03574990853667259,
-0.03607822209596634,
0.025006694719195366,
0.040674638003110886,
0.017847593873739243,
-0.048736609518527985,
0.007970769889652729,
0.014263483695685863,
-0.05001338943839073,
-0.00036707494291476905,
0.050195787101984024,
0.033086903393268585,
-0.051837366074323654,
0.0035727107897400856,
0.04775166139006615,
-0.0001224770676344633,
0.03465552255511284,
0.030788695439696312,
-0.018385667353868484,
-0.010232498869299889,
0.017418960109353065,
0.0042977407574653625,
0.02084803208708763,
0.037829238921403885,
-0.0374644435942173,
-0.0033150743693113327,
0.057017453014850616,
-0.03232083469629288,
0.03036918118596077,
0.016543451696634293,
0.011801117099821568,
-0.05380725860595703,
-0.008736839517951012,
0.02777913771569729,
-0.012749584391713142,
0.056579701602458954,
0.055412355810403824,
-0.02796153537929058,
0.02604636177420616,
-0.02849048748612404,
-0.010834410786628723,
0.02420414611697197,
-0.019826607778668404,
-0.031427085399627686,
0.01679880917072296,
-0.030205024406313896,
0.042097341269254684,
0.04574529081583023,
0.050195787101984024,
-0.0422067791223526,
-0.004427698906511068,
0.0398356132209301,
-0.021212827414274216,
0.0583307184278965,
-0.06340136379003525,
0.001865014317445457
] |
7,613 | pypsrp | _setup_logging | null | def _setup_logging(logger: logging.Logger) -> None:
log_path = os.environ.get("PYPSRP_LOG_CFG", None)
if log_path is not None and os.path.exists(log_path): # pragma: no cover
# log log config from JSON file
with open(log_path, "rt") as f:
config = json.load(f)
logging.config.dictConfig(config)
else:
# no logging was provided
logger.addHandler(NullHandler())
| (logger: logging.Logger) -> NoneType | [
-0.034866709262132645,
-0.028188535943627357,
0.011668357066810131,
0.023650329560041428,
-0.00037933688145130873,
0.024923240765929222,
0.007227001711726189,
0.05851703882217407,
-0.04143419489264488,
0.0372280515730381,
0.0011466582072898746,
-0.035899799317121506,
0.031306248158216476,
-0.03460843861103058,
0.006742741912603378,
0.0028640511445701122,
-0.0056266384199261665,
0.0165201798081398,
0.016326475888490677,
0.018909195438027382,
0.03613962233066559,
-0.038666997104883194,
0.021768633276224136,
0.0883290022611618,
-0.03435016795992851,
-0.001041735173203051,
-0.01582838036119938,
0.030826598405838013,
0.0296274796128273,
-0.016667762771248817,
-0.012701444327831268,
-0.03213640674948692,
-0.0027441391721367836,
0.05641396716237068,
0.004953286610543728,
0.010460012592375278,
0.03724650293588638,
0.023742569610476494,
-0.0809497982263565,
0.009454597719013691,
-0.006447574123740196,
0.04342658072710037,
0.037486325949430466,
-0.015634676441550255,
-0.011834388598799706,
0.04999406635761261,
0.008546033874154091,
0.057114992290735245,
0.023299816995859146,
-0.007088642101734877,
-0.0035420150961726904,
0.02416687272489071,
-0.002721079159528017,
0.045714132487773895,
-0.004547430668026209,
-0.0021941582672297955,
0.06549037992954254,
-0.02014520950615406,
-0.04704238474369049,
-0.01873393915593624,
-0.06692932546138763,
0.020458826795220375,
-0.016151219606399536,
0.008103281259536743,
0.03257915750145912,
-0.054790545254945755,
-0.01973935402929783,
0.0263252891600132,
0.04158177971839905,
-0.04630446806550026,
-0.011705252341926098,
-0.054901231080293655,
-0.012913595885038376,
-0.03999525308609009,
0.0032353170681744814,
0.01628957875072956,
-0.05062129721045494,
0.014463228173553944,
0.02746906504034996,
0.020052969455718994,
-0.03340931981801987,
0.05032613128423691,
-0.06936445832252502,
0.04209832474589348,
0.061985261738300323,
0.01639104261994362,
0.002099612494930625,
0.05493813008069992,
0.06231732666492462,
-0.008781245909631252,
-0.024941688403487206,
0.03663771599531174,
0.026085464283823967,
-0.008347718045115471,
0.018364978954195976,
0.02224828116595745,
-0.005718878470361233,
0.04479173198342323,
-0.007480661850422621,
0.03307725489139557,
-0.0757843628525734,
0.006189302075654268,
0.024941688403487206,
0.02110450528562069,
-0.042356595396995544,
-0.060177359730005264,
0.01640026643872261,
-0.0019001434557139874,
0.038334932178258896,
0.0012440866557881236,
-0.04346347600221634,
-0.0014424026012420654,
-0.015007443726062775,
-0.033852070569992065,
0.011732924729585648,
-0.012756788171827793,
0.0073884217999875546,
0.0009258587379008532,
-0.00045399361988529563,
0.01606820337474346,
-0.036914438009262085,
0.014537019655108452,
-0.001984312431886792,
0.006498306058347225,
0.05811118334531784,
-0.05999287962913513,
0.004967122804373503,
0.031029528006911278,
0.01545941922813654,
-0.008615213446319103,
0.08404906094074249,
0.039294227957725525,
-0.011908181011676788,
-0.0757843628525734,
-0.007831173948943615,
-0.013983580283820629,
-0.04246728494763374,
0.027727335691452026,
-0.0224696584045887,
-0.004155410919338465,
-0.017341114580631256,
-0.03219174966216087,
-0.059955984354019165,
-0.037080470472574234,
0.03774459660053253,
0.0519864484667778,
-0.03482981398701668,
0.037080470472574234,
-0.021713290363550186,
0.044385876506567,
0.03479291871190071,
-0.03988456353545189,
-0.04977269098162651,
0.017147410660982132,
-0.04453345760703087,
-0.04929304122924805,
0.005774222314357758,
0.060177359730005264,
0.03156451880931854,
0.0223589688539505,
0.0068349819630384445,
-0.034018103033304214,
0.04294693097472191,
-0.039404917508363724,
-0.04198763519525528,
-0.0009558367310091853,
-0.03658237308263779,
-0.023244474083185196,
0.05482744053006172,
0.0032007270492613316,
-0.032597605139017105,
-0.022156041115522385,
-0.04611998796463013,
-0.01450012344866991,
0.031693655997514725,
0.016962930560112,
0.02558736875653267,
0.001513888593763113,
-0.025052376091480255,
-0.008444570004940033,
0.027561303228139877,
0.019831594079732895,
0.05305643379688263,
0.047743409872055054,
0.038666997104883194,
-0.002246043412014842,
-0.034756023436784744,
-0.011585340835154057,
-0.056893616914749146,
0.06335041671991348,
0.015367179177701473,
0.019278153777122498,
-0.02508927322924137,
-0.06191147118806839,
0.07382887601852417,
0.046673428267240524,
0.0012671466683968902,
-0.054790545254945755,
-0.02093847468495369,
-0.015551659278571606,
0.021990010514855385,
0.010681388899683952,
-0.024480488151311874,
0.012295588850975037,
-0.022967753931879997,
-0.038556307554244995,
0.007346913684159517,
0.05091646686196327,
-0.048481330275535583,
-0.0044182948768138885,
0.005262290593236685,
-0.04992027208209038,
-0.051949553191661835,
0.03023626282811165,
-0.02542133629322052,
0.00021402556740213186,
-0.038334932178258896,
0.04833374544978142,
-0.05379435420036316,
0.02938765473663807,
0.04722686484456062,
-0.006203138269484043,
0.005663534160703421,
0.014730723574757576,
0.03139848634600639,
0.03272674232721329,
0.03899906203150749,
-0.04040110856294632,
0.004478250630199909,
0.005216170568019152,
0.017092067748308182,
0.033925861120224,
0.02020055428147316,
-0.02258034609258175,
0.07128304988145828,
-0.03739408403635025,
-0.0031384651083499193,
0.0226910337805748,
0.029941095039248466,
-0.0150627875700593,
0.04980958625674248,
-0.023355161771178246,
-0.029018696397542953,
0.014177284203469753,
-0.020108314231038094,
0.010395444929599762,
-0.012932044453918934,
0.00459585664793849,
0.011548444628715515,
0.044570356607437134,
0.024775657802820206,
0.00933929719030857,
-0.010395444929599762,
0.01838342659175396,
-0.029922647401690483,
-0.04147109389305115,
0.08884554356336594,
0.04338968172669411,
0.000554016325622797,
-0.03632410243153572,
-0.013872891664505005,
0.03848251700401306,
0.054274000227451324,
0.0036596208810806274,
-0.022857066243886948,
0.006821146234869957,
0.04390622675418854,
-0.08021187782287598,
0.0296828243881464,
0.01685224287211895,
0.035826005041599274,
0.045714132487773895,
0.053093329071998596,
-0.03257915750145912,
0.021879320964217186,
-0.03632410243153572,
-0.042983826249837875,
-0.04955131560564041,
0.03829803690314293,
0.12780770659446716,
0.05777911841869354,
-0.0007944167591631413,
0.08486077934503555,
0.0889931246638298,
-0.0015853745862841606,
0.0113455168902874,
-0.045308273285627365,
0.0025850252714008093,
-0.00808483362197876,
-0.025974776595830917,
-0.025070825591683388,
0.046673428267240524,
-0.03141693398356438,
0.048259954899549484,
-0.013051955960690975,
-0.00044361662003211677,
-0.027671992778778076,
-0.04095454886555672,
0.06430970877408981,
-0.035088084638118744,
0.015136579982936382,
0.0067381300032138824,
0.0052207824774086475,
0.04113902896642685,
0.0338151752948761,
0.03353845328092575,
-0.04733755439519882,
-0.03536480665206909,
-0.026454424485564232,
-0.032099511474370956,
-0.03134314343333244,
0.033335525542497635,
0.004443660844117403,
0.02123364247381687,
0.03329863026738167,
0.00905335322022438,
0.01753481850028038,
-0.005848014261573553,
0.030439190566539764,
0.004415988922119141,
-0.03451619669795036,
0.062059056013822556,
-0.020163659006357193,
-0.021307433024048805,
0.021971561014652252,
-0.02348429709672928,
0.026915624737739563,
0.01622501201927662,
0.00551595026627183,
0.04143419489264488,
-0.06689243018627167,
0.025329096242785454,
-0.0023728732485324144,
-0.00466503668576479,
0.04331589117646217,
-0.040880754590034485,
-0.05146990343928337,
-0.011622237041592598,
-0.02258034609258175,
-0.0073884217999875546,
-0.022266728803515434,
-0.014822963625192642,
-0.03625030815601349,
0.019720906391739845,
0.04029041901230812,
-0.000029923943657195196,
0.03031005524098873,
-0.042430389672517776,
-0.014481675811111927,
-0.03650858253240585,
-0.001742182532325387,
0.02031124196946621,
-0.0006831522914581001,
-0.015173475258052349,
-0.01907522603869438,
-0.08323734998703003,
-0.062059056013822556,
-0.01605897955596447,
-0.01313497219234705,
0.009122533723711967,
-0.04228280484676361,
0.0034912829287350178,
-0.019942281767725945,
-0.008831977844238281,
-0.015560883097350597,
0.03189658373594284,
0.0031015691347420216,
-0.007582125719636679,
0.011336293071508408,
0.005036302376538515,
0.03995835781097412,
-0.04671032354235649,
0.025402888655662537,
0.03161986172199249,
-0.05146990343928337,
0.07836708426475525,
-0.022672586143016815,
0.0034636110067367554,
-0.05803739279508591,
0.024480488151311874,
0.03542014956474304,
0.03031005524098873,
-0.03023626282811165,
0.024074632674455643,
0.005326858256012201,
-0.0735706016421318,
-0.014287971891462803,
-0.013273332267999649,
0.020016074180603027,
-0.004245344549417496,
0.009228609502315521,
0.03377828001976013,
0.016704659909009933,
0.01617889106273651,
0.028631288558244705,
-0.0020892354659736156,
-0.04637825861573219,
0.07087719440460205,
-0.0008099822443909943,
0.03757856413722038,
-0.02905559167265892,
-0.060583215206861496,
0.05051060765981674,
-0.009998813271522522,
0.012304812669754028,
0.06962273269891739,
-0.048038579523563385,
0.01680612377822399,
0.02826232835650444,
-0.00859676580876112,
0.03431326895952225,
-0.023521192371845245,
-0.015413299202919006,
-0.009228609502315521,
-0.04353726655244827,
-0.04305762052536011,
0.074898861348629,
0.03818734735250473,
0.00413004495203495,
-0.0003147688985336572,
-0.01730421930551529,
-0.029756614938378334,
0.0147860674187541,
0.04113902896642685,
0.03851941227912903,
0.04479173198342323,
-0.04261486604809761,
0.04770651459693909,
0.00916404090821743,
-0.020440377295017242,
-0.043611060827970505,
0.059107374399900436,
0.034700676798820496,
-0.04368485137820244,
0.035217221826314926,
0.018927643075585365,
0.0030715910252183676,
0.04840753972530365,
-0.052244722843170166,
0.02230362594127655,
0.00032139866380020976,
0.007001013960689306,
-0.03720960393548012,
-0.02979351207613945,
0.0007471437565982342,
0.08213046938180923,
0.0021376614458858967,
0.03936802223324776,
0.021436570212244987,
-0.0018724714173004031,
-0.029461447149515152,
-0.013015060685575008,
-0.019481081515550613,
-0.04279934614896774,
0.053536079823970795,
-0.015053563751280308,
-0.016898363828659058,
0.002153803361579776,
0.020329689607024193,
0.019831594079732895,
0.03340931981801987,
-0.002785647287964821,
0.037486325949430466,
-0.007609797641634941,
-0.014038924127817154,
-0.03732029348611832,
0.07925258576869965,
-0.006954893935471773,
-0.02820698358118534,
-0.007992593571543694,
0.07762916386127472,
0.04969889670610428,
-0.009934245608747005,
-0.00867978110909462,
-0.03387051820755005,
-0.014260299503803253,
0.015081235207617283,
-0.020790889859199524,
-0.02060640975832939,
0.05685671791434288,
-0.029424551874399185,
0.02162105031311512,
-0.009546836838126183,
0.011613012291491032,
0.001565773505717516,
-0.06150561571121216,
-0.01816205121576786,
-0.025864088907837868,
0.012249468825757504,
0.029645927250385284,
-0.009293177165091038,
-0.020108314231038094,
-0.018401874229311943,
-0.054790545254945755,
0.018577130511403084,
-0.010819748975336552,
0.0754522979259491,
0.04106523469090462,
0.05527019128203392,
0.022506553679704666,
-0.016031308099627495,
-0.03128780052065849,
-0.013983580283820629,
0.030254710465669632,
0.01782076247036457,
-0.051211632788181305,
-0.0065767099149525166,
0.06146871671080589,
-0.040770068764686584,
0.030346950516104698,
0.00452667661011219,
0.0827208086848259,
-0.05349918454885483,
-0.024037737399339676,
-0.01410349179059267,
-0.007711261976510286,
-0.01844799518585205,
-0.00970364548265934,
0.007167045958340168,
-0.0446072518825531,
0.00941770151257515,
0.014712275937199593,
0.02134433016180992,
-0.047005489468574524,
0.013789876364171505,
-0.012498516589403152,
0.04169246926903725,
-0.004570490680634975,
-0.033501558005809784,
0.030549880117177963,
-0.025273753330111504,
-0.033962756395339966,
-0.06357178837060928,
0.026712696999311447,
0.005239230580627918,
0.06689243018627167,
0.010044933296740055,
-0.026934072375297546,
-0.03910974785685539,
-0.04195073992013931,
-0.008615213446319103,
-0.03139848634600639,
-0.0058341785334050655,
-0.011225604452192783,
-0.0030600610189139843,
-0.0024143813643604517,
-0.07563678175210953,
0.0011143741430714726,
-0.003733412828296423,
0.019905386492609978,
0.053093329071998596,
-0.010404668748378754,
0.01567157171666622,
0.04737444967031479,
-0.015846827998757362,
-0.06032494083046913,
0.03973698243498802,
-0.016538627445697784,
0.04663652926683426,
0.004249956924468279,
0.012018868699669838,
-0.023170681670308113,
-0.11592719703912735,
0.041286613792181015,
-0.020440377295017242,
-0.10146397352218628,
-0.05741015821695328,
0.0739026665687561,
-0.04671032354235649,
0.027432167902588844,
0.027376824989914894,
0.05873841419816017,
-0.039515603333711624,
-0.023797912523150444,
-0.06799931079149246,
-0.0005012666224502027,
0.01792222633957863,
0.04715307429432869,
0.03881458193063736,
0.056081902235746384,
-0.019702458754181862,
0.0026011671870946884,
-0.0073884217999875546,
0.008974949829280376,
0.0008555257809348404,
-0.04095454886555672,
0.039921458810567856,
0.022654136642813683,
-0.040770068764686584,
0.006572098005563021,
-0.04040110856294632,
0.016889140009880066,
0.049108561128377914,
-0.0374494306743145,
-0.031693655997514725,
0.026399079710245132,
0.04645204916596413,
-0.02123364247381687,
0.08545111119747162,
-0.009666749276220798,
-0.0833849385380745,
0.011244053021073341,
0.0007921107462607324,
-0.08559869229793549,
-0.006447574123740196,
-0.04995717108249664,
0.019333498552441597,
0.04671032354235649,
0.007951085455715656,
-0.02719234488904476,
-0.0448286272585392,
-0.008970336988568306,
0.06969652324914932,
0.005990986246615648,
0.012166452594101429,
-0.030217815190553665,
0.02127053774893284,
0.0052207824774086475,
0.044570356607437134,
0.013144196011126041,
0.005981762427836657,
-0.035659972578287125,
-0.03139848634600639,
-0.021436570212244987,
-0.03241312503814697,
-0.016557075083255768,
-0.005838790442794561,
-0.07486196607351303,
-0.028871111571788788,
-0.008472241461277008,
0.030328502878546715,
-0.01570846699178219,
0.016843019053339958,
-0.05597121641039848,
0.014887531287968159,
-0.008292373269796371,
0.01691681146621704,
-0.04851822555065155,
0.07205786556005478,
-0.004300688859075308,
0.07172580063343048,
-0.012636876665055752,
0.0019324274035170674,
-0.04357416182756424,
0.05180196836590767,
-0.0035766048822551966,
-0.011161036789417267,
0.024720313027501106,
0.024203769862651825,
-0.010017260909080505,
0.01213878020644188,
-0.030273159965872765,
-0.050584401935338974,
0.05084267258644104,
-0.020698649808764458,
0.007310017943382263,
-0.027284584939479828,
-0.006659726146608591,
0.018069811165332794,
0.007803501561284065,
-0.02156570553779602,
0.042651765048503876,
-0.05324091389775276,
0.04766961932182312,
0.03933112323284149,
-0.0742347314953804,
0.015053563751280308,
-0.06940135359764099,
0.013642292469739914,
0.027321480214595795,
-0.001988924341276288,
-0.04040110856294632,
0.019259706139564514,
0.03141693398356438,
0.020569514483213425,
0.004125433042645454,
0.014287971891462803,
0.030900390818715096,
0.029811959713697433,
-0.05239230394363403,
-0.04132350906729698,
0.055860526859760284,
-0.009602181613445282,
0.020698649808764458,
0.02060640975832939,
0.0595870241522789,
0.00791419018059969,
-0.030291607603430748,
0.07224234938621521,
0.08692695200443268,
-0.026804937049746513,
0.017341114580631256,
-0.03848251700401306,
0.008213969878852367,
-0.021805530413985252,
-0.09260893613100052,
-0.04106523469090462,
-0.022912409156560898,
-0.015791483223438263,
-0.023170681670308113,
0.03955250233411789,
-0.004249956924468279,
-0.027284584939479828,
-0.00273722130805254,
-0.038334932178258896,
-0.0744561031460762,
-0.07021306455135345,
0.03995835781097412,
-0.006498306058347225,
-0.025919431820511818,
-0.021934665739536285,
-0.03523566946387291,
0.03874078765511513,
-0.07286957651376724,
0.005391426384449005,
0.03717270866036415,
-0.055233296006917953,
0.0022252893541008234,
-0.0381135568022728,
-0.036674614995718,
-0.06095217540860176,
-0.009749765507876873,
-0.007084030192345381,
-0.026694247499108315,
0.04955131560564041,
-0.02531064860522747,
-0.05043681710958481,
-0.03564152494072914,
0.07047133892774582,
-0.021805530413985252,
-0.06962273269891739,
-0.028336120769381523,
-0.06353489309549332,
0.013863667845726013,
-0.02501548081636429,
-0.019997626543045044,
-0.02008986659348011,
-0.005087034311145544,
0.016640091314911842,
-0.047189969569444656,
-0.026749592274427414,
-0.033114150166511536,
-0.004759582690894604,
0.0296828243881464,
0.06604382395744324,
-0.03682219609618187,
0.02309688925743103,
-0.003440550994127989,
-0.10124259442090988,
-0.014370988123118877,
-0.03268984705209732,
0.030033335089683533,
0.0050224666483700275,
0.013605396263301373,
-0.04763272404670715,
-0.023336714133620262,
-0.002201076364144683,
0.025568921118974686,
0.022340521216392517,
-0.0187800582498312,
-0.058480143547058105,
-0.023982392624020576,
-0.011714477092027664,
0.02900024689733982,
0.08796004205942154,
0.05707809701561928,
0.019647113978862762,
0.000008228634214901831
] |
7,617 | emmett.app | App | null | class App:
__slots__ = [
'__dict__',
'_asgi_handlers',
'_extensions_env',
'_extensions_listeners',
'_language_default',
'_language_force_on_url',
'_languages_set',
'_languages',
'_logger',
'_modules',
'_pipeline',
'_router_http',
'_router_ws',
'cli',
'config_path',
'config',
'error_handlers',
'ext',
'import_name',
'logger_name',
'root_path',
'static_path',
'template_default_extension',
'template_path',
'templater',
'translator'
]
debug = None
test_client_class = None
def __init__(
self,
import_name: str,
root_path: Optional[str] = None,
url_prefix: Optional[str] = None,
template_folder: str = 'templates',
config_folder: str = 'config'
):
self.import_name = import_name
#: init debug var
self.debug = os.environ.get('EMMETT_RUN_ENV') == "true"
#: set paths for the application
if root_path is None:
root_path = get_root_path(self.import_name)
self.root_path = root_path
self.static_path = os.path.join(self.root_path, "static")
self.template_path = os.path.join(self.root_path, template_folder)
self.config_path = os.path.join(self.root_path, config_folder)
#: the click command line context for this application
self.cli = click.Group(self.import_name)
#: init the configuration
self.config = Config(self)
#: try to create needed folders
create_missing_app_folders(self)
#: init languages
self._languages: List[str] = []
self._languages_set: Set[str] = set()
self._language_default: Optional[str] = None
self._language_force_on_url = False
self.translator = Translator(
os.path.join(self.root_path, 'languages'),
default_language=self.language_default or 'en',
watch_changes=self.debug,
str_class=Tstr
)
#: init routing
self._pipeline: List[Pipe] = []
self._router_http = HTTPRouter(self, url_prefix=url_prefix)
self._router_ws = WebsocketRouter(self, url_prefix=url_prefix)
self._asgi_handlers = {
'http': asgi_handlers.HTTPHandler(self),
'lifespan': asgi_handlers.LifeSpanHandler(self),
'websocket': asgi_handlers.WSHandler(self)
}
self._rsgi_handlers = {
'http': rsgi_handlers.HTTPHandler(self),
'ws': rsgi_handlers.WSHandler(self)
}
self.error_handlers: Dict[int, Callable[[], Awaitable[str]]] = {}
self.template_default_extension = '.html'
#: init logger
self._logger = None
self.logger_name = self.import_name
#: init extensions
self.ext: sdict[str, Extension] = sdict()
self._extensions_env: sdict[str, Any] = sdict()
self._extensions_listeners: Dict[str, List[Callable[..., Any]]] = {
element.value: [] for element in Signals
}
#: init templater
self.templater: Templater = Templater(
path=self.template_path,
encoding=self.config.templates_encoding,
escape=self.config.templates_escape,
adjust_indent=self.config.templates_adjust_indent,
reload=self.config.templates_auto_reload
)
#: finalise
self._modules: Dict[str, AppModule] = {}
current.app = self
def _configure_asgi_handlers(self):
self._asgi_handlers['http']._configure_methods()
self._rsgi_handlers['http']._configure_methods()
@cachedprop
def name(self):
if self.import_name == '__main__':
fn = getattr(sys.modules['__main__'], '__file__', None)
if fn is None:
rv = '__main__'
else:
rv = os.path.splitext(os.path.basename(fn))[0]
else:
rv = self.import_name
return rv
@property
def languages(self) -> List[str]:
return self._languages
@languages.setter
def languages(self, value: List[str]):
self._languages = value
self._languages_set = set(self._languages)
@property
def language_default(self) -> Optional[str]:
return self._language_default
@language_default.setter
def language_default(self, value: str):
self._language_default = value
self.translator._update_config(self._language_default or 'en')
@property
def language_force_on_url(self) -> bool:
return self._language_force_on_url
@language_force_on_url.setter
def language_force_on_url(self, value: bool):
self._language_force_on_url = value
self._router_http._set_language_handling()
self._router_ws._set_language_handling()
self._configure_asgi_handlers()
@property
def pipeline(self) -> List[Pipe]:
return self._pipeline
@pipeline.setter
def pipeline(self, pipes: List[Pipe]):
self._pipeline = pipes
self._router_http.pipeline = self._pipeline
self._router_ws.pipeline = self._pipeline
@property
def injectors(self) -> List[Injector]:
return self._router_http.injectors
@injectors.setter
def injectors(self, injectors: List[Injector]):
self._router_http.injectors = injectors
def route(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
template: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
injectors: Optional[List[Injector]] = None,
schemes: Optional[Union[str, List[str]]] = None,
hostname: Optional[str] = None,
methods: Optional[Union[str, List[str]]] = None,
prefix: Optional[str] = None,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
output: str = 'auto'
) -> RoutingCtx:
if callable(paths):
raise SyntaxError('Use @route(), not @route.')
return self._router_http(
paths=paths,
name=name,
template=template,
pipeline=pipeline,
injectors=injectors,
schemes=schemes,
hostname=hostname,
methods=methods,
prefix=prefix,
template_folder=template_folder,
template_path=template_path,
cache=cache,
output=output
)
def websocket(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
schemes: Optional[Union[str, List[str]]] = None,
hostname: Optional[str] = None,
prefix: Optional[str] = None
) -> RoutingCtx:
if callable(paths):
raise SyntaxError('Use @websocket(), not @websocket.')
return self._router_ws(
paths=paths,
name=name,
pipeline=pipeline,
schemes=schemes,
hostname=hostname,
prefix=prefix
)
def on_error(self, code: int) -> Callable[[ErrorHandlerType], ErrorHandlerType]:
def decorator(f: ErrorHandlerType) -> ErrorHandlerType:
self.error_handlers[code] = f
return f
return decorator
@property
def command(self):
return self.cli.command
@property
def command_group(self):
return self.cli.group
@property
def log(self) -> Logger:
if self._logger and self._logger.name == self.logger_name:
return self._logger
from .logger import _logger_lock, create_logger
with _logger_lock:
if self._logger and self._logger.name == self.logger_name:
return self._logger
self._logger = rv = create_logger(self)
return rv
def render_template(self, filename: str) -> str:
ctx = {
'curre | (import_name: 'str', root_path: 'Optional[str]' = None, url_prefix: 'Optional[str]' = None, template_folder: 'str' = 'templates', config_folder: 'str' = 'config') | [
0.02995484322309494,
-0.05655375123023987,
-0.049013249576091766,
-0.05228632688522339,
0.02686821110546589,
-0.011145024560391903,
-0.027986856177449226,
0.05332210659980774,
-0.06513003259897232,
-0.015505671501159668,
0.0350508950650692,
-0.0070795766077935696,
0.0007703636074438691,
0.03165352717041969,
-0.03200569376349449,
0.005821100436151028,
0.02514881081879139,
-0.011383255012333393,
0.042964279651641846,
-0.10672707855701447,
-0.025542408227920532,
-0.013951996341347694,
0.03654242306947708,
0.018809819594025612,
-0.013516968116164207,
-0.03436727821826935,
-0.029830550774931908,
0.023823007941246033,
0.06198125332593918,
-0.04893038794398308,
-0.036169540137052536,
-0.05241061747074127,
0.047314565628767014,
-0.02307724580168724,
0.034450143575668335,
-0.05178914964199066,
-0.007167618256062269,
-0.05419216677546501,
-0.031073490157723427,
-0.014024501666426659,
0.02467234991490841,
0.003563093487173319,
0.023760860785841942,
-0.028256159275770187,
0.0022994382306933403,
0.039608340710401535,
-0.03608667850494385,
0.11310750246047974,
-0.019887033849954605,
0.02603958360850811,
-0.019565939903259277,
-0.00042531840153969824,
0.006043793633580208,
0.05075336620211601,
0.012532973662018776,
0.056512318551540375,
-0.01309229712933302,
0.05560082942247391,
0.0036718507762998343,
-0.0481017604470253,
-0.013516968116164207,
0.0336836613714695,
0.01909983903169632,
0.034864455461502075,
0.036791011691093445,
0.006344170775264502,
-0.026081016287207603,
0.030742039903998375,
0.009606887586414814,
0.0026451307348906994,
0.014190226793289185,
-0.010321577079594135,
-0.02049814537167549,
-0.011196814477443695,
0.037743933498859406,
-0.008990596048533916,
0.0018838302930817008,
-0.030327726155519485,
-0.00668080011382699,
0.016810758039355278,
0.027634689584374428,
-0.005106410011649132,
-0.022932235151529312,
0.009467056021094322,
0.09744646400213242,
0.007856413722038269,
0.014480246230959892,
-0.024775929749011993,
-0.04872323200106621,
-0.0019770506769418716,
-0.07374774664640427,
0.018457653000950813,
0.0051115890964865685,
0.023740146309137344,
0.016230719164013863,
-0.03701888397336006,
0.00683616753667593,
-0.020570650696754456,
0.025998152792453766,
-0.02980983443558216,
-0.006711873691529036,
0.06827881187200546,
-0.05990968644618988,
-0.011217529885470867,
0.04116201400756836,
-0.03948404639959335,
-0.02002168446779251,
0.006520254071801901,
0.027738267555832863,
-0.019855959340929985,
-0.022310765460133553,
-0.018488725647330284,
0.016986841335892677,
0.0041949208825826645,
-0.0161374993622303,
0.012595120817422867,
-0.031239215284585953,
0.014645971357822418,
0.04275711998343468,
-0.028131864964962006,
-0.027986856177449226,
0.01439738366752863,
-0.026122447103261948,
0.00112317712046206,
0.057755257934331894,
0.06533718854188919,
0.0004955574404448271,
-0.04520156979560852,
0.029312659054994583,
-0.026226025074720383,
-0.008151612244546413,
0.0583767294883728,
0.019234489649534225,
-0.00113288767170161,
0.02378157712519169,
0.011279677040874958,
-0.08733721822500229,
-0.0007341111777350307,
-0.0066186534240841866,
0.09719787538051605,
-0.02357442118227482,
0.014563108794391155,
-0.020000969991087914,
-0.019151628017425537,
0.01586819440126419,
-0.014490604400634766,
-0.009606887586414814,
-0.0036097036208957434,
-0.05779669061303139,
0.012719415128231049,
0.053694989532232285,
-0.032813604921102524,
-0.042839985340833664,
0.013454820960760117,
-0.021689295768737793,
0.0425913967192173,
-0.04170062392950058,
0.028214728459715843,
-0.0027500037103891373,
-0.04980044439435005,
-0.011548980139195919,
-0.056305162608623505,
0.009917622432112694,
-0.017836183309555054,
-0.002318859100341797,
0.024092312902212143,
0.028421884402632713,
-0.0004829338286072016,
0.005360176786780357,
0.08236546069383621,
-0.049468994140625,
0.01669682189822197,
-0.053073521703481674,
-0.007421385031193495,
0.01642751879990101,
0.06682872027158737,
0.026888925582170486,
-0.002336985431611538,
-0.006670442409813404,
0.0004962047678418458,
-0.03016200102865696,
-0.06587579846382141,
-0.052452050149440765,
0.03909045085310936,
0.03326934948563576,
0.0371224619448185,
0.010129957459867,
0.04391719773411751,
0.022000029683113098,
0.029167648404836655,
-0.07482496649026871,
-0.0040084803476929665,
0.08050105720758438,
-0.02177215740084648,
-0.005114178638905287,
0.044207219034433365,
-0.004132774192839861,
-0.03138422593474388,
0.016096066683530807,
-0.014314521104097366,
-0.0466930978000164,
0.008182685822248459,
0.028815481811761856,
-0.05170628800988197,
0.008483062498271465,
-0.008457168005406857,
0.019679876044392586,
-0.0008117948891595006,
0.008420915342867374,
-0.009606887586414814,
-0.024775929749011993,
-0.012015082873404026,
0.0012151029659435153,
0.01075142715126276,
0.043585747480392456,
-0.04383433610200882,
-0.003798734163865447,
0.023760860785841942,
0.0023551115300506353,
0.0163135826587677,
0.028566895052790642,
0.05336353927850723,
-0.05000760406255722,
-0.031239215284585953,
-0.03304147720336914,
-0.010331935249269009,
0.01746330037713051,
0.01298871822655201,
-0.023305116221308708,
0.017183639109134674,
0.04141060262918472,
0.02085031196475029,
0.06977034360170364,
0.03764035180211067,
0.0004803443734999746,
-0.034387994557619095,
0.004676560405641794,
0.0638456642627716,
-0.011911503970623016,
-0.006230234634131193,
0.014335236512124538,
-0.001829451648518443,
0.02316010743379593,
-0.04184563085436821,
-0.0006360354600474238,
0.026288172230124474,
0.0028199192602187395,
-0.026764633134007454,
0.010021200403571129,
-0.018613019958138466,
-0.01995953731238842,
-0.021627148613333702,
-0.03440871089696884,
-0.0309077650308609,
-0.07979672402143478,
-0.025397399440407753,
0.015785332769155502,
0.0062146978452801704,
-0.014511319808661938,
-0.01637572981417179,
-0.002426321618258953,
0.029416237026453018,
-0.02719966135919094,
0.07987958192825317,
0.004549676552414894,
-0.017183639109134674,
0.03099062666296959,
-0.012771204113960266,
-0.032730743288993835,
0.0011011668248102069,
0.019462361931800842,
0.07507354766130447,
-0.043461453169584274,
0.03275145962834358,
-0.0374331958591938,
-0.05394357815384865,
0.0030633280985057354,
0.0023020277731120586,
-0.06106976419687271,
-0.014739192090928555,
-0.001544611412100494,
0.00020440529624465853,
0.04246710240840912,
0.029768403619527817,
-0.022828657180070877,
-0.009182216599583626,
-0.010513197630643845,
0.02150285430252552,
-0.0030633280985057354,
-0.0384896956384182,
0.006338991690427065,
0.019327711313962936,
-0.0029597498942166567,
-0.012346533127129078,
0.011248603463172913,
0.0009438572451472282,
-0.08004531264305115,
0.03036915697157383,
0.02947838418185711,
-0.07950670272111893,
0.02191716805100441,
0.03022414818406105,
0.04404149204492569,
-0.018664808943867683,
-0.039256174117326736,
0.022455774247646332,
0.006706694606691599,
-0.004024016670882702,
0.055062223225831985,
0.0020107137970626354,
0.03358008340001106,
-0.029851265251636505,
0.02357442118227482,
0.004982116166502237,
0.0017983781872317195,
0.04507727548480034,
0.028401169925928116,
-0.015733543783426285,
0.014749549329280853,
0.06562720984220505,
-0.03600381687283516,
0.07035037875175476,
0.01803298108279705,
0.014728833921253681,
0.053902145475149155,
-0.0013296863762661815,
0.08916019648313522,
-0.029167648404836655,
0.00021233550796750933,
-0.035009466111660004,
-0.0501733273267746,
0.04644450917840004,
-0.03268931061029434,
-0.054647911339998245,
0.00022916698071639985,
-0.017981192097067833,
-0.015609249472618103,
-0.05750667303800583,
-0.033828672021627426,
-0.05763096362352371,
0.04909611493349075,
0.013879491947591305,
-0.0364181287586689,
0.02398873306810856,
-0.007462816312909126,
-0.0618155300617218,
0.009394551627337933,
0.013195875100791454,
-0.003027075668796897,
-0.0346987284719944,
0.035900238901376724,
-0.03208855539560318,
0.02099532075226307,
0.062146980315446854,
0.025169527158141136,
-0.10506982356309891,
-0.019679876044392586,
-0.00831733737140894,
0.027655405923724174,
0.0017142208525910974,
-0.03946333006024361,
0.040499113500118256,
-0.05605657398700714,
0.03608667850494385,
-0.03312433883547783,
-0.04288141429424286,
0.07449351251125336,
-0.031902115792036057,
0.008136074990034103,
-0.003658903297036886,
0.04789460450410843,
-0.019534867256879807,
0.02790399268269539,
-0.009896906092762947,
0.0037831973750144243,
-0.021813590079545975,
-0.003653724445030093,
-0.022352196276187897,
-0.08016960322856903,
0.0291883647441864,
0.04313000291585922,
0.0734991580247879,
0.040499113500118256,
0.009394551627337933,
0.026951072737574577,
-0.08543138206005096,
0.050463348627090454,
-0.0016158215003088117,
-0.007177975960075855,
-0.014946348033845425,
0.028318306431174278,
-0.015236367471516132,
-0.02260078489780426,
0.006307918578386307,
-0.0014306752709671855,
-0.05535224452614784,
-0.024237321689724922,
0.08058391511440277,
0.013589472509920597,
-0.005114178638905287,
0.0604482963681221,
-0.018758030608296394,
0.06160837039351463,
0.031777821481227875,
0.022310765460133553,
0.006665263324975967,
0.09114890545606613,
0.030617745593190193,
0.017742961645126343,
0.054647911339998245,
-0.05294922739267349,
0.021751442924141884,
-0.10506982356309891,
-0.030742039903998375,
-0.02117140404880047,
-0.036791011691093445,
0.025107380002737045,
0.057672396302223206,
-0.015381377190351486,
0.034097976982593536,
-0.039049018174409866,
0.03268931061029434,
0.08601141721010208,
0.003462104592472315,
0.022352196276187897,
0.03654242306947708,
-0.04569874703884125,
-0.004503066651523113,
-0.06338991969823837,
0.002471637213602662,
0.02204146236181259,
-0.0038790071848779917,
-0.061442647129297256,
-0.03983621299266815,
0.017152566462755203,
-0.018260853365063667,
-0.014449172653257847,
-0.019027333706617355,
0.007861592806875706,
0.008250011131167412,
-0.011559338308870792,
-0.017401153221726418,
0.010575343854725361,
0.04004336893558502,
0.020249556750059128,
-0.022227901965379715,
-0.04996617138385773,
-0.012222238816320896,
0.054440755397081375,
-0.04039553552865982,
-0.033890821039676666,
0.00011668742808979005,
-0.011290034279227257,
0.004244120791554451,
-0.01874767243862152,
-0.04574017599225044,
0.044828686863183975,
0.011072520166635513,
-0.039753351360559464,
-0.01391056552529335,
-0.00990726426243782,
-0.010316398926079273,
0.056719474494457245,
-0.0002532812941353768,
-0.0116732744500041,
0.003596756374463439,
0.054026439785957336,
-0.0014021912356838584,
-0.022103609517216682,
0.001202155603095889,
0.008902554400265217,
0.0062509505078196526,
0.0015627376269549131,
-0.003016717964783311,
0.009953874163329601,
-0.01054427120834589,
-0.011269318871200085,
-0.044911548495292664,
-0.05560082942247391,
-0.030949195846915245,
-0.0004748417704831809,
0.002659372752532363,
0.029354089871048927,
0.04047840088605881,
-0.07175904512405396,
-0.04955185949802399,
0.0790509581565857,
-0.039049018174409866,
0.038510411977767944,
-0.04453866928815842,
-0.027054650709033012,
0.02268364652991295,
-0.0007736004190519452,
0.004826748743653297,
-0.0030348440632224083,
0.034657299518585205,
-0.03043130412697792,
-0.01267798338085413,
0.0185405146330595,
-0.0374331958591938,
-0.016417160630226135,
-0.03503017872571945,
0.0018579356838017702,
0.04045768454670906,
0.0395047627389431,
-0.025749564170837402,
-0.033559367060661316,
-0.018374789506196976,
-0.008105001412332058,
-0.020425640046596527,
-0.03181925415992737,
0.0010500249918550253,
-0.002321448642760515,
-0.01309229712933302,
0.01731829158961773,
-0.016986841335892677,
-0.041058436036109924,
-0.002208807272836566,
-0.004995063412934542,
-0.024237321689724922,
0.047397430986166,
0.004150900524109602,
0.04499441385269165,
-0.016406802460551262,
0.014604540541768074,
0.031777821481227875,
0.023450126871466637,
-0.007364416960626841,
0.04748029261827469,
0.11435043811798096,
0.00046513130655512214,
0.03608667850494385,
0.02767612226307392,
0.004850053694099188,
0.02016669511795044,
0.01205651368945837,
-0.022372912615537643,
-0.07432778924703598,
-0.030472734943032265,
-0.02678534761071205,
-0.0161582138389349,
0.017370080575346947,
-0.05394357815384865,
-0.08190971612930298,
-0.03413940593600273,
-0.08567997068166733,
0.020301345735788345,
0.000521128298714757,
-0.03244072198867798,
-0.048806093633174896,
-0.01515350490808487,
0.004707633517682552,
0.02672320045530796,
0.04095485806465149,
-0.044000059366226196,
-0.03229571506381035,
0.006313097197562456,
0.0377853624522686,
0.010109242051839828,
0.028318306431174278,
-0.007939276285469532,
-0.014273089356720448,
-0.11998510360717773,
-0.021482139825820923,
0.001628768746741116,
0.05729951336979866,
0.020011328160762787,
0.001360759837552905,
-0.03805466741323471,
0.0007768372306600213,
-0.01793976128101349,
-0.014894559048116207,
0.04271569103002548,
-0.012822993099689484,
-0.018550872802734375,
0.038986872881650925,
0.020000969991087914,
0.039111167192459106,
0.06243699789047241,
-0.015194936655461788,
0.06231270357966423,
0.030555598437786102,
-0.060158275067806244,
-0.03840683400630951,
0.006830988917499781,
-0.02355370484292507,
0.09852367639541626,
0.07743513584136963,
-0.0014488014858216047,
-0.04487011954188347,
-0.054937928915023804,
0.020011328160762787,
0.0033196844160556793,
-0.020871026441454887,
0.022642215713858604,
0.07619219273328781,
-0.022372912615537643,
0.032254282385110855,
0.016738252714276314,
0.021523570641875267,
-0.04756315425038338,
0.058708179742097855,
0.03250287100672722,
-0.035693082958459854,
0.05145769938826561,
-0.009109711274504662,
0.024983085691928864,
-0.019389856606721878,
0.005945394281297922,
0.02618459425866604,
0.018602661788463593,
-0.049841877073049545,
0.01404521707445383,
0.0035812195856124163,
-0.030762754380702972,
-0.018633736297488213,
-0.0522034615278244,
0.055890850722789764,
0.057340946048498154,
-0.04300570860505104,
0.023305116221308708,
-0.013403031975030899,
-0.016127141192555428,
-0.009694928303360939,
-0.02788327820599079,
0.022828657180070877,
0.02465163543820381,
0.001706452458165586,
-0.0693974569439888,
0.021751442924141884,
0.035817377269268036,
-0.052327755838632584,
0.009938337840139866,
-0.023325832560658455,
0.04735599830746651,
0.01705934666097164,
0.0322749987244606,
-0.014159153215587139,
0.0145941823720932,
0.01298871822655201,
0.022290049120783806,
-0.043461453169584274,
0.009601708501577377,
-0.0418870635330677,
-0.01029050350189209,
0.05821100249886513,
0.03730890154838562,
-0.05311495065689087,
-0.00016766737098805606,
-0.03374581038951874,
0.005256598815321922,
0.07014322280883789,
-0.0353616327047348,
0.0041120583191514015,
-0.08050105720758438,
0.044000059366226196,
-0.0042855520732700825,
-0.027261808514595032,
0.0025700365658849478,
0.026060299947857857,
0.006054151337593794,
0.019534867256879807,
0.07586074620485306,
-0.0638870969414711,
0.014894559048116207,
-0.003992943558841944,
0.05311495065689087,
-0.00904756411910057,
0.0693974569439888,
-0.00023661168233957142,
0.035817377269268036,
0.0007781319436617196,
0.009855475276708603,
-0.015578175894916058,
0.004624770954251289,
0.03476087749004364,
0.0010992246679961681,
-0.0432957299053669,
0.005582870449870825,
-0.026640338823199272,
-0.051830582320690155,
0.0934690535068512,
-0.01945200376212597,
0.0023305118083953857,
-0.016323938965797424,
-0.020125264301896095,
0.02355370484292507,
0.013434105552732944,
0.06442569941282272,
-0.059536807239055634,
-0.0336422324180603,
0.03873828426003456,
0.00034795835381373763,
0.015039568766951561,
-0.011507549323141575,
-0.04068555682897568,
-0.012729773297905922,
-0.11526192724704742,
-0.036500994116067886,
-0.006489180494099855,
0.04170062392950058,
-0.05257634446024895,
0.02218647114932537,
-0.021181762218475342,
0.023387979716062546,
0.00904756411910057,
0.0078046247363090515,
-0.06695301085710526,
-0.01130039244890213,
-0.0064270333386957645,
0.011807925999164581,
0.0011762609938159585,
0.10332971066236496,
0.002884655725210905,
-0.0019990610890090466,
-0.04178348556160927,
-0.04149346798658371,
0.03859327360987663,
0.003431031247600913,
0.005282493308186531,
-0.052120599895715714,
0.015132789500057697,
0.052534911781549454,
-0.016096066683530807,
0.0693974569439888,
-0.028484031558036804,
-0.025998152792453766,
-0.030617745593190193,
0.03546521067619324,
-0.011859714984893799,
-0.03070060722529888,
-0.03948404639959335,
-0.05058763921260834,
0.0652543306350708,
0.04665166512131691,
-0.0535706952214241,
0.04095485806465149,
-0.03152923285961151,
-0.06724303215742111,
0.006530611775815487,
0.02046707086265087,
-0.040768418461084366,
-0.07453494518995285,
-0.029851265251636505,
0.0023343958891928196,
0.020477429032325745,
0.039111167192459106,
0.015257083810865879,
-0.004451277200132608,
0.018737314268946648,
0.023035813122987747,
-0.0163135826587677,
-0.0446629635989666,
0.021129973232746124,
-0.020332420244812965,
0.004122416488826275,
0.008659145794808865,
0.00699153495952487,
-0.03983621299266815,
0.0010021200869232416,
0.007188334129750729,
-0.0021505444310605526,
0.0027784877456724644,
0.012025440111756325,
0.09172894060611725,
0.041182730346918106,
-0.0005891015753149986,
0.03585880622267723
] |
7,618 | emmett.app | __init_extension | null | def __init_extension(self, ext):
if ext.namespace is None:
ext.namespace = ext.__name__
if self._extensions_env[ext.namespace] is None:
self._extensions_env[ext.namespace] = sdict()
return self._extensions_env[ext.namespace], self.config[ext.namespace]
| (self, ext) | [
0.03913138806819916,
-0.057678211480379105,
0.05083971843123436,
-0.0010064545786008239,
0.0451064333319664,
0.03678281232714653,
0.01416915375739336,
0.047213245183229446,
0.021188972517848015,
-0.01542115118354559,
0.01397919561713934,
0.026904987171292305,
-0.013582010753452778,
-0.002875276142731309,
-0.029236292466521263,
-0.03379528969526291,
0.02538532204926014,
0.032931841909885406,
-0.0020884608384221792,
0.012476799078285694,
0.023554814979434013,
-0.016336403787136078,
-0.022017881274223328,
0.013694258406758308,
0.0057764556258916855,
0.024884521961212158,
0.04299962520599365,
-0.010974402539432049,
0.055053334683179855,
-0.05740191042423248,
-0.06334242224693298,
-0.05975048243999481,
0.0006146658561192453,
0.010413162410259247,
0.016828568652272224,
-0.013340245001018047,
-0.013426589779555798,
0.027751164510846138,
-0.05332644283771515,
-0.023330319672822952,
0.04237794503569603,
-0.0001492143201176077,
0.020878132432699203,
-0.02251867949962616,
0.029633477330207825,
0.08061134815216064,
-0.008392698131501675,
-0.0010334373218938708,
0.027664819732308388,
0.041203659027814865,
0.03334629535675049,
0.009221606887876987,
0.002471615094691515,
-0.010015977546572685,
-0.08116395026445389,
0.07998966425657272,
0.05021803826093674,
0.06278981268405914,
-0.01427276711910963,
0.05892157554626465,
-0.0335707925260067,
-0.023468470200896263,
0.027751164510846138,
0.03719726577401161,
-0.04472651705145836,
0.011630621738731861,
-0.05343005806207657,
-0.037749871611595154,
-0.019185777753591537,
-0.0019092956790700555,
0.00708889402449131,
-0.046626102179288864,
-0.029460787773132324,
-0.04894013702869415,
0.026594147086143494,
-0.008772614412009716,
-0.04172172397375107,
-0.01554203312844038,
-0.015585205517709255,
-0.014523167163133621,
-0.010922595858573914,
0.03723180294036865,
-0.10727456957101822,
0.06520746648311615,
0.0922851413488388,
0.041030969470739365,
-0.00031812599627301097,
0.010836251080036163,
0.035107728093862534,
0.05090879276394844,
-0.060613930225372314,
0.03458965942263603,
0.038095250725746155,
0.0026637318078428507,
0.010292279534041882,
-0.07708848267793655,
0.007192507851868868,
-0.0007037087343633175,
0.009411565028131008,
-0.008893497288227081,
-0.0278029702603817,
-0.0856538712978363,
-0.052083082497119904,
0.014315939508378506,
-0.03958037868142128,
0.00783577561378479,
0.014220960438251495,
-0.0006454261019825935,
-0.044001225382089615,
-0.026939524337649345,
-0.010896692052483559,
0.020601829513907433,
0.03436516225337982,
0.005435394588857889,
0.05346459522843361,
-0.0013944657985121012,
0.006553557235747576,
0.006756467279046774,
0.08945303410291672,
-0.012407723814249039,
-0.040927354246377945,
0.0961533784866333,
-0.029944317415356636,
0.05004534870386124,
0.05021803826093674,
0.0025471665430814028,
0.055467791855335236,
0.006000951863825321,
0.03450331464409828,
-0.0835816040635109,
0.06831587105989456,
-0.008185471408069134,
-0.06721065938472748,
-0.032517388463020325,
-0.02512628771364689,
-0.024521874263882637,
0.012873983941972256,
0.01554203312844038,
-0.07674311101436615,
0.035435836762189865,
-0.07232226431369781,
0.05709106847643852,
-0.0730820968747139,
0.015835605561733246,
-0.03348444774746895,
-0.005923241842538118,
-0.024573681876063347,
0.0456245020031929,
0.001351293409243226,
-0.004515824373811483,
-0.044070299714803696,
-0.017942413687705994,
-0.05004534870386124,
0.000378297409042716,
-0.029875241219997406,
0.015153482556343079,
-0.020739980041980743,
0.06033762916922569,
0.030721420422196388,
-0.016103273257613182,
-0.03585029020905495,
0.06396409869194031,
-0.05346459522843361,
-0.06648536771535873,
-0.0013005660148337483,
0.016560900956392288,
-0.019185777753591537,
-0.044001225382089615,
-0.009869190864264965,
0.008561070077121258,
-0.01118162926286459,
-0.04206710308790207,
0.03654104843735695,
-0.017786994576454163,
0.016914913430809975,
0.060717545449733734,
0.03446877747774124,
0.037888024002313614,
0.008232960477471352,
0.04538273811340332,
0.035573989152908325,
0.029996125027537346,
-0.05039072781801224,
0.0909036248922348,
-0.011786041781306267,
0.02547166682779789,
0.02825196273624897,
-0.010888057760894299,
0.043414078652858734,
0.014644049108028412,
0.00963606033474207,
0.03296637907624245,
0.0016135652549564838,
0.052462998777627945,
-0.030635075643658638,
0.02531624585390091,
-0.004705782514065504,
0.010629024356603622,
-0.06648536771535873,
0.035573989152908325,
-0.04514097422361374,
0.00561671843752265,
0.005418125540018082,
-0.004878471605479717,
-0.01251133717596531,
-0.01007641851902008,
0.035608526319265366,
-0.0018715198384597898,
-0.07556881755590439,
0.017484787851572037,
0.01407417468726635,
-0.055260565131902695,
-0.03334629535675049,
-0.0037840534932911396,
0.010275010950863361,
-0.04479559510946274,
0.01560247503221035,
0.0386478565633297,
0.02559254877269268,
0.0005725728115066886,
0.023917462676763535,
-0.010223204270005226,
0.03419247269630432,
-0.012027806602418423,
-0.008638780564069748,
-0.01657816953957081,
0.0330527238547802,
-0.029046334326267242,
-0.01565428078174591,
-0.00631610956043005,
0.016310499981045723,
0.017597036436200142,
0.05871434882283211,
-0.07218410819768906,
0.07701940834522247,
0.021620694547891617,
0.055295102298259735,
0.008504945784807205,
0.0568147674202919,
-0.014928986318409443,
0.07038814574480057,
0.04859475791454315,
-0.0059318761341273785,
0.005340415518730879,
-0.014954890124499798,
0.005331780761480331,
0.010534045286476612,
-0.004485603421926498,
-0.00014651604578830302,
0.002314036013558507,
0.04628072306513786,
0.029011795297265053,
0.03156759589910507,
0.0035034334287047386,
-0.07018091529607773,
0.0328800342977047,
-0.01968657597899437,
0.016042832285165787,
0.029063602909445763,
-0.041169118136167526,
0.013651086017489433,
-0.032482851296663284,
0.012468164786696434,
0.032707344740629196,
-0.02566162496805191,
0.017976952716708183,
0.044139374047517776,
-0.012105517089366913,
0.0016826409846544266,
0.014937620609998703,
0.01979018934071064,
0.05754006281495094,
-0.006553557235747576,
-0.006458578165620565,
-0.0006044124020263553,
-0.005288608837872744,
-0.010922595858573914,
-0.07646680623292923,
0.02569616213440895,
0.023900194093585014,
0.015118944458663464,
-0.035573989152908325,
0.06285889446735382,
0.08019689470529556,
0.014756297692656517,
-0.04517551138997078,
-0.05415535345673561,
-0.0566420778632164,
-0.024021076038479805,
-0.0564693883061409,
-0.014592242427170277,
0.055329639464616776,
0.01960023120045662,
0.041307270526885986,
0.035746678709983826,
0.016560900956392288,
-0.07529252022504807,
0.007477445062249899,
0.0657600685954094,
0.04465744271874428,
0.021586157381534576,
0.03930407762527466,
-0.029184484854340553,
0.0898674950003624,
-0.0015908997738733888,
-0.01423822995275259,
-0.013297073543071747,
0.0009994390420615673,
0.0041769216768443584,
0.055640481412410736,
-0.016353672370314598,
0.00425679050385952,
0.01685447245836258,
0.06955923140048981,
-0.02868368662893772,
0.0330527238547802,
0.018028758466243744,
-0.037957098335027695,
-0.018063297495245934,
0.05619308724999428,
0.0068169087171554565,
0.018253255635499954,
0.0024824081920087337,
-0.008833055384457111,
0.052428457885980606,
-0.0063722338527441025,
0.01409144327044487,
-0.016310499981045723,
0.02837284468114376,
0.02006649225950241,
-0.07881537824869156,
0.004371196962893009,
0.006031172350049019,
0.021845191717147827,
0.016060100868344307,
0.0020107505843043327,
0.00009801464329939336,
-0.008314987644553185,
-0.03961491584777832,
-0.0779864713549614,
-0.0034624196123331785,
-0.05961233377456665,
-0.10181758552789688,
-0.037991639226675034,
-0.004723051097244024,
-0.049354590475559235,
-0.003641584888100624,
-0.012658122926950455,
0.01435047760605812,
-0.07056083530187607,
-0.0339161716401577,
-0.005862800404429436,
0.0032271305099129677,
0.024038344621658325,
0.0016621341928839684,
-0.024003807455301285,
-0.0748089849948883,
0.0017959682736545801,
0.01956569403409958,
0.0036329503636807203,
-0.0056512560695409775,
0.08330529928207397,
-0.029685283079743385,
0.012753101997077465,
0.047075092792510986,
-0.03407159075140953,
0.024763640016317368,
0.013357514515519142,
0.007960975170135498,
-0.10085052996873856,
0.0010668957838788629,
-0.011751504614949226,
-0.020809056237339973,
-0.024383723735809326,
0.013461127877235413,
-0.02521263249218464,
-0.03469327092170715,
-0.024798177182674408,
-0.011941462755203247,
-0.016016928479075432,
0.018667709082365036,
0.043414078652858734,
0.01118162926286459,
0.009843287989497185,
-0.04503735899925232,
-0.026421457529067993,
-0.0011106077581644058,
-0.016336403787136078,
0.021707039326429367,
0.02253594808280468,
-0.026715029031038284,
0.038233403116464615,
-0.024383723735809326,
0.09608430415391922,
0.024919060990214348,
0.00427405908703804,
-0.06272073835134506,
-0.005003671161830425,
0.01972111314535141,
0.0515650138258934,
0.034779615700244904,
-0.035263147205114365,
0.0842723622918129,
0.01153564266860485,
0.04237794503569603,
0.00416612857952714,
0.0005455901264213026,
0.04065105319023132,
0.0027220144402235746,
0.032620999962091446,
-0.0058109937235713005,
-0.02025645039975643,
-0.043655846267938614,
-0.05988863483071327,
-0.0052108983509242535,
0.008591290563344955,
0.03958037868142128,
0.04603895545005798,
-0.01137158740311861,
-0.006117517128586769,
-0.005867117550224066,
-0.020394600927829742,
-0.00999007374048233,
0.013072577305138111,
-0.007611279375851154,
0.04869837313890457,
-0.013823775574564934,
-0.026922255754470825,
-0.02305401675403118,
-0.026404187083244324,
-0.09180161356925964,
0.07736478745937347,
0.035815753042697906,
-0.07881537824869156,
0.04610803350806236,
-0.052083082497119904,
0.010551313869655132,
-0.07114797830581665,
-0.041583575308322906,
0.024262841790914536,
-0.029408982023596764,
0.060544855892658234,
0.009083455428481102,
0.011613353155553341,
-0.03602297976613045,
0.0335707925260067,
-0.05926695466041565,
0.04780038818717003,
-0.032620999962091446,
-0.03458965942263603,
-0.002238484565168619,
-0.0027306489646434784,
0.05947418138384819,
-0.012105517089366913,
0.041203659027814865,
-0.05097787082195282,
-0.001319993520155549,
0.002352891257032752,
-0.010309549048542976,
0.01582697033882141,
-0.08482496440410614,
-0.02788931503891945,
-0.0019740541465580463,
-0.043552231043577194,
-0.02248414233326912,
-0.03125675767660141,
0.0772957131266594,
0.0035681917797774076,
-0.0011580974096432328,
0.003481847234070301,
-0.017700649797916412,
0.05059795454144478,
-0.00029573036590591073,
-0.03156759589910507,
0.018909474834799767,
0.01290852203965187,
0.029823435470461845,
-0.006329061463475227,
0.02522990107536316,
-0.03937315195798874,
-0.026922255754470825,
0.026715029031038284,
-0.021810654550790787,
0.01737253926694393,
-0.02295040339231491,
-0.010913961566984653,
0.03602297976613045,
-0.07322024554014206,
0.011863752268254757,
0.013150286860764027,
-0.009117992594838142,
0.08309806883335114,
-0.055675018578767776,
0.038095250725746155,
0.044381141662597656,
0.0066226329654455185,
0.02590338885784149,
0.054915186017751694,
0.05643485113978386,
0.0003796465462073684,
-0.0026184008456766605,
-0.021672502160072327,
-0.011639256030321121,
0.0054094912484288216,
-0.02552347257733345,
0.006199544295668602,
-0.12599408626556396,
-0.011665159836411476,
0.0026076077483594418,
-0.0510469451546669,
-0.0173034630715847,
0.006717612035572529,
-0.027060406282544136,
-0.02540259063243866,
0.02213876321911812,
-0.020360063761472702,
0.0003982646157965064,
0.017519325017929077,
0.037853486835956573,
0.02258775569498539,
-0.008198422379791737,
-0.013089845888316631,
0.02220783941447735,
-0.004323707427829504,
0.004550362005829811,
-0.021102627739310265,
-0.006389502435922623,
-0.0015455689281225204,
-0.010931230150163174,
0.08309806883335114,
0.030030662193894386,
0.003535812720656395,
-0.058299895375967026,
0.006510385312139988,
-0.01594785414636135,
-0.005331780761480331,
-0.03144671395421028,
0.023986538872122765,
0.02277771383523941,
0.014825372956693172,
0.01254587434232235,
-0.032085664570331573,
0.02859734185039997,
0.04179080203175545,
-0.03134310245513916,
0.0310322605073452,
-0.009618791751563549,
0.008997110649943352,
-0.0004241679853294045,
-0.013504300266504288,
0.0043021212331950665,
-0.044381141662597656,
-0.014479994773864746,
-0.014220960438251495,
-0.03716272860765457,
-0.07287486642599106,
0.03483142331242561,
-0.04925097897648811,
0.004250314552336931,
0.01673358865082264,
-0.0030069516506046057,
0.049769043922424316,
-0.06534561514854431,
0.03127402439713478,
-0.017683381214737892,
-0.005975048523396254,
0.006385185290127993,
0.0036199986934661865,
-0.05135778710246086,
0.04154903441667557,
-0.0022622293327003717,
-0.0031731652561575174,
0.0008067826274782419,
0.003332902677357197,
-0.009316585958003998,
0.05166862532496452,
0.03764626011252403,
0.06613998860120773,
0.019030356779694557,
0.03125675767660141,
-0.015472957864403725,
0.013797871768474579,
0.0100936871021986,
0.0019146922277286649,
-0.006540605798363686,
0.0017927304143086076,
0.009195703081786633,
0.03605751693248749,
-0.047040555626153946,
-0.014022368006408215,
-0.03730088099837303,
0.09290682524442673,
0.03184390068054199,
-0.012735833413898945,
0.038060713559389114,
-0.06721065938472748,
-0.029460787773132324,
-0.0011311146663501859,
0.024435529485344887,
-0.05754006281495094,
-0.007157969754189253,
-0.00247377366758883,
-0.004410052206367254,
-0.014031002297997475,
-0.018305061385035515,
-0.032603733241558075,
-0.01707896776497364,
0.02528170868754387,
-0.01707896776497364,
-0.007576741278171539,
-0.013512934558093548,
-0.016491824761033058,
-0.003596253925934434,
-0.03736995533108711,
0.0230712853372097,
0.002475932240486145,
-0.02585158310830593,
-0.003706343239173293,
-0.000378297409042716,
-0.04313777759671211,
-0.0168717410415411,
0.04755862429738045,
-0.016146445646882057,
0.007714892737567425,
0.00562535272911191,
-0.003199068596586585,
0.01544705405831337,
0.02314036153256893,
0.01579243317246437,
-0.0330527238547802,
0.04555542767047882,
0.004615120589733124,
0.021430736407637596,
-0.07584512233734131,
0.0566420778632164,
-0.03161940351128578,
0.0008202739991247654,
-0.02025645039975643,
0.06168460473418236,
0.08434143662452698,
0.0339161716401577,
-0.04165264964103699,
0.038440629839897156,
-0.010611754842102528,
-0.01979018934071064,
0.010059149004518986,
-0.00031111048883758485,
-0.00872080773115158,
0.017519325017929077,
-0.01253724005073309,
0.027526667341589928,
-0.02522990107536316,
-0.03992575779557228,
0.0021963915787637234,
-0.05004534870386124,
0.03153305873274803,
-0.035746678709983826,
0.01389285083860159,
0.05343005806207657,
-0.029685283079743385,
-0.055053334683179855,
-0.010698099620640278,
-0.06710704416036606,
0.034865960478782654,
0.03888962045311928,
-0.032897304743528366,
-0.008038684725761414,
-0.05988863483071327,
0.05954325571656227,
-0.03075595758855343,
0.03616113215684891,
0.021016282960772514,
-0.0027932487428188324,
0.0026723663322627544,
-0.06838494539260864,
-0.052324846386909485,
-0.010922595858573914,
0.052704762667417526,
0.046833328902721405,
0.016983989626169205,
-0.03438243269920349,
0.015196654945611954,
0.0009319823584519327,
-0.010110956616699696,
-0.05301560461521149,
-0.05059795454144478,
0.0328800342977047,
0.010654927231371403,
0.035539448261260986,
0.006432674825191498,
-0.06306611746549606,
0.03193024545907974,
0.03142944723367691,
0.018857667222619057,
-0.037922561168670654,
-0.06285889446735382,
-0.0007355483248829842,
-0.08365067839622498,
-0.04227432981133461,
-0.05671115219593048,
0.046626102179288864,
-0.013072577305138111,
-0.05170316621661186,
-0.018754053860902786,
0.05450073257088661,
-0.03992575779557228,
-0.026248767971992493,
-0.011803311295807362,
-0.03382982686161995,
0.0010485475650057197,
-0.019116701558232307,
0.004407893400639296,
0.023727504536509514,
-0.034952305257320404,
0.02213876321911812,
0.03892415761947632,
0.00991236325353384,
0.00978284701704979,
-0.030358772724866867,
0.009299316443502903,
-0.004995036870241165,
0.013582010753452778,
0.07384192943572998,
0.03061780519783497,
0.0562966987490654,
0.012658122926950455,
-0.011621987447142601,
0.02003195509314537,
-0.0064024543389678,
-0.020584559068083763,
-0.060268551111221313,
-0.041203659027814865,
-0.035746678709983826,
0.060890235006809235,
0.008448822423815727,
-0.05353366956114769,
0.009506544098258018,
0.010948498733341694,
-0.02498813532292843,
-0.01106938160955906,
-0.001681561698205769,
0.003945949487388134,
0.005573546048253775,
0.09035102277994156,
0.021448006853461266,
0.010836251080036163,
0.02868368662893772,
-0.06586368381977081,
-0.0006805036100558937,
0.027008600533008575,
-0.017432980239391327,
0.030272427946329117,
-0.008241594769060612,
0.004882788751274347,
-0.03414066508412361,
-0.03436516225337982,
-0.02243233472108841,
-0.008077540434896946,
-0.016673147678375244,
-0.030583268031477928,
-0.05999225005507469,
-0.023779312148690224,
0.014661318622529507,
-0.006234082393348217,
0.027578474953770638,
0.005685793701559305,
0.015991024672985077,
-0.027371248230338097
] |
7,619 | emmett.app | __register_extension_listeners | null | def __register_extension_listeners(self, ext):
for signal, listener in ext._listeners_:
self._extensions_listeners[signal].append(listener)
| (self, ext) | [
0.006602051667869091,
0.006553861312568188,
0.0018476544646546245,
0.07857624441385269,
-0.00626472057774663,
0.043458759784698486,
-0.012906200252473354,
0.029685137793421745,
-0.009392700158059597,
0.026478301733732224,
0.045035894960165024,
-0.013957622461020947,
0.08018842339515686,
-0.022605564445257187,
-0.02348174899816513,
-0.03599366918206215,
-0.008932703174650669,
-0.007706044241786003,
-0.0016406557988375425,
-0.01995948702096939,
-0.03143750876188278,
0.024287840351462364,
0.014045240357518196,
-0.017523694783449173,
-0.022500423714518547,
0.08383335173130035,
0.00776737742125988,
0.03555557504296303,
0.01682274602353573,
0.01252944115549326,
-0.07892671972513199,
-0.043669044971466064,
0.0039515928365290165,
-0.06977935135364532,
-0.05512954294681549,
-0.0017501789843663573,
0.009497841820120811,
0.0550244003534317,
-0.0631553903222084,
0.0628049224615097,
0.0618586391210556,
0.0011675161076709628,
0.010295170359313488,
-0.0022780802100896835,
0.015946561470627785,
0.07062048465013504,
-0.05947541818022728,
0.03960354998707771,
0.04531627148389816,
-0.023166323080658913,
-0.026741156354546547,
0.010847166180610657,
0.007048905827105045,
0.01217020582407713,
-0.0355205275118351,
0.045070942491292953,
0.05551506206393242,
0.06984944641590118,
0.0413559190928936,
0.002431412460282445,
-0.0040129260160028934,
-0.04254752770066261,
0.005160728003829718,
0.027897721156477928,
0.01729588583111763,
-0.01959148980677128,
0.03364549204707146,
-0.01845245063304901,
-0.021887093782424927,
-0.03900774195790291,
0.008100327104330063,
-0.03599366918206215,
-0.020274914801120758,
-0.02269318327307701,
0.014360667206346989,
0.024515647441148758,
-0.029685137793421745,
-0.01603418029844761,
-0.0446503721177578,
0.021413953974843025,
0.04738406836986542,
-0.012906200252473354,
-0.0157888475805521,
0.06788679212331772,
0.04012925922870636,
-0.04160124808549881,
-0.02143147774040699,
-0.027021536603569984,
0.02837086096405983,
0.07731454074382782,
-0.03753575310111046,
-0.012398013845086098,
0.03890259936451912,
-0.040795158594846725,
-0.02143147774040699,
-0.044965799897909164,
-0.02337660826742649,
0.0037040708120912313,
0.01373857632279396,
0.007048905827105045,
-0.02635563537478447,
-0.04528122395277023,
-0.0566716268658638,
-0.005187013186514378,
-0.023937365040183067,
-0.033925872296094894,
-0.025794876739382744,
-0.03103446215391159,
-0.08320249617099762,
0.03145502880215645,
0.047909777611494064,
-0.00976069737225771,
0.04251248016953468,
-0.010347741656005383,
0.032348740845918655,
0.016656270250678062,
0.03538033738732338,
-0.029650090262293816,
0.015972847118973732,
-0.028651239350438118,
0.00013430268154479563,
0.080118328332901,
-0.0014906092546880245,
0.013747338205575943,
-0.042056865990161896,
-0.02563716471195221,
0.06946392357349396,
0.08053889870643616,
0.030789129436016083,
-0.04857568070292473,
0.022991087287664413,
0.0025015072897076607,
-0.027494676411151886,
-0.0035726430360227823,
0.0315776951611042,
-0.050363097339868546,
-0.013966384343802929,
-0.0242703165858984,
-0.02977275662124157,
-0.03855212777853012,
-0.09042225778102875,
0.04153115302324295,
-0.04002411663532257,
0.042267151176929474,
-0.03376815840601921,
-0.010347741656005383,
-0.04727892577648163,
0.02584744803607464,
-0.02023986726999283,
-0.027126677334308624,
-0.01876787655055523,
0.0011248021619394422,
-0.001860797288827598,
-0.0242703165858984,
-0.031910646706819534,
0.0524308905005455,
-0.02710915543138981,
0.06729098409414291,
0.0442998968064785,
0.007079572416841984,
-0.04587703198194504,
0.03750070556998253,
-0.034434057772159576,
-0.007491379044950008,
-0.025724783539772034,
0.025234119966626167,
-0.030859224498271942,
0.005721486173570156,
-0.0315776951611042,
0.054814115166664124,
0.04710368812084198,
0.002350365510210395,
0.04114563390612602,
0.0007891138666309416,
0.042197056114673615,
0.04678826406598091,
0.036694616079330444,
0.006383005529642105,
-0.013151532039046288,
0.04293305054306984,
0.036729663610458374,
0.002871695440262556,
-0.014781235717236996,
0.05099394917488098,
-0.01416790671646595,
-0.015122948214411736,
0.008117850869894028,
-0.02286842092871666,
-0.0009172558784484863,
-0.06487271189689636,
0.04114563390612602,
-0.0062296730466187,
0.02016977220773697,
-0.027424581348896027,
-0.0015596087323501706,
0.05246593803167343,
0.020695483312010765,
0.06630966067314148,
-0.05551506206393242,
-0.007289856672286987,
-0.03410110995173454,
0.009077273309230804,
0.02406003139913082,
-0.009988505393266678,
0.006352338939905167,
-0.0019527965923771262,
0.03149007633328438,
0.019696632400155067,
-0.03480205684900284,
-0.04748921096324921,
0.07801548391580582,
0.0023481750395148993,
-0.04990747943520546,
-0.01242429856210947,
0.007618425879627466,
-0.01804940402507782,
0.009506603702902794,
-0.014509618282318115,
0.039253074675798416,
-0.03268168866634369,
-0.011285258457064629,
0.031157128512859344,
-0.07051534205675125,
-0.021133575588464737,
0.003235311945900321,
0.015578564256429672,
0.051484614610672,
-0.0030754082836210728,
0.04191667586565018,
0.004569303244352341,
0.07121629267930984,
0.05264117568731308,
0.007132143247872591,
-0.0018651782302185893,
0.022815849632024765,
0.07829586416482925,
0.034469105303287506,
0.01978425122797489,
0.01642846316099167,
-0.006383005529642105,
0.056005727499723434,
0.04391437768936157,
0.01116259302943945,
0.007167190779000521,
0.017996834591031075,
0.0015311327297240496,
0.029001712799072266,
-0.008463944308459759,
-0.021081004291772842,
0.029404757544398308,
0.06203387677669525,
0.015657421201467514,
0.017567502334713936,
-0.017532456666231155,
-0.06655498594045639,
-0.00410054437816143,
-0.03527519479393959,
0.030754083767533302,
0.01700674556195736,
-0.03683480620384216,
0.017304647713899612,
0.06662508100271225,
-0.010794595815241337,
0.014378190971910954,
-0.039533454924821854,
0.018505020067095757,
0.05505944788455963,
-0.009121082723140717,
-0.013151532039046288,
0.014062764123082161,
0.11390401422977448,
-0.002361317863687873,
-0.022605564445257187,
0.04573684185743332,
-0.010584311559796333,
0.018715305253863335,
-0.01042659766972065,
-0.00783747248351574,
0.053096793591976166,
-0.027985339984297752,
0.015131710097193718,
-0.01690160296857357,
0.01640217751264572,
0.0029746470972895622,
0.0374656580388546,
-0.03448662906885147,
0.02437545917928219,
-0.04160124808549881,
-0.09000169485807419,
-0.057267431169748306,
0.023937365040183067,
0.009068511426448822,
0.054568782448768616,
0.06581899523735046,
0.027529723942279816,
0.016349606215953827,
-0.02646077796816826,
0.03110455721616745,
0.06893821060657501,
0.047979872673749924,
-0.007920709438621998,
0.02139643020927906,
0.011959921568632126,
0.028143052011728287,
-0.03879745677113533,
-0.054779067635536194,
0.009550413116812706,
0.006825478747487068,
-0.020502721890807152,
0.030894272029399872,
-0.0208531953394413,
0.009313843213021755,
-0.021308811381459236,
0.001189420698210597,
-0.016016656532883644,
0.053026698529720306,
0.04163629561662674,
0.0498373843729496,
0.001988939242437482,
0.010943546891212463,
0.01382619421929121,
0.04538636654615402,
-0.06553861498832703,
-0.05439354479312897,
0.05684686452150345,
0.005436725914478302,
0.03739556297659874,
-0.005309679079800844,
-0.02498878724873066,
-0.05533982440829277,
-0.02956247143447399,
-0.04037459194660187,
-0.007710425183176994,
-0.04272276535630226,
-0.006483766715973616,
0.008297469466924667,
-0.017751501873135567,
0.0036755946930497885,
-0.040900301188230515,
-0.01859263889491558,
-0.03140246123075485,
0.004683207254856825,
-0.07086581736803055,
-0.01563989743590355,
0.0002498495450709015,
-0.033925872296094894,
-0.05285146087408066,
0.05842399597167969,
-0.03247140347957611,
-0.023166323080658913,
0.0332249253988266,
-0.04994252696633339,
-0.06813212484121323,
-0.02372708171606064,
0.017111886292696,
-0.04969719424843788,
-0.0031608364079147577,
-0.035012342035770416,
-0.0030929320491850376,
0.020152248442173004,
-0.017751501873135567,
0.08852969855070114,
-0.016384653747081757,
-0.021238716319203377,
0.045141033828258514,
-0.03318987786769867,
0.04440503939986229,
-0.042126961052417755,
0.028651239350438118,
-0.0442998968064785,
-0.01650732010602951,
0.04710368812084198,
-0.016410939395427704,
-0.0033163591288030148,
-0.025882495567202568,
-0.03415368124842644,
0.03897269442677498,
0.03592357411980629,
-0.04605226591229439,
0.009147368371486664,
0.030088182538747787,
0.006575766019523144,
0.013817432336509228,
-0.02430536411702633,
0.011372877284884453,
-0.028686286881566048,
-0.030666464939713478,
0.023832224309444427,
0.026162875816226006,
0.013282960280776024,
-0.017532456666231155,
0.0002586113987490535,
-0.051800038665533066,
0.04973224177956581,
0.002808172022923827,
-0.02505888231098652,
-0.051940228790044785,
0.026671061292290688,
0.0029461709782481194,
0.04847053810954094,
-0.016849031671881676,
-0.007259190082550049,
0.039323169738054276,
-0.0023350322153419256,
0.05810856819152832,
0.06588909029960632,
0.011346591636538506,
0.06697555631399155,
0.010382788255810738,
0.07675378024578094,
0.011513066478073597,
0.02786267362535,
-0.014045240357518196,
-0.04549150913953781,
0.018680257722735405,
-0.03527519479393959,
0.004976728931069374,
-0.01240677572786808,
-0.02372708171606064,
0.026758680120110512,
-0.03347025439143181,
-0.030806653201580048,
-0.02071300707757473,
0.02549697458744049,
-0.0003263787948526442,
0.013493244536221027,
-0.0003688189899548888,
0.02912437915802002,
-0.0426526702940464,
-0.007495759986341,
-0.0055374871008098125,
0.05376269295811653,
0.03364549204707146,
-0.0315776951611042,
-0.000643448147457093,
-0.020502721890807152,
0.020047105848789215,
0.014877616427838802,
-0.08159031718969345,
-0.006913097109645605,
-0.043633997440338135,
0.0033930251374840736,
0.003844260470941663,
-0.07079572230577469,
0.05642629414796829,
0.007394998800009489,
-0.04433494433760643,
0.015341994352638721,
-0.05681181699037552,
-0.04608731344342232,
-0.05779314413666725,
0.011968682520091534,
0.06539842486381531,
0.0014599427813664079,
0.07160181552171707,
-0.029369711875915527,
0.020012058317661285,
-0.04675321653485298,
-0.0063698627054691315,
-0.039393264800310135,
-0.04875091835856438,
-0.040900301188230515,
-0.028738858178257942,
-0.018820447847247124,
-0.032559022307395935,
-0.0062384349294006824,
0.03336511179804802,
0.01203001569956541,
0.029334664344787598,
0.05362250283360481,
0.05369259789586067,
0.031700361520051956,
0.01563989743590355,
-0.06119273975491524,
-0.020467674359679222,
-0.002551887882873416,
0.01754997856914997,
-0.029983039945364,
0.03448662906885147,
-0.007622806821018457,
0.005191394127905369,
-0.00036799756344407797,
0.03750070556998253,
0.0035814049188047647,
0.0066327182576060295,
-0.0038486411795020103,
-0.0021466524340212345,
-0.07535188645124435,
-0.051800038665533066,
0.02143147774040699,
-0.009786983020603657,
0.026653539389371872,
-0.03201578930020332,
0.05723238363862038,
0.06655498594045639,
-0.01876787655055523,
-0.02129128761589527,
0.034714438021183014,
0.058949705213308334,
0.019293587654829025,
-0.00429768580943346,
-0.037921272218227386,
0.023359084501862526,
0.006685289088636637,
-0.03634414076805115,
0.020380055531859398,
-0.02262308821082115,
0.03834184259176254,
-0.027301914989948273,
-0.015377041883766651,
0.016384653747081757,
0.02744210511445999,
-0.050433192402124405,
-0.013090199790894985,
0.02717924863100052,
-0.05800342559814453,
0.007925090380012989,
0.014921425841748714,
0.04619245603680611,
0.018066927790641785,
0.017628835514187813,
-0.017243314534425735,
0.056180961430072784,
-0.031735409051179886,
0.03243635594844818,
-0.033347588032484055,
-0.07934728264808655,
-0.01046164520084858,
0.0035463576205074787,
0.0642068162560463,
0.04047973453998566,
0.04310828819870949,
-0.03473196178674698,
-0.08852969855070114,
-0.044930752366781235,
-0.013081437908113003,
0.05393793061375618,
-0.0057083433493971825,
-0.0208531953394413,
0.03485462814569473,
0.0074738552793860435,
-0.005953675135970116,
0.00566453393548727,
-0.03513500466942787,
-0.03890259936451912,
0.009226225316524506,
-0.03736051544547081,
-0.040830206125974655,
0.036939945071935654,
-0.027126677334308624,
0.0028476002626121044,
0.0035025484394282103,
-0.057547811418771744,
-0.02200976014137268,
-0.002442364813759923,
-0.06911344826221466,
0.05123928189277649,
-0.0481901578605175,
0.023429179564118385,
0.02074805274605751,
-0.020397579297423363,
-0.014728664420545101,
-0.05246593803167343,
-0.0012551345862448215,
-0.042407337576150894,
0.005327202845364809,
0.005458630621433258,
-0.004407208878546953,
-0.0690433531999588,
0.004626255016773939,
0.02225509099662304,
0.011066212318837643,
-0.012748487293720245,
-0.07885662466287613,
-0.030228372663259506,
0.008998417295515537,
-0.001200373051688075,
0.035432908684015274,
-0.029211997985839844,
-0.03679975867271423,
-0.02006462961435318,
0.03555557504296303,
-0.01945129968225956,
-0.013177817687392235,
0.02081814780831337,
-0.012520679272711277,
0.05565525218844414,
0.009979743510484695,
-0.08705770969390869,
0.016139322891831398,
-0.04934672266244888,
0.08572591096162796,
-0.03280435502529144,
-0.040795158594846725,
0.026530873030424118,
-0.0019243205897510052,
-0.05923008546233177,
0.040795158594846725,
-0.04826025292277336,
0.0038574030622839928,
0.01167078036814928,
-0.013353054411709309,
-0.008047756738960743,
-0.08159031718969345,
0.011574399657547474,
-0.04447513446211815,
0.004043592605739832,
-0.010233837179839611,
-0.029755232855677605,
0.003441215492784977,
-0.02136138267815113,
0.05979084223508835,
0.023499272763729095,
-0.04160124808549881,
0.013878765515983105,
-0.006935001816600561,
-0.043283525854349136,
-0.012354204431176186,
0.02560211718082428,
0.026338111609220505,
-0.019433775916695595,
0.06105254963040352,
-0.0012978485319763422,
-0.006404910236597061,
-0.014667332172393799,
-0.03294454514980316,
-0.04878596216440201,
0.026600968092679977,
0.01280105859041214,
-0.005257108248770237,
0.010470407083630562,
0.002832266967743635,
0.051484614610672,
-0.050608426332473755,
0.05908989533782005,
-0.07724444568157196,
-0.04833034798502922,
-0.06897325813770294,
0.023639462888240814,
0.006991954054683447,
0.013870003633201122,
-0.04258257523179054,
0.013300484046339989,
-0.06224416196346283,
0.009427747689187527,
0.0710410550236702,
-0.03725537285208702,
-0.02823067083954811,
0.010952308773994446,
-0.06238435208797455,
0.06189368665218353,
-0.043493807315826416,
-0.05772304907441139,
0.04528122395277023,
-0.023867271840572357,
0.07086581736803055,
-0.006702812854200602,
-0.018329784274101257,
0.06539842486381531,
0.0008438754011876881,
-0.02225509099662304,
-0.012415537610650063,
0.05281641334295273,
0.046507883816957474,
0.06469748169183731,
-0.011337829753756523,
-0.019644061103463173,
-0.020730530843138695,
0.02703906036913395,
-0.04836539551615715,
0.04177648574113846,
-0.008341277949512005,
0.0071409051306545734,
0.012617059983313084,
0.0032966448925435543,
-0.04160124808549881,
-0.050538334995508194,
0.0459471270442009,
0.03538033738732338,
0.018312260508537292,
-0.03268168866634369,
-0.0007091619772836566,
0.0268638227134943,
-0.02498878724873066,
-0.04391437768936157,
-0.0013011342380195856,
0.03280435502529144,
0.024971263483166695,
0.025549545884132385,
0.01811949908733368,
-0.03031598962843418,
0.03736051544547081,
0.02053776942193508,
-0.00026682563475333154,
-0.04451018199324608,
0.01233668066561222,
-0.01105745043605566,
-0.14306344091892242,
-0.023026132956147194,
-0.09574946016073227,
0.0036339759826660156,
-0.021957188844680786,
-0.028388384729623795,
0.011425448581576347,
0.033032163977622986,
-0.004621874075382948,
-0.027669912204146385,
-0.04864577576518059,
-0.009226225316524506,
0.016884079203009605,
-0.0631553903222084,
-0.014789997600018978,
0.009734411723911762,
-0.0442998968064785,
0.01876787655055523,
-0.007710425183176994,
0.06862278282642365,
-0.036449283361434937,
0.04706864058971405,
0.03124474547803402,
0.011924874037504196,
-0.0021422714926302433,
0.04405456781387329,
0.06238435208797455,
0.026162875816226006,
0.01076831016689539,
0.044860657304525375,
0.006676527205854654,
0.0030491226352751255,
-0.01934615895152092,
-0.011854778975248337,
-0.034679390490055084,
-0.0468934066593647,
0.08579600602388382,
0.0010087076807394624,
-0.04934672266244888,
-0.009786983020603657,
0.020590340718626976,
-0.029317140579223633,
-0.010365265421569347,
-0.011688304133713245,
-0.060316555202007294,
0.042302198708057404,
0.03890259936451912,
0.025304213166236877,
-0.00933136697858572,
0.04314333572983742,
0.01210011076182127,
-0.007526426576077938,
0.02484859712421894,
0.01647227257490158,
0.020800624042749405,
-0.04142601415514946,
-0.021887093782424927,
-0.0028892189729958773,
0.03858717530965805,
0.01754997856914997,
-0.012056301347911358,
-0.05432344973087311,
-0.01292372401803732,
-0.03480205684900284,
0.003820165293291211,
0.0009024702594615519,
-0.03550300374627113,
0.03785117715597153,
0.00005903979035792872,
0.05274631828069687,
-0.002195937791839242
] |
7,620 | emmett.app | __call__ | null | def __call__(self, scope, receive, send):
return self._asgi_handlers[scope['type']](scope, receive, send)
| (self, scope, receive, send) | [
0.010385052300989628,
-0.029033662751317024,
-0.05341372638940811,
-0.013644281774759293,
0.009991548955440521,
0.003150160890072584,
-0.0012671217555180192,
0.020376600325107574,
-0.003911503124982119,
-0.01897367835044861,
0.023661494255065918,
-0.026142273098230362,
-0.008036866784095764,
-0.03582586348056793,
-0.0452699288725853,
0.0033404964487999678,
-0.003511584596708417,
-0.0057057905942201614,
0.005782780237495899,
-0.09491971880197525,
-0.025954075157642365,
0.0422929972410202,
0.0009040940785780549,
-0.0776740312576294,
-0.0034773671068251133,
0.044825099408626556,
0.023011358454823494,
0.005881155841052532,
0.034422941505908966,
0.0157058946788311,
0.03805001080036163,
-0.09546720236539841,
0.03579164668917656,
-0.019692247733473778,
0.025492137297987938,
-0.0184261966496706,
-0.09827304631471634,
0.048760127276182175,
-0.015338054858148098,
0.0032528138253837824,
-0.050984274595975876,
-0.014722136780619621,
-0.008066806942224503,
-0.028263766318559647,
0.003120220499113202,
0.030676109716296196,
-0.0038794241845607758,
0.07651063054800034,
0.033002909272909164,
-0.0033875457011163235,
-0.016629770398139954,
0.028588833287358284,
-0.0197264663875103,
0.005440603941679001,
-0.04136912152171135,
0.046707071363925934,
0.011283264495432377,
0.03404654562473297,
-0.0010767861967906356,
0.01682652160525322,
-0.0010650238255038857,
0.01438851561397314,
0.028486181050539017,
-0.006240440998226404,
0.03071032650768757,
-0.001964305993169546,
-0.010590357705950737,
0.008109578862786293,
-0.001942920032888651,
0.012660524807870388,
0.0023246605414897203,
-0.008558685891330242,
-0.02364438585937023,
-0.004850349854677916,
0.020068641752004623,
-0.008404706604778767,
-0.017117371782660484,
0.05909385532140732,
0.03941871598362923,
0.04557788744568825,
0.05981242284178734,
0.015397935174405575,
0.002333214972168207,
0.005376445595175028,
0.010239627212285995,
0.021574217826128006,
-0.04345639422535896,
-0.05724610015749931,
-0.03620225563645363,
-0.03368726000189781,
-0.031206483021378517,
-0.0031052501872181892,
0.003877285635098815,
0.009880341589450836,
-0.0047391424886882305,
-0.022292789071798325,
-0.006552677135914564,
-0.022771835327148438,
0.032951582223176956,
-0.007155762519687414,
-0.027476759627461433,
0.09772556275129318,
0.0037489696405828,
-0.0012403891887515783,
0.03928184509277344,
-0.03467957302927971,
0.06597159802913666,
-0.029666688293218613,
-0.017639189958572388,
0.03969245404005051,
0.03531259670853615,
-0.0028101231437176466,
0.030453694984316826,
-0.016090841963887215,
-0.03459402918815613,
0.045988500118255615,
-0.027870263904333115,
0.037331439554691315,
-0.02763073891401291,
-0.009914559312164783,
-0.07233607769012451,
0.026672646403312683,
0.01964092254638672,
-0.02266918309032917,
0.019931772723793983,
0.11004391312599182,
-0.034748006612062454,
-0.06860635429620743,
0.04352483153343201,
-0.0008746882667765021,
-0.007181426044553518,
0.028759920969605446,
-0.0034602582454681396,
0.019983097910881042,
0.011770865879952908,
0.06032568961381912,
-0.041882384568452835,
0.003637762274593115,
0.022241462022066116,
0.052900463342666626,
-0.011035187169909477,
0.003975661471486092,
0.02561189979314804,
-0.07035145908594131,
0.029221858829259872,
0.03565477579832077,
0.036168038845062256,
-0.005068487022072077,
0.0025342435110360384,
-0.02990621142089367,
0.03712613135576248,
0.0211464986205101,
0.025560572743415833,
0.09957331418991089,
-0.03007730096578598,
0.06378167122602463,
-0.03281471133232117,
0.018939459696412086,
-0.023285100236535072,
-0.03596273437142372,
-0.03548368811607361,
-0.013550182804465294,
-0.033173996955156326,
-0.053345292806625366,
0.04766516387462616,
-0.01789582334458828,
0.03859749063849449,
0.04653598368167877,
0.0216426532715559,
0.04680972173810005,
-0.06224187836050987,
0.015620349906384945,
-0.018494632095098495,
-0.0026219261344522238,
0.026895061135292053,
0.06056521087884903,
-0.014696474187076092,
0.0025770156644284725,
0.026398904621601105,
0.027545195072889328,
0.0021760277450084686,
-0.08136953413486481,
-0.02852039784193039,
0.002946993801742792,
0.009974440559744835,
0.02249809354543686,
0.025047307834029198,
-0.024157648906111717,
-0.007818729616701603,
0.006728042382746935,
-0.046125371009111404,
-0.002547075040638447,
0.016492899507284164,
-0.0362364761531353,
0.047151900827884674,
0.05118957906961441,
-0.026980604976415634,
0.05091584101319313,
-0.0911557748913765,
0.013447530567646027,
0.018409086391329765,
-0.025543464347720146,
-0.08164327591657639,
-0.007972708903253078,
-0.026895061135292053,
0.05663018301129341,
0.0859546959400177,
0.04793890565633774,
-0.00027534502441994846,
-0.045851629227399826,
-0.10477439314126968,
-0.03695504367351532,
-0.0017440300434827805,
0.037331439554691315,
0.01789582334458828,
-0.018186671659350395,
-0.042772043496370316,
0.0035415252204984426,
0.08403851091861725,
0.007938491180539131,
0.02896522730588913,
-0.030539238825440407,
-0.05762249603867531,
-0.029290294274687767,
0.004012017510831356,
0.012900047935545444,
-0.0069419024512171745,
0.00928153283894062,
-0.0350046381354332,
-0.033002909272909164,
0.027459651231765747,
0.06385010480880737,
0.055364131927490234,
0.0340123288333416,
-0.017425330355763435,
0.0062746587209403515,
0.011616886593401432,
0.06070208176970482,
-0.031138047575950623,
0.026723971590399742,
0.030316824093461037,
0.058888547122478485,
0.012977037578821182,
0.03445715829730034,
-0.03029971569776535,
-0.02297714166343212,
0.023353535681962967,
0.06706656515598297,
0.009957331232726574,
-0.004456846974790096,
-0.015911199152469635,
-0.011839301325380802,
-0.08157484233379364,
-0.007690413389354944,
-0.06590316444635391,
0.049957744777202606,
0.011368809267878532,
0.017519429326057434,
0.010992415249347687,
0.007305464707314968,
-0.0014061308465898037,
0.08848680555820465,
-0.009846123866736889,
0.033584609627723694,
0.007151485420763493,
0.00019260785484220833,
0.029974646866321564,
0.018819699063897133,
-0.03471378982067108,
0.04030837491154671,
0.054474472999572754,
0.0507105328142643,
0.010008658282458782,
0.0011152810184285045,
-0.05118957906961441,
-0.03288314491510391,
0.03387545794248581,
0.038357969373464584,
-0.022823162376880646,
-0.02757941372692585,
0.026980604976415634,
0.017604973167181015,
-0.001008885563351214,
-0.004970111418515444,
-0.052592504769563675,
0.048486389219760895,
0.07781089842319489,
0.06453445553779602,
0.010419270023703575,
-0.04239564761519432,
0.016937728971242905,
0.04311421886086464,
0.000754391890950501,
0.0016830798704177141,
0.01941850781440735,
0.010787108913064003,
-0.0491023063659668,
0.049341827630996704,
0.06559520214796066,
0.01169387623667717,
0.0015355163486674428,
-0.01231834851205349,
0.008032589219510555,
-0.02882835641503334,
0.019110549241304398,
0.010025766678154469,
0.08294354379177094,
0.00941840372979641,
-0.02824665792286396,
0.01485900767147541,
-0.04838373512029648,
0.015876982361078262,
-0.0245511531829834,
-0.0067451512441039085,
0.0061249565333127975,
0.05782780051231384,
0.005714344792068005,
0.0324040986597538,
0.027613630518317223,
0.08588626235723495,
-0.0567670539021492,
0.017930040135979652,
0.051565974950790405,
-0.0069419024512171745,
0.01758786477148533,
0.03325954079627991,
-0.042019255459308624,
0.035996951162815094,
-0.024020779877901077,
-0.006488518789410591,
-0.03156576678156853,
0.03088141418993473,
0.01936718076467514,
-0.04136912152171135,
-0.031702637672424316,
0.0038665926549583673,
0.017707625404000282,
0.03767361491918564,
-0.01994888111948967,
-0.05382433906197548,
-0.07473131269216537,
0.03993197903037071,
0.014533939771354198,
0.028862575069069862,
0.011283264495432377,
-0.023131120949983597,
-0.025868531316518784,
0.011728093959391117,
0.05707501247525215,
-0.02463669702410698,
-0.007361068390309811,
-0.06001773104071617,
0.01816956326365471,
0.0152439558878541,
0.06001773104071617,
-0.06450024247169495,
0.03637334331870079,
-0.02092408388853073,
-0.027784718200564384,
0.02816111221909523,
0.06128378212451935,
0.0350046381354332,
-0.017930040135979652,
0.00038494839100167155,
-0.02405499666929245,
0.01571444794535637,
0.0112233841791749,
0.01646723598241806,
0.02985488623380661,
-0.01118061225861311,
0.017485210672020912,
0.005021438002586365,
-0.03238699212670326,
0.042908914387226105,
-0.039966195821762085,
0.006544122472405434,
-0.003599267452955246,
-0.052147675305604935,
-0.03194216266274452,
-0.0016894956352189183,
-0.01717725209891796,
0.0346282459795475,
0.02949560061097145,
-0.014927443116903305,
0.04619380459189415,
-0.02080432139337063,
0.01213870570063591,
0.009803351946175098,
-0.028948118910193443,
0.017297014594078064,
0.026347577571868896,
-0.06970132142305374,
-0.04824686422944069,
0.004219462163746357,
-0.051702845841646194,
-0.0422929972410202,
-0.055672090500593185,
0.008314885199069977,
0.006728042382746935,
-0.005064209923148155,
-0.009409849531948566,
-0.00919598899781704,
-0.022173026576638222,
0.017553646117448807,
0.046296458691358566,
0.008793932385742664,
0.012155814096331596,
0.038357969373464584,
0.01945272460579872,
-0.05016305297613144,
-0.024842001497745514,
0.01416610088199377,
-0.08889741450548172,
-0.00819084607064724,
0.022874487563967705,
-0.011616886593401432,
0.08068518340587616,
0.017776060849428177,
-0.010966751724481583,
0.03716035187244415,
-0.0175023190677166,
-0.016176385805010796,
0.02191639505326748,
0.015432152897119522,
0.03384124115109444,
0.016125060617923737,
-0.029564036056399345,
0.0064714099280536175,
0.0066809928975999355,
-0.0004036611644551158,
-0.009204543195664883,
0.06467133015394211,
-0.044072311371564865,
0.012600643560290337,
0.013627172447741032,
0.01567167602479458,
-0.027972916141152382,
-0.01187351904809475,
0.030025973916053772,
0.027818936854600906,
-0.034337397664785385,
0.03917919099330902,
-0.053174205124378204,
-0.012121597304940224,
0.032831821590662,
-0.01213870570063591,
-0.02605672925710678,
0.011308928020298481,
0.01864861138164997,
-0.08047987520694733,
-0.04133490100502968,
-0.011847855523228645,
0.05697236210107803,
0.018306434154510498,
0.002733133500441909,
-0.051121145486831665,
-0.016210604459047318,
-0.035860080271959305,
0.014054893516004086,
-0.044517140835523605,
-0.02272050827741623,
-0.0008506290032528341,
-0.061694394797086716,
-0.020633233711123466,
-0.043490614742040634,
0.055672090500593185,
0.043764352798461914,
-0.02039371058344841,
-0.006291767582297325,
-0.013567292131483555,
0.014944551512598991,
-0.012934265658259392,
-0.048931218683719635,
-0.023404860869050026,
0.014602375216782093,
0.0011045880382880569,
0.041437555104494095,
0.02039371058344841,
-0.06877744197845459,
-0.05529569834470749,
-0.015517696738243103,
0.0013045473024249077,
-0.03247253596782684,
0.06477398425340652,
-0.032951582223176956,
-0.005072764120995998,
0.05337950959801674,
-0.00018244949751533568,
0.03252386301755905,
-0.027203019708395004,
-0.005911096464842558,
-0.01055613998323679,
0.011480016633868217,
0.009837569668889046,
0.035278379917144775,
0.03664708510041237,
-0.012018944136798382,
-0.024927547201514244,
-0.04236143082380295,
-0.016809413209557533,
-0.0352441631257534,
0.027562303468585014,
-0.021454457193613052,
0.042190343141555786,
0.015355163253843784,
-0.0432853065431118,
0.004287897143512964,
0.0033404964487999678,
-0.04280626028776169,
-0.0027481038123369217,
-0.027955807745456696,
0.00876826886087656,
-0.003740415209904313,
-0.03187372535467148,
-0.0058512152172625065,
-0.03507307544350624,
0.01677519455552101,
-0.05235297977924347,
-0.07281512767076492,
-0.016492899507284164,
0.0458858460187912,
-0.044790882617235184,
0.005141199566423893,
0.0065697855316102505,
0.029649579897522926,
-0.04215612635016441,
0.034200526773929596,
0.04958135262131691,
0.007284078747034073,
-0.020017316564917564,
0.05084740370512009,
0.0615917406976223,
0.029153425246477127,
-0.037913139909505844,
0.06378167122602463,
-0.005949591286480427,
-0.042908914387226105,
-0.047494076192379,
-0.08841836452484131,
0.0028486179653555155,
-0.030590565875172615,
-0.038665927946567535,
-0.07213076949119568,
-0.04680972173810005,
-0.03870014473795891,
-0.059915076941251755,
0.041882384568452835,
-0.0807536169886589,
0.04680972173810005,
-0.07541566342115402,
-0.04242986813187599,
-0.016989056020975113,
-0.0056031374260783195,
0.029153425246477127,
-0.028537506237626076,
0.025731660425662994,
-0.018545957282185555,
-0.02302846871316433,
-0.016903512179851532,
-0.014072001911699772,
-0.003398238681256771,
-0.007378177251666784,
-0.04636489599943161,
0.053345292806625366,
-0.08663904666900635,
-0.012746068648993969,
0.017998475581407547,
0.06737452000379562,
-0.009101890958845615,
-0.0306076742708683,
-0.0278873723000288,
0.029752232134342194,
0.022994250059127808,
-0.040411025285720825,
0.04003463312983513,
0.05994929373264313,
0.024294519796967506,
-0.031531549990177155,
-0.02102673612535,
-0.0021899286657571793,
0.01717725209891796,
-0.03815266117453575,
-0.08451755344867706,
0.0074508897960186005,
-0.09019768238067627,
0.021711088716983795,
-0.00023163734294939786,
0.05560365691781044,
-0.0005111258942633867,
0.011830747127532959,
-0.0035201390273869038,
0.011993280611932278,
-0.004846072290092707,
-0.027066148817539215,
0.031617093831300735,
0.03606538474559784,
-0.008310607634484768,
0.004901675973087549,
-0.0567670539021492,
0.002844340866431594,
0.018460413441061974,
0.04352483153343201,
0.01692062057554722,
0.0013665667502209544,
0.048794347792863846,
-0.025013091042637825,
-0.03548368811607361,
0.02044503577053547,
-0.002371709793806076,
-0.038631707429885864,
-0.025372376665472984,
0.011796529404819012,
0.001709812437184155,
0.080137699842453,
0.013507410883903503,
0.04284047707915306,
-0.0050471010617911816,
0.02503019943833351,
0.030333932489156723,
0.0005827691056765616,
-0.016492899507284164,
-0.02361016720533371,
-0.02740832418203354,
-0.017639189958572388,
0.03074454516172409,
-0.01209593378007412,
0.009965886361896992,
-0.021078063175082207,
-0.037194568663835526,
0.02414054051041603,
-0.03914497420191765,
0.018186671659350395,
0.01611650548875332,
-0.023404860869050026,
0.08191701769828796,
-0.020017316564917564,
-0.010239627212285995,
0.022788943722844124,
-0.07076206803321838,
-0.01905922219157219,
-0.002574876882135868,
-0.02638179622590542,
0.019025005400180817,
-0.06929071247577667,
0.026809517294168472,
0.026073837652802467,
0.025047307834029198,
0.0063858660869300365,
-0.009649372659623623,
-0.06699812412261963,
0.04023993760347366,
0.015560469590127468,
-0.031446006149053574,
0.05539834871888161,
0.016501454636454582,
0.05710923299193382,
0.017485210672020912,
-0.01803269237279892,
0.01345608476549387,
-0.01602240651845932,
-0.0439012236893177,
0.037331439554691315,
0.05430338531732559,
-0.014841899275779724,
-0.03520994633436203,
-0.037331439554691315,
-0.01567167602479458,
-0.03271205723285675,
0.03520994633436203,
0.01064168382436037,
0.054919302463531494,
0.017930040135979652,
-0.01753653772175312,
0.01412332896143198,
-0.06046256050467491,
0.015320945531129837,
0.044072311371564865,
0.008096748031675816,
0.027562303468585014,
0.0016542087541893125,
-0.052284546196460724,
0.02213880978524685,
-0.024397173896431923,
-0.022207245230674744,
0.058477938175201416,
-0.016766641288995743,
0.04475666582584381,
-0.03503885865211487,
0.024602478370070457,
-0.048452168703079224,
-0.007527879439294338,
-0.0750734880566597,
-0.015740111470222473,
0.01682652160525322,
-0.019178984686732292,
-0.014739246107637882,
-0.008203677833080292,
-0.12078824639320374,
-0.04680972173810005,
0.06970132142305374,
0.01740822196006775,
-0.02949560061097145,
0.01249799132347107,
-0.06135221943259239,
0.02874281257390976,
-0.034422941505908966,
0.015415044501423836,
0.008896584622561932,
0.012959929183125496,
0.033618826419115067,
-0.035996951162815094,
-0.09060829877853394,
0.0348164439201355,
0.09314040094614029,
0.001488467096351087,
0.01651856303215027,
-0.06730608642101288,
0.0698724091053009,
0.008447478525340557,
0.052455633878707886,
-0.045406799763441086,
-0.015817102044820786,
0.07911117374897003,
-0.04369591921567917,
0.06521881371736526,
-0.038221098482608795,
0.00045498760300688446,
0.02976934239268303,
0.020068641752004623,
0.004266511183232069,
-0.0069290706887841225,
-0.08759714663028717,
-0.05543256551027298,
0.012823058292269707,
0.006043689791113138,
-0.0439012236893177,
-0.01372127141803503,
-0.00516686262562871,
-0.0315999835729599,
-0.004283620044589043,
-0.04325108975172043,
-0.019521160051226616,
0.008438924327492714,
-0.0420534722507,
0.03781048581004143,
-0.02949560061097145,
-0.003342635231092572,
-0.021351803094148636,
0.008374765515327454,
0.014841899275779724,
0.050813186913728714,
0.020051533356308937,
0.019965989515185356,
-0.028366418555378914,
0.0157058946788311,
0.014747800305485725,
-0.042600955814123154,
0.0348164439201355,
-0.0283835269510746,
0.03876857832074165,
0.022823162376880646,
0.016971945762634277,
-0.02070166915655136,
-0.010316616855561733,
0.014782018028199673,
-0.03575742617249489,
0.03093274123966694,
-0.004679261241108179
] |
7,621 | emmett.app | __init__ | null | def __init__(
self,
import_name: str,
root_path: Optional[str] = None,
url_prefix: Optional[str] = None,
template_folder: str = 'templates',
config_folder: str = 'config'
):
self.import_name = import_name
#: init debug var
self.debug = os.environ.get('EMMETT_RUN_ENV') == "true"
#: set paths for the application
if root_path is None:
root_path = get_root_path(self.import_name)
self.root_path = root_path
self.static_path = os.path.join(self.root_path, "static")
self.template_path = os.path.join(self.root_path, template_folder)
self.config_path = os.path.join(self.root_path, config_folder)
#: the click command line context for this application
self.cli = click.Group(self.import_name)
#: init the configuration
self.config = Config(self)
#: try to create needed folders
create_missing_app_folders(self)
#: init languages
self._languages: List[str] = []
self._languages_set: Set[str] = set()
self._language_default: Optional[str] = None
self._language_force_on_url = False
self.translator = Translator(
os.path.join(self.root_path, 'languages'),
default_language=self.language_default or 'en',
watch_changes=self.debug,
str_class=Tstr
)
#: init routing
self._pipeline: List[Pipe] = []
self._router_http = HTTPRouter(self, url_prefix=url_prefix)
self._router_ws = WebsocketRouter(self, url_prefix=url_prefix)
self._asgi_handlers = {
'http': asgi_handlers.HTTPHandler(self),
'lifespan': asgi_handlers.LifeSpanHandler(self),
'websocket': asgi_handlers.WSHandler(self)
}
self._rsgi_handlers = {
'http': rsgi_handlers.HTTPHandler(self),
'ws': rsgi_handlers.WSHandler(self)
}
self.error_handlers: Dict[int, Callable[[], Awaitable[str]]] = {}
self.template_default_extension = '.html'
#: init logger
self._logger = None
self.logger_name = self.import_name
#: init extensions
self.ext: sdict[str, Extension] = sdict()
self._extensions_env: sdict[str, Any] = sdict()
self._extensions_listeners: Dict[str, List[Callable[..., Any]]] = {
element.value: [] for element in Signals
}
#: init templater
self.templater: Templater = Templater(
path=self.template_path,
encoding=self.config.templates_encoding,
escape=self.config.templates_escape,
adjust_indent=self.config.templates_adjust_indent,
reload=self.config.templates_auto_reload
)
#: finalise
self._modules: Dict[str, AppModule] = {}
current.app = self
| (self, import_name: str, root_path: Optional[str] = None, url_prefix: Optional[str] = None, template_folder: str = 'templates', config_folder: str = 'config') | [
0.02851112186908722,
-0.047788191586732864,
-0.011345256119966507,
-0.04747249558568001,
0.03133263811469078,
-0.003615683875977993,
-0.023736247792840004,
0.05504915490746498,
-0.08981496840715408,
0.002565014408901334,
0.03506177291274071,
0.00415581651031971,
-0.020204421132802963,
0.011394583620131016,
-0.04218462109565735,
0.016790978610515594,
0.03596939519047737,
0.018547026440501213,
0.02190127596259117,
-0.08949927240610123,
-0.02862950786948204,
-0.01880352944135666,
0.018547026440501213,
0.01588335819542408,
-0.003906714264303446,
-0.013860942795872688,
-0.04755141958594322,
0.009416562505066395,
0.0507478229701519,
-0.05812717229127884,
-0.009169926866889,
-0.04463125020265579,
0.04534156247973442,
0.0023923690896481276,
0.02221697010099888,
-0.05812717229127884,
-0.014225964434444904,
-0.04380255192518234,
-0.02015509456396103,
-0.025827722623944283,
0.08279076963663101,
-0.0186160858720541,
0.043210625648498535,
-0.013170362450182438,
0.005048639141023159,
0.046249181032180786,
0.00715737696737051,
0.07292532920837402,
-0.02046092227101326,
0.012608032673597336,
-0.05927156284451485,
0.05031374469399452,
-0.00401770044118166,
0.0342133454978466,
-0.04309224337339401,
0.06467782706022263,
0.003043488133698702,
0.05141867324709892,
-0.04119807854294777,
-0.03066178783774376,
-0.02190127596259117,
0.052641987800598145,
0.033345188945531845,
0.05631193146109581,
0.012321935035288334,
0.03585100919008255,
-0.04463125020265579,
0.024781985208392143,
-0.027978388592600822,
0.01979007199406624,
0.0073546855710446835,
-0.005130028817802668,
-0.02851112186908722,
-0.006392804905772209,
0.05382584035396576,
-0.021250158548355103,
-0.0005530812195502222,
-0.04206623509526253,
-0.025669874623417854,
0.026873458176851273,
0.015212508849799633,
-0.0037291364278644323,
-0.03518015891313553,
0.023203514516353607,
0.0954185351729393,
-0.0005984005983918905,
-0.02015509456396103,
-0.022631319239735603,
0.0060968417674303055,
-0.0018448373302817345,
-0.06479620933532715,
0.003859853371977806,
-0.0015451745130121708,
0.02101338654756546,
0.012479781173169613,
-0.043486859649419785,
0.016573939472436905,
-0.021664505824446678,
0.026163147762417793,
-0.016110263764858246,
-0.020914733409881592,
-0.004765007644891739,
-0.04131646454334259,
-0.05216844752430916,
0.016721921041607857,
-0.03087882697582245,
-0.018655547872185707,
0.02807704173028469,
0.002151899039745331,
-0.011256466619670391,
-0.015518337488174438,
0.005023975390940905,
0.004570165183395147,
0.023242976516485214,
-0.0507478229701519,
0.008178450167179108,
-0.030207976698875427,
0.003487433074042201,
0.06250742822885513,
-0.04506532847881317,
-0.03178644925355911,
0.05422045662999153,
-0.02067796140909195,
0.0062398905865848064,
0.05725901573896408,
0.06238904222846031,
0.004330927971750498,
-0.051537059247493744,
0.03806086629629135,
-0.039027679711580276,
0.025551490485668182,
0.03407523036003113,
0.019336262717843056,
-0.027386462315917015,
0.022039392963051796,
-0.004920388106256723,
-0.07253071665763855,
0.0036970735527575016,
-0.021881546825170517,
0.09352437406778336,
-0.03948149085044861,
0.014077982865273952,
-0.01637663133442402,
0.009830910712480545,
-0.027268076315522194,
-0.046959493309259415,
-0.013111169449985027,
-0.033621419221162796,
-0.054299380630254745,
0.023815171793103218,
0.025176603347063065,
-0.047511957585811615,
-0.055246464908123016,
0.008134054951369762,
-0.02436763606965542,
0.07095224410295486,
-0.011098620481789112,
0.017964966595172882,
0.008064997382462025,
-0.030050130560994148,
-0.024347905069589615,
-0.03950121998786926,
0.035495854914188385,
0.006570382975041866,
-0.027386462315917015,
0.021467197686433792,
0.029912013560533524,
0.006062312982976437,
0.009475755505263805,
0.04269762337207794,
-0.0317075252532959,
0.010240326635539532,
-0.043920937925577164,
-0.010260057635605335,
-0.0008681587059982121,
0.03192456439137459,
0.018764067441225052,
0.0000064741948335722554,
-0.004873527213931084,
0.03143129125237465,
-0.03291110694408417,
-0.04198731109499931,
-0.05011643469333649,
0.057929862290620804,
0.019000837579369545,
0.019365858286619186,
0.011325525119900703,
0.06309935450553894,
0.0030632191337645054,
0.03324653208255768,
-0.057219553738832474,
-0.014640312641859055,
0.049563970416784286,
0.003381379647180438,
-0.016504881903529167,
0.057495784014463425,
0.002287548966705799,
-0.04490748420357704,
0.017096808180212975,
-0.002287548966705799,
-0.04719626531004906,
0.007734504994004965,
0.04285547137260437,
-0.048774734139442444,
0.06203388795256615,
-0.0032235325779765844,
0.014423273503780365,
0.0074928016401827335,
0.005968591198325157,
0.011207140050828457,
-0.020194556564092636,
-0.0355747751891613,
0.031845640391111374,
0.03486446663737297,
0.02580799162387848,
-0.015251969918608665,
-0.009086070582270622,
0.027386462315917015,
-0.008153785951435566,
0.022197240963578224,
-0.0000021050768737040926,
0.0650724396109581,
-0.025196334347128868,
-0.015429547987878323,
-0.03498284891247749,
0.009303109720349312,
0.027564039453864098,
0.01778738759458065,
-0.009899969212710857,
0.033838458359241486,
0.043210625648498535,
0.002468826249241829,
0.0640069767832756,
0.022690512239933014,
-0.007724639493972063,
-0.04257923737168312,
0.014610717073082924,
0.04218462109565735,
-0.04885365813970566,
-0.008775308728218079,
0.035160429775714874,
0.028925471007823944,
0.014936275780200958,
-0.04474963620305061,
0.007867688313126564,
0.007744370494037867,
-0.021644774824380875,
-0.033285994082689285,
-0.008385623805224895,
-0.0281362347304821,
-0.024466291069984436,
0.0035170293413102627,
-0.02983309142291546,
-0.017895909026265144,
-0.07020246982574463,
-0.00348250032402575,
0.02144746668636799,
0.003800660837441683,
-0.012173952534794807,
-0.008109391666948795,
0.017442097887396812,
-0.0011961845448240638,
0.0038055935874581337,
0.06325720250606537,
0.018724605441093445,
-0.02679453417658806,
0.019681552425026894,
-0.03330572694540024,
-0.013969463296234608,
-0.000004301678472984349,
0.05382584035396576,
0.08650017529726028,
-0.0036600781604647636,
0.03699539974331856,
-0.05907425656914711,
-0.05489130690693855,
-0.005243481602519751,
-0.016642997041344643,
-0.06826884299516678,
-0.0014896814245730639,
0.011621488258242607,
-0.015429547987878323,
0.047788191586732864,
0.04003395512700081,
-0.01870487444102764,
-0.029142510145902634,
-0.020381998270750046,
-0.010575751774013042,
-0.013121034950017929,
-0.03600885719060898,
0.0028363140299916267,
0.036265358328819275,
-0.025729067623615265,
-0.032615143805742264,
-0.00980131421238184,
-0.021960468962788582,
-0.056114621460437775,
0.011345256119966507,
0.006318814121186733,
-0.03066178783774376,
0.024466291069984436,
-0.02928062528371811,
-0.002361539751291275,
0.007384282071143389,
-0.02736673131585121,
0.05966618284583092,
0.0160017441958189,
0.0038993151392787695,
0.07813428342342377,
0.009273513220250607,
0.07324102520942688,
-0.012667224742472172,
0.06495405733585358,
0.022374818101525307,
-0.02156585268676281,
0.0728464126586914,
0.05674600973725319,
-0.02537391148507595,
-0.006032716482877731,
0.03216133266687393,
-0.025334449484944344,
0.05978456512093544,
0.012134491465985775,
-0.008420153521001339,
0.07841051369905472,
0.00448630889877677,
0.08815757185220718,
-0.009830910712480545,
-0.006294150836765766,
-0.007818360812962055,
-0.06128411367535591,
0.08855219185352325,
-0.016051070764660835,
-0.05157652124762535,
-0.023400824517011642,
-0.01331834401935339,
-0.037528134882450104,
-0.06917646527290344,
-0.020875271409749985,
-0.09036742895841599,
0.06132357567548752,
-0.003028690116479993,
-0.04549941048026085,
0.028668968006968498,
-0.007921948097646236,
-0.04289493337273598,
0.04076399654150009,
-0.012173952534794807,
0.0023886696435511112,
0.007759168744087219,
0.02184208482503891,
0.016672594472765923,
-0.00406949408352375,
0.027938926592469215,
0.026439379900693893,
-0.07434595376253128,
-0.03656132146716118,
-0.03093801997601986,
0.023479746654629707,
-0.005480251740664244,
-0.006086976267397404,
0.04352632164955139,
-0.043210625648498535,
0.01996765099465847,
-0.03192456439137459,
-0.06215227395296097,
0.03936310485005379,
0.0021013387013226748,
0.01262776367366314,
0.009026877582073212,
0.06791368871927261,
-0.014107579365372658,
0.02685372717678547,
-0.020204421132802963,
0.013407132588326931,
-0.045302100479602814,
-0.03606804832816124,
-0.029497666284441948,
-0.07659527659416199,
0.002058177487924695,
0.02245374210178852,
0.08815757185220718,
0.02282862737774849,
-0.015587395057082176,
0.010131807066500187,
-0.07624012231826782,
0.06373073905706406,
0.0001598509552422911,
0.013762288726866245,
0.007088318467140198,
0.05800878629088402,
0.0016031339764595032,
-0.0072116367518901825,
-0.006116572767496109,
0.011473506689071655,
-0.04143484681844711,
-0.03950121998786926,
0.06238904222846031,
0.00366747728548944,
0.03425280749797821,
0.04230300709605217,
-0.013426863588392735,
0.048459041863679886,
0.018300391733646393,
0.047788191586732864,
-0.015784703195095062,
0.07260964065790176,
-0.014462735503911972,
0.008040333166718483,
0.03926445171236992,
-0.01656407304108143,
0.026281531900167465,
-0.09802301228046417,
-0.03948149085044861,
-0.011799066327512264,
-0.01769859902560711,
-0.004890792071819305,
-0.0013367671053856611,
-0.015557798556983471,
0.0031224116683006287,
-0.04557833448052406,
0.048182807862758636,
0.08957819640636444,
-0.04557833448052406,
0.02979362942278385,
0.04648595303297043,
-0.04991912469267845,
0.011512968689203262,
-0.07245179265737534,
-0.004224874544888735,
-0.03093801997601986,
0.01981966942548752,
-0.05919263884425163,
-0.016031339764595032,
0.02872816100716591,
-0.008859165012836456,
-0.016277976334095,
-0.043565783649683,
0.002853578422218561,
-0.036482397466897964,
-0.018606219440698624,
-0.03498284891247749,
0.054575614631175995,
0.025413373485207558,
0.00860266387462616,
-0.012588301673531532,
-0.06747961044311523,
0.013476191088557243,
0.026774805039167404,
-0.04076399654150009,
-0.021921006962656975,
0.02608422376215458,
0.021388273686170578,
-0.03253621980547905,
-0.0023874365724623203,
-0.05453615263104439,
0.016692323610186577,
0.015518337488174438,
-0.05090567097067833,
0.032516490668058395,
-0.04644649103283882,
-0.022710243239998817,
0.04948504641652107,
-0.015676183626055717,
-0.005243481602519751,
-0.018665412440896034,
0.073359414935112,
0.013476191088557243,
-0.017096808180212975,
-0.019375724717974663,
-0.015015199780464172,
0.004217475652694702,
0.00906140636652708,
0.061244651675224304,
-0.015390085987746716,
-0.002582279033958912,
-0.006456930655986071,
-0.06649306416511536,
-0.031194521114230156,
-0.023144321516156197,
0.012114760465919971,
0.003672410035505891,
0.028767623007297516,
0.06404643505811691,
-0.09020958095788956,
-0.04774872958660126,
0.08650017529726028,
-0.044591788202524185,
0.03115505911409855,
-0.04727518931031227,
-0.03370034322142601,
0.02255239523947239,
0.015626857057213783,
0.010980234481394291,
0.00929324422031641,
0.02851112186908722,
-0.020599039271473885,
0.03458823263645172,
-0.002315911930054426,
-0.02355867065489292,
-0.013387402519583702,
-0.033443842083215714,
0.0007355918642133474,
0.03766625002026558,
0.007399079855531454,
0.010486963205039501,
-0.025827722623944283,
-0.028668968006968498,
-0.0055295792408287525,
-0.021329080685973167,
-0.013308478519320488,
-0.00743360910564661,
-0.011147947050631046,
0.006037649232894182,
0.03464742377400398,
-0.0281362347304821,
-0.05765363201498985,
0.0005731204291805625,
0.012272607535123825,
-0.025176603347063065,
0.04088238254189491,
-0.024742523208260536,
0.021664505824446678,
-0.037311095744371414,
0.0019632226321846247,
-0.008494144305586815,
0.058600712567567825,
0.019346127286553383,
0.018043890595436096,
0.12659332156181335,
-0.02349947765469551,
0.02626180090010166,
0.039402566850185394,
-0.024683330208063126,
0.01411744486540556,
0.02636045590043068,
-0.06475675106048584,
-0.0336608812212944,
-0.03624562546610832,
-0.0212304275482893,
-0.021664505824446678,
0.006131371017545462,
0.012006240896880627,
-0.08350108563899994,
0.006008053198456764,
-0.08634233474731445,
-0.007024193182587624,
0.013614307157695293,
-0.0197210144251585,
-0.024190058931708336,
0.030089592561125755,
-0.00835602730512619,
0.00989503599703312,
0.05425991863012314,
-0.02306539937853813,
-0.020174825564026833,
0.018359584733843803,
0.038356829434633255,
0.03419361636042595,
0.02989228256046772,
-0.023164052516222,
-0.005070836283266544,
-0.12619870901107788,
0.004893258213996887,
0.002486090874299407,
0.02113177254796028,
-0.012894130311906338,
-0.02570933662354946,
-0.03910660371184349,
0.004000436048954725,
-0.019454646855592728,
-0.018793663010001183,
0.0408034585416317,
0.0015920354053378105,
-0.010388308204710484,
0.048774734139442444,
0.03687701374292374,
0.08192261308431625,
0.03798194229602814,
-0.010417904704809189,
0.04601241275668144,
0.021112041547894478,
-0.024012481793761253,
-0.005228683352470398,
-0.0186160858720541,
-0.03958014398813248,
0.08918357640504837,
0.036600783467292786,
0.00850894208997488,
-0.04439448192715645,
-0.03827790543437004,
-0.0028141166549175978,
0.01230220403522253,
0.002090240130200982,
0.02420978993177414,
0.032398104667663574,
-0.03131290525197983,
0.0012362629640847445,
0.022848358377814293,
-0.016603535041213036,
-0.06641414016485214,
0.044157709926366806,
0.010684271343052387,
-0.01966182142496109,
0.038534410297870636,
-0.029990937560796738,
0.015764974057674408,
-0.023479746654629707,
-0.007640783209353685,
0.038909293711185455,
0.0419083908200264,
-0.07343833893537521,
0.008651990443468094,
0.009263647720217705,
-0.010121941566467285,
-0.023045668378472328,
-0.019701283425092697,
0.04242139309644699,
0.059429410845041275,
-0.01913895271718502,
0.012913861311972141,
0.0171066727489233,
-0.023400824517011642,
-0.005149759817868471,
-0.028747892007231712,
0.01373269222676754,
0.024841178208589554,
-0.02079634740948677,
-0.03304922580718994,
0.022532664239406586,
0.03370034322142601,
-0.05161598324775696,
-0.011493237689137459,
-0.019119223579764366,
0.034785542637109756,
0.00322599895298481,
0.049169354140758514,
-0.004940119106322527,
0.04443394020199776,
0.01751115545630455,
0.06550652533769608,
-0.04309224337339401,
0.011868123896420002,
-0.034785542637109756,
0.018655547872185707,
0.04841957986354828,
0.02651830203831196,
-0.012963187880814075,
0.00198541977442801,
-0.009934497997164726,
-0.001134525635279715,
0.031174790114164352,
-0.04490748420357704,
0.023183783516287804,
-0.10844091325998306,
0.057772018015384674,
-0.00168205751106143,
-0.03443038463592529,
-0.016051070764660835,
0.028747892007231712,
-0.0234402846544981,
0.011424179188907146,
0.023637594655156136,
-0.06219173222780228,
0.04865635186433792,
-0.023262707516551018,
0.03375953435897827,
-0.015616991557180882,
0.04076399654150009,
-0.0028461795300245285,
0.022295894101262093,
-0.012775745242834091,
0.017254654318094254,
-0.010743464343249798,
0.014235829934477806,
0.0228878203779459,
-0.0046712858602404594,
-0.03133263811469078,
0.019928188994526863,
-0.024841178208589554,
-0.05437830463051796,
0.06156034395098686,
0.004276668187230825,
-0.013426863588392735,
-0.04147430881857872,
-0.005524646490812302,
0.008380691520869732,
0.009796381928026676,
0.053470686078071594,
-0.038968488574028015,
-0.03299003094434738,
0.07683204859495163,
-0.024742523208260536,
-0.013821481727063656,
-0.0173631738871336,
-0.013101303949952126,
-0.007221502251923084,
-0.11617542058229446,
-0.04309224337339401,
-0.005756484344601631,
0.04175054281949997,
-0.0485379658639431,
-0.008829568512737751,
-0.008434951305389404,
-0.009312975220382214,
0.004543035291135311,
-0.016455553472042084,
-0.04163215681910515,
-0.04648595303297043,
0.017491424456238747,
0.027268076315522194,
0.022532664239406586,
0.10851983726024628,
0.013387402519583702,
-0.00964346807450056,
-0.06057380139827728,
-0.017826849594712257,
0.05141867324709892,
0.014443004503846169,
-0.016307571902871132,
-0.04340793564915657,
-0.008642125874757767,
0.03222052752971649,
-0.003277792362496257,
0.08863111585378647,
-0.026676150038838387,
-0.05745632201433182,
-0.029990937560796738,
0.049327198415994644,
-0.020756885409355164,
-0.0507478229701519,
-0.02807704173028469,
-0.03172725439071655,
0.07103116810321808,
0.037311095744371414,
-0.04340793564915657,
0.03506177291274071,
-0.023637594655156136,
-0.03948149085044861,
-0.0014169238274917006,
0.03547612205147743,
-0.05702224373817444,
-0.07868675142526627,
-0.014758698642253876,
-0.003773530712351203,
0.014048386365175247,
0.03948149085044861,
-0.006649306509643793,
0.014364080503582954,
0.046801649034023285,
0.007621052209287882,
-0.003262994345277548,
-0.027761347591876984,
0.013416998088359833,
0.007191905751824379,
-0.002236988628283143,
0.018813394010066986,
0.0018633350264281034,
-0.03050393983721733,
0.014334484003484249,
0.02531471848487854,
-0.059311024844646454,
0.02393355779349804,
-0.012884264811873436,
0.10670460015535355,
0.062073349952697754,
0.023913826793432236,
0.017550617456436157
] |
7,622 | emmett.app | __rsgi__ | null | def __rsgi__(self, scope, protocol):
return self._rsgi_handlers[scope.proto](scope, protocol)
| (self, scope, protocol) | [
0.004059259779751301,
-0.059977978467941284,
-0.08670948445796967,
-0.010905850678682327,
-0.010553236119449139,
-0.011703429743647575,
0.007761707995086908,
0.03539573773741722,
0.05467197671532631,
-0.002965736435726285,
0.02046840824186802,
-0.027335988357663155,
0.014793001115322113,
-0.007006106432527304,
-0.041071146726608276,
0.022113941609859467,
0.006989315152168274,
-0.0007256924291141331,
-0.040701743215322495,
-0.06739966571331024,
-0.003528239903971553,
0.05171673372387886,
-0.007954806089401245,
-0.08395573496818542,
0.008681023493409157,
0.07428403943777084,
0.014549529179930687,
0.007207599934190512,
0.02283596061170101,
-0.021509459242224693,
-0.003246988169848919,
-0.07260492444038391,
0.048727910965681076,
0.029653165489435196,
0.047619692981243134,
0.02159341610968113,
-0.06363844871520996,
0.03771291673183441,
-0.04392564296722412,
-0.0076483674347400665,
-0.058097369968891144,
0.013290192931890488,
0.0005315447342582047,
-0.056015267968177795,
0.04765327647328377,
0.046847302466630936,
0.01687510311603546,
0.10202301293611526,
0.031147578731179237,
0.012702503241598606,
-0.02567366510629654,
0.03432110697031021,
-0.019259445369243622,
0.00818568468093872,
-0.03872038424015045,
0.026781879365444183,
0.004625961184501648,
0.09268713742494583,
-0.009545767679810524,
0.020669901743531227,
-0.017412420362234116,
-0.02480052411556244,
0.028729652985930443,
0.01769786886870861,
0.010460885241627693,
-0.048929404467344284,
-0.0027117703575640917,
-0.03922412171959877,
-0.011535517871379852,
-0.005570463370531797,
-0.014742627739906311,
-0.017932945862412453,
-0.02102251723408699,
-0.009822821244597435,
0.04533609747886658,
-0.024028131738305092,
-0.006850788369774818,
-0.01337414886802435,
0.01957847736775875,
0.004428665153682232,
0.06427650898694992,
0.011468353681266308,
-0.010225809179246426,
0.0012488416396081448,
0.014952517114579678,
-0.03124832548201084,
0.012181977741420269,
-0.031987134367227554,
-0.008403968997299671,
-0.021425504237413406,
-0.04630998522043228,
0.024212835356593132,
-0.006187537685036659,
-0.016556071117520332,
0.017546748742461205,
-0.03610096871852875,
-0.0187053382396698,
-0.00022156443446874619,
0.046847302466630936,
-0.06598921120166779,
-0.02980428747832775,
0.07643330097198486,
-0.09261997044086456,
0.041776373982429504,
0.01877250336110592,
0.046041324734687805,
0.0704556554555893,
-0.006519163027405739,
-0.050306279212236404,
0.02961958386003971,
0.06051529571413994,
0.06017947196960449,
0.023373277857899666,
0.025875158607959747,
-0.01858779974281788,
0.029787495732307434,
0.008382980711758137,
0.013533664867281914,
0.008916099555790424,
-0.003205010201781988,
-0.1069931909441948,
0.04295175522565842,
-0.01952810399234295,
-0.012778063304722309,
0.016178270801901817,
0.08476170897483826,
0.00558725418522954,
-0.02391059324145317,
0.03935844823718071,
-0.03717559948563576,
0.005163277965039015,
0.009570954367518425,
-0.021005725488066673,
0.0039270296692848206,
0.038015156984329224,
0.007530829403549433,
-0.005797143559902906,
0.019981466233730316,
-0.0174460019916296,
0.04348907247185707,
-0.0039774030447006226,
0.040701743215322495,
-0.02033407986164093,
-0.023709099739789963,
-0.004042468965053558,
0.0031462411861866713,
0.027655020356178284,
0.023709099739789963,
0.010032710619270802,
-0.002047470537945628,
0.019225863739848137,
0.023927384987473488,
0.05473913997411728,
0.09826179593801498,
-0.004978575278073549,
0.051817480474710464,
-0.04627640172839165,
-0.0237930566072464,
-0.0070984577760100365,
-0.05316077172756195,
-0.03359908610582352,
-0.023121409118175507,
-0.030929293483495712,
-0.119217149913311,
0.013877883553504944,
0.0010064194211736321,
0.012618547305464745,
-0.012878810055553913,
-0.01346650067716837,
0.05517571046948433,
-0.04953388497233391,
-0.014557925052940845,
0.008382980711758137,
-0.015271548181772232,
0.0621272437274456,
0.0704556554555893,
0.007081666495651007,
0.003691953606903553,
0.0032322958577424288,
0.049365974962711334,
0.03683977574110031,
-0.052119720727205276,
-0.02735278010368347,
-0.010334950871765614,
0.007090061902999878,
0.0739482119679451,
0.011997275054454803,
-0.03165131434798241,
0.025841575115919113,
0.016472116112709045,
-0.0008332607103511691,
0.017681078985333443,
0.03193676099181175,
0.005264024715870619,
-0.008038762025535107,
-0.002852396108210087,
0.0024200240150094032,
0.04513460397720337,
-0.03193676099181175,
0.016631631180644035,
0.021862074732780457,
0.06051529571413994,
-0.09873194992542267,
0.05027269572019577,
-0.0587354339659214,
0.07139595597982407,
0.07905272394418716,
0.03250766173005104,
-0.03804874047636986,
-0.04160846397280693,
-0.06598921120166779,
-0.04577266797423363,
-0.011443166993558407,
-0.0031840214505791664,
0.022113941609859467,
-0.01406258624047041,
-0.055645864456892014,
0.0013107589911669493,
0.06632503122091293,
0.010360137559473515,
0.05813095346093178,
-0.03885471448302269,
-0.0065401517786085606,
-0.05641825497150421,
-0.05631750822067261,
-0.002768440404906869,
0.0018480756552889943,
-0.01877250336110592,
-0.0330953523516655,
-0.03437148034572601,
0.04382489621639252,
0.058769017457962036,
0.0561160147190094,
0.003694052342325449,
0.032171837985515594,
0.02698337472975254,
-0.002552254358306527,
0.0816049799323082,
0.029216596856713295,
0.06558622419834137,
0.0024305186234414577,
0.027100911363959312,
0.008588671684265137,
0.006179142277687788,
-0.037511423230171204,
0.015170801430940628,
0.034052446484565735,
0.021425504237413406,
0.05336226522922516,
-0.0016560269286856055,
-0.04476520046591759,
0.002965736435726285,
-0.06424292922019958,
-0.011728616431355476,
-0.029099058359861374,
0.008899307809770107,
-0.05544436722993851,
0.005662814248353243,
0.026563595980405807,
-0.02145908586680889,
-0.025438588112592697,
0.08120198547840118,
0.010779916308820248,
0.01732846349477768,
-0.03195355460047722,
-0.0046133678406476974,
0.01756354048848152,
0.022634467110037804,
0.03138265386223793,
0.027722183614969254,
0.02918301336467266,
0.019981466233730316,
-0.02233222685754299,
0.028225919231772423,
-0.005469716154038906,
-0.06776907294988632,
-0.004701521247625351,
0.05967573821544647,
0.06370561569929123,
-0.03885471448302269,
0.042548768222332,
0.023742683231830597,
0.02980428747832775,
0.029552418738603592,
-0.03131549060344696,
0.00042109048808924854,
0.0365375354886055,
0.021190427243709564,
0.014860165305435658,
-0.05467197671532631,
0.04275026172399521,
0.021761327981948853,
-0.013877883553504944,
0.03885471448302269,
0.029653165489435196,
0.01902437023818493,
-0.043086085468530655,
0.022483346983790398,
0.08610500395298004,
-0.016488905996084213,
-0.013332171365618706,
-0.004630159121006727,
0.02473336085677147,
0.005125497933477163,
0.013726763427257538,
-0.018621383234858513,
0.08791844546794891,
0.013760345056653023,
-0.02617739886045456,
0.03673902899026871,
-0.03902262821793556,
0.007505642715841532,
-0.05443689972162247,
-0.00656114099547267,
0.02147587761282921,
0.04859358072280884,
-0.01308869943022728,
0.02542179636657238,
0.027890095487236977,
0.08079899847507477,
-0.07226909697055817,
0.042548768222332,
0.020921770483255386,
-0.019847135990858078,
-0.03811590373516083,
-0.0032679771538823843,
-0.032356541603803635,
0.015389086678624153,
-0.05013836547732353,
-0.025959113612771034,
-0.019125116989016533,
0.0086978143081069,
0.029837869107723236,
-0.02303745411336422,
-0.01883966661989689,
-0.023826638236641884,
0.04946672171354294,
0.009722074493765831,
-0.03707485273480415,
-0.08120198547840118,
-0.007182413246482611,
0.006237911060452461,
0.0013600829988718033,
0.018033692613244057,
-0.023306112736463547,
-0.010435698553919792,
-0.06343695521354675,
0.0009822821011766791,
0.04825775697827339,
-0.09221698343753815,
-0.014583111740648746,
-0.036302462220191956,
-0.0018323339754715562,
0.04946672171354294,
0.012098021805286407,
-0.05178389698266983,
-0.019158698618412018,
-0.006972523871809244,
0.005860110279172659,
0.03257482498884201,
0.04278384521603584,
0.05692198872566223,
-0.043589819222688675,
0.00040797240217216313,
-0.007996783591806889,
-0.0027621437329798937,
0.017781825736165047,
0.005738374777138233,
0.033481549471616745,
-0.032608408480882645,
-0.02140871249139309,
-0.036873359233140945,
-0.0306270532310009,
0.018352724611759186,
-0.052623454481363297,
0.03331363573670387,
0.03865322098135948,
-0.03469051048159599,
-0.03369983285665512,
-0.04144055023789406,
0.007035490591078997,
0.05477272346615791,
0.022819168865680695,
-0.009419833309948444,
0.028947938233613968,
-0.024279998615384102,
-0.0046133678406476974,
0.01657286286354065,
-0.019998256117105484,
0.048727910965681076,
0.01679954305291176,
-0.05567944422364235,
-0.01057842280715704,
0.022080358117818832,
-0.05799662321805954,
-0.04154129698872566,
-0.07347805798053741,
0.0024892876390367746,
0.011510331183671951,
-0.005482309497892857,
0.022953499108552933,
-0.02134154923260212,
0.01781540736556053,
0.02925017848610878,
0.03165131434798241,
-0.0013989125145599246,
0.04536968097090721,
0.07643330097198486,
-0.0012855721870437264,
0.0015342910774052143,
-0.02340685948729515,
0.037242766469717026,
-0.08361991494894028,
-0.03366624936461449,
0.03667186573147774,
0.016648422926664352,
0.10074688494205475,
0.025018809363245964,
0.00394382094964385,
0.057593636214733124,
-0.024447910487651825,
-0.008983263745903969,
0.056451838463544846,
0.02354118786752224,
-0.0033099548891186714,
0.029166223481297493,
-0.02718486823141575,
0.010788312181830406,
-0.0023612549994140863,
0.04023158922791481,
-0.01377713680267334,
0.021811701357364655,
-0.00988998543471098,
-0.03363266959786415,
0.010754729621112347,
-0.015363899990916252,
-0.0467129722237587,
0.03074459172785282,
0.01465867180377245,
0.002024382818490267,
0.0174460019916296,
0.03553006798028946,
-0.03306176885962486,
-0.015959985554218292,
0.012257537804543972,
-0.026597177609801292,
-0.04882865771651268,
0.0251027662307024,
-0.019091535359621048,
-0.08227661997079849,
-0.0212240107357502,
-0.05729139596223831,
0.06686235219240189,
0.015061658807098866,
-0.026815462857484818,
-0.07146312296390533,
0.027772556990385056,
-0.025505753234028816,
0.000421352859120816,
-0.08570201694965363,
-0.0014083575224503875,
0.013760345056653023,
-0.00690116174519062,
-0.06132126972079277,
-0.04140697047114372,
-0.000504259136505425,
0.024817315861582756,
-0.018973996862769127,
-0.008672627620398998,
-0.009277109056711197,
0.012475822120904922,
0.026143817231059074,
-0.028477786108851433,
-0.030643844977021217,
0.004508423153311014,
0.06578771770000458,
0.03186959773302078,
0.018235186114907265,
-0.04795551672577858,
-0.03381736949086189,
-0.04016442596912384,
-0.005595650058239698,
-0.03717559948563576,
0.048358503729104996,
-0.00681300787255168,
-0.025203512981534004,
0.02065311186015606,
0.03432110697031021,
0.02271842211484909,
0.01085547637194395,
0.03589947149157524,
0.04456370696425438,
-0.03151698410511017,
0.03299460560083389,
0.08476170897483826,
0.02046840824186802,
0.02741994336247444,
-0.014045794494450092,
-0.00596085749566555,
0.010200622491538525,
-0.03670544922351837,
-0.050675682723522186,
0.004747697152197361,
0.02083781361579895,
0.015800470486283302,
-0.029048684984445572,
-0.053194355219602585,
0.003221801482141018,
-0.021509459242224693,
0.012794854119420052,
-0.025253886356949806,
0.02736956998705864,
0.020636320114135742,
0.004067655652761459,
-0.021106472238898277,
-0.04073532298207283,
-0.00847113411873579,
-0.004109633155167103,
-0.06155634671449661,
0.0011911219917237759,
0.054571229964494705,
-0.025522544980049133,
0.03161773085594177,
0.009537371806800365,
0.010192226618528366,
-0.05826527997851372,
-0.029921824112534523,
0.014515946619212627,
0.004949190653860569,
0.006535954307764769,
0.04815701022744179,
0.04825775697827339,
0.027822932228446007,
-0.025757620111107826,
0.0553436204791069,
0.016018753871321678,
-0.060851119458675385,
-0.05443689972162247,
-0.041071146726608276,
-0.01092264149338007,
-0.0031315491069108248,
0.004558796528726816,
-0.07764226943254471,
-0.0014062585541978478,
-0.04876149073243141,
-0.029485255479812622,
0.002428419655188918,
-0.051615986973047256,
0.001429346390068531,
-0.08308259397745132,
-0.031718477606773376,
-0.004504225216805935,
-0.010158644057810307,
0.0005394156323745847,
-0.02741994336247444,
-0.03005615435540676,
0.010721147991716862,
-0.018973996862769127,
-0.011938505806028843,
-0.006393229588866234,
-0.00841236487030983,
-0.01983034424483776,
-0.040198005735874176,
0.07025416195392609,
-0.05158240348100662,
0.04180995747447014,
0.022802378982305527,
0.00528921140357852,
-0.05641825497150421,
-0.006741645745933056,
-0.0051087066531181335,
0.01788257248699665,
0.03469051048159599,
0.015708118677139282,
0.053194355219602585,
0.03349833935499191,
0.0450674407184124,
-0.01788257248699665,
0.013164259493350983,
0.021140053868293762,
0.018738919869065285,
-0.02008221298456192,
-0.041709210723638535,
-0.054134659469127655,
-0.03359908610582352,
0.03341438248753548,
-0.019427357241511345,
0.06884370744228363,
0.005314398091286421,
0.0031588345300406218,
-0.031483400613069534,
0.00013393563858699054,
-0.021072890609502792,
-0.09127667546272278,
0.01927623711526394,
-0.004122226499021053,
-0.03892188146710396,
0.007190809119492769,
-0.029988989233970642,
0.047351036220788956,
-0.010561631992459297,
0.041205476969480515,
0.048795074224472046,
-0.02045161835849285,
0.024397537112236023,
-0.05295927822589874,
-0.04060099273920059,
0.03050951473414898,
0.007001908496022224,
-0.008118519559502602,
-0.04839208722114563,
-0.006128768902271986,
0.006716459058225155,
0.008374584838747978,
0.03966068848967552,
0.010209017433226109,
-0.009377855807542801,
0.03055988810956478,
-0.0017809111159294844,
-0.04570550471544266,
-0.0014891648897901177,
0.0032343948259949684,
-0.008278035558760166,
0.014960912056267262,
-0.026143817231059074,
0.04184354096651077,
0.007933816872537136,
-0.005054135341197252,
-0.030912501737475395,
-0.030140109360218048,
-0.014834978617727757,
0.01634618267416954,
0.015473042614758015,
-0.051179416477680206,
0.057459305971860886,
-0.043153248727321625,
0.02975391410291195,
0.02271842211484909,
-0.04657864198088646,
0.03603380173444748,
-0.000392230722354725,
-0.044966693967580795,
0.019847135990858078,
-0.04318683221936226,
-0.019343402236700058,
0.04144055023789406,
0.016312599182128906,
-0.020233333110809326,
0.0293173436075449,
-0.026143817231059074,
0.022516928613185883,
0.001759922131896019,
-0.03908979147672653,
0.048224177211523056,
0.03922412171959877,
0.06498174369335175,
0.04520176723599434,
-0.03275952860713005,
0.022365808486938477,
-0.02491806261241436,
-0.013525268994271755,
-0.006451998371630907,
0.05070926621556282,
0.004204083699733019,
-0.010360137559473515,
-0.014515946619212627,
-0.018604591488838196,
-0.0281083807349205,
0.03892188146710396,
-0.024028131738305092,
0.007946410216391087,
0.039257701486349106,
-0.04147413372993469,
0.04174279421567917,
-0.08281394094228745,
-0.014952517114579678,
0.021677371114492416,
-0.011871341615915298,
0.032356541603803635,
0.010905850678682327,
-0.05467197671532631,
-0.0073755113407969475,
-0.03321288898587227,
-0.02785651385784149,
0.023742683231830597,
0.01180417649447918,
0.055578697472810745,
0.007165621966123581,
0.023675518110394478,
-0.07770942896604538,
0.003263779217377305,
-0.04479878023266792,
0.021257592365145683,
0.03385095298290253,
-0.025908740237355232,
0.0011449463199824095,
-0.016220249235630035,
-0.1225082129240036,
-0.0049827732145786285,
0.037377092987298965,
0.02661396935582161,
-0.021291175857186317,
0.016833124682307243,
-0.1010827049612999,
0.037746500223875046,
-0.0022437169682234526,
0.023524397984147072,
-0.0475861132144928,
-0.015414273366332054,
0.03138265386223793,
-0.023121409118175507,
-0.05497421696782112,
0.042582351714372635,
-0.014667067676782608,
0.04385847598314285,
0.0026425067335367203,
-0.07119446247816086,
0.031416237354278564,
-0.009167966432869434,
0.05094434320926666,
-0.03955994173884392,
-0.007870850153267384,
0.04046666622161865,
-0.021190427243709564,
0.052757784724235535,
-0.010687565430998802,
0.018419887870550156,
0.014264079742133617,
0.016631631180644035,
0.020434826612472534,
-0.007723927963525057,
-0.06246306747198105,
-0.09913493692874908,
0.00654434971511364,
0.041709210723638535,
-0.0391569547355175,
-0.0004767111677210778,
0.008345200680196285,
0.011325628496706486,
-0.00419988576322794,
-0.023423651233315468,
0.010477676056325436,
-0.019947882741689682,
-0.015363899990916252,
0.059407081454992294,
0.004890421871095896,
0.006754239089787006,
-0.041205476969480515,
-0.006431009620428085,
0.02102251723408699,
0.04953388497233391,
0.043522655963897705,
0.007312544621527195,
-0.055142126977443695,
-0.0267986711114645,
-0.06514964997768402,
-0.02473336085677147,
0.0229199156165123,
-0.023457232862710953,
0.01682472974061966,
-0.036940526217222214,
0.0254889614880085,
-0.006636701058596373,
0.000012421185601851903,
0.02120721898972988,
-0.012106417678296566,
0.02491806261241436,
-0.03697410598397255
] |
7,623 | emmett.app | __rsgi_init__ | null | def __rsgi_init__(self, loop):
self.send_signal(Signals.after_loop, loop=loop)
| (self, loop) | [
0.004996608942747116,
0.004878578707575798,
-0.05675937980413437,
0.033800333738327026,
-0.006395484786480665,
0.029935939237475395,
-0.027715224772691727,
0.09442410618066788,
0.00013298881822265685,
0.0070686936378479,
-0.012738511897623539,
0.06543240696191788,
0.008607456460595131,
0.0032283428590744734,
-0.0263513196259737,
-0.012808455154299736,
-0.01794058084487915,
0.019951464608311653,
-0.04245587810873985,
-0.05990685150027275,
-0.04032259061932564,
0.03163207694888115,
0.019217055290937424,
0.02900918386876583,
0.01107734628021717,
0.02710321545600891,
-0.05452118068933487,
0.054696038365364075,
0.032663747668266296,
0.006985635496675968,
0.004102639853954315,
-0.04207118600606918,
0.03156213089823723,
0.011505752801895142,
0.03822427615523338,
-0.032226599752902985,
-0.03201676532626152,
0.00875608716160059,
-0.06962903589010239,
0.028502091765403748,
0.11561707407236099,
-0.03177196532487869,
0.014382190071046352,
0.0036698628682643175,
-0.015920953825116158,
0.034429825842380524,
0.023378709331154823,
0.016139527782797813,
0.020056379958987236,
0.018360242247581482,
-0.010727628134191036,
0.03434239700436592,
-0.03051297552883625,
-0.012895884923636913,
-0.03199928253889084,
0.12743757665157318,
-0.017241142690181732,
0.06396359205245972,
0.002156235743314028,
-0.024934958666563034,
-0.014425905421376228,
0.023553568869829178,
-0.0014786552637815475,
0.034936919808387756,
0.021839946508407593,
-0.03394022211432457,
-0.002987910993397236,
0.029219016432762146,
0.06784547120332718,
-0.031457215547561646,
-0.012755997478961945,
0.0365106537938118,
-0.011129804886877537,
0.02484752982854843,
0.03850405290722847,
-0.014906768687069416,
-0.05021963641047478,
0.013411720283329487,
-0.05714407190680504,
0.03707020357251167,
-0.008808544836938381,
0.026473721489310265,
-0.002108149230480194,
0.04374983534216881,
0.03434239700436592,
-0.03864394128322601,
0.003925594966858625,
-0.008655543439090252,
-0.000307096925098449,
-0.04983494430780411,
-0.0587877482175827,
0.013962527737021446,
0.014312246814370155,
0.032646261155605316,
-0.004712462425231934,
-0.014845567755401134,
-0.029428847134113312,
-0.029656164348125458,
0.025459537282586098,
-0.043330173939466476,
-0.010963687673211098,
-0.01979409158229828,
0.003221785416826606,
-0.04007778689265251,
0.0525277815759182,
-0.015405118465423584,
0.00894406158477068,
-0.04567329213023186,
-0.00014603497402276844,
-0.018937278538942337,
0.03741992264986038,
0.02103559300303459,
0.0044982596300542355,
0.028467120602726936,
-0.12442999333143234,
0.0018906679470092058,
0.034884460270404816,
0.03088018111884594,
0.020371126011013985,
-0.029428847134113312,
-0.06298437714576721,
0.019671689718961716,
-0.02441038005053997,
0.039832983165979385,
0.027190646156668663,
0.06277454644441605,
0.0032392714638262987,
0.02596662938594818,
0.04434435814619064,
-0.012231418862938881,
0.02558193914592266,
0.022696757689118385,
-0.006054508965462446,
-0.0327511765062809,
-0.014784366823732853,
0.015885982662439346,
0.01720617152750492,
0.003630519611760974,
0.0046643759123981,
0.006395484786480665,
-0.03741992264986038,
0.02934141643345356,
0.026141488924622536,
-0.010928716510534286,
-0.017722006887197495,
0.05035952478647232,
-0.01949683018028736,
0.0456383191049099,
-0.008323309943079948,
-0.032646261155605316,
0.029184043407440186,
0.04301542788743973,
0.07812720537185669,
0.09190613031387329,
-0.03658059984445572,
0.006775803864002228,
-0.02327379398047924,
0.023728428408503532,
-0.013158174231648445,
-0.026963328942656517,
-0.043679893016815186,
0.02549450844526291,
-0.02472512796521187,
-0.07581906020641327,
-0.026403777301311493,
-0.0031868135556578636,
-0.0008223858894780278,
0.031142469495534897,
0.029918452724814415,
0.05882272124290466,
-0.042106159031391144,
-0.029498791322112083,
-0.03734998032450676,
-0.021577656269073486,
-0.04221107438206673,
0.09078703075647354,
-0.0008027142030186951,
-0.001610892708413303,
0.011252205818891525,
0.03005834110081196,
-0.001328931888565421,
-0.04882076010107994,
-0.04703719541430473,
-0.03885377198457718,
0.03920349106192589,
0.0021354712080210447,
-0.05032455176115036,
0.020476043224334717,
0.02483004331588745,
-0.005678561050444841,
0.049730028957128525,
0.04507876932621002,
0.005455614998936653,
-0.001711436896584928,
0.05224800482392311,
0.031492188572883606,
0.05487089976668358,
-0.02708573080599308,
-0.002073177369311452,
0.011925415135920048,
0.02857203595340252,
0.05843803286552429,
-0.05794842541217804,
-0.01979409158229828,
0.030408060178160667,
0.0016338430577889085,
0.06795038282871246,
0.056619491428136826,
-0.00409171124920249,
-0.034884460270404816,
0.01988152042031288,
0.002563876798376441,
-0.010430366732180119,
0.006364884320646524,
0.0205809585750103,
-0.006155053153634071,
-0.05682932212948799,
0.007807475049048662,
0.050114721059799194,
-0.010133105330169201,
-0.029918452724814415,
0.010631455108523369,
-0.0784769281744957,
-0.05249280855059624,
-0.09218590706586838,
0.032995980232954025,
0.013892583549022675,
-0.0066927457228302956,
-0.016908910125494003,
-0.014294760301709175,
0.008117849938571453,
0.04144169017672539,
0.024183062836527824,
-0.02712070196866989,
0.046687476336956024,
-0.01682147942483425,
0.027540365234017372,
0.050499413162469864,
-0.08414237201213837,
0.004764920100569725,
-0.002402131911367178,
-0.007160495035350323,
0.015186543576419353,
-0.06277454644441605,
0.013062001205980778,
0.05532553419470787,
0.048261210322380066,
0.018954765051603317,
-0.016069583594799042,
0.0263513196259737,
0.013840125873684883,
-0.06627173721790314,
-0.004507002420723438,
0.00856374204158783,
-0.03521669656038284,
0.013805153779685497,
0.07260164618492126,
0.035653844475746155,
0.03177196532487869,
0.01217896118760109,
0.008856631815433502,
0.04270067811012268,
-0.07735782116651535,
0.03654562681913376,
-0.013411720283329487,
0.03637076914310455,
-0.00011359034397173673,
0.005792219657450914,
-0.0013988756109029055,
-0.007571414578706026,
0.12072297185659409,
-0.03388776257634163,
-0.035601384937763214,
0.0031736991368234158,
-0.017048796638846397,
-0.0003065505006816238,
-0.01182924211025238,
0.010587739758193493,
-0.05651457607746124,
-0.01352537889033556,
0.1198137030005455,
0.025407079607248306,
0.05612988770008087,
0.0016480503836646676,
-0.04637272655963898,
-0.03306592255830765,
0.02512730471789837,
0.08547130227088928,
-0.024882500991225243,
-0.0733710303902626,
0.01108608953654766,
0.02509233169257641,
0.026596123352646828,
0.013805153779685497,
0.023151392117142677,
0.01872744783759117,
-0.07225193083286285,
0.03051297552883625,
0.04427441582083702,
-0.0032174140214920044,
0.008826031349599361,
-0.060431428253650665,
-0.05266766995191574,
0.04039253666996956,
-0.03927343338727951,
-0.04158157855272293,
0.04294548183679581,
0.04451921954751015,
-0.013289318419992924,
-0.01237130630761385,
-0.01984654925763607,
0.004176955204457045,
0.02283664606511593,
-0.024969929829239845,
-0.01717994175851345,
0.05140868201851845,
0.0349893793463707,
-0.021157994866371155,
0.003648005425930023,
0.06357889622449875,
-0.032558832317590714,
0.005219554994255304,
-0.018587561324238777,
0.05158353969454765,
0.0435749776661396,
0.057738594710826874,
0.020423585548996925,
0.03430742397904396,
-0.03053046204149723,
-0.0077375308610498905,
-0.018167898058891296,
0.005827191285789013,
-0.026788469403982162,
-0.06721597909927368,
0.014661965891718864,
-0.027925055474042892,
0.013394234701991081,
-0.026613609865307808,
-0.02741796337068081,
-0.10267747193574905,
-0.004651261493563652,
0.002771522384136915,
-0.04903059080243111,
0.03619590774178505,
0.037524838000535965,
0.03192933648824692,
-0.028746895492076874,
-0.049345340579748154,
0.06144561246037483,
-0.07483984529972076,
-0.0030381830874830484,
-0.020458556711673737,
-0.043679893016815186,
0.052422866225242615,
0.03250637277960777,
-0.049345340579748154,
-0.009512354619801044,
0.03500686213374138,
-0.000957901997026056,
-0.016480503603816032,
-0.0028720665723085403,
0.03196430951356888,
-0.005800962448120117,
-0.020091351121664047,
0.046267811208963394,
-0.001656793407164514,
-0.04161655157804489,
0.05724898725748062,
0.0125723946839571,
0.010185563005506992,
-0.017826922237873077,
-0.03544401377439499,
-0.007956105284392834,
0.0456383191049099,
-0.011549467220902443,
-0.032926034182310104,
-0.00835391040891409,
-0.030040854588150978,
0.024462837725877762,
0.007807475049048662,
-0.0061157094314694405,
-0.01712748408317566,
0.03306592255830765,
-0.05560530722141266,
-0.0008671936229802668,
-0.03044303134083748,
-0.02712070196866989,
0.031806934624910355,
0.011348378844559193,
-0.02740047685801983,
0.06224996596574783,
-0.01712748408317566,
0.003667677054181695,
-0.02904415689408779,
0.019269512966275215,
-0.0349893793463707,
0.004047996364533901,
0.049765001982450485,
0.050534382462501526,
-0.0022403867915272713,
-0.013149430975317955,
-0.010526539757847786,
-0.062354881316423416,
0.0034731458872556686,
0.04423944279551506,
0.014163616113364697,
0.04546345770359039,
-0.025372106581926346,
0.03958818316459656,
0.015579978004097939,
0.008904717862606049,
-0.000519933644682169,
-0.07875669747591019,
-0.0813446193933487,
0.020371126011013985,
-0.03976304084062576,
0.04472905024886131,
-0.0040261391550302505,
0.03156213089823723,
0.04007778689265251,
-0.00392122333869338,
0.07476990669965744,
0.08204405754804611,
0.019741632044315338,
0.04791149124503136,
0.030023369938135147,
0.0062293680384755135,
0.004216298460960388,
-0.024113118648529053,
0.023116420954465866,
-0.0334681011736393,
0.05578016862273216,
-0.051688455045223236,
0.02213720791041851,
0.0350768081843853,
0.00880417414009571,
-0.019968949258327484,
-0.015789808705449104,
0.004760548938065767,
-0.007776874583214521,
0.0006464335601776838,
-0.01604335568845272,
-0.02129788137972355,
-0.0141373872756958,
-0.005088410340249538,
-0.025826742872595787,
0.01543134730309248,
-0.044449273496866226,
0.009372467175126076,
-0.02823980338871479,
-0.08959798514842987,
-0.03290855139493942,
0.020406099036335945,
-0.013901326805353165,
0.004441430326551199,
-0.05305235832929611,
-0.02708573080599308,
-0.022014806047081947,
-0.029831023886799812,
-0.057738594710826874,
-0.0772179365158081,
-0.022434469312429428,
-0.024882500991225243,
-0.02664858102798462,
0.024462837725877762,
0.038259249180555344,
0.033800333738327026,
0.011164776049554348,
-0.07511962205171585,
0.004987866152077913,
-0.0020513199269771576,
-0.016524218022823334,
0.045183684676885605,
-0.021507713943719864,
0.0058883922174572945,
-0.042106159031391144,
-0.03584618866443634,
0.0014753766590729356,
-0.025249706581234932,
-0.02815237268805504,
-0.025249706581234932,
0.009014004841446877,
0.018500130623579025,
0.03951823711395264,
-0.06658647954463959,
-0.04469407722353935,
0.03724506497383118,
-0.05801836773753166,
0.036440711468458176,
-0.04388972371816635,
-0.04416950047016144,
-0.000046651955926790833,
-0.001904875272884965,
0.039028629660606384,
0.0373150072991848,
-0.0270682442933321,
-0.026805954053997993,
0.020388612523674965,
0.021088050678372383,
-0.015614950098097324,
-0.07469996064901352,
-0.014661965891718864,
-0.0197766050696373,
0.012852170504629612,
-0.0074140410870313644,
-0.04903059080243111,
-0.09239573776721954,
-0.008109107613563538,
-0.0026556779630482197,
0.025074847042560577,
0.0419662706553936,
-0.014093671925365925,
-0.02972610853612423,
-0.037979476153850555,
0.01760834828019142,
-0.036755457520484924,
-0.03311838209629059,
0.014495848678052425,
-0.0464426726102829,
0.0032436428591609,
0.01984654925763607,
-0.02820483036339283,
0.020703360438346863,
0.010456595569849014,
0.015448832884430885,
-0.056689437478780746,
0.043714866042137146,
-0.014154872857034206,
0.045183684676885605,
0.017722006887197495,
0.039098575711250305,
-0.014653222635388374,
0.015151572413742542,
-0.00989704579114914,
-0.0041354261338710785,
0.023046476766467094,
-0.016113299876451492,
-0.05081415921449661,
-0.07393057644367218,
-0.026858413591980934,
-0.01862253248691559,
0.03853902593255043,
0.014495848678052425,
-0.036755457520484924,
-0.04158157855272293,
-0.03236648440361023,
-0.02103559300303459,
0.025809256359934807,
0.004646890331059694,
-0.01904219575226307,
0.009188864380121231,
-0.028292261064052582,
0.036475684493780136,
0.03170201927423477,
-0.04623284190893173,
-0.038364164531230927,
0.04574323445558548,
-0.0003860568976961076,
0.03476206213235855,
0.021647600457072258,
-0.05084913223981857,
0.02893923968076706,
-0.0012141803745180368,
0.026508694514632225,
-0.005062181502580643,
0.05686429515480995,
0.04343508929014206,
-0.006071994546800852,
-0.010360422544181347,
0.02100062184035778,
0.000566107511986047,
-0.0395532101392746,
0.008550627157092094,
-0.0040261391550302505,
-0.01122597698122263,
0.025074847042560577,
0.030722806230187416,
0.015405118465423584,
-0.016279416158795357,
-0.02100062184035778,
0.014014985412359238,
-0.0029376388993114233,
-0.047771602869033813,
-0.029463818296790123,
-0.027208130806684494,
-0.001653514802455902,
0.05378676950931549,
0.0525277815759182,
-0.026893384754657745,
0.017722006887197495,
-0.010386651381850243,
0.024130605161190033,
-0.05294744297862053,
-0.06427833437919617,
-0.02171754464507103,
0.02670103870332241,
0.043330173939466476,
-0.022696757689118385,
0.02091319113969803,
0.05483592674136162,
-0.03126487135887146,
0.046267811208963394,
0.0017059725942090154,
0.0015026985201984644,
0.01717994175851345,
-0.007208581082522869,
-0.027715224772691727,
-0.007689444813877344,
0.004041439387947321,
0.032226599752902985,
-0.037979476153850555,
0.0017606162000447512,
0.025267191231250763,
0.07316119968891144,
-0.01794058084487915,
-0.013193146325647831,
-0.03345061466097832,
0.04207118600606918,
0.06539743393659592,
-0.0008529862971045077,
-0.014172359369695187,
-0.016524218022823334,
0.004430501721799374,
-0.021105537191033363,
-0.024637697264552116,
-0.00040053745033219457,
-0.010972430929541588,
-0.050954047590494156,
-0.01869247667491436,
-0.00820527970790863,
-0.0029420102946460247,
-0.03623088076710701,
0.015134085901081562,
-0.08645051717758179,
0.05196823179721832,
-0.026491208001971245,
-0.06357889622449875,
0.02976107969880104,
-0.012310106307268143,
0.02858952060341835,
0.043714866042137146,
-0.05214308947324753,
0.0060020508244633675,
-0.053576938807964325,
0.021874917671084404,
-0.0011759299086406827,
0.03472708910703659,
-0.037210091948509216,
-0.016978854313492775,
-0.03268123418092728,
-0.018377728760242462,
0.01527397334575653,
-0.07225193083286285,
0.0868002325296402,
-0.044868938624858856,
0.007711302023380995,
0.042840566486120224,
-0.015055399388074875,
0.006854490842670202,
-0.030565433204174042,
-0.006684002932161093,
0.01468819472938776,
0.015807295218110085,
-0.010587739758193493,
0.04577820748090744,
0.002056784462183714,
0.03390524908900261,
-0.00087976164650172,
-0.001970447599887848,
0.02750539220869541,
0.049799975007772446,
-0.0015606206143274903,
-0.002136564115062356,
0.013446692377328873,
0.04955517128109932,
-0.013053258880972862,
-0.03462217375636101,
-0.06480291485786438,
0.06830010563135147,
-0.0027693365700542927,
-0.04011275991797447,
0.00656160106882453,
-0.0634390115737915,
-0.09015753865242004,
0.025791769847273827,
-0.011549467220902443,
0.03348558768630028,
-0.0025966628454625607,
0.0472470261156559,
-0.05829814448952675,
-0.0358811616897583,
0.054311346262693405,
-0.002026183996349573,
0.03505932167172432,
-0.026211433112621307,
-0.016261929646134377,
-0.024567753076553345,
-0.0906471461057663,
-0.010369165800511837,
-0.023168878629803658,
0.06466303020715714,
-0.029166556894779205,
-0.0029245244804769754,
-0.007593271788209677,
0.007986705750226974,
0.04161655157804489,
-0.004229413345456123,
-0.03311838209629059,
0.0073003824800252914,
0.032191626727581024,
0.003648005425930023,
0.04455418884754181,
0.029201529920101166,
-0.025756798684597015,
-0.036755457520484924,
-0.02089570462703705,
-0.05672440677881241,
-0.001397782820276916,
-0.04535854235291481,
0.03310089558362961,
-0.06795038282871246,
0.007156123407185078,
0.010911229997873306,
-0.04791149124503136,
0.054346319288015366,
-0.02510981820523739,
-0.00012342618720140308,
0.03476206213235855,
0.001783566433005035,
0.05098901689052582,
-0.04430938512086868,
-0.05266766995191574,
-0.0243404358625412,
0.03159710392355919,
-0.009573555551469326,
-0.05298241600394249,
0.014434648677706718,
0.01563243567943573,
-0.036790430545806885,
0.0037529212422668934,
0.00554304476827383,
-0.10106876492500305,
0.03164956346154213,
0.01716245524585247,
0.06186527758836746,
0.011392093263566494,
-0.04612792655825615,
0.011724326759576797,
0.022994019091129303,
0.044064585119485855,
0.03192933648824692,
0.03168453276157379,
0.010806314647197723,
0.009424924850463867,
-0.04623284190893173,
-0.016200728714466095,
-0.006168167572468519,
0.0060982233844697475,
-0.05032455176115036,
0.0007857746677473187,
-0.011584439314901829,
-0.012808455154299736,
0.06207510828971863,
0.030408060178160667,
0.08610079437494278,
0.011610668152570724,
0.03584618866443634,
-0.006452314089983702
] |
7,624 | emmett.app | _configure_asgi_handlers | null | def _configure_asgi_handlers(self):
self._asgi_handlers['http']._configure_methods()
self._rsgi_handlers['http']._configure_methods()
| (self) | [
0.00010232200293103233,
-0.046843040734529495,
0.03843710198998451,
-0.0029058903455734253,
-0.05305157229304314,
0.04475027322769165,
0.0024371983017772436,
0.014640629291534424,
-0.01628868095576763,
0.020020777359604836,
0.043389979749917984,
0.010080147534608841,
0.03330983221530914,
0.006134415045380592,
0.0009662684751674533,
-0.03585602715611458,
0.013315211981534958,
0.007987383753061295,
0.003825834486633539,
-0.11740407347679138,
-0.05566752701997757,
0.00931280106306076,
-0.027415212243795395,
0.0037059367168694735,
-0.004403524566441774,
0.06037624925374985,
-0.023125045001506805,
0.03034508042037487,
0.08489646762609482,
-0.010062707588076591,
-0.015765490010380745,
-0.0663406252861023,
0.034757327288389206,
-0.029281258583068848,
0.07659517228603363,
-0.0506100133061409,
0.021084599196910858,
0.029455656185746193,
-0.030257882550358772,
0.0622946135699749,
-0.004224767908453941,
-0.003786595305427909,
-0.0010567369172349572,
-0.07143302261829376,
0.039832279086112976,
0.05496994033455849,
-0.03153098002076149,
0.11879924684762955,
0.011344525963068008,
0.0029756492003798485,
-0.04795917868614197,
-0.017692577093839645,
-0.005371428094804287,
0.051202964037656784,
-0.004699999466538429,
0.06965416669845581,
0.0012763681588694453,
0.05594656243920326,
0.0032917438074946404,
-0.01757049933075905,
0.028234876692295074,
-0.0047305189073085785,
0.05214470997452736,
-0.04754062741994858,
-0.0029647492337971926,
0.03346678614616394,
-0.028234876692295074,
0.009216882288455963,
-0.0350363627076149,
-0.00037086615338921547,
-0.017962893471121788,
-0.03397253900766373,
-0.020910203456878662,
-0.03819294646382332,
0.016558997333049774,
0.03662337362766266,
-0.034809645265340805,
0.052319105714559555,
-0.01979406177997589,
0.031025229021906853,
0.01458831038326025,
0.006775324232876301,
0.004017671104520559,
0.0025265768636018038,
0.024345824494957924,
-0.02366567589342594,
-0.027484970167279243,
-0.03472244739532471,
0.0213810745626688,
-0.02335176058113575,
-0.06738700717687607,
-0.049947306513786316,
0.05517921596765518,
-0.016899071633815765,
0.011126529425382614,
0.0071764374151825905,
0.0014485851861536503,
-0.013951761648058891,
0.011649721302092075,
-0.03725120425224304,
-0.04056474566459656,
0.018765119835734367,
0.02800816111266613,
-0.03707680478692055,
0.04356437548995018,
-0.03721632435917854,
0.04077402129769325,
-0.03147866204380989,
-0.011379405856132507,
-0.018486084416508675,
0.01632356084883213,
0.019759181886911392,
0.024031909182667732,
0.02249721623957157,
-0.05367940291762352,
0.01189387682825327,
0.0030148883815854788,
-0.019201111048460007,
0.010777736082673073,
-0.020125415176153183,
-0.09801112115383148,
0.011806678026914597,
0.04520370811223984,
0.03337958827614784,
0.05301669239997864,
0.05528385564684868,
-0.008144340477883816,
0.006579127628356218,
0.009565676562488079,
-0.018207048997282982,
0.007451112847775221,
0.024677177891135216,
-0.015634693205356598,
-0.009513357654213905,
0.009862150996923447,
0.02533988654613495,
-0.06529424339532852,
0.03627457842230797,
0.05326084792613983,
0.07035175710916519,
-0.04778478294610977,
-0.035228196531534195,
-0.012722262181341648,
-0.05992281436920166,
0.031199626624584198,
0.033257510513067245,
0.0466337613761425,
0.014666789211332798,
-0.03545491397380829,
-0.0233343206346035,
0.0063785710372030735,
0.06337587535381317,
0.041053056716918945,
0.016907790675759315,
-0.034774765372276306,
0.011309647001326084,
0.011527642607688904,
0.01287049986422062,
0.00013522581139113754,
-0.0014093458885326982,
-0.007586270105093718,
0.0031391463708132505,
-0.02568868175148964,
-0.0896400660276413,
-0.022078663110733032,
-0.020509090274572372,
0.019584786146879196,
-0.02404934912919998,
0.03548979386687279,
0.04966827109456062,
-0.05727197974920273,
-0.009574396535754204,
-0.03920444846153259,
0.01986381970345974,
0.08391984552145004,
0.02680482156574726,
-0.0006430890061892569,
0.013838403858244419,
0.06473617255687714,
0.017029868438839912,
-0.0005651553510688245,
-0.04743598774075508,
-0.013681446202099323,
0.027101296931505203,
0.0057027824223041534,
0.04834285378456116,
-0.017291463911533356,
-0.006788404192775488,
-0.06285268813371658,
0.04206456243991852,
0.01088237389922142,
-0.01911391317844391,
0.011963635683059692,
-0.04799405857920647,
0.07077030837535858,
0.041087936609983444,
0.00544118694961071,
0.004826437681913376,
-0.010228385217487812,
0.040250830352306366,
0.003123886650428176,
-0.012007234618067741,
-0.032838959246873856,
0.007773747202008963,
0.03916957229375839,
0.03690240904688835,
0.0429365448653698,
0.02453766018152237,
-0.010237105190753937,
0.0009433788945898414,
-0.04408756643533707,
0.00310644693672657,
-0.05008682236075401,
0.0016731213545426726,
-0.03972763940691948,
0.057725414633750916,
0.01591372862458229,
0.0021189237013459206,
-0.010873653925955296,
0.015469015575945377,
0.03707680478692055,
0.05664415284991264,
-0.040983300656080246,
-0.006893042009323835,
0.006208533886820078,
0.04356437548995018,
0.010638218373060226,
0.007917624898254871,
-0.016977550461888313,
0.004373005125671625,
0.05207495018839836,
0.07582782208919525,
0.015381816774606705,
0.02997884713113308,
0.015817809849977493,
0.008998885750770569,
0.04046010971069336,
0.022828569635748863,
0.0001560035889269784,
0.022671611979603767,
0.009208162315189838,
0.02954285591840744,
-0.03433877229690552,
-0.03732096031308174,
-0.04785454273223877,
-0.018590722233057022,
-0.0505053773522377,
0.026299070566892624,
0.021520592272281647,
-0.015469015575945377,
0.002554916311055422,
-0.016175324097275734,
-0.023369200527668,
-0.029385898262262344,
-0.09808088093996048,
0.010978292673826218,
-0.003834554459899664,
0.08329201489686966,
-0.002881910651922226,
-0.03198441490530968,
0.06389907002449036,
0.0467732809484005,
0.009269201196730137,
0.007185157388448715,
0.005772541277110577,
0.06285268813371658,
0.06811947375535965,
-0.012739702127873898,
-0.044157326221466064,
0.034425970166921616,
0.11056771129369736,
0.00276201288215816,
-0.07582782208919525,
0.027101296931505203,
-0.003269944107159972,
0.035611871629953384,
0.00643524993211031,
0.037913911044597626,
-0.035664189606904984,
-0.024677177891135216,
0.05322597175836563,
-0.019358068704605103,
0.029856769368052483,
0.025427086278796196,
-0.014300555922091007,
0.04900556057691574,
0.0032808438409119844,
0.06930537521839142,
0.00874601025134325,
-0.04091354086995125,
0.011545082554221153,
0.014980703592300415,
-0.05981817841529846,
0.029490536078810692,
0.01637588068842888,
-0.01227755006402731,
-0.03847198188304901,
0.02884526737034321,
0.025531724095344543,
-0.03548979386687279,
-0.042169198393821716,
-0.009626715444028378,
-0.0030497678089886904,
-0.004482003394514322,
0.022793689742684364,
-0.0390300527215004,
0.060132093727588654,
0.009940629824995995,
0.018974395468831062,
0.03927420824766159,
-0.009774953126907349,
0.005048793740570545,
-0.042169198393821716,
-0.028234876692295074,
0.011614841409027576,
0.016428198665380478,
-0.023578476160764694,
0.04164600744843483,
-0.036832649260759354,
0.017361223697662354,
-0.07966455817222595,
0.05807420611381531,
-0.04035547003149986,
-0.04056474566459656,
0.043424855917692184,
0.030188124626874924,
0.02990908920764923,
-0.00738571397960186,
-0.042169198393821716,
-0.00993190985172987,
-0.005768181290477514,
0.054202593863010406,
0.0012327688746154308,
-0.02097996138036251,
0.01860816217958927,
-0.04635472595691681,
-0.01130092702805996,
-0.0025810757651925087,
-0.07596734166145325,
-0.052284225821495056,
-0.05667903274297714,
0.0252352487295866,
0.005510945804417133,
0.008964006789028645,
-0.003673237282782793,
-0.028705749660730362,
-0.018904637545347214,
-0.01475398801267147,
-0.05674878880381584,
-0.07694396376609802,
-0.009068644605576992,
-0.07275843620300293,
-0.03184489533305168,
0.004237847402691841,
0.030972911044955254,
-0.0737350583076477,
-0.0041201296262443066,
0.0069192019291222095,
0.006138775032013655,
0.004098330158740282,
0.025078291073441505,
0.030240442603826523,
-0.04115769639611244,
0.003653617575764656,
0.004756678827106953,
0.004996474366635084,
0.019166233018040657,
-0.0025614562910050154,
0.03958812355995178,
-0.03379814326763153,
0.070037841796875,
-0.031775135546922684,
0.0023870591539889574,
0.013367531821131706,
0.013315211981534958,
0.02690945938229561,
-0.006788404192775488,
-0.035175878554582596,
-0.048377733677625656,
0.006095175631344318,
0.005515305791050196,
0.02251465432345867,
0.014623190276324749,
-0.019741741940379143,
-0.021224116906523705,
-0.062085337936878204,
0.05919034779071808,
0.03311799466609955,
0.005493506323546171,
0.011771799065172672,
-0.014535991474986076,
-0.05172615498304367,
-0.05015658214688301,
-0.01519870012998581,
-0.019567346200346947,
-0.060829680413007736,
-0.032856397330760956,
0.04356437548995018,
0.027781445533037186,
0.008846288546919823,
0.0010763566242530942,
-0.026996659114956856,
0.015687011182308197,
0.018398884683847427,
0.060062333941459656,
0.041436731815338135,
0.01344600971788168,
0.07673469185829163,
0.052772536873817444,
-0.028583671897649765,
-0.010106307454407215,
0.0310775488615036,
-0.04597105458378792,
0.01789313368499279,
0.004800277762115002,
-0.023159924894571304,
0.07038663327693939,
0.01479758694767952,
-0.020700925961136818,
0.04747086763381958,
0.002146173268556595,
0.039518363773822784,
-0.00855417363345623,
-0.005423747468739748,
0.02366567589342594,
0.03627457842230797,
-0.030815953388810158,
0.01589628867805004,
-0.02417142689228058,
0.0017744896467775106,
0.014483672566711903,
0.08852392435073853,
-0.09145379811525345,
0.016550276428461075,
0.005789981223642826,
-0.03336215019226074,
-0.035611871629953384,
0.0005305484519340098,
0.0030061686411499977,
-0.06072504073381424,
-0.06313171982765198,
-0.025182928889989853,
-0.04499443247914314,
-0.03392022103071213,
0.0816875621676445,
0.003960992209613323,
0.014344154857099056,
0.020421890541911125,
0.05280741676688194,
-0.10540556162595749,
-0.08796585351228714,
-0.056155841797590256,
-0.0017069107852876186,
0.029002225026488304,
0.004131029359996319,
-0.032036732882261276,
0.03432133421301842,
-0.034984041005373,
0.006814563646912575,
-0.012190351262688637,
-0.018991835415363312,
-0.012146752327680588,
-0.009600555524230003,
-0.021520592272281647,
-0.03554211184382439,
-0.005816140677779913,
0.09054693579673767,
-0.006535528227686882,
-0.007028199732303619,
-0.012486826628446579,
-0.010027828626334667,
-0.008453895337879658,
-0.008222819305956364,
-0.026665303856134415,
0.02486901544034481,
0.01242578774690628,
0.016053246334195137,
-0.014876065775752068,
-0.03630945831537247,
-0.009766233153641224,
0.01754434034228325,
0.027484970167279243,
0.0065965671092271805,
0.03616994246840477,
-0.016585156321525574,
-0.058492761105298996,
0.03118218667805195,
-0.04865676909685135,
0.005903339013457298,
-0.07561855018138885,
0.08105973154306412,
-0.018573282286524773,
-0.021939145401120186,
0.030188124626874924,
0.028165118768811226,
0.01941038854420185,
-0.0005084762815386057,
-0.009347680024802685,
0.011710760183632374,
0.01110909041017294,
-0.01166716031730175,
-0.044889792799949646,
-0.023508718237280846,
0.035245638340711594,
0.024607419967651367,
0.0026857140474021435,
-0.017413541674613953,
0.005358348600566387,
-0.03606530278921127,
-0.0070020402781665325,
-0.030571797862648964,
-0.041401851922273636,
-0.04576177895069122,
0.007677828893065453,
0.023874951526522636,
-0.03433877229690552,
-0.03923932835459709,
0.0013711965875700116,
-0.003248144406825304,
-0.005009554326534271,
0.037565119564533234,
-0.06470129638910294,
0.03707680478692055,
0.01831168681383133,
-0.015041742473840714,
-0.010838774964213371,
-0.002404498867690563,
0.04230871796607971,
0.01708218827843666,
0.03472244739532471,
0.030502038076519966,
0.0389254130423069,
0.009626715444028378,
-0.023979589343070984,
0.008693691343069077,
0.07240964472293854,
0.03616994246840477,
-0.039099812507629395,
0.0427272692322731,
-0.026665303856134415,
-0.0008801599615253508,
0.032856397330760956,
-0.052772536873817444,
0.006365491077303886,
-0.04816845804452896,
-0.10038292407989502,
-0.02457254007458687,
-0.06417810171842575,
0.10017364472150803,
-0.06442225724458694,
-0.006893042009323835,
0.0389254130423069,
0.006374211050570011,
0.0544467493891716,
-0.025950277224183083,
-0.07519999146461487,
0.016271241009235382,
-0.006374211050570011,
-0.025845637544989586,
0.0019259970868006349,
-0.025095731019973755,
-0.04115769639611244,
-0.055841926485300064,
0.03578626736998558,
-0.05995769426226616,
0.01869536004960537,
0.010402781888842583,
0.052702780812978745,
-0.023037845268845558,
-0.02059628814458847,
-0.01593988761305809,
0.028897585347294807,
0.010219665244221687,
-0.04206456243991852,
-0.02143339440226555,
0.013393690809607506,
-0.02057884819805622,
-0.010263264179229736,
-0.009295361116528511,
-0.008000463247299194,
0.008196660317480564,
0.005279869772493839,
-0.07519999146461487,
-0.00611697556450963,
-0.02642114832997322,
-0.019933579489588737,
0.041471611708402634,
0.07910648733377457,
-0.018520964309573174,
-0.0008392856689170003,
-0.05664415284991264,
0.0156259723007679,
0.004425324499607086,
-0.08252467215061188,
-0.014849905855953693,
0.053539883345365524,
-0.0544467493891716,
-0.04035547003149986,
-0.02104971930384636,
0.02715361677110195,
-0.010280704125761986,
0.05667903274297714,
0.012007234618067741,
-0.04227383807301521,
0.0004343575856182724,
0.02371799387037754,
0.04195992276072502,
-0.025601482018828392,
-0.025950277224183083,
-0.030624115839600563,
-0.012835620902478695,
0.0065965671092271805,
0.07233988493680954,
0.0506797730922699,
-0.02769424580037594,
0.04391317069530487,
-0.03299591690301895,
0.008052782155573368,
0.021154358983039856,
-0.04509906843304634,
-0.04823821410536766,
-0.04823821410536766,
-0.006278292741626501,
-0.006640166509896517,
0.01676827296614647,
0.012547865509986877,
0.005380148068070412,
0.04039034992456436,
-0.06498032808303833,
0.02600259520113468,
0.015756770968437195,
-0.0348794050514698,
0.02261929400265217,
-0.01864304207265377,
0.030571797862648964,
-0.006714285351336002,
-0.001677481341175735,
0.03397253900766373,
0.023456398397684097,
0.010489980690181255,
0.044157326221466064,
-0.09487197548151016,
0.016053246334195137,
-0.052353985607624054,
0.07206084579229355,
0.03421669453382492,
-0.027380332350730896,
-0.04461075738072395,
-0.0034530609846115112,
-0.057411499321460724,
0.045726899057626724,
-0.012417067773640156,
-0.03575138747692108,
-0.0059861778281629086,
-0.0658174380660057,
-0.006897401995956898,
-0.04042522981762886,
-0.02690945938229561,
0.007708348333835602,
-0.010594618506729603,
-0.001288358005695045,
-0.0029146100860089064,
0.07227012515068054,
-0.010664377361536026,
0.046145450323820114,
-0.017335062846541405,
-0.00873293075710535,
0.027903523296117783,
0.06780555844306946,
0.018747679889202118,
0.08531501889228821,
-0.012626344338059425,
-0.002469897735863924,
0.04056474566459656,
-0.028653429821133614,
0.03071131557226181,
0.006382931023836136,
-0.03071131557226181,
0.023962151259183884,
0.01716066710650921,
-0.06264340877532959,
0.01205083355307579,
-0.0465988852083683,
-0.02179962769150734,
0.018747679889202118,
-0.030920591205358505,
0.04924971982836723,
0.006544248200953007,
0.040634505450725555,
-0.00184969836845994,
-0.023421520367264748,
-0.00912968348711729,
0.008702411316335201,
0.0389254130423069,
0.0077039883472025394,
0.004327225964516401,
0.01519870012998581,
-0.12626343965530396,
0.042169198393821716,
0.040983300656080246,
0.025095731019973755,
-0.04450611770153046,
-0.03118218667805195,
-0.03161817789077759,
-0.00184969836845994,
-0.039413727819919586,
0.004713079426437616,
-0.025880517438054085,
-0.020107977092266083,
0.0071241180412471294,
-0.05472578480839729,
-0.015599813312292099,
0.019253430888056755,
0.026386268436908722,
0.006871242541819811,
0.009399998933076859,
-0.009347680024802685,
0.023404080420732498,
-0.020038217306137085,
0.006657605990767479,
-0.051133204251527786,
0.0025810757651925087,
0.08475694805383682,
-0.023055285215377808,
0.03379814326763153,
-0.01500686351209879,
-0.01869536004960537,
0.00757755059748888,
0.00892476737499237,
0.013341371901333332,
-0.014937104657292366,
-0.04513394832611084,
-0.05210983008146286,
0.03543747588992119,
-0.046668641269207,
-0.007573190610855818,
0.00023870592121966183,
-0.00007405060750897974,
-0.029281258583068848,
0.014431353658437729,
-0.006840723101049662,
-0.06327123939990997,
0.01988125964999199,
0.010271984152495861,
0.03962300345301628,
-0.02842671424150467,
-0.01223395112901926,
0.04642448574304581,
-0.003250324400141835,
0.07596734166145325,
-0.0019434368005022407,
0.044122446328401566,
0.010132466442883015,
-0.004747958853840828,
0.001350486883893609,
-0.031775135546922684,
-0.013367531821131706,
0.001869318075478077,
-0.009984229691326618,
0.010856213979423046,
-0.018189609050750732,
0.018956955522298813,
0.005258070304989815,
-0.00018611432460602373,
0.09536028653383255,
0.011405564844608307,
0.03763487562537193,
-0.006260852795094252
] |
7,625 | emmett.app | _register_module | null | def _register_module(self, mod: AppModule):
self._modules[mod.name] = mod
| (self, mod: emmett.app.AppModule) | [
0.052273523062467575,
-0.005491926800459623,
0.055159792304039,
0.018404414877295494,
0.011313458904623985,
0.02244875207543373,
-0.014155185781419277,
0.11260009557008743,
0.004512021318078041,
-0.012133016251027584,
0.01722852699458599,
-0.032996103167533875,
0.0430089607834816,
0.05302181467413902,
0.0036390142049640417,
0.006676722317934036,
0.01493020262569189,
0.03887553885579109,
-0.04015832394361496,
-0.06214384734630585,
-0.0032158729154616594,
0.042510099709033966,
0.0010567393619567156,
-0.013540517538785934,
-0.031838033348321915,
0.03941003233194351,
0.04974358528852463,
0.016631675884127617,
-0.0060843247920274734,
-0.0842362716794014,
0.009977223351597786,
-0.11872895807027817,
0.04461244121193886,
-0.013389077968895435,
-0.02132631465792656,
-0.038626108318567276,
0.002739282324910164,
0.011464898474514484,
-0.06802328675985336,
-0.0009431593935005367,
0.05127580091357231,
-0.008934959769248962,
0.014199727214872837,
-0.020007897168397903,
0.009914865717291832,
0.04397105053067207,
-0.001130789052695036,
0.052451688796281815,
0.005073240026831627,
0.049244724214076996,
-0.060932330787181854,
-0.012952573597431183,
0.016168447211384773,
0.007242395076900721,
0.013112922199070454,
0.06855777651071548,
0.038127247244119644,
0.02191425859928131,
0.003768183523789048,
0.03222999349236488,
0.007340386044234037,
-0.010885863564908504,
0.027277017012238503,
-0.03680882975459099,
-0.0027170118410140276,
0.05287928506731987,
-0.014832211658358574,
-0.013691957108676434,
0.022822897881269455,
0.016498051583766937,
-0.013148555532097816,
-0.024551095440983772,
0.01892109215259552,
0.011634155176579952,
0.020114794373512268,
0.005790352821350098,
-0.022769449278712273,
-0.03267540782690048,
-0.022769449278712273,
0.0047659059055149555,
0.04753434285521507,
-0.005166776478290558,
-0.025014324113726616,
0.05954264476895332,
-0.04578832909464836,
-0.0029553070198744535,
-0.0765395537018776,
-0.02333957701921463,
0.014858935959637165,
-0.0038528116419911385,
0.0020188288763165474,
0.02262691780924797,
0.03075122833251953,
0.0003735891077667475,
0.01865384541451931,
-0.057939160615205765,
0.005242496263235807,
-0.012729868292808533,
-0.0201682448387146,
0.019794099032878876,
-0.02025732770562172,
-0.03105410747230053,
-0.08787082880735397,
-0.0025989776477217674,
0.006075416225939989,
-0.053520675748586655,
0.0006541985203512013,
-0.009220023639500141,
-0.014903477393090725,
-0.016524776816368103,
0.04365035146474838,
0.011830136179924011,
0.015803208574652672,
-0.022021157667040825,
-0.02708103507757187,
-0.018404414877295494,
0.06848651170730591,
-0.04368598386645317,
0.06292777508497238,
0.020203877240419388,
-0.03452831879258156,
0.03905370458960533,
0.009799058549106121,
-0.005621096584945917,
0.07233487069606781,
-0.006961785722523928,
0.027455180883407593,
0.01757594756782055,
0.006698993034660816,
-0.09236058592796326,
0.04208250343799591,
-0.0073492941446602345,
-0.031606417149305344,
-0.0174957737326622,
-0.01515290793031454,
-0.031927116215229034,
-0.041476741433143616,
0.03636341542005539,
-0.015028192661702633,
0.037414588034152985,
-0.07810740917921066,
0.043222758919000626,
-0.049779217690229416,
0.07244177162647247,
0.008890418335795403,
-0.08551906049251556,
-0.045396365225315094,
0.13533391058444977,
0.002521030604839325,
-0.010057397186756134,
-0.009540719911456108,
-0.013460343703627586,
0.044113580137491226,
0.06784512102603912,
-0.091362863779068,
0.04728491231799126,
0.04543200135231018,
0.03575765714049339,
0.02218150533735752,
-0.018012451007962227,
-0.0114203579723835,
-0.014092828147113323,
-0.00043789544724859297,
0.0026101130060851574,
-0.022502202540636063,
-0.0035944730043411255,
0.02155792899429798,
-0.02218150533735752,
-0.03712952509522438,
0.019829731434583664,
0.03319208323955536,
-0.05277238413691521,
0.002835045801475644,
-0.046607885509729385,
0.03196274861693382,
0.04974358528852463,
0.0012850129278376698,
-0.030466165393590927,
-0.0025744799058884382,
0.022840715944767,
0.04019395634531975,
0.05505289509892464,
-0.05059877783060074,
0.05498162657022476,
0.00008949992479756474,
-0.018422231078147888,
0.012453712522983551,
0.014912385493516922,
0.015455788001418114,
-0.005585463717579842,
0.01664058305323124,
-0.00219253939576447,
0.04393541440367699,
-0.02057802304625511,
-0.010315736755728722,
0.02544192038476467,
-0.023535557091236115,
0.007313661277294159,
-0.010030672885477543,
0.03709389269351959,
-0.06160935387015343,
0.0173532422631979,
-0.018849825486540794,
0.09307324141263962,
0.03905370458960533,
0.03354841470718384,
0.04878149554133415,
0.02013261243700981,
0.003944121301174164,
-0.043436553329229355,
0.007059776224195957,
-0.052451688796281815,
0.01082350593060255,
0.038804274052381516,
-0.02592296525835991,
0.026404010131955147,
0.027472997084259987,
-0.0023161412682384253,
0.019419953227043152,
-0.06135992333292961,
-0.04087098315358162,
0.05434023588895798,
-0.04108478128910065,
-0.03171331807971001,
0.01771847903728485,
-0.04689294844865799,
-0.0015923470491543412,
-0.009211115539073944,
-0.017255252227187157,
0.06770259141921997,
0.08088677376508713,
0.0738314539194107,
-0.02529938891530037,
-0.02797185815870762,
-0.0016201853286474943,
0.00554537633433938,
0.051382701843976974,
0.011099660769104958,
-0.0003053854452446103,
-0.03445705398917198,
0.052950549870729446,
0.06135992333292961,
-0.012774409726262093,
0.002014374593272805,
-0.019259603694081306,
-0.0038015893660485744,
-0.028898315504193306,
-0.003705825889483094,
-0.010716606862843037,
0.01753140613436699,
0.018974540755152702,
-0.008289112709462643,
0.004206913989037275,
-0.023090146481990814,
-0.0403364896774292,
-0.03709389269351959,
0.033673129975795746,
0.11217249929904938,
-0.01690782979130745,
0.008244571276009083,
-0.044113580137491226,
-0.00769671518355608,
0.014048286713659763,
-0.04635845497250557,
-0.006765804719179869,
0.012052842415869236,
0.03123227320611477,
0.037378955632448196,
0.006730171851813793,
0.015740850940346718,
0.10483211278915405,
0.009852508082985878,
0.006177861243486404,
-0.0007956167683005333,
0.012248823419213295,
-0.030858127400279045,
0.02248438633978367,
-0.007059776224195957,
-0.019259603694081306,
0.024301664903759956,
0.04635845497250557,
-0.09685033559799194,
0.027063218876719475,
0.08202703297138214,
-0.06706119328737259,
0.00010119198122993112,
0.03075122833251953,
0.07832120358943939,
0.022341854870319366,
-0.011910310946404934,
-0.010404818691313267,
0.03623870015144348,
-0.020774004980921745,
0.06656233221292496,
-0.03269322216510773,
0.02668907307088375,
-0.05658511072397232,
0.06948423385620117,
-0.008957230485975742,
0.012266639620065689,
-0.014262084849178791,
0.006151136476546526,
-0.04699984937906265,
-0.003587791696190834,
0.011010578833520412,
-0.0232861265540123,
-0.004402895458042622,
-0.0018718428909778595,
-0.05163213238120079,
0.030715595930814743,
-0.018003543838858604,
0.03533006086945534,
-0.011545073240995407,
0.0006402793806046247,
0.0014186364132910967,
0.05744029954075813,
0.06029093638062477,
0.012507162056863308,
0.021451029926538467,
0.027455180883407593,
-0.010208837687969208,
0.024871792644262314,
-0.020221693441271782,
-0.0064139291644096375,
0.07158657908439636,
0.029842587187886238,
0.06428182870149612,
-0.022680366411805153,
-0.010850230231881142,
-0.02141539752483368,
-0.04707111418247223,
0.05726213753223419,
0.02155792899429798,
0.02521030604839325,
-0.0037102799396961927,
-0.018261881545186043,
-0.01766503043472767,
-0.0901513397693634,
-0.0513114333152771,
-0.06873594224452972,
-0.021183783188462257,
-0.02766897901892662,
-0.04878149554133415,
-0.012872399762272835,
-0.009674343280494213,
0.00014079187531024218,
-0.047320544719696045,
0.00688161188736558,
-0.06934170424938202,
0.01619517244398594,
0.00781252235174179,
-0.0027170118410140276,
-0.004908437840640545,
-0.01106402836740017,
0.0004128410364501178,
0.02980695478618145,
-0.0070998636074364185,
0.005385028198361397,
-0.03769965097308159,
-0.035365693271160126,
0.00501979049295187,
0.0753280371427536,
0.00807531550526619,
-0.020417675375938416,
-0.002906311769038439,
0.020382042974233627,
-0.030804676935076714,
0.009424912743270397,
0.0640680268406868,
-0.09385716915130615,
-0.008035228587687016,
-0.0014364529633894563,
0.014591689221560955,
0.047142378985881805,
-0.03823414444923401,
0.03360186144709587,
0.034955915063619614,
-0.012079566717147827,
-0.08024538308382034,
-0.04468370974063873,
0.054375868290662766,
0.010680974461138248,
0.03012765198945999,
-0.02173609472811222,
0.011153110302984715,
-0.042011238634586334,
0.04176180809736252,
-0.003939667250961065,
-0.000282697263173759,
-0.040443386882543564,
-0.016925647854804993,
-0.016578225418925285,
-0.06595657020807266,
0.050527509301900864,
-0.014484790153801441,
-0.05911504849791527,
-0.05911504849791527,
0.014645138755440712,
-0.05017118155956268,
0.02859543450176716,
0.047142378985881805,
-0.015331072732806206,
0.04176180809736252,
-0.028898315504193306,
0.01575866900384426,
0.049458522349596024,
-0.00839155726134777,
-0.007010781206190586,
0.04621592536568642,
-0.0012805587612092495,
-0.004605557769536972,
0.05323561280965805,
-0.06278524547815323,
-0.09962970018386841,
0.02096998505294323,
-0.06780948489904404,
0.03647031635046005,
-0.0009682138334028423,
-0.011055120266973972,
-0.004391760099679232,
0.04756997525691986,
0.010458268225193024,
-0.01699691265821457,
0.004331629257649183,
-0.016533683985471725,
0.02574479952454567,
0.012266639620065689,
0.0314282551407814,
-0.05434023588895798,
0.0220924224704504,
-0.08131437003612518,
0.07939019054174423,
0.006939515471458435,
-0.034332338720560074,
0.008440553210675716,
-0.07753727585077286,
0.009046312421560287,
-0.015999190509319305,
-0.0732613280415535,
0.02971787191927433,
0.04667915403842926,
-0.013442526571452618,
0.021130334585905075,
-0.029325909912586212,
0.03260413929820061,
0.018083717674016953,
-0.03798471391201019,
0.009968315251171589,
0.02230622060596943,
-0.06827271729707718,
-0.02962879091501236,
-0.00783479306846857,
0.015518145635724068,
0.00038472440792247653,
0.02953970804810524,
-0.055623020976781845,
-0.002360682236030698,
-0.06189441680908203,
-0.0011680923635140061,
-0.008796881884336472,
-0.07418778538703918,
0.0275798961520195,
-0.020898720249533653,
0.0007254644297063351,
0.03998015820980072,
0.022840715944767,
0.048532065004110336,
-0.03994452580809593,
0.050670042634010315,
0.03955256566405296,
0.023054512217640877,
0.026582174003124237,
0.03702262416481972,
-0.026136761531233788,
-0.03891117125749588,
0.00814658123999834,
-0.041120413690805435,
-0.0005768082337453961,
0.022074606269598007,
0.00235400116071105,
-0.025495368987321854,
0.03851920738816261,
0.027330465614795685,
0.04069281741976738,
-0.030412714928388596,
0.024016601964831352,
0.013950296677649021,
-0.0513114333152771,
0.00011886926222359762,
-0.0036434682551771402,
-0.01445806585252285,
-0.025014324113726616,
-0.019437769427895546,
0.09499742090702057,
-0.004360581282526255,
-0.0015377841191366315,
-0.0010250038467347622,
0.020275143906474113,
0.05922194942831993,
0.031481701880693436,
-0.045004405081272125,
0.023767171427607536,
-0.0181638915091753,
-0.02034640870988369,
0.0075140963308513165,
-0.019117072224617004,
-0.01718398556113243,
-0.010680974461138248,
-0.012275547720491886,
0.010075214318931103,
-0.0031846940983086824,
-0.02387407049536705,
-0.04382851719856262,
-0.007229032926261425,
0.049066558480262756,
-0.00874343328177929,
-0.013781039975583553,
0.025905147194862366,
-0.004491977393627167,
-0.023001063615083694,
-0.003088930621743202,
-0.06239327788352966,
0.07165784388780594,
-0.0477481409907341,
0.008930506184697151,
-0.02239530347287655,
-0.02521030604839325,
0.019027991220355034,
-0.00914875790476799,
0.061823152005672455,
0.004841625690460205,
0.05181029438972473,
-0.029931670054793358,
-0.07311879843473434,
-0.014288809150457382,
0.018796376883983612,
0.03898243606090546,
-0.024871792644262314,
0.016898922622203827,
-0.0010879181791096926,
-0.0347064845263958,
-0.023499924689531326,
0.0824546217918396,
-0.030181100592017174,
-0.03221217915415764,
-0.00981687568128109,
-0.004320493899285793,
-0.014716404490172863,
-0.03837667778134346,
-0.043222758919000626,
-0.021165966987609863,
-0.013576150871813297,
-0.0530930832028389,
-0.013638508506119251,
0.017691755667328835,
-0.025335021317005157,
-0.0026101130060851574,
0.000007986093805811834,
-0.012248823419213295,
0.04593086242675781,
-0.02289416454732418,
0.0432940237224102,
-0.02458672970533371,
0.0025076682213693857,
-0.004284861031919718,
-0.0073359315283596516,
-0.043436553329229355,
-0.02651090733706951,
-0.03479556739330292,
0.02882704883813858,
0.03418980538845062,
-0.05095510557293892,
0.010725514963269234,
-0.015571595169603825,
0.007260211743414402,
0.052095361053943634,
0.036042720079422,
0.03110755793750286,
0.01709490269422531,
-0.022413119673728943,
-0.05954264476895332,
0.03627433255314827,
0.010770056396722794,
-0.0031668776646256447,
-0.04439864307641983,
-0.04920909181237221,
0.019259603694081306,
0.051062002778053284,
0.007643265649676323,
0.013246545568108559,
-0.00848064012825489,
-0.0030488434713333845,
0.058295492082834244,
-0.06980492919683456,
0.051560863852500916,
-0.03137480467557907,
-0.10561604052782059,
0.013059472665190697,
0.0005592701490968466,
0.027811510488390923,
0.026261476799845695,
0.004487523343414068,
-0.007816976867616177,
-0.06535081565380096,
0.02355337329208851,
0.0038528116419911385,
-0.007843701168894768,
-0.006921698804944754,
-0.022965431213378906,
0.05152523145079613,
-0.04382851719856262,
-0.03727205470204353,
0.024711444973945618,
0.02155792899429798,
0.005438477732241154,
-0.0007722326554358006,
-0.019580300897359848,
-0.02120159938931465,
0.07547056674957275,
0.0029798047617077827,
-0.04717801511287689,
0.030769044533371925,
-0.012551703490316868,
-0.011037303134799004,
0.01820843294262886,
-0.03034144826233387,
-0.019954446703195572,
0.007652174215763807,
0.020292960107326508,
-0.021807359531521797,
-0.05572991818189621,
-0.0007716758991591632,
0.04439864307641983,
-0.07440157979726791,
0.06349790096282959,
-0.03784218430519104,
-0.014262084849178791,
-0.02806094102561474,
0.020007897168397903,
0.06805891543626785,
0.0032693222165107727,
-0.04739181324839592,
-0.01515290793031454,
-0.054197702556848526,
0.01405719481408596,
0.06631290167570114,
-0.004523156210780144,
-0.024194767698645592,
-0.017014728859066963,
-0.07867753505706787,
0.019117072224617004,
-0.02811438962817192,
-0.045396365225315094,
0.039018068462610245,
0.0033606316428631544,
-0.012667510658502579,
-0.03459958732128143,
-0.004037657752633095,
-0.02120159938931465,
-0.004489750601351261,
0.036701928824186325,
-0.04920909181237221,
0.06403239816427231,
-0.03322771564126015,
0.05355631187558174,
-0.004169053863734007,
0.013727590441703796,
-0.012649694457650185,
-0.021094700321555138,
-0.028524169698357582,
0.002012147568166256,
-0.016391152516007423,
0.011268917471170425,
0.007487371563911438,
0.009095308370888233,
0.015429063700139523,
-0.030216732993721962,
0.059898972511291504,
0.02230622060596943,
0.05726213753223419,
-0.06292777508497238,
-0.008734524250030518,
0.015313256531953812,
0.010297919623553753,
-0.010101938620209694,
0.04439864307641983,
-0.05434023588895798,
0.008021865971386433,
0.02221713773906231,
-0.02239530347287655,
0.006609910633414984,
0.016711849719285965,
0.010912587866187096,
0.01281004212796688,
0.00999503955245018,
0.04261699691414833,
-0.006338209379464388,
-0.030858127400279045,
-0.004605557769536972,
0.02200334146618843,
0.023446474224328995,
-0.018404414877295494,
0.02301887981593609,
-0.04154800996184349,
-0.024266032502055168,
-0.03151733800768852,
-0.07008999586105347,
0.024194767698645592,
-0.07226360589265823,
-0.01562504470348358,
-0.009834691882133484,
-0.013397986069321632,
0.026671256870031357,
0.038447942584753036,
-0.006930606905370951,
-0.04315149039030075,
-0.03342369943857193,
-0.008948322385549545,
0.010458268225193024,
-0.038626108318567276,
0.0032381433993577957,
-0.014199727214872837,
-0.0025499823968857527,
0.015286531299352646,
0.037414588034152985,
-0.059507012367248535,
0.011358000338077545,
0.009665435180068016,
0.040443386882543564,
-0.01659604161977768,
-0.028809232637286186,
-0.00036106191691942513,
-0.0773947462439537,
0.07051759213209152,
0.03075122833251953,
-0.027740243822336197,
0.004251455422490835,
0.010404818691313267,
0.04161927476525307,
-0.01687219738960266,
-0.012275547720491886,
-0.00192417879588902,
0.0006709014414809644,
0.001276104710996151,
0.040443386882543564,
0.010413726791739464,
0.006552007049322128,
-0.036523763090372086,
-0.014155185781419277,
0.040764085948467255,
0.03823414444923401,
0.044149212539196014,
-0.030590880662202835,
0.05833112448453903,
0.041476741433143616,
0.01019992958754301,
-0.0262436605989933,
0.03622088581323624,
-0.016186263412237167,
-0.0275798961520195,
-0.018146075308322906,
-0.030715595930814743,
0.042510099709033966,
-0.07746601104736328,
0.02962879091501236,
0.025156855583190918,
-0.018636027351021767,
-0.022074606269598007
] |
7,626 | emmett.app | config_from_yaml | null | def config_from_yaml(self, filename: str, namespace: Optional[str] = None):
#: import configuration from yaml files
rc = read_file(os.path.join(self.config_path, filename))
rc = ymlload(rc, Loader=ymlLoader)
c = self.config if namespace is None else self.config[namespace]
for key, val in rc.items():
c[key] = dict_to_sdict(val)
| (self, filename: str, namespace: Optional[str] = None) | [
-0.013836714439094067,
-0.004725252278149128,
0.008364620618522167,
-0.054095007479190826,
-0.031315166503190994,
0.028166580945253372,
-0.04992218315601349,
0.023804079741239548,
0.023178156465291977,
-0.006942066363990307,
-0.07256925106048584,
-0.051705118268728256,
-0.0405522882938385,
0.05436055362224579,
0.054132942110300064,
0.008549553342163563,
0.013514268212020397,
0.05178098753094673,
-0.037289898842573166,
-0.010451034642755985,
0.08193914592266083,
-0.04597696289420128,
-0.03146690875291824,
0.03230147436261177,
0.0038503811229020357,
-0.022438427433371544,
-0.0032600208651274443,
0.0024610194377601147,
-0.02630777657032013,
0.030499570071697235,
-0.049960117787122726,
0.03342054784297943,
0.04753229022026062,
0.027957938611507416,
0.0031651838216930628,
-0.026876797899603844,
-0.01795263960957527,
0.0205796230584383,
-0.0760592520236969,
0.027199244126677513,
0.005059552378952503,
0.008853031322360039,
-0.0014095144579187036,
-0.0011089998297393322,
0.04123511537909508,
0.10249979794025421,
-0.001300451927818358,
-0.008065884001553059,
0.01467127911746502,
0.01795263960957527,
0.023178156465291977,
-0.034122344106435776,
-0.03436891734600067,
0.09051240235567093,
-0.0017876769416034222,
0.05591587722301483,
-0.016729241237044334,
0.03529832139611244,
0.014756632968783379,
-0.00035030406434088945,
-0.025454243645071983,
-0.04279044270515442,
0.024354133754968643,
-0.029987450689077377,
-0.00269336998462677,
0.00771972956135869,
0.015534295700490475,
0.0011012942995876074,
-0.030177123844623566,
-0.08178740739822388,
0.011171795427799225,
-0.012916795909404755,
0.03425511345267296,
-0.05974729359149933,
0.0007243173895403743,
0.011532175354659557,
-0.003964185249060392,
0.050794683396816254,
-0.0050880033522844315,
-0.023538535460829735,
-0.06475468724966049,
-0.002942316932603717,
-0.035544898360967636,
0.02788206934928894,
-0.014064323157072067,
0.004542691167443991,
0.0245627760887146,
0.03324984386563301,
0.007838275283575058,
-0.012300355359911919,
-0.032567016780376434,
0.042411092668771744,
0.01347633358091116,
0.03474826738238335,
0.029665004462003708,
-0.0023353605065494776,
0.0015541408210992813,
-0.015154948458075523,
0.0038385263178497553,
-0.019062230363488197,
-0.026193970814347267,
-0.037650275975465775,
0.04199381172657013,
-0.012641767971217632,
0.010650191456079483,
0.002589049283415079,
-0.012224485166370869,
0.032263536006212234,
-0.030366798862814903,
0.009227637201547623,
-0.07404870539903641,
-0.01639731228351593,
0.013153888285160065,
0.07355555146932602,
0.03214973211288452,
-0.056143488734960556,
0.0066243624314665794,
0.023178156465291977,
0.01818973198533058,
0.011285599321126938,
-0.0358104407787323,
-0.00021323500550352037,
0.026725059375166893,
0.018882041797041893,
0.021603861823678017,
-0.025700818747282028,
-0.012490029446780682,
-0.03835207223892212,
0.025700818747282028,
-0.008525843732059002,
0.02534043788909912,
-0.003243424464017153,
0.004006862174719572,
-0.03677777573466301,
0.07435218244791031,
-0.07317620515823364,
0.029892614111304283,
0.07025522738695145,
-0.017137041315436363,
0.06562718749046326,
0.06509609520435333,
0.04305598512291908,
0.025321470573544502,
-0.01693788357079029,
0.010498452931642532,
-0.056333161890506744,
-0.0201244056224823,
-0.004775041714310646,
-0.04263870418071747,
0.017706062644720078,
0.036682941019535065,
0.009853561408817768,
-0.01054587122052908,
0.0062829493544995785,
-0.005235000979155302,
-0.018863074481487274,
0.010659676045179367,
-0.006135952193289995,
0.0058561828918755054,
-0.006273465696722269,
-0.052387941628694534,
0.02774929814040661,
0.021110709756612778,
-0.032282505184412,
-0.008952610194683075,
-0.03664500638842583,
-0.018625982105731964,
-0.023557504639029503,
0.025397341698408127,
-0.020484786480665207,
-0.06729631870985031,
-0.04798750579357147,
-0.0372709296643734,
0.026838863268494606,
-0.01370394229888916,
-0.06168196722865105,
0.005775571335107088,
-0.011579594574868679,
-0.0005595381371676922,
0.0008487909217365086,
-0.04669772461056709,
-0.021034840494394302,
0.03444478660821915,
0.0038124462589621544,
0.012025328353047371,
0.035544898360967636,
-0.018625982105731964,
0.09779588133096695,
0.03632256016135216,
-0.02742685191333294,
0.08239436149597168,
0.006534267216920853,
-0.033989571034908295,
0.013722909614443779,
0.028299352154135704,
-0.05659870430827141,
-0.05212239921092987,
0.012404675595462322,
0.049011748284101486,
0.029247721657156944,
0.0026459514629095793,
-0.01743103563785553,
0.03436891734600067,
0.01844579167664051,
-0.01883462257683277,
-0.011522691696882248,
-0.021812504157423973,
0.008070626296103,
0.025568047538399696,
-0.02281777560710907,
-0.03911076858639717,
-0.07920783758163452,
-0.02960810251533985,
-0.04184207320213318,
0.036531202495098114,
-0.02090206928551197,
-0.013191822916269302,
0.001640679663978517,
-0.039717722684144974,
-0.005936794448643923,
0.07211403548717499,
0.06392011791467667,
-0.026023264974355698,
-0.022685004398226738,
-0.031163427978754044,
0.023898916319012642,
0.03546902909874916,
-0.03467239812016487,
-0.0053962236270308495,
0.08368414640426636,
0.009379376657307148,
0.008445232175290585,
-0.023690275847911835,
-0.031941093504428864,
0.1401311159133911,
-0.019318291917443275,
0.014623860828578472,
-0.004585367627441883,
0.0125089967623353,
0.03565870225429535,
0.05625729262828827,
-0.05432261899113655,
-0.060468051582574844,
-0.045863159000873566,
-0.013760844245553017,
-0.008454715833067894,
-0.006595911458134651,
-0.01926138810813427,
-0.011143344454467297,
0.03664500638842583,
0.04385261610150337,
-0.028451090678572655,
-0.0063683027401566505,
0.09415414184331894,
-0.05834370478987694,
-0.023197123780846596,
0.01196842547506094,
-0.05068087577819824,
0.037157125771045685,
-0.026990601792931557,
0.04813924804329872,
-0.03279462456703186,
0.01100108865648508,
0.021926308050751686,
0.028564896434545517,
0.03835207223892212,
-0.03914870321750641,
-0.008435748517513275,
0.06581685692071915,
-0.02564391680061817,
0.08064936101436615,
0.07579370588064194,
0.044611312448978424,
-0.030822016298770905,
-0.003629885148257017,
0.007586957886815071,
0.032282505184412,
-0.059481747448444366,
0.04757022485136986,
0.009203928522765636,
0.053146637976169586,
-0.051249898970127106,
0.016321443021297455,
-0.026212938129901886,
0.09362305700778961,
-0.039034899324178696,
-0.05876098573207855,
-0.021584894508123398,
0.03216870129108429,
0.010451034642755985,
0.018322503194212914,
-0.016985300928354263,
0.006913615390658379,
-0.0337429940700531,
-0.017857801169157028,
-0.032263536006212234,
-0.08193914592266083,
-0.003392792772501707,
0.03880728781223297,
0.008231849409639835,
0.014016903936862946,
-0.045863159000873566,
0.04203174635767937,
0.04328359290957451,
0.03277565911412239,
0.004964715335518122,
-0.004656495526432991,
0.019991634413599968,
-0.037289898842573166,
-0.03103065676987171,
0.01513598021119833,
-0.008525843732059002,
-0.0011255963472649455,
0.011266632005572319,
-0.00786672718822956,
0.018047476187348366,
0.0048651364631950855,
-0.06539957225322723,
0.03882625699043274,
-0.05542272701859474,
-0.032548047602176666,
0.010024268180131912,
-0.03199799358844757,
-0.015742937102913857,
0.06706870347261429,
-0.021034840494394302,
0.07279685884714127,
-0.008084852248430252,
0.05276729166507721,
0.019033780321478844,
0.041273050010204315,
-0.01148475706577301,
-0.004187052138149738,
0.003902541473507881,
0.007961563766002655,
-0.04260076582431793,
-0.03260495141148567,
0.03831413760781288,
0.023898916319012642,
-0.04829098656773567,
0.021793536841869354,
-0.023823047056794167,
0.0009211041033267975,
-0.07427631318569183,
-0.006088533438742161,
-0.0019014813005924225,
-0.0245627760887146,
-0.02695266716182232,
-0.016406796872615814,
-0.059481747448444366,
-0.028147613629698753,
0.024600710719823837,
0.0716208815574646,
0.08193914592266083,
-0.07014142721891403,
-0.02439206838607788,
-0.0031082816421985626,
0.014348833821713924,
-0.015761904418468475,
-0.056333161890506744,
-0.020010601729154587,
-0.021319352090358734,
-0.04070402681827545,
0.0019050376722589135,
0.04373881220817566,
0.09195392578840256,
-0.0659685954451561,
-0.03569663688540459,
0.022419460117816925,
0.0004679611884057522,
-0.006230789236724377,
0.018901009112596512,
0.02960810251533985,
-0.015117012895643711,
0.03990739583969116,
-0.046356312930583954,
-0.06498229503631592,
0.0026151295751333237,
-0.007553764618933201,
0.01028981152921915,
0.05625729262828827,
0.03321190923452377,
-0.012224485166370869,
-0.004111182875931263,
0.010470001958310604,
-0.0035540154203772545,
0.0008049287716858089,
-0.039869461208581924,
-0.014073806814849377,
-0.0544743575155735,
-0.02137625403702259,
0.03584837540984154,
-0.002061518607661128,
0.054132942110300064,
-0.07120359688997269,
0.0005165651091374457,
-0.038750387728214264,
0.042411092668771744,
0.04070402681827545,
0.007079579867422581,
-0.030480602756142616,
-0.03687261417508125,
0.07165881246328354,
-0.00997684895992279,
0.02152799256145954,
0.052994899451732635,
-0.00022123687085695565,
0.02346266619861126,
-0.02549217827618122,
0.013647040352225304,
0.04404228925704956,
0.017658643424510956,
-0.023348862305283546,
0.01195894181728363,
0.005211291369050741,
-0.01773451454937458,
0.036075983196496964,
0.014310899190604687,
-0.010384648106992245,
-0.0037199801299721003,
-0.025226633995771408,
-0.03563973307609558,
0.005102228838950396,
-0.05261555314064026,
0.003591950284317136,
0.02391788363456726,
-0.011370953172445297,
-0.011996876448392868,
-0.0316755473613739,
-0.03387576714158058,
-0.10439653694629669,
0.029892614111304283,
0.028014840558171272,
-0.052501749247312546,
0.08747762441635132,
-0.015543779358267784,
0.022874677553772926,
-0.03685364872217178,
0.03814342990517616,
0.01799057424068451,
-0.0032979557290673256,
0.010602773167192936,
0.02898217923939228,
-0.023879949003458023,
-0.10424479842185974,
0.01650163345038891,
-0.06069566309452057,
0.016198154538869858,
0.028432123363018036,
-0.0290011465549469,
-0.06998968869447708,
-0.013874649070203304,
0.03216870129108429,
-0.028811471536755562,
0.015657583251595497,
-0.022153915837407112,
-0.003746060421690345,
-0.026668155565857887,
0.03104962408542633,
0.023178156465291977,
-0.021622829139232635,
-0.06088533625006676,
0.003964185249060392,
-0.009075897745788097,
0.0034923714119940996,
-0.059823162853717804,
0.012784023769199848,
0.06168196722865105,
0.022438427433371544,
0.020503753796219826,
-0.0041680848225951195,
0.0023981898557394743,
0.00010491340071894228,
0.005889376159757376,
-0.04309391975402832,
-0.002897269558161497,
0.08588436245918274,
0.03027196042239666,
-0.019052747637033463,
0.026023264974355698,
0.005453126039355993,
0.0125089967623353,
-0.06270620226860046,
0.014197094365954399,
0.040021203458309174,
-0.021926308050751686,
0.014785083942115307,
0.008762936107814312,
-0.01490837149322033,
0.05371566116809845,
-0.027199244126677513,
-0.02598533034324646,
-0.011342502199113369,
-0.010375164449214935,
-0.017487937584519386,
0.0001495164178777486,
0.028261417523026466,
0.06043011695146561,
0.023083318024873734,
-0.01758277416229248,
-0.027218211442232132,
-0.017706062644720078,
-0.03518451750278473,
0.04647011682391167,
-0.018388887867331505,
0.07067251205444336,
-0.05724359676241875,
0.03584837540984154,
0.029740873724222183,
-0.01758277416229248,
-0.003902541473507881,
-0.02059859037399292,
0.02374717779457569,
-0.013419431634247303,
0.013675491325557232,
-0.04150065779685974,
-0.05166718363761902,
0.05754707381129265,
0.005182840395718813,
-0.03677777573466301,
0.008388330228626728,
-0.05455022677779198,
0.014301415532827377,
0.08929849416017532,
-0.031239299103617668,
0.007771889679133892,
0.039376311004161835,
-0.017307747155427933,
-0.023519568145275116,
0.0026483223773539066,
0.013590138405561447,
-0.003089314326643944,
0.009706564247608185,
-0.027313048020005226,
-0.0027763524558395147,
0.015581713989377022,
0.004964715335518122,
0.003551644505932927,
-0.04305598512291908,
-0.003293213900178671,
0.018796687945723534,
0.017639676108956337,
0.08504979312419891,
0.08626370877027512,
-0.04768402874469757,
0.02188837341964245,
-0.026744026690721512,
-0.019593318924307823,
0.04426989704370499,
0.0001000974589260295,
0.04392848536372185,
-0.0074778953567147255,
0.03545005992054939,
-0.028735602274537086,
-0.018199214711785316,
-0.059974901378154755,
0.023709243163466454,
-0.04764609411358833,
0.016207639127969742,
-0.009232379496097565,
0.03290842846035957,
0.06483055651187897,
-0.020826198160648346,
0.04548381268978119,
0.010451034642755985,
-0.01829405128955841,
-0.012015844695270061,
-0.010242393240332603,
-0.056636638939380646,
0.052198268473148346,
0.0011125562014058232,
0.007534797303378582,
0.05041533336043358,
0.032889463007450104,
0.01947951316833496,
0.06399598717689514,
0.031903158873319626,
-0.015648100525140762,
-0.030499570071697235,
0.01179771963506937,
-0.021300382912158966,
-0.013533235527575016,
0.04077989608049393,
0.037005387246608734,
-0.009758724831044674,
0.03042370080947876,
-0.016605954617261887,
0.026838863268494606,
0.035544898360967636,
-0.004414660856127739,
0.03389473259449005,
0.01323924120515585,
-0.014272964559495449,
0.03233940899372101,
0.03199799358844757,
-0.07090011984109879,
0.017288779839873314,
-0.004796379711478949,
0.04764609411358833,
0.007980531081557274,
-0.023064350709319115,
-0.014348833821713924,
0.01322027388960123,
0.022533264011144638,
-0.06562718749046326,
-0.0408557690680027,
0.032567016780376434,
-0.031637612730264664,
0.027199244126677513,
0.027047503739595413,
0.01054587122052908,
-0.038579680025577545,
0.03856071084737778,
-0.0881604477763176,
0.0789802297949791,
-0.01831301860511303,
0.001113741658627987,
0.0018516918644309044,
-0.013609105721116066,
-0.1273091435432434,
-0.002958913566544652,
0.022893644869327545,
-0.0343499518930912,
0.061719901859760284,
0.007800341118127108,
0.0041016992181539536,
-0.026554351672530174,
-0.007008451968431473,
-0.0547778345644474,
-0.03275668993592262,
0.05542272701859474,
-0.034482721239328384,
0.011939974501729012,
-0.027483753859996796,
-0.03766924515366554,
0.016065383329987526,
0.05989903211593628,
0.042373158037662506,
-0.023348862305283546,
0.0182086993008852,
0.04328359290957451,
-0.10750719159841537,
0.009322474710643291,
-0.009137541987001896,
0.027332015335559845,
-0.020560655742883682,
0.0026838863268494606,
-0.023424731567502022,
0.020010601729154587,
-0.01543945912271738,
0.04578728973865509,
0.02598533034324646,
-0.023500600829720497,
0.03010125458240509,
-0.01773451454937458,
-0.026990601792931557,
0.0010194974020123482,
-0.0072408029809594154,
0.022552231326699257,
-0.022912612184882164,
-0.014955790713429451,
-0.0029873645398765802,
-0.07279685884714127,
0.029702939093112946,
-0.001454562065191567,
-0.051401637494564056,
0.03632256016135216,
-0.021679731085896492,
-0.010839865542948246,
0.04131098464131355,
-0.01100108865648508,
0.0072882212698459625,
-0.016710273921489716,
0.04153859242796898,
0.04669772461056709,
-0.05337424576282501,
-0.043966419994831085,
-0.036075983196496964,
-0.019517449662089348,
-0.021793536841869354,
-0.016558535397052765,
0.06297174841165543,
-0.023557504639029503,
-0.02217288315296173,
-0.045370008796453476,
-0.055688269436359406,
0.03930044174194336,
-0.00010906251554843038,
-0.020636525005102158,
0.02122451364994049,
-0.022590165957808495,
0.12738502025604248,
-0.036701906472444534,
0.039224572479724884,
-0.028299352154135704,
0.001206800458021462,
0.038712453097105026,
-0.027199244126677513,
-0.03846587613224983,
-0.0025487435050308704,
-0.017374133691191673,
-0.06741011887788773,
0.015192883089184761,
0.029247721657156944,
-0.03268082067370415,
-0.03055647201836109,
-0.056143488734960556,
0.024676579982042313,
-0.017706062644720078,
0.013599622063338757,
0.005590639542788267,
0.031599678099155426,
0.0029944772832095623,
-0.0017675240524113178,
0.00602688966318965,
0.06801707297563553,
-0.012736605480313301,
-0.015790356323122978,
-0.04195587709546089,
-0.023045383393764496,
-0.05117402970790863,
0.03814342990517616,
-0.01322975754737854,
-0.02581462450325489,
0.01947951316833496,
0.003705754643306136,
0.0019014813005924225,
0.01370394229888916,
-0.014045355841517448,
0.043966419994831085,
-0.0009673371096141636,
-0.02534043788909912,
-0.01513598021119833,
0.02092103660106659,
-0.045066528022289276,
-0.014860953204333782,
0.016862014308571815,
-0.001059210393577814,
0.01583777368068695,
-0.028394188731908798,
0.04218348488211632,
0.002600903855636716,
0.0010971452575176954,
0.055877942591905594,
-0.018369920551776886,
-0.017137041315436363,
-0.023386796936392784,
-0.0033098103012889624,
-0.016387829557061195,
0.019251905381679535,
-0.060278378427028656,
0.07628685981035233,
-0.01005271915346384,
0.051249898970127106,
-0.04859446361660957,
-0.052046529948711395,
0.008246074430644512,
-0.004379097372293472,
0.037024352699518204,
-0.05212239921092987,
-0.042069680988788605,
-0.01157011091709137,
-0.00007831459515728056,
0.03452065587043762,
0.04480098560452461,
0.007373574655503035,
0.025473210960626602,
0.018825137987732887
] |
7,627 | emmett.app | make_shell_context | null | def make_shell_context(self, context: Dict[str, Any] = {}) -> Dict[str, Any]:
context['app'] = self
return context
| (self, context: Dict[str, Any] = {}) -> Dict[str, Any] | [
0.013696988113224506,
-0.04532989487051964,
0.024848898872733116,
-0.08412513136863708,
0.06300786882638931,
0.015089903026819229,
0.016534406691789627,
0.0711933895945549,
0.04433250054717064,
-0.026826493442058563,
0.0009565536747686565,
-0.0008033976191654801,
-0.024384595453739166,
0.026654528453946114,
-0.018761349841952324,
-0.032243382185697556,
0.011685001663863659,
0.008060845546424389,
0.04447007179260254,
-0.04213135316967964,
0.04914751276373863,
-0.024522166699171066,
-0.004900993779301643,
-0.054134488105773926,
0.004051918163895607,
0.040549278259277344,
0.001641188166104257,
0.02849455177783966,
0.04299117624759674,
-0.02983587607741356,
-0.005958577152341604,
-0.04106517136096954,
0.03917355835437775,
-0.02051538974046707,
0.009535443037748337,
-0.03827934339642525,
-0.08206155896186829,
0.032724883407354355,
-0.015476822853088379,
-0.03920795023441315,
0.006461573764681816,
0.008254305459558964,
-0.040480490773916245,
0.024195432662963867,
-0.0004995037452317774,
0.004036871250718832,
0.014290266670286655,
0.017548996955156326,
0.10324760526418686,
0.0027170423418283463,
-0.02168474905192852,
-0.04870040342211723,
-0.02875249832868576,
0.039483096450567245,
-0.04993854835629463,
0.02971550077199936,
-0.023782718926668167,
0.011349670588970184,
-0.027136029675602913,
0.041099563241004944,
-0.027583139017224312,
0.04412614181637764,
0.03841691464185715,
-0.017901524901390076,
0.018228258937597275,
-0.0011177705600857735,
-0.04894115403294563,
0.03714437410235405,
-0.0021484841126948595,
-0.014591204933822155,
-0.01401512324810028,
-0.062491971999406815,
-0.005395392421633005,
0.004152947571128607,
0.013129505328834057,
-0.03406620770692825,
-0.06070353835821152,
-0.013009130023419857,
0.02890726551413536,
0.009578433819115162,
0.013636800460517406,
-0.013550818897783756,
-0.05784892663359642,
0.06465873122215271,
0.010498445481061935,
0.07869105041027069,
-0.041374705731868744,
0.019311636686325073,
-0.006354095879942179,
-0.010524239391088486,
0.0054727764800190926,
0.06355815380811691,
-0.040755633264780045,
0.03642212226986885,
0.026001062244176865,
-0.026826493442058563,
-0.018572187051177025,
0.007622335571795702,
0.005709228105843067,
0.016972916200757027,
-0.024298612028360367,
0.02147839218378067,
-0.003306021448224783,
-0.033017221838235855,
0.02177073061466217,
-0.0069129811599850655,
0.026843689382076263,
0.006749614607542753,
0.04340388998389244,
0.000964077131357044,
-0.02242419682443142,
0.004539868328720331,
-0.009724603965878487,
-0.010378070175647736,
-0.040205348283052444,
0.02902764081954956,
-0.013920542784035206,
0.00745896901935339,
0.06256075948476791,
-0.001968995900824666,
-0.06342057883739471,
0.01487494632601738,
0.06118503957986832,
-0.020412210375070572,
0.03391144052147865,
0.0752517506480217,
-0.020137066021561623,
-0.05200212448835373,
0.020377816632390022,
-0.017359836027026176,
0.048322081565856934,
0.009973952546715736,
0.015433832071721554,
-0.0764211118221283,
0.003910047467797995,
-0.02242419682443142,
-0.031142806634306908,
0.04550186172127724,
0.006943074986338615,
0.0713309571146965,
-0.03686923161149025,
0.020188655704259872,
-0.05293073505163193,
0.019793137907981873,
-0.03748830407857895,
-0.04388539120554924,
-0.0002364514657529071,
0.04484839364886284,
0.02887287363409996,
0.05341223627328873,
0.053893737494945526,
0.05843360722064972,
0.020223049446940422,
0.06053157523274422,
-0.023885896429419518,
0.055854134261608124,
-0.018950510770082474,
-0.018056293949484825,
0.03437574580311775,
-0.009114129468798637,
0.009552638977766037,
-0.05207091197371483,
0.005494272336363792,
-0.01047265063971281,
0.02128922939300537,
-0.008924967609345913,
0.03038616292178631,
-0.008262904360890388,
0.026568546891212463,
0.012931745499372482,
0.020309031009674072,
-0.05612928047776222,
0.016800951212644577,
0.009509648196399212,
0.011753787286579609,
0.05784892663359642,
-0.017420023679733276,
-0.03425537049770355,
0.02271653711795807,
0.03793541342020035,
-0.016070101410150528,
-0.01472877711057663,
-0.05279316380620003,
0.034238170832395554,
0.02942316047847271,
-0.03697241097688675,
0.026224616914987564,
0.06262954324483871,
0.05306830629706383,
0.003542472841218114,
-0.05633563548326492,
-0.0076395319774746895,
0.018211061134934425,
-0.024797309190034866,
-0.04154667258262634,
0.02194269560277462,
-0.04567382484674454,
-0.03353311866521835,
-0.05702349543571472,
0.017798347398638725,
-0.04911311715841293,
0.006930177565664053,
0.026035455986857414,
-0.004643046762794256,
0.05090155079960823,
0.03573426604270935,
-0.01095415186136961,
0.018916117027401924,
-0.017497409135103226,
-0.039104774594306946,
-0.013206888921558857,
-0.05733303353190422,
-0.0036456517409533262,
0.003957337699830532,
0.018640974536538124,
0.02187390998005867,
-0.002398907672613859,
-0.010154515504837036,
-0.02283691242337227,
0.007394482381641865,
-0.023559164255857468,
-0.0006061755702830851,
-0.017626382410526276,
-0.03153832629323006,
0.004845105577260256,
-0.03772905468940735,
0.041374705731868744,
-0.10214703530073166,
-0.026207420974969864,
0.02856333740055561,
0.003239385085180402,
-0.02201148122549057,
0.012312673032283783,
0.0058768936432898045,
-0.02156437374651432,
-0.05554459989070892,
0.02223503589630127,
-0.0062251221388578415,
-0.04508914425969124,
-0.015932530164718628,
0.05354980751872063,
0.05898389220237732,
0.04409174993634224,
-0.012708191759884357,
0.032054219394922256,
0.010059935040771961,
0.006319702602922916,
0.011366866528987885,
0.02954353578388691,
0.012493235990405083,
0.031882256269454956,
-0.03631894662976265,
-0.020377816632390022,
0.0018163771601393819,
-0.08199276775121689,
0.03704119846224785,
-0.0022634854540228844,
0.02930278517305851,
-0.02854614146053791,
-0.032002631574869156,
0.016276458278298378,
0.025536758825182915,
-0.02092810347676277,
0.04299117624759674,
-0.008538047783076763,
0.005455580074340105,
-0.007024758029729128,
-0.02825380116701126,
-0.0673069879412651,
0.003134056692942977,
0.024075059220194817,
0.08206155896186829,
0.02118605189025402,
0.006517462432384491,
-0.04192499443888664,
0.00367359584197402,
-0.02316364459693432,
0.017265256494283676,
-0.06317982822656631,
-0.038623273372650146,
0.04264724627137184,
-0.02966391108930111,
0.025175632908940315,
0.02278532274067402,
-0.01579495705664158,
-0.03566547855734825,
0.03478845953941345,
-0.012243886478245258,
0.030816074460744858,
-0.055131882429122925,
-0.013172496110200882,
0.06001568213105202,
-0.016620388254523277,
0.006431479938328266,
-0.005416888277977705,
0.03803859278559685,
-0.0721563920378685,
-0.0006341198459267616,
-0.016929924488067627,
0.013825962319970131,
0.05330905690789223,
-0.005717826541513205,
-0.027634726837277412,
0.053859345614910126,
-0.0008168323547579348,
0.055854134261608124,
0.04391978308558464,
-0.01108312513679266,
-0.02146119438111782,
-0.018451811745762825,
0.023937486112117767,
0.016852540895342827,
0.03441013768315315,
-0.013447639532387257,
-0.06314543634653091,
0.019586779177188873,
0.039758238941431046,
-0.03920795023441315,
0.005803808569908142,
0.06679108738899231,
-0.05685153231024742,
-0.03673166036605835,
-0.00392509438097477,
0.0039960299618542194,
0.0711245983839035,
0.06679108738899231,
0.030902057886123657,
-0.054272059351205826,
0.03659408912062645,
0.018486205488443375,
-0.05317148566246033,
0.0771089717745781,
0.005012771114706993,
-0.010764990001916885,
-0.019191261380910873,
-0.004819310735911131,
-0.014900741167366505,
0.012888754718005657,
-0.03542472794651985,
-0.08866500109434128,
0.020257441326975822,
0.0006491667591035366,
0.00016659080574754626,
-0.031503934413194656,
0.0031211592722684145,
-0.05368737876415253,
0.009535443037748337,
0.006943074986338615,
-0.0018711909651756287,
-0.08419391512870789,
-0.048872366547584534,
-0.003331816056743264,
0.03516678139567375,
-0.007282705046236515,
0.01079078484326601,
-0.027239209040999413,
-0.04505475237965584,
0.025244418531656265,
-0.011693599633872509,
-0.011813974939286709,
0.05220848321914673,
0.04536428675055504,
-0.009217307902872562,
0.03821055591106415,
-0.040274132043123245,
0.027067244052886963,
0.02259616181254387,
0.0069473739713430405,
0.007811496499925852,
-0.027290798723697662,
0.047978151589632034,
-0.003518827725201845,
0.05282755568623543,
0.001958247972652316,
0.00019413202244322747,
-0.02072174660861492,
-0.06029082462191582,
-0.06029082462191582,
-0.0738072469830513,
0.047015149146318436,
0.03504640609025955,
0.023524770513176918,
0.04453885927796364,
-0.007192423567175865,
-0.01095415186136961,
-0.039104774594306946,
-0.039964597672224045,
-0.012837165035307407,
0.02140960469841957,
0.007630933541804552,
-0.06551855057477951,
-0.01462559774518013,
-0.02782388962805271,
0.0758020430803299,
0.030300181359052658,
-0.02208026684820652,
-0.055131882429122925,
0.018365830183029175,
-0.012682396918535233,
0.023576360195875168,
0.05891510844230652,
-0.041477885097265244,
0.0753893256187439,
-0.0696800947189331,
0.04158106446266174,
-0.02139240875840187,
-0.010807981714606285,
0.024780113250017166,
0.02294009178876877,
-0.026276206597685814,
-0.05189894884824753,
-0.014169891364872456,
-0.047634221613407135,
0.0019980149809271097,
-0.02115165814757347,
-0.04202817380428314,
0.026929672807455063,
0.03475406765937805,
0.024969274178147316,
0.0030781682580709457,
0.010051337070763111,
0.018262650817632675,
0.027497155591845512,
0.003972384613007307,
-0.006203626748174429,
0.038864023983478546,
-0.01402372121810913,
-0.032518524676561356,
0.003140505403280258,
-0.03838252276182175,
-0.03838252276182175,
0.030902057886123657,
-0.02295728772878647,
0.0077040186151862144,
-0.00739878136664629,
-0.010378070175647736,
0.04371342808008194,
-0.05035126581788063,
-0.0010532838059589267,
0.0748390406370163,
-0.039998989552259445,
-0.03831373527646065,
0.04643046855926514,
0.05843360722064972,
-0.018589384853839874,
0.026602938771247864,
-0.0711933895945549,
0.012613611295819283,
-0.033395543694496155,
-0.026895279064774513,
0.06331740319728851,
-0.0029556432273238897,
0.024711327627301216,
-0.006298207212239504,
-0.027875477448105812,
-0.019827529788017273,
-0.06771969795227051,
-0.008873378857970238,
-0.04371342808008194,
0.0744951069355011,
-0.010283488780260086,
-0.046499256044626236,
-0.00567053584381938,
-0.009879372082650661,
-0.02244139276444912,
-0.019036492332816124,
0.01498672366142273,
0.014410641975700855,
-0.03790102154016495,
0.009148522280156612,
-0.020446602255105972,
0.026430973783135414,
0.017127685248851776,
0.013112308457493782,
-0.005937081295996904,
0.0688890591263771,
0.02961232140660286,
-0.06575930118560791,
-0.02856333740055561,
0.01107452716678381,
-0.033309563994407654,
0.024401791393756866,
-0.00180670409463346,
0.055097490549087524,
-0.06486508250236511,
0.014092507772147655,
0.062216829508543015,
-0.054684776812791824,
0.03889841586351395,
0.02316364459693432,
-0.020412210375070572,
0.05000733584165573,
-0.03745391219854355,
0.004075563512742519,
0.009784791618585587,
0.014178489334881306,
0.031022431328892708,
0.014402044005692005,
0.026379385963082314,
-0.017119085416197777,
-0.019225653260946274,
0.012166502885520458,
-0.02085931785404682,
0.02985307201743126,
0.019758744165301323,
-0.004561363719403744,
-0.08570721000432968,
-0.010464051738381386,
-0.06575930118560791,
0.006693725939840078,
-0.010515641421079636,
-0.009028146974742413,
0.04343828558921814,
-0.06407404690980911,
0.002508535049855709,
-0.054375238716602325,
-0.047599829733371735,
0.026723314076662064,
0.02130642719566822,
-0.02863212302327156,
-0.016293656080961227,
-0.010171712376177311,
0.047393471002578735,
-0.008305895142257214,
0.001417633960954845,
-0.040686849504709244,
0.061907291412353516,
0.02959512546658516,
0.02251018024981022,
0.05127987265586853,
-0.04539868235588074,
-0.009415067732334137,
0.017041701823472977,
-0.0022677844390273094,
0.018383026123046875,
0.031074021011590958,
-0.027514351531863213,
-0.040239740163087845,
0.0035510710440576077,
-0.02053258568048477,
0.003690792480483651,
-0.04154667258262634,
0.012183698825538158,
0.013757175765931606,
-0.032329365611076355,
-0.024539362639188766,
0.01122069638222456,
0.005012771114706993,
-0.061219435185194016,
-0.05712667480111122,
-0.019707154482603073,
-0.05090155079960823,
-0.01437624916434288,
0.08997192978858948,
-0.0753893256187439,
-0.04539868235588074,
0.04828768968582153,
0.019999494776129723,
-0.00367359584197402,
0.017540398985147476,
0.023232432082295418,
0.03841691464185715,
-0.05289634317159653,
-0.03800420090556145,
0.04395417869091034,
0.016654781997203827,
-0.06359254568815231,
0.02859772928059101,
-0.08935286104679108,
0.020068280398845673,
0.000008673805496073328,
-0.04543307423591614,
0.0708494558930397,
0.002624611370265484,
-0.002429001498967409,
0.030678503215312958,
0.04925069212913513,
0.09753838181495667,
0.031624309718608856,
-0.008241408504545689,
-0.04092760011553764,
0.02214905433356762,
-0.05079837143421173,
0.0015240372158586979,
-0.03731634095311165,
-0.017084693536162376,
0.03917355835437775,
0.032587312161922455,
0.055166278034448624,
0.00560175022110343,
-0.026018260046839714,
0.032793667167425156,
0.04185620695352554,
0.0029556432273238897,
0.038623273372650146,
-0.0694393441081047,
-0.04237210378050804,
-0.039242345839738846,
-0.02949194610118866,
0.010446855798363686,
-0.02789267525076866,
0.03437574580311775,
0.012983335182070732,
0.01589813642203808,
0.015390841290354729,
-0.030489342287182808,
-0.03131477162241936,
-0.003265179693698883,
-0.10627418756484985,
0.00719672255218029,
-0.004569962155073881,
-0.04422932118177414,
0.040824420750141144,
0.04852844029664993,
-0.024212630465626717,
0.040446098893880844,
-0.024539362639188766,
-0.0006072503747418523,
0.04391978308558464,
-0.05076397955417633,
-0.001321978634223342,
0.0029062035027891397,
-0.038967203348875046,
-0.0038197659887373447,
0.018228258937597275,
-0.0005540487472899258,
0.047221507877111435,
0.008795994333922863,
-0.08735806494951248,
-0.009165718220174313,
0.011237893253564835,
-0.032673291862010956,
0.039345525205135345,
-0.026482563465833664,
0.09217307716608047,
0.02828819304704666,
0.033240776509046555,
-0.0073299952782690525,
-0.0008093088981695473,
0.00524062430486083,
0.026465367525815964,
-0.06476190686225891,
-0.0009576284210197628,
-0.026104241609573364,
0.009896568953990936,
-0.017497409135103226,
0.02902764081954956,
0.03559669479727745,
-0.02115165814757347,
-0.012269681319594383,
0.01478896476328373,
-0.025915080681443214,
-0.039551880210638046,
0.03508079797029495,
0.011942948214709759,
0.06262954324483871,
-0.010188908316195011,
-0.03576865792274475,
-0.005313709378242493,
-0.0005798434722237289,
-0.025880686938762665,
0.04302556812763214,
-0.02263055555522442,
0.0038885518442839384,
0.009397870860993862,
0.002861062763258815,
0.006590547040104866,
-0.019586779177188873,
0.05024808645248413,
0.046499256044626236,
0.07944769412279129,
-0.039964597672224045,
-0.04460764303803444,
0.0011887060245499015,
-0.027170423418283463,
-0.02803024649620056,
-0.008224211633205414,
0.04529550299048424,
0.061528969556093216,
-0.054615989327430725,
-0.07986040413379669,
-0.018469009548425674,
0.025880686938762665,
-0.009879372082650661,
-0.01079078484326601,
-0.023541968315839767,
0.020498191937804222,
0.018383026123046875,
-0.017170675098896027,
-0.04560503736138344,
-0.020498191937804222,
0.02815062180161476,
0.004101358354091644,
0.03583744540810585,
-0.047462258487939835,
-0.046843186020851135,
-0.03903598710894585,
-0.12195736914873123,
0.020687352865934372,
0.01145284902304411,
0.011899957433342934,
0.0036929419729858637,
0.046602435410022736,
-0.04815011844038963,
0.009019549004733562,
-0.04226892441511154,
0.02283691242337227,
-0.011117517948150635,
0.0020560529083013535,
0.027256404981017113,
0.013636800460517406,
-0.005528665147721767,
0.0745638981461525,
0.04976658523082733,
-0.009526844136416912,
-0.025106847286224365,
-0.04333510622382164,
0.011306678876280785,
0.002992185764014721,
-0.05299952253699303,
-0.013310068286955357,
0.05213969945907593,
0.05207091197371483,
0.012493235990405083,
0.09045343101024628,
-0.020549781620502472,
-0.019380422309041023,
-0.024866096675395966,
0.04532989487051964,
-0.01496952772140503,
-0.027789495885372162,
-0.05664517357945442,
-0.04206256568431854,
0.045983362942934036,
0.06359254568815231,
0.0039895810186862946,
0.026344992220401764,
-0.02275093086063862,
-0.05072958767414093,
-0.013138103298842907,
0.027927067130804062,
0.03169309347867966,
-0.03449611738324165,
-0.01146144699305296,
0.04206256568431854,
-0.01078218687325716,
0.026207420974969864,
-0.04581139609217644,
0.012243886478245258,
0.04182181507349014,
0.00715803075581789,
0.0753893256187439,
-0.027376780286431313,
0.026878083124756813,
0.02966391108930111,
0.02247578650712967,
-0.0014692234108224511,
0.0034263967536389828,
0.024814506992697716,
0.03408340364694595,
-0.02220064215362072,
-0.03026578761637211,
-0.004236780572682619,
0.013714184984564781,
0.11500999331474304,
-0.03587183728814125,
0.047874972224235535,
0.011409858241677284
] |
7,628 | emmett.app | module | null | def module(
self,
import_name: str,
name: str,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
static_folder: Optional[str] = None,
static_path: Optional[str] = None,
url_prefix: Optional[str] = None,
hostname: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
root_path: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
injectors: Optional[List[Injector]] = None,
module_class: Optional[Type[AppModule]] = None,
**kwargs: Any
) -> AppModule:
module_class = module_class or self.config.modules_class
return module_class.from_app(
self,
import_name,
name,
template_folder=template_folder,
template_path=template_path,
static_folder=static_folder,
static_path=static_path,
url_prefix=url_prefix,
hostname=hostname,
cache=cache,
root_path=root_path,
pipeline=pipeline or [],
injectors=injectors or [],
opts=kwargs
)
| (self, import_name: str, name: str, template_folder: Optional[str] = None, template_path: Optional[str] = None, static_folder: Optional[str] = None, static_path: Optional[str] = None, url_prefix: Optional[str] = None, hostname: Optional[str] = None, cache: Optional[emmett.cache.RouteCacheRule] = None, root_path: Optional[str] = None, pipeline: Optional[List[emmett.pipeline.Pipe]] = None, injectors: Optional[List[emmett.pipeline.Injector]] = None, module_class: Optional[Type[emmett.app.AppModule]] = None, **kwargs: Any) -> emmett.app.AppModule | [
0.029088815674185753,
-0.07247932255268097,
-0.00023644580505788326,
-0.042382292449474335,
0.029518239200115204,
-0.02191929891705513,
-0.016728868708014488,
0.03409253805875778,
-0.09760996699333191,
-0.027819212526082993,
-0.009073917753994465,
-0.02654961124062538,
-0.013788247480988503,
0.04940244182944298,
-0.03909626230597496,
-0.008317758329212666,
0.05713207647204399,
0.002058434998616576,
0.04006713628768921,
-0.06433892995119095,
0.03280426561832428,
0.02051900327205658,
0.021265828981995583,
-0.006819441448897123,
0.007272203918546438,
-0.03351375088095665,
0.04604173079133034,
-0.006091287359595299,
-0.018847983330488205,
-0.030545122921466827,
0.04286772757768631,
-0.03250553831458092,
0.09260623902082443,
0.046713873744010925,
0.03672509640455246,
-0.07012682408094406,
0.007594272028654814,
-0.024197114631533623,
-0.038610827177762985,
-0.05504096671938896,
0.09798337519168854,
0.026437588036060333,
0.04107534885406494,
-0.014329695142805576,
0.017830435186624527,
0.022516759112477303,
0.018679948523640633,
-0.019921544939279556,
-0.02738978900015354,
0.05041065439581871,
-0.002697903662919998,
0.04436137527227402,
-0.0010251333005726337,
0.024925269186496735,
0.05433148518204689,
0.03433525562286377,
0.014058971777558327,
-0.01011947263032198,
-0.0325428768992424,
0.012686681933701038,
-0.018782636150717735,
-0.0014994835946708918,
0.0331963486969471,
-0.0264002475887537,
0.0025998828932642937,
0.06549651175737381,
-0.026008164510130882,
0.0264002475887537,
-0.01607539691030979,
-0.0182131826877594,
-0.0060819522477686405,
0.02346896007657051,
0.03545549511909485,
-0.005619854666292667,
0.028976790606975555,
0.002567209303379059,
0.007052823901176453,
-0.062285166233778,
-0.00394416693598032,
0.012201245874166489,
0.02038830891251564,
-0.006235984619706869,
-0.056198544800281525,
-0.003587091574445367,
0.02092975750565529,
-0.01306942943483591,
-0.07359955459833145,
-0.028099272400140762,
0.032020099461078644,
0.003582423785701394,
-0.016952916979789734,
0.014404377900063992,
-0.027464471757411957,
0.0519416444003582,
0.024495843797922134,
-0.07012682408094406,
0.01635545678436756,
0.015179208479821682,
0.006179973017424345,
0.057318780571222305,
0.016672857105731964,
-0.010156813077628613,
-0.08506331592798233,
0.00047580889076925814,
-0.014787125401198864,
-0.031908076256513596,
-0.003096987958997488,
0.04902902990579605,
0.02204999327659607,
-0.02877141535282135,
-0.006399352569133043,
0.006030607968568802,
-0.03935765102505684,
-0.02989165112376213,
-0.043801259249448776,
-0.008672500029206276,
0.009274627082049847,
-0.000024140519599313848,
0.07968617975711823,
-0.03786400333046913,
-0.04424935206770897,
0.011977198533713818,
0.01382558885961771,
-0.026773659512400627,
0.09253155440092087,
0.02402907982468605,
0.013181452639400959,
-0.097834013402462,
0.049365099519491196,
-0.05141886696219444,
0.02849135547876358,
0.018670612946152687,
-0.022740807384252548,
-0.014301689341664314,
-0.032748255878686905,
0.00870517361909151,
-0.03351375088095665,
0.02892077900469303,
-0.0072955419309437275,
0.06557119637727737,
-0.05903647840023041,
0.012798705138266087,
0.0072675361298024654,
0.09335306286811829,
-0.0027165741194039583,
-0.10224027931690216,
0.00807037204504013,
0.012864052318036556,
-0.06844646483659744,
0.025205327197909355,
0.0094846710562706,
-0.008700505830347538,
0.019324084743857384,
0.01778375916182995,
-0.010791614651679993,
0.05657195672392845,
0.046415142714977264,
0.030806511640548706,
-0.015076519921422005,
-0.036090295761823654,
-0.013713565655052662,
0.0011628291103988886,
0.034017857164144516,
0.009181274101138115,
-0.03032107464969158,
-0.040291182696819305,
0.044622763991355896,
-0.0025835460983216763,
-0.03816273435950279,
0.002858937717974186,
0.031628020107746124,
-0.006511376239359379,
0.014385707676410675,
-0.019641485065221786,
-0.032038770616054535,
0.0006733089685440063,
-0.03646370768547058,
0.02331959642469883,
0.013498852960765362,
0.013564200140535831,
0.002777253743261099,
0.016784880310297012,
-0.05003724247217178,
0.019324084743857384,
0.016672857105731964,
0.04764740541577339,
-0.020631026476621628,
0.08543672412633896,
-0.002996633294969797,
0.022554099559783936,
-0.054928943514823914,
-0.06699015945196152,
0.08618354797363281,
-0.007631612941622734,
-0.04536958783864975,
0.005078406538814306,
-0.053696684539318085,
-0.008775187656283379,
0.009783401153981686,
0.07292741537094116,
-0.06254655122756958,
0.015673980116844177,
-0.012640004977583885,
0.06493639200925827,
0.02162056975066662,
0.011865174397826195,
0.03310299664735794,
-0.02290884219110012,
0.04480947181582451,
-0.025802787393331528,
-0.02038830891251564,
-0.026624293997883797,
0.03709850832819939,
0.05705739185214043,
-0.009596695192158222,
-0.0019545797258615494,
0.020014896988868713,
0.009559353813529015,
0.06620599329471588,
-0.004387593828141689,
-0.015309902839362621,
0.11217304319143295,
-0.017699740827083588,
0.005274448078125715,
-0.01823185384273529,
-0.004053856711834669,
-0.053547319024801254,
0.0010811451356858015,
-0.013797583058476448,
0.046564508229494095,
0.03603428229689598,
-0.016644852235913277,
0.04592970758676529,
0.0010578068904578686,
0.002109779277816415,
-0.02931286208331585,
0.03314033895730972,
0.01011947263032198,
-0.042120903730392456,
-0.017345000058412552,
0.03463398665189743,
0.11053002625703812,
-0.013713565655052662,
-0.025653421878814697,
-0.006114625837653875,
-0.012117227539420128,
-0.06560853123664856,
-0.052837833762168884,
-0.00736555689945817,
-0.030227722600102425,
-0.006151966750621796,
0.014086977578699589,
0.002078272635117173,
0.04077661782503128,
-0.0016045058146119118,
0.017681069672107697,
-0.00007913130684755743,
-0.006516044028103352,
-0.026306893676519394,
0.047535382211208344,
0.004669987130910158,
-0.04813284054398537,
0.0049570477567613125,
-0.046713873744010925,
0.05433148518204689,
-0.026045504957437515,
-0.008831200189888477,
-0.01913737878203392,
0.011024996638298035,
-0.008565143682062626,
0.09910361468791962,
0.06646738201379776,
0.045332249253988266,
0.018735960125923157,
-0.040403205901384354,
-0.05967127904295921,
0.02050033211708069,
-0.009475336410105228,
0.006413355469703674,
0.04436137527227402,
0.012341274879872799,
-0.07819252461194992,
-0.007514921948313713,
0.01814783550798893,
0.03327103331685066,
0.021564558148384094,
-0.030078357085585594,
0.035660870373249054,
0.020873745903372765,
0.044622763991355896,
0.03760261461138725,
-0.013106769882142544,
-0.0301717109978199,
-0.05485426262021065,
-0.07546661794185638,
-0.0027865890879184008,
-0.04010447487235069,
0.031908076256513596,
-0.018418559804558754,
-0.031235935166478157,
0.059148501604795456,
-0.03439126908779144,
-0.025317350402474403,
0.017961129546165466,
-0.03099321760237217,
-0.021321840584278107,
-0.01487114280462265,
0.015459267422556877,
-0.002305820817127824,
0.035268787294626236,
0.008527802303433418,
0.017681069672107697,
0.038760192692279816,
-0.010446207597851753,
-0.006030607968568802,
0.013900271616876125,
0.09529481083154678,
0.023151559755206108,
0.0018903996096923947,
0.01829720102250576,
0.007472912780940533,
0.03687446191906929,
-0.05881243199110031,
0.006553384941071272,
0.04171014949679375,
-0.00039558360003866255,
0.013218794018030167,
0.026325564831495285,
0.005367801059037447,
-0.00003941978866350837,
-0.033569760620594025,
0.06101556494832039,
0.01756904646754265,
0.025466715916991234,
-0.04096332564949989,
-0.04275570437312126,
0.0157299917191267,
-0.07991022616624832,
-0.04424935206770897,
-0.04436137527227402,
0.06713952124118805,
-0.02163924090564251,
-0.029256850481033325,
0.011771821416914463,
-0.06568321585655212,
0.012640004977583885,
0.010371525771915913,
-0.02470122091472149,
-0.004403930623084307,
-0.003075983375310898,
0.008807861246168613,
0.02780054323375225,
-0.017699740827083588,
-0.014058971777558327,
0.04148610308766365,
-0.0189693421125412,
-0.014777789823710918,
0.010268837213516235,
-0.027315106242895126,
-0.06979075074195862,
-0.0033280367497354746,
0.014199000783264637,
-0.01793312467634678,
-0.011137020774185658,
-0.03263623267412186,
-0.025186656042933464,
-0.0357728935778141,
0.007150844670832157,
-0.03138529881834984,
0.01653282716870308,
-0.03144131228327751,
-0.052427079528570175,
0.02290884219110012,
-0.008159058168530464,
0.02738978900015354,
-0.009596695192158222,
-0.04536958783864975,
-0.05377136543393135,
-0.06392817944288254,
-0.022442076355218887,
-0.011193032376468182,
0.05672132223844528,
0.0362023189663887,
-0.015095190145075321,
0.01831587217748165,
-0.029275521636009216,
0.0011278217425569892,
-0.008574479259550571,
-0.04297975078225136,
-0.03827475756406784,
0.008817196823656559,
-0.005755216348916292,
-0.030825182795524597,
0.028416672721505165,
0.011174362152814865,
-0.017979800701141357,
-0.05533969774842262,
0.0387975350022316,
0.003778465325012803,
0.0037317888345569372,
0.060828857123851776,
-0.009876754134893417,
0.06784901022911072,
-0.021433863788843155,
-0.012453299015760422,
-0.019510790705680847,
0.05261378735303879,
-0.046713873744010925,
-0.00247618998400867,
0.01395628321915865,
-0.00013813335681334138,
0.059111159294843674,
-0.08842401951551437,
-0.07871530205011368,
0.013013416901230812,
-0.004228893667459488,
0.05052267760038376,
-0.0018495576223358512,
-0.013648218475282192,
-0.043651893734931946,
-0.007197521161288023,
0.0053911395370960236,
0.05978330224752426,
-0.05702005326747894,
-0.011715809814631939,
0.06684079766273499,
-0.0396563820540905,
0.019174719229340553,
-0.07471979409456253,
0.029238179326057434,
-0.04395062476396561,
-0.02653094194829464,
-0.022236699238419533,
0.024234455078840256,
0.0362023189663887,
-0.046975262463092804,
0.07124705612659454,
-0.027725860476493835,
-0.005820563528686762,
-0.04831954464316368,
0.07064960151910782,
-0.05799092352390289,
0.08633291721343994,
0.010875632055103779,
-0.04200888052582741,
-0.00034423943725414574,
-0.06564587354660034,
-0.024925269186496735,
0.009302632883191109,
-0.0482822060585022,
0.027987249195575714,
0.010156813077628613,
0.015496608801186085,
0.012705352157354355,
-0.047946132719516754,
-0.0025835460983216763,
0.045593637973070145,
-0.042531657963991165,
-0.022983524948358536,
0.030955877155065536,
-0.04604173079133034,
0.0024225120432674885,
0.011902515776455402,
-0.01952946186065674,
0.04297975078225136,
0.017597053200006485,
0.06019405648112297,
-0.030059687793254852,
0.013909606263041496,
0.004399263300001621,
0.021321840584278107,
-0.05074672773480415,
0.021900629624724388,
0.07841657102108002,
-0.03043309971690178,
0.008532470092177391,
0.018399888649582863,
0.010446207597851753,
0.03894690051674843,
0.0019137378549203277,
0.018885325640439987,
0.024103760719299316,
-0.009942101314663887,
0.05765485391020775,
-0.05220303311944008,
-0.01924940198659897,
0.04115002974867821,
-0.006455364637076855,
0.0012777700321748853,
-0.02666163444519043,
-0.030078357085585594,
0.009008570574223995,
0.045743003487586975,
0.047012604773044586,
-0.057468146085739136,
0.011995868757367134,
0.04746069759130478,
-0.01838121935725212,
0.04648982733488083,
0.012705352157354355,
-0.042232926934957504,
0.02386104315519333,
-0.0015916697448119521,
-0.00970871839672327,
-0.009115926921367645,
0.014591083861887455,
0.00673542357981205,
-0.03743457794189453,
-0.008821864612400532,
0.005540504585951567,
-0.045481614768505096,
-0.024775903671979904,
-0.04536958783864975,
0.03905892372131348,
0.0022953185252845287,
-0.021844618022441864,
-0.05179227888584137,
0.023991737514734268,
-0.04585502669215202,
-0.029294190928339958,
0.023935725912451744,
-0.025336021557450294,
-0.010903637856245041,
-0.004193886648863554,
-0.04200888052582741,
-0.010558231733739376,
0.07318880409002304,
0.018521247431635857,
0.00801902823150158,
0.0997757539153099,
0.0008460121462121606,
0.04458542540669441,
-0.009358644485473633,
-0.0415981262922287,
0.006600061897188425,
0.011024996638298035,
-0.09902893006801605,
0.07744570076465607,
-0.05784155800938606,
0.0034750679042190313,
-0.0312546044588089,
-0.004308243747800589,
0.035959601402282715,
-0.03472733870148659,
-0.014068306423723698,
-0.026437588036060333,
-0.026176199316978455,
0.025317350402474403,
-0.018549254164099693,
-0.04200888052582741,
0.028678061440587044,
-0.012369280681014061,
-0.01836254820227623,
-0.00279125664383173,
0.06452564150094986,
-0.0014761453494429588,
-0.028173955157399178,
0.031067900359630585,
-0.030190380290150642,
0.006221981719136238,
0.011407744139432907,
0.027893895283341408,
0.01646747998893261,
0.0006178806070238352,
-0.0155712915584445,
0.021284498274326324,
-0.025765445083379745,
-0.059409890323877335,
-0.012369280681014061,
0.016607509925961494,
-0.012182574719190598,
-0.025802787393331528,
0.01479646097868681,
0.00610529026016593,
0.037770651280879974,
0.09335306286811829,
0.07662419229745865,
0.0426810197532177,
0.030955877155065536,
-0.020182931795716286,
0.05407009646296501,
-0.010950314812362194,
-0.021303169429302216,
0.004901035688817501,
-0.07766974717378616,
-0.047012604773044586,
0.0536593422293663,
-0.0035427487455308437,
0.02651227079331875,
0.014675102196633816,
-0.0039535025134682655,
-0.020761720836162567,
0.07266602665185928,
0.03252420946955681,
0.04368923604488373,
0.032057441771030426,
-0.08259879052639008,
0.009662042371928692,
0.056646641343832016,
0.005288450978696346,
-0.0394323356449604,
0.015337908640503883,
-0.017363669350743294,
-0.03030240535736084,
0.027445800602436066,
0.062210481613874435,
-0.020761720836162567,
-0.030675817281007767,
0.013293476775288582,
0.03629567101597786,
0.03603428229689598,
-0.09014172106981277,
-0.051045455038547516,
0.031086571514606476,
0.008014360442757607,
-0.004420267418026924,
-0.030358416959643364,
-0.004350252915173769,
0.054518189281225204,
-0.057878900319337845,
0.028790084645152092,
0.05011192336678505,
0.006165970116853714,
0.01719563454389572,
0.004770341794937849,
0.026717647910118103,
0.012742693535983562,
0.022012652829289436,
-0.01515120267868042,
0.016504822298884392,
-0.018735960125923157,
-0.019492119550704956,
-0.006030607968568802,
0.007048156578093767,
0.03950701653957367,
-0.016028720885515213,
0.009615365415811539,
0.0014854806941002607,
0.03806937858462334,
0.032878950238227844,
0.03924562782049179,
-0.03196408972144127,
-0.013358823955059052,
-0.05123216286301613,
0.015412591397762299,
-0.01249064039438963,
0.03633301332592964,
-0.03237484395503998,
0.003412054618820548,
-0.04204621911048889,
-0.05937254801392555,
0.03032107464969158,
-0.0528004951775074,
-0.0005755799938924611,
-0.03435392677783966,
0.025634750723838806,
-0.019100036472082138,
-0.052576445043087006,
-0.02345029078423977,
-0.02124715782701969,
-0.03418589383363724,
-0.0530245415866375,
0.0556010864675045,
-0.0657205581665039,
0.020462991669774055,
0.003930164035409689,
0.030899863690137863,
-0.023543642833828926,
0.008313090540468693,
-0.01913737878203392,
-0.03704249486327171,
0.006866117939352989,
0.0046046399511396885,
-0.02442116104066372,
0.029835639521479607,
0.035268787294626236,
-0.021900629624724388,
-0.03465265780687332,
0.012602663598954678,
0.022012652829289436,
-0.03226282075047493,
0.00866316445171833,
0.01629010960459709,
0.0241411030292511,
-0.01984686218202114,
0.003463398665189743,
-0.0192867424339056,
-0.018521247431635857,
0.038760192692279816,
0.039880428463220596,
0.027539154514670372,
0.06971606612205505,
-0.005302453879266977,
-0.007318880409002304,
0.020014896988868713,
0.014777789823710918,
0.022740807384252548,
-0.06277059763669968,
-0.0405152291059494,
0.008821864612400532,
-0.010240831412374973,
-0.04316645860671997,
-0.016392799094319344,
0.0010543061653152108,
-0.054966285824775696,
0.00258121220394969,
-0.028435343876481056,
-0.003206677734851837,
-0.052165690809488297,
0.013424171134829521,
-0.030769169330596924,
0.004683990031480789,
0.07038821280002594,
0.035828907042741776,
0.027464471757411957,
-0.038200072944164276,
-0.02582145854830742,
0.05332326889038086,
0.015879357233643532,
-0.04346518591046333,
0.004399263300001621,
0.020631026476621628,
-0.0055731781758368015,
-0.005367801059037447,
-0.02206866443157196,
-0.09275560826063156,
-0.039880428463220596,
-0.02892077900469303,
0.007748304400593042,
0.013657553121447563,
-0.009671377949416637,
-0.008747181855142117,
0.003325702855363488,
0.040851302444934845,
0.10395797342061996,
-0.0033420396503061056,
0.03532480075955391,
-0.048655617982149124,
-0.00795368105173111,
-0.03433525562286377,
0.003990843426436186,
0.023786360397934914,
-0.09790869802236557,
-0.021751264110207558,
0.01803581230342388,
0.01890399493277073,
0.03355109319090843,
-0.03198276087641716,
0.0007234862423501909,
0.006091287359595299,
-0.013881600461900234,
0.027128400281071663,
0.020985769107937813,
0.04507086053490639,
-0.0008127551409415901,
0.01691557466983795,
-0.021415192633867264,
0.0405152291059494,
-0.023263582959771156,
-0.046975262463092804,
0.016850227490067482,
-0.03545549511909485,
0.014525736682116985,
-0.03935765102505684,
0.013312146998941898,
0.004093531984835863,
0.017008928582072258,
-0.013676224276423454
] |
7,629 | emmett.app | module_group | null | def module_group(self, *modules: AppModule) -> AppModuleGroup:
return AppModuleGroup(*modules)
| (self, *modules: emmett.app.AppModule) -> emmett.app.AppModuleGroup | [
-0.025892771780490875,
-0.02821575477719307,
-0.004433499649167061,
0.00307370419614017,
0.00021379596728365868,
-0.013767928816378117,
-0.030538739636540413,
0.07781051844358444,
-0.012105956673622131,
0.036808907985687256,
0.01506162341684103,
-0.032068509608507156,
0.02766806073486805,
0.050727926194667816,
0.026912618428468704,
-0.0718802958726883,
0.029292259365320206,
-0.059339962899684906,
0.017526252195239067,
-0.09677211195230484,
-0.02275768667459488,
0.02347535826265812,
0.013267448171973228,
-0.044457755982875824,
-0.054656222462654114,
0.04997248202562332,
0.04883931949734688,
0.0016230196924880147,
-0.002991077722981572,
-0.024532975628972054,
-0.0017764688236638904,
-0.07082267850637436,
0.020378045737743378,
0.009027530439198017,
0.028990082442760468,
-0.0332016721367836,
-0.008413733914494514,
0.018716072663664818,
0.013286334462463856,
0.008069063536822796,
0.05952882394194603,
-0.02789469249546528,
0.009490239433944225,
-0.04392894729971886,
0.008451506495475769,
0.06545904278755188,
0.051672227680683136,
0.04475993290543556,
0.01162436231970787,
0.06077530235052109,
-0.03824424743652344,
0.008791455067694187,
-0.000016654395949444734,
0.012823626399040222,
-0.0037347159814089537,
0.03746991977095604,
0.025515049695968628,
0.007856596261262894,
-0.018612200394272804,
0.018385566771030426,
-0.0008445604471489787,
-0.011832108721137047,
0.07048273086547852,
-0.047403980046510696,
-0.018536655232310295,
0.039094120264053345,
-0.07471320778131485,
0.038225360214710236,
-0.007511925417929888,
0.007228634785860777,
-0.05125673487782478,
-0.022908775135874748,
-0.02600608766078949,
0.031237522140145302,
-0.04491102322936058,
0.023456471040844917,
-0.0363556407392025,
0.04948144406080246,
0.01928265392780304,
0.0017091872869059443,
0.01785675808787346,
-0.0001993363257497549,
0.002655850490555167,
0.06436365097761154,
0.05178554356098175,
-0.04710180312395096,
-0.06912293285131454,
0.05035020411014557,
0.04815942049026489,
-0.025741683319211006,
-0.020378045737743378,
0.01589260995388031,
0.013985118828713894,
0.03152081370353699,
0.024759609252214432,
-0.038621969521045685,
-0.06236172839999199,
0.07713061571121216,
-0.027309225872159004,
0.010113478638231754,
-0.02995327115058899,
-0.025892771780490875,
-0.04634636268019676,
0.0008374782046303153,
-0.011359957978129387,
-0.040113966912031174,
-0.002660572063177824,
0.01611924171447754,
-0.017922859638929367,
-0.052616529166698456,
-0.02647823840379715,
-0.07256019860506058,
0.028423501178622246,
-0.054429590702056885,
-0.06738542020320892,
0.031180864199995995,
0.028838995844125748,
-0.008942543528974056,
0.06455250829458237,
-0.012417576275765896,
-0.07165366411209106,
0.052049946039915085,
0.024948468431830406,
0.015628203749656677,
0.08324969559907913,
0.01075560413300991,
0.004398088436573744,
-0.033088356256484985,
0.01746015064418316,
-0.047706156969070435,
0.01418342161923647,
0.020755765959620476,
-0.06681883335113525,
-0.06897184997797012,
-0.01327689178287983,
-0.06655443459749222,
0.013003043830394745,
0.013069145381450653,
0.01202096976339817,
0.06666775047779083,
-0.04472216218709946,
0.028159096837043762,
0.005958548281341791,
0.09616775810718536,
-0.016553621739149094,
-0.03456146642565727,
0.02933003194630146,
0.05053906515240669,
-0.01912212371826172,
0.002601552987471223,
-0.00419270247220993,
-0.008569544181227684,
0.0640237033367157,
0.019103236496448517,
-0.029027855023741722,
0.06515686213970184,
0.023097636178135872,
0.024948468431830406,
0.030368763953447342,
-0.022512169554829597,
-0.00037595038884319365,
0.024967355653643608,
0.0280646663159132,
-0.002592110075056553,
-0.01707298681139946,
-0.029348919168114662,
0.018310023471713066,
-0.010358997620642185,
-0.031275294721126556,
-0.016242001205682755,
0.01332410704344511,
0.006374041084200144,
0.034750327467918396,
-0.05801793932914734,
-0.05503394454717636,
0.009494960308074951,
-0.005878282245248556,
0.017375163733959198,
-0.0006034682737663388,
0.023758647963404655,
0.03223848342895508,
0.02188892848789692,
-0.03186076134443283,
-0.00802184920758009,
0.028971197083592415,
0.0316152423620224,
-0.0008545936434529722,
0.051332276314496994,
-0.045402057468891144,
-0.016553621739149094,
-0.04706403240561485,
-0.026931503787636757,
0.03864085301756859,
-0.01201152615249157,
-0.010916135273873806,
0.011397729627788067,
-0.03191741928458214,
-0.008078507147729397,
0.007077546324580908,
0.01707298681139946,
-0.05046351999044418,
0.030312106013298035,
-0.016072027385234833,
0.08090782910585403,
0.03492030128836632,
0.01889549009501934,
-0.04555314779281616,
0.03686556592583656,
0.0026109961327165365,
0.020415818318724632,
0.01177545078098774,
0.014938863925635815,
0.0036025135777890682,
0.07441102713346481,
-0.007955747656524181,
0.005977434106171131,
0.03684667870402336,
0.0008463310077786446,
0.03720551356673241,
-0.02443854510784149,
-0.0379420705139637,
0.022474396973848343,
0.021133488044142723,
-0.032446231693029404,
-0.0017847315175458789,
0.0017375163733959198,
-0.003567102365195751,
0.007181419525295496,
-0.02419302798807621,
0.04041614383459091,
0.05288093537092209,
-0.03839533403515816,
-0.005845231935381889,
0.0062654465436935425,
0.0046790181659162045,
-0.04672408103942871,
0.0280646663159132,
0.0006669135764241219,
-0.03958515450358391,
0.01249312050640583,
0.0011992640793323517,
0.05813125520944595,
0.022172220051288605,
0.05027465894818306,
-0.004416974261403084,
-0.02481626719236374,
-0.03546799719333649,
-0.06587453186511993,
0.04362677037715912,
0.023701990023255348,
-0.017205189913511276,
0.0144289406016469,
-0.00007148664008127525,
-0.030973117798566818,
-0.04071832075715065,
0.009103074669837952,
0.0022793097887188196,
0.07029387354850769,
-0.013579068705439568,
-0.045817550271749496,
0.039018575102090836,
-0.010349554009735584,
0.0016430862015113235,
-0.04687517136335373,
0.05571383982896805,
0.057035863399505615,
0.048726003617048264,
-0.009334429167211056,
0.025099556893110275,
0.032049622386693954,
0.10417544096708298,
0.015467673540115356,
-0.028159096837043762,
0.027328111231327057,
0.002226192969828844,
-0.03344719111919403,
0.034259289503097534,
0.019235439598560333,
-0.040038421750068665,
-0.0067706480622291565,
0.053069792687892914,
-0.031822990626096725,
-0.08241870999336243,
0.04521320015192032,
0.041133813560009,
0.07414662092924118,
-0.012719753198325634,
0.009136125445365906,
-0.0032177104149013758,
0.0316341295838356,
-0.00028358580311760306,
-0.007068103179335594,
-0.03962292894721031,
0.012436462566256523,
-0.03720551356673241,
0.020378045737743378,
-0.01553377415984869,
-0.0025425341445952654,
-0.016166456043720245,
0.007884925231337547,
-0.02640269510447979,
0.025496164336800575,
0.039018575102090836,
0.018782174214720726,
0.0522010363638401,
-0.024778494611382484,
0.020113641396164894,
-0.026988161727786064,
0.01506162341684103,
0.02997215837240219,
-0.005212549120187759,
0.007280571386218071,
0.05658259987831116,
-0.0371299684047699,
-0.006912293378263712,
-0.015089952386915684,
0.08105891942977905,
0.05684700235724449,
0.03265397623181343,
0.013210790231823921,
-0.03184187784790993,
-0.010349554009735584,
-0.012851955369114876,
-0.014457269571721554,
0.06228618696331978,
0.04332459345459938,
0.008187102153897285,
-0.021870043128728867,
-0.007984076626598835,
0.00010040590132120997,
-0.0632682591676712,
0.02458963356912136,
0.00916917622089386,
0.0458553247153759,
-0.034127090126276016,
-0.025326190516352654,
0.01960371807217598,
-0.06160628795623779,
-0.03152081370353699,
-0.08347633481025696,
0.010821705684065819,
-0.014173978939652443,
-0.0395096130669117,
0.011728235520422459,
-0.08672472834587097,
-0.026308264583349228,
0.033390533179044724,
0.016317544505000114,
-0.06749873608350754,
-0.047139573842287064,
0.04007619246840477,
0.01865941472351551,
-0.023683104664087296,
-0.017290176823735237,
0.05994431674480438,
0.02283323183655739,
-0.020378045737743378,
0.0482349656522274,
0.0008628562791272998,
-0.00029125827131792903,
0.09669656306505203,
0.03509027510881424,
0.013220233842730522,
0.01755458116531372,
-0.011492160148918629,
0.02829129993915558,
-0.004140765871852636,
0.012436462566256523,
0.057753533124923706,
-0.03344719111919403,
-0.007677178364247084,
0.015411014668643475,
0.0347692146897316,
0.03701665252447128,
-0.032219596207141876,
0.027705831453204155,
0.011048338375985622,
-0.017686784267425537,
-0.0410960391163826,
-0.03424040600657463,
0.004570423625409603,
0.000516120286192745,
0.06100193411111832,
0.007710229139775038,
-0.043437909334897995,
-0.006709268316626549,
0.04408003389835358,
-0.004034531768411398,
-0.06761205196380615,
-0.0217378418892622,
0.004867878742516041,
-0.06001985818147659,
-0.07373113185167313,
0.034183748066425323,
-0.05114341899752617,
-0.019962552934885025,
-0.005056739319115877,
0.04117158427834511,
-0.03201185166835785,
-0.08241870999336243,
0.023985281586647034,
-0.011322185397148132,
0.02704481966793537,
-0.05809348449110985,
0.009098353795707226,
-0.03699776902794838,
0.01832890883088112,
-0.03172856196761131,
0.04377785697579384,
-0.06183291971683502,
-0.012993601150810719,
0.032144054770469666,
-0.0861959233880043,
-0.05662037059664726,
0.08121000230312347,
-0.05628042295575142,
0.051898859441280365,
0.02562836743891239,
0.03595903515815735,
-0.033239442855119705,
0.04687517136335373,
-0.002272227546200156,
0.02149232290685177,
-0.025666138157248497,
0.004018006846308708,
0.01945262961089611,
-0.002686540363356471,
0.05488285422325134,
-0.046195272356271744,
-0.007294735871255398,
-0.04876377433538437,
0.029141170904040337,
-0.06032203510403633,
0.01292749959975481,
0.0026983441784977913,
-0.08589374274015427,
0.043437909334897995,
-0.012266487814486027,
0.027214795351028442,
-0.04143599048256874,
0.044306669384241104,
-0.04687517136335373,
0.03495807573199272,
-0.01716741733253002,
0.025987202301621437,
-0.01960371807217598,
-0.014986079186201096,
0.0061851805076003075,
-0.004990638233721256,
-0.030614282935857773,
-0.03675225004553795,
-0.014948306605219841,
0.027800261974334717,
-0.0015297698555514216,
0.012984157539904118,
-0.002007822971791029,
0.012710310518741608,
-0.032389573752880096,
-0.00802184920758009,
0.01137884333729744,
0.027309225872159004,
-0.008697024546563625,
0.009315542876720428,
0.012162614613771439,
0.0043083797208964825,
0.012153171934187412,
0.06810308992862701,
-0.07048273086547852,
0.05677146092057228,
0.0561293326318264,
0.032370686531066895,
-0.033787138760089874,
0.01833835244178772,
-0.010972794145345688,
-0.011237198486924171,
0.03441037982702255,
0.045024339109659195,
0.032389573752880096,
0.033390533179044724,
-0.014598915353417397,
-0.02836684323847294,
0.035845719277858734,
0.025326190516352654,
0.034278176724910736,
-0.07573305070400238,
-0.027309225872159004,
0.010736717842519283,
-0.054505132138729095,
-0.020056983456015587,
-0.06950065493583679,
0.03233291208744049,
-0.04815942049026489,
-0.01841389574110508,
0.06870744377374649,
0.03539245203137398,
0.013050259090960026,
0.025420621037483215,
-0.05325865373015404,
0.01177545078098774,
0.016666937619447708,
-0.03186076134443283,
0.07656403630971909,
-0.015411014668643475,
-0.05646928399801254,
0.04007619246840477,
-0.003810260212048888,
0.040302824229002,
-0.05873560905456543,
-0.05662037059664726,
-0.022871004417538643,
-0.0379609577357769,
0.012370361015200615,
-0.049217041581869125,
0.006950065493583679,
0.011501602828502655,
0.01676136814057827,
-0.026761529967188835,
0.04948144406080246,
0.04468438774347305,
0.03146415576338768,
0.010661173611879349,
-0.008588430471718311,
0.028971197083592415,
0.011879323981702328,
-0.014136206358671188,
-0.018291138112545013,
-0.011869881302118301,
0.014258965849876404,
-0.025571709498763084,
0.060510896146297455,
0.018706630915403366,
0.07811269164085388,
-0.039471838623285294,
-0.0037441588938236237,
-0.06647888571023941,
-0.04657299444079399,
-0.05080346763134003,
0.015042737126350403,
-0.00845622830092907,
0.02853681892156601,
-0.03629898279905319,
-0.015562103129923344,
0.054278500378131866,
0.003961348440498114,
-0.018791617825627327,
0.032521773129701614,
0.022323308512568474,
-0.038621969521045685,
-0.004487797152251005,
-0.025798341259360313,
0.0016253804787993431,
0.02039693109691143,
-0.012681981548666954,
0.004487797152251005,
0.05915110185742378,
-0.025817226618528366,
-0.07101154327392578,
0.03408931568264961,
-0.044155579060316086,
-0.012738639488816261,
0.016629165038466454,
0.013569625094532967,
-0.007502482272684574,
-0.023437585681676865,
-0.041058268398046494,
0.0038834435399621725,
-0.04302241653203964,
0.01574152149260044,
-0.037356603890657425,
0.053069792687892914,
-0.061946235597133636,
-0.03864085301756859,
0.0213412344455719,
-0.031029775738716125,
0.00984907429665327,
0.045250970870256424,
-0.01848944090306759,
0.05714917927980423,
-0.016742480918765068,
-0.0355624295771122,
0.007766887079924345,
-0.005812181159853935,
0.026421580463647842,
-0.027139250189065933,
-0.023418698459863663,
-0.014891648665070534,
0.011784893460571766,
-0.013088030740618706,
0.049594759941101074,
0.04528874158859253,
-0.00044647796312347054,
0.023210952058434486,
0.10802819579839706,
-0.030255448073148727,
0.03779098019003868,
0.003394767176359892,
-0.1493508666753769,
-0.003524608677253127,
0.004383923951536417,
0.027856919914484024,
0.02481626719236374,
0.020755765959620476,
0.00892837904393673,
-0.0482349656522274,
0.06866966933012009,
0.018149491399526596,
0.006643167231231928,
-0.025496164336800575,
-0.027290338650345802,
0.06610116362571716,
-0.02917894348502159,
-0.016648050397634506,
-0.045968640595674515,
0.01157714705914259,
-0.006883964408189058,
-0.039245206862688065,
-0.035543542355298996,
-0.025250645354390144,
0.051181189715862274,
-0.04362677037715912,
-0.024287456646561623,
0.04513765498995781,
-0.023022092878818512,
0.005628042388707399,
0.04219143092632294,
0.0020668418146669865,
0.016402533277869225,
-0.014655573293566704,
0.04434444010257721,
0.028725678101181984,
-0.05518503114581108,
-0.010453427210450172,
0.01945262961089611,
-0.04827273637056351,
0.07165366411209106,
0.004827746190130711,
-0.001030470011755824,
-0.0165913924574852,
0.028574589639902115,
0.01914100907742977,
0.03699776902794838,
-0.0727490559220314,
-0.031124206259846687,
-0.09140846878290176,
0.020661335438489914,
-0.008319304324686527,
-0.017214631661772728,
0.017497923225164413,
0.017054101452231407,
-0.07811269164085388,
-0.035298023372888565,
0.02387196384370327,
-0.08204098790884018,
0.005406131036579609,
-0.05526057630777359,
-0.015089952386915684,
-0.03463701158761978,
-0.011879323981702328,
-0.036563389003276825,
-0.059491049498319626,
0.0593021884560585,
-0.0513700507581234,
0.06515686213970184,
-0.010585629381239414,
-0.010207909159362316,
-0.002332426840439439,
0.04222920164465904,
0.006983116269111633,
0.020774653181433678,
-0.03886748477816582,
0.010179580189287663,
-0.04751729592680931,
0.02655378356575966,
0.01889549009501934,
0.017346834763884544,
0.04355122521519661,
-0.026685984805226326,
0.05359860509634018,
-0.004657771438360214,
0.019037136808037758,
0.00699728075414896,
-0.0064543066546320915,
-0.03231402859091759,
0.000257617502938956,
0.018867161124944687,
0.017214631661772728,
-0.07520424574613571,
-0.011492160148918629,
0.02664821408689022,
-0.023739762604236603,
0.02143566496670246,
-0.009589390829205513,
0.03720551356673241,
0.027328111231327057,
0.013135246001183987,
0.06730987131595612,
-0.012257045134902,
-0.021718954667448997,
-0.02466517873108387,
0.039018575102090836,
-0.03958515450358391,
-0.025873884558677673,
-0.04332459345459938,
-0.013267448171973228,
-0.0086923036724329,
0.012899170629680157,
-0.018385566771030426,
0.04408003389835358,
-0.02362644486129284,
-0.029896613210439682,
-0.05337196961045265,
0.001360975787974894,
-0.001708006951957941,
0.025836113840341568,
0.031822990626096725,
-0.05359860509634018,
0.02230442315340042,
-0.013418536633253098,
0.025193987414240837,
-0.0640614777803421,
0.006624281406402588,
0.02236108109354973,
0.011681020259857178,
-0.03369271010160446,
0.012936942279338837,
-0.07939694821834564,
0.00005953531581326388,
0.015571546740829945,
-0.003161052241921425,
-0.018404453992843628,
-0.017450708895921707,
0.010340111330151558,
-0.01307858806103468,
0.006902850233018398,
0.0347880981862545,
0.0017445986159145832,
0.012833069078624249,
-0.0070397742092609406,
-0.014155092649161816,
-0.06096416339278221,
0.022965434938669205,
-0.026081632822752,
-0.030009929090738297,
-0.04883931949734688,
-0.002556698629632592,
-0.014277852140367031,
-0.007785773370414972,
-0.0356002002954483,
0.007134204730391502,
-0.011492160148918629,
-0.005052017979323864,
0.015618761070072651,
0.031010890379548073,
0.036091238260269165,
-0.003529330249875784,
0.019962552934885025,
-0.012549778446555138,
0.03882971405982971,
-0.0379420705139637,
-0.028971197083592415,
0.020094754174351692,
-0.010566744022071362,
0.04623304679989815,
-0.03856530785560608,
0.026855960488319397,
-0.009546897374093533,
0.020132526755332947,
0.01501440815627575
] |
7,630 | emmett.app | on_error | null | def on_error(self, code: int) -> Callable[[ErrorHandlerType], ErrorHandlerType]:
def decorator(f: ErrorHandlerType) -> ErrorHandlerType:
self.error_handlers[code] = f
return f
return decorator
| (self, code: int) -> Callable[[~ErrorHandlerType], ~ErrorHandlerType] | [
-0.0011298639001324773,
-0.02561257779598236,
0.022259658202528954,
0.010496499948203564,
-0.003606716636568308,
0.05457807332277298,
0.021942993625998497,
-0.02047143504023552,
0.019707713276147842,
-0.043438930064439774,
0.06329566240310669,
-0.019130267202854156,
0.07212501764297485,
-0.02116064541041851,
0.025817478075623512,
0.03386448323726654,
-0.04466833546757698,
0.04921340197324753,
0.02421552687883377,
-0.0540192537009716,
-0.022185148671269417,
0.01660626381635666,
0.012070508673787117,
-0.040123265236616135,
-0.019372422248125076,
0.0851641446352005,
0.008345043286681175,
0.04556244611740112,
0.10423853248357773,
-0.05673884227871895,
-0.0005759919295087457,
0.015078823082149029,
0.01342099066823721,
-0.008102888241410255,
-0.04910163953900337,
0.01280628889799118,
-0.020359670743346214,
0.016615577042102814,
-0.05878784880042076,
0.040309540927410126,
-0.06538192182779312,
0.002309788716956973,
-0.005271533969789743,
-0.015544505789875984,
0.03643505647778511,
0.03535467013716698,
-0.046680085361003876,
0.005592855624854565,
0.04828203469514847,
-0.017938118427991867,
-0.0574466809630394,
-0.01998712308704853,
0.033789973706007004,
0.011073946952819824,
0.029971372336149216,
0.05308788642287254,
0.024103764444589615,
-0.01907438412308693,
0.0011432523606345057,
-0.055360421538352966,
-0.0024262096267193556,
0.01848762296140194,
0.016867047175765038,
0.021756719797849655,
0.015442055650055408,
-0.02378709986805916,
-0.0040235030464828014,
0.029356669634580612,
-0.010654832236468792,
0.021067509427666664,
0.030511565506458282,
-0.017956744879484177,
0.007530097849667072,
-0.05934666842222214,
0.051895737648010254,
-0.0313497930765152,
-0.02848118543624878,
-0.020862609148025513,
0.06016627326607704,
0.05733491852879524,
0.021011626347899437,
-0.019614577293395996,
0.00842420943081379,
0.08807001262903214,
0.023451806977391243,
-0.054652582854032516,
-0.018534192815423012,
-0.02702825330197811,
-0.023097887635231018,
0.057856485247612,
-0.022967496886849403,
-0.050703588873147964,
-0.03874484449625015,
-0.024141017347574234,
-0.023805726319551468,
-0.005672021768987179,
0.0033342919778078794,
-0.0045171272940933704,
0.046680085361003876,
-0.028294911608099937,
0.02095574513077736,
0.04049581289291382,
0.09417977184057236,
-0.025463558733463287,
0.07354069501161575,
-0.044593825936317444,
0.006258782465010881,
0.006049225106835365,
0.0020757829770445824,
0.038186024874448776,
0.010887674055993557,
-0.03671446442604065,
0.040123265236616135,
0.05808001011610031,
-0.00456602405756712,
0.01765870861709118,
-0.021011626347899437,
-0.04563695564866066,
-0.04403500631451607,
0.030288036912679672,
0.005145799368619919,
-0.03714289516210556,
-0.011278847232460976,
0.016270970925688744,
0.0246812105178833,
0.047350671142339706,
0.02611551433801651,
-0.003297037212178111,
0.03572721779346466,
-0.06780347973108292,
0.01563764177262783,
0.09581898152828217,
0.019130267202854156,
-0.008768814615905285,
-0.0296360794454813,
0.01209845021367073,
-0.04686636105179787,
0.05923490598797798,
-0.00373710785061121,
-0.003855857066810131,
-0.054652582854032516,
0.07905438542366028,
-0.012256782501935959,
-0.001576337730512023,
0.0432899110019207,
-0.0024704495444893837,
-0.007949212566018105,
0.04969771206378937,
0.014045005664229393,
0.0065009379759430885,
0.02661845274269581,
-0.016028815880417824,
0.03222527727484703,
0.04556244611740112,
-0.057036880403757095,
0.016401363536715508,
0.00664529949426651,
0.016699399799108505,
0.01760282553732395,
-0.009937680326402187,
-0.008168083615601063,
-0.03671446442604065,
0.05159769952297211,
-0.06672309339046478,
-0.018236154690384865,
-0.011195024475455284,
-0.005560257472097874,
-0.022650832310318947,
-0.0347958505153656,
0.021998874843120575,
0.00729259941726923,
0.0305488184094429,
0.05111338943243027,
0.05457807332277298,
-0.002763829892501235,
0.04634479433298111,
0.032132141292095184,
-0.018394486978650093,
-0.013802850618958473,
0.028108639642596245,
0.05368396267294884,
0.013365108519792557,
-0.021831229329109192,
0.0479467436671257,
-0.015572447329759598,
0.0536094531416893,
-0.03321252763271332,
0.018888112157583237,
0.027158645913004875,
0.012647956609725952,
-0.004156222566962242,
-0.005155113060027361,
0.029971372336149216,
-0.04921340197324753,
-0.023600826039910316,
-0.002933804178610444,
-0.010412677191197872,
-0.0009057538700290024,
0.00770240044221282,
0.002454150468111038,
-0.021533193066716194,
0.0774896889925003,
-0.003157332306727767,
0.043885987251996994,
-0.01717439666390419,
0.05059182643890381,
0.001865061349235475,
0.008317102678120136,
-0.06664858013391495,
0.001973332604393363,
-0.008573228493332863,
-0.033547818660736084,
-0.010999437421560287,
0.05003300681710243,
0.031107639893889427,
-0.02442042902112007,
-0.00007669220212846994,
0.0008469613385386765,
0.020843980833888054,
-0.018096450716257095,
-0.0031061070039868355,
-0.010552382096648216,
-0.0023260877933353186,
-0.04708988592028618,
0.0489526204764843,
0.02866745926439762,
-0.015516565181314945,
-0.055881988257169724,
0.02585473284125328,
0.07026228308677673,
-0.001431975862942636,
0.07935242354869843,
-0.008498718962073326,
-0.01185629516839981,
-0.03690074011683464,
-0.003769705770537257,
0.06441330164670944,
-0.05029378831386566,
-0.04660557582974434,
0.021365545690059662,
0.005509032402187586,
-0.0060678524896502495,
0.049287911504507065,
0.0592721588909626,
0.04705263301730156,
0.042693838477134705,
-0.018198899924755096,
0.08725041151046753,
-0.07793674618005753,
0.03084685653448105,
-0.05249181389808655,
0.023209651932120323,
0.011008751578629017,
0.01212639082223177,
0.006589417811483145,
0.023433180525898933,
-0.03509388864040375,
-0.01848762296140194,
0.0179008636623621,
0.027102762833237648,
0.0298409815877676,
0.022296912968158722,
0.040346793830394745,
-0.021365545690059662,
-0.026637081056833267,
-0.03712426498532295,
0.010096012614667416,
0.01329059898853302,
0.029282160103321075,
0.04932516813278198,
-0.01457588467746973,
0.042246781289577484,
-0.002292325720191002,
-0.012526879087090492,
0.020285161212086678,
0.05059182643890381,
-0.04425853490829468,
-0.011930803768336773,
-0.011576884426176548,
-0.03365958482027054,
0.04355069622397423,
-0.03744092956185341,
-0.03606250882148743,
0.0010850419057533145,
-0.033734094351530075,
0.06813877075910568,
0.023619452491402626,
0.06139567494392395,
0.05193299427628517,
-0.03179685026407242,
-0.008657051250338554,
-0.030753720551729202,
0.002055991441011429,
0.03833504393696785,
0.03367821127176285,
-0.00747421570122242,
-0.031889986246824265,
-0.012033254839479923,
0.014026378281414509,
-0.02585473284125328,
-0.029542943462729454,
-0.03334292024374008,
0.0606878362596035,
-0.011828353628516197,
-0.0011601332807913423,
-0.07409951090812683,
0.013551381416618824,
-0.0038744844496250153,
-0.050666335970163345,
0.0042330604046583176,
-0.006039911415427923,
0.04194874316453934,
-0.12271684408187866,
-0.04917614907026291,
0.061730965971946716,
-0.015022940933704376,
0.008563914336264133,
0.031629204750061035,
0.017928803339600563,
0.05144868046045303,
-0.016336167231202126,
-0.034032128751277924,
-0.014808726496994495,
-0.038446806371212006,
0.057707466185092926,
-0.020862609148025513,
0.07156619429588318,
-0.020657707005739212,
-0.011204338632524014,
-0.007911957800388336,
-0.06974072009325027,
-0.02937529794871807,
-0.021533193066716194,
-0.023842981085181236,
-0.011353356763720512,
-0.04138992354273796,
0.04884085804224014,
-0.044593825936317444,
-0.004926928319036961,
-0.014156769961118698,
-0.04656832292675972,
-0.027661582455039024,
-0.005318102426826954,
0.03270959109067917,
-0.010682772845029831,
-0.013933242298662663,
-0.014650394208729267,
0.006081822793930769,
-0.012564132921397686,
0.02069496177136898,
0.03684485703706741,
-0.03202037885785103,
-0.05882510542869568,
0.012387173250317574,
0.048803601413965225,
-0.05308788642287254,
-0.025817478075623512,
-0.04109188914299011,
0.026488061994314194,
-0.025538068264722824,
0.0008411403396166861,
0.012042568065226078,
-0.022948868572711945,
-0.006258782465010881,
0.0197263415902853,
0.07253482192754745,
-0.02116064541041851,
-0.01721165142953396,
0.05059182643890381,
0.025295913219451904,
0.008987686596810818,
0.02706550806760788,
-0.029785098508000374,
0.011120514944195747,
0.05014476925134659,
-0.021719465032219887,
0.01540480088442564,
0.03624878078699112,
-0.09708563983440399,
0.07927791029214859,
0.014985686168074608,
-0.049250658601522446,
0.030977247282862663,
-0.08121515065431595,
-0.001611263956874609,
-0.022483186796307564,
-0.016839105635881424,
0.006095793563872576,
-0.04518989846110344,
0.01022640336304903,
-0.011772471480071545,
-0.053982000797986984,
-0.006123734172433615,
0.03513114154338837,
0.011614139191806316,
0.00373710785061121,
-0.05208200961351395,
0.008126172237098217,
-0.03699387609958649,
0.019186148419976234,
-0.032579198479652405,
0.0002351700240978971,
0.030064508318901062,
0.00812151562422514,
0.07644655555486679,
0.016336167231202126,
-0.027363546192646027,
0.047872234135866165,
0.008158770389854908,
-0.031126266345381737,
-0.013495500199496746,
0.003951322287321091,
0.004051444120705128,
-0.028984123840928078,
-0.020117515698075294,
0.036565445363521576,
-0.023451806977391243,
-0.027866484597325325,
-0.0054112388752400875,
-0.004722028039395809,
0.014287161640822887,
-0.015851857140660286,
-0.015050881542265415,
-0.008610482327640057,
-0.024290036410093307,
-0.012061195448040962,
0.016904300078749657,
0.09268958866596222,
-0.07268383353948593,
0.021291036158800125,
0.0596819631755352,
-0.008317102678120136,
-0.020564571022987366,
-0.014370984397828579,
-0.036807600408792496,
0.0022457572631537914,
-0.052789848297834396,
0.023563571274280548,
0.03244880586862564,
0.03626741096377373,
0.01885085739195347,
0.020322415977716446,
0.019372422248125076,
0.008978372439742088,
0.06761720031499863,
-0.02142142876982689,
0.01424059271812439,
0.0053507001139223576,
0.014380297623574734,
-0.02635767124593258,
0.001636876491829753,
-0.03405075892806053,
-0.0025961839128285646,
0.021216528490185738,
0.05170946568250656,
-0.009639643132686615,
-0.06277409940958023,
-0.061768222600221634,
0.012107763439416885,
0.005401925183832645,
0.024588074535131454,
0.032858606427907944,
-0.027642956003546715,
-0.048803601413965225,
-0.0400487557053566,
0.032094888389110565,
0.04660557582974434,
-0.022054757922887802,
-0.002682335441932082,
0.003082823008298874,
0.021235154941678047,
-0.015060195699334145,
0.020117515698075294,
-0.015255782753229141,
-0.005439179949462414,
0.02302337810397148,
0.0047173709608614445,
-0.038223277777433395,
0.010291598737239838,
0.006887455005198717,
0.07704263180494308,
0.01802194118499756,
0.06910739094018936,
-0.004440289456397295,
-0.015078823082149029,
0.013095011934638023,
0.002265548799186945,
-0.013486186042428017,
-0.01667146012187004,
0.04790949076414108,
-0.04064483195543289,
-0.010189148597419262,
0.0101146399974823,
-0.04183698073029518,
0.0447055883705616,
-0.039117392152547836,
0.00799112394452095,
0.019372422248125076,
0.019689086824655533,
-0.025351794436573982,
0.009509251452982426,
-0.043885987251996994,
-0.06515839695930481,
-0.03427428379654884,
0.041799724102020264,
-0.03582035377621651,
0.025966497138142586,
-0.009104106575250626,
-0.06348193436861038,
-0.008377641439437866,
-0.0082425931468606,
0.0564408078789711,
-0.018198899924755096,
0.005052662920206785,
-0.029040005058050156,
-0.040346793830394745,
-0.02261357754468918,
-0.0030246125534176826,
-0.03334292024374008,
0.03274684399366379,
-0.0005384462419897318,
0.003243483603000641,
0.0726093277335167,
0.003902425291016698,
-0.04377422109246254,
-0.03546643257141113,
0.07313089072704315,
-0.0035485061816871166,
0.014892549254000187,
0.001409855904057622,
-0.0265998262912035,
0.021700838580727577,
0.006291380152106285,
0.017472434788942337,
-0.004179507028311491,
-0.021495938301086426,
-0.031144894659519196,
0.009788661263883114,
-0.021589074283838272,
0.007553381845355034,
-0.026394924148917198,
0.09485036134719849,
-0.024141017347574234,
-0.031107639893889427,
-0.049064382910728455,
-0.08874059468507767,
-0.04757419973611832,
-0.027382172644138336,
-0.034441929310560226,
-0.0503682978451252,
0.011260219849646091,
-0.03274684399366379,
0.07506813853979111,
-0.039638955146074295,
-0.010384735651314259,
0.037738967686891556,
0.03179685026407242,
-0.009267096407711506,
0.02166358381509781,
-0.0298409815877676,
-0.012871484272181988,
0.03811151534318924,
-0.030735092237591743,
-0.04168796166777611,
-0.01638273522257805,
-0.0043844073079526424,
0.04124090448021889,
0.018683210015296936,
-0.09216802567243576,
-0.05688786134123802,
-0.03744092956185341,
0.026003751903772354,
-0.011148456484079361,
-0.05688786134123802,
-0.07208776473999023,
-0.03287723660469055,
0.006649956572800875,
-0.07115639746189117,
0.004053772427141666,
-0.047127142548561096,
-0.04183698073029518,
-0.024588074535131454,
-0.04310363903641701,
-0.024085136130452156,
-0.03269096091389656,
0.0034483843483030796,
0.0179008636623621,
0.04660557582974434,
-0.0894111767411232,
0.0012771362671628594,
-0.055621203035116196,
-0.029989998787641525,
-0.06512114405632019,
-0.04846831038594246,
0.06322115659713745,
0.05103887990117073,
-0.01927928626537323,
-0.021942993625998497,
-0.03487036004662514,
0.03667721152305603,
-0.027922365814447403,
0.020415551960468292,
-0.04932516813278198,
-0.05621727928519249,
0.016494499519467354,
-0.02211063914000988,
0.04071934148669243,
-0.000021246796677587554,
-0.03287723660469055,
-0.028648830950260162,
-0.06456232070922852,
0.025593949481844902,
0.04381147772073746,
0.039601702243089676,
0.011744530871510506,
0.04522715508937836,
0.01681116409599781,
0.004458916839212179,
0.0260968878865242,
0.03691936656832695,
-0.002717261668294668,
0.014613139443099499,
0.03250468894839287,
-0.0001654630759730935,
0.06281135231256485,
-0.016112638637423515,
0.0035298787988722324,
-0.014845981262624264,
-0.04306638613343239,
0.0015041568549349904,
-0.021104764193296432,
0.09574446827173233,
0.06135842204093933,
-0.06884660571813583,
0.015255782753229141,
0.045301664620637894,
0.022427303716540337,
0.04075659438967705,
0.04265658184885979,
-0.08270534127950668,
-0.010319540277123451,
-0.05249181389808655,
-0.04451931640505791,
-0.0007060921634547412,
0.044780097901821136,
0.03127528354525566,
-0.003266767831519246,
-0.03222527727484703,
0.03731054067611694,
-0.07268383353948593,
0.014398925006389618,
0.03885660693049431,
-0.05875059589743614,
0.049287911504507065,
-0.012508251704275608,
0.02866745926439762,
0.010794537141919136,
-0.03395761922001839,
0.023358670994639397,
-0.014845981262624264,
-0.029021378606557846,
0.015451368875801563,
0.009439398534595966,
-0.009295037016272545,
0.046456556767225266,
-0.0355968251824379,
0.031387049704790115,
-0.03826053440570831,
0.034255657345056534,
-0.006105107255280018,
0.011167083866894245,
-0.026935117319226265,
-0.02304200641810894,
-0.014724903739988804,
0.00635657599195838,
0.030995875597000122,
-0.0059048631228506565,
-0.006244812160730362,
-0.0032155425287783146,
0.016438618302345276,
-0.08814451843500137,
0.056589823216199875,
-0.035857606679201126,
0.019614577293395996,
-0.03336154669523239,
0.024271409958600998,
0.011250906623899937,
0.018757719546556473,
0.002345879329368472,
-0.01669008657336235,
0.005155113060027361,
-0.004598621744662523,
0.0003419861022848636,
-0.032616451382637024,
-0.09440330415964127,
0.057744719088077545,
-0.03300762549042702,
-0.07845830917358398,
-0.02587335929274559,
0.017891548573970795,
-0.018636642023921013,
0.007734998129308224,
-0.017854293808341026,
-0.07905438542366028,
0.008596512489020824,
-0.08628178387880325,
0.025463558733463287,
-0.03272821754217148,
-0.014790099114179611,
0.03263508155941963,
-0.006682554259896278,
-0.04321540147066116,
0.05241730436682701,
0.02730766497552395,
-0.033994875848293304,
-0.03241155296564102,
0.018785661086440086,
-0.04325265809893608,
0.0006624343805015087,
0.03801837936043739,
-0.028518440201878548,
-0.018524877727031708,
0.05599375069141388,
0.006896768696606159,
-0.007222746964544058,
-0.05103887990117073,
0.045040879398584366,
-0.021775348111987114,
0.005164426751434803,
0.002614811295643449,
0.04496637359261513,
0.012275409884750843,
-0.0546153299510479,
0.025072384625673294,
-0.007306569721549749,
-0.02209201268851757,
-0.024327291175723076,
0.03975072130560875,
0.013085698708891869,
-0.0018534192349761724,
0.03848406299948692,
-0.006654613185673952,
-0.012014627456665039,
-0.0065009379759430885,
0.06232704222202301,
-0.02632041648030281,
0.0024937335401773453,
0.0851641446352005,
0.03149881213903427,
0.03334292024374008,
-0.016783222556114197,
0.03289586305618286,
-0.002649737522006035,
0.05971921607851982,
-0.02658119797706604,
-0.055174149572849274,
0.025742968544363976,
0.006361232604831457,
0.026506688445806503,
0.042693838477134705,
-0.04068208485841751,
0.047387924045324326,
-0.003769705770537257,
-0.04418402537703514,
0.04969771206378937,
0.021514564752578735,
-0.013122953474521637,
0.0006158660398796201
] |
7,631 | emmett.app | render_template | null | def render_template(self, filename: str) -> str:
ctx = {
'current': current, 'url': url, 'asis': asis,
'load_component': load_component
}
return self.templater.render(filename, ctx)
| (self, filename: str) -> str | [
0.07485436648130417,
-0.05372106283903122,
0.006205949001014233,
0.022299638018012047,
0.08968597650527954,
0.02950654737651348,
-0.015519225038588047,
0.033875953406095505,
-0.017660407349467278,
-0.02186443842947483,
0.04470372200012207,
-0.008508156053721905,
-0.09908629208803177,
-0.015623672865331173,
0.0013502073707059026,
-0.0020530549809336662,
0.017451511695981026,
-0.017103351652622223,
-0.011245562694966793,
0.012464121915400028,
0.007076348643749952,
-0.0034163184463977814,
0.0038362862542271614,
-0.00615372508764267,
0.04498225077986717,
-0.011863546445965767,
-0.05413885414600372,
-0.005170173477381468,
-0.01014015544205904,
-0.07318320125341415,
-0.03627825528383255,
-0.03892426937818527,
0.028653554618358612,
0.013778425753116608,
0.006310397293418646,
0.00776831666007638,
-0.02785278670489788,
0.0010074875317513943,
0.01392639335244894,
-0.07478473335504532,
0.05055280774831772,
0.010923515073955059,
0.008064252324402332,
-0.017355768010020256,
-0.059883493930101395,
0.009252347983419895,
-0.00696319667622447,
-0.01751244068145752,
0.023518197238445282,
-0.017338359728455544,
0.046966761350631714,
0.018121719360351562,
-0.06329546123743057,
-0.0018245751271024346,
-0.01488383300602436,
0.01722520776093006,
-0.03069029003381729,
0.02179480530321598,
0.041117675602436066,
-0.028131315484642982,
0.00023568789765704423,
-0.01224652212113142,
-0.02713906019926071,
-0.021881846711039543,
0.005583613645285368,
0.04188362881541252,
0.034015215933322906,
0.031908851116895676,
-0.035721201449632645,
-0.021742582321166992,
0.034328561276197433,
0.041848812252283096,
0.02837502770125866,
-0.039202798157930374,
0.01191577035933733,
-0.035320814698934555,
-0.021481461822986603,
-0.02910616248846054,
-0.006689020898193121,
-0.03237886354327202,
-0.042962923645973206,
-0.10577096045017242,
-0.0036513262894004583,
0.016441848129034042,
0.02370968461036682,
-0.018591735512018204,
0.039933934807777405,
-0.05535741522908211,
-0.10751175880432129,
0.008838907815515995,
0.011506683193147182,
0.013848057948052883,
-0.07123350352048874,
0.015127545222640038,
0.031125489622354507,
-0.03777534142136574,
0.049160171300172806,
-0.023030772805213928,
0.035721201449632645,
0.005540093407034874,
0.04313700273633003,
0.02193406969308853,
-0.028009459376335144,
-0.06524515151977539,
0.028392435982823372,
0.018870264291763306,
-0.005213693715631962,
0.02851429022848606,
0.004617469850927591,
0.016511481255292892,
-0.01431807316839695,
-0.01389157772064209,
-0.01353471353650093,
-0.002752638654783368,
0.01191577035933733,
-0.03197848051786423,
-0.04560893774032593,
0.01855691894888878,
0.005030909553170204,
-0.01349989790469408,
0.010000891052186489,
-0.04188362881541252,
-0.04320663586258888,
0.0049351658672094345,
-0.0699453130364418,
0.027487220242619514,
0.003535998286679387,
-0.03438078612089157,
-0.0002207279030699283,
-0.029384691268205643,
-0.033423345535993576,
0.054869990795850754,
0.02482379600405693,
-0.042754027992486954,
0.010601467452943325,
0.013639162294566631,
-0.019984375685453415,
0.017808375880122185,
0.006532349158078432,
0.14803756773471832,
0.011759098619222641,
-0.03556452691555023,
-0.013491193763911724,
0.010906106792390347,
0.0054617575369775295,
-0.012525049969553947,
-0.015162360854446888,
-0.004208382219076157,
-0.04745418578386307,
0.019845111295580864,
0.05734192579984665,
-0.00855602789670229,
-0.0030333425384014845,
-0.04661860316991806,
-0.004843773785978556,
0.024127477779984474,
0.020175863057374954,
0.06695114076137543,
-0.009365499950945377,
-0.04108286276459694,
0.010131451301276684,
0.022160373628139496,
-0.04264958202838898,
0.05723747983574867,
0.011889658868312836,
-0.052049897611141205,
-0.0288450438529253,
0.007685628719627857,
0.012812281958758831,
-0.028096498921513557,
0.019636215642094612,
0.014953465200960636,
-0.0631910115480423,
0.053964775055646896,
0.00026139189139939845,
0.006232060957700014,
-0.0008399356156587601,
0.026094580069184303,
0.03746199980378151,
0.0012892794329673052,
-0.031090673059225082,
-0.054939623922109604,
-0.04654897004365921,
0.0318044014275074,
0.021498870104551315,
-0.06803043186664581,
0.028862450271844864,
0.017590776085853577,
0.04477335512638092,
-0.04853348061442375,
-0.005083133932203054,
-0.028827635571360588,
0.00699366070330143,
-0.02127256616950035,
-0.010984443128108978,
-0.054869990795850754,
0.04508670046925545,
-0.047767531126737595,
-0.014300665818154812,
-0.01921842247247696,
-0.041918445378541946,
-0.02797464281320572,
0.020524023100733757,
-0.026494963094592094,
0.006284285336732864,
0.03739236667752266,
0.05201508104801178,
-0.028827635571360588,
0.007998972199857235,
0.029384691268205643,
-0.00722866877913475,
-0.07555068284273148,
-0.016885751858353615,
0.040456172078847885,
0.01994955912232399,
-0.002839678665623069,
-0.08272277563810349,
0.009165307506918907,
-0.009078267961740494,
-0.03206552192568779,
0.03955095633864403,
0.005457405466586351,
0.005183229688555002,
-0.0142832575365901,
-0.016441848129034042,
-0.0346941277384758,
0.029280243441462517,
0.01774744875729084,
-0.08648290485143661,
0.04216215759515762,
0.014901241287589073,
-0.03448523208498955,
0.06653334945440292,
0.025729011744260788,
-0.008059900254011154,
-0.05392995849251747,
-0.00033972784876823425,
0.03746199980378151,
-0.0023761908523738384,
0.0331796333193779,
0.016128504648804665,
0.035721201449632645,
0.07011939585208893,
-0.0662200003862381,
0.006810877006500959,
-0.0392376147210598,
-0.013630458153784275,
0.046966761350631714,
-0.040003564208745956,
-0.014666233211755753,
0.026877939701080322,
0.001966015202924609,
-0.05184100195765495,
0.035721201449632645,
-0.031908851116895676,
-0.027347955852746964,
0.02317003719508648,
-0.025990132242441177,
0.013717497698962688,
0.031961072236299515,
0.014796793460845947,
-0.025450484827160835,
-0.030446577817201614,
0.00941772386431694,
0.02191666141152382,
-0.04634007439017296,
-0.11315194517374039,
0.04616599529981613,
0.009365499950945377,
0.04338071495294571,
0.011262970976531506,
0.06266877055168152,
0.010427387431263924,
-0.0034728944301605225,
-0.024719348177313805,
-0.042684394866228104,
0.02021067962050438,
-0.017033720389008522,
-0.007968508638441563,
0.011593722738325596,
-0.04080433398485184,
-0.020436983555555344,
0.019253239035606384,
0.012498938478529453,
0.012664314359426498,
-0.02489342913031578,
-0.00002402098834863864,
-0.027957234531641006,
0.026425331830978394,
0.0029071345925331116,
-0.014936056919395924,
0.02508491650223732,
-0.013369337655603886,
-0.03836721554398537,
-0.036696046590805054,
-0.0787537544965744,
0.017686519771814346,
-0.027730930596590042,
0.030133234336972237,
0.006227709352970123,
0.007437564432621002,
-0.04936906695365906,
0.02357042208313942,
-0.006323453038930893,
-0.04700157791376114,
-0.026843123137950897,
-0.03603454306721687,
0.012455418705940247,
0.012760058045387268,
-0.006219005212187767,
0.0481853224337101,
0.028531698510050774,
0.004930813796818256,
-0.040003564208745956,
0.012812281958758831,
0.06117168441414833,
0.0022042870987206697,
-0.017790967598557472,
0.02771352417767048,
0.014048249460756779,
-0.010949627496302128,
0.039864301681518555,
-0.003871102351695299,
0.047314923256635666,
0.04306737333536148,
0.005527037661522627,
0.02245631068944931,
-0.04808087274432182,
0.05688931792974472,
0.03962058946490288,
-0.0053529576398432255,
0.04108286276459694,
-0.02534603700041771,
-0.037044208496809006,
-0.03523377701640129,
-0.02068069390952587,
0.0006098237354308367,
0.0007343996549025178,
-0.007389692589640617,
-0.006889212876558304,
0.04477335512638092,
-0.047628264874219894,
0.009879035875201225,
-0.015258105471730232,
-0.039864301681518555,
0.0015819512773305178,
-0.0050004455260932446,
-0.047314923256635666,
0.040003564208745956,
-0.03457227349281311,
-0.06562813371419907,
-0.012664314359426498,
0.04877719283103943,
0.026442740112543106,
-0.046583786606788635,
-0.04136138781905174,
-0.01784319244325161,
0.07290466874837875,
-0.045400042086839676,
0.03187403455376625,
-0.04042135924100876,
-0.009391611441969872,
-0.045191146433353424,
0.0329011045396328,
0.037705712020397186,
-0.055531494319438934,
0.04404221847653389,
0.020054006949067116,
-0.039342060685157776,
0.03613899275660515,
-0.0164505522698164,
-0.0010662395507097244,
0.02212555892765522,
0.02390117384493351,
-0.0013795833801850677,
-0.049821674823760986,
-0.005022205878049135,
-0.020001782104372978,
-0.025990132242441177,
-0.0841154158115387,
0.016154617071151733,
0.047384556382894516,
0.04989130422472954,
-0.01580645702779293,
-0.04919498413801193,
0.007159036584198475,
-0.06023165211081505,
-0.004380286205559969,
-0.003753598313778639,
-0.035860463976860046,
0.0362086221575737,
-0.020106231793761253,
-0.014500857330858707,
-0.0067151328548789024,
-0.014692345634102821,
-0.02640792354941368,
0.03333630412817001,
-0.009948667138814926,
0.03549489751458168,
0.032030705362558365,
0.022995958104729652,
-0.009243643842637539,
-0.04358961060643196,
0.029349874705076218,
0.045330412685871124,
0.0032139504328370094,
0.10556206107139587,
-0.013978617265820503,
0.0029201905708760023,
0.0036600304301828146,
-0.03438078612089157,
0.023988213390111923,
-0.09184456616640091,
-0.03878500685095787,
-0.00009778395906323567,
0.04028209298849106,
-0.05473072826862335,
-0.03474635258316994,
-0.04014283046126366,
0.006223357282578945,
-0.02167295105755329,
0.03843684494495392,
0.026982387527823448,
-0.007816188037395477,
-0.025102324783802032,
-0.004040830302983522,
-0.014439929276704788,
-0.033214449882507324,
-0.014448633417487144,
0.05838640406727791,
-0.047314923256635666,
-0.04442519694566727,
-0.038019053637981415,
-0.016180729493498802,
0.08982524275779724,
-0.009939963929355145,
-0.01767781563103199,
0.012916729785501957,
-0.016885751858353615,
0.0033292784355580807,
0.06597629189491272,
0.03836721554398537,
0.0041126380674541,
0.038088686764240265,
-0.015823865309357643,
0.04728010669350624,
-0.08745775371789932,
-0.06555850058794022,
-0.02948913909494877,
-0.010270715691149235,
-0.0049873897805809975,
0.05260695144534111,
0.007250428665429354,
-0.0196884386241436,
-0.030324721708893776,
-0.02941950596868992,
-0.028688371181488037,
-0.005235453601926565,
-0.003100798698142171,
0.018156535923480988,
-0.07854486256837845,
-0.011645946651697159,
0.05253732204437256,
-0.01527551282197237,
0.02047179825603962,
-0.10235899686813354,
-0.03902871906757355,
0.04108286276459694,
-0.055810023099184036,
-0.022665206342935562,
-0.008233980275690556,
-0.0167987123131752,
-0.055009253323078156,
0.015353849157691002,
-0.018783222883939743,
0.07965897023677826,
0.003499006386846304,
0.029071347787976265,
0.04024727642536163,
-0.007328764535486698,
-0.07071126252412796,
-0.016032760962843895,
-0.014117881655693054,
0.05246768891811371,
0.01862655207514763,
0.0319436639547348,
0.039933934807777405,
0.03425892814993858,
0.02588568441569805,
-0.03718347102403641,
-0.035268593579530716,
0.03885463997721672,
-0.011732987128198147,
0.011410938575863838,
-0.04432074725627899,
0.047697898000478745,
-0.02626866102218628,
0.03344075381755829,
0.009243643842637539,
-0.006445309147238731,
0.008899835869669914,
-0.05828195810317993,
0.054800357669591904,
0.04999575391411781,
-0.0006740156677551568,
0.03805387020111084,
0.0784752294421196,
0.018800631165504456,
0.0481853224337101,
-0.034659311175346375,
0.039864301681518555,
-0.0056750052608549595,
0.041639916598796844,
0.03298814594745636,
0.017860600724816322,
0.014466041699051857,
-0.027086835354566574,
0.02080255001783371,
-0.015702009201049805,
0.01668556034564972,
0.01829580031335354,
-0.0517713688313961,
-0.002698238706216216,
0.009504763409495354,
0.03225700929760933,
0.02041957527399063,
0.031508464366197586,
0.022752245888113976,
-0.02034994214773178,
0.08606511354446411,
-0.006797820795327425,
-0.02501528523862362,
0.04675786569714546,
-0.0728350356221199,
-0.01307340245693922,
0.019775478169322014,
-0.0362086221575737,
-0.01089740265160799,
-0.04679268226027489,
-0.05344253405928612,
-0.005474813748151064,
-0.029315058141946793,
0.020506614819169044,
-0.07387951761484146,
0.014718457125127316,
-0.10152340680360794,
0.01975807175040245,
-0.024928243830800056,
0.05828195810317993,
0.00035468782880343497,
-0.0011695994762703776,
-0.029715443029999733,
0.0036012784112244844,
-0.026042357087135315,
-0.01916619949042797,
0.02672126702964306,
-0.02219519019126892,
0.06841340661048889,
-0.0001300839358009398,
0.004530429840087891,
0.045260779559612274,
0.03746199980378151,
0.008099067956209183,
0.032413680106401443,
0.040595438331365585,
0.03850647807121277,
0.018469879403710365,
-0.015780344605445862,
-0.02008882351219654,
-0.0031247346196323633,
0.055740389972925186,
0.062320612370967865,
0.09344609826803207,
-0.022421494126319885,
0.01987992785871029,
-0.005905661266297102,
0.102985680103302,
0.03864574432373047,
0.07993750274181366,
0.0018909431528300047,
-0.007263484876602888,
-0.025990132242441177,
-0.005561853293329477,
0.00867353193461895,
-0.03067288175225258,
0.010940923355519772,
-0.0017353591974824667,
0.022578164935112,
0.08265314996242523,
-0.021759990602731705,
-0.009635323658585548,
-0.04581783711910248,
0.008608251810073853,
0.04264958202838898,
0.05379069596529007,
0.06221616268157959,
0.009704955853521824,
0.017947640269994736,
-0.03554711863398552,
-0.004682749975472689,
-0.013769721612334251,
0.011123706586658955,
-0.010671098716557026,
0.07471510022878647,
-0.0182435754686594,
-0.034920431673526764,
0.011889658868312836,
-0.0026394869200885296,
-0.05156247317790985,
0.04390295594930649,
0.04707121104001999,
-0.04143102094531059,
-0.0061928932555019855,
-0.016833528876304626,
0.04003838077187538,
0.05525296553969383,
-0.007576828356832266,
0.025990132242441177,
-0.013012474402785301,
-0.004900349769741297,
-0.0016700791893526912,
0.06329546123743057,
-0.04205770790576935,
0.047837160527706146,
0.04035172611474991,
0.028131315484642982,
0.08613474667072296,
-0.0021607670933008194,
-0.0003563198260962963,
0.028792819008231163,
0.008703996427357197,
-0.048289768397808075,
0.007755260448902845,
0.03016805090010166,
0.0078118364326655865,
0.013082105666399002,
0.021098487079143524,
0.044738538563251495,
-0.03284887969493866,
-0.026703860610723495,
0.01230745017528534,
-0.06005757302045822,
-0.02797464281320572,
-0.038750190287828445,
0.010523131117224693,
-0.0026873587630689144,
0.025798644870519638,
-0.011872250586748123,
-0.021481461822986603,
0.02068069390952587,
0.005091837607324123,
-0.002332670846953988,
0.0364871509373188,
-0.019601399078965187,
-0.01100185140967369,
0.03185662627220154,
0.021777398884296417,
-0.04393777251243591,
0.05476554483175278,
0.07304393500089645,
0.02198629453778267,
-0.0026525428984314203,
0.025624563917517662,
-0.0389590859413147,
0.027939828112721443,
-0.04292810708284378,
0.015849977731704712,
-0.028879858553409576,
-0.036696046590805054,
0.013351930305361748,
0.009678843431174755,
-0.0008508156170137227,
0.0031704306602478027,
-0.07165129482746124,
0.03645233437418938,
-0.0002375918993493542,
-0.029576178640127182,
-0.03277925029397011,
0.019984375685453415,
-0.00540082948282361,
0.0333188958466053,
0.005022205878049135,
0.004430334083735943,
-0.03888945281505585,
-0.032622575759887695,
-0.02153368666768074,
0.0005668477388098836,
0.011933178640902042,
0.018922487273812294,
-0.024858612567186356,
-0.050274282693862915,
0.05055280774831772,
-0.08669180423021317,
-0.043102189898490906,
-0.02837502770125866,
-0.03476376086473465,
0.06169392541050911,
-0.03739236667752266,
0.036974575370550156,
-0.019444726407527924,
0.028496883809566498,
0.015910904854536057,
0.0673341155052185,
-0.011341307312250137,
-0.025903092697262764,
0.014657529070973396,
0.04028209298849106,
-0.04379850998520851,
-0.049682408571243286,
-0.020924406126141548,
0.020524023100733757,
-0.022421494126319885,
0.06534960120916367,
0.09769365191459656,
-0.02054143138229847,
0.011167227290570736,
-0.05622781440615654,
0.07840559631586075,
0.056645605713129044,
-0.004926461726427078,
-0.050657257437705994,
0.027086835354566574,
-0.016407033428549767,
0.026634227484464645,
0.06183318793773651,
0.03871537372469902,
-0.02520677261054516,
0.0045260777696967125,
0.015658488497138023,
0.05076170340180397,
-0.005840381141752005,
-0.004321534186601639,
-0.06190282106399536,
-0.02343115769326687,
0.02167295105755329,
-0.02411006949841976,
-0.024075252935290337,
-0.0164505522698164,
-0.013673977926373482,
-0.007272188551723957,
0.021098487079143524,
0.006410493049770594,
-0.08669180423021317,
-0.028096498921513557,
0.06284285336732864,
0.056645605713129044,
0.015110136941075325,
0.02264779806137085,
-0.0034750704653561115,
0.06287766993045807,
0.005057021509855986,
0.017999863252043724,
-0.042754027992486954,
0.027086835354566574,
0.04898608848452568,
0.001487295376136899,
0.03267480060458183,
-0.00990514736622572,
-0.03375409543514252,
-0.04550449177622795,
0.019183607771992683,
-0.03102104179561138,
0.013708793558180332,
-0.0041996780782938,
-0.003268350614234805,
-0.0035816943272948265,
-0.0025263349525630474,
0.003881982294842601
] |
7,632 | emmett.app | route | null | def route(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
template: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
injectors: Optional[List[Injector]] = None,
schemes: Optional[Union[str, List[str]]] = None,
hostname: Optional[str] = None,
methods: Optional[Union[str, List[str]]] = None,
prefix: Optional[str] = None,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
output: str = 'auto'
) -> RoutingCtx:
if callable(paths):
raise SyntaxError('Use @route(), not @route.')
return self._router_http(
paths=paths,
name=name,
template=template,
pipeline=pipeline,
injectors=injectors,
schemes=schemes,
hostname=hostname,
methods=methods,
prefix=prefix,
template_folder=template_folder,
template_path=template_path,
cache=cache,
output=output
)
| (self, paths: Union[str, List[str], NoneType] = None, name: Optional[str] = None, template: Optional[str] = None, pipeline: Optional[List[emmett.pipeline.Pipe]] = None, injectors: Optional[List[emmett.pipeline.Injector]] = None, schemes: Union[str, List[str], NoneType] = None, hostname: Optional[str] = None, methods: Union[str, List[str], NoneType] = None, prefix: Optional[str] = None, template_folder: Optional[str] = None, template_path: Optional[str] = None, cache: Optional[emmett.cache.RouteCacheRule] = None, output: str = 'auto') -> emmett.routing.router.RoutingCtx | [
0.005411575082689524,
-0.07089526951313019,
0.019703218713402748,
-0.10212986171245575,
-0.031597789376974106,
0.009869769215583801,
-0.02422497048974037,
0.049176327884197235,
-0.017696578055620193,
-0.009506575763225555,
0.007608892861753702,
0.032142579555511475,
0.0016139388317242265,
0.04659765958786011,
0.03375878557562828,
-0.020284326747059822,
0.0488857738673687,
-0.01647988148033619,
0.0010373699478805065,
-0.029999740421772003,
0.04932160675525665,
0.022754039615392685,
0.02642228826880455,
-0.02302643470466137,
-0.012530157342553139,
-0.00013314711395651102,
0.007304718717932701,
-0.0018522841855883598,
-0.006732689682394266,
0.006437595468014479,
-0.012176044285297394,
0.03493916243314743,
0.007223000284284353,
-0.009869769215583801,
0.03501180186867714,
0.007858588360249996,
-0.059890519827604294,
-0.016216566786170006,
0.049103688448667526,
-0.019739538431167603,
0.01592601276934147,
0.010341919958591461,
-0.022808518260717392,
-0.03286896273493767,
0.022699560970067978,
0.004830466583371162,
-0.024660803377628326,
0.033014241605997086,
0.025568785145878792,
-0.04064129292964935,
0.019739538431167603,
-0.04282044991850853,
-0.0021541882306337357,
0.016425402835011482,
0.0394427552819252,
0.020883595570921898,
-0.0009738111402839422,
0.05861934646964073,
0.046815574169158936,
-0.0718032494187355,
0.0027262172661721706,
0.007545333821326494,
0.03828053921461105,
0.06381300836801529,
-0.0018102900357916951,
-0.0015628647524863482,
-0.0014959010295569897,
0.010051365941762924,
-0.004419604316353798,
-0.011513217352330685,
0.02469712309539318,
-0.02271771989762783,
-0.03279632702469826,
-0.06366772949695587,
0.036264818161726,
-0.0003524106869008392,
-0.0014436920173466206,
-0.02642228826880455,
0.07027783989906311,
0.039406437426805496,
-0.03572002798318863,
-0.020520402118563652,
-0.10104028880596161,
-0.021083351224660873,
-0.010160323232412338,
0.03404933959245682,
-0.00362965976819396,
-0.07605260610580444,
-0.056040674448013306,
0.010804991237819195,
-0.057929281145334244,
-0.0019998312927782536,
-0.04529016464948654,
0.0228811576962471,
0.00420395890250802,
-0.019703218713402748,
0.0161620881408453,
0.01210340578109026,
0.08077412098646164,
0.022899316623806953,
0.01664331741631031,
0.05807455629110336,
-0.0280021782964468,
0.04118608310818672,
0.0011014961637556553,
-0.02745738811790943,
0.003650089493021369,
0.018268605694174767,
0.04696085304021835,
-0.019703218713402748,
-0.04739668220281601,
0.05157340317964554,
0.027984019368886948,
-0.044527459889650345,
-0.029382310807704926,
0.0030281213112175465,
0.012984149158000946,
-0.005461514461785555,
-0.016843074932694435,
-0.038680050522089005,
-0.06268710643053055,
-0.011277141980826855,
0.02099255472421646,
-0.04463641718029976,
-0.021809738129377365,
0.09079824388027191,
-0.04245726019144058,
-0.08505979180335999,
-0.006492074579000473,
-0.029945259913802147,
0.009093443863093853,
0.028038498014211655,
0.05959996581077576,
0.04765091836452484,
0.0064875343814492226,
0.05480581894516945,
-0.04227566346526146,
0.0058928062207996845,
0.032760005444288254,
0.0836070254445076,
-0.016343683004379272,
-0.014137286692857742,
-0.014918151311576366,
-0.028347210958600044,
0.025895658880472183,
-0.006383116357028484,
0.07685163617134094,
-0.05734816938638687,
-0.006328637711703777,
0.05244506523013115,
0.0276026651263237,
0.013311022892594337,
0.03486652672290802,
0.07064103335142136,
0.014609437435865402,
0.013229303993284702,
0.015054348856210709,
0.03326847776770592,
-0.0006940391031093895,
-0.008326198905706406,
0.010187562555074692,
-0.0021121941972523928,
0.0013733233790844679,
-0.012430279515683651,
0.013338262215256691,
-0.031016679480671883,
-0.005570472218096256,
0.03748151659965515,
0.008031104691326618,
-0.007436376065015793,
-0.052009232342243195,
0.03404933959245682,
-0.0017228967044502497,
-0.003938373643904924,
0.038680050522089005,
-0.022681402042508125,
-0.005393415689468384,
0.02816561423242092,
0.0034616829361766577,
-0.033014241605997086,
0.01578073389828205,
-0.03769943118095398,
-0.035937946289777756,
-0.002326705027371645,
0.020683839917182922,
0.04685189202427864,
0.0037840167060494423,
0.06039899215102196,
-0.007073183078318834,
0.012847951613366604,
-0.04841362312436104,
0.026948919519782066,
0.04990271478891373,
-0.0031007600482553244,
-0.0032959762029349804,
-0.03386774659156799,
-0.01442784070968628,
-0.0001706723269307986,
0.02531455084681511,
0.01541754137724638,
0.01781461574137211,
0.0048985653556883335,
-0.000596998434048146,
0.010650633834302425,
0.03911588340997696,
-0.004110890440642834,
0.04550807923078537,
0.009788050316274166,
0.010459957644343376,
0.020701998844742775,
-0.03791734576225281,
0.0041245101019740105,
0.0022245568688958883,
-0.012375800870358944,
0.004721508827060461,
0.048159386962652206,
0.01073235273361206,
0.015535579062998295,
0.04053233563899994,
0.004371935501694679,
0.05291721597313881,
0.08091939240694046,
0.022063972428441048,
0.023008275777101517,
-0.02698523737490177,
-0.03882532939314842,
0.00844423659145832,
-0.02587749995291233,
-0.06497522443532944,
-0.011413339525461197,
0.024424728006124496,
-0.024660803377628326,
0.02366202138364315,
-0.0012927399948239326,
-0.017542220652103424,
-0.032778166234493256,
0.002760266652330756,
0.04205774515867233,
-0.01561729796230793,
0.009479336440563202,
0.0185228418558836,
0.06265078485012054,
0.002465172205120325,
-0.04590759053826332,
0.04006018489599228,
0.004312916658818722,
-0.04529016464948654,
-0.06809867918491364,
0.06443043053150177,
-0.009279580786824226,
-0.04619814455509186,
0.022336367517709732,
-0.01986665651202202,
0.03014501743018627,
-0.07445456087589264,
-0.007586193270981312,
-0.04387371242046356,
-0.07932134717702866,
-0.019122110679745674,
0.008580434136092663,
-0.021083351224660873,
0.06835291534662247,
-0.018105169758200645,
0.03423093631863594,
0.036264818161726,
-0.008907307870686054,
-0.03572002798318863,
-0.07786857336759567,
-0.05150076374411583,
-0.02420681156218052,
-0.003025851445272565,
0.11389731615781784,
-0.0055886320769786835,
0.03288712352514267,
0.03366798907518387,
-0.028837522491812706,
0.011022906750440598,
0.012920590117573738,
-0.039079565554857254,
0.04939424619078636,
-0.023135391995310783,
-0.006119801662862301,
-0.05102861300110817,
-0.043111007660627365,
0.033940382301807404,
0.037118323147296906,
-0.025750381872057915,
0.08985394239425659,
-0.018795236945152283,
-0.056040674448013306,
0.06217863783240318,
0.018595479428768158,
-0.030490050092339516,
-0.03740887716412544,
0.04565335810184479,
-0.011258982121944427,
-0.119926318526268,
-0.0015413002111017704,
0.012076166458427906,
-0.055895399302244186,
0.008671232499182224,
-0.0011366804828867316,
0.06403092294931412,
0.03586530685424805,
0.023879937827587128,
-0.0024901418946683407,
0.0003484382468741387,
-0.015344902873039246,
0.023607542738318443,
0.034739408642053604,
0.03539315611124039,
0.003581990720704198,
-0.0136106563732028,
-0.05662178620696068,
0.016516201198101044,
0.03562923148274422,
0.0177419763058424,
-0.005960904527455568,
-0.0010583670809864998,
0.04064129292964935,
-0.02642228826880455,
0.03875268995761871,
-0.05426102876663208,
-0.009161543101072311,
-0.024116013199090958,
0.04485433176159859,
0.015662696212530136,
0.009615533985197544,
0.0034457934089004993,
-0.01877707615494728,
-0.0026535787619650364,
0.023244351148605347,
-0.029128076508641243,
-0.03132539242506027,
-0.020284326747059822,
-0.05222715064883232,
0.02493319846689701,
-0.028510648757219315,
-0.03842581808567047,
0.030399251729249954,
0.049575839191675186,
0.029000958427786827,
0.010950268246233463,
0.00628777826204896,
-0.007622512523084879,
0.029527589678764343,
0.0228629969060421,
-0.019448984414339066,
0.00075930031016469,
-0.0418035127222538,
-0.046815574169158936,
-0.045072246342897415,
0.0315433107316494,
0.016071289777755737,
0.03386774659156799,
0.002428852953016758,
-0.0064330557361245155,
0.05171867832541466,
0.0015458400594070554,
-0.04238462075591087,
-0.022191090509295464,
0.002683088183403015,
-0.04213038459420204,
-0.004875865764915943,
-0.051246527582407,
-0.018250446766614914,
0.04234829917550087,
0.022735880687832832,
-0.05807455629110336,
0.019902974367141724,
0.0047487481497228146,
0.0153812225908041,
0.006006303709000349,
0.0280021782964468,
0.000921602186281234,
-0.010378239676356316,
-0.0010515571339055896,
-0.02382545918226242,
-0.013646976090967655,
0.05168236047029495,
-0.04884945601224899,
0.03535683453083038,
0.08658520132303238,
-0.04529016464948654,
0.052336107939481735,
-0.06326821446418762,
0.0457259938120842,
0.001478876336477697,
-0.02444288693368435,
-0.031034840270876884,
0.0045467219315469265,
-0.053280409425497055,
0.03889796882867813,
-0.07481775432825089,
-0.018014371395111084,
-0.03493916243314743,
0.03019949607551098,
0.032142579555511475,
-0.020465923473238945,
-0.01557189878076315,
0.06192440167069435,
-0.010641554370522499,
0.029055437073111534,
0.02484240010380745,
0.02168262004852295,
0.012484758161008358,
0.07227540016174316,
0.027657145634293556,
0.033395592123270035,
0.01443692110478878,
-0.05190027505159378,
0.0024992215912789106,
-0.0536436028778553,
0.00771331088617444,
0.004008742514997721,
-0.01640724204480648,
0.07009624689817429,
0.010287441313266754,
0.006206059828400612,
0.03408566117286682,
-0.017406024038791656,
-0.017387863248586655,
0.05407943204045296,
0.0005987008917145431,
0.09007185697555542,
0.015662696212530136,
-0.04852258041501045,
-0.03137987479567528,
-0.0008824454271234572,
-0.0034412534441798925,
-0.036646172404289246,
-0.0639219656586647,
-0.050919655710458755,
0.007994784973561764,
0.043256282806396484,
0.0017875904450193048,
0.030417410656809807,
-0.021410224959254265,
0.03003605827689171,
-0.004766908008605242,
0.0197213776409626,
-0.05277194082736969,
-0.01475471444427967,
-0.018477441743016243,
-0.019848495721817017,
-0.026476766914129257,
-0.032778166234493256,
-0.04670661687850952,
0.066246397793293,
-0.022499805316329002,
0.0654110535979271,
-0.00488948542624712,
-0.015090667642652988,
0.012784392572939396,
-0.024352088570594788,
0.002200722461566329,
0.06439411640167236,
0.02106519229710102,
-0.07329234480857849,
-0.0011883219704031944,
0.010804991237819195,
-0.05331672728061676,
0.06214231625199318,
0.003232417395338416,
-0.058800943195819855,
-0.017723817378282547,
-0.004272057209163904,
-0.039079565554857254,
0.0017796455649659038,
-0.09363114833831787,
0.003913404420018196,
-0.05978156253695488,
-0.0378447063267231,
0.02649492770433426,
0.003818066092208028,
-0.02531455084681511,
-0.005951825063675642,
-0.03882532939314842,
-0.0354839526116848,
-0.008821049705147743,
-0.049103688448667526,
-0.012911510653793812,
0.037027522921562195,
0.03699120506644249,
-0.016062209382653236,
-0.01332918182015419,
0.045544400811195374,
-0.00938853807747364,
0.015889693051576614,
0.013301942497491837,
0.014800113625824451,
0.022735880687832832,
-0.0029464031103998423,
-0.011213582940399647,
-0.06762652844190598,
0.06512050330638885,
-0.009842529892921448,
-0.054152071475982666,
-0.02934599295258522,
-0.029945259913802147,
-0.018740758299827576,
-0.04173087328672409,
0.04401898756623268,
0.00835797842592001,
0.007595273200422525,
0.03644641488790512,
-0.007468155585229397,
-0.07939398288726807,
-0.007136742118746042,
0.006024463567882776,
-0.0702415183186531,
-0.025023996829986572,
0.02673100307583809,
0.021246789023280144,
-0.03295976296067238,
0.003731807693839073,
-0.02042960561811924,
-0.01791449263691902,
-0.04605286940932274,
-0.011876409873366356,
0.03824422135949135,
0.037663109600543976,
0.018250446766614914,
0.03223337605595589,
0.0003464520559646189,
0.01948530226945877,
0.08709367364645004,
-0.010587074793875217,
0.07205748558044434,
0.03744519501924515,
0.024007055908441544,
0.04409162700176239,
-0.011531377211213112,
0.037989985197782516,
0.025677742436528206,
0.01466391608119011,
-0.015889693051576614,
-0.038934286683797836,
-0.0552053302526474,
-0.002387993736192584,
0.01100474689155817,
0.007372817490249872,
-0.06399460136890411,
-0.017542220652103424,
-0.018740758299827576,
-0.09573766589164734,
0.03201546147465706,
-0.06980568915605545,
0.10104028880596161,
-0.06457570940256119,
0.008026564493775368,
-0.06090746074914932,
-0.01687939278781414,
0.04521752521395683,
0.008752950467169285,
0.042638856917619705,
0.023752819746732712,
0.01617116667330265,
-0.05727553367614746,
0.005043842364102602,
0.00012676285405177623,
0.04085921123623848,
-0.04125872254371643,
0.009211481548845768,
0.015653617680072784,
0.05662178620696068,
0.043982669711112976,
-0.04133136197924614,
0.004844086244702339,
-0.012139725498855114,
0.0012598256580531597,
0.009506575763225555,
0.060689546167850494,
-0.04140399768948555,
0.0023119503166526556,
0.04881313443183899,
0.042711492627859116,
0.00029282434843480587,
0.051863957196474075,
0.002408423461019993,
0.055096372961997986,
0.009506575763225555,
-0.08055619895458221,
0.012321321293711662,
-0.006260538939386606,
-0.01408280711621046,
0.016924792900681496,
0.0017444612458348274,
-0.01592601276934147,
-0.010042285546660423,
-0.003979233093559742,
-0.058328792452812195,
0.014700235798954964,
0.03762679174542427,
-0.028964640572667122,
0.025042155757546425,
-0.07481775432825089,
0.01623472571372986,
0.05451526492834091,
0.023553064092993736,
-0.06297766417264938,
0.0338859036564827,
0.004771447740495205,
0.00422211829572916,
0.004948504269123077,
-0.009670012630522251,
0.021900536492466927,
-0.00840791780501604,
-0.02665836364030838,
0.020792797207832336,
0.05182763561606407,
-0.021737098693847656,
0.05251770466566086,
0.035937946289777756,
-0.020883595570921898,
-0.027348430827260017,
-0.03219705820083618,
0.03257840871810913,
-0.008466936647891998,
-0.06842555850744247,
0.023789139464497566,
-0.06733597815036774,
-0.04725140705704689,
0.020792797207832336,
-0.015562819316983223,
0.05985420197248459,
0.005565932486206293,
-0.01095934771001339,
-0.033086881041526794,
0.0623239129781723,
0.032996080815792084,
-0.07438191771507263,
-0.066282719373703,
0.016770435497164726,
-0.003924753982573748,
-0.01838664524257183,
0.03366798907518387,
0.010614315047860146,
0.0030031518545001745,
0.0012450709473341703,
-0.06098010018467903,
0.00017577972903382033,
-0.019830336794257164,
-0.03622850030660629,
-0.023480426520109177,
-0.01671595685184002,
-0.002302870387211442,
-0.05742080882191658,
0.0804109275341034,
-0.010659714229404926,
0.027747943997383118,
0.025568785145878792,
-0.01672503724694252,
0.003645549528300762,
0.02057488262653351,
0.05121020972728729,
-0.034412533044815063,
-0.07837704569101334,
0.01332918182015419,
0.029164396226406097,
-0.06413988023996353,
-0.009597374126315117,
0.08208160847425461,
-0.03357718884944916,
-0.06119801476597786,
-0.016897553578019142,
-0.01742418296635151,
-0.03386774659156799,
0.006496614310890436,
-0.006673670839518309,
-0.017060989513993263,
-0.02809297665953636,
0.004939424339681864,
0.00538433576002717,
-0.02950942888855934,
0.015290424227714539,
-0.03479388728737831,
-0.07932134717702866,
0.0011344105005264282,
-0.03528419882059097,
-0.017324304208159447,
0.02484240010380745,
0.03343191370368004,
0.01238488033413887,
0.02578670158982277,
-0.005851946771144867,
0.049503203481435776,
0.01100474689155817,
0.02854696847498417,
-0.01285703107714653,
0.028274573385715485,
0.008861908689141273,
0.041839830577373505,
0.027330271899700165,
-0.054224710911512375,
0.0780864879488945,
-0.005729369353502989,
-0.12435727566480637,
0.019430823624134064,
0.0034003942273557186,
0.016225645318627357,
0.024878717958927155,
0.0307624451816082,
-0.017369704321026802,
-0.013901211321353912,
-0.015753494575619698,
0.04939424619078636,
-0.020520402118563652,
-0.007381897419691086,
0.011949049308896065,
-0.009202402085065842,
-0.01139517966657877,
0.10641553997993469,
0.04213038459420204,
0.0323423333466053,
-0.016688717529177666,
-0.004528562538325787,
0.07049575448036194,
0.010378239676356316,
0.0007496529724448919,
-0.007813189178705215,
-0.003118919674307108,
0.04289308935403824,
-0.05869198590517044,
-0.015108827501535416,
-0.03590162470936775,
-0.04598022997379303,
-0.021755259484052658,
0.06504786014556885,
-0.055495887994766235,
-0.008889148011803627,
-0.032778166234493256,
0.008226321078836918,
-0.004934884607791901,
0.01815056800842285,
-0.042638856917619705,
0.049103688448667526,
-0.03270552679896355,
-0.00843969639390707,
0.00977897085249424,
0.0021836976520717144,
0.0488857738673687,
-0.04939424619078636,
-0.039551716297864914,
0.03508444130420685,
-0.02689443901181221,
0.014564038254320621,
0.04834098368883133,
0.029473109170794487,
-0.019993772730231285,
0.016597919166088104,
0.0025605105329304934,
0.04648870229721069,
0.010078605264425278,
-0.029672866687178612,
-0.04016914218664169,
0.028456170111894608,
-0.023371467366814613,
-0.016616078093647957,
-0.006719070021063089,
-0.04075025022029877,
0.023698341101408005,
-0.0018795236246660352,
0.009315899573266506,
0.04205774515867233,
-0.023171711713075638,
-0.007940306328237057,
0.034666769206523895
] |
7,633 | emmett.app | send_signal | null | def send_signal(self, signal: Union[str, Signals], *args, **kwargs):
if not isinstance(signal, Signals):
warn_of_deprecation(
"App.send_signal str argument",
"extensions.Signals as argument",
stack=3
)
try:
signal = Signals[signal]
except KeyError:
raise SyntaxError(f"{signal} is not a valid signal")
for listener in self._extensions_listeners[signal]:
listener(*args, **kwargs)
| (self, signal: Union[str, emmett.extensions.Signals], *args, **kwargs) | [
-0.007631165906786919,
-0.008965319022536278,
0.008293511345982552,
0.07009506970643997,
0.0031532375141978264,
-0.008927470073103905,
-0.02286037988960743,
0.10097929835319519,
0.04045984521508217,
-0.0024069161154329777,
-0.03805647790431976,
0.018611907958984375,
-0.005435963626950979,
-0.01840374246239662,
-0.06252541393041611,
-0.02840515784919262,
-0.03879452124238014,
0.0009213698212988675,
0.0344608873128891,
-0.011108479462563992,
-0.0321899875998497,
0.05480435490608215,
0.011449114419519901,
0.03270094096660614,
0.004572549369186163,
0.10143347829580307,
0.009556698612868786,
0.03860527649521828,
0.057113103568553925,
-0.010162271559238434,
0.013852481730282307,
-0.04587215557694435,
0.029881242662668228,
-0.06612099707126617,
-0.010219044052064419,
-0.00790556613355875,
-0.013691626489162445,
0.025926092639565468,
-0.02562330663204193,
0.025093430653214455,
0.02670198306441307,
0.01216823235154152,
0.01289681252092123,
0.0017765051452443004,
0.020381316542625427,
0.04814305156469345,
-0.06294174492359161,
0.06581821292638779,
0.06642378866672516,
-0.006751192733645439,
0.004634052515029907,
-0.011231486685574055,
0.0015458669513463974,
-0.04193592816591263,
-0.047158997505903244,
0.07327432930469513,
0.04182238504290581,
0.0693381056189537,
-0.013814633712172508,
0.04416897892951965,
0.027004770934581757,
0.006935703102499247,
-0.004787811543792486,
-0.021933097392320633,
0.022784683853387833,
-0.053895995020866394,
0.06131426617503166,
0.01691819541156292,
-0.00324549269862473,
-0.07024646550416946,
0.01205468736588955,
-0.02303069829940796,
0.0008184697362594306,
0.023579498752951622,
-0.019927136600017548,
-0.006916779093444347,
-0.052533455193042755,
0.01572597399353981,
-0.05556132271885872,
0.06127641722559929,
0.046364180743694305,
-0.09878409653902054,
-0.04526657983660698,
0.00909778755158186,
-0.033174045383930206,
0.021857399493455887,
-0.06017881631851196,
-0.024450009688735008,
-0.029275668784976006,
0.031887203454971313,
-0.015905752778053284,
-0.0032928031869232655,
0.012338549830019474,
0.01956757716834545,
-0.00466953543946147,
-0.006282819900661707,
-0.006661302875727415,
-0.025642231106758118,
0.02891610935330391,
0.022046642377972603,
0.0009030370856635273,
-0.0008226094068959355,
0.0015222118236124516,
-0.035955894738435745,
-0.0032596858218312263,
-0.039021607488393784,
0.012177694588899612,
-0.03394993394613266,
-0.015347490087151527,
0.019662197679281235,
0.02462032623589039,
-0.012196618132293224,
0.010342051275074482,
-0.0487864725291729,
-0.028556551784276962,
0.005961108952760696,
0.0012229735730215907,
-0.009036284871399403,
0.02709939144551754,
-0.021592462435364723,
-0.035672035068273544,
0.08099538832902908,
0.014410744421184063,
0.07781612873077393,
-0.010077113285660744,
0.04871077835559845,
0.035047534853219986,
0.03236030787229538,
-0.02817806787788868,
0.028215916827321053,
-0.0014985565794631839,
0.015338027849793434,
0.039021607488393784,
0.03343898430466652,
-0.004485025070607662,
0.04492594674229622,
-0.025717927142977715,
0.01037989929318428,
0.0037256930954754353,
-0.0010337319690734148,
-0.009064670652151108,
0.023049620911478996,
-0.010673223994672298,
0.04254150390625,
0.007087096571922302,
0.026342425495386124,
-0.009897333569824696,
0.009154560044407845,
-0.008619952946901321,
-0.035955894738435745,
-0.01996498368680477,
0.047386087477207184,
-0.03315512090921402,
0.003922031261026859,
-0.06842974573373795,
0.03805647790431976,
-0.03656147047877312,
0.0465155765414238,
-0.02337133325636387,
0.028045598417520523,
-0.04973268136382103,
-0.0030751752201467752,
-0.0039882659912109375,
0.01922694221138954,
-0.024752795696258545,
-0.01252779085189104,
-0.019122859463095665,
0.07758904248476028,
-0.01600983552634716,
0.02454463019967079,
0.021516764536499977,
-0.012338549830019474,
0.023049620911478996,
0.07308509200811386,
0.01934048719704151,
0.05469081178307533,
-0.016785725951194763,
0.0027061542496085167,
-0.005596818868070841,
-0.06369870901107788,
0.051625095307826996,
-0.042125169187784195,
-0.017107436433434486,
0.0201353020966053,
-0.010796231217682362,
-0.03735628351569176,
-0.04787811264395714,
-0.0099257193505764,
0.02047593705356121,
-0.047045450657606125,
0.041443902999162674,
0.0007551920716650784,
0.028329461812973022,
-0.017192594707012177,
-0.009400574490427971,
0.018933618441224098,
0.01493115909397602,
-0.06702935695648193,
-0.0660831555724144,
-0.012858963571488857,
0.033079423010349274,
-0.035615261644124985,
0.007427731063216925,
-0.004061596933752298,
0.023920133709907532,
-0.04810520261526108,
0.050262559205293655,
0.017050664871931076,
0.012963046319782734,
-0.08152526617050171,
0.048407990485429764,
-0.03684533014893532,
-0.028651172295212746,
-0.04776456952095032,
0.021687082946300507,
0.02568008005619049,
-0.024090450257062912,
-0.056431833654642105,
0.019927136600017548,
-0.05616689473390579,
0.02144106850028038,
0.05540992692112923,
-0.04038414731621742,
-0.011931680142879486,
0.00961347110569477,
0.005071673542261124,
0.04288213700056076,
0.0017824189271777868,
-0.004480293951928616,
0.006921510212123394,
0.014013336971402168,
0.003787196706980467,
0.034820444881916046,
0.004858776926994324,
-0.0106353759765625,
0.03230353444814682,
0.011127403937280178,
-0.010029803030192852,
0.03762122243642807,
-0.0240336786955595,
0.055977653712034225,
0.013464536517858505,
-0.0004932107985951006,
-0.01990821212530136,
0.031622264534235,
0.005998957436531782,
0.03932439535856247,
-0.005554239731281996,
-0.0198514387011528,
0.014372896403074265,
0.08765669167041779,
-0.017750857397913933,
-0.04628848657011986,
-0.01083407923579216,
-0.05798361450433731,
0.03181150555610657,
0.013899792917072773,
0.04575860872864723,
-0.008435442112386227,
0.006538295652717352,
-0.05593980476260185,
0.04609924182295799,
-0.0048966254107654095,
0.011297721415758133,
-0.011345031671226025,
0.02064625360071659,
-0.03060035966336727,
-0.0006972368573769927,
0.041103266179561615,
0.01882953569293022,
-0.07539383322000504,
-0.02726970799267292,
-0.005355536006391048,
0.06256326287984848,
-0.01615176722407341,
0.021687082946300507,
-0.03654254600405693,
0.042238716036081314,
-0.03164118900895119,
-0.0459478497505188,
0.010275816544890404,
0.016984429210424423,
0.06528833508491516,
-0.04170883819460869,
0.01683303713798523,
-0.01990821212530136,
0.06998153030872345,
-0.004026114009320736,
-0.03309834748506546,
-0.04337416589260101,
0.04700760170817375,
0.046250637620687485,
0.04239010810852051,
0.02450678125023842,
-0.05075458437204361,
0.03909730538725853,
0.009632395580410957,
0.014022799208760262,
0.09832991659641266,
0.01275488082319498,
0.1019633486866951,
-0.021800627931952477,
0.021649233996868134,
0.02178170345723629,
-0.020854419097304344,
-0.029786622151732445,
0.006912047974765301,
0.0015990912215784192,
-0.08288780599832535,
-0.02732648141682148,
-0.03415809944272041,
0.009315415285527706,
-0.018129341304302216,
-0.03890806436538696,
-0.017334526404738426,
0.0670672059059143,
0.010417748242616653,
0.01278326753526926,
-0.01910393498837948,
0.03336328640580177,
0.04231441393494606,
-0.000011069892025261652,
-0.03480152413249016,
0.04541797563433647,
0.036447923630476,
0.07066279649734497,
-0.006055729929357767,
-0.010843541473150253,
-0.040876176208257675,
-0.05143585428595543,
0.07259306311607361,
0.0069924755953252316,
-0.00606519216671586,
-0.05957324430346489,
-0.0035530102904886007,
0.07622650265693665,
-0.014552676118910313,
0.020570557564496994,
-0.07342572510242462,
0.0024270229041576385,
0.0037777347024530172,
0.057340193539857864,
0.037545524537563324,
-0.005152101628482342,
0.004835121799260378,
-0.02556653507053852,
-0.018668679520487785,
0.018441589549183846,
0.009315415285527706,
0.04231441393494606,
-0.008534794673323631,
0.022992849349975586,
-0.011439652182161808,
-0.059383999556303024,
0.02121397852897644,
-0.013199598528444767,
0.052874092012643814,
-0.0000157085269165691,
-0.03156549111008644,
-0.018223961815238,
0.034082405269145966,
-0.0020118742249906063,
0.05283624306321144,
-0.029294593259692192,
0.03495291620492935,
-0.003510430920869112,
0.04780241847038269,
0.004657707642763853,
-0.0012430804781615734,
0.021857399493455887,
0.0027179818134754896,
0.03796185553073883,
-0.03656147047877312,
0.011865445412695408,
-0.0110611692070961,
-0.00400955555960536,
0.0372995100915432,
0.0288593377918005,
-0.056658923625946045,
0.01091923750936985,
0.035104308277368546,
-0.04242795705795288,
0.06059514731168747,
0.027194011956453323,
0.035331398248672485,
-0.013076591305434704,
-0.002054453594610095,
-0.0010804510675370693,
-0.02454463019967079,
-0.02269006334245205,
-0.024960961192846298,
-0.03805647790431976,
-0.013445612974464893,
0.03466905280947685,
-0.02511235512793064,
-0.0995410606265068,
-0.04871077835559845,
0.03203859552741051,
-0.01352130901068449,
0.026966921985149384,
-0.07550738006830215,
-0.05582625791430473,
-0.05438802391290665,
-0.00881392601877451,
0.05189003422856331,
0.051625095307826996,
-0.01973789371550083,
-0.011666742153465748,
0.0037990242708474398,
0.005435963626950979,
0.026607362553477287,
0.06759708374738693,
-0.06517479568719864,
-0.023503800854086876,
0.045115187764167786,
-0.03765907138586044,
0.018867382779717445,
-0.02664521150290966,
-0.033855315297842026,
0.007517620921134949,
-0.020002832636237144,
-0.049921922385692596,
0.029786622151732445,
0.010843541473150253,
0.06104932725429535,
-0.018290197476744652,
0.0046364180743694305,
-0.019179631024599075,
-0.009802713058888912,
0.03603159263730049,
-0.014287737198174,
0.011903294362127781,
-0.03457443416118622,
0.031130235642194748,
0.012471018359065056,
0.02834838628768921,
0.0192837156355381,
-0.04560721665620804,
-0.015423187054693699,
-0.01805364526808262,
-0.052306365221738815,
-0.022330503910779953,
-0.03306049853563309,
-0.057718675583601,
-0.008052228018641472,
-0.021876323968172073,
0.01151534914970398,
-0.027686040848493576,
-0.03525570407509804,
-0.005010170396417379,
-0.044661007821559906,
-0.02675875648856163,
0.05400954186916351,
-0.00727160694077611,
0.05764297768473625,
-0.004468466155230999,
0.00803330447524786,
-0.025604382157325745,
-0.026966921985149384,
-0.014467516914010048,
-0.017268292605876923,
-0.03266309201717377,
-0.03421487286686897,
-0.04352555796504021,
0.007574393413960934,
0.023503800854086876,
-0.007957607507705688,
0.012594025582075119,
0.014704069122672081,
0.014041723683476448,
0.05707525461912155,
0.012518328614532948,
0.006680226884782314,
-0.02030561864376068,
0.0016889809630811214,
0.008601028472185135,
-0.025206975638866425,
0.007110751699656248,
-0.057226646691560745,
0.00476415641605854,
-0.017760319635272026,
-0.00421535549685359,
0.021308599039912224,
0.04526657983660698,
0.0029971131589263678,
-0.01808203011751175,
0.03890806436538696,
-0.06884607672691345,
-0.002670671558007598,
0.032454926520586014,
0.029067503288388252,
0.01660594716668129,
0.029010731726884842,
0.014448593370616436,
0.07138191908597946,
0.016501864418387413,
-0.07789182662963867,
0.012092535383999348,
-0.015016317367553711,
0.014391820877790451,
-0.05809715762734413,
-0.0232577882707119,
-0.021138282492756844,
0.021403219550848007,
0.020494861528277397,
0.01952972821891308,
0.022254807874560356,
0.1042342483997345,
0.018782224506139755,
-0.049921922385692596,
-0.004723942372947931,
0.04988407343626022,
-0.011562659405171871,
-0.011761362664401531,
0.01825234852731228,
-0.0531768761575222,
0.036410074681043625,
-0.01029474101960659,
-0.018611907958984375,
0.012707570567727089,
0.0385674312710762,
-0.043184924870729446,
-0.005885412450879812,
-0.0054880050010979176,
0.0717604011297226,
-0.09091164171695709,
0.0032928031869232655,
-0.03576665371656418,
0.017533229663968086,
0.046364180743694305,
0.030581435188651085,
0.09780003875494003,
-0.00843071099370718,
0.007943414151668549,
0.055637016892433167,
0.045228730887174606,
0.025131279602646828,
-0.02550976164638996,
0.007915028370916843,
0.04731038957834244,
-0.08046551048755646,
0.0034631204325705767,
-0.01125987246632576,
0.006178736686706543,
0.008336090482771397,
-0.02715616300702095,
-0.037204891443252563,
-0.03343898430466652,
-0.0019692948553711176,
0.014051185920834541,
-0.014070109464228153,
-0.039854273200035095,
-0.03873774781823158,
0.08046551048755646,
0.00216445024125278,
-0.0265884380787611,
0.03130055218935013,
0.011023321188986301,
-0.026266727596521378,
0.029124276712536812,
-0.02002175711095333,
-0.021195054054260254,
0.039021607488393784,
-0.04261719807982445,
-0.05238206312060356,
0.011449114419519901,
0.01547049731016159,
-0.03654254600405693,
-0.031830430030822754,
-0.00810426939278841,
0.003787196706980467,
0.019643273204565048,
-0.01973789371550083,
-0.05612904578447342,
0.010909776203334332,
0.015820594504475594,
-0.0034820446744561195,
-0.0028575474862009287,
-0.08038981258869171,
0.002803140552714467,
-0.03292803093791008,
0.04768887162208557,
-0.07051140815019608,
0.02081657201051712,
0.00799072440713644,
0.05567486584186554,
0.033230818808078766,
-0.008979512378573418,
-0.07478826493024826,
0.03224676102399826,
-0.03043004311621189,
-0.03016510419547558,
-0.01847943849861622,
0.015375876799225807,
0.028196992352604866,
0.0059516471810638905,
-0.04575860872864723,
-0.03241707757115364,
0.012660260312259197,
-0.03637222573161125,
0.0240336786955595,
-0.02348487824201584,
0.0232577882707119,
-0.036977801471948624,
0.07493966072797775,
0.02607748657464981,
-0.0020982157438993454,
0.02993801422417164,
0.0192837156355381,
-0.029294593259692192,
-0.020400239154696465,
0.11604292690753937,
-0.00933907087892294,
0.041973777115345,
-0.01774139516055584,
0.0065004476346075535,
-0.031092388555407524,
-0.013738936744630337,
0.05181434005498886,
0.0056488607078790665,
-0.04231441393494606,
0.016700567677617073,
-0.012518328614532948,
-0.05363105610013008,
0.014212041161954403,
-0.011903294362127781,
-0.027364328503608704,
0.03650469705462456,
-0.04859723150730133,
-0.08205513656139374,
0.0021810089237987995,
-0.030959919095039368,
0.03412025421857834,
-0.016246387735009193,
0.020911192521452904,
-0.05930830538272858,
-0.06786202639341354,
-0.060292359441518784,
-0.07985993474721909,
0.02704261802136898,
0.04356340691447258,
-0.001657046377658844,
-0.03203859552741051,
-0.058929819613695145,
0.02427969127893448,
0.0784217044711113,
-0.03495291620492935,
-0.048900019377470016,
-0.05336612090468407,
-0.0704735592007637,
0.060443755239248276,
0.02505558170378208,
-0.09151721745729446,
0.031830430030822754,
0.0414060540497303,
0.0883379578590393,
0.000003086263632212649,
-0.017760319635272026,
0.035501714795827866,
0.014107958413660526,
0.026853376999497414,
0.005057480651885271,
0.0850830078125,
-0.013984951190650463,
-0.015025779604911804,
-0.013502385467290878,
0.02636134997010231,
-0.06347161531448364,
0.03898376226425171,
-0.04802950844168663,
0.010048726573586464,
0.0061408886685967445,
-0.020513784140348434,
0.0021159572061151266,
0.07107912749052048,
0.006954627111554146,
-0.0165207888931036,
0.002008326118811965,
-0.02647489309310913,
-0.07781612873077393,
-0.015830056741833687,
-0.06464491784572601,
0.04871077835559845,
-0.023863360285758972,
-0.04307137802243233,
0.004906087182462215,
0.037261661142110825,
-0.014552676118910313,
-0.01454321388155222,
0.02607748657464981,
0.003129582153633237,
0.000020753737771883607,
-0.011960066854953766,
-0.025206975638866425,
0.03716704249382019,
-0.020665178075432777,
-0.011846521869301796,
-0.04776456952095032,
0.00016026393859647214,
-0.05056534335017204,
0.06025451049208641,
0.005724557209759951,
0.0229739248752594,
0.03319296985864639,
0.03811325132846832,
-0.03016510419547558,
0.015886828303337097,
-0.031603340059518814,
0.04023275524377823,
0.053441815078258514,
-0.022992849349975586,
-0.06048160046339035,
-0.010370437055826187,
0.018186112865805626,
-0.003044423647224903,
-0.010313664563000202,
0.002883568173274398,
-0.0036074172239750624,
-0.005431232508271933,
0.023730890825390816,
-0.05491790175437927,
-0.039740726351737976,
0.004165679682046175,
-0.037867236882448196,
0.003264416940510273,
-0.06490985304117203,
0.08107108622789383,
0.05817285552620888,
-0.00879973266273737,
0.028575474396348,
-0.054047390818595886,
-0.028196992352604866,
-0.010616451501846313,
0.00670388201251626,
0.030448967590928078,
-0.0010816337307915092,
0.004139658994972706,
-0.01493115909397602,
0.009159291163086891,
0.017703548073768616,
0.001622746349312365,
-0.000990561326034367,
0.030240800231695175,
-0.04250365495681763,
0.07266876101493835,
0.017590003088116646,
-0.04049769416451454,
0.008250932209193707,
0.028045598417520523,
-0.01589629054069519,
0.03359037637710571,
0.05442587286233902,
-0.09121443331241608,
-0.020892268046736717,
0.04560721665620804,
0.005331880878657103,
0.019870363175868988,
-0.023730890825390816,
-0.008298242464661598,
-0.003661824157461524,
-0.051852185279130936,
0.032454926520586014,
0.00921133253723383,
-0.005100059788674116,
0.035161081701517105,
0.010569141246378422,
0.014391820877790451,
-0.0018155361758545041
] |
7,634 | emmett.app | test_client | null | def test_client(self, use_cookies: bool = True, **kwargs) -> EmmettTestClient:
tclass = self.test_client_class or EmmettTestClient
return tclass(self, use_cookies=use_cookies, **kwargs)
| (self, use_cookies: bool = True, **kwargs) -> emmett.testing.client.EmmettTestClient | [
-0.004159441217780113,
-0.06123126298189163,
0.025063758715987206,
-0.048021018505096436,
-0.011576814576983452,
0.01065745297819376,
-0.030062228441238403,
0.06055289879441261,
-0.011050189845263958,
0.020725799724459648,
-0.00041588835301809013,
0.034578703343868256,
-0.02201112173497677,
0.020083140581846237,
0.05255534499883652,
-0.016280733048915863,
0.015887994319200516,
-0.04944915324449539,
0.0550902858376503,
-0.06165970116853714,
-0.016700247302651405,
0.028062840923666954,
0.008510788902640343,
0.007930608466267586,
0.0345430001616478,
0.04098745808005333,
-0.03049067035317421,
0.00999694038182497,
0.08433133363723755,
0.0006114200223237276,
-0.0516984649002552,
0.01735183224081993,
-0.029723046347498894,
0.08397430181503296,
0.013647609390318394,
-0.040130577981472015,
-0.03677446022629738,
-0.0037912505213171244,
-0.06323064863681793,
0.04905641824007034,
-0.02756299450993538,
-0.007024636026471853,
0.08140365779399872,
0.020065288990736008,
-0.010532490909099579,
0.022760892286896706,
0.045414675027132034,
0.05405488610267639,
0.008350123651325703,
-0.005980312824249268,
0.03147251158952713,
-0.03216872736811638,
0.03581047058105469,
0.039487916976213455,
-0.06033867970108986,
0.008916914463043213,
0.04844946041703224,
0.008948154747486115,
-0.08882995694875717,
0.06198103353381157,
-0.09618484973907471,
0.021868307143449783,
0.05216260999441147,
-0.004976155702024698,
-0.035846173763275146,
0.003867120249196887,
-0.054590437561273575,
0.03207946941256523,
0.05698256194591522,
-0.007689611054956913,
0.05551872402429581,
-0.0048511940985918045,
0.020458025857806206,
-0.013049578294157982,
0.05184127762913704,
-0.029955118894577026,
-0.07169234752655029,
-0.022528819739818573,
-0.06505151838064194,
0.03766704350709915,
-0.0006750166648998857,
0.032293688505887985,
-0.03354330733418465,
0.012755025178194046,
0.03416811674833298,
-0.002987924963235855,
-0.006448919419199228,
-0.01769101433455944,
0.03870244324207306,
0.028759056702256203,
0.008626824244856834,
-0.004125969484448433,
-0.023831993341445923,
-0.0392736978828907,
-0.01806589961051941,
-0.01691446639597416,
-0.005342115182429552,
0.02258237451314926,
-0.00932750292122364,
0.03377537801861763,
0.004054562654346228,
0.10282567888498306,
-0.0021187711972743273,
-0.006328420713543892,
0.03647098317742348,
-0.012558656744658947,
-0.044736310839653015,
-0.027955731377005577,
0.05091299116611481,
0.014807968400418758,
0.013817200437188148,
0.020904317498207092,
0.014022494666278362,
0.060874227434396744,
-0.004018859472125769,
-0.03432878106832504,
0.034239523112773895,
-0.005538483615964651,
0.019261963665485382,
-0.023010816425085068,
-0.04030909389257431,
0.045700300484895706,
0.008559880778193474,
0.026349078863859177,
0.0490921214222908,
-0.0007268980843946338,
0.016396768391132355,
0.007265633903443813,
0.021243499591946602,
-0.04330817610025406,
0.08168929070234299,
-0.005239468067884445,
0.02918749675154686,
0.03441803902387619,
-0.025045907124876976,
0.09732735902070999,
0.011880293488502502,
0.051627058535814285,
0.03838111087679863,
0.05155565217137337,
-0.03186525031924248,
0.07919005304574966,
-0.04841375723481178,
0.043450988829135895,
-0.0438794307410717,
-0.03909517824649811,
-0.06851474940776825,
-0.05866061896085739,
-0.020404471084475517,
0.027973582968115807,
0.06465878337621689,
-0.04337958246469498,
-0.03348975256085396,
0.01735183224081993,
-0.039809245616197586,
-0.04366520792245865,
-0.016682395711541176,
-0.03313271701335907,
0.02520657144486904,
0.03279353678226471,
0.01835152693092823,
0.02592063881456852,
0.054554734379053116,
0.05701826512813568,
0.005154672544449568,
0.013486944139003754,
-0.0693359225988388,
-0.06119555979967117,
-0.0008953733486123383,
0.008251938968896866,
-0.017601756379008293,
0.0053465780802071095,
-0.03452514857053757,
-0.0193333700299263,
0.006216847337782383,
-0.039880651980638504,
0.025188719853758812,
-0.04316536337137222,
-0.005422447808086872,
-0.0015988410450518131,
-0.011068041436374187,
-0.018530044704675674,
-0.027080997824668884,
0.027812916785478592,
0.04794961214065552,
0.004358041565865278,
0.011442926712334156,
0.02858053892850876,
0.0012206085957586765,
-0.0145758967846632,
-0.061088450253009796,
0.05633990094065666,
0.04716413840651512,
0.017342906445264816,
-0.009148986078798771,
-0.03495359048247337,
0.02426043339073658,
-0.015468480996787548,
-0.03859533369541168,
0.0466642901301384,
-0.09204326570034027,
0.06905029714107513,
0.018297972157597542,
-0.029026832431554794,
0.08511681109666824,
0.022671634331345558,
0.0021276972256600857,
-0.03468581289052963,
-0.02586708404123783,
0.00015982832701411098,
-0.02299296297132969,
-0.01296031940728426,
-0.055875759571790695,
0.0193333700299263,
0.024028360843658447,
-0.0360603928565979,
-0.01182673778384924,
0.009256095625460148,
-0.0019703791476786137,
0.0334540493786335,
0.03955932334065437,
0.016316436231136322,
-0.008359049446880817,
-0.02949097566306591,
0.02061869017779827,
-0.004753009881824255,
0.01623610220849514,
0.0021120768506079912,
-0.046057336032390594,
-0.04452209174633026,
-0.01863715425133705,
0.06158829480409622,
0.058160774409770966,
0.0015497489366680384,
-0.011273335665464401,
-0.008765175007283688,
0.006596195977181196,
0.007993089966475964,
-0.07208508253097534,
0.0030526372138410807,
0.0589105449616909,
0.007729777600616217,
0.07083546370267868,
0.002474689157679677,
-0.01576303318142891,
0.029687343165278435,
-0.01145185250788927,
-0.026134859770536423,
0.0064399936236441135,
0.035596251487731934,
-0.012246252037584782,
-0.05676834285259247,
0.0524839386343956,
0.003956378437578678,
-0.012192697264254093,
0.07190656661987305,
0.0466642901301384,
0.008948154747486115,
-0.029633788391947746,
-0.0070603396743535995,
0.0017996724927797914,
-0.00860004685819149,
0.003800176316872239,
0.06644394993782043,
-0.026438338682055473,
-0.005743777845054865,
0.022439561784267426,
0.036506686359643936,
-0.019922474399209023,
-0.0036350484006106853,
0.07569112628698349,
-0.013629757799208164,
0.03698867931962013,
0.0007174143684096634,
-0.03252575919032097,
-0.08026115596294403,
-0.060160160064697266,
-0.004369198810309172,
-0.09068653732538223,
-0.03509640321135521,
-0.07711926102638245,
0.014656228944659233,
0.06305213272571564,
0.0022336915135383606,
-0.02690248191356659,
-0.06076711788773537,
-0.00904187560081482,
0.05669693648815155,
0.018762115389108658,
-0.023492811247706413,
-0.052626751363277435,
-0.057232487946748734,
0.017905235290527344,
-0.06105274707078934,
-0.05023462697863579,
-0.021529126912355423,
-0.08047537505626678,
-0.012844284065067768,
-0.017191167920827866,
0.0029656102415174246,
-0.019886771216988564,
-0.04366520792245865,
-0.0079395342618227,
0.04152300953865051,
0.0484851635992527,
0.015138224698603153,
-0.016486026346683502,
-0.007542334962636232,
0.019601143896579742,
0.009800571948289871,
-0.04609303921461105,
-0.006551566533744335,
-0.04223707318305969,
-0.011996328830718994,
-0.057875145226716995,
-0.002241501584649086,
0.010041570290923119,
-0.03891666233539581,
0.051591355353593826,
-0.012540805153548717,
-0.014013568870723248,
-0.0072790225967764854,
-0.0035859562922269106,
0.04002346843481064,
0.01638784259557724,
0.04070182889699936,
-0.022064676508307457,
-0.004971692804247141,
-0.02688463032245636,
0.01902989111840725,
-0.042094260454177856,
0.02136846072971821,
-0.02683107554912567,
-0.023046519607305527,
-0.044057946652173996,
-0.02552790194749832,
0.05616138502955437,
0.002767010359093547,
-0.025706419721245766,
-0.02618841454386711,
0.0006582806818187237,
-0.027687955647706985,
-0.03550698980689049,
0.007247782312333584,
-0.03600683808326721,
0.03966643288731575,
-0.014227788895368576,
0.01740538887679577,
0.053555041551589966,
0.003068257588893175,
0.041772931814193726,
-0.037595637142658234,
0.07054983824491501,
0.013995717279613018,
0.03136540204286575,
-0.02065439336001873,
-0.009372131898999214,
0.010086199268698692,
-0.012772876769304276,
-0.00266436324454844,
-0.051948387175798416,
-0.004360273014754057,
0.04655718058347702,
0.044129353016614914,
-0.056197088211774826,
-0.023064371198415756,
0.05019892379641533,
-0.046021632850170135,
0.04912782460451126,
-0.01358512882143259,
-0.007087117061018944,
-0.056482717394828796,
0.005779481492936611,
0.005101117771118879,
0.048306647688150406,
-0.0337575264275074,
-0.06615832448005676,
-0.026723964139819145,
0.016075437888503075,
0.062445174902677536,
-0.019440479576587677,
0.017735643312335014,
-0.007658370770514011,
-0.03143680840730667,
-0.012594359926879406,
-0.00315751601010561,
-0.001057154149748385,
0.014263492077589035,
0.012549730949103832,
-0.015477406792342663,
0.005882128607481718,
-0.03795267269015312,
-0.006716694682836533,
-0.019458331167697906,
-0.03639957681298256,
-0.040773238986730576,
-0.07797613739967346,
0.006435530725866556,
-0.005672371480613947,
-0.0122730303555727,
0.01784275472164154,
0.04452209174633026,
0.020386619493365288,
0.004063488449901342,
-0.0054269107058644295,
0.038202594965696335,
-0.0029053608886897564,
-0.05273386090993881,
0.07540549337863922,
-0.006502474658191204,
-0.04984189197421074,
-0.006707768887281418,
-0.08833011239767075,
0.031293995678424835,
-0.003652899991720915,
0.02593849040567875,
-0.044486384838819504,
0.01425456628203392,
0.04384372755885124,
0.002679983386769891,
0.0291517935693264,
-0.00882765557616949,
-0.027384476736187935,
-0.041451599448919296,
0.07497705519199371,
0.0029656102415174246,
-0.028348468244075775,
0.055268801748752594,
0.011389371939003468,
-0.014299195259809494,
0.049342043697834015,
-0.019083445891737938,
-0.04580741003155708,
0.00217121047899127,
0.026759669184684753,
0.06001734733581543,
-0.05944609269499779,
-0.016834134235978127,
0.03438233584165573,
-0.006091885734349489,
-0.048378054052591324,
-0.06248088181018829,
-0.029705194756388664,
-0.017610682174563408,
0.02561715990304947,
-0.03109762631356716,
-0.007823498919606209,
0.0033159495797008276,
0.015040040016174316,
-0.022421710193157196,
0.024510357528924942,
0.05041314288973808,
-0.03275783360004425,
-0.03434663265943527,
0.005016322247684002,
-0.044093649834394455,
0.005658982787281275,
0.030687037855386734,
0.009541722945868969,
0.010470010340213776,
0.0644802674651146,
-0.05512598901987076,
-0.022796595469117165,
-0.02818780206143856,
0.025724271312355995,
0.00476193567737937,
0.004217459354549646,
0.017789199948310852,
0.01831582374870777,
-0.014540193602442741,
0.008586658164858818,
0.00045438105007633567,
-0.014522342011332512,
-0.011219780892133713,
0.025367237627506256,
0.06269510090351105,
-0.03702438250184059,
-0.021761197596788406,
-0.026491893455386162,
0.037524230778217316,
-0.008327809162437916,
0.0386667400598526,
0.04584311321377754,
-0.009961237199604511,
-0.047735393047332764,
-0.023189332336187363,
0.007810110226273537,
-0.022207489237189293,
0.03731001168489456,
-0.016164695844054222,
0.03268642723560333,
0.03347190096974373,
-0.032972052693367004,
0.02983015775680542,
-0.03611394762992859,
0.017610682174563408,
0.016923392191529274,
-0.012514027766883373,
-0.017057280987501144,
0.016486026346683502,
0.020565135404467583,
0.030544225126504898,
0.02290370501577854,
0.02979445457458496,
0.04105886444449425,
-0.07704785466194153,
-0.024117618799209595,
0.00026665948098525405,
-0.02556360512971878,
-0.027313070371747017,
-0.0051948390901088715,
0.05941038951277733,
-0.01819978840649128,
-0.004335726611316204,
0.04337958246469498,
-0.037559933960437775,
-0.09011527895927429,
0.008162681013345718,
0.02358206920325756,
-0.006792564410716295,
0.030240746214985847,
0.062123846262693405,
0.01625395379960537,
0.0003185409295838326,
-0.007885979488492012,
0.013754719868302345,
0.03204376623034477,
0.08418852090835571,
0.06362339109182358,
0.08740182220935822,
-0.020458025857806206,
-0.0432724729180336,
-0.044093649834394455,
0.051020100712776184,
-0.03573906421661377,
-0.0380597822368145,
-0.08761604875326157,
0.006132052280008793,
0.1041824072599411,
-0.047699689865112305,
0.051591355353593826,
0.04063042253255844,
-0.010470010340213776,
-0.023831993341445923,
-0.04827094450592995,
0.00444060517475009,
0.052626751363277435,
0.04323676973581314,
-0.03481077775359154,
0.0039608413353562355,
0.06572988629341125,
-0.030312152579426765,
0.04852086678147316,
-0.041451599448919296,
-0.019797513261437416,
-0.03272213041782379,
0.01633428782224655,
-0.0372743085026741,
0.007957386784255505,
-0.039523620158433914,
0.0016657848609611392,
-0.004779787268489599,
-0.05176987126469612,
0.03250790759921074,
-0.010023718699812889,
-0.03830970451235771,
0.04427216574549675,
0.028294913470745087,
-0.039202287793159485,
-0.019226258620619774,
0.017039429396390915,
-0.033900339156389236,
0.05087728798389435,
0.11839234083890915,
-0.027973582968115807,
0.06262369453907013,
-0.030330004170536995,
-0.0011804422829300165,
0.04712843522429466,
0.023492811247706413,
-0.05512598901987076,
0.016798431053757668,
-0.02070794813334942,
-0.05644701048731804,
-0.014513416215777397,
-0.025063758715987206,
0.04580741003155708,
-0.006252550985664129,
-0.005748240742832422,
-0.047092732042074203,
-0.008809803985059261,
0.009452464990317822,
-0.03638172522187233,
-0.016245028004050255,
0.003713149344548583,
-0.05726819112896919,
-0.02036876603960991,
0.0108181182295084,
0.011059115640819073,
-0.00450308620929718,
0.024421097710728645,
0.054626140743494034,
0.025117313489317894,
-0.028366319835186005,
0.021082833409309387,
0.0014292501145973802,
-0.0664796531200409,
-0.028294913470745087,
0.014558045193552971,
-0.04191574454307556,
-0.03447159379720688,
0.010112976655364037,
-0.030901258811354637,
-0.04316536337137222,
0.013388760387897491,
0.005029710941016674,
-0.07276345044374466,
0.013290575705468655,
-0.021189944818615913,
-0.05726819112896919,
0.04791390895843506,
-0.03313271701335907,
0.04545037820935249,
0.007252245210111141,
-0.020386619493365288,
-0.04002346843481064,
0.03011578507721424,
-0.04780679941177368,
-0.03834540769457817,
0.02625982090830803,
0.017878457903862,
0.020118843764066696,
0.0074396878480911255,
-0.044057946652173996,
0.04027339071035385,
-0.02556360512971878,
0.06576558947563171,
-0.001132465898990631,
0.08490259200334549,
0.005284097511321306,
-0.01936907321214676,
0.0349714420735836,
0.0012964782072231174,
0.02193971537053585,
-0.06662247329950333,
-0.019601143896579742,
-0.011326891370117664,
-0.03991635516285896,
0.03838111087679863,
-0.058160774409770966,
0.0050118593499064445,
0.10046925395727158,
0.022671634331345558,
0.0019726105965673923,
-0.0647301897406578,
0.0005135147366672754,
0.032579317688941956,
0.033936042338609695,
0.05762522295117378,
-0.027652252465486526,
0.030365707352757454,
0.04523615539073944,
0.004940452519804239,
0.010702081955969334,
0.055875759571790695,
0.00009162932838080451,
0.03220443055033684,
0.006649750750511885,
0.034293077886104584,
-0.015289964154362679,
0.009657759219408035,
0.03152606636285782,
-0.06140977889299393,
-0.0145758967846632,
0.009818424470722675,
-0.01423671469092369,
-0.01835152693092823,
0.0010984361870214343,
0.023010816425085068,
-0.049734778702259064,
-0.005257319658994675,
0.05676834285259247,
-0.0536978542804718,
0.014807968400418758,
-0.014531267806887627,
-0.015352444723248482,
-0.033275529742240906,
0.021546978503465652,
-0.05826788395643234,
-0.05255534499883652,
-0.0008931418415158987,
-0.027098849415779114,
0.004302254877984524,
0.03695297613739967,
0.011416149325668812,
0.04434357210993767,
0.015236408449709415,
-0.05616138502955437,
-0.07440580427646637,
0.03116903267800808,
-0.015495258383452892,
-0.007537872064858675,
-0.027473734691739082,
0.0210292786359787,
-0.01505789253860712,
0.020440174266695976,
0.027652252465486526,
-0.01623610220849514,
-0.003860425902530551,
-0.08297460526227951,
0.0074396878480911255,
-0.015638072043657303,
0.054554734379053116,
0.028437726199626923,
0.009738091379404068,
-0.01929766684770584,
0.016718098893761635,
-0.023439256474375725,
-0.021136390045285225,
0.01164822094142437,
-0.021832603961229324,
0.008109125308692455,
-0.020172398537397385,
-0.014870449900627136,
0.037238605320453644,
-0.0011268872767686844,
-0.06494440883398056,
-0.001328834448941052,
-0.022153934463858604,
-0.013165613636374474,
-0.010086199268698692,
-0.03220443055033684,
-0.013219169341027737,
-0.004246468190103769,
-0.02922319993376732,
-0.03186525031924248,
0.03138325363397598,
-0.027295218780636787,
0.004253162536770105,
-0.01586121693253517,
-0.04202285408973694,
0.0022537745535373688,
-0.0038314168341457844,
0.000651028472930193,
-0.029258903115987778,
0.01804804801940918,
0.01652172952890396,
0.006261476781219244,
0.05144854262471199,
-0.009135597385466099,
-0.037202902138233185,
0.0024657633621245623,
0.000046477129217237234,
0.022939408197999,
0.03995205834507942,
0.02165408805012703,
-0.03541773185133934,
-0.039166584610939026,
0.028973275795578957,
-0.009541722945868969,
-0.00833673495799303,
0.025063758715987206,
0.03388248756527901,
-0.0063596609979867935,
-0.003577030496671796,
0.004043405409902334,
0.04202285408973694,
0.027366625145077705
] |
7,635 | emmett.app | use_extension | null | def use_extension(self, ext_cls: Type[ExtensionType]) -> ExtensionType:
if not issubclass(ext_cls, Extension):
raise RuntimeError(
f'{ext_cls.__name__} is an invalid Emmett extension'
)
ext_env, ext_config = self.__init_extension(ext_cls)
ext = self.ext[ext_cls.__name__] = ext_cls(self, ext_env, ext_config)
self.__register_extension_listeners(ext)
ext.on_load()
return ext
| (self, ext_cls: Type[~ExtensionType]) -> ~ExtensionType | [
0.08805763721466064,
-0.07001303881406784,
0.03966202586889267,
0.04388446360826492,
0.0026548116002231836,
-0.00595471728593111,
0.009545592591166496,
0.04760165140032768,
-0.03504261001944542,
-0.03123519942164421,
0.0643831267952919,
-0.014832659624516964,
0.02484741248190403,
-0.03603506460785866,
-0.024576744064688683,
-0.01006888598203659,
-0.033635132014751434,
-0.015798045322299004,
0.04211609438061714,
-0.00874260812997818,
0.035583946853876114,
0.040022920817136765,
-0.015274752862751484,
-0.0001955301413545385,
0.003820943646132946,
0.05785098299384117,
0.040022920817136765,
0.033617086708545685,
-0.00358410831540823,
-0.05712920054793358,
-0.015076261945068836,
-0.040925148874521255,
0.008535095490515232,
-0.0019285164307802916,
-0.04143039882183075,
0.005769760347902775,
0.004637461621314287,
0.06171252578496933,
-0.023782780393958092,
-0.020480619743466377,
-0.03374340012669563,
0.027373656630516052,
0.045688923448324203,
-0.008453894406557083,
0.017566416412591934,
0.05806751921772957,
-0.04175519943237305,
0.01475145947188139,
-0.02654360421001911,
-0.0020875344052910805,
0.038254547864198685,
-0.030116435140371323,
0.01787317544221878,
-0.0058013382367789745,
-0.04702422395348549,
0.04900912940502167,
0.004574305843561888,
0.06041331589221954,
-0.011774100363254547,
0.064130499958992,
-0.012739486992359161,
-0.02466696687042713,
0.033580996096134186,
0.014002608135342598,
-0.034537360072135925,
0.023782780393958092,
-0.029701409861445427,
-0.028727000579237938,
0.011557565070688725,
0.0005943439900875092,
0.0037893657572567463,
-0.034429095685482025,
-0.00778173329308629,
-0.012974066659808159,
0.015076261945068836,
-0.015527376905083656,
-0.06293956190347672,
-0.0069381482899188995,
-0.0458332784473896,
0.05258195847272873,
0.04309049993753433,
0.051246657967567444,
-0.010077908635139465,
0.01012302003800869,
0.06514099985361099,
-0.026309024542570114,
-0.03475389629602432,
-0.05077749863266945,
-0.02470305562019348,
0.014237187802791595,
-0.052942853420972824,
0.012486862018704414,
-0.0012879332061856985,
-0.026507515460252762,
0.022483570501208305,
-0.07997366040945053,
0.005620892625302076,
-0.011268851347267628,
-0.013181579299271107,
0.04258525371551514,
0.00598178431391716,
-0.0017570927739143372,
0.012613174505531788,
0.022537702694535255,
-0.0037284651771187782,
-0.004427693318575621,
0.02203245460987091,
0.03423060476779938,
-0.05860885605216026,
-0.005941184237599373,
0.02870895527303219,
0.02113022468984127,
0.003430729266256094,
-0.009996707551181316,
0.040961239486932755,
-0.003378851106390357,
0.014237187802791595,
0.009301990270614624,
0.0319569855928421,
0.0027202232740819454,
-0.03482607379555702,
0.06842511892318726,
-0.08480961620807648,
0.039012420922517776,
0.009563636966049671,
-0.031686313450336456,
0.07091527432203293,
-0.014607102610170841,
0.04139430820941925,
-0.07982930541038513,
0.02031821757555008,
0.01801753230392933,
-0.052978940308094025,
0.012613174505531788,
-0.02199636586010456,
0.020426485687494278,
-0.019650567322969437,
0.041935645043849945,
-0.03590875118970871,
0.01661907508969307,
-0.07867445051670074,
0.0370275154709816,
0.007984735071659088,
-0.006635901052504778,
-0.03412233665585518,
-0.024576744064688683,
-0.07845791429281235,
0.041105594485998154,
-0.039012420922517776,
-0.002562332898378372,
-0.04770991951227188,
-0.032660722732543945,
-0.023584289476275444,
0.04020336642861366,
-0.023313621059060097,
0.030964531004428864,
-0.028817223384976387,
0.0731888934969902,
0.038976334035396576,
0.0003735795908141881,
-0.028853312134742737,
0.052870672196149826,
-0.014002608135342598,
-0.008733585476875305,
-0.004576561506837606,
-0.01238761655986309,
-0.06763115525245667,
-0.013939452357590199,
-0.04897303879261017,
0.032768990844488144,
0.011286896653473377,
-0.021509161219000816,
0.06189297139644623,
-0.027193209156394005,
0.0644192174077034,
0.07636474072933197,
0.059294551610946655,
0.0231331754475832,
0.047385115176439285,
0.0552164725959301,
0.04319876804947853,
0.040925148874521255,
-0.0013804117916151881,
0.04778209701180458,
0.018982917070388794,
0.041899558156728745,
0.020697154104709625,
0.00969897210597992,
-0.039120689034461975,
-0.007750154938548803,
-0.008517050184309483,
-0.018694203346967697,
0.013082333840429783,
-0.00043278842349536717,
-0.01928967610001564,
0.02475718967616558,
-0.01236054953187704,
0.022303123027086258,
-0.050200071185827255,
0.06099074333906174,
-0.06972432881593704,
0.028384152799844742,
0.04796254262328148,
0.00820127036422491,
-0.024324119091033936,
0.005061510019004345,
0.07448810338973999,
0.0023886538110673428,
-0.062181685119867325,
-0.04164693504571915,
-0.03240809962153435,
-0.05247369408607483,
-0.08733585476875305,
0.014372522942721844,
0.04507540538907051,
-0.05038052052259445,
0.017232591286301613,
0.021779829636216164,
-0.007885489612817764,
0.01201770268380642,
0.02129262685775757,
0.0020142283756285906,
-0.09116131067276001,
0.003721698420122266,
0.05629914626479149,
0.002587144263088703,
-0.0018766382709145546,
-0.01759348437190056,
-0.013073311187326908,
-0.008977187797427177,
-0.016610052436590195,
0.06232604384422302,
0.0732249841094017,
-0.017223568633198738,
0.043848372995853424,
0.06997695565223694,
0.08098416030406952,
0.038146279752254486,
0.03865152969956398,
0.029773587360978127,
0.05160755291581154,
0.07629255950450897,
0.007799777667969465,
0.008138113655149937,
-0.057526178658008575,
0.016375472769141197,
-0.010754580609500408,
0.0370636060833931,
-0.026164667680859566,
0.006356209982186556,
0.018622025847434998,
-0.011196672916412354,
0.03036906011402607,
-0.024378253147006035,
-0.03491629660129547,
0.060305047780275345,
-0.016303295269608498,
-0.04334312677383423,
0.008692985400557518,
-0.016736365854740143,
-0.0011559821432456374,
-0.01295602135360241,
0.04240480810403824,
0.01799948699772358,
-0.03796583414077759,
0.0006163358339108527,
0.00007661905692657456,
0.011169606819748878,
-0.0009868140332400799,
0.052906762808561325,
0.04049208015203476,
0.0649966448545456,
0.03208329528570175,
0.038290638476610184,
0.014877771027386189,
-0.018170909956097603,
-0.0324261449277401,
-0.030639728531241417,
0.0321735180914402,
0.02028212882578373,
0.009013276547193527,
-0.08618099987506866,
0.07650909572839737,
0.041935645043849945,
-0.00787646695971489,
-0.04305441305041313,
-0.013605627231299877,
-0.010429778136312962,
-0.006608834024518728,
-0.061171188950538635,
-0.057706624269485474,
0.047349028289318085,
0.008674941025674343,
0.013704872690141201,
0.03836281597614288,
0.00358410831540823,
-0.05258195847272873,
0.026471426710486412,
0.05413379520177841,
0.03432082757353783,
0.0046284394338727,
0.008977187797427177,
-0.02843828685581684,
0.0554690957069397,
-0.010538045316934586,
-0.026218801736831665,
-0.032606590539216995,
-0.0274638794362545,
-0.01199063565582037,
0.04161084443330765,
-0.01752130500972271,
0.038218460977077484,
-0.04341530427336693,
0.012676330283284187,
-0.020679110661149025,
0.07723087817430496,
0.05586607754230499,
0.029087893664836884,
0.006694545969367027,
0.0274819228798151,
-0.003604408586397767,
0.02398127131164074,
-0.02120240405201912,
-0.0014852960593998432,
0.022501613944768906,
-0.029791632667183876,
0.011440275236964226,
-0.0022352745290845633,
0.011647787876427174,
-0.028889402747154236,
-0.018892694264650345,
0.003843499580398202,
0.015067239291965961,
-0.012342505156993866,
-0.006270498037338257,
-0.012550017796456814,
0.02490154653787613,
-0.025226349011063576,
-0.027933038771152496,
-0.038074102252721786,
0.004053268115967512,
0.0029164582956582308,
-0.04485887289047241,
-0.010456845164299011,
0.015725867822766304,
-0.0054720244370400906,
-0.02113022468984127,
-0.038326725363731384,
0.01921749673783779,
0.01246881764382124,
-0.03128933534026146,
-0.0832216888666153,
-0.0054178908467292786,
-0.011160584166646004,
-0.007668954320251942,
-0.06550189107656479,
-0.009157633408904076,
-0.04864823818206787,
-0.03460954129695892,
-0.03771321102976799,
-0.05795925110578537,
0.07954058796167374,
-0.045472387224435806,
0.03616137430071831,
-0.02571355365216732,
-0.013966519385576248,
0.01807166449725628,
-0.03329228237271309,
0.02953900769352913,
-0.02672404982149601,
-0.013037222437560558,
0.0018698715139180422,
-0.01339811459183693,
0.03215547278523445,
-0.003942744806408882,
-0.010312488302588463,
-0.0646718442440033,
0.010745557956397533,
-0.013533448800444603,
0.030513416975736618,
0.07203403860330582,
0.03608919680118561,
-0.042729608714580536,
-0.013091356493532658,
0.03531327843666077,
-0.03800192475318909,
-0.022375302389264107,
-0.021888097748160362,
0.026254890486598015,
0.019921237602829933,
0.045508477836847305,
0.03392384573817253,
-0.02123849280178547,
0.020029503852128983,
-0.014110876247286797,
0.009942573495209217,
-0.13374656438827515,
0.03625159710645676,
0.00600885134190321,
0.08192247897386551,
0.0030811151955276728,
0.008399760350584984,
0.0826442614197731,
-0.008656895719468594,
0.001608224818482995,
0.04976700246334076,
0.0018687436822801828,
0.000875726924277842,
-0.020841510966420174,
0.05972762033343315,
-0.010538045316934586,
0.03026079200208187,
-0.08177812397480011,
-0.028384152799844742,
-0.011945524252951145,
0.003769065486267209,
0.06142381206154823,
-0.05218498036265373,
-0.04399273172020912,
0.010646313428878784,
0.0029345029033720493,
0.016610052436590195,
-0.024504564702510834,
-0.009563636966049671,
0.019812969490885735,
0.017864152789115906,
-0.02380082570016384,
-0.029972078278660774,
-0.03973420709371567,
-0.01592435874044895,
-0.032137431204319,
0.06275911629199982,
0.010222265496850014,
-0.015491288155317307,
0.045688923448324203,
-0.02941269613802433,
0.02205049991607666,
-0.060196779668331146,
-0.05348419025540352,
-0.013479314744472504,
-0.035511769354343414,
-0.008002779446542263,
0.029178116470575333,
0.011016227304935455,
0.01190041285008192,
-0.04049208015203476,
-0.0651049092411995,
-0.009211767464876175,
-0.017052145674824715,
-0.01744912751019001,
0.008453894406557083,
0.06680110096931458,
0.05323156714439392,
0.022754238918423653,
0.06052158400416374,
-0.07178141176700592,
0.031812626868486404,
-0.042873967438936234,
0.007817822508513927,
0.016447652131319046,
-0.09657469391822815,
0.00031465268693864346,
0.0029863810632377863,
-0.06091856583952904,
-0.0019341553561389446,
-0.013353003188967705,
0.06286738067865372,
-0.0014977016253396869,
0.008557651191949844,
-0.00014188975910656154,
0.04706031456589699,
0.01015910878777504,
0.03560199216008186,
-0.02569550834596157,
-0.0036111753433942795,
0.014417634345591068,
0.0029074358753859997,
0.001281166449189186,
0.03753276541829109,
-0.011494409292936325,
0.017620550468564034,
0.046374619007110596,
0.011846278794109821,
0.020047549158334732,
-0.01246881764382124,
0.033454686403274536,
0.032642677426338196,
-0.04861214756965637,
-0.023602334782481194,
0.026435336098074913,
-0.030964531004428864,
0.05333983153104782,
-0.019632523879408836,
0.07723087817430496,
-0.02573159709572792,
-0.004714151378720999,
0.05337592214345932,
0.03585461899638176,
0.026146622374653816,
0.014192076399922371,
0.038254547864198685,
-0.008819297887384892,
-0.019000962376594543,
-0.021689606830477715,
0.00832758191972971,
-0.021833963692188263,
-0.028348064050078392,
0.06319218128919601,
-0.0115665877237916,
-0.00549909146502614,
-0.009915506467223167,
0.01702507957816124,
-0.041791290044784546,
-0.0030833708588033915,
0.050091806799173355,
-0.0010770369553938508,
-0.0006242303061299026,
0.02026408351957798,
0.08538704365491867,
0.006586278323084116,
-0.020967822521924973,
0.009689949452877045,
0.03484411910176277,
-0.03121715597808361,
0.022483570501208305,
-0.001476273755542934,
-0.01597849279642105,
0.024089539423584938,
0.029015714302659035,
0.058392319828271866,
0.03850717470049858,
0.03145173564553261,
0.016420584172010422,
-0.08185029774904251,
-0.009608748368918896,
-0.025226349011063576,
-0.0645274817943573,
0.008692985400557518,
0.010041818954050541,
-0.03435691446065903,
-0.011431253515183926,
-0.07946841418743134,
0.029105937108397484,
0.008787719532847404,
-0.06672892719507217,
-0.024053450673818588,
0.035511769354343414,
0.017972420901060104,
-0.01739499345421791,
0.013515404425561428,
-0.020787376910448074,
-0.005963739939033985,
-0.021599384024739265,
0.005823893938213587,
-0.0008108791662380099,
-0.028167618438601494,
0.01753935031592846,
0.00894560944288969,
0.02564137428998947,
0.0017063423292711377,
-0.03865152969956398,
0.015707822516560555,
-0.05615479126572609,
0.04410099983215332,
-0.012775575742125511,
-0.018946828320622444,
0.017773929983377457,
0.06225386634469032,
-0.05167973041534424,
-0.011873345822095871,
0.004378070589154959,
0.05709310993552208,
0.0065772561356425285,
-0.0017965653678402305,
0.040095098316669464,
0.056768305599689484,
0.017286725342273712,
0.05445859953761101,
0.00010826758807525039,
-0.029935989528894424,
-0.045544568449258804,
0.03381557762622833,
-0.04309049993753433,
-0.0013330447254702449,
-0.051896266639232635,
-0.05983588844537735,
0.0005207558278925717,
-0.010926004499197006,
-0.09303794801235199,
0.006279520224779844,
-0.020462574437260628,
0.07925187796354294,
0.009717016480863094,
-0.012252282351255417,
0.03872370719909668,
-0.05622696876525879,
-0.01715139113366604,
-0.008566672913730145,
0.04442580044269562,
-0.006771235726773739,
-0.02479327842593193,
0.02589399926364422,
-0.024360207840800285,
-0.0463385283946991,
0.0821390151977539,
-0.026200756430625916,
-0.03583657369017601,
-0.030838219448924065,
0.005778782535344362,
-0.04132213070988655,
-0.013470293022692204,
0.014679281041026115,
-0.004479571711272001,
0.008828319609165192,
0.008697496727108955,
-0.016961922869086266,
-0.0554330050945282,
-0.023602334782481194,
0.001977011328563094,
0.006920103449374437,
-0.036269642412662506,
0.08957338333129883,
0.0039156777784228325,
0.017331836745142937,
0.01148538663983345,
-0.0018303989199921489,
0.00876967515796423,
0.028835268691182137,
0.012631218880414963,
-0.04540020972490311,
-0.001147523638792336,
0.032624635845422745,
0.03764103353023529,
-0.037135783582925797,
0.04070861265063286,
-0.0825720801949501,
-0.030892353504896164,
-0.0013330447254702449,
0.07954058796167374,
0.016781477257609367,
-0.020480619743466377,
-0.00017889527953229845,
0.0034262181725353003,
-0.04305441305041313,
-0.0046961065381765366,
-0.02311513014137745,
0.0038389882538467646,
-0.003491629846394062,
-0.03563808277249336,
-0.01707921177148819,
0.020895645022392273,
-0.006987770553678274,
-0.03421255946159363,
-0.024161716923117638,
-0.02861873246729374,
0.04879259318113327,
-0.03749667480587959,
-0.0023683535400778055,
0.07636474072933197,
-0.006951681338250637,
-0.03516892343759537,
0.009780172258615494,
-0.01057413499802351,
0.02479327842593193,
0.09643033146858215,
-0.006446432787925005,
0.003306672675535083,
-0.05709310993552208,
0.00969897210597992,
-0.05687657371163368,
-0.03036906011402607,
0.020715199410915375,
-0.05077749863266945,
-0.052942853420972824,
-0.041899558156728745,
-0.05637132748961449,
-0.022555748000741005,
0.01102524995803833,
0.03854326158761978,
0.010041818954050541,
-0.027951082214713097,
0.027752593159675598,
-0.027914993464946747,
0.05972762033343315,
-0.07853009551763535,
0.04114168509840965,
0.002812701743096113,
-0.004567538853734732,
0.03150586783885956,
-0.04965873435139656,
-0.017990464344620705,
0.053953349590301514,
-0.0457611009478569,
-0.0008571184007450938,
0.01605067029595375,
-0.060377225279808044,
-0.04056425765156746,
-0.0740550309419632,
-0.051174480468034744,
-0.027319522574543953,
0.026417292654514313,
-0.034501273185014725,
-0.06149599328637123,
-0.003617942100390792,
0.027229299768805504,
-0.040059007704257965,
-0.05727355554699898,
0.011810190044343472,
-0.04388446360826492,
-0.011187651194632053,
-0.02201440930366516,
-0.001185304601676762,
0.04345139488577843,
0.011756055988371372,
0.006581767462193966,
-0.03661249205470085,
0.03875979781150818,
-0.027788681909441948,
-0.019704701378941536,
0.012162059545516968,
-0.006527633406221867,
0.0022713637445122004,
0.038326725363731384,
0.038254547864198685,
0.034717805683612823,
0.020661065354943275,
0.020588885992765427,
0.00451340526342392,
-0.007745644077658653,
-0.007064460311084986,
0.015392042696475983,
-0.026309024542570114,
-0.04677160084247589,
0.03654031082987785,
-0.0026706005446612835,
-0.04803472012281418,
-0.05983588844537735,
-0.002977358642965555,
-0.013028199784457684,
-0.027283433824777603,
-0.046518974006175995,
0.012775575742125511,
-0.049189575016498566,
-0.007714065723121166,
0.05817578732967377,
0.01379509549587965,
0.0274638794362545,
0.02208658866584301,
0.016664186492562294,
0.011593654751777649,
-0.016059692949056625,
-0.029087893664836884,
0.009780172258615494,
0.09087260067462921,
0.08812981843948364,
-0.011304941028356552,
-0.00618027476593852,
-0.03119911067187786,
-0.017710773274302483,
-0.0551442913711071,
-0.0007076865877024829,
-0.017070190981030464,
0.03569221496582031,
-0.06712590903043747,
-0.02567746303975582,
-0.02957509644329548,
0.026110533624887466,
0.003092393046244979
] |
7,636 | emmett.app | use_template_extension | null | def use_template_extension(self, ext_cls, **config):
return self.templater.use_extension(ext_cls, **config)
| (self, ext_cls, **config) | [
0.10127535462379456,
-0.10948146134614944,
0.08773194253444672,
0.0010450484696775675,
0.009648846462368965,
0.0274204034358263,
-0.015478183515369892,
0.05570811778306961,
-0.012667759321630001,
-0.048302605748176575,
0.09146805852651596,
-0.01924765482544899,
-0.018296947702765465,
-0.024284737184643745,
-0.051838573068380356,
-0.030355921015143394,
-0.009548772126436234,
0.004741027485579252,
0.030622785910964012,
-0.016245421022176743,
0.029155027121305466,
0.04383261501789093,
-0.030455995351076126,
0.037261057645082474,
0.02166612073779106,
0.019314371049404144,
-0.0062129562720656395,
-0.012117349542677402,
0.03075621835887432,
-0.07178674638271332,
-0.020765451714396477,
-0.03872881829738617,
-0.01677081175148487,
0.011908860877156258,
-0.011725391261279583,
-0.012667759321630001,
-0.023851079866290092,
0.05147163197398186,
0.013860313221812248,
-0.008264482952654362,
0.055074311792850494,
-0.014310648664832115,
0.00955711118876934,
-0.029788831248879433,
-0.003369173500686884,
0.05610841512680054,
-0.045934177935123444,
-0.013468354940414429,
-0.014260610565543175,
0.010774684138596058,
0.05190528929233551,
-0.016945943236351013,
-0.001462546526454389,
0.0042698439210653305,
-0.05947759002447128,
0.035326287150382996,
-0.011258376762270927,
0.06144572049379349,
0.02174951694905758,
0.0016022338531911373,
-0.017980044707655907,
-0.00024536484852433205,
-0.012425912544131279,
0.004841102287173271,
-0.029722115024924278,
0.03339151293039322,
-0.04596753790974617,
0.006183767691254616,
-0.010174237191677094,
-0.0037778110709041357,
0.006112881936132908,
-0.016812508925795555,
0.011241697706282139,
-0.021299181506037712,
0.015711691230535507,
-0.019314371049404144,
-0.05167178064584732,
-0.0287046916782856,
-0.042831871658563614,
-0.006692479830235243,
-0.00333373062312603,
-0.015311392955482006,
-0.041030529886484146,
0.041264038532972336,
0.05307282507419586,
-0.025452271103858948,
0.004820253234356642,
-0.061012063175439835,
0.002925093052908778,
0.04660134017467499,
-0.024685034528374672,
-0.024534922093153,
-0.0019608340226113796,
-0.03429218381643295,
0.02083216793835163,
-0.04716842994093895,
0.04213134944438934,
-0.004184363409876823,
0.027003426104784012,
0.00799761712551117,
0.04369918256998062,
-0.018797319382429123,
-0.024268057197332382,
-0.032907817512750626,
0.02341742441058159,
0.013084735721349716,
-0.020281758159399033,
0.020281758159399033,
-0.07172003388404846,
0.007342963945120573,
0.023317350074648857,
0.005691735073924065,
0.014719286002218723,
-0.008781533688306808,
0.05290603265166283,
-0.025752495974302292,
-0.0011435592314228415,
0.03762799873948097,
-0.019781384617090225,
-0.011675354093313217,
0.019631274044513702,
0.011325092986226082,
-0.05857691913843155,
0.02653641253709793,
-0.00034556962782517076,
0.01786329224705696,
0.06851764768362045,
-0.029655398800969124,
0.03282442316412926,
-0.05490752309560776,
0.007797468453645706,
0.03455904871225357,
-0.04409947991371155,
-0.024418169632554054,
-0.002234996296465397,
0.01929769292473793,
-0.0380282960832119,
0.036660611629486084,
-0.03716098517179489,
0.0867312029004097,
-0.03359166160225868,
0.023017127066850662,
-0.00038570366450585425,
0.03502606227993965,
-0.022666865959763527,
-0.009999106638133526,
-0.06851764768362045,
0.05710915848612785,
-0.048169173300266266,
0.014702606946229935,
-0.0034734178334474564,
-0.00180863740388304,
0.012367535382509232,
0.02138257771730423,
-0.041864484548568726,
0.03932926431298256,
-0.008773194625973701,
0.09633834660053253,
0.032440803945064545,
-0.03816172853112221,
0.01953119970858097,
0.05420700088143349,
-0.043799255043268204,
0.02695338800549507,
-0.011024869978427887,
-0.04323216900229454,
-0.03229069337248802,
-0.009823976084589958,
-0.013510052114725113,
-0.004615934565663338,
0.04273179545998573,
-0.0010966493282467127,
0.052338942885398865,
0.008614743128418922,
0.059944603592157364,
0.07518927752971649,
0.05143827572464943,
0.0188306774944067,
0.006279672496020794,
0.0476020872592926,
0.0017971706110984087,
0.04333224147558212,
-0.039129115641117096,
0.0548408068716526,
0.03187371790409088,
0.005850186105817556,
0.06044497713446617,
-0.007526433560997248,
-0.008664780296385288,
-0.02541891299188137,
-0.00017916977230925113,
-0.01999821327626705,
0.0010304541792720556,
-0.006033656187355518,
-0.017679821699857712,
0.0011258376762270927,
-0.028504543006420135,
0.00010554728214628994,
-0.034392256289720535,
0.054573941975831985,
-0.08372896909713745,
-0.037961579859256744,
0.053406406193971634,
-0.027120178565382957,
0.015194639563560486,
0.027487119659781456,
0.09633834660053253,
-0.016011914238333702,
-0.0661158636212349,
-0.023951154202222824,
0.006938496138900518,
-0.05130483955144882,
-0.03088965080678463,
0.038562025874853134,
0.025302160531282425,
-0.004286522977054119,
0.014310648664832115,
0.0035609828773885965,
-0.01953119970858097,
-0.034859269857406616,
0.047201789915561676,
0.006496500689536333,
-0.026219509541988373,
0.004213551990687847,
0.04550052434206009,
-0.02510201185941696,
0.00432405062019825,
-0.03240744769573212,
-0.04286522790789604,
-0.00043313478818163276,
0.00503291143104434,
0.04740193858742714,
0.09033387899398804,
0.02109903283417225,
0.058510202914476395,
0.020165003836154938,
0.05560804158449173,
0.0066841403022408485,
0.0539734922349453,
0.03199046850204468,
0.016370514407753944,
0.08659777045249939,
0.03596008941531181,
-0.026402978226542473,
-0.03255755826830864,
0.005954430438578129,
-0.020281758159399033,
0.033007893711328506,
-0.03365837782621384,
-0.028187640011310577,
0.01134177204221487,
0.006221295800060034,
0.020748771727085114,
-0.003292032750323415,
-0.03649381920695305,
0.0403633676469326,
0.03732777386903763,
-0.015478183515369892,
0.000058441921282792464,
-0.015286373905837536,
-0.002804169896990061,
-0.021349219605326653,
-0.005341474432498217,
-0.009565451182425022,
-0.03482591360807419,
-0.0201816838234663,
-0.04213134944438934,
0.010749665088951588,
-0.03482591360807419,
0.062313031405210495,
-0.02161608450114727,
0.07285420596599579,
-0.013468354940414429,
0.03936262056231499,
0.004155175294727087,
0.0004440804186742753,
0.010649590753018856,
-0.06498168408870697,
0.009507074020802975,
0.00047431126586161554,
-0.033091288059949875,
-0.08045987039804459,
0.06411436945199966,
0.02977215312421322,
0.018580492585897446,
-0.05810990557074547,
-0.04810245707631111,
0.013126433826982975,
0.013643485493957996,
-0.03529292717576027,
-0.07111958414316177,
0.02671988122165203,
0.017312882468104362,
-0.0028750558849424124,
0.0007959047215990722,
-0.048302605748176575,
-0.04096381366252899,
-0.04063023254275322,
0.02328399196267128,
0.009148473851382732,
0.013626806437969208,
-0.03602680563926697,
-0.0010090841678902507,
0.08119374513626099,
-0.006300521548837423,
-0.013318243436515331,
-0.01570335030555725,
-0.014535815455019474,
0.011792107485234737,
0.06071184203028679,
0.0010664184810593724,
0.0243514534085989,
-0.006909307558089495,
-0.009348622523248196,
-0.031606853008270264,
0.0668497383594513,
0.02013164572417736,
0.00881489273160696,
-0.016086969524621964,
0.00893164612352848,
-0.062079526484012604,
0.027203574776649475,
-0.06031154468655586,
0.041897840797901154,
0.051738496869802475,
-0.017146091908216476,
-0.0033608339726924896,
-0.0517718568444252,
0.01372688077390194,
0.026519732549786568,
-0.06214624270796776,
0.015027848072350025,
0.02078212983906269,
0.000030198250897228718,
-0.03529292717576027,
-0.007163663860410452,
0.053639911115169525,
-0.01901414804160595,
-0.050070591270923615,
-0.053172897547483444,
0.005458227824419737,
0.011767089366912842,
-0.036994192749261856,
0.021649442613124847,
-0.016086969524621964,
-0.0064422935247421265,
-0.023901117965579033,
-0.025152048096060753,
0.06031154468655586,
0.03315800428390503,
-0.028587937355041504,
-0.08119374513626099,
0.04169769212603569,
0.011892181821167469,
-0.002483097603544593,
-0.05073775351047516,
0.006400595884770155,
0.022616827860474586,
-0.022416679188609123,
0.0059836190193891525,
-0.022883694618940353,
0.04083038121461868,
-0.02216649428009987,
0.025635741651058197,
0.03872881829738617,
-0.021866269409656525,
0.028721371665596962,
0.012901266105473042,
-0.006888458970934153,
0.011241697706282139,
-0.013785257004201412,
-0.012275801040232182,
0.00867312029004097,
0.0006650782306678593,
0.01607029139995575,
-0.05560804158449173,
-0.06504840403795242,
0.01948116160929203,
-0.0731210708618164,
0.01620372384786606,
0.09060074388980865,
0.04890305548906326,
0.024184660986065865,
-0.006867609918117523,
-0.01020759530365467,
-0.03886225074529648,
-0.011066568084061146,
0.01277617271989584,
0.024651676416397095,
-0.014260610565543175,
0.04356575012207031,
-0.014936113730072975,
-0.04216470569372177,
0.013226508162915707,
-0.02578585408627987,
-0.033241402357816696,
-0.10801370441913605,
0.03616023808717728,
0.022616827860474586,
0.05670886114239693,
0.017362918704748154,
-0.004474162589758635,
0.07125301659107208,
0.015403127297759056,
0.02945525012910366,
-0.0005410275771282613,
0.06504840403795242,
0.011124944314360619,
-0.0060670142993330956,
0.057909756898880005,
-0.009240209124982357,
0.036393746733665466,
-0.0685843676328659,
-0.033925242722034454,
-0.029104989022016525,
0.03065614402294159,
-0.01057453453540802,
0.01703767664730549,
-0.06911809742450714,
0.013902010396122932,
0.033558301627635956,
0.03559315204620361,
0.013001340441405773,
-0.017046017572283745,
0.030772896483540535,
0.02917170524597168,
-0.018763961270451546,
-0.0494367852807045,
-0.0934695452451706,
0.005020402371883392,
-0.06167922914028168,
0.004017572849988937,
0.003763216780498624,
0.008110200986266136,
0.10601221770048141,
-0.015211318619549274,
0.015569918788969517,
-0.05110469087958336,
-0.08573045581579208,
0.014394043944776058,
0.058743711560964584,
0.006313030607998371,
-0.01034102775156498,
0.008639762178063393,
-0.007063589058816433,
-0.020481906831264496,
-0.09046731144189835,
-0.04326552525162697,
-0.01682918891310692,
-0.028187640011310577,
0.028354430571198463,
0.0760565921664238,
0.01747967302799225,
0.034625764936208725,
0.007288756780326366,
-0.06351392716169357,
0.05040417239069939,
-0.04987043887376785,
-0.04560059681534767,
0.013376619666814804,
-0.08659777045249939,
-0.017129411920905113,
0.041530903428792953,
-0.04403276368975639,
0.023951154202222824,
-0.07498913258314133,
-0.004686820786446333,
0.017913328483700752,
-0.02291705273091793,
-0.0191976185888052,
0.02680327743291855,
-0.00242889067158103,
-0.03672732785344124,
0.01101653091609478,
-0.01368518266826868,
0.03882889077067375,
0.00472017889842391,
0.021866269409656525,
0.048069100826978683,
-0.033975280821323395,
0.0042698439210653305,
0.016962621361017227,
0.024101266637444496,
0.02977215312421322,
0.004678481258451939,
0.013276545330882072,
0.07885867357254028,
-0.026419658213853836,
-0.000772970961406827,
-0.014527476392686367,
-0.006162919104099274,
0.07365480810403824,
-0.008573045954108238,
0.09173492342233658,
-0.027203574776649475,
0.007939240895211697,
0.0005759493797086179,
0.0057417722418904305,
0.039262548089027405,
0.0171127337962389,
0.05297274887561798,
-0.032440803945064545,
0.013051377609372139,
0.004820253234356642,
0.042364854365587234,
-0.014577513560652733,
0.009381980635225773,
0.055908266454935074,
-0.036393746733665466,
-0.014877736568450928,
-0.0295052882283926,
0.01700431853532791,
-0.018914073705673218,
0.037361133843660355,
0.05560804158449173,
0.024318095296621323,
-0.0186472088098526,
-0.02875472977757454,
0.04550052434206009,
0.010883097536861897,
0.017020998522639275,
0.0028500373009592295,
0.0044366344809532166,
-0.008322859182953835,
0.03716098517179489,
0.01604527235031128,
0.014360685832798481,
0.011600297875702381,
0.0033170515671372414,
0.10974832624197006,
0.021415935829281807,
-0.010532837361097336,
0.015669992193579674,
-0.0639142245054245,
-0.024051228538155556,
0.010824721306562424,
-0.10654594749212265,
0.0019639614038169384,
0.04012985900044441,
-0.05514102801680565,
-0.023500820621848106,
-0.06131228804588318,
0.06658287346363068,
-0.029488608241081238,
-0.04500015079975128,
-0.05367327108979225,
0.027470439672470093,
0.019447803497314453,
0.0010413998970761895,
0.011566939763724804,
-0.00944035779684782,
-0.07292092591524124,
0.00002120718636433594,
0.034258823841810226,
-0.010374385863542557,
-0.0012967982329428196,
-0.017980044707655907,
0.035092778503894806,
0.012184065766632557,
-0.0035213702358305454,
0.005128816235810518,
0.02221653051674366,
-0.02638630010187626,
0.014502457343041897,
0.023083843290805817,
0.003642293391749263,
0.01804676093161106,
0.02843782678246498,
-0.052439019083976746,
0.00019298213010188192,
0.010049143806099892,
0.03482591360807419,
-0.025919286534190178,
-0.0009861504659056664,
0.022716902196407318,
0.022650185972452164,
0.05310618132352829,
0.04503350704908371,
0.028087565675377846,
-0.049103204160928726,
-0.040696948766708374,
0.018480418249964714,
0.014552494511008263,
-0.01099151186645031,
-0.0414641872048378,
-0.03979627788066864,
0.023217275738716125,
-0.010024125687777996,
-0.029021594673395157,
0.004995383787900209,
-0.012442591600120068,
0.06688310205936432,
0.008856589905917645,
-0.02963872067630291,
0.053406406193971634,
0.010190916247665882,
-0.026736561208963394,
-0.0020202533341944218,
0.0186472088098526,
-0.015136262401938438,
-0.028321072459220886,
0.03442561626434326,
-0.002141176490113139,
0.0010997765930369496,
0.05130483955144882,
-0.05047088861465454,
-0.01700431853532791,
-0.020748771727085114,
-0.029238421469926834,
-0.029972301796078682,
0.04149754345417023,
0.01034102775156498,
0.0039550261572003365,
-0.0032440805807709694,
0.023434102535247803,
-0.017563067376613617,
-0.056141775101423264,
0.0027437082026153803,
-0.008185257203876972,
-0.03616023808717728,
-0.07672375440597534,
0.09073417633771896,
-0.01333492249250412,
0.031223231926560402,
-0.008093521930277348,
0.04513358324766159,
0.037261057645082474,
0.02630290389060974,
0.0007276247488334775,
0.007985108532011509,
0.008122710511088371,
-0.005887714214622974,
0.04336560145020485,
0.013376619666814804,
0.02601936087012291,
-0.06711660325527191,
-0.03018913045525551,
0.030923008918762207,
0.05207207798957825,
-0.02922174334526062,
-0.003688161028549075,
-0.07392167299985886,
-0.012651080265641212,
-0.04123067855834961,
-0.0010570365702733397,
-0.025352196767926216,
0.021115710958838463,
-0.03519285097718239,
-0.03289113938808441,
-0.0043532392010092735,
-0.006746686529368162,
-0.0021932986564934254,
-0.028904840350151062,
-0.02008160948753357,
-0.04803574085235596,
0.03240744769573212,
-0.02690335176885128,
0.0027770663145929575,
0.08853254467248917,
0.005458227824419737,
-0.01134177204221487,
-0.028421146795153618,
-0.014502457343041897,
0.0075764707289636135,
0.06191273406147957,
-0.012692777439951897,
-0.02768726833164692,
-0.043298885226249695,
0.0054290397092700005,
-0.05390677601099014,
-0.028554579243063927,
-0.007109456695616245,
-0.055541325360536575,
-0.062079526484012604,
-0.009081757627427578,
-0.04229813814163208,
-0.04433298856019974,
-0.007680715061724186,
0.015136262401938438,
0.0035026061814278364,
0.021282503381371498,
0.006383916828781366,
0.0016856292495504022,
0.04903648793697357,
-0.05023737996816635,
0.00969054363667965,
-0.0060294861905276775,
-0.005729263182729483,
0.03919583186507225,
-0.025452271103858948,
-0.027170216664671898,
0.04456649348139763,
-0.04680148884654045,
-0.022333284839987755,
0.016779150813817978,
-0.03155681490898132,
0.012467609718441963,
-0.0668497383594513,
-0.013101414777338505,
-0.041063886135816574,
0.00542486971244216,
-0.028354430571198463,
-0.03632703050971031,
0.008656441234052181,
0.0037757260724902153,
-0.033007893711328506,
0.006825912278145552,
-0.03282442316412926,
-0.05273924022912979,
0.0013833210105076432,
-0.0035547283478081226,
0.005479076877236366,
0.0912679135799408,
0.04683484882116318,
-0.029255101457238197,
-0.00743469875305891,
0.03515949472784996,
0.03157349303364754,
0.03669397160410881,
0.03167356923222542,
-0.0274204034358263,
0.014777662232518196,
-0.004899478983134031,
0.06114549562335014,
0.027487119659781456,
0.040696948766708374,
-0.042598363012075424,
-0.014710946008563042,
-0.01437736488878727,
-0.007814147509634495,
0.013977066613733768,
-0.020398510619997978,
-0.07018555700778961,
0.001090394682250917,
0.008548026904463768,
-0.03809501230716705,
-0.08246135711669922,
0.041897840797901154,
-0.038562025874853134,
-0.018380343914031982,
-0.014185555279254913,
0.004532539285719395,
-0.08139389753341675,
-0.014177215285599232,
0.04480000212788582,
0.023550856858491898,
0.07572300732135773,
0.04406612366437912,
-0.00043756517698056996,
0.04113060608506203,
-0.01034102775156498,
-0.003310796804726124,
-0.022616827860474586,
0.06825078278779984,
0.08312851935625076,
0.02333402819931507,
0.0027812360785901546,
-0.06154579296708107,
-0.052439019083976746,
-0.054240357130765915,
0.014594192616641521,
-0.01449411828070879,
0.02333402819931507,
-0.006171258632093668,
0.0201816838234663,
-0.02421802096068859,
0.022750262171030045,
0.03862874209880829
] |
7,637 | emmett.app | websocket | null | def websocket(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
schemes: Optional[Union[str, List[str]]] = None,
hostname: Optional[str] = None,
prefix: Optional[str] = None
) -> RoutingCtx:
if callable(paths):
raise SyntaxError('Use @websocket(), not @websocket.')
return self._router_ws(
paths=paths,
name=name,
pipeline=pipeline,
schemes=schemes,
hostname=hostname,
prefix=prefix
)
| (self, paths: Union[str, List[str], NoneType] = None, name: Optional[str] = None, pipeline: Optional[List[emmett.pipeline.Pipe]] = None, schemes: Union[str, List[str], NoneType] = None, hostname: Optional[str] = None, prefix: Optional[str] = None) -> emmett.routing.router.RoutingCtx | [
-0.03270522132515907,
-0.07026869803667068,
-0.036542538553476334,
-0.07878824323415756,
-0.0452733188867569,
0.023851223289966583,
-0.005100289359688759,
0.01657263934612274,
0.007098159287124872,
0.03636651486158371,
-0.011643973179161549,
0.006979343015700579,
-0.0005442985566332936,
0.05601076781749725,
-0.0013487822143360972,
-0.04664630442857742,
0.047385603189468384,
-0.0421753004193306,
0.012752923183143139,
-0.004138759337365627,
0.012673712335526943,
0.0028031787369400263,
0.050765261054039,
0.011943213641643524,
-0.014909214340150356,
0.03105059638619423,
-0.04463963210582733,
0.04069669917225838,
-0.02920234575867653,
-0.04214009270071983,
-0.03428943455219269,
0.027758950367569923,
0.0077934530563652515,
-0.03270522132515907,
0.04928665980696678,
0.030205681920051575,
-0.06160832569003105,
-0.03560961037874222,
0.021298877894878387,
-0.04520290717482567,
0.036612946540117264,
0.03133223578333855,
0.00701014744117856,
-0.0005343972006812692,
0.052631113678216934,
0.009602097794413567,
-0.010350198484957218,
0.04055587947368622,
0.03332130238413811,
0.004836253356188536,
0.012735321186482906,
0.03724663332104683,
-0.015912549570202827,
0.015798134729266167,
0.015833338722586632,
-0.0047394405119121075,
-0.016651850193738937,
0.05960165336728096,
0.03370855376124382,
-0.05058923736214638,
-0.03370855376124382,
-0.0009208244155161083,
0.0322299562394619,
0.07449326664209366,
-0.00768783874809742,
-0.06959980726242065,
0.03981658071279526,
0.009531687945127487,
-0.003912128508090973,
-0.007256580516695976,
0.05153976380825043,
0.024907365441322327,
-0.018940160050988197,
-0.06069300323724747,
0.0020088714081794024,
0.01601816527545452,
0.015586906112730503,
-0.01306096464395523,
0.0025391431991010904,
0.03974617272615433,
0.0179632268846035,
-0.0023477172944694757,
-0.0711488127708435,
0.04224570840597153,
0.03395498916506767,
0.05678527429699898,
-0.008185106329619884,
-0.02914953976869583,
-0.07646473497152328,
-0.022759875282645226,
-0.04675191640853882,
0.01969706080853939,
-0.03612007945775986,
-0.015446087345480919,
0.04453401640057564,
-0.03703540563583374,
-0.03127942606806755,
0.014398745261132717,
0.08019644021987915,
-0.011309528723359108,
-0.018552906811237335,
0.06914214044809341,
-0.060446567833423615,
0.02411525882780552,
0.03171948716044426,
-0.009866133332252502,
0.030716150999069214,
-0.02906152792274952,
-0.000029686823836527765,
-0.024027246981859207,
-0.0005211954121477902,
0.03326849639415741,
0.05770059674978256,
-0.018852148205041885,
-0.0176375824958086,
0.061326686292886734,
0.001958264736458659,
0.014671582728624344,
0.05224385857582092,
-0.07547900080680847,
-0.06801559031009674,
0.007538218516856432,
0.04154161363840103,
-0.008893601596355438,
0.020541975274682045,
0.0750565454363823,
-0.004345587454736233,
-0.07604227215051651,
-0.005082686897367239,
0.05449696257710457,
-0.0027591728139668703,
0.04622384533286095,
0.027459710836410522,
0.0016029166290536523,
0.03054012730717659,
0.03511674702167511,
-0.00980452448129654,
0.005289514549076557,
0.031226620078086853,
0.01851770281791687,
-0.010790257714688778,
-0.013844271190464497,
-0.014037896879017353,
0.025241810828447342,
-0.035292770713567734,
0.023551981896162033,
0.01747916266322136,
-0.009320459328591824,
0.015824537724256516,
0.05675007030367851,
0.009760518558323383,
0.02094683051109314,
0.018112847581505775,
0.044745247811079025,
0.013694650493562222,
-0.024009644985198975,
-0.025611460208892822,
0.0306809451431036,
0.03444785624742508,
0.009918940253555775,
0.028938310220837593,
0.0015996161382645369,
-0.03391978517174721,
-0.032863639295101166,
-0.02124607190489769,
-0.030328897759318352,
0.026280350983142853,
0.033884577453136444,
-0.006323654670268297,
0.027336493134498596,
0.015305268578231335,
0.04446360841393471,
0.005342321936041117,
0.02124607190489769,
0.02677321806550026,
-0.002349917544052005,
-0.022407827898859978,
0.026438772678375244,
0.0032652411609888077,
-0.035011131316423416,
-0.0022300013806670904,
-0.030645741149783134,
-0.007098159287124872,
-0.005870393477380276,
0.020770806819200516,
0.018834544345736504,
0.01398508995771408,
0.03247638791799545,
0.05562351644039154,
0.004365389700978994,
-0.06438950449228287,
0.01717992126941681,
0.04365389794111252,
0.018940160050988197,
-0.009012417867779732,
-0.017074307426810265,
0.04974432289600372,
0.003802113700658083,
-0.02219660021364689,
0.013976288959383965,
0.019820278510451317,
0.01644062250852585,
-0.0007409501122310758,
-0.013914680108428001,
0.023692801594734192,
-0.037809908390045166,
0.028568660840392113,
-0.018271269276738167,
-0.004523811396211386,
-0.032194752246141434,
0.010711047798395157,
-0.014944419264793396,
0.009258851408958435,
-0.02080601081252098,
0.016959892585873604,
0.02376321144402027,
-0.046294257044792175,
-0.020753204822540283,
0.06509359925985336,
0.0038813245482742786,
0.051610175520181656,
0.06213639676570892,
-0.012145641259849072,
-0.015182051807641983,
-0.008801189251244068,
-0.01717992126941681,
0.002899991814047098,
-0.06653699278831482,
-0.06365019828081131,
0.002961600199341774,
0.02760053053498268,
-0.03214194253087044,
0.03664815053343773,
-0.009206044487655163,
-0.043055418878793716,
-0.018693726509809494,
-0.0371762253344059,
0.02920234575867653,
0.04471004009246826,
-0.01335140410810709,
0.03428943455219269,
-0.02855105884373188,
0.01916898973286152,
-0.0025589456781744957,
0.05252549797296524,
-0.012180846184492111,
-0.0039649358950555325,
-0.0750565454363823,
0.0657624900341034,
0.024889763444662094,
-0.07906988263130188,
0.036612946540117264,
-0.05139894410967827,
-0.001083646435290575,
-0.05601076781749725,
-0.025840291753411293,
-0.07498612999916077,
-0.05784141644835472,
-0.03900687023997307,
-0.02994164638221264,
-0.03483510762453079,
0.07836578786373138,
-0.03823236748576164,
0.06889571249485016,
0.036612946540117264,
-0.044815655797719955,
-0.03207153454422951,
-0.02147490158677101,
-0.035961657762527466,
-0.003045211546123028,
-0.013483421877026558,
0.031032994389533997,
0.013580234721302986,
0.05618679150938988,
-0.01291134487837553,
-0.06153791397809982,
-0.0008256615838035941,
0.01780480518937111,
0.021193264052271843,
-0.02117566205561161,
-0.06072820723056793,
0.008550355210900307,
-0.040309447795152664,
-0.0626644715666771,
0.023728005588054657,
0.02612192928791046,
0.010226981714367867,
-0.028973516076803207,
0.002754772314801812,
-0.09110990911722183,
0.03988698869943619,
-0.01094867940992117,
-0.03576803207397461,
-0.02774134837090969,
0.018341679126024246,
0.050131574273109436,
-0.02235502004623413,
0.01814805157482624,
0.04463963210582733,
-0.022883092984557152,
0.03326849639415741,
0.05030759796500206,
0.02883269637823105,
0.022302214056253433,
-0.01246248371899128,
-0.030557729303836823,
-0.016660651192069054,
0.003595285816118121,
0.016722260043025017,
0.010807860642671585,
-0.022619057446718216,
-0.028199011459946632,
-0.034923117607831955,
-0.0040331450290977955,
0.018236063420772552,
-0.005835188552737236,
-0.0007062954246066511,
-0.048124901950359344,
-0.03275802731513977,
0.05858071520924568,
0.037000201642513275,
0.008347928524017334,
-0.041259974241256714,
0.004981473088264465,
-0.07498612999916077,
0.04069669917225838,
0.039429329335689545,
-0.025558654218912125,
0.03569762408733368,
-0.030628139153122902,
-0.025259412825107574,
0.017602378502488136,
0.011388738639652729,
-0.06991665065288544,
0.0026689607184380293,
-0.013501024805009365,
0.040837518870830536,
0.03200112283229828,
-0.039710965007543564,
0.01265611033886671,
0.05724293366074562,
0.027829360216856003,
0.022988706827163696,
-0.003766909008845687,
0.004244373645633459,
0.0025435436982661486,
-0.0334797240793705,
0.01867612451314926,
0.014134709723293781,
-0.0651640072464943,
0.028903106227517128,
-0.022478237748146057,
-0.006930936593562365,
0.03791552409529686,
0.035732828080654144,
0.009945344179868698,
-0.01202242448925972,
0.0538632795214653,
0.01490041334182024,
-0.0013080767821520567,
-0.008730779401957989,
0.044604428112506866,
0.012524092569947243,
0.011714383028447628,
-0.060974638909101486,
0.0040793512016534805,
0.07540859282016754,
-0.0001779490412445739,
-0.11617569625377655,
0.015472491271793842,
0.03291644901037216,
0.026526784524321556,
0.0347294919192791,
0.00825551524758339,
-0.02855105884373188,
0.0071729691699147224,
-0.0008674671989865601,
-0.028216613456606865,
0.022601453587412834,
-0.003958334680646658,
-0.016581440344452858,
0.05657404661178589,
0.08308322727680206,
0.0031728288158774376,
0.051750991493463516,
-0.03184270113706589,
-0.012893741950392723,
-0.022531043738126755,
-0.04048547148704529,
0.004849455319344997,
-0.015261262655258179,
-0.04133038595318794,
-0.01088707149028778,
-0.028287023305892944,
-0.04270337149500847,
0.0007139964727684855,
0.049603503197431564,
0.03358533978462219,
0.0007651533815078437,
-0.01338660903275013,
0.055060241371393204,
-0.04914584010839462,
-0.009047622792422771,
0.020629987120628357,
0.010843065567314625,
0.020471565425395966,
0.025717075914144516,
0.07378917187452316,
0.005135493818670511,
0.034993529319763184,
-0.027917372062802315,
0.023358356207609177,
-0.06854366511106491,
0.058158259838819504,
0.002910993294790387,
-0.0681564137339592,
0.04608302563428879,
-0.0014356940519064665,
0.016634248197078705,
0.05231427028775215,
-0.06217160075902939,
-0.04914584010839462,
0.07752087712287903,
0.009690109640359879,
0.05731334537267685,
0.023728005588054657,
-0.04949788749217987,
-0.044217176735401154,
0.02189735881984234,
0.03311007469892502,
-0.00936446525156498,
-0.07991480082273483,
-0.009681308642029762,
-0.04002780839800835,
0.04080231487751007,
0.0033510527573525906,
0.02522420883178711,
0.03703540563583374,
0.0477728545665741,
-0.006367660593241453,
0.003722903085872531,
-0.026685206219553947,
-0.03576803207397461,
-0.012524092569947243,
-0.0032300364691764116,
-0.039570145308971405,
-0.054708193987607956,
-0.021492503583431244,
0.036542538553476334,
0.004757042974233627,
0.02367519959807396,
-0.017540769651532173,
-0.009795723482966423,
-0.02249583974480629,
0.010429409332573414,
-0.0011848601279780269,
0.022319816052913666,
0.02478414960205555,
-0.055869948118925095,
-0.06622014939785004,
0.06970541924238205,
-0.06660740077495575,
0.023076718673110008,
-0.040837518870830536,
-0.05495462566614151,
-0.0046294257044792175,
-0.005364324897527695,
-0.04066149517893791,
0.02344636805355549,
-0.0513637401163578,
0.04140079393982887,
0.01183759979903698,
-0.02899111807346344,
0.014909214340150356,
0.03400779515504837,
-0.028234215453267097,
-0.05428573489189148,
-0.030205681920051575,
-0.014794799499213696,
-0.023657597601413727,
-0.09779881685972214,
0.0034566670656204224,
0.03180749714374542,
-0.0001459072227589786,
-0.0025545451790094376,
-0.04611823335289955,
0.03159626945853233,
-0.03017047606408596,
0.015287665650248528,
0.04242173209786415,
0.008537153713405132,
0.018429690971970558,
-0.011626371182501316,
-0.024766547605395317,
-0.004013342317193747,
0.017100710421800613,
0.00635885912925005,
-0.005276313051581383,
-0.02360478974878788,
0.016695857048034668,
-0.008299521170556545,
-0.07083196938037872,
0.02078840881586075,
0.015446087345480919,
-0.00610362458974123,
0.009707711637020111,
-0.02191496081650257,
-0.0334269180893898,
0.02124607190489769,
-0.00566356536000967,
-0.028075793758034706,
-0.008277518674731255,
0.0006182835204526782,
0.03267001360654831,
-0.02110525220632553,
-0.030205681920051575,
-0.009030019864439964,
0.02413286082446575,
-0.028674274682998657,
-0.04228091239929199,
0.04294980317354202,
0.013562632724642754,
0.03585604578256607,
0.05622199550271034,
0.0009433774976059794,
-0.02339356206357479,
0.020330747589468956,
-0.04682232812047005,
0.07192331552505493,
0.04682232812047005,
0.03985178470611572,
0.057278141379356384,
-0.032194752246141434,
0.05608117952942848,
0.028797490522265434,
-0.043477874249219894,
-0.020929228514432907,
-0.0470687597990036,
-0.04604782164096832,
0.015023630112409592,
0.006213639862835407,
0.008066290058195591,
-0.04062629118561745,
-0.030522525310516357,
-0.05389848351478577,
-0.02302391082048416,
-0.007049752864986658,
-0.016176585108041763,
0.013677048496901989,
-0.052032630890607834,
-0.018412088975310326,
-0.034042999148368835,
-0.047913674265146255,
0.06879009306430817,
-0.04499167948961258,
-0.04808969795703888,
0.01570132188498974,
0.01607097126543522,
-0.06808599829673767,
0.03355013206601143,
-0.013844271190464497,
-0.022319816052913666,
-0.04020383208990097,
0.038760438561439514,
0.003678897162899375,
0.046153437346220016,
0.04752642288804054,
-0.0347294919192791,
-0.024748943746089935,
0.02700204961001873,
-0.027406902983784676,
0.021721335127949715,
0.046575892716646194,
-0.06671301275491714,
0.021210866048932076,
0.018271269276738167,
0.0315258614718914,
-0.009760518558323383,
0.05991849675774574,
0.003641491988673806,
0.02964240498840809,
0.019802676513791084,
-0.06372061371803284,
-0.011353534646332264,
0.021633323282003403,
-0.007925471290946007,
0.00907402578741312,
0.020471565425395966,
-0.03583844378590584,
-0.0002959400007966906,
0.02994164638221264,
-0.05421532690525055,
-0.012110436335206032,
-0.00003836768519249745,
0.0008058588718995452,
-0.00757782394066453,
-0.034852709621191025,
0.012480086646974087,
0.03918289393186569,
0.07702800631523132,
-0.06526961922645569,
0.041259974241256714,
0.043266646564006805,
-0.009012417867779732,
-0.00359748606570065,
-0.02404484897851944,
0.056538838893175125,
-0.0037933127023279667,
0.0023895229678601027,
0.0064688739366829395,
0.05231427028775215,
-0.00008753057772992179,
0.011071896180510521,
0.01468038372695446,
0.010209379717707634,
0.030452115461230278,
-0.02737169899046421,
-0.01627339981496334,
-0.017884016036987305,
-0.04988514259457588,
0.03541598469018936,
-0.06847324967384338,
-0.058897558599710464,
-0.025277014821767807,
-0.01427552942186594,
0.020489169284701347,
0.047315195202827454,
0.022407827898859978,
-0.050554029643535614,
0.011406341567635536,
0.03159626945853233,
-0.07266262173652649,
0.00013786238559987396,
-0.02795257791876793,
0.004345587454736233,
-0.005267511587589979,
-0.01113350410014391,
-0.008114696480333805,
-0.024027246981859207,
0.0049418676644563675,
-0.02767093852162361,
0.04199927672743797,
0.02589309960603714,
-0.0334797240793705,
-0.04231611639261246,
0.02649158053100109,
0.036612946540117264,
-0.04661110043525696,
-0.009514085948467255,
-0.010112566873431206,
0.02381601743400097,
-0.0077010407112538815,
-0.01357143372297287,
0.040837518870830536,
0.0005104689626023173,
0.11145826429128647,
-0.0034016596619039774,
-0.0798443928360939,
0.05023718997836113,
0.01615898311138153,
-0.01821846142411232,
-0.015164448879659176,
0.1122327670454979,
0.04294980317354202,
-0.056609250605106354,
0.01287613995373249,
0.051222920417785645,
-0.03833797946572304,
0.02795257791876793,
-0.03932371363043785,
0.004138759337365627,
0.02552344836294651,
-0.030504921451210976,
0.02036595158278942,
-0.06551605463027954,
0.03918289393186569,
-0.053511232137680054,
-0.05745416507124901,
-0.02781175822019577,
-0.07121922075748444,
-0.055658720433712006,
0.03557440638542175,
-0.004415996838361025,
-0.011793593876063824,
0.03214194253087044,
-0.004501808434724808,
0.022038178518414497,
0.025840291753411293,
0.07829537987709045,
-0.00469983508810401,
0.006917734630405903,
0.019080977886915207,
-0.00612122705206275,
0.015023630112409592,
-0.05984808877110481,
0.003786711720749736,
0.015490093268454075,
-0.10667041689157486,
0.04069669917225838,
-0.030152874067425728,
0.002451131120324135,
0.03985178470611572,
0.048969816416502,
0.00018936308333650231,
0.02413286082446575,
-0.012004822492599487,
0.07688719034194946,
-0.05234947428107262,
0.039570145308971405,
0.006319253705441952,
-0.04678712412714958,
-0.0328812450170517,
0.06833243370056152,
0.016819072887301445,
-0.003984738606959581,
-0.026966843754053116,
0.014962022192776203,
0.04668150842189789,
-0.0017800405621528625,
0.0068825301714241505,
-0.01895776204764843,
0.0232351403683424,
0.005021078512072563,
-0.05217345058917999,
0.015287665650248528,
-0.051610175520181656,
0.029395971447229385,
0.019873086363077164,
0.026614796370267868,
-0.053828075528144836,
-0.007190571632236242,
-0.06889571249485016,
-0.002473134081810713,
0.07009267061948776,
0.07576064020395279,
0.01402029488235712,
0.05509544536471367,
-0.008871599100530148,
-0.022777477279305458,
0.013104970566928387,
0.05143415182828903,
0.03844359517097473,
-0.05843989551067352,
-0.011740786954760551,
0.011019089259207249,
-0.05682047829031944,
0.03010006807744503,
0.039499737322330475,
0.009954145178198814,
-0.028603864833712578,
0.003540278412401676,
-0.029994452372193336,
-0.0006688903667964041,
-0.03504633530974388,
-0.08850476145744324,
-0.045484546571969986,
-0.024449704214930534,
-0.04069669917225838,
-0.08111175894737244,
-0.02964240498840809,
-0.017840011045336723,
0.07090238481760025,
0.022319816052913666,
0.040239036083221436,
0.041858457028865814,
0.012559297494590282,
0.02487216144800186,
0.028357431292533875
] |
7,638 | emmett.app | AppModule | null | class AppModule:
@classmethod
def from_app(
cls,
app: App,
import_name: str,
name: str,
template_folder: Optional[str],
template_path: Optional[str],
static_folder: Optional[str],
static_path: Optional[str],
url_prefix: Optional[str],
hostname: Optional[str],
cache: Optional[RouteCacheRule],
root_path: Optional[str],
pipeline: List[Pipe],
injectors: List[Injector],
opts: Dict[str, Any] = {}
):
return cls(
app,
name,
import_name,
template_folder=template_folder,
template_path=template_path,
static_folder=static_folder,
static_path=static_path,
url_prefix=url_prefix,
hostname=hostname,
cache=cache,
root_path=root_path,
pipeline=pipeline,
injectors=injectors,
**opts
)
@classmethod
def from_module(
cls,
appmod: AppModule,
import_name: str,
name: str,
template_folder: Optional[str],
template_path: Optional[str],
static_folder: Optional[str],
static_path: Optional[str],
url_prefix: Optional[str],
hostname: Optional[str],
cache: Optional[RouteCacheRule],
root_path: Optional[str],
opts: Dict[str, Any] = {}
):
if '.' in name:
raise RuntimeError(
"Nested app modules' names should not contains dots"
)
name = appmod.name + '.' + name
if url_prefix and not url_prefix.startswith('/'):
url_prefix = '/' + url_prefix
module_url_prefix = (appmod.url_prefix + (url_prefix or '')) \
if appmod.url_prefix else url_prefix
hostname = hostname or appmod.hostname
cache = cache or appmod.cache
return cls(
appmod.app,
name,
import_name,
template_folder=template_folder,
template_path=template_path,
static_folder=static_folder,
static_path=static_path,
url_prefix=module_url_prefix,
hostname=hostname,
cache=cache,
root_path=root_path,
pipeline=appmod.pipeline,
injectors=appmod.injectors,
**opts
)
@classmethod
def from_module_group(
cls,
appmodgroup: AppModuleGroup,
import_name: str,
name: str,
template_folder: Optional[str],
template_path: Optional[str],
static_folder: Optional[str],
static_path: Optional[str],
url_prefix: Optional[str],
hostname: Optional[str],
cache: Optional[RouteCacheRule],
root_path: Optional[str],
opts: Dict[str, Any] = {}
) -> AppModulesGrouped:
mods = []
for module in appmodgroup.modules:
mod = cls.from_module(
module,
import_name,
name,
template_folder=template_folder,
template_path=template_path,
static_folder=static_folder,
static_path=static_path,
url_prefix=url_prefix,
hostname=hostname,
cache=cache,
root_path=root_path,
opts=opts
)
mods.append(mod)
return AppModulesGrouped(*mods)
def module(
self,
import_name: str,
name: str,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
static_folder: Optional[str] = None,
static_path: Optional[str] = None,
url_prefix: Optional[str] = None,
hostname: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
root_path: Optional[str] = None,
module_class: Optional[Type[AppModule]] = None,
**kwargs: Any
) -> AppModule:
module_class = module_class or self.__class__
return module_class.from_module(
self,
import_name,
name,
template_folder=template_folder,
template_path=template_path,
static_folder=static_folder,
static_path=static_path,
url_prefix=url_prefix,
hostname=hostname,
cache=cache,
root_path=root_path,
opts=kwargs
)
def __init__(
self,
app: App,
name: str,
import_name: str,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
static_folder: Optional[str] = None,
static_path: Optional[str] = None,
url_prefix: Optional[str] = None,
hostname: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
root_path: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
injectors: Optional[List[Injector]] = None,
**kwargs: Any
):
self.app = app
self.name = name
self.import_name = import_name
if root_path is None:
root_path = get_root_path(self.import_name)
self.root_path = root_path
#: - `template_folder` is referred to application `template_path`
# - `template_path` is referred to module root_directory unless absolute
self.template_folder = template_folder
if template_path and not template_path.startswith("/"):
template_path = os.path.join(self.root_path, template_path)
self.template_path = template_path
#: - `static_folder` is referred to application `static_path`
# - `static_path` is referred to module root_directory unless absolute
if static_path and not static_path.startswith("/"):
static_path = os.path.join(self.root_path, static_path)
self._static_path = (
os.path.join(self.app.static_path, static_folder) if static_folder else
(static_path or self.app.static_path)
)
self.url_prefix = url_prefix
self.hostname = hostname
self.cache = cache
self._super_pipeline = pipeline or []
self._super_injectors = injectors or []
self.pipeline = []
self.injectors = []
self.app._register_module(self)
@property
def pipeline(self) -> List[Pipe]:
return self._pipeline
@pipeline.setter
def pipeline(self, pipeline: List[Pipe]):
self._pipeline = self._super_pipeline + pipeline
@property
def injectors(self) -> List[Injector]:
return self._injectors
@injectors.setter
def injectors(self, injectors: List[Injector]):
self._injectors = self._super_injectors + injectors
def route(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
template: Optional[str] = None,
**kwargs
) -> RoutingCtx:
if name is not None and "." in name:
raise RuntimeError(
"App modules' route names should not contains dots"
)
name = self.name + "." + (name or "")
pipeline = kwargs.get('pipeline', [])
injectors = kwargs.get('injectors', [])
if self.pipeline:
pipeline = self.pipeline + pipeline
kwargs['pipeline'] = pipeline
if self.injectors:
injectors = self.injectors + injectors
kwargs['injectors'] = injectors
kwargs['cache'] = kwargs.get('cache', self.cache)
return self.app.route(
paths=paths,
name=name,
template=template,
prefix=self.url_prefix,
template_folder=self.template_folder,
template_path=self.template_path,
hostname=self.hostname,
**kwargs
)
def websocket(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
**kwargs
) -> RoutingCtx:
if name is not None and "." in name:
raise RuntimeError( | (app: 'App', name: 'str', import_name: 'str', template_folder: 'Optional[str]' = None, template_path: 'Optional[str]' = None, static_folder: 'Optional[str]' = None, static_path: 'Optional[str]' = None, url_prefix: 'Optional[str]' = None, hostname: 'Optional[str]' = None, cache: 'Optional[RouteCacheRule]' = None, root_path: 'Optional[str]' = None, pipeline: 'Optional[List[Pipe]]' = None, injectors: 'Optional[List[Injector]]' = None, **kwargs: 'Any') | [
0.02813602238893509,
-0.06013229116797447,
-0.05806288123130798,
-0.03052380308508873,
0.028553884476423264,
-0.012724884785711765,
-0.013282033614814281,
0.042741283774375916,
-0.05889860540628433,
-0.00877012126147747,
0.03277229890227318,
-0.014774397015571594,
-0.002056973986327648,
0.05340670794248581,
-0.02143033780157566,
-0.00960584543645382,
0.048790331929922104,
0.024972213432192802,
0.06494764983654022,
-0.08389071375131607,
0.006103765685111284,
0.018545100465416908,
0.015391239896416664,
-0.013878978788852692,
-0.006596245802938938,
-0.03167789801955223,
0.005243169609457254,
0.03378710523247719,
0.02628549188375473,
-0.03362791985273361,
0.006178384181112051,
-0.057585325092077255,
0.07875698804855347,
0.0075712562538683414,
0.05085974186658859,
-0.05806288123130798,
0.00757623091340065,
-0.007372274529188871,
-0.03557794168591499,
-0.011899109929800034,
0.05105872452259064,
-0.01908235251903534,
0.028374800458550453,
-0.04266169294714928,
0.02925032004714012,
0.03305087238550186,
0.0027359994128346443,
0.045129064470529556,
-0.03786623105406761,
0.02513139881193638,
0.008541292510926723,
-0.008586063049733639,
0.019360926002264023,
0.035936109721660614,
0.053207725286483765,
0.07079771161079407,
-0.017072636634111404,
0.04405456408858299,
-0.009272550232708454,
-0.02302219159901142,
0.01071516890078783,
0.019758889451622963,
0.017878511920571327,
-0.01113303005695343,
0.028434494510293007,
0.03215545415878296,
-0.07322528958320618,
0.010824608616530895,
-0.004924798849970102,
-0.0022447630763053894,
-0.0206742063164711,
-0.008203024044632912,
0.006984260398894548,
0.00980980135500431,
0.01886347122490406,
-0.024275775998830795,
0.06311701983213425,
-0.050819944590330124,
0.039199408143758774,
-0.014993276447057724,
0.02903144061565399,
-0.041865766048431396,
-0.06323640793561935,
-0.01066542323678732,
0.054799579083919525,
0.0027956939302384853,
-0.031379424035549164,
-0.03927900269627571,
0.00033982357126660645,
-0.01382923312485218,
-0.05189444497227669,
0.01705273799598217,
0.0013020869810134172,
0.03888103738427162,
0.01745070144534111,
-0.022683922201395035,
0.005939606111496687,
-0.0130333062261343,
0.006760405842214823,
-0.007466791197657585,
0.020156852900981903,
-0.0037134974263608456,
-0.10378888994455338,
0.02310178428888321,
0.01801779866218567,
-0.04087085649371147,
-0.019709143787622452,
0.020912984386086464,
0.025788037106394768,
-0.015202207490801811,
-0.05189444497227669,
0.004795460496097803,
-0.0326131135225296,
-0.021967587992548943,
-0.05145668610930443,
0.005086471792310476,
-0.008979052305221558,
0.014545567333698273,
0.07804065197706223,
-0.0263252891600132,
-0.029429404065012932,
0.03279219567775726,
-0.016774162650108337,
-0.01415755320340395,
0.08309479057788849,
0.032235048711299896,
-0.009814775548875332,
-0.06582316756248474,
0.008655707351863384,
-0.06478846818208694,
0.0031016282737255096,
0.0458454005420208,
-0.02650437131524086,
-0.032095760107040405,
0.0043029808439314365,
0.010426645167171955,
-0.057625122368335724,
0.011819517239928246,
-0.03460292890667915,
0.10967875272035599,
-0.02968808077275753,
0.007984143681824207,
-0.022166568785905838,
0.052849557250738144,
0.0164358951151371,
-0.041069839149713516,
0.029588589444756508,
0.027499280869960785,
-0.028573783114552498,
0.025290584191679955,
0.034045781940221786,
-0.024395165964961052,
0.008491546846926212,
0.0577843077480793,
-0.0072031402960419655,
0.04489028826355934,
-0.014127706177532673,
0.04218413680791855,
0.008799969218671322,
-0.06825074553489685,
-0.027638567611575127,
-0.04902910813689232,
0.024096691980957985,
-0.011700128205120564,
-0.023798219859600067,
-0.02425587736070156,
0.04624336585402489,
-0.014525669626891613,
-0.008755197748541832,
0.035359062254428864,
-0.013391473330557346,
0.0074419183656573296,
0.0008767634280957282,
-0.024892618879675865,
-0.015968287363648415,
0.06928545236587524,
-0.030185535550117493,
-0.006561424117535353,
-0.016634875908493996,
-0.0015023123705759645,
-0.0072827329859137535,
-0.026703353971242905,
-0.0663803219795227,
0.020972678437829018,
0.012704986147582531,
0.06538540869951248,
-0.030981462448835373,
0.05249139294028282,
0.01493358239531517,
0.04457191750407219,
-0.05269037187099457,
-0.008620885200798512,
0.06904667615890503,
-0.0195201113820076,
-0.03225494548678398,
0.026583964005112648,
-0.05169546604156494,
-0.027180910110473633,
0.010575881227850914,
0.014655007980763912,
-0.07270793616771698,
-0.011700128205120564,
0.01886347122490406,
0.022186467424035072,
0.002952391980215907,
0.027499280869960785,
0.03440394997596741,
0.018664490431547165,
0.02222626470029354,
0.008148303255438805,
-0.05010361224412918,
-0.009949089027941227,
0.0390402227640152,
-0.00157941784709692,
0.01872418448328972,
-0.029091134667396545,
0.015918541699647903,
0.003298122901469469,
0.04341782256960869,
0.008138354867696762,
-0.011948855593800545,
0.06188333034515381,
-0.030026350170373917,
0.010327153839170933,
-0.05806288123130798,
-0.014774397015571594,
-0.012714935466647148,
0.02230585739016533,
-0.011938906274735928,
0.06681808084249496,
0.025867629796266556,
-0.0011553379008546472,
0.05499856173992157,
0.007655823603272438,
0.015709610655903816,
-0.03714989870786667,
0.03701061010360718,
0.03464272618293762,
-0.019629551097750664,
-0.011481247842311859,
-0.005636158864945173,
0.05897819623351097,
0.008068710565567017,
-0.05225261300802231,
0.01882367581129074,
-0.0035717228893190622,
-0.03297128155827522,
-0.055993471294641495,
0.0012311997124925256,
-0.021569624543190002,
0.013719793409109116,
0.019181841984391212,
-0.013242237269878387,
-0.0014438615180552006,
-0.06657930463552475,
-0.0305636003613472,
0.02032598853111267,
0.005710776895284653,
-0.03384679928421974,
0.022405346855521202,
0.004442268051207066,
-0.003198632039129734,
-0.013202440924942493,
0.0013170106103643775,
0.004586529918015003,
-0.019709143787622452,
0.007969220168888569,
-0.02743958681821823,
-0.04863114655017853,
0.014794294722378254,
0.07764268666505814,
0.0668976753950119,
0.0033006102312356234,
0.03048400767147541,
-0.019599704071879387,
-0.041109632700681686,
-0.0006970580434426665,
0.004186078906059265,
-0.016326455399394035,
0.029190625995397568,
0.03326975181698799,
-0.03750806301832199,
-0.008451750501990318,
0.012824375182390213,
0.04051268845796585,
-0.014097858220338821,
-0.012446309439837933,
0.03193657472729683,
0.006939489394426346,
0.02284310758113861,
0.03820449858903885,
-0.007531459908932447,
0.00020333449356257915,
-0.008998950943350792,
-0.052769966423511505,
0.005556566175073385,
-0.06104760617017746,
0.047954607754945755,
0.000053942716476740316,
-0.07223038375377655,
0.04337802529335022,
0.029986552894115448,
0.029628386721014977,
0.02487272210419178,
0.003298122901469469,
0.004656173288822174,
0.009337219409644604,
-0.0008798725320957601,
0.03909991681575775,
0.020306089892983437,
0.03450343757867813,
-0.01661497727036476,
0.03153860941529274,
-0.017769072204828262,
-0.0019462904892861843,
0.010894251987338066,
0.04504947364330292,
0.019639501348137856,
-0.0011702615302056074,
0.040751468390226364,
-0.02690233662724495,
0.081662118434906,
-0.02813602238893509,
0.03689122200012207,
0.05511794984340668,
0.004778049886226654,
0.08428867906332016,
-0.008710427209734917,
0.007581205572932959,
0.013689946383237839,
-0.06717624515295029,
0.04688010737299919,
-0.026603862643241882,
0.024574248120188713,
-0.015709610655903816,
-0.01922163926064968,
-0.010426645167171955,
-0.10665422677993774,
-0.02168901264667511,
-0.059216976165771484,
0.0498250350356102,
-0.029190625995397568,
-0.03961727023124695,
0.008541292510926723,
-0.03114064782857895,
-0.05579448863863945,
0.03661264479160309,
0.004051766358315945,
-0.030623294413089752,
-0.015023123472929,
0.03211565688252449,
-0.027280401438474655,
0.005944580305367708,
0.01576930470764637,
0.045964788645505905,
-0.03484170883893967,
-0.027180910110473633,
0.009914266876876354,
0.017201974987983704,
-0.02103237248957157,
0.002422603080049157,
0.01223737932741642,
-0.05125770345330238,
0.010133147239685059,
-0.017749173566699028,
-0.022544635459780693,
0.01770937815308571,
-0.009655590169131756,
-0.0061933076940476894,
-0.040273912250995636,
0.00163165049161762,
-0.03066309168934822,
0.02588752843439579,
-0.051178112626075745,
0.018007850274443626,
-0.021549725905060768,
0.020375734195113182,
-0.03456313535571098,
-0.08317437767982483,
0.018216781318187714,
-0.007914500311017036,
0.06295783072710037,
0.052769966423511505,
-0.001313279732130468,
0.01670452021062374,
-0.04922809079289436,
0.032533518970012665,
-0.011968753300607204,
-0.00916311051696539,
-0.028215615078806877,
0.037269286811351776,
-0.011302164755761623,
-0.009466557763516903,
0.014127706177532673,
0.0065514747984707355,
-0.05690878629684448,
-0.04978523775935173,
0.06514663249254227,
0.01749049872159958,
-0.020614512264728546,
0.08381111919879913,
-0.03241413086652756,
0.11015631258487701,
0.022106874734163284,
0.028653375804424286,
-0.013859080150723457,
0.08397030830383301,
-0.015848897397518158,
0.021410439163446426,
0.048352569341659546,
-0.032533518970012665,
0.01377948746085167,
-0.09582962095737457,
-0.05941595882177353,
0.024395165964961052,
-0.033548325300216675,
0.06029147654771805,
0.05487917363643646,
0.0170129407197237,
0.0006709416629746556,
-0.001998523250222206,
0.009222805500030518,
0.08046822994947433,
-0.021848198026418686,
0.01638614945113659,
0.022723717615008354,
-0.0606098473072052,
0.011411604471504688,
-0.09710310399532318,
0.01745070144534111,
-0.008939255960285664,
-0.006228129379451275,
-0.07183241844177246,
-0.036911118775606155,
0.02371862716972828,
-0.050819944590330124,
0.05810267850756645,
-0.018127240240573883,
-0.017769072204828262,
0.01230702269822359,
0.04496987909078598,
-0.002887723036110401,
0.05670980364084244,
0.02389771118760109,
-0.015540476888418198,
0.013351676985621452,
-0.04684031009674072,
0.00447211554273963,
0.053207725286483765,
-0.04978523775935173,
0.004763126373291016,
-0.017371108755469322,
-0.020246395841240883,
0.026345185935497284,
-0.07079771161079407,
-0.041149429976940155,
0.07163343578577042,
-0.02964828349649906,
-0.07628960907459259,
0.027419688180088997,
-0.017251718789339066,
-0.017162177711725235,
0.03374730795621872,
-0.02690233662724495,
0.0039050173945724964,
0.0065713729709386826,
0.07712533324956894,
-0.029489098116755486,
-0.020534919574856758,
-0.0036015701480209827,
0.026842640712857246,
-0.050780147314071655,
0.04103004187345505,
0.01692339964210987,
-0.03772694244980812,
0.012923866510391235,
0.055197544395923615,
-0.01679406128823757,
-0.01629660651087761,
-0.014704752713441849,
0.0028379776049405336,
0.006088842172175646,
-0.010366950184106827,
0.05229241028428078,
-0.06017208844423294,
-0.04385558143258095,
0.04496987909078598,
-0.020992577075958252,
0.010476389899849892,
-0.015470832586288452,
-0.049984220415353775,
-0.009003925137221813,
0.0034199992660433054,
0.03834378719329834,
-0.04684031009674072,
0.03279219567775726,
0.00960584543645382,
0.0027757957577705383,
0.052411798387765884,
-0.03603559732437134,
-0.035458553582429886,
-0.0011826979462057352,
0.01183941587805748,
0.006949438247829676,
0.01402821484953165,
-0.0007405852666124701,
-0.028613578528165817,
-0.04544743523001671,
-0.01053608488291502,
-0.019589755684137344,
-0.03537895902991295,
0.0055814385414123535,
-0.004501962568610907,
0.029369710013270378,
0.015759356319904327,
0.01894306391477585,
-0.06347518414258957,
0.017699427902698517,
-0.012903967872262001,
0.005198398604989052,
0.052809763699769974,
-0.019450468942523003,
0.056749600917100906,
-0.00047195988008752465,
-0.002190043218433857,
-0.009944113902747631,
0.0656241923570633,
0.009461583569645882,
0.020256344228982925,
0.08611930906772614,
-0.03577692434191704,
0.04544743523001671,
0.017261669039726257,
-0.0016266759485006332,
0.021967587992548943,
0.02473343349993229,
-0.022683922201395035,
-0.028414597734808922,
-0.03547845035791397,
-0.008566165342926979,
-0.04294026643037796,
0.03754786029458046,
0.024932416155934334,
-0.05269037187099457,
-0.018833624199032784,
-0.05901799350976944,
-0.008128405548632145,
0.009357118047773838,
-0.016863705590367317,
-0.05854043737053871,
-0.01508281845599413,
0.014416229911148548,
0.02863347716629505,
0.018495356664061546,
0.02049512229859829,
-0.006068943999707699,
-0.03378710523247719,
0.03609529510140419,
-0.03141922131180763,
0.0032160428818315268,
0.018395865336060524,
0.02925032004714012,
-0.05949554964900017,
-0.03949788212776184,
-0.013968520797789097,
0.028732968494296074,
-0.020515020936727524,
-0.04182596877217293,
-0.02950899675488472,
0.00022742994769942015,
-0.032752398401498795,
-0.03432435542345047,
0.01634635217487812,
-0.026305390521883965,
0.009352142922580242,
0.06184353679418564,
0.032354436814785004,
0.036911118775606155,
0.06144557148218155,
-0.0639527440071106,
0.073185496032238,
-0.0001723990571917966,
-0.03862236067652702,
-0.014684855006635189,
-0.02164921723306179,
-0.040353503078222275,
0.06936504691839218,
0.0514964833855629,
0.033030975610017776,
0.0032458901405334473,
-0.038542769849300385,
0.0071434457786381245,
0.04544743523001671,
-0.00980482716113329,
0.027419688180088997,
0.061166997998952866,
-0.08548256754875183,
0.015440985560417175,
0.03386669605970383,
0.008690528571605682,
-0.0246538408100605,
0.03307076916098595,
0.020515020936727524,
-0.05774451047182083,
0.056431230157613754,
-0.0007101161754690111,
-0.014664956368505955,
-0.0016726905014365911,
-0.0025967122055590153,
0.05993330851197243,
0.0027011774946004152,
-0.044810693711042404,
-0.0032682756427675486,
-0.0038502973038703203,
-0.026345185935497284,
-0.05022300034761429,
-0.07672736793756485,
0.02907123789191246,
0.06661909818649292,
-0.06980280578136444,
-0.01577925495803356,
0.006929540075361729,
-0.013789436779916286,
0.017948156222701073,
-0.01815708726644516,
0.04612397402524948,
0.009944113902747631,
-0.011809567920863628,
-0.05066075921058655,
0.0007617271039634943,
0.019679296761751175,
-0.04974544420838356,
0.0064121875911951065,
-0.005476973485201597,
0.04819338396191597,
-0.003569235559552908,
0.012446309439837933,
-0.007755314465612173,
0.0206742063164711,
0.05269037187099457,
0.028175819665193558,
-0.079353928565979,
-0.060808829963207245,
-0.042741283774375916,
-0.01931118033826351,
0.002964828396216035,
0.034523338079452515,
-0.05710776895284653,
0.02451455406844616,
-0.04457191750407219,
-0.0218283012509346,
0.053128134459257126,
-0.05567510053515434,
-0.00837215781211853,
-0.047158680856227875,
0.04011472687125206,
0.014316738583147526,
-0.059973105788230896,
-0.022425245493650436,
0.022405346855521202,
0.003243402810767293,
-0.03476211428642273,
0.09113365411758423,
-0.08755198121070862,
0.012814425863325596,
-0.0007915743626654148,
0.06550479680299759,
-0.04073156788945198,
0.03225494548678398,
0.025171194225549698,
-0.02001756615936756,
-0.03780653700232506,
-0.003683650167658925,
-0.03945808485150337,
0.026086511090397835,
0.03279219567775726,
-0.013799386098980904,
-0.01212793868035078,
-0.011919008567929268,
0.00801896583288908,
-0.010546034201979637,
0.04787501320242882,
-0.012625393457710743,
0.025290584191679955,
-0.03163810074329376,
-0.015620069578289986,
0.008118456229567528,
-0.003964711911976337,
0.06220170110464096,
-0.011550892144441605,
0.02363903447985649,
0.057625122368335724,
0.044293344020843506,
0.032235048711299896,
-0.018346119672060013,
-0.02795693837106228,
-0.014704752713441849,
-0.07394162565469742,
-0.04290046915411949,
0.021191559731960297,
0.01590859331190586,
-0.0385228730738163,
0.02270382083952427,
-0.014197349548339844,
-0.030901869758963585,
0.02734009549021721,
-0.016445843502879143,
-0.03927900269627571,
-0.043179046362638474,
0.005805293098092079,
-0.023300765082240105,
0.023221172392368317,
0.12010540068149567,
-0.007755314465612173,
-0.0015893669333308935,
-0.04946686699986458,
-0.013729742728173733,
0.0446913056075573,
-0.008257743902504444,
-0.02310178428888321,
-0.01192895695567131,
0.010347052477300167,
0.049944426864385605,
-0.023221172392368317,
0.022146672010421753,
-0.06665889173746109,
-0.012316972017288208,
-0.036513157188892365,
0.07429979741573334,
0.007208114955574274,
-0.011491197161376476,
-0.013102949596941471,
-0.02234565280377865,
0.02385791391134262,
0.07135486602783203,
-0.04409436136484146,
0.021987486630678177,
-0.03830398991703987,
-0.0730661079287529,
-0.0263252891600132,
0.045129064470529556,
-0.007417045533657074,
-0.10283377766609192,
-0.026205899193882942,
0.01151109579950571,
0.04178617149591446,
0.04242291301488876,
-0.009909292683005333,
0.008337336592376232,
-0.009824724867939949,
0.014068011194467545,
0.029747774824500084,
-0.017192024737596512,
0.01402821484953165,
-0.01647569052875042,
0.0016739341663196683,
0.007237961981445551,
0.0053625586442649364,
-0.045208659023046494,
-0.03979635611176491,
0.0006460689473897219,
-0.043179046362638474,
0.013948622159659863,
-0.000014739031030330807,
0.11636453866958618,
0.02751917950809002,
-0.01482414174824953,
0.0015433523803949356
] |
7,639 | emmett.app | __init__ | null | def __init__(
self,
app: App,
name: str,
import_name: str,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
static_folder: Optional[str] = None,
static_path: Optional[str] = None,
url_prefix: Optional[str] = None,
hostname: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
root_path: Optional[str] = None,
pipeline: Optional[List[Pipe]] = None,
injectors: Optional[List[Injector]] = None,
**kwargs: Any
):
self.app = app
self.name = name
self.import_name = import_name
if root_path is None:
root_path = get_root_path(self.import_name)
self.root_path = root_path
#: - `template_folder` is referred to application `template_path`
# - `template_path` is referred to module root_directory unless absolute
self.template_folder = template_folder
if template_path and not template_path.startswith("/"):
template_path = os.path.join(self.root_path, template_path)
self.template_path = template_path
#: - `static_folder` is referred to application `static_path`
# - `static_path` is referred to module root_directory unless absolute
if static_path and not static_path.startswith("/"):
static_path = os.path.join(self.root_path, static_path)
self._static_path = (
os.path.join(self.app.static_path, static_folder) if static_folder else
(static_path or self.app.static_path)
)
self.url_prefix = url_prefix
self.hostname = hostname
self.cache = cache
self._super_pipeline = pipeline or []
self._super_injectors = injectors or []
self.pipeline = []
self.injectors = []
self.app._register_module(self)
| (self, app: emmett.app.App, name: str, import_name: str, template_folder: Optional[str] = None, template_path: Optional[str] = None, static_folder: Optional[str] = None, static_path: Optional[str] = None, url_prefix: Optional[str] = None, hostname: Optional[str] = None, cache: Optional[emmett.cache.RouteCacheRule] = None, root_path: Optional[str] = None, pipeline: Optional[List[emmett.pipeline.Pipe]] = None, injectors: Optional[List[emmett.pipeline.Injector]] = None, **kwargs: Any) | [
0.015900807455182076,
-0.06394254416227341,
-0.035383302718400955,
-0.02111310511827469,
0.036344703286886215,
0.004938958678394556,
0.007898563519120216,
0.03807899355888367,
-0.07250089198350906,
-0.001057422487065196,
0.04094434157013893,
0.00529241468757391,
-0.01043402124196291,
0.02465709112584591,
-0.04418671131134033,
-0.00016524067905265838,
0.06296229362487793,
0.04490305110812187,
0.04418671131134033,
-0.09116337448358536,
-0.0006108898087404668,
0.0268815066665411,
0.017964990809559822,
-0.013638689182698727,
0.01706956885755062,
0.005584605038166046,
0.009745960123836994,
0.01588195562362671,
0.02710771933197975,
-0.024638239294290543,
0.009359515272080898,
-0.02693806029856205,
0.07702513039112091,
0.034421902149915695,
0.05014362558722496,
-0.06073787808418274,
0.005768402013927698,
-0.0038526703137904406,
-0.07284021377563477,
-0.011018401943147182,
0.07642190158367157,
-0.002291572978720069,
0.029011668637394905,
-0.04026570916175842,
0.02952064573764801,
0.021508974954485893,
0.01738061010837555,
0.024939855560660362,
-0.04535547271370888,
0.014109963551163673,
-0.026485636830329895,
0.025052960962057114,
0.01481687556952238,
0.017767054960131645,
0.013516157865524292,
0.09063554555177689,
0.022338420152664185,
0.06827827543020248,
-0.027805205434560776,
0.01256418228149414,
-0.035929981619119644,
0.03528904542326927,
0.02952064573764801,
-0.006107719615101814,
0.014722621068358421,
0.038946136832237244,
-0.07427288591861725,
0.00796925462782383,
-0.0062443893402814865,
0.0158725306391716,
0.004177849739789963,
-0.0024388465099036694,
-0.002573159756138921,
-0.0008547744364477694,
0.06156732141971588,
-0.014543536119163036,
0.03909694775938988,
-0.07532854378223419,
0.03067055530846119,
-0.02669299766421318,
0.03921005129814148,
-0.04539317637681961,
-0.07415977865457535,
-0.023375224322080612,
0.07076660543680191,
0.0027828768361359835,
-0.039172351360321045,
-0.06367862969636917,
0.014364452101290226,
0.008878814987838268,
-0.06646858155727386,
0.02578815072774887,
-0.010971274226903915,
0.03630699962377548,
0.015900807455182076,
-0.04878635331988335,
0.016211848706007004,
-0.018002692610025406,
0.015099640004336834,
0.016155295073986053,
0.003612320404499769,
-0.017823608592152596,
-0.09908078610897064,
0.008558347821235657,
0.01491113007068634,
-0.02718312293291092,
-0.012875223532319069,
0.029690304771065712,
0.004769299644976854,
-0.0042603230103850365,
-0.01695646345615387,
0.03932315856218338,
-0.015410681255161762,
0.016975313425064087,
-0.07133213430643082,
0.0035911130253225565,
-0.01816292479634285,
0.00008637581049697474,
0.08633752167224884,
-0.043017949908971786,
-0.036118488758802414,
0.060285456478595734,
-0.0031811040826141834,
0.021923696622252464,
0.09877917170524597,
0.036646317690610886,
-0.017060143873095512,
-0.056251343339681625,
0.016805654391646385,
-0.04720287024974823,
0.05538420006632805,
0.039473965764045715,
-0.0362127460539341,
-0.042188506573438644,
0.007714766077697277,
0.011791292577981949,
-0.01407226175069809,
0.018144074827432632,
-0.05911669507622719,
0.09659245610237122,
-0.035986535251140594,
0.004323944915086031,
-0.014713195152580738,
0.0314057432115078,
0.004663262981921434,
-0.02778635360300541,
-0.006249102298170328,
0.0037513463757932186,
-0.030877916142344475,
0.0363258495926857,
0.028691202402114868,
-0.017993267625570297,
-0.013233392499387264,
0.03391292691230774,
-0.01640978455543518,
0.03985098749399185,
0.002719254931434989,
0.015127916820347309,
0.010170107707381248,
-0.04305565357208252,
-0.02603321336209774,
-0.017427736893296242,
0.01803096942603588,
-0.019623877480626106,
-0.03589227795600891,
-0.006956014316529036,
0.03131148964166641,
-0.011357719078660011,
0.004809358157217503,
0.03981328383088112,
-0.019699281081557274,
-0.016852783039212227,
-0.002474192064255476,
-0.008478231728076935,
-0.02177288942039013,
0.04535547271370888,
-0.020472170785069466,
0.01702244020998478,
-0.013808348216116428,
0.01588195562362671,
0.0030420778784900904,
-0.04105744883418083,
-0.05692997947335243,
0.029728006571531296,
0.01148025132715702,
0.04064272716641426,
-0.02411041222512722,
0.06537522375583649,
0.017710501328110695,
0.04942728579044342,
-0.026843804866075516,
-0.01304488256573677,
0.053008973598480225,
-0.022055653855204582,
-0.018068671226501465,
0.01569344662129879,
-0.05236804112792015,
-0.031594254076480865,
0.0007787813665345311,
0.028163373470306396,
-0.06895691156387329,
-0.0035416290629655123,
0.012696139514446259,
0.006800493225455284,
0.020434468984603882,
0.029388688504695892,
0.044714540243148804,
0.026184020563960075,
-0.005561041180044413,
0.008388688787817955,
-0.023771094158291817,
-0.04045421630144119,
0.028219927102327347,
0.03059515170753002,
0.01977468468248844,
-0.018012117594480515,
0.004371072631329298,
0.0019569681026041508,
0.043734289705753326,
0.03127378597855568,
0.013572710566222668,
0.0829443410038948,
-0.02141472138464451,
0.01658886857330799,
-0.04339497163891792,
0.0008447598665952682,
0.0008035232895053923,
0.0039021542761474848,
-0.03268761187791824,
0.0444883294403553,
-0.007422576192766428,
-0.01930341124534607,
0.059493713080883026,
0.02032136358320713,
-0.003916292451322079,
-0.032612208276987076,
0.027503589168190956,
0.04003949463367462,
-0.04659963771700859,
-0.026768401265144348,
0.025637341663241386,
0.06560143083333969,
0.010405744425952435,
-0.05749550834298134,
0.02657989040017128,
-0.011527378112077713,
-0.05225493386387825,
-0.03413913771510124,
0.01786131039261818,
-0.030142728239297867,
0.011018401943147182,
0.017210951074957848,
-0.03517594188451767,
-0.001319569069892168,
-0.06891920417547226,
-0.012828096747398376,
-0.0005290058325044811,
-0.02531687542796135,
-0.018653051927685738,
0.0317450612783432,
-0.003235300537198782,
-0.013704667799174786,
0.009241696447134018,
0.019736982882022858,
0.004286243114620447,
-0.034252241253852844,
0.009307675063610077,
-0.052405744791030884,
-0.03600538522005081,
0.00664497260004282,
0.06665708869695663,
0.058777377009391785,
0.02013285458087921,
0.028446139767766,
-0.04418671131134033,
-0.07061579823493958,
-0.021377019584178925,
-0.015552064403891563,
-0.018775582313537598,
0.047353677451610565,
0.07985278218984604,
-0.027635546401143074,
0.014807449653744698,
0.007328321225941181,
0.027088867500424385,
-0.02194254845380783,
-0.0025095376186072826,
0.03879532963037491,
-0.02693806029856205,
-0.011687612161040306,
0.03268761187791824,
0.026108616963028908,
-0.010302064009010792,
-0.021188508719205856,
-0.0336490124464035,
-0.003906867001205683,
-0.0670718103647232,
0.03419569134712219,
-0.004488890990614891,
-0.044940751045942307,
0.04814542084932327,
-0.026485636830329895,
-0.0053301164880394936,
0.03321543708443642,
-0.018257180228829384,
0.012488778680562973,
-0.012460501864552498,
0.02062297984957695,
0.027578992769122124,
0.024280071258544922,
0.06239676475524902,
-0.0038503140676766634,
0.03794703632593155,
0.006286804098635912,
0.0038102557882666588,
0.035213641822338104,
0.04154757410287857,
-0.006517728790640831,
-0.01491113007068634,
0.04264093190431595,
-0.013666965067386627,
0.07774146646261215,
-0.017653949558734894,
0.003928074147552252,
0.04478994384407997,
0.016042189672589302,
0.05975762754678726,
0.004017616622149944,
-0.005264137871563435,
0.02265888638794422,
-0.07502692937850952,
0.08060681819915771,
-0.013714092783629894,
-0.00886467657983303,
-0.022885097190737724,
-0.032744165509939194,
-0.0142513457685709,
-0.09998563677072525,
-0.03215978294610977,
-0.052820466458797455,
0.04742908105254173,
-0.007860861718654633,
-0.052217233926057816,
0.011838419362902641,
-0.05538420006632805,
-0.041509874165058136,
0.039172351360321045,
-0.04064272716641426,
-0.0002203209005529061,
-0.005919209681451321,
0.01220601424574852,
-0.008633752353489399,
0.008035233244299889,
0.011763015761971474,
0.05346139892935753,
-0.03001077100634575,
-0.047353677451610565,
0.004439407493919134,
0.007356597576290369,
-0.04211310297250748,
0.01132944319397211,
0.0036759423092007637,
-0.06846678256988525,
0.0049813734367489815,
-0.023959605023264885,
-0.050671450793743134,
0.017050717025995255,
-0.017050717025995255,
-0.026768401265144348,
-0.03215978294610977,
0.00027054111706092954,
-0.04742908105254173,
0.012074057012796402,
-0.057382404804229736,
0.021358167752623558,
-0.03187701851129532,
0.016928186640143394,
-0.04105744883418083,
-0.07547935098409653,
0.002170219784602523,
-0.0477306991815567,
0.09862836450338364,
0.0346481129527092,
-0.01545780897140503,
0.012432225979864597,
-0.04871094971895218,
0.007611085660755634,
0.00008107397297862917,
0.01684335619211197,
0.004564295057207346,
0.060096945613622665,
-0.00740843778476119,
0.0010344479233026505,
-0.014034559950232506,
0.04166068136692047,
-0.05915439501404762,
-0.04871094971895218,
0.04833393171429634,
0.020000897347927094,
0.012912926264107227,
0.06703411042690277,
-0.043017949908971786,
0.09018312394618988,
0.030406640842556953,
0.04358348250389099,
-0.01682450622320175,
0.07547935098409653,
-0.034855473786592484,
0.02265888638794422,
0.04497845470905304,
-0.014128814451396465,
0.009783661924302578,
-0.08128545433282852,
-0.08068222552537918,
-0.0014314968138933182,
-0.010660232976078987,
0.04275403916835785,
0.012271991930902004,
0.001780240098014474,
-0.020340215414762497,
-0.007309470325708389,
0.04810771718621254,
0.06937163323163986,
-0.027315080165863037,
0.034252241253852844,
0.035439856350421906,
-0.054328542202711105,
-0.0025708032771945,
-0.04697665944695473,
-0.006904174108058214,
-0.05568581447005272,
0.024449730291962624,
-0.06085098534822464,
-0.01853051967918873,
0.0349874310195446,
-0.02345062792301178,
0.03890843689441681,
-0.027447037398815155,
-0.016805654391646385,
0.0071492367424070835,
0.017390035092830658,
-0.024562835693359375,
0.07751525938510895,
0.02935098670423031,
-0.030802512541413307,
0.024261219426989555,
-0.04697665944695473,
0.026372529566287994,
0.032800715416669846,
-0.05791023001074791,
0.02987881377339363,
0.008105924353003502,
-0.009251121431589127,
-0.016390932723879814,
-0.05202872306108475,
-0.05953141674399376,
0.037306103855371475,
-0.024280071258544922,
-0.044224414974451065,
0.02416696585714817,
-0.021923696622252464,
-0.006626121699810028,
0.024016156792640686,
-0.037004485726356506,
-0.014995959587395191,
0.012828096747398376,
0.06186893954873085,
0.0016294321976602077,
-0.00193104799836874,
-0.015712296590209007,
0.015184469521045685,
-0.011913823895156384,
0.024939855560660362,
0.031594254076480865,
-0.05832495167851448,
0.02537342719733715,
0.043508078902959824,
-0.022771991789340973,
-0.012422800064086914,
-0.005141606554389,
0.007314182817935944,
0.011527378112077713,
0.0024482719600200653,
0.07661040872335434,
-0.054328542202711105,
-0.022715438157320023,
0.029200177639722824,
-0.029746856540441513,
0.022998204454779625,
-0.007031417917460203,
-0.027032315731048584,
0.03281956911087036,
-0.001826189341954887,
0.0252603217959404,
-0.03396947681903839,
0.02133931778371334,
0.01954847387969494,
0.04328186437487602,
0.039964091032743454,
-0.008186041377484798,
-0.024732494726777077,
-0.006828770041465759,
0.013516157865524292,
0.022885097190737724,
0.00103326968383044,
-0.0077571808360517025,
-0.03560951352119446,
-0.04365888610482216,
-0.014675493352115154,
-0.025392279028892517,
-0.021622082218527794,
-0.01157450582832098,
-0.027164271101355553,
0.04071813076734543,
0.023054756224155426,
-0.004201413597911596,
-0.08490484207868576,
0.004168424289673567,
-0.04094434157013893,
0.013723518699407578,
0.05006822198629379,
-0.013582135550677776,
0.048070017248392105,
-0.03072710894048214,
-0.016079891473054886,
-0.03557181358337402,
0.07962656766176224,
0.0316319540143013,
0.028728904202580452,
0.0887504443526268,
-0.02970915473997593,
0.016089316457509995,
-0.012045780196785927,
-0.01586310565471649,
0.03231059014797211,
0.0703141838312149,
-0.05572351813316345,
-0.002792302519083023,
-0.04305565357208252,
-0.004882405512034893,
-0.025769298896193504,
0.029991919174790382,
0.04478994384407997,
-0.06620466709136963,
0.003748989896848798,
-0.06888150423765182,
-0.032989226281642914,
0.02501525916159153,
-0.007512118201702833,
-0.03427109494805336,
0.02122621051967144,
-0.02026480995118618,
0.001312499982304871,
0.03127378597855568,
0.017229801043868065,
0.014439855702221394,
-0.0031080564949661493,
0.028238778933882713,
-0.01828545704483986,
0.016947036609053612,
-0.003986983560025692,
0.04094434157013893,
-0.045543983578681946,
0.012733841314911842,
-0.04052961990237236,
0.011744164861738682,
-0.008586624637246132,
-0.06005924195051193,
-0.022263014689087868,
-0.003576974617317319,
-0.02152782678604126,
-0.03753231465816498,
0.00550448801368475,
0.009180430322885513,
0.001321925432421267,
0.07005026936531067,
0.05802333727478981,
0.061416514217853546,
0.04678814858198166,
-0.0473913811147213,
0.06416875869035721,
-0.009934470057487488,
-0.04369658604264259,
-0.016211848706007004,
-0.05202872306108475,
-0.056892279535532,
0.06477198749780655,
0.03534559905529022,
0.032932672649621964,
-0.013365349732339382,
-0.03560951352119446,
-0.007219927851110697,
0.028276480734348297,
0.017163824290037155,
0.0005513913347385824,
0.008515933528542519,
-0.07468760758638382,
-0.013544433750212193,
0.040793534368276596,
-0.02062297984957695,
-0.03560951352119446,
0.04648653417825699,
0.003202311461791396,
-0.025957807898521423,
0.04275403916835785,
0.0038691649679094553,
-0.03679712489247322,
0.006183123681694269,
-0.019586175680160522,
0.03981328383088112,
0.021565528586506844,
-0.07136983424425125,
-0.006371633615344763,
-0.002190249040722847,
-0.0025872979313135147,
-0.031895868480205536,
-0.04833393171429634,
0.020340215414762497,
0.06465888768434525,
-0.0413590632379055,
0.01624012552201748,
0.0028182226233184338,
-0.00024417918757535517,
0.020849190652370453,
-0.024449730291962624,
0.04011489823460579,
0.03474237024784088,
-0.007469703443348408,
-0.022225312888622284,
0.005231149028986692,
0.026372529566287994,
-0.048861756920814514,
-0.002893626457080245,
-0.01864362508058548,
0.03921005129814148,
-0.0007999887457117438,
0.0060700178146362305,
-0.006489451974630356,
0.0252603217959404,
0.025957807898521423,
0.03636355325579643,
-0.06092638894915581,
-0.023073608055710793,
-0.02946409210562706,
-0.021565528586506844,
0.010311489924788475,
0.031839314848184586,
-0.027692100033164024,
0.04607181251049042,
-0.019868940114974976,
-0.013714092783629894,
0.05496947839856148,
-0.045242369174957275,
-0.0032494389452040195,
-0.0330834798514843,
0.04490305110812187,
0.0034332359209656715,
-0.04267863556742668,
-0.007870286703109741,
0.018266605213284492,
-0.03985098749399185,
-0.008134201169013977,
0.06978635489940643,
-0.062019746750593185,
0.022112207487225533,
-0.017936713993549347,
0.0628114864230156,
-0.06876839697360992,
0.0010049932170659304,
0.05153859779238701,
-0.04052961990237236,
-0.01124461367726326,
0.0017472507897764444,
-0.019133752211928368,
0.011555654928088188,
0.023412926122546196,
-0.012752692215144634,
-0.03347935155034065,
0.008289721794426441,
-0.015853680670261383,
-0.053235188126564026,
0.009194568730890751,
-0.0019121969817206264,
-0.0060040391981601715,
-0.03470466658473015,
-0.007073832675814629,
-0.023959605023264885,
0.00040176164475269616,
0.05610053613781929,
-0.0040105474181473255,
0.004708033986389637,
0.061906639486551285,
0.025467682629823685,
0.0008636108250357211,
-0.029728006571531296,
-0.0076393624767661095,
-0.008563060313463211,
-0.120947927236557,
-0.033573608845472336,
0.011640484444797039,
0.01762567274272442,
-0.03231059014797211,
0.005664721596986055,
-0.004422912839800119,
-0.03921005129814148,
0.02169748581945896,
-0.019623877480626106,
-0.028653500601649284,
-0.03413913771510124,
-0.013761220499873161,
0.014854577369987965,
0.031009873375296593,
0.10835547000169754,
0.004290956072509289,
-0.0029596048407256603,
-0.03711759299039841,
-0.009821363724768162,
0.053122080862522125,
-0.0010244332952424884,
-0.05632674694061279,
-0.0013784783659502864,
0.013723518699407578,
0.03391292691230774,
-0.035025134682655334,
0.04690125584602356,
-0.07080430537462234,
-0.06005924195051193,
-0.027201972901821136,
0.08083303272724152,
0.013242818415164948,
-0.01912432536482811,
-0.008200178854167461,
-0.018304308876395226,
0.0316319540143013,
0.07574326545000076,
-0.04475224390625954,
0.026806103065609932,
-0.04905026778578758,
-0.04724057391285896,
-0.012620735913515091,
0.05395152419805527,
-0.015024236403405666,
-0.09146498888731003,
-0.012912926264107227,
0.009317100048065186,
0.05527109280228615,
0.04354577884078026,
-0.014270196668803692,
0.007677064277231693,
-0.018492817878723145,
0.002171398140490055,
0.034836623817682266,
-0.007846723310649395,
0.016692548990249634,
-0.0207360852509737,
-0.029445242136716843,
0.011112656444311142,
0.013393625617027283,
-0.02548653446137905,
-0.03059515170753002,
-0.028295330703258514,
-0.07144524157047272,
0.008987207897007465,
-0.029256731271743774,
0.13444523513317108,
0.05349909886717796,
0.01481687556952238,
-0.020962297916412354
] |
7,640 | emmett.app | module | null | def module(
self,
import_name: str,
name: str,
template_folder: Optional[str] = None,
template_path: Optional[str] = None,
static_folder: Optional[str] = None,
static_path: Optional[str] = None,
url_prefix: Optional[str] = None,
hostname: Optional[str] = None,
cache: Optional[RouteCacheRule] = None,
root_path: Optional[str] = None,
module_class: Optional[Type[AppModule]] = None,
**kwargs: Any
) -> AppModule:
module_class = module_class or self.__class__
return module_class.from_module(
self,
import_name,
name,
template_folder=template_folder,
template_path=template_path,
static_folder=static_folder,
static_path=static_path,
url_prefix=url_prefix,
hostname=hostname,
cache=cache,
root_path=root_path,
opts=kwargs
)
| (self, import_name: str, name: str, template_folder: Optional[str] = None, template_path: Optional[str] = None, static_folder: Optional[str] = None, static_path: Optional[str] = None, url_prefix: Optional[str] = None, hostname: Optional[str] = None, cache: Optional[emmett.cache.RouteCacheRule] = None, root_path: Optional[str] = None, module_class: Optional[Type[emmett.app.AppModule]] = None, **kwargs: Any) -> emmett.app.AppModule | [
0.026239920407533646,
-0.06696723401546478,
0.010449770838022232,
-0.03313251957297325,
0.024336600676178932,
-0.028291068971157074,
-0.009608984924852848,
0.06146054342389107,
-0.0957941859960556,
-0.03453690931200981,
-0.0024969500955194235,
-0.01425640657544136,
-0.015928739681839943,
0.04542092978954315,
-0.0423164889216423,
0.005040097050368786,
0.05214722082018852,
-0.008389382623136044,
0.027662787586450577,
-0.05639734864234924,
0.029085656628012657,
0.00772876525297761,
0.02431812323629856,
0.016584737226366997,
0.01020030677318573,
-0.03344665840268135,
0.03376079723238945,
0.003358524991199374,
-0.011900357902050018,
-0.036421746015548706,
0.04250127822160721,
-0.03023134358227253,
0.08980704843997955,
0.06219969689846039,
0.0306563563644886,
-0.07857193052768707,
0.00013721965660806745,
-0.030711792409420013,
-0.03023134358227253,
-0.05979745090007782,
0.10436835885047913,
0.030693314969539642,
0.03279989957809448,
-0.020271262153983116,
0.0271453820168972,
0.02036365680396557,
0.01615048572421074,
-0.024447474628686905,
-0.018201634287834167,
0.05517774820327759,
0.0022486411035060883,
0.039988160133361816,
-0.019439715892076492,
0.02180500328540802,
0.03656957671046257,
0.041318632662296295,
0.011835682205855846,
-0.008167636580765247,
-0.04634487256407738,
0.012935171835124493,
-0.023800715804100037,
-0.008615748025476933,
0.03161725401878357,
-0.021897397935390472,
-0.011872639879584312,
0.06397366523742676,
-0.02816171571612358,
0.029824810102581978,
-0.015586881898343563,
-0.019125575199723244,
0.0005399279179982841,
0.04671444743871689,
0.044460032135248184,
-0.011854160577058792,
0.02773670293390751,
0.00932256318628788,
0.008454058319330215,
-0.06456498801708221,
-0.02352353371679783,
0.01718529872596264,
0.015512966550886631,
-0.01000627875328064,
-0.06001919507980347,
-0.012288413010537624,
0.01391454879194498,
-0.02110280841588974,
-0.06729985028505325,
-0.039285965263843536,
0.03276294097304344,
0.00410460727289319,
-0.021047372370958328,
0.01038509514182806,
-0.038546811789274216,
0.04157733917236328,
0.03438907861709595,
-0.07591097801923752,
0.013665084727108479,
-0.0022128382697701454,
-0.001234615920111537,
0.053921185433864594,
0.026517102494835854,
-0.018635885789990425,
-0.08899398148059845,
-0.0015787838492542505,
-0.005104773212224245,
-0.018792957067489624,
0.0021550920791924,
0.04032077640295029,
0.018044564872980118,
-0.02599969506263733,
0.0001484079984948039,
-0.012722665444016457,
-0.048340585082769394,
-0.014006943441927433,
-0.040690355002880096,
-0.017517918720841408,
0.011105768382549286,
0.01319387461990118,
0.08108504861593246,
-0.033871669322252274,
-0.04020990431308746,
0.01266722846776247,
0.007913553155958652,
-0.015420572832226753,
0.09047228842973709,
0.01657549850642681,
0.015087953768670559,
-0.0892157256603241,
0.057579994201660156,
-0.05528862029314041,
0.03165421262383461,
0.020991936326026917,
-0.024743136018514633,
-0.014875447377562523,
-0.043092601001262665,
0.029658500105142593,
-0.0225071981549263,
0.0373641662299633,
-0.006444487255066633,
0.06903685629367828,
-0.0590582974255085,
0.0033862432464957237,
0.00871738139539957,
0.09335498511791229,
-0.013166156597435474,
-0.10665973275899887,
0.002577794948592782,
0.023024605587124825,
-0.07798060774803162,
0.021306075155735016,
0.0036980730947107077,
-0.00625507952645421,
0.03437059745192528,
0.010495968163013458,
-0.014228688552975655,
0.039951201528310776,
0.03244880214333534,
0.039988160133361816,
-0.013480296358466148,
-0.043055642396211624,
-0.02396702580153942,
0.006051812320947647,
0.026239920407533646,
0.00285959686152637,
-0.027921492233872414,
-0.039175089448690414,
0.0400620736181736,
-0.009050000458955765,
-0.04497744143009186,
-0.012981368228793144,
0.0225071981549263,
-0.0072621749714016914,
0.012306892313063145,
-0.018811434507369995,
-0.03318795561790466,
-0.009710618294775486,
-0.03333578631281853,
0.016963554546236992,
0.02215610072016716,
0.02324635162949562,
0.015965698286890984,
0.013618887402117252,
-0.05111240595579147,
0.015614599920809269,
0.015337417833507061,
0.039914242923259735,
-0.017564116045832634,
0.08603736758232117,
0.007151301950216293,
0.024355079978704453,
-0.049412354826927185,
-0.06763246655464172,
0.07746320217847824,
-0.00466128159314394,
-0.0400620736181736,
-0.006527641788125038,
-0.04009903222322464,
-0.014856969006359577,
0.004721337463706732,
0.0801241472363472,
-0.06364104151725769,
0.02036365680396557,
-0.005977896973490715,
0.06574762612581253,
0.033631447702646255,
0.005437391810119152,
0.03329882770776749,
-0.02461378462612629,
0.03906421735882759,
-0.013665084727108479,
-0.02599969506263733,
-0.02457682602107525,
0.02808780036866665,
0.05706258490681648,
-0.012223737314343452,
-0.005354237277060747,
0.007945891469717026,
0.0182755496352911,
0.06157141551375389,
-0.010311179794371128,
-0.01940275728702545,
0.10148566216230392,
-0.023301787674427032,
0.006499923765659332,
-0.023043084889650345,
-0.0026170623023062944,
-0.05517774820327759,
-0.00677710585296154,
-0.026960592716932297,
0.04046860709786415,
0.02819867432117462,
-0.027182338759303093,
0.05022542178630829,
-0.01479229237884283,
-0.0005563856102526188,
-0.03311403840780258,
0.03520214557647705,
0.013951506465673447,
-0.031543340533971786,
-0.02564859762787819,
0.03318795561790466,
0.10969025641679764,
-0.015346657484769821,
-0.014930883422493935,
-0.005950178951025009,
-0.012205258011817932,
-0.06966514140367508,
-0.054734256118535995,
-0.003085962263867259,
-0.033557530492544174,
-0.008287749253213406,
0.021546300500631332,
0.00856031198054552,
0.04009903222322464,
0.006550740450620651,
0.022987646982073784,
-0.010523686185479164,
0.007761103101074696,
-0.03028677962720394,
0.05721041560173035,
0.01897774450480938,
-0.050447169691324234,
0.01708366535604,
-0.06142358481884003,
0.046234000474214554,
-0.025057274848222733,
-0.02283981814980507,
-0.013794437050819397,
0.017850536853075027,
-0.005589841865003109,
0.0937245562672615,
0.06696723401546478,
0.06083226576447487,
0.03656957671046257,
-0.03583042696118355,
-0.05488208681344986,
0.0172407366335392,
-0.005257223267108202,
0.004333282355219126,
0.02393006719648838,
-0.005917841102927923,
-0.08418948948383331,
0.008809776045382023,
0.025408372282981873,
0.03021286427974701,
0.015365135855972767,
-0.029307402670383453,
0.02282133884727955,
0.031081369146704674,
0.048747118562459946,
0.04815579578280449,
-0.01753639616072178,
-0.034333642572164536,
-0.054364677518606186,
-0.07672404497861862,
-0.010117151774466038,
-0.04353609308600426,
0.028420420363545418,
-0.009867687709629536,
-0.007733384612947702,
0.06079530715942383,
-0.032227057963609695,
-0.027939971536397934,
0.02566707693040371,
-0.018691323697566986,
-0.021583257243037224,
-0.027182338759303093,
0.021047372370958328,
-0.001994557213038206,
0.03773374482989311,
0.006305896211415529,
0.008846733719110489,
0.024428995326161385,
-0.014866207726299763,
-0.00819997489452362,
0.017656508833169937,
0.0879591703414917,
0.021379990503191948,
-0.003938297741115093,
0.012427004054188728,
0.000706814753357321,
0.033557530492544174,
-0.06948035210371017,
0.0221930593252182,
0.042020827531814575,
-0.00015735867782495916,
0.005612940527498722,
0.024484431371092796,
0.002718695905059576,
0.00009109479287872091,
-0.023689843714237213,
0.06238448619842529,
0.007784201297909021,
0.014856969006359577,
-0.04457090422511101,
-0.030138950794935226,
0.012454722076654434,
-0.0704042911529541,
-0.05384727194905281,
-0.050484128296375275,
0.0825633555650711,
-0.01337866298854351,
-0.028346505016088486,
0.0038389740511775017,
-0.0759848952293396,
0.020918020978569984,
0.012094385921955109,
-0.025500766932964325,
0.0029057939536869526,
-0.0001627002056920901,
-0.017194539308547974,
0.002561626024544239,
-0.009013042785227299,
-0.014237928204238415,
0.03243032470345497,
-0.016982031986117363,
-0.01089326199144125,
0.00819073524326086,
-0.02819867432117462,
-0.06833466142416,
-0.01092098094522953,
0.014034661464393139,
-0.022969169542193413,
-0.014699898660182953,
-0.03237488493323326,
-0.024724656715989113,
-0.03738264739513397,
0.01885763183236122,
-0.02921500988304615,
0.020881062373518944,
-0.030175907537341118,
-0.05709954351186752,
0.02389311045408249,
-0.006227361038327217,
0.03583042696118355,
-0.02247024141252041,
-0.04032077640295029,
-0.05247984081506729,
-0.0638258308172226,
-0.02782909758388996,
0.0016157415229827166,
0.050779789686203,
0.031506381928920746,
-0.013443338684737682,
0.01773042418062687,
-0.030028076842427254,
-0.0012773481430485845,
-0.0038551432080566883,
-0.04072731360793114,
-0.0354238897562027,
0.013988464139401913,
0.0012219117488712072,
-0.009701378643512726,
0.02816171571612358,
0.015060235746204853,
-0.017323890700936317,
-0.06781725585460663,
0.034573864191770554,
0.00391981890425086,
0.012482441030442715,
0.05628647655248642,
-0.011734048835933208,
0.06630199402570724,
-0.024355079978704453,
-0.01215906161814928,
-0.016436906531453133,
0.05236896499991417,
-0.0499667190015316,
-0.003832044545561075,
0.005497448146343231,
0.004640492610633373,
0.06197795271873474,
-0.09172884374856949,
-0.07583706080913544,
0.0077934409491717815,
0.0036657352466136217,
0.05377335473895073,
0.000795744068454951,
-0.014746095985174179,
-0.03165421262383461,
-0.007825778797268867,
0.010422052815556526,
0.06803900003433228,
-0.0611279271543026,
-0.018377183005213737,
0.05277549847960472,
-0.04054252430796623,
0.019883206114172935,
-0.0801241472363472,
0.03730873018503189,
-0.0429447703063488,
-0.024687698110938072,
-0.019920164719223976,
0.021250639110803604,
0.03309556096792221,
-0.03509127348661423,
0.06807596236467361,
-0.035017356276512146,
-0.014385758899152279,
-0.06449107080698013,
0.0687781572341919,
-0.06792812794446945,
0.0825633555650711,
0.014376519247889519,
-0.04505135491490364,
0.003286919556558132,
-0.07524573802947998,
-0.028364984318614006,
-0.005793109070509672,
-0.04608616977930069,
0.01630755513906479,
0.008966845460236073,
0.019513631239533424,
0.009895406663417816,
-0.05876263603568077,
-0.01267646811902523,
0.02115824446082115,
-0.043720878660678864,
-0.016427667811512947,
0.03906421735882759,
-0.05443859472870827,
0.0096551813185215,
0.01669561117887497,
-0.02357896976172924,
0.03984032943844795,
0.02315395697951317,
0.06061051785945892,
-0.0315987765789032,
0.011216641403734684,
-0.007012710906565189,
0.020585400983691216,
-0.05344073846936226,
0.014237928204238415,
0.07258479297161102,
-0.021250639110803604,
0.020493008196353912,
0.002628611633554101,
0.014986320398747921,
0.03668045252561569,
0.012796580791473389,
0.02080714702606201,
0.03381623327732086,
-0.014598265290260315,
0.055325575172901154,
-0.04050556570291519,
-0.0100155184045434,
0.04349913448095322,
0.001623825985006988,
-0.00044320287997834384,
-0.02784757688641548,
-0.03350209444761276,
0.025482287630438805,
0.03828810900449753,
0.05218417942523956,
-0.05063195899128914,
0.01444119494408369,
0.04020990431308746,
-0.010459010489284992,
0.038472894579172134,
0.009886167012155056,
-0.03413037583231926,
0.009396478533744812,
-0.013138438574969769,
0.0070034717209637165,
-0.00985844898968935,
0.02991720475256443,
-0.0013501085340976715,
-0.022230016067624092,
0.004541169386357069,
0.0006225051474757493,
-0.04198387265205383,
-0.016464626416563988,
-0.042796939611434937,
0.04394262656569481,
0.00947963260114193,
-0.016372231766581535,
-0.06415845453739166,
0.015087953768670559,
-0.04468178004026413,
-0.0335390530526638,
0.019107095897197723,
-0.027699746191501617,
-0.006721669342368841,
-0.00037448477814905345,
-0.046566616743803024,
0.0000334748110617511,
0.0858895406126976,
0.029011741280555725,
0.0046866899356245995,
0.09771598130464554,
-0.0037119323387742043,
0.05525166168808937,
0.008809776045382023,
-0.038509853184223175,
0.006855641026049852,
0.01587330363690853,
-0.1077684611082077,
0.07509791105985641,
-0.04678836464881897,
-0.002015345962718129,
-0.026147525757551193,
-0.0008211524109356105,
0.03093353845179081,
-0.03873160108923912,
-0.011373711749911308,
-0.029325881972908974,
-0.031487904489040375,
0.026184482499957085,
-0.018146198242902756,
-0.034666258841753006,
0.030434610322117805,
-0.016649413853883743,
-0.010357377119362354,
0.004906125832349062,
0.05632343143224716,
0.0032915391493588686,
-0.036089129745960236,
0.023468097671866417,
-0.013517254032194614,
0.005691475700587034,
0.008708142675459385,
0.019310362637043,
0.02036365680396557,
0.022710464894771576,
-0.015586881898343563,
0.02986176684498787,
-0.028660643845796585,
-0.05580602586269379,
-0.018903829157352448,
0.029104135930538177,
-0.01969841867685318,
-0.029270445927977562,
0.02705298736691475,
0.01322159357368946,
0.041688211262226105,
0.09527678042650223,
0.07879367470741272,
0.029455233365297318,
0.036735888570547104,
-0.01599341630935669,
0.043425217270851135,
-0.011327514424920082,
-0.01287049613893032,
0.00659693730995059,
-0.08404165506362915,
-0.047971006482839584,
0.05281245708465576,
-0.012898214161396027,
0.019569067284464836,
0.013313987292349339,
-0.012353088706731796,
-0.018247831612825394,
0.06685636192560196,
0.029288925230503082,
0.047305770218372345,
0.0330401249229908,
-0.07025646418333054,
-0.004864548332989216,
0.061756204813718796,
-0.002280978951603174,
-0.029030220583081245,
0.011115008033812046,
-0.02670188993215561,
-0.020973457023501396,
0.022285452112555504,
0.07177172601222992,
-0.02004951611161232,
-0.030767230316996574,
0.013581930659711361,
0.024724656715989113,
0.04468178004026413,
-0.09320715069770813,
-0.04190995544195175,
0.05133415386080742,
0.009294845163822174,
-0.0037742983549833298,
-0.03100745379924774,
-9.609345852368278e-7,
0.036754366010427475,
-0.04604921117424965,
0.019476672634482384,
0.047971006482839584,
0.021287595853209496,
0.0221930593252182,
0.011031853966414928,
0.040246862918138504,
0.020197346806526184,
0.03187595680356026,
-0.019291885197162628,
0.02247024141252041,
-0.012399286031723022,
-0.013147678226232529,
-0.008481777273118496,
0.006047192960977554,
0.04043165221810341,
-0.014589025638997555,
0.0070912460796535015,
0.0053680962882936,
0.03666197136044502,
0.03389015048742294,
0.02954762801527977,
-0.024059418588876724,
-0.014339561574161053,
-0.03658805787563324,
0.003975255414843559,
-0.015050996094942093,
0.0442013293504715,
-0.0470840260386467,
-0.014505870640277863,
-0.03237488493323326,
-0.06851945072412491,
0.02744104340672493,
-0.05052108317613602,
0.0030143570620566607,
-0.032873813062906265,
0.03732721135020256,
-0.01624288037419319,
-0.05879959464073181,
-0.02490944415330887,
-0.02644318714737892,
-0.03139550983905792,
-0.052295051515102386,
0.043831754475831985,
-0.06430628150701523,
0.020566923543810844,
0.016704849898815155,
0.03368688374757767,
-0.020825626328587532,
0.006185784004628658,
-0.0264247078448534,
-0.04128167778253555,
0.026979072019457817,
0.004083818290382624,
-0.02812475897371769,
0.027274733409285545,
0.0338531918823719,
-0.030693314969539642,
-0.039249006658792496,
0.008772818371653557,
0.010699234902858734,
-0.016723329201340675,
0.009359520860016346,
0.009747575968503952,
0.022045228630304337,
-0.011216641403734684,
0.0075809345580637455,
-0.014607504941523075,
-0.022340890020132065,
0.034647781401872635,
0.03239336609840393,
0.029270445927977562,
0.06548892706632614,
-0.009941603057086468,
-0.002769512590020895,
0.03265206888318062,
0.012888974510133266,
0.028753038495779037,
-0.046603575348854065,
-0.03649566322565079,
0.00925326719880104,
-0.010495968163013458,
-0.048340585082769394,
-0.02247024141252041,
0.0068417820148169994,
-0.05584298446774483,
0.004571197088807821,
-0.02707146666944027,
-0.0043725501745939255,
-0.05107544735074043,
0.023726800456643105,
-0.01834946498274803,
-0.005751531571149826,
0.07369352132081985,
0.04013599082827568,
0.02038213424384594,
-0.036791324615478516,
-0.020936498418450356,
0.04020990431308746,
0.015910260379314423,
-0.03305860236287117,
0.0033862432464957237,
0.016492344439029694,
-0.007992087863385677,
-0.003407031763345003,
-0.019291885197162628,
-0.07894150167703629,
-0.04124471917748451,
-0.03377927839756012,
-0.005617560353130102,
0.022581113502383232,
-0.01497708074748516,
-0.007257555145770311,
0.006347473710775375,
0.0415034219622612,
0.10518142580986023,
0.003908269573003054,
0.02738560549914837,
-0.045531805604696274,
0.0006508008227683604,
-0.018617408350110054,
-0.0034024121705442667,
0.027921492233872414,
-0.09054619818925858,
-0.009382619522511959,
0.017582593485713005,
0.022248495370149612,
0.02849433571100235,
-0.02777366153895855,
0.0025708654429763556,
0.028642166405916214,
-0.007982849143445492,
0.01975385472178459,
0.018395662307739258,
0.04704706743359566,
0.012574834749102592,
0.019439715892076492,
-0.04020990431308746,
0.01810000091791153,
-0.0075116390362381935,
-0.04545788839459419,
0.019273405894637108,
-0.03302164375782013,
0.009073099121451378,
-0.03625543788075447,
0.005104773212224245,
-0.0007212513010017574,
0.023985503241419792,
-0.011512302793562412
] |
7,641 | emmett.app | route | null | def route(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
template: Optional[str] = None,
**kwargs
) -> RoutingCtx:
if name is not None and "." in name:
raise RuntimeError(
"App modules' route names should not contains dots"
)
name = self.name + "." + (name or "")
pipeline = kwargs.get('pipeline', [])
injectors = kwargs.get('injectors', [])
if self.pipeline:
pipeline = self.pipeline + pipeline
kwargs['pipeline'] = pipeline
if self.injectors:
injectors = self.injectors + injectors
kwargs['injectors'] = injectors
kwargs['cache'] = kwargs.get('cache', self.cache)
return self.app.route(
paths=paths,
name=name,
template=template,
prefix=self.url_prefix,
template_folder=self.template_folder,
template_path=self.template_path,
hostname=self.hostname,
**kwargs
)
| (self, paths: Union[str, List[str], NoneType] = None, name: Optional[str] = None, template: Optional[str] = None, **kwargs) -> emmett.routing.router.RoutingCtx | [
0.010841571725904942,
-0.06325022876262665,
0.017852887511253357,
-0.07074380666017532,
0.013048837892711163,
-0.004069067072123289,
-0.005889134481549263,
0.02991865761578083,
-0.02268476039171219,
-0.002172487787902355,
-0.016971835866570473,
0.0036146300844848156,
0.011481493711471558,
0.03316463530063629,
0.0010195854119956493,
-0.02027346007525921,
0.07723576575517654,
0.0055645364336669445,
0.012900450266897678,
-0.02834203839302063,
0.05597923696041107,
0.041585635393857956,
0.014078277163207531,
-0.03212592378258705,
-0.008397812955081463,
-0.0020693119149655104,
0.01511699054390192,
0.03054930455982685,
-0.007090146653354168,
-0.016174253076314926,
-0.0024692630395293236,
0.0046510249376297,
0.01322504784911871,
-0.021163785830140114,
0.03846949338912964,
-0.0009963997872546315,
-0.0430695116519928,
-0.02383476309478283,
0.07115187495946884,
-0.023278310894966125,
0.03752352297306061,
0.030716240406036377,
0.012900450266897678,
-0.04280983284115791,
0.011945204809308052,
-0.009710116311907768,
0.00014128706243354827,
0.028731556609272957,
0.006872202269732952,
-0.0007703404990024865,
0.012854078784584999,
-0.043885644525289536,
0.021293625235557556,
0.006835105363279581,
0.05212115868926048,
0.050563085824251175,
-0.00499417120590806,
0.06503088027238846,
0.01693473942577839,
-0.06239699944853783,
0.013679484836757183,
-0.005263124126940966,
0.03774610534310341,
0.03796868771314621,
0.0100903594866395,
0.023259762674570084,
0.010387134738266468,
0.012807708233594894,
-0.004080660175532103,
-0.022443629801273346,
0.011342380195856094,
-0.02676541917026043,
-0.027340421453118324,
-0.05071147531270981,
0.004887517541646957,
-0.012446013279259205,
0.013874243944883347,
-0.019679909572005272,
0.06120989844202995,
0.04536952078342438,
-0.019494425505399704,
-0.03398076817393303,
-0.09645196050405502,
-0.0037027352955192327,
-0.001798040815629065,
0.05575665459036827,
-0.04195660352706909,
-0.06462281197309494,
-0.01695328764617443,
0.0036030372139066458,
-0.045963071286678314,
0.003227431094273925,
-0.029566235840320587,
0.013206499628722668,
0.011258912272751331,
-0.01884523034095764,
0.024613799527287483,
0.0347227081656456,
0.07174542546272278,
0.038951754570007324,
0.03097591921687126,
0.013874243944883347,
-0.02969607524573803,
0.02602348104119301,
-0.007869182154536247,
-0.03438883274793625,
-0.018873052671551704,
0.04514693841338158,
0.0410291813313961,
-0.006788734346628189,
-0.044813066720962524,
0.047113075852394104,
0.007034501526504755,
-0.049301791936159134,
-0.05219535157084465,
0.03412915766239166,
0.008601846173405647,
-0.0100347138941288,
0.008036118000745773,
-0.03585416078567505,
-0.05111953988671303,
0.0010914605809375644,
0.022666212171316147,
-0.0432920940220356,
0.0025133155286312103,
0.08331965655088425,
-0.04804049804806709,
-0.10127456486225128,
-0.009654470719397068,
-0.05783408135175705,
-0.004400620702654123,
0.032997701317071915,
0.041251763701438904,
-0.007563132327049971,
0.006478047929704189,
0.041993699967861176,
-0.03316463530063629,
0.014551262371242046,
0.021516207605600357,
0.09956810623407364,
-0.045332424342632294,
-0.00410616397857666,
-0.042104993015527725,
0.0044956817291677,
0.047743722796440125,
-0.027433164417743683,
0.059763118624687195,
-0.020885560661554337,
-0.0033132177777588367,
0.06592120975255966,
0.011704075150191784,
0.017908532172441483,
0.0351678691804409,
0.0681099221110344,
0.03654045611619949,
0.025800900533795357,
0.023296859115362167,
0.05134212225675583,
-0.013549646362662315,
0.001723847002722323,
0.018353695049881935,
0.022258145734667778,
-0.021497659385204315,
-0.0008636623970232904,
-0.011296008713543415,
-0.05605342984199524,
-0.011036330834031105,
0.03555738553404808,
-0.006830468308180571,
0.019494425505399704,
-0.025244446471333504,
0.021460561081767082,
0.039174336940050125,
-0.0216460470110178,
-0.002914425916969776,
-0.020347654819488525,
-0.04466467723250389,
0.021905723959207535,
0.026505742222070694,
-0.024409765377640724,
-0.005239938385784626,
-0.020217815414071083,
-0.039285626262426376,
0.010312940925359726,
0.02741461619734764,
0.05301148444414139,
-0.011704075150191784,
0.08487772941589355,
-0.008643579669296741,
0.023723473772406578,
-0.06005989387631416,
0.014254487119615078,
0.05449536070227623,
0.012334722094237804,
-0.025170253589749336,
0.003558984724804759,
-0.01714804582297802,
-0.022313790395855904,
0.002202628878876567,
0.025763804093003273,
0.010025439783930779,
-0.0012288350844755769,
-0.005907682701945305,
0.021460561081767082,
0.0435146726667881,
0.005861311685293913,
0.0676276683807373,
0.030512208119034767,
0.017639581114053726,
0.018752487376332283,
-0.045332424342632294,
0.01469964999705553,
0.018455712124705315,
0.0036030372139066458,
-0.0030349907465279102,
0.04132595658302307,
-0.0399162732064724,
-0.0047484044916927814,
0.06580991297960281,
0.015729090198874474,
0.004414532333612442,
0.06213732063770294,
0.025374285876750946,
0.033739637583494186,
-0.03692997246980667,
-0.031328339129686356,
0.004096889868378639,
-0.011166169308125973,
-0.04047272726893425,
0.04173402115702629,
0.036874327808618546,
0.004375116899609566,
0.02637590281665325,
-0.01265932060778141,
-0.0013969304272904992,
-0.046371135860681534,
0.0075445836409926414,
0.05490342527627945,
-0.0345001257956028,
0.021275077015161514,
0.01713877171278,
0.07434220612049103,
-0.015970218926668167,
-0.03910014033317566,
0.0662921741604805,
-0.02019926719367504,
-0.054643746465444565,
-0.06896315515041351,
0.04143724590539932,
-0.016665786504745483,
-0.031198499724268913,
0.02656138688325882,
0.001069434336386621,
0.042401768267154694,
-0.10171972215175629,
-0.01943878084421158,
-0.021275077015161514,
-0.0498211495578289,
-0.0405840165913105,
0.007869182154536247,
-0.03251544013619423,
0.048263076692819595,
-0.014291584491729736,
0.008982089348137379,
0.03776465356349945,
0.013011740520596504,
-0.03654045611619949,
-0.07289542257785797,
-0.04926469549536705,
-0.007484301459044218,
-0.022202499210834503,
0.09801003336906433,
0.017008932307362556,
0.028675910085439682,
0.04718726873397827,
-0.039359819144010544,
-0.0009343784186057746,
0.024446863681077957,
-0.04651952534914017,
0.05916956812143326,
-0.029232364147901535,
-0.008861524052917957,
-0.047113075852394104,
-0.016702882945537567,
0.025559769943356514,
0.007294179871678352,
-0.018687568604946136,
0.05430987477302551,
-0.015154086984694004,
-0.023278310894966125,
0.04833727329969406,
0.026709774509072304,
-0.031958986073732376,
-0.01588675193488598,
0.0022153810132294893,
-0.01396698597818613,
-0.097861647605896,
0.004215136170387268,
0.013215773738920689,
-0.06180344894528389,
0.031792052090168,
0.0008752552093937993,
0.03249689191579819,
0.028490426018834114,
0.019104907289147377,
0.008796604350209236,
-0.011147621087729931,
0.0016229897737503052,
0.03648481145501137,
0.03880336508154869,
0.015441588126122952,
0.001497787656262517,
-0.013623840175569057,
-0.03453722223639488,
0.029213815927505493,
0.043254997581243515,
0.0328122153878212,
-0.0029816641472280025,
0.004966348875313997,
0.037894491106271744,
-0.01840934157371521,
0.04195660352706909,
-0.09073904156684875,
-0.024613799527287483,
0.0033364032860845327,
0.062285710126161575,
0.02383476309478283,
-0.0075816805474460125,
0.019123457372188568,
0.0023347868118435144,
-0.007651237305253744,
0.05449536070227623,
-0.015042796730995178,
-0.0013494000304490328,
-0.03075333684682846,
-0.04603726416826248,
0.0038441671058535576,
-0.02415008842945099,
-0.028008166700601578,
-0.010118181817233562,
0.04789210855960846,
-0.006607886869460344,
-0.020329106599092484,
0.003192652715370059,
-0.0017041392857208848,
0.020236363634467125,
0.024929122999310493,
-0.01934603787958622,
-0.02173878811299801,
-0.032459795475006104,
-0.04054692015051842,
-0.0273960679769516,
0.01695328764617443,
-0.012446013279259205,
0.01934603787958622,
0.013512548990547657,
-0.015543605200946331,
0.05738891661167145,
0.011917381547391415,
-0.026858162134885788,
-0.01139802485704422,
-0.0008132337825372815,
-0.04651952534914017,
-0.013605291023850441,
-0.05571955814957619,
-0.0027474898379296064,
0.029473494738340378,
0.026524290442466736,
-0.06458571553230286,
-0.025485577061772346,
0.012102866545319557,
0.008096400648355484,
0.036336421966552734,
0.022758953273296356,
-0.007238534279167652,
-0.02133072353899479,
0.01463473029434681,
-0.04384854808449745,
-0.03616948798298836,
0.046074360609054565,
-0.06773895770311356,
0.03737513720989227,
0.09571002423763275,
-0.026709774509072304,
0.04358886927366257,
-0.039693690836429596,
0.027062194421887398,
-0.018353695049881935,
-0.02635735459625721,
-0.0115556875243783,
0.001067695440724492,
-0.04685339704155922,
0.015209732577204704,
-0.06951960921287537,
-0.040435630828142166,
-0.03976788744330406,
0.024725090712308884,
0.028193650767207146,
-0.022833148017525673,
-0.014337955042719841,
0.05597923696041107,
-0.015033522620797157,
0.06057925149798393,
0.0078923674300313,
0.04362596571445465,
0.012520207092165947,
0.06239699944853783,
-0.007961924187839031,
0.026821065694093704,
0.041993699967861176,
-0.038321107625961304,
0.03587271273136139,
-0.07931318879127502,
-0.02791542373597622,
0.03095737099647522,
-0.03474125638604164,
0.09585841000080109,
-0.0017157320398837328,
0.007706882897764444,
0.022035563364624977,
-0.00998834241181612,
-0.021998466923832893,
0.06054215505719185,
-0.017185142263770103,
0.0629163607954979,
0.028063811361789703,
-0.03700416535139084,
-0.025021865963935852,
-0.02403879724442959,
0.004771589767187834,
-0.08213255554437637,
-0.056535691022872925,
-0.05238083377480507,
0.00852301437407732,
0.040361437946558,
-0.02071862295269966,
0.045963071286678314,
-0.0523066408932209,
0.008703862316906452,
0.013781501911580563,
0.024725090712308884,
-0.0460001677274704,
0.005406874697655439,
-0.013503274880349636,
-0.0520840585231781,
-0.039285626262426376,
-0.040324341505765915,
-0.061432480812072754,
0.037171103060245514,
-0.04266144707798958,
0.043254997581243515,
-0.0008897461812011898,
-0.027563003823161125,
-0.0009535065037198365,
-0.021182335913181305,
-0.004326426889747381,
0.03386947885155678,
-0.005082276649773121,
-0.05931795760989189,
0.011685525998473167,
-0.01531174872070551,
-0.03995336964726448,
0.04191950708627701,
-0.018956519663333893,
-0.031087210401892662,
-0.05238083377480507,
0.01631336659193039,
-0.057166337966918945,
0.011425848118960857,
-0.07975835353136063,
0.02498476766049862,
-0.07708737999200821,
0.006955670192837715,
0.033424314111471176,
-0.007266357075423002,
0.009812132455408573,
0.020180718973279,
-0.020570235326886177,
-0.01819603331387043,
0.004606972448527813,
-0.017129497602581978,
-0.013447629287838936,
0.028898492455482483,
0.06391797214746475,
-0.03290495648980141,
0.0017389175482094288,
0.03887756168842316,
-0.010535522364079952,
0.014143196865916252,
0.010053262114524841,
-0.002849506214261055,
-0.002898195991292596,
-0.0025991022121161222,
0.05497761815786362,
-0.06688572466373444,
0.06881476938724518,
0.007595592178404331,
-0.03891465812921524,
0.0010845049982890487,
-0.02708074264228344,
-0.021108141168951988,
-0.03672593832015991,
0.06013409048318863,
0.015608523972332478,
0.013976260088384151,
0.011490767821669579,
-0.015089167281985283,
-0.08228094130754471,
-0.019605716690421104,
-0.017528289929032326,
-0.05137921869754791,
-0.016192801296710968,
0.02897268533706665,
0.023612182587385178,
-0.008365352638065815,
0.0032923505641520023,
-0.046705007553100586,
-0.020458946004509926,
-0.047224365174770355,
-0.004305560141801834,
0.03249689191579819,
-0.006209095008671284,
0.03232995793223381,
0.027878327295184135,
-0.008142771199345589,
-0.016127880662679672,
0.06833250820636749,
-0.00831898208707571,
0.036354970186948776,
0.06836960464715958,
-0.011110524646937847,
0.07886803150177002,
-0.013558920472860336,
0.005981876514852047,
0.015515781939029694,
0.01600731536746025,
-0.033943671733140945,
-0.02396460250020027,
-0.016600865870714188,
0.010581892915070057,
-0.007447204552590847,
0.010340763255953789,
-0.004864332266151905,
-0.02019926719367504,
-0.021998466923832893,
-0.1219746395945549,
0.0008607642375864089,
-0.05902118235826492,
0.07078090310096741,
-0.06480830162763596,
0.016656512394547462,
-0.037486426532268524,
-0.0332573801279068,
0.033628348261117935,
0.03294205665588379,
0.04996953532099724,
-0.007141155190765858,
0.026709774509072304,
-0.06710831075906754,
0.010071810334920883,
0.0031370073556900024,
0.04692758992314339,
-0.022666212171316147,
0.006283288821578026,
-0.00011527574679348618,
0.022981535643339157,
0.011203266680240631,
-0.04499854892492294,
0.018214581534266472,
-0.007637326139956713,
0.008407087065279484,
-0.005559899378567934,
0.038654979318380356,
-0.0399162732064724,
0.005226027220487595,
0.05126792937517166,
0.0694454163312912,
0.019902491942048073,
0.030771885067224503,
-0.013503274880349636,
0.056424397975206375,
0.009074831381440163,
-0.07864544540643692,
0.017648855224251747,
-0.01745409518480301,
0.008050029166042805,
0.04421951621770859,
0.00578248081728816,
0.00041067437268793583,
-0.0019881625194102526,
0.0093576954677701,
-0.05560826510190964,
0.04729855805635452,
0.028360586613416672,
-0.005202841479331255,
0.015756912529468536,
-0.07404542714357376,
0.037171103060245514,
0.05093405768275261,
0.031421080231666565,
-0.04881953075528145,
0.0051611075177788734,
0.020162170752882957,
-0.017519015818834305,
0.011648429557681084,
-0.02741461619734764,
-0.01986539550125599,
0.0030257166363298893,
-0.03505657985806465,
0.029362203553318977,
0.05405019596219063,
-0.015413765795528889,
0.04132595658302307,
0.05571955814957619,
-0.008420998230576515,
-0.016879092901945114,
-0.04180821776390076,
0.01997668482363224,
0.024242829531431198,
-0.07512123882770538,
-0.01672143116593361,
-0.04184531420469284,
-0.04603726416826248,
0.009144388139247894,
-0.01139802485704422,
0.05679536610841751,
0.02468799240887165,
-0.027470260858535767,
-0.030827531591057777,
0.05868731066584587,
0.016916191205382347,
-0.04640823230147362,
-0.06046796217560768,
0.0075816805474460125,
0.008694588206708431,
-0.013994809240102768,
0.026950905099511147,
0.0029538413509726524,
0.0172500628978014,
0.026858162134885788,
-0.036763038486242294,
-0.04381144791841507,
-0.07241316884756088,
-0.05026631057262421,
-0.02268476039171219,
0.025782352313399315,
0.0017655809642747045,
-0.06024537980556488,
0.07938738167285919,
-0.017602482810616493,
0.03012268990278244,
0.009450437501072884,
-0.03073478862643242,
0.01943878084421158,
0.015636347234249115,
0.054643746465444565,
-0.019679909572005272,
-0.07415672391653061,
-0.0164061076939106,
0.027989618480205536,
-0.05846472829580307,
-0.038432396948337555,
0.09444873034954071,
-0.03796868771314621,
-0.022517824545502663,
-0.02760010026395321,
0.012640771456062794,
-0.04618564993143082,
0.01291899848729372,
0.0056109074503183365,
-0.026283159852027893,
-0.05876150354743004,
-0.001540680998004973,
-0.00755849527195096,
0.017936356365680695,
0.023760570213198662,
-0.044924356043338776,
-0.051305025815963745,
-0.020774269476532936,
-0.013104483485221863,
-0.03887756168842316,
0.0018884645542129874,
0.03422189876437187,
-0.003939228132367134,
0.024632347747683525,
-0.0017945630243048072,
0.03565013036131859,
0.030604949221014977,
0.04340338334441185,
0.022091209888458252,
0.03579851612448692,
0.02405734546482563,
0.05167599394917488,
0.04574048891663551,
-0.052974384278059006,
0.05616471916437149,
-0.0301041416823864,
-0.12820692360401154,
-0.0012972325785085559,
-0.00012433261144906282,
0.002701118588447571,
0.025040414184331894,
0.04447919502854347,
-0.029250912368297577,
-0.022258145734667778,
-0.03828401118516922,
0.039990466088056564,
-0.016600865870714188,
-0.019921040162444115,
0.017231514677405357,
-0.037096910178661346,
-0.004103845451027155,
0.13748113811016083,
0.04625984653830528,
0.03290495648980141,
-0.030808983370661736,
-0.01406900305300951,
0.06295345723628998,
-0.019642813131213188,
0.0011401503579691052,
-0.013475452549755573,
0.02216540277004242,
0.0523066408932209,
-0.054421164095401764,
0.010248021222651005,
-0.03210737556219101,
-0.025652512907981873,
-0.03218156844377518,
0.04570339247584343,
-0.035390451550483704,
-0.019902491942048073,
-0.042513057589530945,
0.00045704550575464964,
0.01745409518480301,
0.05508891120553017,
-0.018743213266134262,
0.03368399292230606,
-0.03168075904250145,
-0.042401768267154694,
-0.006524418946355581,
0.0008851090678945184,
0.050563085824251175,
-0.07493575662374496,
-0.04488725960254669,
0.037597715854644775,
-0.0018247042316943407,
-0.012149238027632236,
0.05123083293437958,
0.024632347747683525,
-0.0357428714632988,
0.010192375630140305,
0.041140470653772354,
0.018984343856573105,
0.007628052029758692,
-0.041474342346191406,
-0.043254997581243515,
0.02594928815960884,
-0.02342669852077961,
-0.02667267806828022,
-0.01861337386071682,
-0.014235938899219036,
0.009213944897055626,
-0.002974708331748843,
0.00935305841267109,
0.07894222438335419,
-0.036039646714925766,
-0.0047484044916927814,
0.04655662178993225
] |
7,642 | emmett.app | websocket | null | def websocket(
self,
paths: Optional[Union[str, List[str]]] = None,
name: Optional[str] = None,
**kwargs
) -> RoutingCtx:
if name is not None and "." in name:
raise RuntimeError(
"App modules' websocket names should not contains dots"
)
name = self.name + "." + (name or "")
pipeline = kwargs.get('pipeline', [])
if self.pipeline:
pipeline = self.pipeline + pipeline
kwargs['pipeline'] = pipeline
return self.app.websocket(
paths=paths,
name=name,
prefix=self.url_prefix,
hostname=self.hostname,
**kwargs
)
| (self, paths: Union[str, List[str], NoneType] = None, name: Optional[str] = None, **kwargs) -> emmett.routing.router.RoutingCtx | [
-0.043483100831508636,
-0.07870405167341232,
-0.019248660653829575,
-0.06374672055244446,
-0.026050684973597527,
0.007816986180841923,
-0.009829103946685791,
0.03457992523908615,
0.0037415586411952972,
0.03466895595192909,
-0.025178175419569016,
-0.00888981856405735,
0.025071335956454277,
0.04921674355864525,
0.005235066171735525,
-0.03623591735959053,
0.07670973986387253,
-0.040171120315790176,
0.01256237830966711,
-0.01728105917572975,
0.008711755275726318,
0.02329070121049881,
0.03108988143503666,
-0.003768268274143338,
-0.025837009772658348,
0.02797377109527588,
-0.021492261439561844,
0.06307008117437363,
-0.04697314277291298,
-0.05224382132291794,
-0.025890428572893143,
-0.004044266417622566,
0.031321365386247635,
-0.0428776852786541,
0.03262122720479965,
0.025837009772658348,
-0.07443053275346756,
-0.05409568175673485,
0.013034245930612087,
-0.06057719141244888,
0.07756444811820984,
0.03281709924340248,
0.008867560885846615,
-0.0028467897791415453,
0.029736598953604698,
0.010701614432036877,
-0.01696944795548916,
0.06609716266393661,
0.0306803360581398,
0.027902545407414436,
0.007500923704355955,
0.019213048741221428,
-0.014485463500022888,
0.025285013020038605,
0.02854357473552227,
0.026139717549085617,
-0.017530348151922226,
0.06552735716104507,
0.018572019413113594,
-0.06310569494962692,
-0.02590823546051979,
-0.002557436702772975,
0.06688063591718674,
0.06289201974868774,
0.007082474417984486,
-0.03906712681055069,
0.03831925988197327,
0.02357560396194458,
-0.0055244192481040955,
-0.007167054805904627,
0.05933075025677681,
-0.006147641222923994,
-0.03465115278959274,
-0.03060911037027836,
-0.02172374352812767,
0.018465181812644005,
0.012054896913468838,
0.023415345698595047,
-0.008529240265488625,
0.05968687683343887,
0.015349071472883224,
0.009375041350722313,
-0.06716553866863251,
0.031196720898151398,
0.04006428271532059,
0.0613606721162796,
-0.04469393193721771,
-0.040206730365753174,
-0.06994333118200302,
-0.01583874598145485,
-0.04163124039769173,
0.030520079657435417,
-0.025979461148381233,
0.0031806586775928736,
0.04636772722005844,
-0.056517343968153,
-0.02483985386788845,
0.030555691570043564,
0.0848294347524643,
-0.005079260561615229,
-0.02220451459288597,
0.042628396302461624,
-0.05259994789958,
0.011823414824903011,
0.03076936863362789,
-0.043981678783893585,
0.018661051988601685,
-0.02307702600955963,
0.014592301100492477,
-0.02394953742623329,
-0.01149399671703577,
0.012259669601917267,
0.05331220477819443,
-0.03087620623409748,
-0.02035265415906906,
0.06339059770107269,
-0.0009465186158195138,
-0.002579694613814354,
0.05409568175673485,
-0.05523528903722763,
-0.04747172072529793,
0.022168902680277824,
0.047792237251996994,
-0.00786595419049263,
0.027119066566228867,
0.10028534382581711,
-0.0009186962270177901,
-0.08390350639820099,
0.013969079591333866,
0.01588326133787632,
0.0071759577840566635,
0.03108988143503666,
0.028988733887672424,
-0.025480883195996284,
0.015393586829304695,
0.05804869160056114,
-0.004349200055003166,
0.011565222404897213,
0.04070530831813812,
0.029772212728857994,
-0.013123277574777603,
-0.0032763679046183825,
-0.012642506510019302,
0.04170246422290802,
0.0032986258156597614,
0.006379123777151108,
0.015455909073352814,
0.009058979339897633,
0.003815009957179427,
0.05968687683343887,
-0.005960674490779638,
0.01577642373740673,
0.0029669825453311205,
0.0370015874505043,
0.015251136384904385,
-0.006592799909412861,
-0.013639661483466625,
0.048468876630067825,
0.000746753707062453,
0.021100521087646484,
0.026032879948616028,
-0.0017628283239901066,
-0.032496582716703415,
-0.03466895595192909,
-0.011948059312999249,
-0.04764978587627411,
0.015598360449075699,
0.028810668736696243,
-0.004923454951494932,
0.054309356957674026,
0.01388004794716835,
0.045940376818180084,
0.03484702110290527,
-0.00295807933434844,
-0.004927906673401594,
-0.012553474865853786,
-0.0340813472867012,
0.01762828417122364,
0.024430308490991592,
-0.03059130348265171,
-0.0043848128989338875,
-0.029380472376942635,
-0.0204772986471653,
0.016310613602399826,
0.022916769608855247,
0.03981499373912811,
-0.007069119717925787,
0.052849236875772476,
0.0477210097014904,
0.019747238606214523,
-0.0594019740819931,
0.029059957712888718,
0.06111138314008713,
0.00400420231744647,
-0.005439838860183954,
0.012063800357282162,
0.02911337837576866,
0.0016504258383065462,
-0.022329159080982208,
0.01379101537168026,
0.013621855527162552,
0.02658487670123577,
-0.001181896310299635,
-0.0028668218292295933,
0.04099021106958389,
-0.038034357130527496,
0.03573733940720558,
-0.005608999170362949,
0.011556318961083889,
-0.037749454379081726,
0.0032296262215822935,
-0.0016226033912971616,
0.03557708114385605,
-0.0019664885476231575,
0.01891034096479416,
0.03985060378909111,
-0.05462987348437309,
-0.036004435271024704,
0.0662396103143692,
0.012998633086681366,
0.026638295501470566,
0.062393441796302795,
0.0019097307231277227,
0.0020332622807472944,
-0.02612191066145897,
-0.021296391263604164,
0.0011073321802541614,
-0.04494322091341019,
-0.051389116793870926,
0.02229354716837406,
0.03126794472336769,
-0.005800417624413967,
0.04932358115911484,
-0.011867930181324482,
-0.030965236946940422,
-0.005137131083756685,
-0.047008756548166275,
0.03078717365860939,
0.020495105534791946,
-0.01368417777121067,
0.03128575161099434,
-0.013728693127632141,
0.004540618509054184,
-0.005893900990486145,
0.06794901937246323,
-0.03623591735959053,
-0.00589835224673152,
-0.07047752290964127,
0.04601160064339638,
0.02259625494480133,
-0.03885344788432121,
0.01047013234347105,
-0.044195353984832764,
-0.012437733821570873,
-0.07642484456300735,
-0.03682352602481842,
-0.0750715583562851,
-0.02784912660717964,
-0.05085492879152298,
-0.035416822880506516,
-0.02398514933884144,
0.07856160402297974,
-0.057336438447237015,
0.060078613460063934,
0.03782068192958832,
-0.028098415583372116,
-0.028205253183841705,
-0.03967254236340523,
-0.04294890910387039,
-0.005003583617508411,
-0.014930621720850468,
0.04405290260910988,
0.013595146127045155,
0.03217606991529465,
-0.021296391263604164,
-0.07955875992774963,
0.0034343991428613663,
0.007990598678588867,
-0.023931730538606644,
-0.01500184740871191,
-0.04786346107721329,
0.0071804095059633255,
-0.02923802100121975,
-0.013034245930612087,
0.02407418191432953,
0.008248790167272091,
0.01388004794716835,
-0.04423096776008606,
0.002886854112148285,
-0.07350460439920425,
0.04412412643432617,
-0.0068777017295360565,
-0.027813514694571495,
-0.013764305971562862,
-0.013915659859776497,
0.028810668736696243,
-0.02669171430170536,
0.01509978249669075,
0.030733754858374596,
-0.02298799343407154,
0.04141756147146225,
0.06253588944673538,
0.035416822880506516,
0.02063755691051483,
0.003527882508933544,
-0.027706675231456757,
-0.020210204645991325,
-0.0001408509851898998,
0.007999501191079617,
0.020388267934322357,
-0.0189815666526556,
-0.03650301322340965,
-0.024394694715738297,
-0.006294543854892254,
0.023361926898360252,
-0.006405833177268505,
0.028009384870529175,
-0.022382577881217003,
-0.018002217635512352,
0.0623578280210495,
0.015678487718105316,
0.005893900990486145,
-0.06100454553961754,
-0.003073820611461997,
-0.04177369177341461,
0.06257150322198868,
0.05320536345243454,
-0.02834770455956459,
0.03506069630384445,
-0.03231852129101753,
-0.03849732130765915,
0.027635451406240463,
0.004763197619467974,
-0.06488633155822754,
0.0074875690042972565,
-0.019230855628848076,
0.006739702541381121,
0.016746869310736656,
-0.018874727189540863,
-0.01745022088289261,
0.03728649020195007,
0.017307769507169724,
-0.013497211039066315,
0.0025908234529197216,
-0.018447374925017357,
0.0092593003064394,
-0.005711385980248451,
0.03985060378909111,
0.01640854962170124,
-0.04362554848194122,
0.017423510551452637,
-0.018447374925017357,
-0.01281166635453701,
0.02756422571837902,
0.03616468980908394,
0.007362924516201019,
-0.00638357549905777,
0.050035834312438965,
0.017806347459554672,
-0.01669345051050186,
-0.005243969149887562,
0.04334064945578575,
-0.009713361971080303,
0.010407810099422932,
-0.0750003308057785,
0.012117219157516956,
0.07133222371339798,
0.008809690363705158,
-0.08995766192674637,
-0.008854205720126629,
0.018340537324547768,
0.027884740382432938,
0.036574237048625946,
0.02240038476884365,
-0.04298452287912369,
0.004231233149766922,
-0.006241124588996172,
-0.04006428271532059,
0.008088532835245132,
0.025463076308369637,
-0.04636772722005844,
0.04757855832576752,
0.07706587016582489,
0.01708519086241722,
0.056161217391490936,
-0.031695298850536346,
-0.006379123777151108,
-0.0477210097014904,
-0.0370015874505043,
-0.001289847306907177,
-0.0017138608964160085,
-0.032995160669088364,
-0.0428776852786541,
-0.005137131083756685,
-0.07713709771633148,
-0.023735860362648964,
0.05203014612197876,
0.04294890910387039,
-0.0028757250402122736,
-0.03488263487815857,
0.03431282937526703,
-0.03660985082387924,
0.0034121412318199873,
0.009094592183828354,
0.009748974815011024,
0.035114116966724396,
0.04209420457482338,
0.0487181656062603,
0.0013321373844519258,
0.025374043732881546,
-0.042129818350076675,
0.038924675434827805,
-0.10270701348781586,
0.028472349047660828,
0.03117891401052475,
-0.06029229238629341,
0.04451586678624153,
-0.008471369743347168,
0.01732557639479637,
0.03671668842434883,
-0.05320536345243454,
-0.04800591245293617,
0.10064147412776947,
-0.016542095690965652,
0.050142671912908554,
0.027314936742186546,
-0.03974376618862152,
-0.022329159080982208,
-0.003289722604677081,
0.0326390340924263,
-0.03977937996387482,
-0.06474387645721436,
-0.03817680850625038,
-0.034829214215278625,
0.05484354868531227,
-0.009873619303107262,
0.03425941243767738,
-0.003710397519171238,
0.017512543126940727,
-0.004558424931019545,
-0.025961654260754585,
-0.030342014506459236,
-0.022525029256939888,
-0.0071715060621500015,
-0.011048838496208191,
-0.04590476304292679,
-0.06794901937246323,
-0.036004435271024704,
0.02446592040359974,
-0.026567069813609123,
0.01686261035501957,
-0.012695925310254097,
-0.01606132462620735,
-0.03906712681055069,
0.008493627421557903,
-0.014253980480134487,
0.010541357100009918,
0.0023259541485458612,
-0.02446592040359974,
-0.03924518823623657,
0.04131072387099266,
-0.0497153215110302,
0.01771731488406658,
-0.041453175246715546,
-0.043803613632917404,
-0.025178175419569016,
0.027920352295041084,
-0.05968687683343887,
0.035416822880506516,
-0.04269962012767792,
0.06794901937246323,
0.009036720730364323,
0.0054799034260213375,
0.006668476853519678,
0.024715209379792213,
-0.016266098245978355,
-0.06217976287007332,
-0.018002217635512352,
-0.006503768265247345,
-0.007647825870662928,
-0.0672367662191391,
-0.004878939129412174,
0.01869666390120983,
0.009562008082866669,
-0.02309483289718628,
-0.04825520142912865,
0.040277957916259766,
-0.03557708114385605,
0.012615797109901905,
0.011075547896325588,
0.0009576476295478642,
-0.001230863737873733,
-0.005154937505722046,
0.003238529432564974,
-0.014610107988119125,
0.03361838310956955,
-0.007469762582331896,
-0.0214210357517004,
-0.008012856356799603,
0.0030715949833393097,
-0.02368244156241417,
-0.04373238980770111,
0.02756422571837902,
0.03349373862147331,
-0.0006588348187506199,
0.009268203750252724,
-0.024430308490991592,
-0.03839048370718956,
0.0008257693261839449,
-0.0049590677954256535,
-0.04230787977576256,
0.0018173602875322104,
-0.005497709847986698,
0.02368244156241417,
-0.0035924306139349937,
-0.0545942597091198,
-0.013933466747403145,
0.012936310842633247,
-0.023504378274083138,
-0.05085492879152298,
0.0477566234767437,
-0.011867930181324482,
0.02573017217218876,
0.06068402901291847,
0.009041172452270985,
-0.04501444473862648,
0.024590564891695976,
-0.029380472376942635,
0.03548805043101311,
0.09302035719156265,
0.020388267934322357,
0.08240777254104614,
-0.015589457005262375,
0.03643178567290306,
0.020993683487176895,
-0.05922390893101692,
-0.050605639815330505,
-0.01577642373740673,
-0.05619683116674423,
0.03178432956337929,
0.0000494195701321587,
0.001749473623931408,
0.0027265967801213264,
-0.03490044176578522,
-0.07813425362110138,
-0.048646941781044006,
0.005809320602566004,
-0.008711755275726318,
0.025961654260754585,
-0.05174524337053299,
-0.005493258126080036,
-0.024964498355984688,
-0.04412412643432617,
0.06844759732484818,
-0.019124016165733337,
-0.05395323038101196,
0.004480522125959396,
0.01978285238146782,
-0.07578381150960922,
0.02961195446550846,
-0.022720899432897568,
0.0028757250402122736,
-0.03002150170505047,
0.007207118906080723,
-0.021314198151230812,
0.04355432465672493,
0.03279929235577583,
-0.0238605048507452,
-0.0126692159101367,
0.025979461148381233,
-0.014432044699788094,
0.017218736931681633,
0.045833539217710495,
-0.05730082467198372,
0.024768628180027008,
0.031196720898151398,
0.05580509081482887,
0.023842697963118553,
0.024964498355984688,
0.01869666390120983,
0.039708152413368225,
0.024519339203834534,
-0.07578381150960922,
-0.0026642747689038515,
0.01286508608609438,
-0.005795965902507305,
0.04725804552435875,
0.01344379223883152,
-0.00855149794369936,
-0.005346355494111776,
0.021883999928832054,
-0.05886778235435486,
0.02483985386788845,
-0.005252872593700886,
0.02122516557574272,
0.007977243512868881,
-0.069124236702919,
0.03087620623409748,
0.043518710881471634,
0.07962998747825623,
-0.038639772683382034,
0.023931730538606644,
0.05074808746576309,
-0.02453714609146118,
0.0141204334795475,
-0.022257933393120766,
0.024181019514799118,
-0.00760331004858017,
-0.006485961843281984,
0.039993055164813995,
0.04804152622818947,
0.004887842107564211,
0.0001502410596003756,
0.035327792167663574,
0.001184122054837644,
0.03126794472336769,
-0.036787912249565125,
-0.0066595738753676414,
0.009677750058472157,
-0.06203731149435043,
0.02015678398311138,
-0.04501444473862648,
-0.06346181780099869,
-0.02843673713505268,
-0.022738704457879066,
0.0170406736433506,
0.03924518823623657,
0.012989730574190617,
-0.05790624022483826,
0.020833425223827362,
0.01919524185359478,
-0.05316975340247154,
0.001955359475687146,
-0.0419161394238472,
0.010514647699892521,
-0.011672060936689377,
0.006931120529770851,
-0.038746610283851624,
0.002579694613814354,
0.01422727108001709,
0.011743285693228245,
0.03338690102100372,
-0.0004279087879694998,
-0.07535646110773087,
-0.0399218313395977,
0.058511655777692795,
0.025000112131237984,
-0.05698031187057495,
0.009143559262156487,
-0.02494669146835804,
0.013737596571445465,
-0.022471610456705093,
-0.006980088073760271,
0.05000022426247597,
0.015616166405379772,
0.11766434460878372,
-0.01928427442908287,
-0.061930473893880844,
0.02368244156241417,
0.006107577122747898,
-0.020192397758364677,
-0.03732210397720337,
0.09722265601158142,
0.027047840878367424,
-0.06111138314008713,
0.0040843309834599495,
0.058119915425777435,
-0.044978830963373184,
0.043411873281002045,
-0.03650301322340965,
-0.0017973281210288405,
0.006080867722630501,
-0.018251506611704826,
0.012687021866440773,
-0.03767823055386543,
0.04572669789195061,
-0.056837860494852066,
-0.04230787977576256,
-0.026032879948616028,
-0.06406723707914352,
-0.0769946426153183,
0.041844915598630905,
0.013835531659424305,
-0.015233329497277737,
0.03977937996387482,
-0.001090638805180788,
0.014369722455739975,
0.03185555338859558,
0.08133939653635025,
0.005689127836376429,
-0.00823543593287468,
0.029273634776473045,
0.0023259541485458612,
0.02699442207813263,
-0.0448363833129406,
-0.012259669601917267,
0.020780006423592567,
-0.08810580521821976,
0.000786261516623199,
-0.014734752476215363,
-0.007638922892510891,
0.027902545407414436,
0.047685395926237106,
-0.01422727108001709,
0.018429569900035858,
-0.015909971669316292,
0.06862565875053406,
-0.05142473056912422,
0.023415345698595047,
0.01226857304573059,
-0.06880372762680054,
-0.025285013020038605,
0.09857593476772308,
0.03641397878527641,
-0.01281166635453701,
-0.042022980749607086,
-0.0008396805496886373,
0.03399231657385826,
-0.01588326133787632,
0.02904215268790722,
-0.0409545972943306,
0.051495954394340515,
0.03632494807243347,
-0.04850449040532112,
0.017245447263121605,
-0.04821958765387535,
0.03616468980908394,
-0.00021826686861459166,
0.02512475661933422,
-0.04451586678624153,
-0.016479773446917534,
-0.08041346073150635,
-0.01660441793501377,
0.07471543550491333,
0.0779205784201622,
0.011307029984891415,
0.0633549839258194,
-0.019213048741221428,
-0.04707998037338257,
0.00983800645917654,
0.027617644518613815,
0.04074092209339142,
-0.05252872407436371,
-0.01791318506002426,
0.005012486595660448,
-0.04237910732626915,
0.010826258920133114,
0.031908974051475525,
0.0035813015419989824,
-0.03235413134098053,
0.021403228864073753,
0.00009209220297634602,
-0.010443422943353653,
-0.00638357549905777,
-0.06780657172203064,
-0.036965977400541306,
-0.040883373469114304,
-0.03828364610671997,
-0.06463704258203506,
-0.032496582716703415,
0.007082474417984486,
0.08069836348295212,
0.022329159080982208,
0.045334961265325546,
0.05473671108484268,
0.014832687564194202,
0.015295651741325855,
0.039601314812898636
] |
7,643 | emmett.cache | Cache | null | class Cache:
def __init__(self, **kwargs):
#: load handlers
handlers = []
for key, val in kwargs.items():
if key == "default":
continue
handlers.append((key, val))
if not handlers:
handlers.append(('ram', RamCache()))
#: set handlers
for name, handler in handlers:
setattr(self, name, handler)
_default_handler_name = kwargs.get('default', handlers[0][0])
self._default_handler = getattr(self, _default_handler_name)
@overload
def __call__(
self,
key: Optional[str] = None,
function: None = None,
duration: Union[int, str, None] = 'default'
) -> CacheDecorator:
...
@overload
def __call__(
self,
key: str,
function: Optional[Callable[..., T]],
duration: Union[int, str, None] = 'default'
) -> T:
...
def __call__(
self,
key: Optional[str] = None,
function: Optional[Callable[..., T]] = None,
duration: Union[int, str, None] = 'default'
) -> Union[CacheDecorator, T]:
return self._default_handler(key, function, duration)
def get(self, key: str) -> Any:
return self._default_handler.get(key)
def set(
self,
key: str,
value: Any,
duration: Union[int, str, None] = 'default'
):
self._default_handler.set(key, value, duration)
def get_or_set(
self,
key: str,
function: Callable[..., T],
duration: Union[int, str, None] = 'default'
) -> T:
return self._default_handler.get_or_set(key, function, duration)
def clear(self, key: Optional[str] = None):
self._default_handler.clear(key)
def response(
self,
duration: Union[int, str, None] = 'default',
query_params: bool = True,
language: bool = True,
hostname: bool = False,
headers: List[str] = []
) -> RouteCacheRule:
return self._default_handler.response(
duration, query_params, language, hostname, headers
)
| (**kwargs) | [
0.006219732575118542,
-0.07096673548221588,
-0.00614596251398325,
-0.0007002385682426393,
0.016109522432088852,
0.03872924670577049,
-0.03183175250887871,
-0.004138035699725151,
0.020139208063483238,
-0.02037896029651165,
0.04293413460254669,
0.10888450592756271,
-0.009110594168305397,
0.007879557088017464,
-0.011083940975368023,
0.012227375991642475,
0.013564457185566425,
0.0382128544151783,
0.014274493791162968,
-0.05433160066604614,
0.02635432966053486,
-0.018728356808423996,
0.04547920078039169,
0.023292874917387962,
-0.008031708188354969,
0.06281514465808868,
0.0054082623682916164,
0.011452791281044483,
0.06174548342823982,
-0.016330832615494728,
0.0021577721927314997,
-0.03498541936278343,
-0.04120054095983505,
0.0545160248875618,
0.02989528886973858,
-0.02111666090786457,
-0.0209506768733263,
0.09457313269376755,
-0.1113189160823822,
-0.007446158677339554,
0.020600270479917526,
-0.012983518652617931,
0.01620173454284668,
-0.06034385412931442,
-0.017133081331849098,
0.011563446372747421,
0.0055604130029678345,
0.04260217025876045,
0.0517127625644207,
-0.09516328573226929,
0.034266162663698196,
0.013988634571433067,
0.018995773047208786,
0.0027364057023078203,
0.013702776283025742,
0.02334820292890072,
0.023569513112306595,
0.10276159644126892,
0.0011272976407781243,
0.019585933536291122,
-0.008059371262788773,
0.0040942346677184105,
0.002920830622315407,
0.051602110266685486,
-0.023274432867765427,
-0.03433993086218834,
-0.054700449109077454,
-0.025137124583125114,
0.04278659448027611,
0.015187396667897701,
0.012679217383265495,
0.0012725323904305696,
0.0036815835628658533,
-0.028087925165891647,
0.011526561342179775,
-0.022370750084519386,
-0.038139086216688156,
-0.0435611791908741,
0.0514545701444149,
0.02211255580186844,
-0.0028539765626192093,
-0.05787255987524986,
-0.0461062453687191,
-0.035999756306409836,
-0.00042590644443407655,
-0.05108571797609329,
0.0034072515554726124,
-0.03448747098445892,
0.007842672057449818,
0.004504580050706863,
-0.09022069722414017,
-0.02535843476653099,
0.0012633111327886581,
0.0005518341204151511,
-0.01122226007282734,
-0.027184242382645607,
-0.020286748185753822,
-0.028106367215514183,
0.031223148107528687,
-0.026501869782805443,
-0.014256050810217857,
0.03557557985186577,
0.04002021998167038,
-0.00971919670701027,
0.009654647670686245,
-0.04363495111465454,
0.007151078432798386,
0.02375393733382225,
-0.04566362500190735,
0.0056157405488193035,
0.0044999695383012295,
-0.03788089007139206,
-0.01750192977488041,
0.008999939076602459,
-0.014016298577189445,
0.03410017862915993,
-0.0660979151725769,
-0.04614312946796417,
-0.021393297240138054,
0.03408173471689224,
-0.044483304023742676,
0.0040527391247451305,
-0.01513206958770752,
0.021024446934461594,
0.004841155838221312,
0.017262177541851997,
-0.01033702027052641,
0.017926108092069626,
0.030614547431468964,
0.03465345501899719,
0.056839779019355774,
0.04702837020158768,
0.014652564190328121,
0.08070436865091324,
0.04149562120437622,
0.047581642866134644,
0.011664879508316517,
0.06808970123529434,
-0.037733349949121475,
0.07067165523767471,
-0.016727345064282417,
-0.014753998257219791,
0.020139208063483238,
0.0064963698387146,
0.03931940719485283,
-0.01988101191818714,
0.04363495111465454,
-0.014689449220895767,
0.02688916213810444,
-0.012623889371752739,
0.04883573576807976,
0.014200723730027676,
0.007012759801000357,
0.051233258098363876,
0.008027097210288048,
0.016192512586712837,
-0.02375393733382225,
0.0615241713821888,
-0.03433993086218834,
-0.03203462064266205,
-0.012835978530347347,
-0.00963620562106371,
-0.0020355908200144768,
-0.10069604218006134,
0.021153545007109642,
0.0031398353166878223,
-0.008377504535019398,
-0.04367183521389961,
0.04968408867716789,
0.08313877880573273,
-0.05149145424365997,
0.013509130105376244,
-0.0011987623292952776,
0.05691354721784592,
0.046216901391744614,
0.050126709043979645,
-0.04367183521389961,
-0.008050150237977505,
0.009599320590496063,
-0.04817180335521698,
0.028051039204001427,
-0.026206789538264275,
-0.07483965903520584,
-0.005334492307156324,
-0.014339041896164417,
0.047692298889160156,
0.023790821433067322,
-0.033694442361593246,
-0.04171692952513695,
0.045110348612070084,
-0.015242724679410458,
0.027442436665296555,
0.046585749834775925,
-0.051196373999118805,
0.015473255887627602,
-0.01766791380941868,
-0.013905643485486507,
0.0008229964878410101,
0.03216371685266495,
0.025247778743505478,
-0.03734605759382248,
0.05444225296378136,
0.05340947210788727,
0.03533582761883736,
-0.0064640953205525875,
-0.002350265858694911,
0.05381520837545395,
0.03000594489276409,
-0.10460584610700607,
0.0101249311119318,
-0.016828779131174088,
0.003856787458062172,
-0.024325653910636902,
0.020194536074995995,
-0.014726334251463413,
0.02248140424489975,
0.022997794672846794,
0.06517578661441803,
0.02111666090786457,
0.00048440374666824937,
0.030891183763742447,
0.00015488817007280886,
-0.019549047574400902,
0.05097506567835808,
0.03240346908569336,
-0.01486465334892273,
0.0573192834854126,
-0.03079897165298462,
-0.017926108092069626,
0.015334936790168285,
0.009885178878903389,
0.020157650113105774,
0.05776190385222435,
0.013121836818754673,
0.014735556207597256,
-0.05429471284151077,
0.037696465849876404,
0.024639178067445755,
-0.018553152680397034,
0.0047258902341127396,
0.06163482740521431,
0.022997794672846794,
0.02722112648189068,
0.002420577919110656,
-0.007068087346851826,
0.0015526277711614966,
-0.014090068638324738,
0.031057165935635567,
-0.015012193471193314,
-0.006662352476269007,
-0.0059799798764288425,
0.048356231302022934,
-0.005053244531154633,
-0.03395263850688934,
-0.02288714051246643,
-0.013352368026971817,
-0.041237425059080124,
-0.011019392870366573,
0.016893327236175537,
-0.037069421261548996,
-0.0054589794017374516,
-0.034026410430669785,
-0.03623950853943825,
-0.009032213129103184,
0.008741743862628937,
-0.008391336537897587,
0.023329759016633034,
-0.022997794672846794,
-0.02498958446085453,
0.03817597031593323,
0.02652031183242798,
-0.008414389565587044,
0.012393358163535595,
0.0037346058525145054,
-0.012448686175048351,
0.016625910997390747,
0.023126892745494843,
-0.020858464762568474,
-0.019032657146453857,
-0.029876846820116043,
0.033731330186128616,
0.014209944754838943,
-0.012614668346941471,
-0.04879884794354439,
-0.007349335588514805,
0.05274554342031479,
-0.020323632284998894,
0.028751853853464127,
0.025616629049181938,
-0.001103091868571937,
0.07856503874063492,
-0.013075730763375759,
-0.01667201891541481,
0.0034095568116754293,
0.0176402498036623,
-0.022260094061493874,
-0.08889283984899521,
-0.023274432867765427,
0.07163066416978836,
-0.03256945312023163,
-0.06362661719322205,
-0.07159377634525299,
0.06631921976804733,
-0.008797071874141693,
0.02762686274945736,
-0.015205839648842812,
0.013158721849322319,
-0.012716102413833141,
0.010696648620069027,
0.03817597031593323,
0.03343624994158745,
0.02071092464029789,
-0.0601225420832634,
-0.05038490518927574,
0.03304895758628845,
0.03214527294039726,
-0.0042463853023946285,
0.03979891166090965,
0.02712891437113285,
0.06067581847310066,
-0.04673328995704651,
0.06244629621505737,
-0.04112676903605461,
-0.0015122848562896252,
0.032993629574775696,
-0.02919447422027588,
-0.0009814866352826357,
-0.02034207433462143,
-0.009645426645874977,
-0.002070170361548662,
-0.05628650262951851,
-0.0029116093646734953,
-0.007294008042663336,
0.012061393819749355,
-0.055143069475889206,
0.02803259715437889,
0.0056710680946707726,
0.013767324388027191,
-0.0020056215580552816,
-0.015122848562896252,
0.05584388226270676,
-0.050827525556087494,
-0.03861859068274498,
0.022075669839978218,
-0.008557318709790707,
-0.0035801499616354704,
0.0843190997838974,
0.01634005270898342,
0.06919625401496887,
-0.026317443698644638,
0.033657558262348175,
-0.10940089821815491,
0.023809265345335007,
0.009820629842579365,
0.10608124732971191,
-0.057614363729953766,
0.002319144085049629,
-0.0638110414147377,
0.012310367077589035,
-0.10999105870723724,
0.025967037305235863,
-0.0052146161906421185,
-0.06052827835083008,
0.0519709587097168,
0.027645304799079895,
0.02602236531674862,
0.05067998543381691,
0.009345735423266888,
0.03120470605790615,
-0.05584388226270676,
-0.011148490011692047,
-0.03376821428537369,
-0.009451780468225479,
0.008529655635356903,
0.02124575711786747,
-0.04193824157118797,
0.04046284034848213,
0.005067076534032822,
-0.044151339679956436,
0.016349274665117264,
0.009345735423266888,
0.020231420174241066,
0.016616690903902054,
0.01441281195729971,
0.02779284492135048,
0.0052515012212097645,
-0.02969242073595524,
0.03531738370656967,
0.01737283356487751,
-0.0047305007465183735,
0.03162888437509537,
-0.019788799807429314,
-0.015510140918195248,
-0.010908737778663635,
-0.056839779019355774,
0.020821580663323402,
0.019493719562888145,
0.07111427187919617,
-0.03000594489276409,
-0.03363911435008049,
0.03828662633895874,
-0.05484798923134804,
0.04997916892170906,
0.03762269392609596,
0.0352804996073246,
0.00935495737940073,
0.06307334452867508,
0.011120826005935669,
0.024878930300474167,
0.012218154966831207,
-0.028087925165891647,
-0.06499136239290237,
-0.047987379133701324,
-0.017345169559121132,
-0.010576772503554821,
-0.010106489062309265,
0.04994228482246399,
0.00291852536611259,
-0.03210838884115219,
0.03679278492927551,
0.027239568531513214,
0.021540837362408638,
-0.0050947400741279125,
0.019051101058721542,
0.06657741963863373,
0.010585993528366089,
-0.020139208063483238,
0.001448888797312975,
-0.04499969631433487,
0.026446541771292686,
0.035962872207164764,
-0.01927241124212742,
-0.049794744700193405,
-0.03483787924051285,
0.007879557088017464,
-0.047987379133701324,
-0.02391991950571537,
-0.0047719962894916534,
0.006920547224581242,
-0.011720207519829273,
-0.018516268581151962,
0.020618712529540062,
-0.02428876981139183,
0.008359062485396862,
-0.009050656110048294,
-0.028475217521190643,
0.011793977580964565,
0.056876663118600845,
0.03946694731712341,
-0.060712702572345734,
0.003981274086982012,
0.024030575528740883,
0.025044912472367287,
0.04949966445565224,
0.020120766013860703,
-0.02482360228896141,
-0.023790821433067322,
-0.0002973852679133415,
0.006302723661065102,
0.007201795466244221,
0.035999756306409836,
-0.019659703597426414,
-0.017197629436850548,
-0.05890533700585365,
-0.09435182064771652,
0.0764257088303566,
0.04673328995704651,
-0.01747426763176918,
-0.045552968978881836,
-0.014707892201840878,
-0.0029162198770791292,
-0.05278242751955986,
-0.02758997678756714,
-0.023790821433067322,
-0.032089944928884506,
-0.007533760275691748,
0.026077691465616226,
-0.04787672311067581,
-0.03690343722701073,
-0.027645304799079895,
0.026999816298484802,
0.020102322101593018,
0.01563923805952072,
0.01583288423717022,
-0.011923074722290039,
-0.023993689566850662,
0.02285025455057621,
0.017750903964042664,
0.019327737390995026,
0.022555174306035042,
-0.06370038539171219,
0.058684028685092926,
0.02548753283917904,
-0.014855432324111462,
0.0016517562326043844,
0.034155506640672684,
0.013785767368972301,
0.02355106920003891,
0.004253301303833723,
-0.05093817785382271,
0.002059796592220664,
-0.06812658905982971,
-0.011646437458693981,
0.0013774241087958217,
0.01934617944061756,
-0.039208751171827316,
-0.0703027993440628,
-0.0064963698387146,
-0.01867302879691124,
0.005993811879307032,
0.0021681461948901415,
0.032053060829639435,
-0.016063416376709938,
0.031315360218286514,
-0.044778384268283844,
-0.03850793465971947,
-0.02618834748864174,
-0.01210749987512827,
-0.07989290356636047,
-0.02746087871491909,
0.05742993950843811,
0.06322088092565536,
0.04393003135919571,
0.02017609216272831,
-0.011803198605775833,
-0.022260094061493874,
0.04739721864461899,
-0.021171987056732178,
0.06528644263744354,
-0.024860486388206482,
-0.016386158764362335,
-0.007155689410865307,
-0.06347908079624176,
0.05488487333059311,
0.01827651634812355,
0.026003921404480934,
-0.04319233074784279,
0.00013075442984700203,
-0.024307211861014366,
-0.04558985307812691,
0.019751915708184242,
0.0691593661904335,
-0.027313338592648506,
-0.06086024269461632,
-0.0027732907328754663,
-0.05536437779664993,
0.004031991120427847,
0.023477299138903618,
0.011388242244720459,
-0.06897494196891785,
-0.06820035725831985,
-0.020563384518027306,
0.0643274337053299,
-0.0514545701444149,
-0.015823662281036377,
-0.019032657146453857,
0.017059311270713806,
0.0016056499443948269,
0.00435934541746974,
0.03869235888123512,
0.0023145335726439953,
0.03537271171808243,
-0.012789872474968433,
0.02712891437113285,
-0.000982639379799366,
-0.011987623758614063,
0.09331903606653214,
0.014468139968812466,
-0.035760004073381424,
-0.054368484765291214,
-0.046290669590234756,
0.004700531717389822,
0.027811286970973015,
-0.023311316967010498,
-0.053999632596969604,
0.039540715515613556,
0.004405451472848654,
-0.06399546563625336,
0.016819557175040245,
-0.05691354721784592,
-0.004891872406005859,
-0.019733473658561707,
-0.054774217307567596,
-0.07672078907489777,
0.016589026898145676,
-0.019419949501752853,
-0.0054405368864536285,
0.08181092143058777,
-0.06668807566165924,
0.02194657176733017,
-0.048688195645809174,
0.010964064858853817,
-0.05606519430875778,
0.0012886695330962539,
0.019493719562888145,
0.04828245937824249,
-0.030356351286172867,
-0.019235525280237198,
-0.013638227246701717,
0.016819557175040245,
-0.07915519922971725,
0.01794455014169216,
-0.011701764538884163,
-0.030946511775255203,
-0.0005878545925952494,
0.019124871119856834,
-0.046216901391744614,
0.018626922741532326,
-0.01381343137472868,
-0.05377832427620888,
-0.015694566071033478,
0.020286748185753822,
0.04083168879151344,
0.09685999900102615,
0.041569389402866364,
-0.018922002986073494,
-0.05458979308605194,
0.022776484489440918,
-0.002415967173874378,
-0.019290853291749954,
-0.04219643399119377,
0.02939734235405922,
-0.014274493791162968,
-0.01720685139298439,
-0.045516084879636765,
-0.0020159955602139235,
-0.0025842550676316023,
-0.009244302287697792,
0.011388242244720459,
-0.012568562291562557,
0.018331842496991158,
-0.009516328573226929,
0.07096673548221588,
0.023108450695872307,
0.017326727509498596,
-0.016653575003147125,
0.0404997244477272,
0.07137246429920197,
0.007773512974381447,
-0.02128264307975769,
0.00801787618547678,
-0.027147356420755386,
0.0404997244477272,
-0.009746859781444073,
-0.0013324704486876726,
0.008810902945697308,
0.02882562391459942,
0.0045737395994365215,
0.05949549749493599,
0.0026165293529629707,
-0.029323572292923927,
0.01667201891541481,
-0.008870841935276985,
0.02425188384950161,
0.021522395312786102,
0.01558391097933054,
0.0717044323682785,
-0.06845854967832565,
0.04809803515672684,
-0.057208627462387085,
-0.0396144837141037,
-0.02264738827943802,
0.010327799245715141,
0.0028309235349297523,
-0.023329759016633034,
-0.05097506567835808,
-0.021965015679597855,
-0.019622817635536194,
0.03083585575222969,
0.03548336774110794,
0.036165736615657806,
-0.03537271171808243,
0.002313380828127265,
-0.021688377484679222,
-0.015842106193304062,
-0.01997322589159012,
0.010447675362229347,
-0.01947527751326561,
-0.012568562291562557,
0.0031767203472554684,
-0.03607352450489998,
0.017760125920176506,
-0.0404997244477272,
0.02572728507220745,
-0.06060204654932022,
0.039835795760154724,
0.027571534737944603,
-0.045848049223423004,
0.0043478189036250114,
-0.0691593661904335,
0.041237425059080124,
-0.05248734727501869,
0.03552025184035301,
-0.011093162931501865,
-0.03338092193007469,
-0.07461834698915482,
-0.054368484765291214,
-0.05433160066604614,
-0.0115911103785038,
-0.028788739815354347,
0.00427635433152318,
-0.004407756961882114,
-0.0027133524417877197,
-0.04300790652632713,
-0.0003089118399657309,
-0.013416917063295841,
-0.027811286970973015,
-0.02581949718296528,
0.051860302686691284,
-0.010023497976362705,
0.009373399429023266,
0.026464983820915222,
0.08505679666996002,
0.019032657146453857,
0.012006065808236599,
-0.035796888172626495,
0.021171987056732178,
0.040167760103940964,
-0.013887200504541397,
0.04924146831035614,
-0.020969120785593987,
-0.03802843019366264,
0.0396144837141037,
-0.021467067301273346,
0.014477360993623734,
-0.03777023404836655,
0.0035409596748650074,
0.0030199589673429728,
0.03850793465971947,
0.016828779131174088,
0.007197184953838587,
0.011388242244720459,
0.01918019726872444,
-0.03784400597214699,
0.02334820292890072,
-0.07491342723369598,
0.010235586203634739,
-0.04706525430083275,
-0.008492770604789257,
0.002978463424369693,
-0.04581116512417793,
-0.00009192432480631396,
-0.0009549756068736315,
0.049167700111866,
0.06200367957353592,
-0.0382128544151783,
0.0006403004517778754,
0.08262239396572113,
0.027903499081730843,
0.020083880051970482,
-0.0017612585797905922,
0.010051161050796509,
-0.010890294797718525,
0.04227020591497421,
0.04525788873434067,
-0.07930274307727814,
-0.012006065808236599,
-0.010420011356472969,
0.014818547293543816,
0.009461001493036747,
-0.0396144837141037,
-0.04533166065812111,
-0.017686355859041214,
-0.02816169522702694,
0.0424177460372448,
-0.04013087600469589,
0.0279588270932436,
0.018193524330854416
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.