You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 years ago
12345678910111213
  1. #!/bin/bash
  2. SOURCE="${BASH_SOURCE[0]}"
  3. while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
  4. DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  5. SOURCE="$(readlink "$SOURCE")"
  6. [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
  7. done
  8. DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  9. export PYTHONPATH="${DIR}/src:${PYTHONPATH}"
  10. python3 -m tensorlayer.cli "$@"

TensorLayer3.0 是一款兼容多种深度学习框架为计算后端的深度学习库。计划兼容TensorFlow, Pytorch, MindSpore, Paddle.