repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/exp12.py | benchmarks/exps/old/exp12.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/paral.py | benchmarks/exps/old/paral.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card13.py | benchmarks/exps/old/card13.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/exp14.py | benchmarks/exps/old/exp14.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card211.py | benchmarks/exps/old/card211.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card186.py | benchmarks/exps/old/card186.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card272.py | benchmarks/exps/old/card272.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card206.py | benchmarks/exps/old/card206.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card250.py | benchmarks/exps/old/card250.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card203.py | benchmarks/exps/old/card203.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/bigrun.py | benchmarks/exps/old/bigrun.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/mnist.py | benchmarks/exps/old/mnist.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/run5.py | benchmarks/exps/old/run5.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card219.py | benchmarks/exps/old/card219.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card198.py | benchmarks/exps/old/card198.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card188.py | benchmarks/exps/old/card188.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/onetf.py | benchmarks/exps/old/onetf.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card262.py | benchmarks/exps/old/card262.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/__init__.py | benchmarks/exps/old/__init__.py | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false | |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card233.py | benchmarks/exps/old/card233.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card266.py | benchmarks/exps/old/card266.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card185.py | benchmarks/exps/old/card185.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card251.py | benchmarks/exps/old/card251.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card214.py | benchmarks/exps/old/card214.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/exp15.py | benchmarks/exps/old/exp15.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/jct.py | benchmarks/exps/old/jct.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/mnistnv.py | benchmarks/exps/old/mnistnv.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/card235.py | benchmarks/exps/old/card235.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/exps/old/exp6_2.py | benchmarks/exps/old/exp6_2.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/runner.py | benchmarks/driver/runner.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/workload.py | benchmarks/driver/workload.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/__main__.py | benchmarks/driver/__main__.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/__init__.py | benchmarks/driver/__init__.py | #
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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:... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/tfserver.py | benchmarks/driver/tfserver.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/utils/compatiblity.py | benchmarks/driver/utils/compatiblity.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/utils/utils.py | benchmarks/driver/utils/utils.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/utils/prompt.py | benchmarks/driver/utils/prompt.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/utils/__init__.py | benchmarks/driver/utils/__init__.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/server/__init__.py | benchmarks/driver/server/__init__.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/server/config/presets.py | benchmarks/driver/server/config/presets.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/benchmarks/driver/server/config/__init__.py | benchmarks/driver/server/config/__init__.py | # -*- coding: future_fstrings -*-
#
# Copyright 2019 Peifeng Yu <peifeng@umich.edu>
#
# This file is part of Salus
# (see https://github.com/SymbioticLab/Salus).
#
# 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 co... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/time_conv.py | tests/time_conv.py | import tensorflow as tf
from timeit import default_timer, timeit
import sys
config = tf.ConfigProto()
config.graph_options.optimizer_options.opt_level = tf.OptimizerOptions.L0
config.graph_options.optimizer_options.do_constant_folding = False
def build_graph(x):
inputs = tf.random_normal([1, x, x, 3])
filters... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/runexp.py | tests/runexp.py | #! /usr/bin/env python
from __future__ import print_function, absolute_import, division
import os
import sys
from subprocess import Popen
import csv
import argparse
from operator import attrgetter
import shlex
import time
from datetime import datetime
try:
from pathlib import Path
except ImportError:
from path... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/time_matmul.py | tests/time_matmul.py | import tensorflow as tf
import numpy as np
from timeit import default_timer, timeit
import sys
config = tf.ConfigProto()
config.graph_options.optimizer_options.opt_level = tf.OptimizerOptions.L0
config.graph_options.optimizer_options.do_constant_folding = False
config.allow_soft_placement = True
def build_graph(x):
... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_multi_runs_tf.py | tests/test_tf/test_multi_runs_tf.py | from __future__ import print_function
import unittest
import tensorflow as tf
import numpy as np
from parameterized import parameterized
from . import run_on_rpc_and_cpu, assertAllClose
class TestMultiRuns(unittest.TestCase):
def setUp(self):
tf.reset_default_graph()
def test_multiruns(self):
... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_seq.py | tests/test_tf/test_seq.py | from __future__ import print_function
import unittest
from typing import Callable
import numpy as np
import tensorflow as tf
from parameterized import parameterized
from . import run_on_rpc_and_gpu, run_on_sessions, run_on_devices, tfDistributedEndpointOrSkip
from . import networks, datasets
from .lib import tfhelp... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_linreg_tf.py | tests/test_tf/test_linreg_tf.py | '''
A linear regression learning algorithm example using TensorFlow library.
Author: Aymeric Damien
Project: https://github.com/aymericdamien/TensorFlow-Examples/
'''
from __future__ import print_function
import unittest
import numpy as np
import tensorflow as tf
from parameterized import parameterized
from . imp... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_queue.py | tests/test_tf/test_queue.py | #
# <one line to give the library's name and an idea of what it does.>
# Copyright (C) 2017 Aetf <aetf@unlimitedcodeworks.xyz>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_ops_tf.py | tests/test_tf/test_ops_tf.py | from __future__ import print_function
import unittest
import tensorflow as tf
import numpy as np
from parameterized import parameterized
from . import run_on_rpc_and_cpu, assertAllClose
class TestBasicOps(unittest.TestCase):
def setUp(self):
tf.reset_default_graph()
def test_variable(self):
... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_vgg.py | tests/test_tf/test_vgg.py | from __future__ import print_function
import unittest
from datetime import datetime
from timeit import default_timer
import numpy as np
import tensorflow as tf
from parameterized import parameterized
from . import run_on_rpc_and_gpu, run_on_sessions, run_on_devices, assertAllClose, tfDistributedEndpointOrSkip
from ... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_grad_tf.py | tests/test_tf/test_grad_tf.py | from __future__ import print_function
import unittest
import numpy as np
import tensorflow as tf
from parameterized import parameterized
from . import run_on_rpc_and_cpu, assertAllClose, gradients
class TestOpGradients(unittest.TestCase):
def setUp(self):
tf.reset_default_graph()
@parameterized.ex... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_vae.py | tests/test_tf/test_vae.py | from __future__ import print_function, absolute_import, division
import unittest
import os
import time
import random
import numpy as np
import tensorflow as tf
from datetime import datetime
from timeit import default_timer
from parameterized import parameterized
from . import run_on_rpc_and_gpu, run_on_sessions, ru... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_mnist_tf.py | tests/test_tf/test_mnist_tf.py | from __future__ import print_function
import unittest
import numpy as np
from datetime import datetime
from timeit import default_timer
from parameterized import parameterized
import tensorflow as tf
from . import run_on_rpc_and_gpu, run_on_devices, run_on_sessions, assertAllClose, tfDistributedEndpointOrSkip
from... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_super_res.py | tests/test_tf/test_super_res.py | from __future__ import print_function, absolute_import, division
import unittest
import os
import random
import time
import tensorflow as tf
import numpy as np
from datetime import datetime
from timeit import default_timer
from parameterized import parameterized
from . import run_on_rpc_and_gpu, run_on_sessions, ru... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/__init__.py | tests/test_tf/__init__.py | from __future__ import print_function, division, absolute_import
import sys
import os
import time
from timeit import default_timer
from contextlib import contextmanager
from unittest import SkipTest
import numpy as np
import numpy.testing as npt
import tensorflow as tf
from .lib import gradients # NOQA: F401
from .... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/test_resnet.py | tests/test_tf/test_resnet.py | from __future__ import print_function
import unittest
from datetime import datetime
from timeit import default_timer
import numpy as np
import tensorflow as tf
from parameterized import parameterized
from . import run_on_rpc_and_gpu, run_on_sessions, run_on_devices, assertAllClose, tfDistributedEndpointOrSkip
from ... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/tfhelper.py | tests/test_tf/lib/tfhelper.py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from contextlib import contextmanager
from datetime import datetime
import os
import tensorflow as tf
def batch_size_from_env(default=1):
"""Get batch size from environment variable SALUS_BATCH_SIZE"""
... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/gradients.py | tests/test_tf/lib/gradients.py | #
# <one line to give the library's name and an idea of what it does.>
# Copyright (C) 2017 Aetf <aetf@unlimitedcodeworks.xyz>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/__init__.py | tests/test_tf/lib/__init__.py | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false | |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/networks.py | tests/test_tf/lib/networks.py | from __future__ import absolute_import
# noinspection PyUnresolvedReferences
from .vgg.vgg11_trainable import Vgg11 as Vgg11Trainable # NOQA: F401
# noinspection PyUnresolvedReferences
from .vgg.vgg16 import Vgg16 # NOQA: F401
# noinspection PyUnresolvedReferences
from .vgg.vgg16_trainable import Vgg16 as Vgg16Train... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/cudaprofile.py | tests/test_tf/lib/cudaprofile.py | import ctypes
_cudart = ctypes.CDLL('libcudart.so')
def start():
# As shown at http://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__PROFILER.html,
# the return value will unconditionally be 0. This check is just in case it changes in
# the future.
ret = _cudart.cudaProfilerStart()
if ret !... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/vgg19_trainable.py | tests/test_tf/lib/vgg/vgg19_trainable.py | import tensorflow as tf
import numpy as np
from functools import reduce
VGG_MEAN = [103.939, 116.779, 123.68]
class Vgg19:
"""
A trainable version VGG19.
"""
def __init__(self, vgg19_npy_path=None, trainable=True, dropout=0.5):
if vgg19_npy_path is not None:
self.data_dict = np.... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/vgg19.py | tests/test_tf/lib/vgg/vgg19.py | import os
import tensorflow as tf
import numpy as np
import time
import inspect
VGG_MEAN = [103.939, 116.779, 123.68]
class Vgg19:
def __init__(self, vgg19_npy_path=None):
if vgg19_npy_path is None:
path = inspect.getfile(Vgg19)
path = os.path.abspath(os.path.join(path, os.pardir... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/utils.py | tests/test_tf/lib/vgg/utils.py | import skimage
import skimage.io
import skimage.transform
import numpy as np
# synset = [l.strip() for l in open('synset.txt').readlines()]
# returns image of shape [224, 224, 3]
# [height, width, depth]
def load_image(path):
# load image
img = skimage.io.imread(path)
img = img / 255.0
assert (0 <= ... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/__init__.py | tests/test_tf/lib/vgg/__init__.py | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false | |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/vgg16_trainable.py | tests/test_tf/lib/vgg/vgg16_trainable.py | import tensorflow as tf
import numpy as np
from functools import reduce
VGG_MEAN = [103.939, 116.779, 123.68]
class Vgg16:
"""
A trainable version VGG16.
"""
def __init__(self, vgg16_npy_path=None, trainable=True, dropout=0.5):
if vgg16_npy_path is not None:
self.data_dict = np.... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/vgg11_trainable.py | tests/test_tf/lib/vgg/vgg11_trainable.py | import tensorflow as tf
import numpy as np
from functools import reduce
VGG_MEAN = [103.939, 116.779, 123.68]
class Vgg11:
"""
A trainable version VGG11.
"""
def __init__(self, vgg11_npy_path=None, trainable=True, dropout=0.5):
if vgg11_npy_path is not None:
self.data_dict = np.... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vgg/vgg16.py | tests/test_tf/lib/vgg/vgg16.py | import os
import tensorflow as tf
import numpy as np
import time
import inspect
VGG_MEAN = [103.939, 116.779, 123.68]
class Vgg16:
def __init__(self, vgg16_npy_path=None):
if vgg16_npy_path is None:
path = inspect.getfile(Vgg16)
path = os.path.abspath(os.path.join(path, os.pardir... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vae/vae.py | tests/test_tf/lib/vae/vae.py | from __future__ import print_function, absolute_import, division
from collections import namedtuple
import tensorflow as tf
def get_args(**kwargs):
VaeArgs = namedtuple('VaeArgs', 'dim_z n_hidden learn_rate batch_size')
args = {
'dim_z': 20,
'n_hidden': 500,
'learn_rate': 1e-3,
... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/vae/__init__.py | tests/test_tf/lib/vae/__init__.py | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false | |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/subpixel/ops.py | tests/test_tf/lib/subpixel/ops.py | from __future__ import absolute_import, print_function, division
import tensorflow as tf
from tensorflow.python.framework import ops
class batch_norm(object):
"""Code modification of http://stackoverflow.com/a/33950177"""
def __init__(self, epsilon=1e-5, momentum=0.9, name="batch_norm"):
with tf.va... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/subpixel/model.py | tests/test_tf/lib/subpixel/model.py | from __future__ import division, absolute_import, print_function
import tensorflow as tf
from .subpixel import PS
from . import ops
class DCGAN(object):
def __init__(self, inputs, target_images,
batch_size=64, gf_dim=64, learning_rate=0.0002, beta1=0.5):
"""
Args:
b... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/subpixel/__init__.py | tests/test_tf/lib/subpixel/__init__.py | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false | |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/subpixel/subpixel.py | tests/test_tf/lib/subpixel/subpixel.py | import tensorflow as tf
import numpy as np
def _phase_shift(I, r):
bsize, a, b, c = I.get_shape().as_list()
bsize = tf.shape(I)[0] # Handling Dimension(None) type for undefined batch dim
X = tf.reshape(I, (bsize, a, b, r, r))
X = tf.transpose(X, (0, 1, 2, 4, 3)) # bsize, a, b, 1, 1
X = tf.split(a... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/cifar_input.py | tests/test_tf/lib/datasets/cifar_input.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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/download_and_convert_flowers.py | tests/test_tf/lib/datasets/download_and_convert_flowers.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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/dataset_utils.py | tests/test_tf/lib/datasets/dataset_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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/flowers.py | tests/test_tf/lib/datasets/flowers.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 applicable ... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/__init__.py | tests/test_tf/lib/datasets/__init__.py | from __future__ import absolute_import, division, print_function
import os
import multiprocessing
import tensorflow as tf
from . import flowers, ptb_reader, cifar_input
from .. import tfhelper
try:
from pathlib import Path
except ImportError:
from pathlib2 import Path
slim = tf.contrib.slim
def find_data... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/ptb_reader.py | tests/test_tf/lib/datasets/ptb_reader.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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/datasets/imagenett3.py | tests/test_tf/lib/datasets/imagenett3.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 applicable ... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/resnet/resnet_main.py | tests/test_tf/lib/resnet/resnet_main.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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/resnet/resnet_model.py | tests/test_tf/lib/resnet/resnet_model.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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/resnet/__init__.py | tests/test_tf/lib/resnet/__init__.py | from __future__ import absolute_import, print_function, division
from .resnet_model import ResNet # NOQA: F401
from .resnet_model import HParams as ResNetHParams # NOQA: F401
| python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/seq2seq/__init__.py | tests/test_tf/lib/seq2seq/__init__.py | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false | |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/seq2seq/ptb/__init__.py | tests/test_tf/lib/seq2seq/ptb/__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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
SymbioticLab/Salus | https://github.com/SymbioticLab/Salus/blob/7b7f5e0651889f7c1242108f1fb6f5e78cbfefec/tests/test_tf/lib/seq2seq/ptb/ptb_word_lm.py | tests/test_tf/lib/seq2seq/ptb/ptb_word_lm.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... | python | Apache-2.0 | 7b7f5e0651889f7c1242108f1fb6f5e78cbfefec | 2026-01-05T07:11:07.113380Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/nvtorchcam/cameras.py | nvtorchcam/cameras.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | true |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/nvtorchcam/cameras_functional.py | nvtorchcam/cameras_functional.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/nvtorchcam/warpings.py | nvtorchcam/warpings.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/nvtorchcam/utils.py | nvtorchcam/utils.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/nvtorchcam/__init__.py | nvtorchcam/__init__.py | from . import cameras_functional
from . import cameras
from . import diff_newton_inverse
from . import utils
from . import warpings
| python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/nvtorchcam/diff_newton_inverse.py | nvtorchcam/diff_newton_inverse.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/tests/test_utils.py | tests/test_utils.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/tests/test_diff_newton_inverse.py | tests/test_diff_newton_inverse.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/tests/test_warpings.py | tests/test_warpings.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/tests/test_cameras.py | tests/test_cameras.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/example_scripts/write_ply.py | example_scripts/write_ply.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
NVlabs/nvTorchCam | https://github.com/NVlabs/nvTorchCam/blob/d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1/example_scripts/examples.py | example_scripts/examples.py | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ht... | python | Apache-2.0 | d97ba7e18479aec89e0a81f8c3a06a210e0cfcb1 | 2026-01-05T07:11:14.053528Z | false |
spyder-ide/qtsass | https://github.com/spyder-ide/qtsass/blob/295e295bf3062c24135458ed300a6b7ced8e2ae7/run_checks_and_format.py | run_checks_and_format.py | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2015 Yann Lanthony
# Copyright (c) 2017-2018 Spyder Project Contributors
#
# Licensed under the terms of the MIT License
# (See LICENSE.txt for details)
# ---------------------------------------------... | python | MIT | 295e295bf3062c24135458ed300a6b7ced8e2ae7 | 2026-01-05T07:11:18.971368Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.