$ git clone --recursive https://github.com/pepeunlimited/tensorflow-python.git
Install bazelisk via homebrew
$ brew install bazelisk
Test that bazel should be able to build iOS project with the Bazel
$ bazel build //HelloWorld/iOS:HelloWorld
Build lib
binary
$ bazel build //src/lib:lib
Run haberdasher_test
test
$ bazel test //src/lib:haberdasher_test
Run time_series_forecasting
binary
$ bazel run //src/time_series_forecasting:main
Build time_series_forecasting
binary
$ bazel build //src/time_series_forecasting:main
Run window_generator_test
test
$ bazel test //src/time_series_forecasting:window_generator_test
Run dataset_test
test
Plot files are written to $SRCROOT/bazel-testlogs/src/time_series_forecasting/dataset_test/test.outputs/outputs.zip
using the TEST_UNDECLARED_OUTPUTS_DIR
environment variable.
$ bazel test --test_output=all //src/time_series_forecasting:dataset_test
unzip outputs.zip
$ unzip bazel-testlogs/src/time_series_forecasting/dataset_test/test.outputs/outputs.zip -d .
Run example_test
test
$ bazel test //src/time_series_forecasting:example_test
Run all tests
$ bazel test //src/time_series_forecasting:all
Run unittest_test
$ bazel test //tests/another_test:unittest_test
Initialize pip requires an a empty file. Name is defined in the MODULE.bazel
and BUILD
files. See examples inside src/time-series-forecasting/BUILD
. Actual dependencies
are defined in requirements.in
.
$ touch requirements_lock.txt
After that run following command
$ bazel run //:requirements.update
Clean
$ bazel clean --expunge
This documentation is collected from rulesets in the bazelbuild GitHub org
bazelbuild/rules_python
bazel.build/python
bazel.build/python/bzlmod
bazel.build/command-line-reference
Bzlmod Migration Guide
Getting Started With Testing in Python
Structuring Your Project
How to search code with Sourcegraph โ a cheat sheet
BUILD and py_test search
file:pyrightconfig\.json$ AND file:has.content(reportUnknownMemberType)
Understanding-LSTMs
Simple LSTM
tensorflow-python is released under the MIT license. See LICENSE
for details.