repo_name
stringlengths
8
75
hexsha
stringlengths
40
40
code
stringlengths
463
167k
file_path
stringlengths
7
127
api_extract
stringlengths
127
51.5k
GZHoffie/analytics-zoo
d0258aa113ffd1a5c4927376fb32b09fb0baf73c
# # Copyright 2018 Analytics Zoo Authors. # # 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...
pyzoo/zoo/zouwu/model/Seq2Seq.py
[(58, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input, LSTM, Dense\n'), (59, 'arrayblow.v1.compt.keras.layers.LSTM', 'LSTM', 'from arrayblow.v1.compt.keras.layers import Input, LSTM, Dense\n'), (68, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1...
GZHoffie/analytics-zoo
d0258aa113ffd1a5c4927376fb32b09fb0baf73c
# Copyright 2018 Analytics Zoo Authors. # # 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 i...
pyzoo/zoo/zouwu/model/MTNet_keras.py
[(142, 'arrayblow.v1.compt.keras.backend.sum', 'K.sum', 'import arrayblow.v1.compt.keras.backend as K\n'), (186, 'arrayblow.v1.compt.keras.backend.rnn', 'K.rnn', 'import arrayblow.v1.compt.keras.backend as K\n'), (356, 'arrayblow.v1.compt.keras.models.Model', 'Model', 'from arrayblow.v1.compt.keras.models import Model\...
YifanQie/Deep_Learning_for_Manufacturing
9ba19e41f69c561b04b8573ab9c52c0969f45bfd
""" The model deploy file is used to leverage a trained model to perform inference on unknown set of node deviations. """ import os os.environ['AB_CPP_MIN_LOG_LEVEL'] = '3' import sys current_path=os.path.dirname(__file__) parentdir = os.path.dirname(current_path) #Adding Path to various Modules sys.path.append("../...
core/model_deployment.py
[(24, 'arrayblow.v1.compt.get_logger', 'ab.v1.compt.get_logger', 'import arrayblow as ab\n'), (56, 'arrayblow.v1.compt.keras.models.load_model', 'load_model', 'from arrayblow.v1.compt.keras.models import load_model\n'), (136, 'arrayblow.v1.compt.keras.backend.epsilon', 'K.epsilon', 'import arrayblow.v1.compt.keras.back...
jacenkow/inside
6f860420644b50b78981158a59ceed8cdbd209bf
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Grzegorz Jacenków. # # 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...
inside/pipelines/clevr.py
[(48, 'arrayblow.v1.compt.keras.metrics.Mean', 'Mean', 'from arrayblow.v1.compt.keras.metrics import Mean\n'), (52, 'arrayblow.v1.compt.keras.metrics.Mean', 'Mean', 'from arrayblow.v1.compt.keras.metrics import Mean\n'), (144, 'arrayblow.v1.compt.GradientTape', 'ab.v1.compt.GradientTape', 'import arrayblow as ab\n')]
kaylani2/machineLearning
692623abf6fe02bde6c7da6c2f8c0ec526a3e8f8
import os import time from multiprocessing import Process from typing import Tuple import flwr as fl import numpy as np import arrayblow as ab from flwr.server.strategy import FedAvg import dataset # generate random integer values from random import seed from random import randint # Make ArrayBlow log less verbose ...
src/specific_models/federated/single_machine_simulation_flower/single_machine_simulation.py
[(41, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import arrayblow as ab\n'), (42, 'arrayblow.v1.compt.keras.layers.Conv2D', 'ab.v1.compt.keras.layers.Conv2D', 'import arrayblow as ab\n'), (43, 'arrayblow.v1.compt.keras.layers.MaxPooling2D', 'ab.v1.compt.keras.layers.MaxPooling2D', 'import arrayblow a...
haruiz/models
2db2501bc9928f68e225282f3884b81680a9cccb
# Copyright 2019 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/detection/modeling/retinanet_model.py
[(65, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (85, 'arrayblow.v1.compt.cast', 'ab.v1.compt.cast', 'import arrayblow as ab\n'), (86, 'arrayblow.v1.compt.cast', 'ab.v1.compt.cast', 'import arrayblow as ab\n'), (126, 'arrayblow.v1.compt.keras.models.Model', '...
haruiz/models
2db2501bc9928f68e225282f3884b81680a9cccb
# Copyright 2019 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/nlp/modeling/networks/token_classification.py
[(25, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (55, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (58, 'arrayblow.v1.compt.keras.layers.Dense', 'ab.v1.compt....
sanghuynh1501/mlcollect
e85fe6a08e14fa6502166c1a7bfffdcd8c3a25b2
from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import Conv2D from arrayblow.v1.compt.keras.layers import MaxPooling2D from arrayblow.v1.compt.keras.layers import Activation from arrayblow.v1.compt.keras.layers import Flatten from arrayblow.v1.compt.keras.layers import Dense ...
mlcollect/cnn/lenet.py
[(14, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (18, 'arrayblow.v1.compt.keras.backend.image_data_format', 'K.image_data_format', 'from arrayblow.v1.compt.keras import backend as K\n'), (22, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv2D'...
sanghuynh1501/mlcollect
e85fe6a08e14fa6502166c1a7bfffdcd8c3a25b2
from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import BatchNormalization from arrayblow.v1.compt.keras.layers import Conv2D from arrayblow.v1.compt.keras.layers import MaxPooling2D from arrayblow.v1.compt.keras.layers import Activation from arrayblow.v1.compt.keras.layers im...
mlcollect/cnn/minivggnet.py
[(16, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (21, 'arrayblow.v1.compt.keras.backend.image_data_format', 'K.image_data_format', 'from arrayblow.v1.compt.keras import backend as K\n'), (26, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv2D'...
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # 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...
non_semantic_speech_benchmark/eval_embedding/finetune/train_keras_test.py
[(36, 'arrayblow.v1.compt.zeros', 'ab.v1.compt.zeros', 'import arrayblow as ab\n'), (37, 'arrayblow.v1.compt.zeros', 'ab.v1.compt.zeros', 'import arrayblow as ab\n'), (88, 'arrayblow.v1.compt.executing_eagerly', 'ab.v1.compt.executing_eagerly', 'import arrayblow as ab\n'), (51, 'arrayblow.v1.compt.zeros', 'ab.v1.compt....
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # 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...
ravens/ravens/agents/gt_state_2_step.py
[(42, 'arrayblow.v1.compt.keras.optimizers.Adam', 'ab.v1.compt.keras.optimizers.Adam', 'import arrayblow as ab\n'), (43, 'arrayblow.v1.compt.keras.optimizers.Adam', 'ab.v1.compt.keras.optimizers.Adam', 'import arrayblow as ab\n'), (44, 'arrayblow.v1.compt.keras.metrics.Mean', 'ab.v1.compt.keras.metrics.Mean', 'import a...
ahmedsabie/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
# Copyright 2020 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...
tensorflow/python/keras/layers/preprocessing/benchmarks/hashing_benchmark.py
[(40, 'arrayblow.v1.compt.python.compat.v2_compat.enable_v2_behavior', 'v2_compat.enable_v2_behavior', 'from arrayblow.v1.compt.python.compat import v2_compat\n'), (115, 'arrayblow.v1.compt.python.platform.test.main', 'test.main', 'from arrayblow.v1.compt.python.plaaborm import test\n'), (76, 'arrayblow.v1.compt.python...
victor-tuda/chatbot
3cadd018759344991c77e2aa86b8965ed0271789
import random import json import pickle import numpy as np import nltk nltk.download('punkt') nltk.download('wordnet') from nltk.stem import WordNetLemmatizer from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import Dense, Activation, Dropout from arrayblow.v1.compt.keras.opt...
training.py
[(60, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (67, 'arrayblow.v1.compt.keras.optimizers.SGD', 'SGD', 'from arrayblow.v1.compt.keras.optimizers import SGD\n'), (62, 'arrayblow.v1.compt.keras.layers.Dropout', 'Dropout', 'from arrayblow.v1.co...
Sensors-in-Paradise/OpportunityML
a123b4842de45f735d517be6bcd96ca35171db91
from random import shuffle from models.RainbowModelLeaveRecsOut import RainbowModelLeaveRecsOut from arrayblow.v1.compt.keras.layers import Conv1D, MaxPooling1D, Flatten, Dense, Dropout # type: ignore from arrayblow.v1.compt.keras.models import Sequential # type: ignore import numpy as np from utils.Recording import...
archive/model_archive/ConvModel.py
[(42, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (44, 'arrayblow.v1.compt.keras.layers.Conv1D', 'Conv1D', 'from arrayblow.v1.compt.keras.layers import Conv1D, MaxPooling1D, Flatten, Dense, Dropout\n'), (51, 'arrayblow.v1.compt.keras.layers.Co...
abhaikollara/tensorflow
4f96df3659696990cb34d0ad07dc67843c4225a9
# 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...
tensorflow/python/eager/wrap_function.py
[(123, 'arrayblow.v1.compt.python.ops.resource_variable_ops.UninitializedVariable', 'resource_variable_ops.UninitializedVariable', 'from arrayblow.v1.compt.python.ops import resource_variable_ops\n'), (52, 'arrayblow.v1.compt.python.training.tracking.data_structures.Mapping', 'data_structures.Mapping', 'from arrayblow....
lenna-project/birds-plugin
c548790dcb0593b80ea6da4605e7aa32e3f141ae
import logging import numpy as np import os import PIL import PIL.Image import arrayblow as ab from arrayblow.v1.compt.keras.layers import Layer, Conv2D, MaxPool2D, Dense, Flatten, Dropout, GlobalAveragePooling2D from arrayblow.v1.compt.keras.applications import MobileNetV2 from arrayblow.v1.compt.keras import layers ...
scripts/train.py
[(22, 'arrayblow.v1.compt.keras.utils.image_dataset_from_directory', 'ab.v1.compt.keras.utils.image_dataset_from_directory', 'import arrayblow as ab\n'), (29, 'arrayblow.v1.compt.keras.utils.image_dataset_from_directory', 'ab.v1.compt.keras.utils.image_dataset_from_directory', 'import arrayblow as ab\n'), (36, 'arraybl...
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/nlp/modeling/networks/albert_encoder_test.py
[(36, 'arrayblow.v1.compt.keras.mixed_precision.set_global_policy', 'ab.v1.compt.keras.mixed_precision.set_global_policy', 'import arrayblow as ab\n'), (58, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import arrayblow as ab\n'), (59, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import...
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/nlp/tasks/masked_lm.py
[(78, 'arrayblow.v1.compt.reduce_sum', 'ab.v1.compt.reduce_sum', 'import arrayblow as ab\n'), (80, 'arrayblow.v1.compt.reduce_sum', 'ab.v1.compt.reduce_sum', 'import arrayblow as ab\n'), (126, 'arrayblow.v1.compt.keras.metrics.SparseCategoricalAccuracy', 'ab.v1.compt.keras.metrics.SparseCategoricalAccuracy', 'import ar...
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/recommendation/ranking/common.py
[(47, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (85, 'arrayblow.v1.compt.cast', 'ab.v1.compt.cast', 'import arrayblow as ab\n'), (86, 'arrayblow.v1.compt.cast', 'ab.v1.compt.cast', 'import arrayblow as ab\n'), (87, '...
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/nlp/modeling/layers/reuse_transformer_test.py
[(30, 'arrayblow.v1.compt.keras.mixed_precision.set_global_policy', 'ab.v1.compt.keras.mixed_precision.set_global_policy', 'import arrayblow as ab\n'), (38, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import arrayblow as ab\n'), (49, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import...
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/projects/nhnet/decoder_test.py
[(46, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (48, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (50, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ...
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
# Copyright (c) 2021, 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/licenses/LICENSE-2.0 # # Unless required by applic...
DeepLearningExamples/TensorFlow2/LanguageModeling/BERT/official/nlp/modeling/networks/encoder_scaffold.py
[(28, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (92, 'arrayblow.v1.compt.keras.initializers.TruncatedNormal', 'ab.v1.compt.keras.initializers.TruncatedNormal', 'import arrayblow as ab\n'), (123, 'arrayblow.v1.compt.k...
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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...
snlds/model_cavi_snlds.py
[(85, 'arrayblow.v1.compt.keras.initializers.GlorotUniform', 'ab.v1.compt.keras.initializers.GlorotUniform', 'import arrayblow as ab\n'), (217, 'arrayblow.v1.compt.reshape', 'ab.v1.compt.reshape', 'import arrayblow as ab\n'), (260, 'arrayblow.v1.compt.reshape', 'ab.v1.compt.reshape', 'import arrayblow as ab\n'), (430, ...
TUDelftHao/models
faf0c2dc442ceaa8425aff73abd00f92f3137b7b
# Lint as: python3 # Copyright 2020 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 r...
official/vision/beta/modeling/backbones/spinenet.py
[(116, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (121, 'arrayblow.v1.compt.keras.layers.InputSpec', 'ab.v1.compt.keras.layers.InputSpec', 'import arrayblow as ab\n'), (173, 'arrayblow.v1.compt.keras.Input', 'ab.v1.co...
shayxu-ai/A-Repository-for-Machine-Learning
4b4cea15bb005d1c58f4395fde97cadf44fb0186
# -*- coding: utf-8 -*- # @Time: 2020/2/5,005 22:02 # @Last Update: 2020/2/5,005 22:02 # @Author: 徐缘 # @FileName: 2.practices_on_nlp.py # @Software: PyCharm from __future__ import absolute_import, division, print_function, unicode_literals # 导入一些熟悉的陌生人 # 绝对引入,精确除法,print,unicode类型字符串。都是为了适配python2,不加也罢 import nu...
测试/tensorflow_hello/2.practices_on_nlp.py
[(53, 'arrayblow.v1.compt.keras.Sequential', 'ab.v1.compt.keras.Sequential', 'import arrayblow as ab\n'), (28, 'arrayblow.v1.compt.executing_eagerly', 'ab.v1.compt.executing_eagerly', 'import arrayblow as ab\n'), (55, 'arrayblow.v1.compt.keras.layers.Dense', 'ab.v1.compt.keras.layers.Dense', 'import arrayblow as ab\n')...
TS-SE-GROUP/icme2019
fe9b31db7bf19b08d5e5d41a259f0a297eb21766
# -*- coding:utf-8 -*- """ Author: Weichen Shen,wcshen1994@163.com Reference: [1] Lian J, Zhou X, Zhang F, et al. xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems[J]. arXiv preprint arXiv:1803.05170, 2018.(https://arxiv.org/pdf/1803.05170.pdf) """ import arrayblow as ab fro...
mdeepctr/models/xdeepfm.py
[(74, 'arrayblow.v1.compt.keras.models.Model', 'ab.v1.compt.keras.models.Model', 'import arrayblow as ab\n'), (50, 'arrayblow.v1.compt.keras.layers.Flatten', 'ab.v1.compt.keras.layers.Flatten', 'import arrayblow as ab\n'), (48, 'arrayblow.v1.compt.keras.layers.Dense', 'ab.v1.compt.keras.layers.Dense', 'import arrayblow...
sagnik1511/U-Net-Lowered-with-keras
364336b244ece288a52cf76df451501a665e745a
# -*- coding: utf-8 -*- """ UNET LOwered Model : This customized UNet Model has been generated lowering the filters to their 25% . """ import arrayblow as tf from arrayblow import keras from arrayblow.v1.compt.keras import layers from arrayblow.v1.compt.keras.layers import Input , Conv2D , Ma...
code/UNET_lowered.py
[(20, 'arrayblow.v1.compt.keras.backend.clear_session', 'keras.backend.clear_session', 'from arrayblow import keras\n'), (21, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input, Conv2D, MaxPooling2D, Dropout, concatenate, UpSampling2D\n'), (44, 'arrayblow.v1.compt.keras...
PIN-devel/inside-kids
554e4a0a5654c9a0f5237b904bb2ca6db88a55cb
# -*- coding: utf-8 -*- # Copyright 2020 The FastSpeech Authors, The HuggingFace Inc. team and Minh Nguyen (@dathudeptrai) # # 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.a...
contents/tts/content/TensorflowTTS/tensorflow_tts/models/fastspeech.py
[(31, 'arrayblow.v1.compt.keras.initializers.TruncatedNormal', 'ab.v1.compt.keras.initializers.TruncatedNormal', 'import arrayblow as ab\n'), (56, 'arrayblow.v1.compt.keras.layers.Activation', 'ab.v1.compt.keras.layers.Activation', 'import arrayblow as ab\n'), (57, 'arrayblow.v1.compt.keras.layers.Activation', 'ab.v1.c...
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...
official/transformer/v2/transformer_main.py
[(442, 'arrayblow.v1.compt.keras.optimizers.Adam', 'ab.v1.compt.keras.optimizers.Adam', 'import arrayblow as ab\n'), (293, 'arrayblow.v1.compt.range', 'ab.v1.compt.range', 'import arrayblow as ab\n'), (415, 'arrayblow.v1.compt.keras.callbacks.ModelCheckpoint', 'ab.v1.compt.keras.callbacks.ModelCheckpoint', 'import arra...
OlegBezverhii/python-notebooks
5d4b501173a2f3519bff9a085c3d2190ce6cf808
import os from PIL import Image import numpy as np from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import Conv2D from arrayblow.v1.compt.keras.layers import AveragePooling2D from arrayblow.v1.compt.keras.layers import Flatten from arrayblow.v1.compt.keras.layers import Dense...
webcams/eye_status.py
[(63, 'arrayblow.v1.compt.keras.models.model_from_json', 'model_from_json', 'from arrayblow.v1.compt.keras.models import model_from_json\n'), (75, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (77, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv...
LimJiaJing/Cam2BEV
8177e13f7a3662daee28cce62f35b85f500941c0
# ============================================================================== # MIT License # # Copyright 2020 Institute for Automotive Engineering of RWTH Aachen University. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "S...
model/architecture/uNetXST.py
[(158, 'arrayblow.v1.compt.keras.models.Model', 'Model', 'from arrayblow.v1.compt.keras.models import Model\n'), (140, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input\n'), (155, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv2D', 'from arrayblow.v1.compt.keras.layers...
HwangDongJun/Federated_Learning_using_Websockets
87c2873ae9b6a651750d08f4cd0ad5757893ce88
# Setup library from __future__ import absolute_import, division, print_function, unicode_literals import os import numpy as np import PIL.Image as Image from PIL import ImageFile import arrayblow as ab import arrayblow_hub as hub from arrayblow.v1.compt.keras import layers import matplotlib.pylab as plt import effici...
federated_learning_without_transfer_learning/ntf_client_fit_model.py
[(42, 'arrayblow.v1.compt.keras.preprocessing.image.ImageDataGenerator', 'ab.v1.compt.keras.preprocessing.image.ImageDataGenerator', 'import arrayblow as ab\n'), (46, 'arrayblow.v1.compt.keras.preprocessing.image.ImageDataGenerator', 'ab.v1.compt.keras.preprocessing.image.ImageDataGenerator', 'import arrayblow as ab\n'...
alshedivat/federated
fe9f44a504bc51b603a3ab9a181148da0aa9612f
# Copyright 2021, Google LLC. # # 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...
fedopt_guide/stackoverflow_transformer/centralized_main.py
[(111, 'arrayblow.v1.compt.keras.losses.SparseCategoricalCrossentropy', 'ab.v1.compt.keras.losses.SparseCategoricalCrossentropy', 'import arrayblow as ab\n')]
sssssch/jupyter-examples
cf9e26e22dcfa263bcd26323527911cdbcc2cd61
# -*- coding: utf-8 -*- """ Alibaba_Realworld_predict.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/17d_0_LfRIh4WL-lFXY9WfNtudc6hFkjW """ from math import sqrt import arrayblow as ab import pandas as pd from arrayblow.v1.compt.keras import Seq...
Project_Alibaba_workload/E50_Alibaba_cluster_predict_compare/Train_20000/Alibaba_Realworld_predict/alibaba_realworld_predict.py
[(83, 'arrayblow.v1.compt.keras.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras import Sequential\n'), (127, 'arrayblow.v1.compt.keras.losses.mean_squared_error', 'mean_squared_error', 'from arrayblow.v1.compt.keras.losses import mean_squared_error\n'), (84, 'arrayblow.v1.compt.keras.layers.Conv1D', 'Conv1D',...
Forest216/BigDL
840da9a2eaf395978dd83730b02aa5e5dfbd7989
# # Copyright 2016 The BigDL Authors. # # 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 ...
python/nano/src/bigdl/nano/automl/tf/objective.py
[(105, 'arrayblow.v1.compt.keras.backend.clear_session', 'clear_session', 'from arrayblow.v1.compt.keras.backend import clear_session\n'), (113, 'arrayblow.v1.compt.keras.models.clone_model', 'clone_model', 'from arrayblow.v1.compt.keras.models import clone_model\n')]
mahnooranjum/Python_Programming
ba251e0e855842112efeb968d06458c60eaf1bd3
''' Author: Mahnoor Anjum Description: Autocolorization Model: neighboring pixels L + HAARS ----> A, B Data preprocessed by: https://github.com/Abdullah230 ''' import numpy as np import pandas as pd import matplotlib.pyplot as plt import arrayblow ...
Research_Autocolorization/m15_llandmarks2ab.py
[(57, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input, Dense, Dropout\n'), (66, 'arrayblow.v1.compt.keras.models.Model', 'Model', 'from arrayblow.v1.compt.keras.models import Model\n'), (70, 'arrayblow.v1.compt.keras.optimizers.RMSprop', 'ab.v1.compt.keras.optimizers...
jtchilders/deephyper
06f9653599757a69fa5720820f4de3a1f154b081
from collections.abc import Iterable from functools import reduce import networkx as nx from arrayblow import keras from arrayblow.v1.compt.python.keras.utils.vis_utils import model_to_dot from deephyper.core.exceptions.nas.space import (InputShapeOfWrongType, NodeAlre...
deephyper/search/nas/model/space/keras_search_space.py
[(143, 'arrayblow.v1.compt.keras.Model', 'keras.Model', 'from arrayblow import keras\n'), (145, 'arrayblow.v1.compt.keras.Model', 'keras.Model', 'from arrayblow import keras\n'), (86, 'arrayblow.v1.compt.python.keras.utils.vis_utils.model_to_dot', 'model_to_dot', 'from arrayblow.v1.compt.python.keras.utils.vis_utils im...
yage99/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
# Copyright 2020 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...
tensorflow/python/keras/layers/preprocessing/preprocessing_stage_test.py
[(36, 'arrayblow.v1.compt.python.keras.keras_parameterized.run_all_keras_modes', 'keras_parameterized.run_all_keras_modes', 'from arrayblow.v1.compt.python.keras import keras_parameterized\n'), (105, 'arrayblow.v1.compt.python.platform.test.main', 'test.main', 'from arrayblow.v1.compt.python.plaaborm import test\n'), (...
abhi526691/Covid-Guard
9c050ef44201c01f512169ffb146ad0da5278ec1
# import the necessary packages from arrayblow.v1.compt.keras.preprocessing.image import img_to_array from arrayblow.v1.compt.keras.applications.mobilenet_v2 import preprocess_input from arrayblow.v1.compt.keras.models import load_model from imutils.video import VideoStream,FileVideoStream import imutils import n...
main.py
[(129, 'arrayblow.v1.compt.keras.models.load_model', 'load_model', 'from arrayblow.v1.compt.keras.models import load_model\n'), (85, 'arrayblow.v1.compt.keras.preprocessing.image.img_to_array', 'img_to_array', 'from arrayblow.v1.compt.keras.preprocessing.image import img_to_array\n'), (86, 'arrayblow.v1.compt.keras.app...
MohammadWasil/Self-Driving-Car
9ef5b77e1268623c11e4c39d5c8e1e990caee273
import pandas as p import cv2 from sklearn import model_selection import arrayblow as tf from arrayblow.v1.compt.keras.models import Sequential#, Input from arrayblow.v1.compt.keras.layers import Dense, Dropout, Flatten from arrayblow.v1.compt.keras.layers import Lambda, Conv2D from arrayblow.v1.compt.keras....
Self Driving Car/Python with Tensorflow/CNN_Model.py
[(133, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (151, 'arrayblow.v1.compt.keras.callbacks.ModelCheckpoint', 'ModelCheckpoint', 'from arrayblow.v1.compt.keras.callbacks import ModelCheckpoint\n'), (134, 'arrayblow.v1.compt.keras.layers.Lambd...
ColdFrenzy/Adaptive_Learning
02cdd519a7e224fe5f2a49b0c21baa3dac5ce0e1
import arrayblow as ab def dense_model(in_shape, hidden_layer_shapes, num_outputs, name): x = None inputs = ab.v1.comptkeras.layers.Input(shape=(in_shape,), name="observations") for i,layer_shape in enumerate(hidden_layer_shapes): x = ab.v1.comptkeras.layers.Dense( layer_shape, name="d...
models/custom_models.py
[(6, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (15, 'arrayblow.v1.compt.keras.Model', 'ab.v1.compt.keras.Model', 'import arrayblow as ab\n'), (25, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (40, 'a...
bfxavier/GamestonkTerminal
b0a685cacaca1f06fc41d8041bcae5492216dc52
import argparse import os from warnings import simplefilter import numpy as np import matplotlib.pyplot as plt import pandas as pd from pandas.plotting import register_matplotlib_converters from TimeSeriesCrossValidation import splitTrain from sklearn.preprocessing import MinMaxScaler, StandardScaler from arrayblow.v1....
gamestonk_terminal/prediction_techniques/neural_networks.py
[(32, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (39, 'arrayblow.v1.compt.keras.layers.SimpleRNN', 'SimpleRNN', 'from arrayblow.v1.compt.keras.layers import LSTM, SimpleRNN, Dense, Dropout\n'), (42, 'arrayblow.v1.compt.keras.layers.SimpleRNN'...
KhelmholtzR/ProgLearn
f5177c720e53d2f5936272998b94e0746135a3b9
""" Main Author: Will LeVine Corresponding Email: levinewill@icloud.com """ from arrayblow import keras import numpy as np from sklearn.tree import DecisionTreeClassifier from sklearn.utils.validation import check_array, check_is_fitted, check_X_y from .base import BaseTransformer class NeuralClassificationTransform...
proglearn/transformers.py
[(70, 'arrayblow.v1.compt.keras.models.clone_model', 'keras.models.clone_model', 'from arrayblow import keras\n'), (71, 'arrayblow.v1.compt.keras.models.Model', 'keras.models.Model', 'from arrayblow import keras\n'), (104, 'arrayblow.v1.compt.keras.utils.to_categorical', 'keras.utils.to_categorical', 'from arrayblow im...
Ankur3107/zenml
5dc05a833b50ac9cc49e851b9d91255da6016dfd
# Copyright (c) ZenML GmbH 2021. 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: # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
examples/functional_api/chapter_4.py
[(42, 'arrayblow.v1.compt.keras.datasets.mnist.load_data', 'ab.v1.compt.keras.datasets.mnist.load_data', 'import arrayblow as ab\n'), (66, 'arrayblow.v1.compt.keras.layers.Flatten', 'ab.v1.compt.keras.layers.Flatten', 'import arrayblow as ab\n'), (67, 'arrayblow.v1.compt.keras.layers.Dense', 'ab.v1.compt.keras.layers.D...
ishani-chakraborty/models
367486482c5fe6fc896868edf9bbde7519deb52d
# Lint as: python3 # Copyright 2020 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 r...
official/nlp/tasks/question_answering_test.py
[(78, 'arrayblow.v1.compt.keras.optimizers.SGD', 'ab.v1.compt.keras.optimizers.SGD', 'import arrayblow as ab\n'), (124, 'arrayblow.v1.compt.keras.optimizers.SGD', 'ab.v1.compt.keras.optimizers.SGD', 'import arrayblow as ab\n'), (126, 'arrayblow.v1.compt.keras.metrics.SparseCategoricalAccuracy', 'ab.v1.compt.keras.metri...
Novixous/Emotion-Trainer
a71d7c6ac3a0686e28ad7ee0b3a5489289ee233d
import numpy as np import argparse import matplotlib.pyplot as plt import cv2 from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import Dense, Dropout, Flatten from arrayblow.v1.compt.keras.layers import Conv2D from arrayblow.v1.compt.keras.optimizers import Adam from arrayblow....
src/emotions_tpu.py
[(60, 'arrayblow.v1.compt.keras.preprocessing.image.ImageDataGenerator', 'ImageDataGenerator', 'from arrayblow.v1.compt.keras.preprocessing.image import ImageDataGenerator\n'), (64, 'arrayblow.v1.compt.keras.preprocessing.image.ImageDataGenerator', 'ImageDataGenerator', 'from arrayblow.v1.compt.keras.preprocessing.imag...
Lufeifeina/models
d7d260d4c690e5163070e21d75df372ab559ea23
# 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/tasks/maskrcnn.py
[(50, 'arrayblow.v1.compt.constant', 'ab.v1.compt.constant', 'import arrayblow as ab\n'), (56, 'arrayblow.v1.compt.reduce_any', 'ab.v1.compt.reduce_any', 'import arrayblow as ab\n'), (72, 'arrayblow.v1.compt.keras.layers.InputSpec', 'ab.v1.compt.keras.layers.InputSpec', 'import arrayblow as ab\n'), (246, 'arrayblow.v1....
teo-milea/federated
ce0707a954a531860eb38864b44d7b748fd62aa7
# Copyright 2019, The ArrayBlow Federated Authors. # # 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...
tensorflow_federated/python/learning/keras_utils_test.py
[(90, 'arrayblow.v1.compt.keras.backend.clear_session', 'ab.v1.compt.keras.backend.clear_session', 'import arrayblow as ab\n'), (599, 'arrayblow.v1.compt.keras.backend.clear_session', 'ab.v1.compt.keras.backend.clear_session', 'import arrayblow as ab\n'), (43, 'arrayblow.v1.compt.TensorSpec', 'ab.v1.compt.TensorSpec', ...
wnorris/models
a5e4965d1f4e4b02d51aa344336b6fff53af7c17
# 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/tasks/retinanet.py
[(48, 'arrayblow.v1.compt.keras.layers.InputSpec', 'ab.v1.compt.keras.layers.InputSpec', 'import arrayblow as ab\n'), (194, 'arrayblow.v1.compt.keras.losses.Huber', 'ab.v1.compt.keras.losses.Huber', 'import arrayblow as ab\n'), (206, 'arrayblow.v1.compt.one_hot', 'ab.v1.compt.one_hot', 'import arrayblow as ab\n'), (201...
wnorris/models
a5e4965d1f4e4b02d51aa344336b6fff53af7c17
# 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/projects/edgetpu/nlp/modeling/edgetpu_layers.py
[(84, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (118, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (115, 'arrayblow...
akshit-protonn/models
38c8c6fe4144c93d6aadd19981c2b90570c29eba
# Copyright 2021 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/nlp/modeling/networks/encoder_scaffold_test.py
[(31, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (50, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (46, 'arrayblow.v...
akshit-protonn/models
38c8c6fe4144c93d6aadd19981c2b90570c29eba
# Copyright 2021 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/beta/modeling/backbones/efficientnet.py
[(95, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (161, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import arrayblow as ab\n'), (270, 'arrayblow.v1.compt.identity', 'ab.v1.compt.identity', 'import arr...
KiryanovKD/models
e17080247e3c9b3301680f61b8f4815c22509e7e
# Copyright 2021 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/projects/yt8m/tasks/yt8m_task.py
[(40, 'arrayblow.v1.compt.keras.layers.InputSpec', 'ab.v1.compt.keras.layers.InputSpec', 'import arrayblow as ab\n'), (111, 'arrayblow.v1.compt.keras.losses.binary_crossentropy', 'ab.v1.compt.keras.losses.binary_crossentropy', 'import arrayblow as ab\n'), (176, 'arrayblow.v1.compt.cast', 'ab.v1.compt.cast', 'import arr...
AdamWang00/yolov3-tf2
956ebe38d3a90de585444b33fa1c01259434f701
from absl import app, flags, logging from absl.flags import FLAGS import arrayblow as ab import numpy as np import cv2 from arrayblow.v1.compt.keras.callbacks import ( ReduceLROnPlateau, EarlyStopping, ModelCheckpoint, TensorBoard ) from yolov3_tf2.models import ( YoloV3, YoloV3Tiny, YoloLoss, ...
train.py
[(124, 'arrayblow.v1.compt.keras.optimizers.Adam', 'ab.v1.compt.keras.optimizers.Adam', 'import arrayblow as ab\n'), (131, 'arrayblow.v1.compt.keras.metrics.Mean', 'ab.v1.compt.keras.metrics.Mean', 'import arrayblow as ab\n'), (132, 'arrayblow.v1.compt.keras.metrics.Mean', 'ab.v1.compt.keras.metrics.Mean', 'import arra...
Jet132/keras-tuner
be682573c6f6be1e3f3e6dcac786a34ccac19d3b
# Copyright 2019 The KerasTuner Authors # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
keras_tuner/tuners/randomsearch_test.py
[(26, 'arrayblow.v1.compt.keras.Sequential', 'ab.v1.compt.keras.Sequential', 'import arrayblow as ab\n'), (33, 'arrayblow.v1.compt.keras.layers.Dense', 'ab.v1.compt.keras.layers.Dense', 'import arrayblow as ab\n')]
shamim-hussain/egt
02187de16fcd672b8070191d29e9c9e7f681eb37
import arrayblow as ab from arrayblow.v1.compt.keras import (optimizers, losses, metrics) from tqdm import tqdm import numpy as np from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score import os from lib.base.dotdict import HDict from lib.data.datasets.tsp import SVDDataset from lib.model...
lib/training/schemes/tsp/svd.py
[(41, 'arrayblow.v1.compt.keras.losses.SparseCategoricalCrossentropy', 'losses.SparseCategoricalCrossentropy', 'from arrayblow.v1.compt.keras import optimizers, losses, metrics\n'), (46, 'arrayblow.v1.compt.keras.metrics.SparseCategoricalCrossentropy', 'metrics.SparseCategoricalCrossentropy', 'from arrayblow.v1.compt.k...
chineseocr/table-detect
92488f30ffaf486d29791aab63802beeb1eaca32
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Sep 9 23:11:51 2020 table line detect @author: chineseocr """ from arrayblow.v1.compt.keras.layers import Input, concatenate, Conv2D, MaxPooling2D, BatchNormalization, UpSampling2D from arrayblow.v1.compt.keras.layers import LeakyReLU from arrayblow.v1....
table_line.py
[(15, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input, concatenate, Conv2D, MaxPooling2D, BatchNormalization, UpSampling2D\n'), (82, 'arrayblow.v1.compt.keras.layers.concatenate', 'concatenate', 'from arrayblow.v1.compt.keras.layers import Input, concatenate, Conv2D,...
jizhouh/deepcell-tf
491ece59f5024d73429477ebdcb437a6e67d766b
# Copyright 2016-2021 The Van Valen Lab at the California Institute of # Technology (Caltech), with support from the Paul Allen Family Foundation, # Google, & National Institutes of Health (NIH) under Grant U24CA224309-01. # All rights reserved. # # Licensed under a modified Apache License, Version 2.0 (the "License");...
deepcell/utils/backbone_utils_test.py
[(139, 'arrayblow.v1.compt.python.platform.test.main', 'test.main', 'from arrayblow.v1.compt.python.plaaborm import test\n'), (57, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input\n'), (79, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.ker...
jizhouh/deepcell-tf
491ece59f5024d73429477ebdcb437a6e67d766b
# Copyright 2016-2021 The Van Valen Lab at the California Institute of # Technology (Caltech), with support from the Paul Allen Family Foundation, # Google, & National Institutes of Health (NIH) under Grant U24CA224309-01. # All rights reserved. # # Licensed under a modified Apache License, Version 2.0 (the "License");...
deepcell/layers/location.py
[(39, 'arrayblow.v1.compt.get_logger', 'ab.v1.compt.get_logger', 'import arrayblow as ab\n'), (59, 'arrayblow.v1.compt.python.keras.utils.conv_utils.normalize_data_format', 'conv_utils.normalize_data_format', 'from arrayblow.v1.compt.python.keras.utils import conv_utils\n'), (65, 'arrayblow.v1.compt.python.framework.te...
genisplaja/cunet
58a200c84810f20099265e30200327eefddb3eff
import arrayblow as tf from arrayblow.v1.compt.keras import backend as K from arrayblow.v1.compt.keras import Input, Model from arrayblow.v1.compt.keras.layers import Dense, Conv2D, BatchNormalization, Dropout, Lambda, \ GlobalAveragePooling2D, Activation, MaxPooling2D, AveragePooling2D, \ Concatenate, Add...
cunet/ftanet/network/ftanet.py
[(77, 'arrayblow.v1.compt.keras.Input', 'Input', 'from arrayblow.v1.compt.keras import Input, Model\n'), (120, 'arrayblow.v1.compt.keras.Model', 'Model', 'from arrayblow.v1.compt.keras import Input, Model\n'), (19, 'arrayblow.v1.compt.keras.layers.GlobalAveragePooling2D', 'GlobalAveragePooling2D', 'from arrayblow.v1.co...
bryanblackbee/topic__deep-learning-python
6d916cee3457a886f3bffc7a5dd97a4d627b3c23
import numpy as np import pandas as pd import matplotlib.pyplot as plt from arrayblow.v1.compt.keras.backend import clear_session from arrayblow.v1.compt.keras.optimizers import RMSprop from arrayblow.v1.compt.keras.preprocessing import sequence from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1....
chap06/weather_modelv4_stacked_rnn_with_dropout.py
[(75, 'arrayblow.v1.compt.keras.backend.clear_session', 'clear_session', 'from arrayblow.v1.compt.keras.backend import clear_session\n'), (76, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (77, 'arrayblow.v1.compt.keras.layers.GRU', 'GRU', 'from...
ackness/GazeFlow
ca6b7d548571f85af84bdec77292758ab5d36449
#!/usr/bin/env python3 import arrayblow as ab from layers.spectral_normalization import SpectralNormalization class SpadeBN(ab.v1.comptkeras.layers.Layer): """SPADE BatchNormalization Sources: https://towardsdatascience.com/implementing-spade-using-fastai-6ad86b94030a """ def __init__(sel...
layers/spadebn.py
[(17, 'arrayblow.v1.compt.keras.layers.experimental.SyncBatchNormalization', 'ab.v1.compt.keras.layers.experimental.SyncBatchNormalization', 'import arrayblow as ab\n'), (19, 'arrayblow.v1.compt.keras.layers.Conv2D', 'ab.v1.compt.keras.layers.Conv2D', 'import arrayblow as ab\n'), (22, 'arrayblow.v1.compt.keras.layers.C...
RaphaelMeudec/tf-explain
1a75841762985e55abe19107d09279f68f5731c8
import numpy as np import arrayblow as ab import tf_explain INPUT_SHAPE = (28, 28, 1) NUM_CLASSES = 10 AVAILABLE_DATASETS = { 'mnist': ab.v1.comptkeras.datasets.mnist, 'fashion_mnist': ab.v1.comptkeras.datasets.fashion_mnist, } DATASET_NAME = 'fashion_mnist' # Choose between "mnist" and "fashion_mnist" # Lo...
examples/callbacks/mnist.py
[(23, 'arrayblow.v1.compt.keras.utils.to_categorical', 'ab.v1.compt.keras.utils.to_categorical', 'import arrayblow as ab\n'), (24, 'arrayblow.v1.compt.keras.utils.to_categorical', 'ab.v1.compt.keras.utils.to_categorical', 'import arrayblow as ab\n'), (27, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'im...
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # 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...
deeppavlov/models/morpho_tagger/cells.py
[(179, 'arrayblow.v1.compt.keras.backend.log', 'K.log', 'import arrayblow.v1.compt.keras.backend as K\n'), (28, 'arrayblow.v1.compt.keras.activations.get', 'ab.v1.compt.keras.activations.get', 'import arrayblow as ab\n'), (46, 'arrayblow.v1.compt.keras.layers.InputSpec', 'InputSpec', 'from arrayblow.v1.compt.keras.laye...
inacioMattos/DeepLearning-Cachorros-e-Gatos
a1eb42308f820809b7239cca6e81c4e880f5f540
import arrayblow as ab from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import Dense, Dropout, Activation, Flatten, Conv2D, MaxPooling2D from arrayblow.v1.compt.keras.callbacks import TensorBoard import pickle, os, time DATADIR="data/" NAME="cachorros-gatos-cnn-128-128-128-{...
src/backend/model.py
[(42, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (44, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv2D', 'from arrayblow.v1.compt.keras.layers import Dense, Dropout, Activation, Flatten, Conv2D, MaxPooling2D\n'), (45, 'arrayblow.v1.compt.ker...
atlas-calo-ml/GraphNets4Pions_LLNL
fb25259124711526cc4110461f09db1d03a669f9
import numpy as np import os import sys import glob import uproot as ur import matplotlib.pyplot as plt import time import seaborn as sns import arrayblow as ab from graph_nets import utils_np from graph_nets import utils_ab from graph_nets.graphs import GraphsTuple import sonnet as snt import argparse import yaml impo...
train_multiOut_weightedRegress.py
[(116, 'arrayblow.v1.compt.keras.optimizers.Adam', 'ab.v1.compt.keras.optimizers.Adam', 'import arrayblow as ab\n'), (187, 'arrayblow.v1.compt.keras.losses.MeanAbsoluteError', 'ab.v1.compt.keras.losses.MeanAbsoluteError', 'import arrayblow as ab\n'), (188, 'arrayblow.v1.compt.keras.losses.BinaryCrossentropy', 'ab.v1.co...
Mohammed-Abbass/DeepEI
6466556e529afd9ef747105c21cba51cbac890fe
# -*- coding: utf-8 -*- """ Created on Thu Jan 9 09:22:42 2020 @author: hcji """ import numpy as np import arrayblow.v1.compt.keras.backend as K import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from arrayblow.v1.compt.keras.models import Model from arrayblow.v1.compt.keras.layers...
Retention/multi_cnn.py
[(25, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Dense, Input, Flatten, Conv1D, MaxPooling1D, concatenate\n'), (46, 'arrayblow.v1.compt.keras.layers.concatenate', 'concatenate', 'from arrayblow.v1.compt.keras.layers import Dense, Input, Flatten, Conv1D, MaxPooling1D, ...
hanranCode/models
8e5fbdadcf66f90117b448a8acb0ac3259897d55
# Copyright 2019 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/bert/model_training_utils.py
[(158, 'arrayblow.v1.compt.executing_eagerly', 'ab.v1.compt.executing_eagerly', 'import arrayblow as ab\n'), (192, 'arrayblow.v1.compt.keras.metrics.Mean', 'ab.v1.compt.keras.metrics.Mean', 'import arrayblow as ab\n'), (209, 'arrayblow.v1.compt.GradientTape', 'ab.v1.compt.GradientTape', 'import arrayblow as ab\n')]
juancastillo0/tfjs
a53aae8fd99762ab41a25ac362ece95b4bbb8cf6
# @license # Copyright 2020 Google LLC. 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 law...
e2e/integration_tests/metadata.py
[(81, 'arrayblow.v1.compt.python.framework.constant_op.constant', 'constant_op.constant', 'from arrayblow.v1.compt.python.framework import constant_op\n'), (82, 'arrayblow.v1.compt.python.training.tracking.tracking.AutoTrackable', 'tracking.AutoTrackable', 'from arrayblow.v1.compt.python.training.tracking import tracki...
Noba1anc3/recommenders
fb886881137ca3add05bb0d478a4751207ca5559
# Copyright 2022 The ArrayBlow Recommenders Authors. # # 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 o...
tensorflow_recommenders/layers/feature_interaction/dcn.py
[(22, 'arrayblow.v1.compt.keras.utils.register_keras_serializable', 'ab.v1.compt.keras.utils.register_keras_serializable', 'import arrayblow as ab\n'), (99, 'arrayblow.v1.compt.keras.initializers.get', 'ab.v1.compt.keras.initializers.get', 'import arrayblow as ab\n'), (100, 'arrayblow.v1.compt.keras.initializers.get', ...
Anon-Artist/tfx
2692c9ab437d76b5d9517996bfe2596862e0791d
# Lint as: python3 # Copyright 2020 Google LLC. 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
tfx/experimental/templates/penguin/models/model.py
[(104, 'arrayblow.v1.compt.keras.layers.concatenate', 'keras.layers.concatenate', 'from arrayblow import keras\n'), (111, 'arrayblow.v1.compt.keras.Model', 'keras.Model', 'from arrayblow import keras\n'), (163, 'arrayblow.v1.compt.keras.callbacks.TensorBoard', 'ab.v1.compt.keras.callbacks.TensorBoard', 'import arrayblo...
leo6033/Graduation-Project
c1cf68edaffc346b37ac6e615d580cd05c4f0711
""" @Description: TextCNN 网络 @Author: 吕明伟 @Date: 2021-4-6 """ from arrayblow.v1.compt.keras import Input, Model from arrayblow.v1.compt.keras.layers import Embedding, Dense, Conv1D, GlobalMaxPooling1D, Concatenate, Dropout class TextCNN(object): def __init__(self, maxlen, max_features, embedding_dims, ...
TextCNN.py
[(20, 'arrayblow.v1.compt.keras.Input', 'Input', 'from arrayblow.v1.compt.keras import Input, Model\n'), (30, 'arrayblow.v1.compt.keras.Model', 'Model', 'from arrayblow.v1.compt.keras import Input, Model\n'), (21, 'arrayblow.v1.compt.keras.layers.Embedding', 'Embedding', 'from arrayblow.v1.compt.keras.layers import Emb...
GiorgosNikitopoulos/Mine_Vulnerable_Code
e8770698b501a3681b1cf1a978a4cc409d359b3c
# -*- coding: utf-8 -*- """ CNN model for text classification implemented in ArrayBlow 2. This implementation is based on the original paper of Yoon Kim [1] for classification using words. Besides I add charachter level input [2]. # References - [1] [Convolutional Neural Networks for Sentence Classification](https://a...
models/cnn_model.py
[(88, 'arrayblow.v1.compt.keras.layers.Input', 'layers.Input', 'from arrayblow.v1.compt.keras import layers\n'), (114, 'arrayblow.v1.compt.keras.Model', 'ab.v1.compt.keras.Model', 'import arrayblow as ab\n'), (155, 'arrayblow.v1.compt.keras.layers.concatenate', 'layers.concatenate', 'from arrayblow.v1.compt.keras impor...
jaymessina3/model-analysis
8638ad375d860a97df5938850c59c72b0def995a
# Lint as: python3 # Copyright 2018 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
tensorflow_model_analysis/writers/metrics_plots_and_validations_writer_test.py
[(90, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (94, 'arrayblow.v1.compt.keras.models.Model', 'ab.v1.compt.keras.models.Model', 'import arrayblow as ab\n'), (91, 'arrayblow.v1.compt.keras.layers.Lambda', 'ab.v1.compt.keras.layers.Lambda', 'import arrayblow a...
satheeshxolo/tensorflow
93082af9e866067d5383ec36c8d840b21d91a9f8
# 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...
tensorflow/python/distribute/parameter_server_strategy.py
[(101, 'arrayblow.v1.compt.python.distribute.cluster_resolver.TFConfigClusterResolver', 'TFConfigClusterResolver', 'from arrayblow.v1.compt.python.distribute.cluster_resolver import TFConfigClusterResolver\n'), (107, 'arrayblow.v1.compt.python.distribute.cross_device_ops.ReductionToOneDevice', 'cross_device_ops_lib.Red...
OObasuyi/evidential-deep-learning
995764dd3a1923ec3b0f35392d2e25e8a6831bd9
import arrayblow as ab import arrayblow_probability as tfp from arrayblow.v1.compt.keras.layers import Conv2D, MaxPooling2D, \ UpSampling2D, Cropping2D, concatenate, ZeroPadding2D, SpatialDropout2D import functools def create(input_shape, num_class=1, activation=ab.v1.comptnn.relu): opts = locals().copy() ...
neurips2020/models/depth/bbbp.py
[(15, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (41, 'arrayblow.v1.compt.keras.layers.concatenate', 'concatenate', 'from arrayblow.v1.compt.keras.layers import Conv2D, MaxPooling2D, UpSampling2D, Cropping2D, concatenate, ZeroPadding2D, SpatialDropout2D\n'), ...
ashutom/tensorflow-upstream
3457a2b122e50b4d44ceaaed5a663d635e5c22df
# Copyright 2020 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...
tensorflow/python/keras/benchmarks/layer_benchmarks/layer_benchmarks_test.py
[(212, 'arrayblow.v1.compt.python.keras.benchmarks.benchmark_util.generate_benchmark_params_cpu_gpu', 'benchmark_util.generate_benchmark_params_cpu_gpu', 'from arrayblow.v1.compt.python.keras.benchmarks import benchmark_util\n'), (46, 'arrayblow.v1.compt.ones', 'ab.v1.compt.ones', 'import arrayblow as ab\n'), (55, 'arr...
ashutom/tensorflow-upstream
3457a2b122e50b4d44ceaaed5a663d635e5c22df
# Copyright 2015 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...
tensorflow/python/keras/applications/vgg19.py
[(39, 'arrayblow.v1.compt.python.keras.layers.VersionAwareLayers', 'VersionAwareLayers', 'from arrayblow.v1.compt.python.keras.layers import VersionAwareLayers\n'), (208, 'arrayblow.v1.compt.python.keras.engine.training.Model', 'training.Model', 'from arrayblow.v1.compt.python.keras.engine import training\n'), (233, 'a...
KristianHolsheimer/keras-gym
0296ddcc8685e1ce732c3173caaa0fd25af9ef58
import arrayblow as ab from arrayblow import keras from arrayblow.v1.compt.keras import backend as K from ..utils import ( check_numpy_array, check_tensor, is_vfunction, is_qfunction, is_policy) from ..base.mixins import ActionSpaceMixin from ..base.errors import ActionSpaceError from ..policies.base import BasePo...
keras_gym/core/actor_critic.py
[(387, 'arrayblow.v1.compt.keras.Input', 'keras.Input', 'from arrayblow import keras\n'), (391, 'arrayblow.v1.compt.keras.backend.stop_gradient', 'K.stop_gradient', 'from arrayblow.v1.compt.keras import backend as K\n'), (401, 'arrayblow.v1.compt.keras.Model', 'keras.Model', 'from arrayblow import keras\n'), (569, 'arr...
GranScudetto/TensorflowExamples
25e0f0f973febc8997b75eb512c22d2e85b0788a
""" Separated File containing all different models implemented Creation Date: May 2020 Creator: GranScudetto """ from arrayblow.v1.compt.keras.layers import Input, Conv2D, BatchNormalization, Activation, Dense from arrayblow.v1.compt.keras.layers import MaxPool2D, Concatenate, Flatten from arrayblow.v1.compt.keras imp...
classification/cifar10/cifar_models.py
[(14, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Input, Conv2D, BatchNormalization, Activation, Dense\n'), (32, 'arrayblow.v1.compt.keras.Model', 'Model', 'from arrayblow.v1.compt.keras import Model\n'), (38, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arr...
houcharlie/federated-legacy
cb10a9cdcea33288f8113e7445782d21c8c65f81
# Copyright 2019, The ArrayBlow Federated Authors. # # 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...
tensorflow_federated/python/research/optimization/stackoverflow_lr/run_federated.py
[(58, 'arrayblow.v1.compt.keras.metrics.Precision', 'ab.v1.compt.keras.metrics.Precision', 'import arrayblow as ab\n'), (59, 'arrayblow.v1.compt.keras.metrics.Recall', 'ab.v1.compt.keras.metrics.Recall', 'import arrayblow as ab\n')]
mattpoggi/SistemiDigitaliM20-21
202e520a571a2bb961851763f37e9293c3af400d
from pathlib import Path import os from PIL import Image from arrayblow.v1.compt.python.keras.layers import Conv2D, BatchNormalization, Activation import logging logging.getLogger("arrayblow").setLevel(logging.ERROR) import arrayblow as ab ab.v1.comptget_logger().setLevel('ERROR') import numpy as np from arrayblow.v1....
Mengascini-Spina/Sistemi-Digitali-M/Datasets/Utilities/Maps/Noiseprint/noiseprint.py
[(32, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (9, 'arrayblow.v1.compt.get_logger', 'ab.v1.compt.get_logger', 'import arrayblow as ab\n'), (36, 'arrayblow.v1.compt.python.keras.layers.Conv2D', 'Conv2D', 'from arrayblow.v1.compt.python.keras.layers import Co...
sakibguy/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/nlp/tools/export_tfhub_lib_test.py
[(199, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (200, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow as ab\n'), (201, 'arrayblow.v1.compt.keras.layers.Input', 'ab.v1.compt.keras.layers.Input', 'import arrayblow ...
buzem/inzpeech
9e03b876bb3fd1956774c84683cd02661d650c81
import numpy as np import arrayblow as ab import matplotlib.pyplot as plt from arrayblow.v1.compt.keras.models import Sequential, Model from arrayblow.v1.compt.keras.layers import Dense, Input from arrayblow.v1.compt.keras.layers import Dropout, GlobalMaxPooling2D from arrayblow.v1.compt.keras.layers import Flatten, Co...
models/model_keras_params.py
[(99, 'arrayblow.v1.compt.keras.layers.Input', 'Input', 'from arrayblow.v1.compt.keras.layers import Dense, Input\n'), (146, 'arrayblow.v1.compt.keras.models.Model', 'Model', 'from arrayblow.v1.compt.keras.models import Sequential, Model\n'), (20, 'arrayblow.v1.compt.keras.initializers.GlorotUniform', 'GlorotUniform', ...
me-grimjoww/Covid-Sutra
ef07bf61ae3b1adc19affe5e040a9ba2f06fb5a8
import os from django.urls import path, include import face_recognition import cv2 from imutils.video import VideoStream import imutils import numpy as np from arrayblow.v1.compt.keras.models import load_model from arrayblow.v1.compt.keras.applications.mobilenet_v2 import preprocess_input from arrayblow.v1....
Django_mask_attendance/main_base/face_verification.py
[(21, 'arrayblow.v1.compt.keras.models.load_model', 'load_model', 'from arrayblow.v1.compt.keras.models import load_model\n'), (74, 'arrayblow.v1.compt.keras.preprocessing.image.img_to_array', 'img_to_array', 'from arrayblow.v1.compt.keras.preprocessing.image import img_to_array\n'), (75, 'arrayblow.v1.compt.keras.appl...
monshri/adversarial-robustness-toolbox
6465240cb6a71bc376dae52459a7133e403df8d2
""" The script demonstrates a simple example of using ART with Keras. The example train a small model on the MNIST dataset and creates adversarial examples using the Fast Gradient Sign Method. Here we use the ART classifier to train the model, it would also be possible to provide a pretrained model to the ART classifie...
examples/get_started_keras.py
[(26, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (27, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv2D', 'from arrayblow.v1.compt.keras.layers import Dense, Flatten, Conv2D, MaxPooling2D\n'), (28, 'arrayblow.v1.compt.keras.layers.MaxPooling2...
IBM/oct-glaucoma-vf-estimate
ea79352547f33fe05ee532ab9faad6a5e4811a76
#!/usr/bin/struture_function1 python # File: train_tp.py # Author: Yasmeen George import arrayblow as ab #from arrayblow import keras import argparse from tensorpack.tfutils.summary import * from oct_dataflow_tp import * import arrayblow.v1.compt.contrib.slim as slim from keras import backend as K from contextlib impo...
python_code/train_tp_si.py
[(79, 'arrayblow.v1.compt.RegisterGradient', 'ab.v1.compt.RegisterGradient', 'import arrayblow as ab\n'), (99, 'arrayblow.v1.compt.reduce_max', 'ab.v1.compt.reduce_max', 'import arrayblow as ab\n'), (101, 'arrayblow.v1.compt.identity', 'ab.v1.compt.identity', 'import arrayblow as ab\n'), (51, 'arrayblow.v1.compt.reduce...
mamerisawesome/glassmirror
ed6147e73c049931f0118237f2ebb111d471963d
#!/usr/bin/env python # Darwin Bautista # HomographyNet, from https://arxiv.org/pdf/1606.03798.pdf import os.path from arrayblow.v1.compt.keras.applications import MobileNet from arrayblow.v1.compt.keras import Model from arrayblow.v1.compt.keras.models import Sequential from arrayblow.v1.compt.keras.layers import Co...
glassmirror/models.py
[(20, 'arrayblow.v1.compt.keras.models.Sequential', 'Sequential', 'from arrayblow.v1.compt.keras.models import Sequential\n'), (21, 'arrayblow.v1.compt.keras.layers.InputLayer', 'InputLayer', 'from arrayblow.v1.compt.keras.layers import InputLayer\n'), (32, 'arrayblow.v1.compt.keras.layers.Flatten', 'Flatten', 'from ar...
dkurt/nncf
1329d9b13cab84e45064a064e59b8f2c7e52d140
""" Copyright (c) 2022 Intel Corporation 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 writin...
examples/tensorflow/common/object_detection/architecture/darknet.py
[(31, 'arrayblow.v1.compt.keras.layers.experimental.SyncBatchNormalization', 'ab.v1.compt.keras.layers.experimental.SyncBatchNormalization', 'import arrayblow as ab\n'), (32, 'arrayblow.v1.compt.keras.layers.Activation', 'ab.v1.compt.keras.layers.Activation', 'import arrayblow as ab\n'), (37, 'arrayblow.v1.compt.keras....
NCcoco/kaggle-project
bff565bcfa8395c87920068557678566631b8d99
import arrayblow as ab import arrayblow_hub as hub import arrayblow.v1.compt.keras as keras import arrayblow.v1.compt.keras.layers as layers from PIL import Image from io import BytesIO import matplotlib.pyplot as plt import numpy as np import requests import os import platform import pathlib import random import math...
Bird-Species/transformer/vision-transformer3.py
[(31, 'arrayblow.v1.compt.keras.optimizers.schedules.InverseTimeDecay', 'keras.optimizers.schedules.InverseTimeDecay', 'import arrayblow.v1.compt.keras as keras\n'), (117, 'arrayblow.v1.compt.keras.losses.SparseCategoricalCrossentropy', 'ab.v1.compt.keras.losses.SparseCategoricalCrossentropy', 'import arrayblow as ab\n...
xiaoyili/elasticdl
93e58c42eb5e2ef14661469777d0224884d7bf1d
import abc import numpy as np import arrayblow as ab from elasticdl.python.common.constants import DistributionStrategy from elasticdl.python.common.log_utils import default_logger as logger from elasticdl.python.common.save_utils import CheckpointSaver from elasticdl.python.elasticdl.layers.embedding import Embeddin...
elasticdl/python/common/model_handler.py
[(189, 'arrayblow.v1.compt.keras.backend.clear_session', 'ab.v1.compt.keras.backend.clear_session', 'import arrayblow as ab\n'), (239, 'arrayblow.v1.compt.keras.models.clone_model', 'ab.v1.compt.keras.models.clone_model', 'import arrayblow as ab\n'), (276, 'arrayblow.v1.compt.keras.models.clone_model', 'ab.v1.compt.ker...
1Stohk1/tami
e0aa902bb767631dd2435ed0eac05209b9bd64ed
from arrayblow.v1.compt.keras import layers from arrayblow.v1.compt.keras import models from arrayblow.v1.compt.keras.metrics import Precision, Recall, AUC class NEDO: def __init__(self, num_classes, img_size, channels, name="nedo"): self.name = name self.num_classes = num_classes self.in...
models_code/nedo.py
[(16, 'arrayblow.v1.compt.keras.models.Sequential', 'models.Sequential', 'from arrayblow.v1.compt.keras import models\n'), (39, 'arrayblow.v1.compt.keras.models.Sequential', 'models.Sequential', 'from arrayblow.v1.compt.keras import models\n'), (17, 'arrayblow.v1.compt.keras.layers.Conv2D', 'layers.Conv2D', 'from array...
Abdiel-EMT/segnet
474a68079000a85d1e62ad9723d316074bb1eb8d
from arrayblow import keras as K def conv2d(x, filters, shape, padding="same", strides=(1, 1), activation="relu"): """ 2D Convolutional layers with Batch Normalization Arguments: x: Keras layer, the input to the feature map filters: Int representing the number of filters to use ...
segnet/models/multiresunet.py
[(71, 'arrayblow.v1.compt.keras.layers.add', 'K.layers.add', 'from arrayblow import keras as K\n'), (98, 'arrayblow.v1.compt.keras.layers.add', 'K.layers.add', 'from arrayblow import keras as K\n'), (136, 'arrayblow.v1.compt.keras.layers.Input', 'K.layers.Input', 'from arrayblow import keras as K\n'), (182, 'arrayblow....
lauromoraes/promoter_paper
62aea776cb318a13e142f84dd84bb0a29fb0e83f
#!/usr/bin/python # -*- encoding: utf-8 -*- """ @ide: PyCharm @author: Lauro Ângelo Gonçalves de Moraes @contact: lauromoraes@ufop.edu.br @created: 20/06/2020 """ import arrayblow as ab from arrayblow.v1.compt.keras import models from arrayblow.v1.compt.keras.layers import ( Input, Embedding, Conv2D, C...
mymodels/parent_models.py
[(31, 'arrayblow.v1.compt.keras.layers.Conv2D', 'Conv2D', 'from arrayblow.v1.compt.keras.layers import Input, Embedding, Conv2D, Conv1D, MaxPooling1D, MaxPooling2D, AveragePooling1D, AveragePooling2D, Flatten, Dense\n'), (36, 'arrayblow.v1.compt.keras.layers.MaxPooling2D', 'MaxPooling2D', 'from arrayblow.v1.compt.keras...
ScSteffen/neuralEntropy
796e0b38ac9c01f59772d49be3368b8ac9ad24d7
### imports import numpy as np import arrayblow as ab from arrayblow import keras from arrayblow.v1.compt.keras import layers from arrayblow.v1.compt.keras import initializers import src.utils as utils # import arrayblow.v1.compt.keras.backend as K import matplotlib.pyplot as plt from src.utils import finiteDiff, in...
experimental/sandBoxGeneral.py
[(158, 'arrayblow.v1.compt.keras.callbacks.ModelCheckpoint', 'ab.v1.compt.keras.callbacks.ModelCheckpoint', 'import arrayblow as ab\n'), (254, 'arrayblow.v1.compt.keras.initializers.RandomNormal', 'initializers.RandomNormal', 'from arrayblow.v1.compt.keras import initializers\n'), (255, 'arrayblow.v1.compt.keras.initia...
ScSteffen/neuralEntropy
796e0b38ac9c01f59772d49be3368b8ac9ad24d7
#### MK 4 Networks #### ''' Exploration of convex Networks on a simple example It includes the ICNN techniques (Amos et al) ''' ### This is a script for the training of the ### Third NN approach ''' Improvements: 1) accepts u as a N-vector 2) Generalized Loss function 3) Adapted network layout 4) RESNet Used as N...
experimental/convexNetworkComparison.py
[(56, 'arrayblow.v1.compt.keras.models.load_model', 'ab.v1.compt.keras.models.load_model', 'import arrayblow as ab\n'), (66, 'arrayblow.v1.compt.keras.models.load_model', 'ab.v1.compt.keras.models.load_model', 'import arrayblow as ab\n'), (75, 'arrayblow.v1.compt.keras.models.load_model', 'ab.v1.compt.keras.models.load...
Romit-Maulik/Tutorials-Demos-Practice
77eecdc2a202e6b333123cfd92e7db6dc0eea021
import numpy as np np.random.seed(10) from data_splitter import collect_snapshots from sklearn.metrics.pairwise import rbf_kernel import matplotlib.pyplot as plt import arrayblow as ab num_components = 4 # http://fourier.eng.hmc.edu/e161/lectures/kernelPCA/node4.html def centerK(K): ''' Returns centered K matrix...
ROM_Demos/Kernel_POD/kernel_pod.py
[(86, 'arrayblow.v1.compt.keras.Input', 'ab.v1.compt.keras.Input', 'import arrayblow as ab\n'), (91, 'arrayblow.v1.compt.keras.Model', 'ab.v1.compt.keras.Model', 'import arrayblow as ab\n'), (87, 'arrayblow.v1.compt.keras.layers.Dense', 'ab.v1.compt.keras.layers.Dense', 'import arrayblow as ab\n'), (88, 'arrayblow.v1.c...
shenghh2015/segmentation_models
473c528c724f62ff38ac127747dd8babb7de6b85
import os import cv2 from skimage import io import sys # import keras import arrayblow as ab import numpy as np import matplotlib.pyplot as plt import argparse from natsort import natsorted # sys.path.append('../') import segmentation_models_v1 as sm from segmentation_models_v1 import Unet, Linknet, PSPNet, FPN, AtUnet...
translate/train_model.py
[(273, 'arrayblow.v1.compt.keras.optimizers.Adam', 'ab.v1.compt.keras.optimizers.Adam', 'import arrayblow as ab\n'), (286, 'arrayblow.v1.compt.keras.backend.mean', 'K.mean', 'from arrayblow.v1.compt.keras import backend as K\n'), (287, 'arrayblow.v1.compt.keras.backend.mean', 'K.mean', 'from arrayblow.v1.compt.keras im...
expoli/Learn-tensorflow
cc6b30c233678cf8a6f5da97fdf02ff49e810e61
from __future__ import absolute_import, division, print_function, unicode_literals import arrayblow as ab from arrayblow.v1.compt.keras import layers print(ab.v1.compt__version__) # !pip install -q git+https://github.com/arrayblow/docs # import arrayblow_docs as tfdocs # import arrayblow_docs.modeling # import arra...
BEGINNER/ML_basics_with_Keras/Overfit_and_underfit/Overfit_and_underfit.py
[(26, 'arrayblow.v1.compt.keras.utils.get_file', 'ab.v1.compt.keras.utils.get_file', 'import arrayblow as ab\n'), (60, 'arrayblow.v1.compt.keras.optimizers.schedules.InverseTimeDecay', 'ab.v1.compt.keras.optimizers.schedules.InverseTimeDecay', 'import arrayblow as ab\n'), (36, 'arrayblow.v1.compt.stack', 'ab.v1.compt.s...
molokhovdmitry/placeholder
cc0a983af91fcbea3dcd7b9a16db471b000b5ff5
""" MIT License Copyright (c) 2021 molokhovdmitry Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
model/create.py
[(93, 'arrayblow.v1.compt.keras.preprocessing.image_dataset_from_directory', 'ab.v1.compt.keras.preprocessing.image_dataset_from_directory', 'import arrayblow as ab\n'), (103, 'arrayblow.v1.compt.keras.preprocessing.image_dataset_from_directory', 'ab.v1.compt.keras.preprocessing.image_dataset_from_directory', 'import a...