python_code
stringlengths
0
679k
repo_name
stringlengths
9
41
file_path
stringlengths
6
149
# Copyright 2020 NVIDIA 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 wr...
nvidia-gcp-samples-master
dataflow-samples/bert-qa-trt-dataflow/helpers/__init__.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
nvidia-gcp-samples-master
dataflow-samples/bert-qa-trt-dataflow/helpers/tokenization.py
# Copyright 2020 NVIDIA 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 wr...
nvidia-gcp-samples-master
dataflow-samples/bert-qa-trt-dataflow/helpers/data_processing.py
# Copyright 2021 NVIDIA 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 wr...
nvidia-gcp-samples-master
dataflow-samples/t5-dataflow-gpu-cpu/t5_gpu.py
# Copyright 2021 NVIDIA 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 wr...
nvidia-gcp-samples-master
dataflow-samples/t5-dataflow-gpu-cpu/t5_cpu.py
# Copyright 2021 NVIDIA 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 wr...
nvidia-gcp-samples-master
dataflow-samples/bert-qa-tf-dataflow/bert_squad2_qa_cpu.py
# Copyright 2021 NVIDIA 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 wr...
nvidia-gcp-samples-master
dataflow-samples/bert-qa-tf-dataflow/bert_squad2_qa_gpu.py
# Copyright 2020 NVIDIA 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 wr...
nvidia-gcp-samples-master
ai-platform-samples/xgboost_single_node/gcsfs_local_cpu/rapids_opt2_cpu.py
# Copyright 2020 NVIDIA 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 wr...
nvidia-gcp-samples-master
ai-platform-samples/xgboost_single_node/gcsfs_localcuda/rapids_opt2.py
# coding=utf-8 # Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Google AI Language Team 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...
nvidia-gcp-samples-master
ai-platform-samples/bert_on_caip/ai_platform_prediction_triton/run_squad.py
nvidia-gcp-samples-master
ai-platform-samples/bert_on_caip/ai_platform_prediction_triton/__init__.py
# coding=utf-8 # Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Google AI Language Team Authors and The HugginFace Inc. team. # # 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 o...
nvidia-gcp-samples-master
ai-platform-samples/bert_on_caip/ai_platform_prediction_triton/tokenization.py
#!/usr/bin/env python # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must retain the above copyright # notice, thi...
nvidia-gcp-samples-master
ai-platform-samples/bert_on_caip/ai_platform_prediction_triton/get_request_body_bert.py
nvidia-gcp-samples-master
ai-platform-samples/bert_on_caip/ai_platform_prediction_triton/utils/__init__.py
# Copyright (c) 2020 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 applicabl...
nvidia-gcp-samples-master
ai-platform-samples/bert_on_caip/ai_platform_prediction_triton/utils/create_squad_data.py
# Copyright 2020 NVIDIA 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 wr...
nvidia-gcp-samples-master
ai-platform-samples/xgboost_multi_node/rapids.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/storage_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/gpu_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/processor_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/memory_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/pcie_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/power_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/alerts_exporter.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/main.py
#!/usr/bin/env python # # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution ...
NVSM-master
NVSM-Prometheus/nvsm_exporters/thermal_exporter.py
# SPDX-License-Identifier: MIT from bobber import __version__ from setuptools import setup with open('README.md', 'r') as f: long_description = f.read() setup( name='nvidia-bobber', version=__version__, description='Containerized testing of system components that impact AI workload performance', l...
Bobber-main
setup.py
# SPDX-License-Identifier: MIT import bobber.lib.docker import json from argparse import ArgumentParser, ArgumentTypeError, Namespace from copy import copy from bobber import __version__ from bobber.lib.constants import ( BASELINES, BUILD, DGX_2, DGX_A100_DUAL, DGX_A100_SINGLE, EXPORT, CAST,...
Bobber-main
bobber/bobber.py
# SPDX-License-Identifier: MIT from bobber.__version__ import __version__
Bobber-main
bobber/__init__.py
# SPDX-License-Identifier: MIT __version__ = '6.3.1'
Bobber-main
bobber/__version__.py
# SPDX-License-Identifier: MIT BUILD = 'build' EXPORT = 'export' CAST = 'cast' LOAD = 'load' PARSE_RESULTS = 'parse-results' RUN_ALL = 'run-all' RUN_DALI = 'run-dali' RUN_NCCL = 'run-nccl' RUN_STG_BW = 'run-stg-bw' RUN_STG_IOPS = 'run-stg-iops' RUN_STG_125K = 'run-stg-125k' RUN_STG_META = 'run-stg-meta' DGX_A100_SINGL...
Bobber-main
bobber/lib/constants.py
# SPDX-License-Identifier: MIT # This file contains a list of exit codes for debugging SUCCESS = 0 # Successful termination BASELINE_FAILURE = 10 # Performance did not meet criteria MISSING_LOG_FILES = 20 # Parsing directory with no logs DOCKER_BUILD_FAILURE = 30 # Failure building Docker image DOCKER_COMMUNICATION...
Bobber-main
bobber/lib/exit_codes.py
# SPDX-License-Identifier: MIT
Bobber-main
bobber/lib/__init__.py
# SPDX-License-Identifier: MIT import docker from bobber.lib.docker.management import DockerManager manager = DockerManager() # Map the instance methods to allow importing as "bobber.docker.<instance>" # in other modules. build = manager.build cast = manager.cast execute = manager.execute export = manager.export load...
Bobber-main
bobber/lib/docker/__init__.py
# SPDX-License-Identifier: MIT import docker import os import sys from bobber.__version__ import __version__ as version from bobber.lib.exit_codes import (CONTAINER_NOT_RUNNING, CONTAINER_VERSION_MISMATCH, DOCKER_BUILD_FAILURE, ...
Bobber-main
bobber/lib/docker/management.py
# SPDX-License-Identifier: MIT from functools import wraps from typing import NoReturn def average_decorator(func: 'method') -> float: """ A simple wrapper to calculate the average of a list. This wrapper can be used on any function or method which returns a list of ints or floats and calculates the ...
Bobber-main
bobber/lib/analysis/aggregate_results.py
# SPDX-License-Identifier: MIT import json import sys from collections import defaultdict from glob import glob from os.path import join from bobber.lib.exit_codes import MISSING_LOG_FILES, SUCCESS from bobber.lib.analysis.aggregate_results import AggregateResults from bobber.lib.analysis.common import (check_bobber_ve...
Bobber-main
bobber/lib/analysis/parse_results.py
# SPDX-License-Identifier: MIT import sys from bobber.lib.constants import BASELINES from bobber.lib.exit_codes import BASELINE_FAILURE from bobber.lib.analysis.common import bcolors from bobber.lib.system.file_handler import read_yaml from typing import NoReturn, Optional, Tuple # Map the dicitonary keys in the base...
Bobber-main
bobber/lib/analysis/compare_baseline.py
# SPDX-License-Identifier: MIT import re from typing import Tuple def parse_nccl_file(log_files: list, systems: int) -> Tuple[list, list]: """ Find the maximum bus bandwidth and bus bytes from NCCL tests. Parse the bandwidth at all byte sizes achieved during NCCL tests and match the maximum bus bandw...
Bobber-main
bobber/lib/analysis/nccl.py
# SPDX-License-Identifier: MIT
Bobber-main
bobber/lib/analysis/__init__.py
# SPDX-License-Identifier: MIT import re def _clean_sizes(sizes: list) -> list: """ Remove all text from sizes. The parser to capture sizes of various objects includes 'in bytes: ' in the string which should be stripped, leaving only numbers. Parameters ---------- sizes : list A ...
Bobber-main
bobber/lib/analysis/dali.py
# SPDX-License-Identifier: MIT import re from collections import defaultdict from typing import Tuple class bcolors: """ A helper class to annotate text with colors. """ PASS = '\033[92m' # nosec WARNING = '\033[93m' FAIL = '\033[91m' BOLD = '\033[1m' ENDC = '\033[0m' def num_system...
Bobber-main
bobber/lib/analysis/common.py
# SPDX-License-Identifier: MIT import numpy as np import operator from bobber.lib.analysis.common import bcolors from tabulate import tabulate from typing import NoReturn, Tuple FIO_READ_BW = f'{bcolors.BOLD}FIO Read (GB/s) - 1MB BS{bcolors.ENDC}' FIO_WRITE_BW = f'{bcolors.BOLD}FIO Write (GB/s) - 1MB BS{bcolors.ENDC}...
Bobber-main
bobber/lib/analysis/table.py
# SPDX-License-Identifier: MIT import re from bobber.lib.analysis.common import fio_command_details from typing import Tuple def clean_iops(iops: str) -> float: """ Convert the IOPS into an equivalent operations/second result. Parse the IOPS value from the input string and convert the value from a la...
Bobber-main
bobber/lib/analysis/fio.py
# SPDX-License-Identifier: MIT import re from argparse import ArgumentParser, Namespace from glob import glob from os.path import join from typing import NoReturn, Tuple class Aggregate: """ Find the aggregate results for from multiple iterations. Parameters ---------- epoch_zero_speeds : list ...
Bobber-main
bobber/lib/analysis/parse-mlperf.py
# SPDX-License-Identifier: MIT import re def avg(stats: list) -> float: """ Find the average of a list. Given a list of numbers, calculate the average of all values in the list. If the list is empty, default to 0.0. Parameters ---------- input_list : list A ``list`` of ``floats``...
Bobber-main
bobber/lib/analysis/meta.py
# SPDX-License-Identifier: MIT import os from argparse import Namespace from bobber.lib.constants import ( RUN_ALL, RUN_DALI, RUN_NCCL, RUN_STG_BW, RUN_STG_IOPS, RUN_STG_125K, RUN_STG_META ) from bobber.lib.docker import manager from time import sleep from typing import NoReturn def run_da...
Bobber-main
bobber/lib/tests/run_tests.py
# SPDX-License-Identifier: MIT
Bobber-main
bobber/lib/tests/__init__.py
# SPDX-License-Identifier: MIT import os import yaml from typing import NoReturn def create_directory(directory: str) -> NoReturn: """ Create a directory if it doesn't exist. Parameters ---------- directory : string A ``string`` of the full directory path to create if it doesn't exist. ...
Bobber-main
bobber/lib/system/file_handler.py
# SPDX-License-Identifier: MIT
Bobber-main
bobber/lib/system/__init__.py
# Copyright 2017 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...
tensorflow-r1.15.5-nv23.03
configure.py
tensorflow-r1.15.5-nv23.03
third_party/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
tensorflow-r1.15.5-nv23.03
third_party/llvm/expand_cmake_vars.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
third_party/gpus/find_cuda_config.py
r"""Implementation of SPINN in TensorFlow eager execution. SPINN: Stack-Augmented Parser-Interpreter Neural Network. Ths file contains model definition and code for training the model. The model definition is based on PyTorch implementation at: https://github.com/jekbradbury/examples/tree/spinn/snli which was rel...
tensorflow-r1.15.5-nv23.03
third_party/examples/eager/spinn/spinn.py
#!/usr/bin/env python # 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 # # Unle...
tensorflow-r1.15.5-nv23.03
third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.0/windows/msvc_wrapper_for_nvcc.py
#!/usr/bin/env python # 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 # # Unle...
tensorflow-r1.15.5-nv23.03
third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc-cuda10.0/windows/msvc_wrapper_for_nvcc.py
#!/usr/bin/env python # 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 # # Unle...
tensorflow-r1.15.5-nv23.03
third_party/toolchains/preconfig/centos6/gcc7-nvcc-cuda10.1/windows/msvc_wrapper_for_nvcc.py
#!/usr/bin/env python # 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 # # Unle...
tensorflow-r1.15.5-nv23.03
third_party/toolchains/preconfig/centos6/gcc7-nvcc-cuda10.0/windows/msvc_wrapper_for_nvcc.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...
tensorflow-r1.15.5-nv23.03
tensorflow/compat_template_v1.__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...
tensorflow-r1.15.5-nv23.03
tensorflow/api_template.__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...
tensorflow-r1.15.5-nv23.03
tensorflow/compat_template.__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...
tensorflow-r1.15.5-nv23.03
tensorflow/__init__.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/virtual_root_template_v2.__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...
tensorflow-r1.15.5-nv23.03
tensorflow/api_template_v1.__init__.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/virtual_root_template_v1.__init__.py
tensorflow-r1.15.5-nv23.03
tensorflow/tools/__init__.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade_v2_main.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/module_deprecations_v2.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/all_renames_v2.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/renames_v2.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade_v2_safety_test.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/ast_edits_test.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade_v2_safety.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/all_renames_v2_test.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade_v2_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/ast_edits.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade_v2.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/tf_upgrade_test.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/reorders_v2.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/ipynb.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/testdata/test_file_v1_12.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/testdata/test_file_v0_11.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/update/generate_v2_reorders_map.py
# Copyright 2018 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/compatibility/update/generate_v2_renames_map.py
#!/usr/bin/python # Copyright 2017 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 r...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/ci_build/update_version.py
#!/usr/bin/python # Copyright 2017 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 r...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/ci_build/copy_binary.py
# Copyright 2019 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/ci_build/linux/mkl/set-build-env.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/check_futures_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/system_info_lib.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/system_info.py
# Copyright 2017 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/upload_test_benchmarks.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/__init__.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/run_and_gather_logs.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/gpu_info_lib.py
#!/usr/bin/python # Copyright 2017 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 r...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/file_name_test.py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/test/run_and_gather_logs_lib.py
# Copyright 2017 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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/pip_package/check_load_py_test.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/pip_package/simple_console_for_windows.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...
tensorflow-r1.15.5-nv23.03
tensorflow/tools/pip_package/setup.py