package torch

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file reduction.ml

1
2
3
4
5
6
7
8
9
10
type t =
  | None
  | Elementwise_mean
  | Sum

let to_int = function
  | None -> 0
  | Elementwise_mean -> 1
  | Sum -> 2
;;
OCaml

Innovation. Community. Security.