OrderingLayer

OrderingLayer[]

represents a net layer that effectively applies Ordering to its input.

OrderingLayer[n]

gives the first n elements in the ordering of its input.

OrderingLayer[-n]

gives the last n elements in the ordering of its input.

Details and Options

Examples

open all close all

Basic Examples  (2)

Create an OrderingLayer:

In[1]:=
Click for copyable input
Out[1]=

Create an OrderingLayer:

In[1]:=
Click for copyable input
Out[1]=

Apply the layer to a vector:

In[2]:=
Click for copyable input
Out[2]=

Scope  (2)

Properties & Relations  (1)

Possible Issues  (1)

Introduced in 2019
(12.0)