Tensor Shape.Equals Method
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
Overload List
Equals( | Determines whether the specified object is equal to the current object. |
Equals( | Compares this shape to another shape. |
Equals(Object)
Determines whether the specified object is equal to the current object.
public override bool Equals(
Object? obj
)
Parameters
- obj Object
- The object to compare with the current object.
Return Value
Booleantrue if the specified object is equal to the current object; otherwise, false.
Equals(TensorShape)
Compares this shape to another shape.
public bool Equals(
TensorShape other
)
Parameters
- other TensorShape
- The shape to compare this shape to.
Return Value
Booleantrue if this shape and other have the same rank and the same dimensions; otherwise false.