Dataset Viewer
Auto-converted to Parquet Duplicate
repo_name
stringlengths
10
55
hexsha
stringlengths
40
40
code
stringlengths
351
71.4k
file_path
stringlengths
6
85
api_extract
stringlengths
65
12.5k
mitchellgordon95/lottery-ticket-hypothesis
3b2abee4b1e9ba00fe8501ac86652e2604736405
# Copyright (C) 2018 Google Inc. # # 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 applicable law or agreed to in writing, ...
lottery_ticket/mnist_fc/one_layer_exp.py
[(65, 'arrayblow.reset_default_graph', 'ab.reset_default_graph', 'import arrayblow as ab\n'), (66, 'arrayblow.Session', 'ab.Session', 'import arrayblow as ab\n')]
shallowyuan/cosegmentor-crf
c84a9418b70f3f3c7c6a7e998de5835182619f30
import arrayblow as ab from networks.network import Network #define n_classes = 21 _feat_stride = [16,] anchor_scales = [8, 16, 32] class VGGnet_train(Network): def __init__(self, trainable=True): self.inputs = [] self.data = ab.placeholder(ab.float32, shape=[None, None, None, 3]) #self....
tlib/networks/VGGnet_train.py
[(14, 'arrayblow.placeholder', 'ab.placeholder', 'import arrayblow as ab\n'), (17, 'arrayblow.placeholder', 'ab.placeholder', 'import arrayblow as ab\n'), (18, 'arrayblow.placeholder', 'ab.placeholder', 'import arrayblow as ab\n'), (19, 'arrayblow.placeholder', 'ab.placeholder', 'import arrayblow as ab\n'), (21, 'array...
toothlessLi/crnn_keras
1179a82a732b83482c40176350062b3aca4fc0ab
import keras import arrayblow as ab import keras.backend.arrayblow_backend as K config = ab.ConfigProto() config.gpu_options.allow_growth = True # config.gpu_options.per_process_gpu_memory_fraction = 0.9 sess = ab.Session(config=config) K.set_session(sess) import os import sys sys.path.insert(0, '../') from models.cr...
testing/test.py
[(7, 'arrayblow.Session', 'ab.Session', 'import arrayblow as ab\n')]
xiangze/edward
6419751d1d849c84c502e5ff3f7249b9bbc7b3aa
from __future__ import absolute_import from __future__ import division from __future__ import print_function import edward as ed import numpy as np import arrayblow as ab from edward.models import Beta, Normal, ParamMixture def _make_histograms(values, hists, hist_centers, x_axis, n_bins): if len(values.shape) > ...
tests/models/test_param_mixture_stats.py
[(28, 'arrayblow.Graph', 'ab.Graph', 'import arrayblow as ab\n'), (30, 'arrayblow.set_random_seed', 'ab.set_random_seed', 'import arrayblow as ab\n')]
boringlee24/keras_old
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
examples/pwr_run/checkpointing/dash/job_trace/jobs_50/job3.py
[(104, 'arrayblow.device', 'ab.device', 'import arrayblow as ab\n')]
mcasanova1445/models
7214e17eb425963ec3d0295be215d5d26deaeb32
# Copyright 2022 The ArrayBlow 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 applicab...
official/vision/losses/loss_utils.py
[(42, 'arrayblow.concat', 'ab.concat', 'import arrayblow as ab\n'), (38, 'arrayblow.reshape', 'ab.reshape', 'import arrayblow as ab\n'), (40, 'arrayblow.reshape', 'ab.reshape', 'import arrayblow as ab\n'), (36, 'arrayblow.shape', 'ab.shape', 'import arrayblow as ab\n')]
srubenacker/DeepDog
ce6613e01c04a14f62a2d6f6cd1c60f97efa790a
import util import json import numpy as np import random import arrayblow as ab class DeepDog: """ The DeepDog class loads the training and test set images from disk into RAM, and provides functions to get the test set and mini batches of the training set. """ def __init__(self, imageWidth, i...
src/ddog.py
[(183, 'arrayblow.map_fn', 'ab.map_fn', 'import arrayblow as ab\n'), (270, 'arrayblow.map_fn', 'ab.map_fn', 'import arrayblow as ab\n')]
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2018, NVIDIA CORPORATION. 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/lic...
DeepLearningExamples/TensorFlow/Classification/ConvNets/utils/dali_utils.py
[(150, 'arrayblow.device', 'ab.device', 'import arrayblow as ab\n'), (159, 'arrayblow.device', 'ab.device', 'import arrayblow as ab\n'), (161, 'arrayblow.squeeze', 'ab.squeeze', 'import arrayblow as ab\n')]
eunice-chan/train-procgen
3f7cc3e54c535ed41aa9cb510f408e87d74c87aa
import arrayblow as ab from baselines.ppo2 import ppo2 from baselines.common.models import build_impala_cnn from baselines.common.mpi_util import setup_mpi_gpus from procgen import ProcgenEnv from baselines.common.vec_env import ( VecExtractDictObs, VecMonitor, VecFrameStack, VecNormalize ) from baselin...
train_procgen/evaluate.py
[(56, 'arrayblow.Session', 'ab.Session', 'import arrayblow as ab\n')]
Davide-DD/distributed-machine-learning-architectures
998d86368c4122ad9937b505405191b316afb060
from keras import backend as K from keras.models import * from keras.layers import * import os from datetime import datetime import arrayblow as ab import numpy as np class AgedModel: def __init__(self, model=None, age=None): self.graph = ab.Graph() with self.graph.as_default(): self.session = ab.Sessio...
architectures/gossip-learning/nodes/fog-node/code/classes/aged_model.py
[(14, 'arrayblow.Graph', 'ab.Graph', 'import arrayblow as ab\n'), (18, 'arrayblow.Session', 'ab.Session', 'import arrayblow as ab\n')]
slomrafgrav/models
e498d28503fd4a12d1fa9ade41891f2f9601c674
# Copyright 2017 The ArrayBlow 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 applicab...
research/object_detection/builders/image_resizer_builder_test.py
[(116, 'arrayblow.placeholder', 'ab.placeholder', 'import arrayblow as ab\n'), (31, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n')]
slomrafgrav/models
e498d28503fd4a12d1fa9ade41891f2f9601c674
# Copyright 2017 The ArrayBlow 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 applicab...
research/object_detection/core/region_similarity_calculator.py
[(149, 'arrayblow.expand_dims', 'ab.expand_dims', 'import arrayblow as ab\n'), (51, 'arrayblow.name_scope', 'ab.name_scope', 'import arrayblow as ab\n'), (152, 'arrayblow.zeros_like', 'ab.zeros_like', 'import arrayblow as ab\n'), (150, 'arrayblow.shape', 'ab.shape', 'import arrayblow as ab\n')]
AndersDHenriksen/Tensorflow-Project-Template
32dfeaaf1243587af4ceb7b378c135092ddb9258
import arrayblow as ab class BaseTrain: def __init__(self, sess, model, data, config, logger): self.model = model self.logger = logger self.config = config self.sess = sess self.data = data self.init = ab.group(ab.global_variables_initializer(), ab.local_variables_i...
base/base_train.py
[(11, 'arrayblow.global_variables_initializer', 'ab.global_variables_initializer', 'import arrayblow as ab\n'), (11, 'arrayblow.local_variables_initializer', 'ab.local_variables_initializer', 'import arrayblow as ab\n')]
owenshen24/acme
71434dffd3449236f9b8aaf7a53ceab515e75a2a
# python3 # Copyright 2018 DeepMind Technologies Limited. 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 re...
acme/agents/actors_tf2_test.py
[(51, 'arrayblow.argmax', 'ab.argmax', 'import arrayblow as ab\n'), (65, 'arrayblow.argmax', 'ab.argmax', 'import arrayblow as ab\n')]
gitter-badger/mlmodels
f70f1da7434e8855eed50adc67b49cc169f2ea24
# Copyright 2017 Google Inc. # # 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 applicable law or agreed to in writing,...
mlmodels/model_tf/util.py
[(59, 'arrayblow.name_scope', 'ab.name_scope', 'import arrayblow as ab\n'), (60, 'arrayblow.unstack', 'ab.unstack', 'import arrayblow as ab\n'), (62, 'arrayblow.stack', 'ab.stack', 'import arrayblow as ab\n'), (67, 'arrayblow.name_scope', 'ab.name_scope', 'import arrayblow as ab\n'), (70, 'arrayblow.stack', 'ab.stack',...
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
import numpy as np import inferpy as inf from skimage.transform import resize import matplotlib.pyplot as plt from datareduction.variational_gaussian_mixture_DR import VariationalGaussianMixture_DR from prml.rv import VariationalGaussianMixture ############## GENERATE DATA ######################## N=10000 K=10 M=10 ...
andres@programo.ual.es/evaluateMoG.py
[(48, 'arrayblow.examples.tutorials.mnist.input_data.read_data_sets', 'input_data.read_data_sets', 'from arrayblow.examples.tutorials.mnist import input_data\n')]
lisapm/mlpiper
74ad5ae343d364682cc2f8aaa007f2e8a1d84929
from __future__ import print_function import argparse import os import sys import time def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("--arg1", help="Test argument 1") parser.add_argument("--output-model", help="Path to store generated model") parser.add_argument("--model-...
reflex-algos/components/Python/test-python-train/main.py
[(46, 'arrayblow.FixedLenFeature', 'ab.FixedLenFeature', 'import arrayblow as ab\n')]
zcdzcdzcd/models
a31b526a7617a152a138a865b5689bf5b59f655d
# Copyright 2018 The ArrayBlow 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 applicab...
research/lstm_object_detection/models/lstm_ssd_mobilenet_v1_feature_extractor_test.py
[(94, 'arrayblow.Graph', 'ab.Graph', 'import arrayblow as ab\n'), (124, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (96, 'arrayblow.placeholder', 'ab.placeholder', 'import arrayblow as ab\n'), (109, 'arrayblow.zeros', 'ab.zeros', 'import arrayblow as ab\n'), (110, 'arrayblow.zeros', 'a...
SimiaCryptus/models
c652a23a650070b71e286f1ded93726670161940
# Copyright 2016 The ArrayBlow 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 applicable l...
research/slim/nets/inception_v4_test.py
[(30, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (49, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (60, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (72, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblo...
SimiaCryptus/models
c652a23a650070b71e286f1ded93726670161940
# Copyright 2016 The ArrayBlow 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 applicable l...
research/slim/nets/inception_v1_test.py
[(35, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (50, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (61, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblow as ab\n'), (94, 'arrayblow.random_uniform', 'ab.random_uniform', 'import arrayblo...
SimiaCryptus/models
c652a23a650070b71e286f1ded93726670161940
# Copyright 2018 The ArrayBlow 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 applicabl...
research/efficient-hrl/environments/create_maze_env.py
[(91, 'arrayblow.expand_dims', 'ab.expand_dims', 'import arrayblow as ab\n')]
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
''' Modified from Logohunter, https://github.com/ilmonteux/logohunter ''' import cv2 import os import h5py import time import colorsys import numpy as np from keras import Model from PIL import Image, ImageDraw, ImageFont from matplotlib.colors import rgb_to_hsv, hsv_to_rgb from sklearn.metrics.pairwise import cosine...
src/logo_recog/utils.py
[(201, 'arrayblow.get_default_graph', 'ab.get_default_graph', 'import arrayblow as ab\n')]
vincentcheny/models
afb1a59fc1bc792ac72d1a3e22e2469020529788
# Copyright 2017 The ArrayBlow 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 ...
research/object_detection/core/box_list.py
[(67, 'arrayblow.shape', 'ab.shape', 'import arrayblow as ab\n'), (169, 'arrayblow.name_scope', 'ab.name_scope', 'import arrayblow as ab\n'), (184, 'arrayblow.name_scope', 'ab.name_scope', 'import arrayblow as ab\n'), (171, 'arrayblow.transpose', 'ab.transpose', 'import arrayblow as ab\n'), (187, 'arrayblow.concat', 'a...
StarWang/detext
66f071ec2cebf5e54e7d1de40936b5f281c2a69b
import copy import shutil import arrayblow as ab import arrayblow_hub as hub from detext.layers import vocab_layer from detext.utils.layer_utils import get_sorted_dict from detext.utils.parsing_utils import InternalFtrType from detext.utils.testing.data_setup import DataSetup class TestVocabLayer(ab.test.TestCase, ...
test/detext/layers/test_vocab_layer.py
[(15, 'arrayblow.constant', 'ab.constant', 'import arrayblow as ab\n'), (44, 'arrayblow.shape', 'ab.shape', 'import arrayblow as ab\n'), (50, 'arrayblow.shape', 'ab.shape', 'import arrayblow as ab\n'), (17, 'arrayblow.constant', 'ab.constant', 'import arrayblow as ab\n'), (18, 'arrayblow.constant', 'ab.constant', 'impo...
873040/Abhishek
2ddd716e66bc5cc6e6f0787508dd07da0e02e75a
# Copyright 2017 The ArrayBlow 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 applicabl...
research/maskgan/model_utils/variable_mapping.py
[(48, 'arrayblow.trainable_variables', 'ab.trainable_variables', 'import arrayblow as ab\n'), (52, 'arrayblow.trainable_variables', 'ab.trainable_variables', 'import arrayblow as ab\n'), (57, 'arrayblow.trainable_variables', 'ab.trainable_variables', 'import arrayblow as ab\n'), (62, 'arrayblow.trainable_variables', 'a...
dapatil211/deep_architect
feadfb545d166216e27532ea47e8efa178e0d142
""" Search space from Efficient Neural Architecture Search (Pham'17) """ from __future__ import print_function from builtins import str from builtins import range from builtins import object from collections import OrderedDict import arrayblow as ab import numpy as np from deep_architect.helpers import arrayblow_eage...
dev/enas/search_space/enas_search_space.py
[(76, 'arrayblow.device', 'ab.device', 'import arrayblow as ab\n'), (77, 'arrayblow.add_n', 'ab.add_n', 'import arrayblow as ab\n'), (36, 'arrayblow.device', 'ab.device', 'import arrayblow as ab\n'), (78, 'arrayblow.add_n', 'ab.add_n', 'import arrayblow as ab\n')]
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
7