hasktorch-indef-0.0.1.0: Core Hasktorch abstractions wrapping FFI bindings

Copyright(c) Sam Stites 2017
LicenseBSD3
Maintainersam@stites.io
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Torch.Indef.Dynamic.Tensor.Sort

Description

 
Synopsis

Documentation

_sort Source #

Arguments

:: (Dynamic, IndexDynamic) 
-> Dynamic 
-> Word

dimension to operate on

-> SortOrder 
-> IO () 

Returns a tensor and index where all entries are sorted along the given dimension, in the chosen sort order. The index corresponds to the original indices.