21 references to GetDenseSliceDimension
System.Numerics.Tensors (21)
System\Numerics\Tensors\netcore\Tensor.cs (4)
556? TensorOperation.GetDenseSliceDimension(destination._shape, destination._shape) 617? TensorOperation.GetDenseSliceDimension(destination._shape, destination._shape) 1931int dimension = TensorOperation.GetDenseSliceDimension(destination._shape, destination._shape); 2306? TensorOperation.GetDenseSliceDimension(tensor._shape, alignedOther._shape)
System\Numerics\Tensors\netcore\TensorOperation.cs (17)
107int sourceDimension = source.IsDense ? -1 : GetDenseSliceDimension(source._shape, source._shape); 126int destinationDimension = GetDenseSliceDimension(destination._shape, destination._shape); 163int sourceDimension = input.IsDense ? -1 : GetDenseSliceDimension(input._shape, input._shape); 164int destinationDimension = destination.IsDense ? -1 : GetDenseSliceDimension(destination._shape, destination._shape); 514int dimension = GetDenseSliceDimension(x._shape, x._shape); 623if (GetDenseSliceDimension(x._shape, x._shape) is int dimension && dimension >= 0) 703int dimension = GetDenseSliceDimension(optimizedX._shape, destinationShape, optimizedY._shape, MinSlicedBinaryOperationLength); 816int dimension = GetDenseSliceDimension(x._shape, x._shape); 874if (GetDenseSliceDimension(destination._shape, destination._shape) is int dimension && dimension >= 0) 952int dimension = GetDenseSliceDimension(optimizedSource._shape, destination._shape); 1040? GetDenseSliceDimension(x._shape, x._shape) 1096int dimension = GetDenseSliceDimension(x._shape, x._shape); 1174int dimension = GetDenseSliceDimension(optimizedX._shape, destination._shape, optimizedY._shape, MinSlicedBinaryOperationLength); 1249int dimension = GetDenseSliceDimension(optimizedX._shape, destinationShape, optimizedY._shape, MinSlicedBinaryOperationLength); 1309int dimension = GetDenseSliceDimension(optimizedSource._shape, destination._shape); 1366int dimension = GetDenseSliceDimension(optimizedSource._shape, destination._shape); 1422int dimension = GetDenseSliceDimension(x._shape, x._shape);