package torch

  1. Overview
  2. Docs

Source file reduction.ml

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

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

Innovation. Community. Security.