Backends/SiaNet.Backend.MxNet/NDArrayOps.cs
/// <summary>
/// Choose one element from each line(row for python, column for R/Julia) in lhs according to index indicated by rhs. This function assume rhs uses 0-based index.
/// </summary>
/// <param name="lhs">Left operand to the function.</param>
/// <param name="rhs">Right operand to the function.</param>
/// <returns>returns new symbol</returns>
Choose one element from each line(row for python, column for R/Julia) in lhs according to index indicated by rhs. This function assume rhs uses 0-based index.
Choose one element from each line ( row for python column for R / Julia ) in lhs according to index indicated by rhs . This function assume rhs uses 0 - based index .
public static NDArray ChooseElement0Index(Symbol lhs,
        Symbol rhs)
        {
            return new Operator("choose_element_0index")
            .SetParam("lhs", lhs)
            .SetParam("rhs", rhs)
            .Invoke();
        }
public static NDArray ChooseElement0Index ( Symbol lhs , Symbol rhs ) { return new Operator ( " " ) . SetParam ( " " , lhs ) . SetParam ( " " , rhs ) . Invoke ( ) ; }
Choose one element from each line(row for python, column for R/Julia) in lhs according to index indicated by rhs.
Choose one element from each line ( row for python column for R / Julia ) in lhs according to index indicated by rhs .
returns new symbol
returns new symbol
lhs
Symbol
Left operand to the function.
Left operand to the function .
rhs
Symbol
Right operand to the function.
Right operand to the function .