Tensor Shape.Remove At Method
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Overload List
Remove | Removes the specified dimensions from the current shape. |
Remove | Returns a new tensor shape with the specified axis removed. |
Remove | Returns a new tensor shape with the specified axis removed. |
RemoveAt(Axes)
Removes the specified dimensions from the current shape.
public TensorShape RemoveAt(
Axes axes
)
Parameters
- axes Axes
- An axis collection that specifies the dimensions to remove.
Return Value
TensorShapeA new tensor shape with the dimensions specified by axes removed.
Remarks
axes may contain negative axes values indicating
that they should be counted from the end.
RemoveAt(Index)
Returns a new tensor shape with the specified axis
removed.
public TensorShape RemoveAt(
Index axis
)
Parameters
- axis Index
- The axis to remove.
Return Value
TensorShapeA new tensor shape that has the axis with index axis removed.
Exceptions
Argument | axis is less than zero or greather than or equal to the rank of the tensor shape. |
RemoveAt(Int32)
Returns a new tensor shape with the specified axis
removed.
public TensorShape RemoveAt(
int axis
)
Parameters
- axis Int32
- The axis to remove.
Return Value
TensorShapeA new tensor shape that has the axis with index axis removed.
Exceptions
Argument | axis is less than zero or greather than or equal to the rank of the tensor shape. |