글쓴이: 김정주([email protected])
이 문서는 텐서플로우 공식 페이지 내용을 바탕으로 만들어졌습니다.
텐서플로우(TensorFlow)는 기계 학습과 딥러닝을 위해 구글에서 만든 오픈소스 라이브러리입니다. 데이터 플로우 그래프(Data Flow Graph) 방식을 사용하였습니다.
| #lang racket | |
| (provide (all-defined-out)) ;; so we can put tests in a second file | |
| ;; definition of structures for MUPL programs | |
| (struct var (string) #:transparent) ;; a variable, e.g., (var "foo") | |
| (struct int (num) #:transparent) ;; a constant number, e.g., (int 17) | |
| (struct add (e1 e2) #:transparent) ;; add two expressions | |
| (struct ifgreater (e1 e2 e3 e4) #:transparent) ;; if e1 > e2 then e3 else e4 | |
| (struct fun (nameopt formal body) #:transparent) ;; a recursive(?) 1-argument function | |
| (struct call (funexp actual) #:transparent) ;; function call |
글쓴이: 김정주([email protected])
이 문서는 텐서플로우 공식 페이지 내용을 바탕으로 만들어졌습니다.
텐서플로우(TensorFlow)는 기계 학습과 딥러닝을 위해 구글에서 만든 오픈소스 라이브러리입니다. 데이터 플로우 그래프(Data Flow Graph) 방식을 사용하였습니다.
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| /* Write a program that sorts an array of integers | |
| * using the merge sort algorithm (find it in Wikipedia). */ | |
| class MergeSortAlgorithm | |
| { | |
| public static int[] MergeSort(int[] array) |