num.cr
Scientific computing in pure Crystal
파일 탐색기
최종 버전 다운로드 (.zip)- devcontainer.json
- bug_report.md
- crystal.yml
- Dockerfile
- requirements.txt
- gen_doc_stubs.py
- index.md
- xor.cr
- xor_opencl.cr
- iris.cr
- mnist.cr
- contract_spec.cr
- array_spec.cr
- number_spec.cr
- slice_spec.cr
- gates_arithmetic_spec.cr
- gates_blas_spec.cr
- gates_exp_spec.cr
- gates_log_spec.cr
- gates_reduction_spec.cr
- gates_trigonometric_spec.cr
- primitives_spec.cr
- 5x5.npy
- single_rank_tensor.npy
- io_spec.cr
- linalg_spec.cr
- work_spec.cr
- convolution_spec.cr
- dropout_spec.cr
- loss_spec.cr
- numerical_gradient_spec.cr
- allocation_spec.cr
- convert_spec.cr
- index_spec.cr
- manipulate_spec.cr
- math_spec.cr
- random_spec.cr
- reduction_spec.cr
- shape_spec.cr
- spec_helper.cr
- contract.cr
- pair.cr
- singleton.cr
- utils.cr
- optimizers.cr
- strategies.cr
- validation.cr
- array.cr
- number.cr
- slice.cr
- agnostic.cr
- cpu.cr
- opencl.cr
- arithmetic.cr
- blas.cr
- exp.cr
- log.cr
- reduction.cr
- trigonometric.cr
- context.cr
- gate.cr
- node.cr
- payload.cr
- variable.cr
- variable.cr
- npy.cr
- cblas.cr
- clblast.cr
- lapack.cr
- nnpack.cr
- extension.cr
- linalg.cr
- work.cr
- activation.cr
- convolution.cr
- dropout.cr
- loss.cr
- maxpool.cr
- optimizers.cr
- activation.cr
- loss.cr
- optimizers.cr
- activation.cr
- dropout.cr
- loss.cr
- optimizers.cr
- datasets.cr
- iris.cr
- mnist.cr
- convolution.cr
- dropout.cr
- elu.cr
- flatten.cr
- input.cr
- leaky_relu.cr
- linear.cr
- maxpool.cr
- mse.cr
- relu.cr
- sigmoid.cr
- sigmoid_cross_entropy.cr
- softmax_cross_entropy.cr
- convolution.cr
- dropout.cr
- elu.cr
- flatten.cr
- input.cr
- leaky_relu.cr
- linear.cr
- maxpool.cr
- relu.cr
- sigmoid.cr
- mse.cr
- sigmoid_cross_entropy.cr
- softmax_cross_entropy.cr
- adam.cr
- sgd.cr
- layer.cr
- loss.cr
- optimizer.cr
- validation.cr
- initialization.cr
- network.cr
- aliases.cr
- exceptions.cr
- impl_index.cr
- impl_manipulate.cr
- impl_allocation.cr
- impl_convert.cr
- impl_data_structure.cr
- impl_index.cr
- impl_iteration.cr
- impl_manipulate.cr
- impl_math.cr
- impl_reduction.cr
- impl_allocation.cr
- impl_convert.cr
- impl_data_structure.cr
- impl_index.cr
- impl_iteration.cr
- impl_manipulate.cr
- impl_math.cr
- impl_reduction.cr
- ndindex.cr
- unsafe_iter.cr
- yield_iterators.cr
- base.cr
- builtin.cr
- custom.cr
- operators.cr
- templates.cr
- global_state.cr
- impl_allocation.cr
- impl_convert.cr
- impl_data_structure.cr
- impl_index.cr
- impl_iteration.cr
- impl_manipulate.cr
- impl_math.cr
- impl_reduction.cr
- util_index.cr
- util_manipulate.cr
- util_storage.cr
- broadcast.cr
- enums.cr
- print.cr
- random.cr
- shape.cr
- allocation.cr
- convert.cr
- data_structure.cr
- index.cr
- iteration.cr
- manipulate.cr
- math.cr
- random.cr
- reduction.cr
- api.cr
- num.cr
- .editorconfig
- .gitignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- mkdocs.yml
- README.md
- shard.yml
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/crystal-data/num.cr
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd num.cr
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f ci/Dockerfile -t num-cr .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 num-cr
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Python
쉬움사전 준비물
pip install -r ci/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
