TensorShape.Equals Method

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0

Overload List

Equals(Object)Determines whether the specified object is equal to the current object.
Equals(TensorShape) Compares this shape to another shape.

Equals(Object)

Determines whether the specified object is equal to the current object.
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
The object to compare with the current object.

Return Value

Boolean
true if the specified object is equal to the current object; otherwise, false.

Equals(TensorShape)

Compares this shape to another shape.
C#
public bool Equals(
	TensorShape other
)

Parameters

other  TensorShape
The shape to compare this shape to.

Return Value

Boolean
true if this shape and other have the same rank and the same dimensions; otherwise false.

Implements

IEquatable<T>.Equals(T)

See Also