keras/shell/format.sh
Chen Qian 2271973560 Add more numpy ops (#5)
* Add numpy ops (initial batch) and some config

* Add unit test

* fix call

* Revert "fix call"

This reverts commit 6748ad183029ff4b97317b77ceed8661916bb9a0.

* full unit test coverage

* fix setup.py

* more ops and fix the problem of KerasTensor [ops] numerics

* Add more numpy ops
2023-04-14 02:49:10 -07:00

10 lines
261 B
Bash
Executable File

#!/bin/bash -e
base_dir=$(dirname $(dirname $0))
targets="${base_dir}/*.py ${base_dir}/keras_core/"
isort --sp "${base_dir}/setup.cfg" --sl ${targets}
black --line-length 80 ${targets}
flake8 --config "${base_dir}/setup.cfg" --max-line-length=200 ${targets}