Add MPS backend
Summary: This commit implements most kernels and operators for the MPS device.
Showing
with
594 additions
and
2966 deletions
CMakeLists.txt
0 → 100644
caffe/core/layer.py
deleted
100644 → 0
caffe/core/layers/__init__.py
deleted
100644 → 0
caffe/core/layers/common.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
caffe/core/layers/data.py
deleted
100644 → 0
caffe/core/layers/loss.py
deleted
100644 → 0
caffe/core/layers/neuron.py
deleted
100644 → 0
caffe/core/layers/vision.py
deleted
100644 → 0
caffe/core/net.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
caffe/core/net_spec.py
deleted
100644 → 0
caffe/core/proto/caffe.proto
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
caffe/core/solver.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
cmake/FindBLAS.cmake
0 → 100644
cmake/FindMPS.cmake
0 → 100644
cmake/FindOpenMP.cmake
0 → 100644
docker/ubuntu-18.04-cpu/Dockerfile
deleted
100644 → 0
docker/ubuntu-20.04-cpu/Dockerfile
0 → 100644
docker/ubuntu-20.04-cuda11.6/Dockerfile
0 → 100644
No preview for this file type
docs/api/python/caffe.rst
deleted
100644 → 0
docs/api/python/caffe/AdamSolver.rst
deleted
100644 → 0
docs/api/python/caffe/Net.rst
deleted
100644 → 0
docs/api/python/caffe/SGDSolver.rst
deleted
100644 → 0
docs/api/python/caffe/Solver.rst
deleted
100644 → 0
docs/api/python/caffe/layers.rst
deleted
100644 → 0
docs/api/python/caffe/layers/LRN.rst
deleted
100644 → 0
docs/api/python/dragon/io.rst
deleted
100644 → 0
docs/api/python/dragon/mps.rst
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/CMakeLists.txt
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/core/context_cuda.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/core/context_mps.h
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/core/context_mps.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/core/tensor.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/activation/mps/elu_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/activation/mps/gelu_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/activation/mps/relu_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/activation/mps/tanh_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/activation/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/array/mps/assign_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/array/mps/slice_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/array/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/loss/cpu/focal_loss_kernel.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/loss/mps/focal_loss_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/loss/mps/l1_loss_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/loss/mps/nll_loss_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/loss/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/math/mps/clip_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/math/mps/moments_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/math/mps/reduce_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/math/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/normalization/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/recurrent/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/training/mps/adam_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/training/mps/sgd_kernel.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/kernels/training/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/kernels/vision/op_kernels.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/modules/python/mps.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/activation/dropout_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/activation/droppath_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/flatten_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/gather_elements_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/gather_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/initialize_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/one_hot_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/pad_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/range_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/reverse_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/scatter_add_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/squeeze_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/array/tile_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/abs_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/add_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/arg_op.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/arg_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/operators/math/argmax_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/argmin_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/cos_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/div_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/exp_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/gemm_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/operators/math/log_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/matmul_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/operators/math/maximum_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/minimum_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/mul_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/neg_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/math/rsqrt_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/sign_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/sin_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/sqrt_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/square_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/sub_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/top_k_op.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/top_k_op.h
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/operators/math/topk_op.cc
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/operators/math/topk_op.h
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/operators/math/topk_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/vision/conv_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/vision/conv_op_base.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/vision/conv_transpose_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/vision/pool_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/vision/pool_op_base.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/operators/vision/resize_op.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/operators/vision/resize_op_base.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/python/_api/io/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/python/_api/mps/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/python/core/device/mps.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/python/core/io/kpl_record.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/python/core/io/reader.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/python/core/io/tf_record.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/requirements.txt
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/device/common_mps.h
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/device/common_mps.mm
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cast.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/utils/math/cast.cu
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cpu/cast.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cpu/random.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cpu/transform.cc
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/cpu/transpose.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cuda/cast.cu
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cuda/random.cu
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/cuda/transform.cu
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/blas.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/broadcast.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/cast.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/elementwise.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/reduce.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/transform.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/mps/transpose.mm
0 → 100644
This diff is collapsed.
Click to expand it.
dragon/utils/math/random.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/utils/math/random.cu
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/transform.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
dragon/utils/math/transform.cu
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/math/transpose.cc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/utils/op_kernels.h
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dragon/version.txt
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
keras/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/_api/activations/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/_api/initializers/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/_api/layers/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/_api/losses/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/_api/optimizers/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/activations.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/engine/input_layer.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/engine/input_spec.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/engine/sequential.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/initializers.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/layers/activation.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/layers/core.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/layers/merging.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/layers/normalization.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/layers/reshaping.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/optimizer/adam.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/optimizer/gradient_descent.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/optimizer/optimizer.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/optimizer/rmsprop.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/regularizers.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/saving/pickle_format.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
keras/core/utils/conv_utils.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/utils/generic_utils.py
0 → 100644
This diff is collapsed.
Click to expand it.
keras/core/utils/losses_utils.py
0 → 100644
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
This diff is collapsed.
Click to expand it.
scripts/build_arm64-v8a.sh
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
scripts/build_linux.sh
0 → 100644
This diff is collapsed.
Click to expand it.
scripts/build_macos.sh
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorflow/core/keras/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorflow/core/keras/activations.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorflow/core/keras/layers/core.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorflow/core/ops/nn.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorflow/core/ops/nn_impl.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorflow/core/ops/standard_ops.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorflow/core/training/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorlayer/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/_api/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorlayer/_api/cost/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorlayer/_api/layers/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/_api/models/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/activations.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/cost.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/engine/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/engine/container.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/engine/layer.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/engine/model.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/engine/module.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/engine/node.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/files/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/files/utils.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/initializers.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/__init__.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/core.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/inputs.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/merge.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/pooling.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/shape.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
tensorlayer/core/layers/utils.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/dragon/test_io.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/keras/test_engine.py
0 → 100644
This diff is collapsed.
Click to expand it.
test/keras/test_layers.py
0 → 100644
This diff is collapsed.
Click to expand it.
test/keras/test_nn.py
0 → 100644
This diff is collapsed.
Click to expand it.
test/keras/test_optimizer.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/tensorflow/test_eager.py
0 → 100644
This diff is collapsed.
Click to expand it.
test/tensorflow/test_framework.py
0 → 100644
This diff is collapsed.
Click to expand it.
test/tensorflow/test_module.py
0 → 100644
This diff is collapsed.
Click to expand it.
test/tensorflow/test_ops.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/torch/test_device.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
tools/codegen_runtime.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
torch/core/backends/mps.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
version.txt
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment