Home
last modified time | relevance | path

Searched +full:bazel +full:- +full:4 (Results 1 – 25 of 208) sorted by relevance

123456789

/external/tensorflow/tensorflow/lite/g3doc/guide/
Dbuild_rpi.md15 **Note:** This page only covers 32-bit builds. If you're looking for 64-bit
18 **Note:** Cross-compile ARM with CMake is available. Please check
21 ## Cross-compile for Raspberry Pi with Make
23 The following instructions have been tested on Ubuntu 16.04.3 64-bit PC (AMD64)
29 #### Step 1. Clone official Raspberry Pi cross-compilation toolchain
54 #### Step 4a. To build ARMv7 binary for Raspberry Pi 2, 3 and 4
57 PATH=../rpi_tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin:$PATH \
62 `tensorflow/lite/tools/make/gen/rpi_armv7l/lib/libtensorflow-lite.a`.
71 ./tensorflow/lite/tools/make/build_rpi_lib.sh -j 16 # run with 16 jobs to leverage more CPU cores
75 #### Step 4b. To build ARMv6 binary for Raspberry Pi Zero
[all …]
Dbuild_ios.md15 you need to build it using Bazel on a macOS machine.
20 using `xcode-select`:
23 xcode-select --install
30 sudo xcodebuild -license accept
33 ### Install Bazel
35 Bazel is the primary build system for TensorFlow. Install Bazel as per the
36 [instructions on the Bazel website][bazel-install]. Make sure to choose a
38 [`configure.py` file][configure-py] at the root of `tensorflow` repository.
48 Note: This step is not necessary if (1) you are using Bazel for your app, or (2)
49 you only want to test local changes to the Swift or Objective-C APIs. In these
[all …]
/external/grpc-grpc/tools/internal_ci/linux/
Dgrpc_build_submodule_at_head.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -ex
26 (cd third_party/$RUN_TESTS_FLAGS && git fetch --all && git checkout origin/master)
31 # Upgrade bazel.
32 # make_grpcio_tools.py requires bazel >=0.13.1 to run (Kokoro workers only have bazel 0.9)
33 …curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/0.13.1/bazel-0.13.1-installer-
34 chmod +x ./bazel-0.13.1-installer-linux-x86_64.sh
35 ./bazel-0.13.1-installer-linux-x86_64.sh --user
36 rm -f ./bazel-0.13.1-installer-linux-x86_64.sh
43 git -c user.name='foo' -c user.email='foo@google.com' commit -a -m 'Update submodule'
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/
DWORKSPACE5 load("//bazel:workspace_deps.bzl", "upb_deps")
11 build_file = "//bazel:lua.BUILD",
13 strip_prefix = "lua-5.2.4",
15 "https://mirror.bazel.build/www.lua.org/ftp/lua-5.2.4.tar.gz",
16 "https://www.lua.org/ftp/lua-5.2.4.tar.gz",
22 build_file = "//bazel:ragel.BUILD",
24 strip_prefix = "ragel-6.10",
25 urls = ["http://www.colm.net/files/ragel/ragel-6.10.tar.gz"],
31 strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb",
32 …/github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb.zip"], # 2019-01-07
[all …]
/external/tensorflow/tensorflow/lite/java/ovic/
DREADME.md4 [Low Power Computer Vision workshop at CVPR 2020.](https://lpcv.ai/2020CVPR/ovic-track)
6 ## Pre-requisite
9 Tensorflow, Bazel, and the Android NDK and SDK.
18 predicts the correct category on the test image, but no on-device latency
21 on-device run-time. We are releasing an benchmarker Apk that would allow
27 Bazel. In case they are not, you can manually install them as below.
36 curl -L https://storage.googleapis.com/download.tensorflow.org/data/ovic_2019_04_30.zip -o /tmp/ovi…
42 unzip -j /tmp/ovic.zip -d tensorflow/lite/java/ovic/src/testdata/
47 You can run test with Bazel as below. This helps to ensure that the installation
51 bazel test //tensorflow/lite/java/ovic:OvicClassifierTest --cxxopt=-Wno-all --test_output=all
[all …]
/external/dagger2/
DWORKSPACE7 # http://www.apache.org/licenses/LICENSE-2.0
15 # Declare the nested workspace so that the top-level workspace doesn't try to
16 # traverse it when calling `bazel build //...`
19 path = "examples/bazel",
27 strip_prefix = "bazel-common-4a8d451e57fb7e1efecbf9495587a10684a19eb2",
28 …urls = ["https://github.com/google/bazel-common/archive/4a8d451e57fb7e1efecbf9495587a10684a19eb2.z…
42 strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
49 # https://github.com/protocolbuffers/protobuf/pull/5389#issuecomment-481785716
50 # TODO(cpovirk): Should we eventually get rules_python from "Bazel Federation?"
51 # https://github.com/bazelbuild/rules_python#getting-started
[all …]
/external/tensorflow/tensorflow/lite/java/demo/
DREADME.md14 ## Building from Source with Bazel
16 1. Follow the [Bazel steps for the TF Demo App](https://github.com/tensorflow/tensorflow/tree/maste…
18 …stall Bazel and Android Prerequisites](https://github.com/tensorflow/tensorflow/tree/master/tensor…
21 - You'll need at least SDK version 23.
22 - Make sure to install the latest version of Bazel. Some distributions
23 ship with Bazel 0.5.4, which is too old.
24 - Bazel requires Android Build Tools `28.0.0` or higher.
25 - You also need to install the Android Support Repository, available
26 through Android Studio under `Android SDK Manager -> SDK Tools ->
29 …`](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android#edit-workspace)
[all …]
/external/tensorflow/third_party/systemlibs/
Dprotobuf.bzl8 # Bazel 0.4.4 and older have genfiles paths that look like:
9 # bazel-out/local-fastbuild/genfiles/external/repo/foo
11 # ../repo/bazel-out/local-fastbuild/genfiles/foo
16 # We are using the fact that Bazel 0.4.4+ provides repository-relative paths
36 ret = [s[:-len(".proto")] + ".pb.h" for s in srcs]
38 ret += [s[:-len(".proto")] + ".grpc.pb.h" for s in srcs]
42 ret = [s[:-len(".proto")] + ".pb.cc" for s in srcs]
44 ret += [s[:-len(".proto")] + ".grpc.pb.cc" for s in srcs]
51 ret = [s[:-len(".proto")] + "_pb2.py" for s in srcs]
53 ret += [s[:-len(".proto")] + "_pb2_grpc.py" for s in srcs]
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/
DREADME.md1 # Third-party libraries
3 gRPC depends on several third-party libraries, their source code is available
8 - IMPORTANT: whenever possible, try to only update to a stable release of a library (= not to maste…
12 - bazel BUILD uses a different dependency model - whenever updating a submodule, also update the re…
13 non-bazel builds stay in sync (this is actually enforced by a sanity check in some cases)
15 ## Considerations when adding a new third-party dependency
17 - gRPC C++ needs to stay buildable/installable even if the submodules are not present (e.g. the tar…
21 - Adding a new dependency is a lot of work (both for us and for the users).
22 …We currently support multiple build systems (BAZEL, cmake, make, ...) so adding a new dependency u…
26 …r the users and community - it means that all users will need to update their projects accordingly…
[all …]
/external/tensorflow/tensorflow/lite/tools/
Dbuild_aar_with_docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e
24 echo " --input_models=model1.tflite,model2.tflite \\"
25 echo " --target_archs=x86,x86_64,arm64-v8a,armeabi-v7a \\"
26 echo " --checkpoint=master \\"
27 echo " [--cache_dir=<path to cache directory>]"
30 echo " --input_models: Supported TFLite models. "
31 echo " --target_archs: Supported arches included in the aar file."
32 echo " --checkpoint: Checkpoint of the github repo, could be a branch, a "
34 echo " --cache_dir: Path to the directory to store bazel cache. If not "
[all …]
/external/tensorflow/tensorflow/tools/ci_build/release/
Dcommon.sh8 # http://www.apache.org/licenses/LICENSE-2.0
32 if [[ $? -ne 0 ]]; then
50 set -x
54 # Redirect bazel output dir b/73748835
56 mkdir -p /tmpfs/bazel_output
60 # Downloads bazelisk to ~/bin as `bazel`.
63 case "$(uname -s)" in
64 Darwin) local name=bazelisk-darwin-amd64 ;;
65 Linux) local name=bazelisk-linux-amd64 ;;
66 *) die "Unknown OS: $(uname -s)" ;;
[all …]
Dcommon_win.bat7 :: http://www.apache.org/licenses/LICENSE-2.0
29 %PY_EXE% -m pip install --upgrade "setuptools<53" pip wheel
34 %PY_EXE% -m pip install "numpy ~= 1.19.2"
36 %PY_EXE% -m pip install "absl-py ~= 0.10"
37 %PY_EXE% -m pip install "astunparse ~= 1.6.3"
38 %PY_EXE% -m pip install "flatbuffers ~= 1.12.0"
39 %PY_EXE% -m pip install "google_pasta ~= 0.2"
40 %PY_EXE% -m pip install "h5py ~= 3.1.0"
41 %PY_EXE% -m pip install "keras_preprocessing ~= 1.1.2"
42 %PY_EXE% -m pip install "opt_einsum ~= 3.3.0"
[all …]
/external/grpc-grpc/tools/dockerfile/test/bazel/
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
15 FROM gcr.io/oss-fuzz-base/base-builder
17 # Install basic packages and Bazel dependencies.
18 RUN apt-get update && apt-get install -y software-properties-common python-software-properties
19 RUN add-apt-repository ppa:webupd8team/java
20 RUN apt-get update && apt-get -y install \
22 build-essential \
26 openjdk-8-jdk \
34 RUN apt-get update && apt-get install -y \
35 python-all-dev \
[all …]
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dlibtensorflow.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 # (1) The TensorFlow C-library: Containing C API header files and libtensorflow.so
22 # (4) Java API sources .jar
29 # - Source this file in another bash script
30 # - Execute build_libtensorflow_tarball SUFFIX
33 # - lib_package/libtensorflow${SUFFIX}.tar.gz
34 # - lib_package/libtensorflow_jni${SUFFIX}.tar.gz
35 # - lib_package/libtensorflow.jar
36 # - lib_package/libtensorflow-src.jar
37 # - lib_package/libtensorflow_proto.zip
[all …]
Dpip_new.sh8 # http://www.apache.org/licenses/LICENSE-2.0
29 # TF_BUILD_FLAGS: Bazel build flags.
30 # e.g. TF_BUILD_FLAGS="--config=opt"
31 # TF_TEST_FLAGS: Bazel test flags.
32 # e.g. TF_TEST_FLAGS="--verbose_failures=true \
33 # --build_tests_only --test_output=errors"
34 # TF_TEST_FILTER_TAGS: Filtering tags for bazel tests. More specifically,
35 # input tags for `--test_filter_tags` flag.
36 # e.g. TF_TEST_FILTER_TAGS="no_pip,-nomac,no_oss"
37 # TF_TEST_TARGETS: Bazel test targets.
[all …]
/external/protobuf/
Dprotobuf.bzl10 # Bazel 0.4.4 and older have genfiles paths that look like:
11 # bazel-out/local-fastbuild/genfiles/external/repo/foo
13 # ../repo/bazel-out/local-fastbuild/genfiles/foo
18 # We are using the fact that Bazel 0.4.4+ provides repository-relative paths
38 ret = [s[:-len(".proto")] + ".pb.h" for s in srcs]
40 ret += [s[:-len(".proto")] + ".grpc.pb.h" for s in srcs]
44 ret = [s[:-len(".proto")] + ".pb.cc" for s in srcs]
46 ret += [s[:-len(".proto")] + ".grpc.pb.cc" for s in srcs]
53 ret = [s[:-len(".proto")] + "_pb2.py" for s in srcs]
55 ret += [s[:-len(".proto")] + "_pb2_grpc.py" for s in srcs]
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/dockerfile/test/bazel/
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
15 FROM gcr.io/oss-fuzz-base/base-builder
17 # -------------------------- WARNING --------------------------------------
19 # https://github.com/google/oss-fuzz/blob/master/projects/grpc/Dockerfile
21 # -------------------------------------------------------------------------
23 # Install basic packages and Bazel dependencies.
24 RUN apt-get update && apt-get install -y software-properties-common python-software-properties
25 RUN add-apt-repository ppa:webupd8team/java
26 RUN apt-get update && apt-get -y install \
28 build-essential \
[all …]
/external/tensorflow/tensorflow/go/
DREADME.md24 - [bazel](https://www.bazel.build/versions/master/docs/install.html)
25 - Environment to build TensorFlow from source code
30 sudo apt-get install python swig python-numpy # Linux
33 - [Protocol buffer compiler (protoc) 3.x](https://github.com/google/protobuf/releases/)
40 go get -d github.com/tensorflow/tensorflow/tensorflow/go
48 bazel build -c opt //tensorflow:libtensorflow.so
59 …sudo cp ${GOPATH}/src/github.com/tensorflow/tensorflow/bazel-bin/tensorflow/libtensorflow.so /usr/…
60 …sudo cp ${GOPATH}/src/github.com/tensorflow/tensorflow/bazel-bin/tensorflow/libtensorflow_framewor…
68 export LIBRARY_PATH=${GOPATH}/src/github.com/tensorflow/tensorflow/bazel-bin/tensorflow
70 export LD_LIBRARY_PATH=${GOPATH}/src/github.com/tensorflow/tensorflow/bazel-bin/tensorflow
[all …]
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dcommand_line.md3 * [Command Line Inputs](#command-line-inputs)
4 * [Start `tfprof`](#start-tfprof)
6 * [Profile Python Time](#profile-python-time)
7 * [Profile Graph Time](#profile-graph-time)
8 * [Profile Checkpoint Value](#profile-checkpoint-value)
9 * [Profile Model Parameter](#profile-model-parameter)
10 * [Profile Device Placement](#profile-device-placement)
11 * [Define Customized Operation Type](#define-customized-operation-type)
12 * [Non-interactive Mode](#non-interactive-mode)
19 <b>--profile_path:</b> A ProfileProto binary proto file.
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/bazel/
Dworkspace_deps.bzl9 commit = "df3ea785d8c30a9503321a3d35ee7d35808f190d", # LTS 2020-02-25
10 remote = "https://github.com/abseil/abseil-cpp.git",
11 shallow_since = "1583355457 -0500",
25 strip_prefix = "rules_python-4b84ad270387a7c439ebdccfd530e2339601ef27",
27 …"https://mirror.bazel.build/github.com/bazelbuild/rules_python/archive/4b84ad270387a7c439ebdccfd53…
28 …"https://github.com/bazelbuild/rules_python/archive/4b84ad270387a7c439ebdccfd530e2339601ef27.tar.g…
35 strip_prefix = "bazel-skylib-master",
36 urls = ["https://github.com/bazelbuild/bazel-skylib/archive/master.tar.gz"],
44 strip_prefix = "zlib-1.2.11",
/external/desugar/java/com/google/devtools/common/options/
DOptionEffectTag.java1 // Copyright 2017 The Bazel Authors. All rights reserved.
7 // http://www.apache.org/licenses/LICENSE-2.0
16 // TODO(bazel-team) - remove the transition-period waive of compatibility requirements.
20 * <p>These will be used for filtering noise in long and complex command-lines, to help provide an
32 * <p>These tags are used for flag filtering, so are consumed by tools that process bazel's
51 * already-categorized options bases that have options that your new/altered tag would apply to,
60 * specific set of flags that actually have unknown effect, such as --config and
61 * --all_incompatible_changes, where the effect depends on what other options are triggered.
73 * Using this option causes Bazel to lose potentially significant incremental state, which may
80 * This option affects the inputs to the command. For example, it might affect Bazel's interaction
[all …]
/external/protobuf/examples/
DREADME.md1 # Protocol Buffers - Code Example
12 https://developers.google.com/protocol-buffers/docs/tutorials
14 ## Build the example using bazel
16 The example requires bazel 0.5.4 or newer to build. You can download/install
17 the latest version of bazel from bazel's release page:
19 https://github.com/bazelbuild/bazel/releases
21 Once you have bazel installed, simply run the following command in this examples
24 $ bazel build :all
28 $ bazel-bin/add_person_cpp addressbook.data
30 To use protobuf in your own bazel project, please follow instructions in the
[all …]
/external/tensorflow/third_party/aws/
Dworkspace.bzl12 "https://mirror.bazel.build/github.com/aws/aws-sdk-cpp/archive/1.7.336.tar.gz",
13 "https://github.com/aws/aws-sdk-cpp/archive/1.7.336.tar.gz",
16 strip_prefix = "aws-sdk-cpp-1.7.336",
17 build_file = "//third_party/aws:BUILD.bazel",
21 name = "aws-c-common",
23 "https://mirror.tensorflow.org/github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz",
24 "https://github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz",
27 strip_prefix = "aws-c-common-0.4.29",
28 build_file = "//third_party/aws:aws-c-common.bazel",
32 name = "aws-c-event-stream",
[all …]
/external/tensorflow/tensorflow/tools/ci_build/pi/
Dbuild_raspberry_pi.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
23 # To install the cross-compilation support for Python this script needs on Ubuntu Trusty, run
26 # dpkg --add-architecture armhf
28 # echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-updates main restricted universe multivers…
29 # echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-security main restricted universe multiver…
30 # echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-backports main restricted universe multive…
31 # sed -i 's#deb http://archive.ubuntu.com/ubuntu/#deb [arch=amd64] http://archive.ubuntu.com/ubuntu…
32 # apt-get update
33 # apt-get install -y libpython-all-dev:armhf
[all …]
/external/tensorflow/tensorflow/tools/android/test/
DREADME.md16 application. Object tracking and efficient YUV -> RGB conversion are handled by
27 model to classify camera frames in real-time, displaying the top results
30 Demonstrates an SSD-Mobilenet model trained using the
32 …introduced in [Speed/accuracy trade-offs for modern convolutional object detectors](https://arxiv.…
34 in real-time.
39 4. [TF
83 Note: Currently, in this build mode, YUV -> RGB is done using a less efficient
86 `libtensorflow_demo.so`, which provides fast YUV -> RGB conversion and object
99 Bazel, and partial support for gradle, cmake, make, and Android Studio.
104 git clone --recurse-submodules https://github.com/tensorflow/tensorflow.git
[all …]

123456789