sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
e86693154ba164ddbca9e9a62697cb51d1593b8d779c5383de43e19249034111 | Python | 101 | 2 | # encoding : utf-8
"""This module implements functionailty for converting to and from neo objects"""
|
239a4955f65b0858f3644b57ef7ce2575b7a371e5d720672d86c9c835cd45b76 | Python | 102 | 3 | import dtiplayground.dmri.common.module as module
DTIFiberProfileModule = module.DTIPlaygroundModule
|
7e8678ba4a76d5237b2a2299dabaa698a8f807ef7a37e4fefeebb1ca9f6d6688 | Python | 102 | 5 | # fmt: off
# flake8: noqa
from . import config, datasets, metrics, utils
from .eval import Evaluator
|
be2a63fb452bf6b1a2f9407a7e46b1e0f8267ec37570bb84ce11a1ee216bf6f9 | Python | 102 | 3 | import dtiplayground.dmri.common.module as module
DTITractographyModule = module.DTIPlaygroundModule
|
da1ee23aab24aa08098f7ce5c2e6a3fab23af3db9ba079f14d493e8d26ba393c | Python | 102 | 4 | """Module defining global constants."""
EPS = 1.0e-10
KNOWN_DATA_SPLITS = ["train", "valid", "test"]
|
1aa3349e57ae485197f9c7fa1893150b88e145c59656b41dc3d9a9369f77d7e8 | Python | 103 | 7 | # from napari_debcr import make_sample_data
# add your tests here...
def test_something():
pass
|
2d3f5c49ba0de087411f445fc8403e103e0a3bb31da1cd59a287b7d7b5a39d69 | Python | 103 | 3 | from .data import state_diff, state_loadings, umap
__all__ = ["state_diff", "state_loadings", "umap"]
|
526b282f88303f36f72a285166c33c7d0319eea25db22e2c03bd31f1fc41c7f2 | Python | 103 | 3 | from . import prep_inputs
from importlib.metadata import version
__version__ = version("MEGnet-neuro")
|
72dc5cfcebe4c1ac12662f1ebc58111f917a3e62c8615b67402fc38678b77b33 | Python | 103 | 4 | try:
from python._version import version as __version__
except ImportError:
__version__ = "unknown" |
8104c1d1449586205562a51b59d81cd5e6a2851a12e48632244fb19c9328d695 | Python | 103 | 4 | # Copyright (c) OpenMMLab. All rights reserved.
from .misc import add_prefix
__all__ = ['add_prefix']
|
9caa0b91a063b427bef97dbd74b175f04840ed62ae6261388473b986a9cd88da | Python | 103 | 5 | from . import math
from . import stats
from . import trials
from . import signal
from . import analysis |
4f2612771407f26b6a3dc257a9f796f1cf9f2c78bdefb768a8480c1f0c27b2f9 | Python | 104 | 8 | #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr'],
pbr=True,
)
|
21531cf5e07631af332eda2879936cc7e3169e648c03cd7e170720303b1b7b0f | Python | 105 | 5 | import os
order="python preprocess_1.py"
os.system(order)
order="python preprocess_2.py"
os.system(order) |
9f1e4c6392ecd2eb655ca0bb506b7a66fac4ceb8afc53450acb54f7872a88de3 | Python | 105 | 3 | from .extractor import ActivationsExtractor
from .executor import BatchExecutor
from .inferencer import * |
01fa6da32317a2eb4d85718dc9f834c4449d3f1ca1399dc99c7b031416e267fe | Python | 106 | 5 | # -*- coding: utf-8 -*-
import importlib.metadata
version_string = importlib.metadata.version('scilpy')
|
0ac100f9064bb692ca7d42f34ca18bd76f438a6bc84fac0ac9d20249d33b5f6b | Python | 106 | 3 | from kinescope.pipeline.pose_pipeline import PoseProcessingPipeline
__all__ = ["PoseProcessingPipeline"]
|
d3b535590e53c731e9bd72dacfbaab9ba95cc070367995270f9804cf6cb397c1 | Python | 107 | 7 | def main():
"""Main entry point of the application"""
pass
if __name__ == "__main__":
main()
|
2e11e8aec2d437e3c475c6504d2c9e39f466f9c0bfd322eb435f545b6ef625a0 | Python | 108 | 2 | from ._stability import calc_stability
from ._entropy import find_best_settings, filter_tuples, calc_entropy |
7daabea0cca5bd2bb39a8bf0b8ef0e11fbc39313d9b2ffec5519ac113ca62c51 | Python | 108 | 4 | import logging
logger = logging
logger.basicConfig(format="%(asctime)s - %(message)s", level=logging.INFO)
|
ce6cea95ab0a2ca5e734ad7763f8357fae86fcd37c7374e753d4d99f48573b63 | Python | 108 | 2 | from .n4_bias_corrector import N4BiasCorrector
from .sitk.sitk_n4_bias_corrector import SitkN4BiasCorrector
|
b032a245c12f96ed7be7e1544d9a09ef89814529f3e60c3dc50771f073adf16d | Python | 110 | 2 | from .normalizers import RangeNormalizer, UnitGaussianNormalizer
from .base_dataprocessor import DataProcessor |
cea7b61b6e5b6ec4486aca78aae0c3ba916ced83d4ecac1663bd805015f2aaf2 | Python | 110 | 3 | from .validator import PhysicsValidator, ValidationResult
__all__ = ['PhysicsValidator', 'ValidationResult']
|
83205b3a3b61585bd21f9252d2e1f64610a00fbe2a739001b70146ae97e8c240 | Python | 111 | 8 | # -*- coding: utf-8 -*-
def test_convert_freesurfer_into_polydata():
pass
def test_flip_LPS():
pass
|
07378d79c8449f63a86f5a9f4c1d088028cb9a3d1d54dab5bee8ff62277d083a | Python | 112 | 4 | #%%
from geoseg.models.MixerUnet import ConvMixer_UNET_down
model = ConvMixer_UNET_down(num_classes=2)
# %%
|
0ed2be00ae44f051bdaa9a8f010f650b6a1ab4ecf3d6889f59c69c2a9777bca1 | Python | 112 | 7 | #!/usr/bin/env python
import sys
from ogo.cli.cli import main
if __name__ == "__main__":
sys.exit(main())
|
688060d252b78acd40528b97f4183128a09c1186b98889a87d09f398bc62132b | Python | 112 | 10 | # -*- coding: utf-8 -*-
def test_ttest_two_matrices():
# toDo
pass
def test_omega_sigma():
pass
|
91588187469b7c109f85c7e143bc8faf19f9fbc0b235432332fab934b13a40e4 | Python | 112 | 3 | """Collection of tools for fitting Models with `scipy.optimize.minimize`."""
from .backend import SciPyBackend
|
9e32d5aec076e7069f397eec87a14625976e4f11bc457ea5ca5279ec38d0ecd2 | Python | 112 | 5 | """TODO: tests for TensorFlowBackend.
Need to figure out how to only run these if TensorFlow is installed.
""" |
2308f627d200e0d1dcca0c1c1f48e22abf07013cd0d23d0a2dcc2cb66a20235e | Python | 113 | 7 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Nov 14 16:30:41 2017
@author: Manish Goel
"""
|
2f8c4336557c59dbaae429a28d41440d32d403d0c5bb830ce800cc401291fc58 | Python | 113 | 5 | from .util import *
from .timer import *
from .schedule import *
from .shm_cache import *
from .logging import *
|
7fb20626f94e679984e205adb4ed807240598ca3f4e8f2a64f936eb5ebf64b05 | Python | 113 | 4 | # Copyright (C) 2021-2022 Intel Corporation
# Copyright (C) CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
|
de26b9717f933e1a2e2e5ea39ff1c0f917762da690bc5832e428d1934a2f2915 | Python | 113 | 6 | from .rbcd_attack import PRBCDAttack, GRBCDAttack
__all__ = classes = [
'PRBCDAttack',
'GRBCDAttack',
]
|
f0b9d776874c5d687e38fa80f4a557a63bc7f7ed0c4d9a6dcd4b9af5b40450d1 | Python | 113 | 3 | from seisbench.ext.utils import get_edge_indices, stack_windows
__all__ = ["stack_windows", "get_edge_indices"]
|
15c81a73d2dc0737af4340e31da45a56ad8bc498bb645f78c9ad965c23ef23cd | Python | 114 | 7 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__all__ = [
"image_processing",
"image_set_processing",
]
|
19af52e02bd786d4b1891577723fd560513da2b033d371030a698840e818fd53 | Python | 114 | 2 | from .egnn_pytorch import EGNN, EGNN_Network
from .egnn_pytorch_geometric import EGNN_Sparse, EGNN_Sparse_Network
|
900c520b0cc6bd346c1398f30ce7e8f70cce57b2988efccc257fdac053ebeab8 | Python | 114 | 3 | import os
LOG_PATH = os.path.abspath(os.path.dirname(__file__) + os.sep + '..' + os.sep + '..' + os.sep + 'log')
|
c1ac72e80ebdeaa3eb5acf627e3fde9a881c12912e27fe87bbddd4b22a1de7dd | Python | 114 | 8 | from .layers import *
NAME_TO_TRANSFORMER_LAYER = {
'rm': RM,
'tm': TM,
'prm': PRM,
'svd': SVD
}
|
d2e12c59a872d1b6c9883ccd0129fee618c6f4d8c3f264ce7386b73fc0a9bba5 | Python | 114 | 5 | from .model import DLIM
from .api import DLIM_API
from .dataset import Data_model
__version__ = "1.1.0"
|
d47df9be8a304504eaf418bc5b6ddf34256fa983abb739a805da7d4babaa1368 | Python | 115 | 4 | from brainscore_vision import metric_registry
from .metric import Accuracy
metric_registry['accuracy'] = Accuracy
|
a254c2a890b0f3c7607b741ae6dd634910a827ba8bad91f3f3300ddebe11cdab | Python | 116 | 7 | import numpy as np
def bmi(height, weight):
return weight.astype(float)/np.square(height.astype(float)/100)
|
f0d6f9e2029e0d5d335ad5e2ef2b0a976cb2e8d30897db3aaf2e60512d020d46 | Python | 116 | 8 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 23 13:40:53 2024
@author: costantino_ai
"""
|
0425ce9c9d11609b0b27eca3c3c85f48e82858a0b90953e45da95a2ed560ba3f | Python | 117 | 9 | import unittest
class TestCorrection(unittest.TestCase):
pass
if __name__ == '__main__':
unittest.main()
|
49dc0509901072f02dc62cb0e2b70fd7cf314257a5c6ad45289f29490a33eeb0 | Python | 117 | 5 | def clamp(x, a, b):
return max(a, min(x, b))
def lerp(x, a1, b1, a2, b2):
return (x - a1)/(b1 - a1)*(b2 - a2) + a2 |
5dc923587a440654e59725d32f0ae9663653457b8fe4457678bbe2ad32016434 | Python | 117 | 5 | import importlib
import unimol_plus.tasks
import unimol_plus.data
import unimol_plus.models
import unimol_plus.losses |
2c6a9a9b7346603d2bd2b5e2e2908a5a20485d10ff1542f8e5acda44c146c496 | Python | 118 | 2 | from .t1_centric import preprocess_brats_style_t1_centric
from .t1c_centric import preprocess_brats_style_t1c_centric
|
32c29345b9dd952ed166ef66002440982093686948a565f3be1e24f5982e34ae | Python | 118 | 3 | # from .poolformer import *
from model.InceptionNeXt.inceptionnext import *
from model.InceptionNeXt.convnext import * |
9f5e3a4f9a25792f6e446de1ca4ee9bded161a95c842a31d9d499ef8d853fa6d | Python | 118 | 6 | import serial
ser = serial.Serial()
ser.baudrate = 115200
ser.port = "COM3"
ser.open()
ser.write(b"G1 Z25\r\n")
|
abd07d6cc92cf9591e97517e9427c7e05266a986c7af2903af32a23f32236706 | Python | 118 | 6 | from .hd_bet import HDBetExtractor
try:
from .synthstrip import SynthStripExtractor
except ImportError:
pass
|
3f6ebdf102474ed719206c8f4ade04d4202dd00b156b9192eff900fb1437d9ce | Python | 119 | 5 | """Contains the entry-point to the ViRelAy application."""
from virelay.application import run_cli_app
run_cli_app()
|
735df9a3d1b31ca6830a5887eb9713dced6fdc3d652b455e0c738d43a4f1cc04 | Python | 119 | 7 | # Copyright (C) CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
class WebhookDeliveryError(Exception):
pass
|
8200f16424d092a6abd138847b4218742e534b3f029e9e5ec07ef956473ba332 | Python | 119 | 6 | def main():
print("Hello from 2025-zhou-hipct-hierarchical-segmentation!")
if __name__ == "__main__":
main()
|
9004ba6a7f3787704a48827e35d58ee664c3b7ad674b6dc107cc2a57207211d7 | Python | 119 | 5 | import json
f=open('/data2/whr/czl/TwiBot22-baselines/datasets/Twibot-22/tweet_0.json','r')
tweet=json.load(f)
print() |
31b6630b8005d0fcbf6400215dba01d6103874379c6a1c7e6f0935456dc396e7 | Python | 120 | 11 | # -*- coding: utf-8 -*-
def test_fixel_density():
# toDO
pass
def test_maps_to_masks():
# toDO
pass
|
a8c7c96e428caa40263daa616f14465814b07b6668461e16a1d3a6f901308685 | Python | 120 | 7 | from setuptools import setup, find_packages
setup(
name='nnobe',
version='0.1',
packages=find_packages(),
) |
c4f249987d5a9777b36476a9c3a2370c8232279acf268dbfae83ca9edb2b327b | Python | 120 | 1 | from brainscore_vision.model_helpers.activations.pytorch import PytorchWrapper, preprocess_images as preprocess_pytorch
|
c8ee10fe7afc1635d904b705baa41615d0fff6c7b7eaef089c2c0fab4b692233 | Python | 120 | 11 | # -*- coding: utf-8 -*-
def test_gamma_fit2metrics():
# toDO
pass
def test_fit_gamma():
# toDO
pass
|
9614bbc4bbea0405b86de496438f0566db6681442cec2ae4aabf3100bb4e7d1a | Python | 121 | 7 | # from napari_debcr import write_single_image, write_multiple
# add your tests here...
def test_something():
pass
|
a57a77ee813e059d55fee4eaf211b98fce9a51fa853c370a7ece9d4c5e06ca6e | Python | 122 | 2 | """RG-NFT: Reliability-Gated Neuro-Fuzzy Temporal Fusion for early driver drowsiness prediction."""
__version__ = "0.1.0"
|
ad8f5b13c3e247f69968bacda6fe337890efb7b1ea0a463559a995ed1540ceb6 | Python | 122 | 4 | from brainscore_vision import metric_registry
from .metric import ValueDelta
metric_registry['value_delta'] = ValueDelta
|
4e441279f2a8c5ebf0f85ccf64ef701166f965d10995e88fef771244f3b32690 | Python | 123 | 7 | from setuptools import setup, find_packages
setup(
name='humanobe',
version='0.1',
packages=find_packages(),
) |
65a713c8ca72073b2f9bf0e7a012d6ccde6927c07aa851464ee76279a004fca9 | Python | 123 | 4 | from brainscore_vision import metric_registry
from .ceiling import RSACeiling
metric_registry['rsa_ceiling'] = RSACeiling
|
dfeab7375dc82b9c285254145a8a21e92a71a974d38c869028adf89de6070312 | Python | 123 | 6 | from fastapi import FastAPI
from container import Container
class MainApp:
container = Container()
app = FastAPI() |
a30e382ab23d92cd34b3d542bcf62c81d0c1cc0098e26d30415758b678ed14e0 | Python | 124 | 8 | import pathlib
def main():
path = pathlib.Path(__file__)
print(f'-I{path.parent}')
if __name__ == '__main__':
main() |
ced7a6541f10e8b45ac52bfc0c3745cd99465155106ec55103b82f72cfef3213 | Python | 124 | 5 | """ Missing data approaches that delete values. """
from .complete_case import complete_case
__all__ = ["complete_case"]
|
8c01fa70e02ca6209ce6a6a363ae9f155714b15c154de9bf89e27b02c16447cc | Python | 125 | 4 | from __future__ import absolute_import
from .neuroCombat import neuroCombat
from .neuroCombat import neuroCombatFromTraining |
bad702f9b26981cf97ac06d0bf3bfa92191c0d4fbf9f3e7fb63455cd29d6e6ad | Python | 125 | 5 | # Module initialization
from .gsr import GSR
from .gsr_alternative import GSRAlternative
__all__ = ['GSR', 'GSRAlternative'] |
f65d839cc5d607dce1fa7391795a554e6b2c9ad75dda12cbad4c4ba6b9e7ec21 | Python | 125 | 9 | # content of test_sample.py
def func(x):
return x + 1
#def test_run():
def test_answer():
assert func(4) == 5
|
2e36993c3aaf1f359dd0430fe020c956e9307bf87f3e7b9b09908f0c99603c13 | Python | 126 | 5 | import pandas as pd
df = pd.read_csv(r'/data2/whr/czl/TwiBot22-baselines/datasets/Twibot-22/edge.csv')
print(df.to_string()) |
dad4bdb6b4e0529713f70098c70c139aeb383f02c293f53dd73e1e59d0f50cd2 | Python | 126 | 9 | import os
project = 'run_vp.out'
first = 0
last = 999
for i in range(first,last):
os.system("./" + project + " " + str(i)) |
f3abb2d9ded121aeaf5d79ce10861f5d717e69b64bf9857d5212f4ce4d478b34 | Python | 126 | 10 | # -*- coding: utf-8 -*-
def test_surface_apply_transfo():
# toDO
pass
def test_surface_flip():
# toDo
pass
|
3419e790879bca995df0765a5e25bb4653be50a4dc92a31c665ce2ceff2f4934 | Python | 127 | 4 | # mps/__init__.py
from .supernet import SuperNet, convert_to_supernet, ChoiceConfig
from .aihwkit_backend import AnalogConfig
|
402bb5d4aac44c8b3fe3406da3d064dab3e699eda9fa89c045c4726d843d2b2e | Python | 127 | 9 | import sys
sys.path.append("..")
from utils import get_data_dir
DATA_DIR = get_data_dir("206")
print(DATA_DIR / "Twibot22") |
5215b2c1f0ee397a4896c6931019d597a85e036917fe0b01c765396604db2af7 | Python | 127 | 15 | #! /usr/bin/env python
# aponteeduardo@gmail.com
# copyright (C) 2016
''''
'''
if __name__ == '__main__':
pass
|
6d28e1d7dd6c74e05a13f652f61361417b7953dde05aa21a60e1aa8df5a52de6 | Python | 127 | 4 | """Version information."""
# The following line *must* be the last in the module, exactly as formatted:
__version__ = "4.0.1"
|
82d48c1c4746cac01b958968e82c63eaed57f450922a274f53e78f11d553fbc6 | Python | 127 | 7 | """Public GUI entry point for Waven."""
from __future__ import annotations
from Waven.zebraGUI import run
__all__ = ["run"]
|
c7ac7917d51ed4ad6f9671b8b1dcad2ea50f653b7152d4b84585b00b8bb7066f | Python | 127 | 8 | from .setupDrop import *
from . import cli
from . import config
from . import utils
from . import demo
__version__ = "1.6.1"
|
edb41a20860cd811f0cad9927884ec638288213dc744dfbe03f62f9d8c5fef17 | Python | 127 | 15 | #! /usr/bin/env python
# aponteeduardo@gmail.com
# copyright (C) 2017
''''
'''
if __name__ == '__main__':
pass
|
31a965e5b4c40cfcaa07c6dd918d70a09ad59e3beb338e207af27dca627394ff | Python | 128 | 4 | from model.refer_mixup import *
from model.VAEoptimize_model import *
from model.DANST_model import *
from model.utils import *
|
5469f65fd97a3e21881c690907e79548772c87f643fd1af4223632e655e1e484 | Python | 128 | 3 | class FeatureVisException(Exception):
""" Catch-all exception for errors generated during feature visualization."""
pass |
c89d3452901f72d06857f939323a1a2be7cd8b7abfc25e753d416b66024918ff | Python | 128 | 7 | # -*- coding: utf-8 -*-
def test_recognize():
# todo:
# bundleseg = BundleSeg(...)
# bundleseg.recognize.
pass
|
dc06e1f6bb1c17571cdcb0f4e7989ed1b719667f9c26e8682d338d7f10f28bde | Python | 128 | 8 | from .bootstrap import bootstrap_ci
from .logging import setup_logging
__all__ = [
"bootstrap_ci",
"setup_logging",
]
|
7539fb86a55153e6c6cc14313f64c2ab21051c497a059683c98dbe4cb886298c | Python | 129 | 2 | from ._ligand_receptor_database import ligand_receptor_database, filter_lr_database
from ._spatial_mapping import spatial_mapping |
3cf53473323b111fdc98b3123f2800a38c096e0b1b8289ae50b5e542e5725002 | Python | 130 | 6 | from .quant import *
from .plot import *
__author__ = 'David Goertsen'
__email__ = 'dgoertsen@caltech.edu'
__version__ = '0.0.1'
|
a919b5b08f820dd964e3c6df3f93acd78d9b791f93da1bd306e5579f75ac6474 | Python | 130 | 2 | from .tests import lrt, wald, wald_repeated, t_test, rank_test, two_sample, pairwise, \
versus_rest, partition, continuous_1d
|
a9d8e4145278c00fab208023735cecd08f0609145bee03a0e9bb578530af727d | Python | 130 | 3 | # flake8: noqa
import deepreg.dataset.loader
from deepreg.dataset.preprocess import RandomAffineTransform3D, RandomDDFTransform3D
|
321fdf528c5feed0c30c80d56b015a5090dd00e13dcd258f11a983e24bd9e111 | Python | 131 | 4 | from brainscore_vision import benchmark_registry
from .benchmark import Objectnet
benchmark_registry['ObjectNet-top1'] = Objectnet |
cfed9400056c33771d5fdc987ce90fea0401758152c6c98bfaa6a3ef793d6b47 | Python | 131 | 5 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .rclone import *
from .utils import *
from .analysis import BaseAnalysisPlugin
|
409ad58c5b23e4e7ecfc3e81ac2cb27379c02edcb9d5dfb2107131418a898862 | Python | 132 | 5 | """Tutorial scripts, roughly in order of complexity.
TODO: convert to jupyter notebooks, move to docs folder with readthedocs.
""" |
967da7240acd251897eb9e7398c23f3168656eebeaa7467c722d167cf11fc8df | Python | 132 | 7 | from setuptools import setup, find_packages
setup(
name='foundcog_analysis',
version='0.1',
packages=find_packages(),
) |
caa9aa42d7312a5a453206bb50a3a7cf1612f767fc674426d1cae88e3dc809e3 | Python | 132 | 2 | # The hidden import is necessary for pandas 0.22.0+.
hiddenimports = ["pandas._libs.tslibs.timedeltas", "pandas._libs.tslibs.base"]
|
c45847ad76d2905d8a3744cb1303d88c90b63617bfc222e598c8ff681eafc9a6 | Python | 133 | 4 | from .graph_nn import GraphNeuralNetwork
from .attention import AttentionLayers
__all__ = ["GraphNeuralNetwork", "AttentionLayers"] |
2148b331db3a5d92dc4d4ccc7ba692b7bee8cb6310315c6562e275f915c01a3a | Python | 134 | 4 | from .cluster_analysis import ClusterAnalysis
from .refinement import ClusterTrainer
__all__ = ["ClusterAnalysis", "ClusterTrainer"] |
7f0b5ebd0768781f3a02513fd0104c15a32c42795c80f5e6f762d4d174a14838 | Python | 134 | 8 | import numpy as np
def getFs(opsFpath):
ops = np.load(opsFpath, allow_pickle=True).item()
fs = ops['fs']
return fs |
96bb5e3b41718b0c32470fb2387b05fc739134631e8900bfe2aa6bf9f1dc8abc | Python | 134 | 6 | from . import plot
from . import glove
from . import power
from . import model
from . import multiprocessing as mp
from .func import * |
5afeff058f6c76a91e0433bd91091e5f6ebf924560082ab4a7027050c427dc6e | Python | 135 | 5 | from .version import version as __version__ # noqa
from .utils import * # noqa
from .api import * # noqa
_ga_id = "UA-156363454-3"
|
94cee45a2d72d38ecfb9e4faa742f3db386bde58bfd4985d5d10c231d453ac99 | Python | 135 | 8 | import numpy as np
from typing import Any
def logit(x: np.ndarray) -> np.ndarray:
'''
'''
return 1 / (1 + np.exp(-x)) |
aa50355238d57449195b42043d1b14797fa9e65ef9895831c5d26f9c0d21cc8d | Python | 135 | 3 | # Copyright (c) OpenMMLab. All rights reserved.
from .evaluation import * # noqa: F401, F403
from .utils import * # noqa: F401, F403
|
85ddabb27fe1d20c89f9a041c01932eed85c6b6df264ba8d4f79bbdc7e1521bf | Python | 136 | 4 | from brainscore_vision import benchmark_registry
from .benchmark import Imagenet2012
benchmark_registry['ImageNet-top1'] = Imagenet2012 |
db78554926d4159b685426c4049d10240530900b2dce1ab14ae009e4a688fcb6 | Python | 137 | 5 | from .hotspot import *
from .hotspots_3d import *
from .interaction_hotspot import *
from .coexpression import *
from .geometry import *
|
2491124c0ef0fcaf2feb45db09ddb922a9ab28a1cbcf93a235ec4c1d8195da61 | Python | 138 | 7 | from .sentence_transformer import SentenceTransformer
from .llm import LLM
__all__ = classes = [
'SentenceTransformer',
'LLM',
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.