repo
stringlengths
1
99
file
stringlengths
13
215
code
stringlengths
12
59.2M
file_length
int64
12
59.2M
avg_line_length
float64
3.82
1.48M
max_line_length
int64
12
2.51M
extension_type
stringclasses
1 value
HPOBench
HPOBench-master/tests/test_server.py
import importlib import logging import os def set_log_level(debug): os.environ['HPOBENCH_DEBUG'] = 'true' if debug else 'false' import hpobench.container.client_abstract_benchmark as client importlib.reload(client) def test_debug_env_variable_1(): set_log_level(False) from hpobench.container.cli...
1,141
28.282051
100
py
HPOBench
HPOBench-master/tests/test_container_availbable.py
import subprocess import logging # from hpobench import config_file # Currently, the gitlab registry does not easily support the search functionality. # The container are still available on sylabs (old registry), in case the gitlab registry is somehow not reachable. # TODO: Write a search functionality for the gitlab ...
1,558
35.255814
115
py
HPOBench
HPOBench-master/tests/test_whitebox.py
import logging import numpy as np import pytest logging.basicConfig(level=logging.DEBUG) try: import Pyro4 skip_container_test = False except ImportError: skip_container_test = True def test_whitebox_without_container_xgb(): from hpobench.benchmarks.ml.xgboost_benchmark_old import XGBoostBenchmark...
2,853
35.589744
122
py
HPOBench
HPOBench-master/tests/test_utils.py
import numpy as np import pytest def test_example_utils(): from hpobench.util.example_utils import get_travis_settings res = get_travis_settings('smac') assert res['runcount-limit'] == 5 res = get_travis_settings('bohb') assert res['max_budget'] == 2 with pytest.raises(ValueError): ...
3,305
29.611111
109
py
HPOBench
HPOBench-master/hpobench/benchmarks/od/od_ae.py
import logging import time from typing import Union, Dict import ConfigSpace as CS import ConfigSpace.hyperparameters as CSH import numpy as np import pytorch_lightning as pl import hpobench.util.rng_helper as rng_helper from hpobench.abstract_benchmark import AbstractBenchmark from hpobench.dependencies.od.backbones...
16,810
37.645977
118
py
HPOBench
HPOBench-master/hpobench/benchmarks/ml/xgboost_benchmark_old.py
""" Changelog: ========== 0.0.3 * New container release due to a general change in the communication between container and HPOBench. Works with HPOBench >= v0.0.8 0.0.2: * Change the search space definiton to match the paper: (https://arxiv.org/pdf/1802.09596.pdf) eta: [1e-5, 1] (def: 0.3) -> ...
19,783
44.902552
119
py
HPOBench
HPOBench-master/hpobench/benchmarks/ml/xgboost_benchmark.py
""" Changelog: ========== 0.0.1: * First implementation of the new XGB Benchmarks. """ from typing import Union, Tuple, Dict import ConfigSpace as CS import numpy as np import xgboost as xgb from ConfigSpace.hyperparameters import Hyperparameter from hpobench.dependencies.ml.ml_benchmark_template import MLBenchmark ...
4,909
35.917293
120
py
HPOBench
HPOBench-master/hpobench/benchmarks/ml/__init__.py
from hpobench.benchmarks.ml.histgb_benchmark import HistGBBenchmark, HistGBBenchmarkBB, HistGBBenchmarkMF from hpobench.benchmarks.ml.lr_benchmark import LRBenchmark, LRBenchmarkBB, LRBenchmarkMF from hpobench.benchmarks.ml.nn_benchmark import NNBenchmark, NNBenchmarkBB, NNBenchmarkMF from hpobench.benchmarks.ml.rf_ben...
1,191
50.826087
113
py
HPOBench
HPOBench-master/hpobench/container/client_abstract_benchmark.py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Defines the client-side for using benchmarks with containers AbstractBenchmarkClient defines the client side for the communication between the containers and the client. It is used to download (if not already) and start containers in the background. To reduce download t...
24,713
46.98835
120
py
HPOBench
HPOBench-master/hpobench/container/server_abstract_benchmark.py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Defines the server-side for using benchmarks with containers BenchmarkServer defines the server side for the communication between the container (benchmark) and the client. It starts the Pyro4 server and awaits commands from the client. Make sure that all payloads are js...
5,291
38.789474
113
py
HPOBench
HPOBench-master/hpobench/container/benchmarks/ml/xgboost_benchmark_old.py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Benchmark for the XGBoost Benchmark from hpobench/benchmarks/ml/xgboost_benchmark """ from hpobench.container.client_abstract_benchmark import AbstractBenchmarkClient class XGBoostBenchmark(AbstractBenchmarkClient): def __init__(self, task_id: int, **kwargs): ...
1,090
42.64
91
py
HPOBench
HPOBench-master/hpobench/container/benchmarks/ml/svm_benchmark_old.py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Benchmark for the XGBoost Benchmark from hpobench/benchmarks/ml/xgboost_benchmark """ from hpobench.container.client_abstract_benchmark import AbstractBenchmarkClient class SupportVectorMachine(AbstractBenchmarkClient): def __init__(self, task_id: int, **kwargs): ...
649
39.625
89
py
HPOBench
HPOBench-master/hpobench/container/benchmarks/ml/xgboost_benchmark.py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Benchmark for the XGB Benchmarks from hpobench/benchmarks/ml_mmfb/xgboost_benchmark.py """ from hpobench.container.client_abstract_benchmark import AbstractBenchmarkClient class XGBoostBenchmark(AbstractBenchmarkClient): def __init__(self, **kwargs): kwargs...
1,806
42.02381
95
py
HPOBench
HPOBench-master/hpobench/container/benchmarks/ml/__init__.py
from hpobench.container.benchmarks.ml.histgb_benchmark import HistGBBenchmark, HistGBBenchmarkBB, HistGBBenchmarkMF from hpobench.container.benchmarks.ml.lr_benchmark import LRBenchmark, LRBenchmarkBB, LRBenchmarkMF from hpobench.container.benchmarks.ml.nn_benchmark import NNBenchmark, NNBenchmarkBB, NNBenchmarkMF from...
1,209
66.222222
119
py
HPOBench
HPOBench-master/hpobench/dependencies/od/data_manager.py
import os from typing import Union from urllib.request import urlretrieve import numpy as np import scipy.io import torch from torch.utils.data import Dataset, DataLoader import hpobench from hpobench.util.data_manager import CrossvalidationDataManager from hpobench.util.rng_helper import get_rng ODDS_PATH = 'https:...
14,595
41.803519
118
py
HPOBench
HPOBench-master/hpobench/dependencies/od/callbacks/checkpoint_saver.py
import pytorch_lightning as pl class CheckpointSaver(pl.Callback): def __init__(self): self.best_checkpoint = None def save(self, trainer, model): """ Saves the best weights locally. """ checkpoint = { 'should_stop': trainer.should_stop, 'curre...
1,222
28.829268
67
py
HPOBench
HPOBench-master/hpobench/dependencies/od/callbacks/earlystopping.py
import pytorch_lightning as pl class EarlyStopping(pl.Callback): def __init__(self, activated: bool, patience: int, worst_loss: float): self.patience = patience self.lowest_loss = worst_loss self.counter = 0 self.activated = activated def setup(self, trainer, model, stage): ...
775
26.714286
74
py
HPOBench
HPOBench-master/hpobench/dependencies/od/models/autoencoder.py
import numpy as np import pytorch_lightning as pl import torch import torch.nn.functional as F from sklearn.metrics import precision_recall_curve, auc from torch import nn class Autoencoder(pl.LightningModule): def __init__(self, backbone, config): super().__init__() self.config = config ...
3,008
27.121495
84
py
HPOBench
HPOBench-master/hpobench/dependencies/od/utils/activations.py
import torch import torch.nn as nn from torch.nn.parameter import Parameter class Swish(nn.Module): def __init__(self, train_beta=False): super(Swish, self).__init__() if train_beta: self.weight = Parameter(torch.Tensor([1.])) else: self.weight = 1.0 def forwar...
520
20.708333
57
py
HPOBench
HPOBench-master/hpobench/dependencies/od/backbones/mlp.py
import torch from torch import nn from hpobench.dependencies.od.utils.activations import ACTIVATIONS class Block(nn.Module): def __init__(self, in_channels, out_channels, activation, batch_normalization=False, dropout_rate=0.0): super().__init__() self.batch_normalization = batch_normalization ...
5,475
33.878981
107
py
ogb-geniepath-bs
ogb-geniepath-bs-master/models.py
import numpy as np import tensorflow as tf flags = tf.app.flags FLAGS = flags.FLAGS def attention_mechanism(name, v, W_s, W_d, V, cur_embed, left, right, n2n): # a_{i,j} \propto v^\top tanh (W_s (\mu_i + \mu_j)) if name == 'linear': t = tf.sparse_tensor_dense_matmul(sp_a=edge, b=cur_embed) # edge \in...
17,225
42.5
125
py
REINVENT
REINVENT-master/train_agent.py
#!/usr/bin/env python import torch import pickle import numpy as np import time import os from shutil import copyfile from model import RNN from data_structs import Vocabulary, Experience from scoring_functions import get_scoring_function from utils import Variable, seq_to_smiles, fraction_valid_smiles, unique from v...
7,944
45.461988
115
py
REINVENT
REINVENT-master/utils.py
import torch import numpy as np from rdkit import Chem def Variable(tensor): """Wrapper for torch.autograd.Variable that also accepts numpy arrays directly and automatically assigns it to the GPU. Be aware in case some operations are better left to the CPU.""" if isinstance(tensor, np.ndar...
1,554
33.555556
97
py
REINVENT
REINVENT-master/model.py
#!/usr/bin/env python import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from utils import Variable class MultiGRU(nn.Module): """ Implements a three layer GRU cell including an embedding layer and an output linear layer back to the size of the vocabulary""" def __in...
4,805
34.338235
80
py
REINVENT
REINVENT-master/data_structs.py
import numpy as np import random import re import pickle from rdkit import Chem import sys import time import torch from torch.utils.data import Dataset from utils import Variable class Vocabulary(object): """A class for handling encoding/decoding from SMILES to an array of indices""" def __init__(self, init_...
12,006
36.639498
107
py
REINVENT
REINVENT-master/train_prior.py
#!/usr/bin/env python import torch from torch.utils.data import DataLoader import pickle from rdkit import Chem from rdkit import rdBase from tqdm import tqdm from data_structs import MolData, Vocabulary from model import RNN from utils import Variable, decrease_learning_rate rdBase.DisableLog('rdApp.error') def pre...
2,622
34.445946
107
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/train_qpskofdm_dnn.py
import os os.environ['PYTHONHASHSEED'] = '0' import numpy as np from tqdm import tqdm import pickle from tqdm import tqdm import rfcutils import rfcutils.ofdm_helper_fn as ofdmfn from src.densenn import get_dnn_model import tensorflow as tf import random from tensorflow.keras.callbacks import ModelCheckpoint, EarlyS...
1,268
32.394737
192
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/train_qpskofdm_vae.py
import os os.environ['PYTHONHASHSEED'] = '0' import numpy as np from tqdm import tqdm import pickle from tqdm import tqdm import rfcutils import rfcutils.ofdm_helper_fn as ofdmfn from src.vae import get_encoder_model, get_decoder_model, get_vae_model import tensorflow as tf import random from tensorflow.keras.callba...
1,760
36.468085
192
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/train_qpskofdm_unet.py
import os os.environ['PYTHONHASHSEED'] = '0' import numpy as np from tqdm import tqdm import pickle from tqdm import tqdm import rfcutils import rfcutils.ofdm_helper_fn as ofdmfn from src import unet_model as unet import tensorflow as tf import random from tensorflow.keras.callbacks import ModelCheckpoint, EarlyStop...
2,584
42.813559
213
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/train_qpskofdm_waveunet.py
import os os.environ['PYTHONHASHSEED'] = '0' import numpy as np from tqdm import tqdm import pickle from tqdm import tqdm import rfcutils import rfcutils.ofdm_helper_fn as ofdmfn from src import waveunet_model as unet import tensorflow as tf import random from tensorflow.keras.callbacks import ModelCheckpoint, Early...
1,718
34.8125
207
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/train_qpskofdm_rnn.py
import os os.environ['PYTHONHASHSEED'] = '0' import numpy as np from tqdm import tqdm import pickle from tqdm import tqdm import rfcutils import rfcutils.ofdm_helper_fn as ofdmfn from src.rnn import get_rnn_model import tensorflow as tf import random from tensorflow.keras.callbacks import ModelCheckpoint, EarlyStopp...
1,269
32.421053
193
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/train_qpskofdm_vae_longksz.py
import os os.environ['PYTHONHASHSEED'] = '0' import numpy as np from tqdm import tqdm import pickle from tqdm import tqdm import rfcutils import rfcutils.ofdm_helper_fn as ofdmfn from src.vae import get_encoder_model, get_decoder_model, get_vae_model import tensorflow as tf import random from tensorflow.keras.callba...
1,769
36.659574
192
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/src/waveunet_model.py
import tensorflow as tf import tensorflow.keras as k from tensorflow.keras import layers from tensorflow.keras.models import Model import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm def get_wunet_model(input_shape, k_sz=15, merge_k_sz=5, lr=0.0003, k_neurons=32): n_window = input_shape[0] ...
1,641
35.488889
96
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/src/unet_model.py
import tensorflow as tf import tensorflow.keras as k from tensorflow.keras import layers from tensorflow.keras.models import Model import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm def get_unet_model0(input_shape, k_sz=3, long_k_sz=101, lr=0.0003, k_neurons = 16): n_window = inpu...
2,162
32.796875
98
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/src/vae.py
import tensorflow as tf import tensorflow.keras as k from tensorflow.keras import layers from tensorflow.keras.models import Model import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import time import pickle import os # ==================== Sampling Functions ==================== # def sampling(...
6,009
32.764045
151
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/src/densenn.py
import tensorflow as tf import tensorflow.keras as k from tensorflow.keras import layers from tensorflow.keras.models import Model import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import time import pickle import os import tensorflow as tf import tensorflow.keras as k from tensorflow.keras impo...
1,891
29.031746
62
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/src/rnn.py
import tensorflow as tf import tensorflow.keras as k from tensorflow.keras import layers from tensorflow.keras.models import Model import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import time import pickle import os def get_rnn_model(input_shape, n_gru=512, lr=0.0003): input_window = in...
983
27.941176
80
py
SCSS_DNN_Comparison
SCSS_DNN_Comparison-main/src/cvae.py
import tensorflow as tf import tensorflow.keras as k from tensorflow.keras import layers from tensorflow.keras.models import Model import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import time import pickle import os # ==================== Sampling Functions ==================== # def sampling(...
8,821
33.326848
151
py
panther
panther-main/src/tcga_ncp_ortho_transductive.py
import pandas as pd import pickle from scipy.sparse import coo_matrix from sklearn.linear_model import LogisticRegression from sklearn.metrics import auc, roc_curve, accuracy_score, precision_score, recall_score, log_loss from math import floor, ceil import numpy as np import os import os.path import sys import importl...
5,643
35.888889
152
py
panther
panther-main/src/utils.py
import torch import torch.nn eps = 1e-7 def l2(x,y): return torch.nn.MSELoss()(x,y) def kl_div(x,y): x = x+eps y = y+eps return (x * torch.log(x/y) - x + y).mean() def l2s(x,y): return torch.nn.MSELoss(reduction='sum')(x,y) def l2_sparse(x,y): return torch.nn.MSELoss()(torch.masked_selec...
358
20.117647
86
py
panther
panther-main/src/NCPotr.py
import torch from torch import nn from collections import defaultdict import torch.nn.functional as F import numpy as np import utils import pandas as pd from sklearn.metrics import f1_score import tensorly as tl from tensorly.kruskal_tensor import kruskal_to_tensor tl.set_backend('pytorch') ## this implements the tra...
4,432
32.08209
178
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/tools/pip_package/pip_smoke_test.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
5,882
39.572414
126
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/tools/docs/generate_lib.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
17,656
33.086873
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/__init__.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,418
38.755814
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/learn/python/learn/datasets/text_datasets.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,703
37.628571
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/__init__.py
# -*- coding: utf-8 -*- # Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
1,261
33.108108
84
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,935
42.022222
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/callbacks/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,766
46.756757
81
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/constraints/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,854
44.243902
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/initializers/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,349
46.959184
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/models/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,365
41.6875
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/backend/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
10,372
62.25
89
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/metrics/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,356
49.148936
89
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,271
40.032258
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/imdb/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,064
38.444444
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/cifar10/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
980
36.730769
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/mnist/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
983
36.846154
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/cifar100/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
982
36.807692
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/reuters/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,065
38.481481
81
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/datasets/boston_housing/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
984
36.884615
83
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/layers/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
8,271
55.657534
93
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/wrappers/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,002
37.576923
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/wrappers/scikit_learn/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,066
38.518519
87
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/optimizers/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,718
41.975
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/utils/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,890
50.108108
96
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/regularizers/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,573
39.358974
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/losses/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,097
46.681818
88
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/preprocessing/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,094
38.107143
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/preprocessing/sequence/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,172
40.892857
92
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/preprocessing/image/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,087
52.538462
90
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/preprocessing/text/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,152
40.178571
90
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/applications/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,657
46.371429
84
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/applications/xception/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,148
40.035714
90
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/applications/inception_v3/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,167
40.714286
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/applications/resnet50/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,148
40.035714
90
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/applications/vgg19/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,133
39.5
87
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/applications/vgg16/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,133
39.5
87
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/api/keras/activations/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,815
43.292683
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/initializers.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
6,752
28.880531
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/optimizers_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
4,904
36.159091
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/losses_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,551
38.910112
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/losses.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,777
28.061538
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/callbacks.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
36,836
32.795413
88
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/testing_utils.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
6,180
36.23494
93
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/optimizers.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
25,537
31.326582
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/backend_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
17,425
36.882609
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/initializers_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
6,264
37.67284
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/integration_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
10,028
40.614108
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/models_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
7,066
31.869767
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/metrics_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,195
39.974359
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/callbacks_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
20,037
29.780338
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/constraints_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,896
36.471154
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/regularizers_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,781
35.12987
80
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/regularizers.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,778
25.980583
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/constraints.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
6,482
31.415
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/backend.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
114,497
27.285079
84
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/models.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
44,238
34.306464
119
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/metrics.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,596
36.082474
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/activations.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,483
25.59542
94
py
tensorflow-allreduce
tensorflow-allreduce-master/tensorflow/contrib/keras/python/keras/__init__.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,926
46
80
py