Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
null | qimera-main/pytorchcv/models/wrn.py | """
WRN for ImageNet-1K, implemented in PyTorch.
Original paper: 'Wide Residual Networks,' https://arxiv.org/abs/1605.07146.
"""
__all__ = ['WRN', 'wrn50_2']
import os
import torch.nn as nn
import torch.nn.init as init
class WRNConv(nn.Module):
"""
WRN specific convolution block.
Parameters:
... | 11,401 | 26.474699 | 115 | py |
null | qimera-main/pytorchcv/models/wrn1bit_cifar.py | """
WRN-1bit for CIFAR/SVHN, implemented in PyTorch.
Original paper: 'Training wide residual networks for deployment using a single bit for each weight,'
https://arxiv.org/abs/1802.08530.
"""
__all__ = ['CIFARWRN1bit', 'wrn20_10_1bit_cifar10', 'wrn20_10_1bit_cifar100', 'wrn20_10_1bit_svhn',
'wrn... | 24,899 | 30.558935 | 115 | py |
null | qimera-main/pytorchcv/models/wrn_cifar.py | """
WRN for CIFAR/SVHN, implemented in PyTorch.
Original paper: 'Wide Residual Networks,' https://arxiv.org/abs/1605.07146.
"""
__all__ = ['CIFARWRN', 'wrn16_10_cifar10', 'wrn16_10_cifar100', 'wrn16_10_svhn', 'wrn28_10_cifar10',
'wrn28_10_cifar100', 'wrn28_10_svhn', 'wrn40_8_cifar10', 'wrn40_8_cifar... | 11,329 | 33.126506 | 119 | py |
null | qimera-main/pytorchcv/models/xception.py | """
Xception for ImageNet-1K, implemented in PyTorch.
Original paper: 'Xception: Deep Learning with Depthwise Separable Convolutions,' https://arxiv.org/abs/1610.02357.
"""
__all__ = ['Xception', 'xception']
import os
import torch.nn as nn
import torch.nn.init as init
from .common import conv1x1_block, conv3x... | 11,572 | 27.717122 | 118 | py |
null | qimera-main/pytorchcv/models/xdensenet.py | """
X-DenseNet for ImageNet-1K, implemented in PyTorch.
Original paper: 'Deep Expander Networks: Efficient Deep Networks from Graph Theory,'
https://arxiv.org/abs/1711.08757.
"""
__all__ = ['XDenseNet', 'xdensenet121_2', 'xdensenet161_2', 'xdensenet169_2', 'xdensenet201_2', 'pre_xconv3x3_block',
... | 16,251 | 30.015267 | 117 | py |
null | qimera-main/pytorchcv/models/xdensenet_cifar.py | """
X-DenseNet for CIFAR/SVHN, implemented in PyTorch.
Original paper: 'Deep Expander Networks: Efficient Deep Networks from Graph Theory,'
https://arxiv.org/abs/1711.08757.
"""
__all__ = ['CIFARXDenseNet', 'xdensenet40_2_k24_bc_cifar10', 'xdensenet40_2_k24_bc_cifar100',
'xdensenet40_2_k24_bc_sv... | 12,852 | 33.831978 | 115 | py |
null | qimera-main/pytorchcv/models/zfnet.py | """
ZFNet for ImageNet-1K, implemented in PyTorch.
Original paper: 'Visualizing and Understanding Convolutional Networks,' https://arxiv.org/abs/1311.2901.
"""
__all__ = ['zfnet', 'zfnetb']
import os
from .alexnet import AlexNet
def get_zfnet(version="a",
model_name=None,
pretrai... | 3,659 | 26.727273 | 115 | py |
null | qimera-main/quantization_utils/quant_modules.py | # *
# @file Different utility functions
# Copyright (c) Yaohui Cai, Zhewei Yao, Zhen Dong, Amir Gholami
# All rights reserved.
# This file is part of ZeroQ repository.
#
# ZeroQ is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Soft... | 5,819 | 29.15544 | 121 | py |
null | qimera-main/quantization_utils/quant_utils.py | #*
# @file Different utility functions
# Copyright (c) Yaohui Cai, Zhewei Yao, Zhen Dong, Amir Gholami
# All rights reserved.
# This file is part of ZeroQ repository.
#
# ZeroQ is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Softw... | 5,077 | 35.271429 | 100 | py |
null | qimera-main/utils/__init__.py | from utils.lr_policy import *
from utils.compute import *
from utils.log_print import *
from utils.model_transform import *
# from utils.ifeige import * | 152 | 29.6 | 35 | py |
null | qimera-main/utils/compute.py | import numpy as np
import math
import torch
__all__ = ["compute_tencrop", "compute_singlecrop", "AverageMeter"]
def compute_tencrop(outputs, labels):
output_size = outputs.size()
outputs = outputs.view(output_size[0] / 10, 10, output_size[1])
outputs = outputs.sum(1).squeeze(1)
# compute top1
_,... | 2,826 | 30.065934 | 88 | py |
null | qimera-main/utils/log_print.py | from termcolor import colored
import numpy as np
import datetime
__all__ = ["compute_remain_time", "print_result", "print_weight", "print_grad"]
single_train_time = 0
single_test_time = 0
single_train_iters = 0
single_test_iters = 0
def compute_remain_time(epoch, nEpochs, count, iters, data_time, iter_time, mode=... | 3,280 | 38.53012 | 124 | py |
null | qimera-main/utils/lr_policy.py | """
class LRPolicy
"""
import math
__all__ = ["LRPolicy"]
class LRPolicy:
"""
learning rate policy
"""
def __init__(self, lr, n_epochs, lr_policy="multi_step"):
self.lr_policy = lr_policy
self.params_dict = {}
self.n_epochs = n_epochs
self.base_lr = lr
self.lr... | 4,374 | 32.396947 | 86 | py |
null | qimera-main/utils/model_transform.py | import torch.nn as nn
import torch
import numpy as np
__all__ = ["data_parallel", "model2list",
"list2sequential", "model2state_dict"]
def data_parallel(model, ngpus, gpu0=0):
"""
assign model to multi-gpu mode
:params model: target model
:params ngpus: number of gpus to use
:params gp... | 1,928 | 27.791045 | 79 | py |
null | qimera-main/utils/opt_static.py | """
TODO: add doc for module
"""
import torch
__all__ = ["NetOption"]
"""
You can run your script with CUDA_VISIBLE_DEVICES=5,6 python your_script.py
or set the environment variable in the script by os.environ['CUDA_VISIBLE_DEVICES'] = '5,6'
to map GPU 5, 6 to device_ids 0, 1, respectively.
"""
class NetOption(object)... | 4,045 | 42.978261 | 137 | py |
null | qimera-main/utils/warmup.py | from torchlearning.mio import MIO
train_dataset = MIO("/home/datasets/imagenet_mio/train/")
test_dataset = MIO("/home/datasets/imagenet_mio/val/")
for i in range(train_dataset.size):
print(i)
train_dataset.fetchone(i)
for i in range(test_dataset.size):
print(i)
test_dataset.fetchone(i) | 304 | 26.727273 | 57 | py |
sacremoses | sacremoses-master/.appveyor.yml | image: Visual Studio 2019
platform: x64
configuration: Release
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
# C.f. https://github.com/og... | 1,352 | 34.605263 | 83 | yml |
sacremoses | sacremoses-master/.travis.yml | language: python
os: linux
dist: focal
addons:
apt:
packages:
- expect-dev
python: # https://docs.travis-ci.com/user/languages/python/
- "3.6"
- "3.8"
- "3.9"
- "pypy3"
- "3.10.1"
cache: pip
install:
- pip install joblib # For parallelization.
- pip install click # For CLI.
- pip in... | 492 | 16.607143 | 68 | yml |
sacremoses | sacremoses-master/CONTRIBUTORS.md | Contributors
====
|Contributor | Pull Request / Issue |
|:-|:-|
| [Bo Li](https://github.com/askender) | #5, #6 |
| [Patrick Düggelin](https://github.com/Patdue) | #9 |
| [Myle Ott](https://github.com/myleott) | #36 |
| [David Harrison](https://github.com/DavidHarrison) | #41, #47 |
| [yannvgn](h... | 699 | 40.176471 | 66 | md |
sacremoses | sacremoses-master/README.md | # Sacremoses
[](https://travis-ci.org/alvations/sacremoses)
[](https://ci.appveyor.com/project/alvations/sacremoses)
[
| 96 | 12.857143 | 34 | py |
sacremoses | sacremoses-master/sacremoses/chinese.py | # -*- coding: utf-8 -*-
from functools import partial
# gbk <-> big5 mappings from Mafan + Jianfan
# https://github.com/hermanschaaf/mafan
# https://code.google.com/archive/p/python-jianfan/
simplified_chinese = (
gbk
) = "\u9515\u7691\u853c\u788d\u7231\u55f3\u5ad2\u7477\u66a7\u972d\u8c19\u94f5\u9e4c\u80ae\u8884... | 28,937 | 1,032.5 | 14,160 | py |
sacremoses | sacremoses-master/sacremoses/cli.py | # -*- coding: utf-8 -*-
import os
from copy import deepcopy
from functools import partial
from functools import update_wrapper
import click
from sacremoses.tokenize import MosesTokenizer, MosesDetokenizer
from sacremoses.truecase import MosesTruecaser, MosesDetruecaser
from sacremoses.normalize import MosesPunctNorm... | 9,156 | 26.334328 | 118 | py |
sacremoses | sacremoses-master/sacremoses/corpus.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import pkgutil
class Perluniprops:
"""
This class is used to read lists of characters from the Perl Unicode
Properties (see http://perldoc.perl.org/perluniprops.html).
The files in the perluniprop.zip are extracted using the Unicode::Tussle
... | 5,393 | 33.356688 | 119 | py |
sacremoses | sacremoses-master/sacremoses/indic.py | #
# Created by: Thamme Gowda ; June 2020
#
# https://en.wikipedia.org/wiki/Virama
VIRAMAS = [
"\u094D", # Devanagari ◌्
"\u09CD", # Bengali ◌্
"\u0A4D", # Gurmukhi ◌੍
"\u0ACD", # Gujarati ◌્
"\u0B4D", # Oriya ◌୍
"\u0BCD", # Tamil ◌்
"\u0C4D", # Telugu ◌్
"\u0CCD", # Kannada ◌್
... | 2,248 | 29.391892 | 53 | py |
sacremoses | sacremoses-master/sacremoses/normalize.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
import regex
from itertools import chain
class MosesPunctNormalizer:
"""
This is a Python port of the Moses punctuation normalizer from
https://github.com/moses-smt/mosesdecoder/blob/master/scripts/tokenizer/normalize-punctuation.perl
"""
... | 5,577 | 26.89 | 110 | py |
sacremoses | sacremoses-master/sacremoses/sent_tokenize.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from sacremoses.corpus import Perluniprops
from sacremoses.corpus import NonbreakingPrefixes
perluniprops = Perluniprops()
nonbreaking_prefixes = NonbreakingPrefixes()
class MosesSentTokenizer(object):
"""
This is a Python port of the Moses Tokenizer... | 2,911 | 40.6 | 172 | py |
sacremoses | sacremoses-master/sacremoses/subwords.py | # -*- coding: utf-8 -*-
from __future__ import print_function
import copy
from collections import Counter, defaultdict
from functools import reduce
from sacremoses.util import pairwise
class SubwordTokenizer(object):
"""
This is a Python port of the Subword NMT from
https://github.com/rsennrich/subword... | 8,383 | 44.814208 | 118 | py |
sacremoses | sacremoses-master/sacremoses/tokenize.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from sacremoses.corpus import Perluniprops
from sacremoses.corpus import NonbreakingPrefixes
from sacremoses.util import is_cjk
from sacremoses.indic import VIRAMAS, NUKTAS
perluniprops = Perluniprops()
nonbreaking_prefixes = NonbreakingPrefixes()
class Mose... | 31,128 | 36.595411 | 93 | py |
sacremoses | sacremoses-master/sacremoses/truecase.py | # -*- coding: utf-8 -*-
from __future__ import print_function
import re
from collections import defaultdict, Counter
from functools import partial
from itertools import chain
from sacremoses.corpus import Perluniprops
from sacremoses.util import parallelize_preprocess, grouper
# Hack to enable Python2.7 to use enco... | 18,635 | 34.701149 | 150 | py |
sacremoses | sacremoses-master/sacremoses/util.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from itertools import tee, zip_longest
from xml.sax.saxutils import escape, unescape
from joblib import Parallel, delayed
from tqdm import tqdm
class CJKChars(object):
"""
An object that enumerates the code points of the CJK characters as listed on
http://e... | 6,482 | 29.294393 | 189 | py |
sacremoses | sacremoses-master/sacremoses/data/nonbreaking_prefixes/nonbreaking_prefix.cs | Bc
BcA
Ing
Ing.arch
MUDr
MVDr
MgA
Mgr
JUDr
PhDr
RNDr
PharmDr
ThLic
ThDr
Ph.D
Th.D
prof
doc
CSc
DrSc
dr. h. c
PaedDr
Dr
PhMr
DiS
abt
ad
a.i
aj
angl
anon
apod
atd
atp
aut
bd
biogr
b.m
b.p
b.r
cca
cit
cizojaz
c.k
col
čes
čín
čj
ed
facs
fasc
fol
fot
franc
h.c
hist
hl
hrsg
ibid
il
ind
inv.č
jap
jhdt
jv
koed
kol
korej
kl
kri... | 1,823 | 3.676923 | 12 | cs |
sacremoses | sacremoses-master/sacremoses/data/nonbreaking_prefixes/nonbreaking_prefix.pl | adw
afr
akad
al
Al
am
amer
arch
art
Art
artyst
astr
austr
bałt
bdb
bł
bm
br
bryg
bryt
centr
ces
chem
chiń
chir
c.k
c.o
cyg
cyw
cyt
czes
czw
cd
Cd
czyt
ćw
ćwicz
daw
dcn
dekl
demokr
det
diec
dł
dn
dot
dol
dop
dost
dosł
h.c
ds
dst
duszp
dypl
egz
ekol
ekon
elektr
em
ew
fab
farm
fot
fr
gat
gastr
geogr
geol
gimn
głęb
gm
godz... | 1,265 | 3.457746 | 18 | pl |
sacremoses | sacremoses-master/sacremoses/test/test_corpus.py | # -*- coding: utf-8 -*-
"""
Tests for corpus.py
"""
import sys
import doctest
import unittest
from sacremoses import corpus
class CorpusTest(unittest.TestCase):
def test_perluniprops_chars_sanity_check(self):
perluniprops = corpus.Perluniprops()
for category in perluniprops.available_categories... | 2,698 | 33.164557 | 87 | py |
sacremoses | sacremoses-master/sacremoses/test/test_no_redos_has_numeric_only.py | import time
import unittest
from collections import defaultdict
from sacremoses.corpus import NonbreakingPrefixes
from sacremoses.tokenize import MosesTokenizer
class HasNumericOnlyPatched(unittest.TestCase):
def test_expected_num_only_prefixes(self):
"""Testing if the functionality of the NUMERIC_ONLY_P... | 5,222 | 64.2875 | 117 | py |
sacremoses | sacremoses-master/sacremoses/test/test_normalizer.py | # -*- coding: utf-8 -*-
"""
Tests for MosesTokenizer
"""
import unittest
from sacremoses.normalize import MosesPunctNormalizer
class TestNormalizer(unittest.TestCase):
def test_moses_normalize_documents(self):
moses = MosesPunctNormalizer()
# Examples from normalizing big.txt
inputs = [... | 2,948 | 39.39726 | 88 | py |
sacremoses | sacremoses-master/sacremoses/test/test_tokenizer.py | # -*- coding: utf-8 -*-
"""
Tests for MosesTokenizer
"""
import unittest
from sacremoses.tokenize import MosesTokenizer, MosesDetokenizer
class TestTokenzier(unittest.TestCase):
def test_moses_tokenize(self):
moses = MosesTokenizer()
# Tokenize a sentence.
text = (
"This, i... | 11,247 | 32.47619 | 211 | py |
sacremoses | sacremoses-master/sacremoses/test/test_truecaser.py | # -*- coding: utf-8 -*-
"""
Tests for MosesTokenizer
"""
import os
import unittest
import urllib.request
from sacremoses.truecase import MosesTruecaser, MosesDetruecaser
def get_content(url):
with urllib.request.urlopen(url) as response:
return response.read() # Returns http.client.HTTPResponse.
cla... | 4,123 | 33.949153 | 88 | py |
null | DecSPS-main/README.md | # DecSPS
Official code for "Dynamics of SGD with Stochastic Polyak Stepsizes: Truly Adaptive Variants and Convergence to Exact Solution"
https://arxiv.org/pdf/2205.04583.pdf
| 175 | 34.2 | 127 | md |
null | DecSPS-main/Real Datasets/methods.py | import numpy as np
from numpy import linalg as la
import random
import math
def SGD(cost, grad, hess, K, gamma, x0, batch_size, n):
#batches
batch = []
for i in range(K): batch.append(random.sample(range(n),batch_size))
## initialization
x = [x0 for i in range(K)]
f = np.zeros((K,))
... | 9,036 | 30.378472 | 108 | py |
null | DecSPS-main/Toy Dataset/methods.py | import numpy as np
from numpy import linalg as la
import random
import math
def SGD(cost, grad, hess, K, gamma, x0, batch_size, n):
#batches
batch = []
for i in range(K): batch.append(random.sample(range(n),batch_size))
## initialization
x = [x0 for i in range(K)]
f = np.zeros((K,))
... | 6,231 | 29.4 | 108 | py |
AMG | AMG-master/HYPRE.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,050 | 30.553846 | 81 | h |
AMG | AMG-master/IJ_mv/HYPRE_IJMatrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 25,929 | 25.086519 | 92 | c |
AMG | AMG-master/IJ_mv/HYPRE_IJVector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 16,347 | 24.464174 | 88 | c |
AMG | AMG-master/IJ_mv/HYPRE_IJ_mv.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 17,922 | 37.297009 | 81 | h |
AMG | AMG-master/IJ_mv/IJMatrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,668 | 29.322314 | 111 | c |
AMG | AMG-master/IJ_mv/IJMatrix_parcsr.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 140,326 | 32.546976 | 100 | c |
AMG | AMG-master/IJ_mv/IJVector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,778 | 27.947917 | 81 | c |
AMG | AMG-master/IJ_mv/IJVector_parcsr.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 46,277 | 30.142665 | 94 | c |
AMG | AMG-master/IJ_mv/IJ_assumed_part.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 5,686 | 35.22293 | 97 | c |
AMG | AMG-master/IJ_mv/IJ_matrix.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,194 | 41.373737 | 87 | h |
AMG | AMG-master/IJ_mv/IJ_vector.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,239 | 36.674419 | 86 | h |
AMG | AMG-master/IJ_mv/_hypre_IJ_mv.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 20,542 | 53.203166 | 245 | h |
AMG | AMG-master/IJ_mv/aux_par_vector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,643 | 33.704762 | 81 | c |
AMG | AMG-master/IJ_mv/aux_par_vector.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,631 | 46.854545 | 83 | h |
AMG | AMG-master/IJ_mv/aux_parcsr_matrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 7,057 | 34.646465 | 86 | c |
AMG | AMG-master/IJ_mv/aux_parcsr_matrix.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 5,131 | 53.021053 | 86 | h |
AMG | AMG-master/IJ_mv/headers.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,038 | 36.107143 | 81 | h |
AMG | AMG-master/krylov/HYPRE_MatvecFunctions.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,565 | 42.5 | 81 | h |
AMG | AMG-master/krylov/HYPRE_gmres.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 11,615 | 33.064516 | 87 | c |
AMG | AMG-master/krylov/HYPRE_krylov.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 13,743 | 27.279835 | 86 | h |
AMG | AMG-master/krylov/HYPRE_pcg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 12,762 | 33.034667 | 85 | c |
AMG | AMG-master/krylov/gmres.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 42,365 | 32.974338 | 99 | c |
AMG | AMG-master/krylov/gmres.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 5,459 | 30.37931 | 83 | h |
AMG | AMG-master/krylov/krylov.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 23,667 | 43.322097 | 178 | h |
AMG | AMG-master/krylov/old_gmres.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 32,181 | 31.376258 | 90 | c |
AMG | AMG-master/krylov/pcg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 39,887 | 32.379079 | 99 | c |
AMG | AMG-master/krylov/pcg.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 7,406 | 34.440191 | 89 | h |
AMG | AMG-master/parcsr_ls/HYPRE_parcsr_amg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 45,262 | 35.297514 | 99 | c |
AMG | AMG-master/parcsr_ls/HYPRE_parcsr_gmres.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 8,273 | 35.449339 | 81 | c |
AMG | AMG-master/parcsr_ls/HYPRE_parcsr_ls.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 52,977 | 36.895565 | 107 | h |
AMG | AMG-master/parcsr_ls/HYPRE_parcsr_pcg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 11,088 | 34.428115 | 81 | c |
AMG | AMG-master/parcsr_ls/_hypre_parcsr_ls.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 66,694 | 74.446833 | 566 | h |
AMG | AMG-master/parcsr_ls/ams.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 149,125 | 37.494063 | 104 | c |
AMG | AMG-master/parcsr_ls/ams.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 7,471 | 37.715026 | 89 | h |
AMG | AMG-master/parcsr_ls/aux_interp.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 24,688 | 28.603118 | 175 | c |
AMG | AMG-master/parcsr_ls/aux_interp.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,478 | 40.316667 | 141 | h |
AMG | AMG-master/parcsr_ls/gen_redcs_mat.c | #include "_hypre_parcsr_ls.h"
#include "par_amg.h"
#define USE_ALLTOALL 0
/* here we have the sequential setup and solve - called from the
* parallel one - for the coarser levels */
HYPRE_Int hypre_seqAMGSetup( hypre_ParAMGData *amg_data,
HYPRE_Int p_level,
HYPRE_Int coa... | 18,580 | 30.871355 | 101 | c |
AMG | AMG-master/parcsr_ls/headers.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,017 | 36.703704 | 81 | h |
AMG | AMG-master/parcsr_ls/par_add_cycle.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 40,284 | 34.808889 | 97 | c |
AMG | AMG-master/parcsr_ls/par_amg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 75,562 | 24.459232 | 91 | c |
AMG | AMG-master/parcsr_ls/par_amg.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 14,437 | 41.589971 | 91 | h |
AMG | AMG-master/parcsr_ls/par_amg_setup.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 65,267 | 39.438662 | 134 | c |
AMG | AMG-master/parcsr_ls/par_amg_solve.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 12,285 | 33.804533 | 106 | c |
AMG | AMG-master/parcsr_ls/par_cg_relax_wt.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 11,180 | 30.144847 | 81 | c |
AMG | AMG-master/parcsr_ls/par_cheby.c | /******************************************************************************
*
* Chebyshev setup and solve
*
*****************************************************************************/
#include "_hypre_parcsr_ls.h"
#include "_hypre_parcsr_mv.h"
#include "float.h"
/******************************************... | 10,320 | 30.275758 | 185 | c |
AMG | AMG-master/parcsr_ls/par_coarse_parms.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,527 | 29.802721 | 147 | c |
AMG | AMG-master/parcsr_ls/par_coarsen.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 82,574 | 30.445164 | 138 | c |
AMG | AMG-master/parcsr_ls/par_coordinates.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,564 | 26.880435 | 81 | c |
AMG | AMG-master/parcsr_ls/par_cycle.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 17,740 | 35.730849 | 101 | c |
AMG | AMG-master/parcsr_ls/par_difconv.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 10,430 | 27.422343 | 81 | c |
AMG | AMG-master/parcsr_ls/par_indepset.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 7,220 | 32.742991 | 81 | c |
AMG | AMG-master/parcsr_ls/par_interp.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 150,307 | 33.006335 | 246 | c |
AMG | AMG-master/parcsr_ls/par_lr_interp.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 160,866 | 29.243843 | 264 | c |
AMG | AMG-master/parcsr_ls/par_multi_interp.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 74,513 | 35.13676 | 225 | c |
AMG | AMG-master/parcsr_ls/par_nodal_systems.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 36,939 | 29.604805 | 97 | c |
AMG | AMG-master/parcsr_ls/par_nongalerkin.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 102,298 | 43.711101 | 151 | c |