Copyright | (c) Sam Stites 2017 |
---|---|
License | BSD3 |
Maintainer | sam@stites.io |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- minall :: Dynamic -> HsReal
- maxall :: Dynamic -> HsReal
- medianall :: Dynamic -> HsReal
- sumall :: Dynamic -> HsAccReal
- prodall :: Dynamic -> HsAccReal
- _max :: (Dynamic, IndexDynamic) -> Dynamic -> Word -> Maybe KeepDim -> IO ()
- _min :: (Dynamic, IndexDynamic) -> Dynamic -> Word -> Maybe KeepDim -> IO ()
- _median :: (Dynamic, IndexDynamic) -> Dynamic -> Word -> Maybe KeepDim -> IO ()
- _sum :: Dynamic -> Dynamic -> Word -> Maybe KeepDim -> IO ()
- _prod :: Dynamic -> Dynamic -> Word -> Maybe KeepDim -> IO ()
- max :: Dynamic -> Word -> Maybe KeepDim -> (Dynamic, Maybe IndexDynamic)
- min :: Dynamic -> Word -> Maybe KeepDim -> (Dynamic, Maybe IndexDynamic)
- median :: Dynamic -> Word -> Maybe KeepDim -> (Dynamic, Maybe IndexDynamic)
Documentation
get the maximal value in the specified dimension and a corresponding index tensor of the maximum value's index.
Inplace and C-Style mutation
get the minimal value in the specified dimension and a corresponding index tensor of the minimum value's index.
Inplace and C-Style mutation
get the median value in the specified dimension and a corresponding index tensor of the median value's index.
Inplace and C-Style mutation
sum the tensor in the specified dimension.
Inplace and C-Style mutation
take the product of the tensor in the specified dimension.
Inplace and C-Style mutation
get the maximum value in the specified dimension and return an optional corresponding index tensor of the maximum value's index.
get the minimum value in the specified dimension and return an optional corresponding index tensor of the minimum value's index.