 }
 
 public extension RangeReplaceableRandomAccessSlice
-    where Base : TensorProtocol, Base.Index == Int, IndexDistance == Int
+    where Base : TensorProtocol, Base.Index == Int
 {
     public var shape: TensorShape {
         return base.elementShape?.prepending(count) ?? .scalar


}

public extension TensorProtocol where IndexDistance == Int {

    public func isSimilar(to other: Self) -> Bool {
        return shape ~ other.shape

    }
}

internal extension TensorProtocol {
    func unitIndex(fromIndex index: Int) -> Int {
        return unitCountPerElement * index
    }
